Revert "makefiles: Only generate proxy code for the target architecture."
[wine.git] / configure
blobdd45a4e901913a0f6c601b35043b85f6f26b262f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.20.
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.20'
584 PACKAGE_STRING='Wine 3.20'
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 TARGETFLAGS
768 CPPBIN
769 ac_ct_CXX
770 CXXFLAGS
772 OBJEXT
773 EXEEXT
774 ac_ct_CC
775 CPPFLAGS
776 LDFLAGS
777 CFLAGS
779 SET_MAKE
780 host_os
781 host_vendor
782 host_cpu
783 host
784 build_os
785 build_vendor
786 build_cpu
787 build
788 target_alias
789 host_alias
790 build_alias
791 LIBS
792 ECHO_T
793 ECHO_N
794 ECHO_C
795 DEFS
796 mandir
797 localedir
798 libdir
799 psdir
800 pdfdir
801 dvidir
802 htmldir
803 infodir
804 docdir
805 oldincludedir
806 includedir
807 runstatedir
808 localstatedir
809 sharedstatedir
810 sysconfdir
811 datadir
812 datarootdir
813 libexecdir
814 sbindir
815 bindir
816 program_transform_name
817 prefix
818 exec_prefix
819 PACKAGE_URL
820 PACKAGE_BUGREPORT
821 PACKAGE_STRING
822 PACKAGE_VERSION
823 PACKAGE_TARNAME
824 PACKAGE_NAME
825 PATH_SEPARATOR
826 SHELL'
827 ac_subst_files=''
828 ac_user_opts='
829 enable_option_checking
830 enable_win16
831 enable_win64
832 enable_tests
833 enable_maintainer_mode
834 with_alsa
835 with_capi
836 with_cms
837 with_coreaudio
838 with_cups
839 with_curses
840 with_dbus
841 with_float_abi
842 with_fontconfig
843 with_freetype
844 with_gettext
845 with_gettextpo
846 with_gphoto
847 with_glu
848 with_gnutls
849 with_gsm
850 with_gssapi
851 with_gstreamer
852 with_hal
853 with_jpeg
854 with_krb5
855 with_ldap
856 with_mpg123
857 with_netapi
858 with_openal
859 with_opencl
860 with_opengl
861 with_osmesa
862 with_oss
863 with_pcap
864 with_png
865 with_pthread
866 with_pulse
867 with_sane
868 with_sdl
869 with_tiff
870 with_udev
871 with_v4l
872 with_vkd3d
873 with_vulkan
874 with_xcomposite
875 with_xcursor
876 with_xfixes
877 with_xinerama
878 with_xinput
879 with_xinput2
880 with_xml
881 with_xrandr
882 with_xrender
883 with_xshape
884 with_xshm
885 with_xslt
886 with_xxf86vm
887 with_zlib
888 with_wine_tools
889 with_wine64
890 enable_largefile
891 with_x
892 enable_acledit
893 enable_aclui
894 enable_activeds
895 enable_actxprxy
896 enable_adsiid
897 enable_adsldp
898 enable_adsldpc
899 enable_advapi32
900 enable_advpack
901 enable_amstream
902 enable_api_ms_win_appmodel_identity_l1_1_0
903 enable_api_ms_win_appmodel_runtime_l1_1_1
904 enable_api_ms_win_appmodel_runtime_l1_1_2
905 enable_api_ms_win_core_apiquery_l1_1_0
906 enable_api_ms_win_core_appcompat_l1_1_1
907 enable_api_ms_win_core_appinit_l1_1_0
908 enable_api_ms_win_core_atoms_l1_1_0
909 enable_api_ms_win_core_bem_l1_1_0
910 enable_api_ms_win_core_com_l1_1_0
911 enable_api_ms_win_core_com_l1_1_1
912 enable_api_ms_win_core_com_private_l1_1_0
913 enable_api_ms_win_core_comm_l1_1_0
914 enable_api_ms_win_core_console_l1_1_0
915 enable_api_ms_win_core_console_l2_1_0
916 enable_api_ms_win_core_crt_l1_1_0
917 enable_api_ms_win_core_crt_l2_1_0
918 enable_api_ms_win_core_datetime_l1_1_0
919 enable_api_ms_win_core_datetime_l1_1_1
920 enable_api_ms_win_core_debug_l1_1_0
921 enable_api_ms_win_core_debug_l1_1_1
922 enable_api_ms_win_core_delayload_l1_1_0
923 enable_api_ms_win_core_delayload_l1_1_1
924 enable_api_ms_win_core_errorhandling_l1_1_0
925 enable_api_ms_win_core_errorhandling_l1_1_1
926 enable_api_ms_win_core_errorhandling_l1_1_2
927 enable_api_ms_win_core_errorhandling_l1_1_3
928 enable_api_ms_win_core_fibers_l1_1_0
929 enable_api_ms_win_core_fibers_l1_1_1
930 enable_api_ms_win_core_file_l1_1_0
931 enable_api_ms_win_core_file_l1_2_0
932 enable_api_ms_win_core_file_l1_2_1
933 enable_api_ms_win_core_file_l1_2_2
934 enable_api_ms_win_core_file_l2_1_0
935 enable_api_ms_win_core_file_l2_1_1
936 enable_api_ms_win_core_file_l2_1_2
937 enable_api_ms_win_core_handle_l1_1_0
938 enable_api_ms_win_core_heap_l1_1_0
939 enable_api_ms_win_core_heap_l1_2_0
940 enable_api_ms_win_core_heap_l2_1_0
941 enable_api_ms_win_core_heap_obsolete_l1_1_0
942 enable_api_ms_win_core_interlocked_l1_1_0
943 enable_api_ms_win_core_interlocked_l1_2_0
944 enable_api_ms_win_core_io_l1_1_0
945 enable_api_ms_win_core_io_l1_1_1
946 enable_api_ms_win_core_job_l1_1_0
947 enable_api_ms_win_core_job_l2_1_0
948 enable_api_ms_win_core_kernel32_legacy_l1_1_0
949 enable_api_ms_win_core_kernel32_legacy_l1_1_1
950 enable_api_ms_win_core_kernel32_private_l1_1_1
951 enable_api_ms_win_core_largeinteger_l1_1_0
952 enable_api_ms_win_core_libraryloader_l1_1_0
953 enable_api_ms_win_core_libraryloader_l1_1_1
954 enable_api_ms_win_core_libraryloader_l1_2_0
955 enable_api_ms_win_core_libraryloader_l1_2_1
956 enable_api_ms_win_core_libraryloader_l1_2_2
957 enable_api_ms_win_core_localization_l1_1_0
958 enable_api_ms_win_core_localization_l1_2_0
959 enable_api_ms_win_core_localization_l1_2_1
960 enable_api_ms_win_core_localization_l2_1_0
961 enable_api_ms_win_core_localization_obsolete_l1_1_0
962 enable_api_ms_win_core_localization_obsolete_l1_2_0
963 enable_api_ms_win_core_localization_obsolete_l1_3_0
964 enable_api_ms_win_core_localization_private_l1_1_0
965 enable_api_ms_win_core_localregistry_l1_1_0
966 enable_api_ms_win_core_memory_l1_1_0
967 enable_api_ms_win_core_memory_l1_1_1
968 enable_api_ms_win_core_memory_l1_1_2
969 enable_api_ms_win_core_misc_l1_1_0
970 enable_api_ms_win_core_namedpipe_l1_1_0
971 enable_api_ms_win_core_namedpipe_l1_2_0
972 enable_api_ms_win_core_namespace_l1_1_0
973 enable_api_ms_win_core_normalization_l1_1_0
974 enable_api_ms_win_core_path_l1_1_0
975 enable_api_ms_win_core_privateprofile_l1_1_1
976 enable_api_ms_win_core_processenvironment_l1_1_0
977 enable_api_ms_win_core_processenvironment_l1_2_0
978 enable_api_ms_win_core_processthreads_l1_1_0
979 enable_api_ms_win_core_processthreads_l1_1_1
980 enable_api_ms_win_core_processthreads_l1_1_2
981 enable_api_ms_win_core_processthreads_l1_1_3
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_winrt_string_l1_1_1
1032 enable_api_ms_win_core_wow64_l1_1_0
1033 enable_api_ms_win_core_wow64_l1_1_1
1034 enable_api_ms_win_core_xstate_l1_1_0
1035 enable_api_ms_win_core_xstate_l2_1_0
1036 enable_api_ms_win_crt_conio_l1_1_0
1037 enable_api_ms_win_crt_convert_l1_1_0
1038 enable_api_ms_win_crt_environment_l1_1_0
1039 enable_api_ms_win_crt_filesystem_l1_1_0
1040 enable_api_ms_win_crt_heap_l1_1_0
1041 enable_api_ms_win_crt_locale_l1_1_0
1042 enable_api_ms_win_crt_math_l1_1_0
1043 enable_api_ms_win_crt_multibyte_l1_1_0
1044 enable_api_ms_win_crt_private_l1_1_0
1045 enable_api_ms_win_crt_process_l1_1_0
1046 enable_api_ms_win_crt_runtime_l1_1_0
1047 enable_api_ms_win_crt_stdio_l1_1_0
1048 enable_api_ms_win_crt_string_l1_1_0
1049 enable_api_ms_win_crt_time_l1_1_0
1050 enable_api_ms_win_crt_utility_l1_1_0
1051 enable_api_ms_win_devices_config_l1_1_0
1052 enable_api_ms_win_devices_config_l1_1_1
1053 enable_api_ms_win_devices_query_l1_1_1
1054 enable_api_ms_win_downlevel_advapi32_l1_1_0
1055 enable_api_ms_win_downlevel_advapi32_l2_1_0
1056 enable_api_ms_win_downlevel_normaliz_l1_1_0
1057 enable_api_ms_win_downlevel_ole32_l1_1_0
1058 enable_api_ms_win_downlevel_shell32_l1_1_0
1059 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1060 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1061 enable_api_ms_win_downlevel_user32_l1_1_0
1062 enable_api_ms_win_downlevel_version_l1_1_0
1063 enable_api_ms_win_dx_d3dkmt_l1_1_0
1064 enable_api_ms_win_eventing_classicprovider_l1_1_0
1065 enable_api_ms_win_eventing_consumer_l1_1_0
1066 enable_api_ms_win_eventing_controller_l1_1_0
1067 enable_api_ms_win_eventing_legacy_l1_1_0
1068 enable_api_ms_win_eventing_provider_l1_1_0
1069 enable_api_ms_win_eventlog_legacy_l1_1_0
1070 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1071 enable_api_ms_win_mm_joystick_l1_1_0
1072 enable_api_ms_win_mm_misc_l1_1_1
1073 enable_api_ms_win_mm_mme_l1_1_0
1074 enable_api_ms_win_mm_time_l1_1_0
1075 enable_api_ms_win_ntuser_dc_access_l1_1_0
1076 enable_api_ms_win_ntuser_rectangle_l1_1_0
1077 enable_api_ms_win_ntuser_sysparams_l1_1_0
1078 enable_api_ms_win_perf_legacy_l1_1_0
1079 enable_api_ms_win_power_base_l1_1_0
1080 enable_api_ms_win_power_setting_l1_1_0
1081 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1082 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1084 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1086 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1087 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1088 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1089 enable_api_ms_win_security_audit_l1_1_1
1090 enable_api_ms_win_security_base_l1_1_0
1091 enable_api_ms_win_security_base_l1_2_0
1092 enable_api_ms_win_security_base_private_l1_1_1
1093 enable_api_ms_win_security_credentials_l1_1_0
1094 enable_api_ms_win_security_cryptoapi_l1_1_0
1095 enable_api_ms_win_security_grouppolicy_l1_1_0
1096 enable_api_ms_win_security_lsalookup_l1_1_0
1097 enable_api_ms_win_security_lsalookup_l1_1_1
1098 enable_api_ms_win_security_lsalookup_l2_1_0
1099 enable_api_ms_win_security_lsalookup_l2_1_1
1100 enable_api_ms_win_security_lsapolicy_l1_1_0
1101 enable_api_ms_win_security_provider_l1_1_0
1102 enable_api_ms_win_security_sddl_l1_1_0
1103 enable_api_ms_win_security_systemfunctions_l1_1_0
1104 enable_api_ms_win_service_core_l1_1_0
1105 enable_api_ms_win_service_core_l1_1_1
1106 enable_api_ms_win_service_management_l1_1_0
1107 enable_api_ms_win_service_management_l2_1_0
1108 enable_api_ms_win_service_private_l1_1_1
1109 enable_api_ms_win_service_winsvc_l1_1_0
1110 enable_api_ms_win_service_winsvc_l1_2_0
1111 enable_api_ms_win_shcore_obsolete_l1_1_0
1112 enable_api_ms_win_shcore_scaling_l1_1_1
1113 enable_api_ms_win_shcore_stream_l1_1_0
1114 enable_api_ms_win_shcore_thread_l1_1_0
1115 enable_api_ms_win_shell_shellcom_l1_1_0
1116 enable_api_ms_win_shell_shellfolders_l1_1_0
1117 enable_apphelp
1118 enable_appwiz_cpl
1119 enable_atl
1120 enable_atl100
1121 enable_atl110
1122 enable_atl80
1123 enable_atl90
1124 enable_atmlib
1125 enable_authz
1126 enable_avicap32
1127 enable_avifil32
1128 enable_avrt
1129 enable_bcrypt
1130 enable_bluetoothapis
1131 enable_browseui
1132 enable_bthprops_cpl
1133 enable_cabinet
1134 enable_capi2032
1135 enable_cards
1136 enable_cdosys
1137 enable_cfgmgr32
1138 enable_clusapi
1139 enable_combase
1140 enable_comcat
1141 enable_comctl32
1142 enable_comdlg32
1143 enable_compstui
1144 enable_comsvcs
1145 enable_concrt140
1146 enable_connect
1147 enable_credui
1148 enable_crtdll
1149 enable_crypt32
1150 enable_cryptdlg
1151 enable_cryptdll
1152 enable_cryptext
1153 enable_cryptnet
1154 enable_cryptui
1155 enable_ctapi32
1156 enable_ctl3d32
1157 enable_d2d1
1158 enable_d3d10
1159 enable_d3d10_1
1160 enable_d3d10core
1161 enable_d3d11
1162 enable_d3d12
1163 enable_d3d8
1164 enable_d3d9
1165 enable_d3dcompiler_33
1166 enable_d3dcompiler_34
1167 enable_d3dcompiler_35
1168 enable_d3dcompiler_36
1169 enable_d3dcompiler_37
1170 enable_d3dcompiler_38
1171 enable_d3dcompiler_39
1172 enable_d3dcompiler_40
1173 enable_d3dcompiler_41
1174 enable_d3dcompiler_42
1175 enable_d3dcompiler_43
1176 enable_d3dcompiler_46
1177 enable_d3dcompiler_47
1178 enable_d3dim
1179 enable_d3drm
1180 enable_d3dx10_33
1181 enable_d3dx10_34
1182 enable_d3dx10_35
1183 enable_d3dx10_36
1184 enable_d3dx10_37
1185 enable_d3dx10_38
1186 enable_d3dx10_39
1187 enable_d3dx10_40
1188 enable_d3dx10_41
1189 enable_d3dx10_42
1190 enable_d3dx10_43
1191 enable_d3dx11_42
1192 enable_d3dx11_43
1193 enable_d3dx9_24
1194 enable_d3dx9_25
1195 enable_d3dx9_26
1196 enable_d3dx9_27
1197 enable_d3dx9_28
1198 enable_d3dx9_29
1199 enable_d3dx9_30
1200 enable_d3dx9_31
1201 enable_d3dx9_32
1202 enable_d3dx9_33
1203 enable_d3dx9_34
1204 enable_d3dx9_35
1205 enable_d3dx9_36
1206 enable_d3dx9_37
1207 enable_d3dx9_38
1208 enable_d3dx9_39
1209 enable_d3dx9_40
1210 enable_d3dx9_41
1211 enable_d3dx9_42
1212 enable_d3dx9_43
1213 enable_d3dxof
1214 enable_davclnt
1215 enable_dbgeng
1216 enable_dbghelp
1217 enable_dciman32
1218 enable_ddraw
1219 enable_ddrawex
1220 enable_devenum
1221 enable_dhcpcsvc
1222 enable_dhtmled_ocx
1223 enable_difxapi
1224 enable_dinput
1225 enable_dinput8
1226 enable_dispex
1227 enable_dmband
1228 enable_dmcompos
1229 enable_dmime
1230 enable_dmloader
1231 enable_dmoguids
1232 enable_dmscript
1233 enable_dmstyle
1234 enable_dmsynth
1235 enable_dmusic
1236 enable_dmusic32
1237 enable_dnsapi
1238 enable_dplay
1239 enable_dplayx
1240 enable_dpnaddr
1241 enable_dpnet
1242 enable_dpnhpast
1243 enable_dpnlobby
1244 enable_dpvoice
1245 enable_dpwsockx
1246 enable_drmclien
1247 enable_dsound
1248 enable_dsquery
1249 enable_dssenh
1250 enable_dswave
1251 enable_dwmapi
1252 enable_dwrite
1253 enable_dx8vb
1254 enable_dxdiagn
1255 enable_dxerr8
1256 enable_dxerr9
1257 enable_dxgi
1258 enable_dxguid
1259 enable_dxva2
1260 enable_esent
1261 enable_evr
1262 enable_explorerframe
1263 enable_ext_ms_win_authz_context_l1_1_0
1264 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1265 enable_ext_ms_win_dwmapi_ext_l1_1_0
1266 enable_ext_ms_win_gdi_dc_create_l1_1_1
1267 enable_ext_ms_win_gdi_dc_l1_2_0
1268 enable_ext_ms_win_gdi_devcaps_l1_1_0
1269 enable_ext_ms_win_gdi_draw_l1_1_1
1270 enable_ext_ms_win_gdi_render_l1_1_0
1271 enable_ext_ms_win_kernel32_package_current_l1_1_0
1272 enable_ext_ms_win_kernel32_package_l1_1_1
1273 enable_ext_ms_win_ntuser_draw_l1_1_0
1274 enable_ext_ms_win_ntuser_gui_l1_3_0
1275 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1276 enable_ext_ms_win_ntuser_message_l1_1_1
1277 enable_ext_ms_win_ntuser_misc_l1_5_1
1278 enable_ext_ms_win_ntuser_mouse_l1_1_0
1279 enable_ext_ms_win_ntuser_private_l1_1_1
1280 enable_ext_ms_win_ntuser_private_l1_3_1
1281 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1282 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1283 enable_ext_ms_win_ntuser_window_l1_1_1
1284 enable_ext_ms_win_ntuser_window_l1_1_4
1285 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1286 enable_ext_ms_win_oleacc_l1_1_0
1287 enable_ext_ms_win_ras_rasapi32_l1_1_0
1288 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1289 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1290 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1291 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1293 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1294 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1295 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1296 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1297 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1298 enable_ext_ms_win_security_credui_l1_1_0
1299 enable_ext_ms_win_security_cryptui_l1_1_0
1300 enable_ext_ms_win_uxtheme_themes_l1_1_0
1301 enable_faultrep
1302 enable_feclient
1303 enable_fltlib
1304 enable_fltmgr_sys
1305 enable_fntcache
1306 enable_fontsub
1307 enable_fusion
1308 enable_fwpuclnt
1309 enable_gameux
1310 enable_gdi32
1311 enable_gdiplus
1312 enable_glu32
1313 enable_gphoto2_ds
1314 enable_gpkcsp
1315 enable_hal
1316 enable_hhctrl_ocx
1317 enable_hid
1318 enable_hidclass_sys
1319 enable_hlink
1320 enable_hnetcfg
1321 enable_httpapi
1322 enable_iccvid
1323 enable_icmp
1324 enable_ieframe
1325 enable_ieproxy
1326 enable_imaadp32_acm
1327 enable_imagehlp
1328 enable_imm32
1329 enable_inetcomm
1330 enable_inetcpl_cpl
1331 enable_inetmib1
1332 enable_infosoft
1333 enable_initpki
1334 enable_inkobj
1335 enable_inseng
1336 enable_iphlpapi
1337 enable_iprop
1338 enable_irprops_cpl
1339 enable_itircl
1340 enable_itss
1341 enable_joy_cpl
1342 enable_jscript
1343 enable_jsproxy
1344 enable_kerberos
1345 enable_kernel32
1346 enable_kernelbase
1347 enable_ksuser
1348 enable_ktmw32
1349 enable_l3codeca_acm
1350 enable_loadperf
1351 enable_localspl
1352 enable_localui
1353 enable_lz32
1354 enable_mapi32
1355 enable_mapistub
1356 enable_mciavi32
1357 enable_mcicda
1358 enable_mciqtz32
1359 enable_mciseq
1360 enable_mciwave
1361 enable_mf
1362 enable_mf3216
1363 enable_mfplat
1364 enable_mfreadwrite
1365 enable_mfuuid
1366 enable_mgmtapi
1367 enable_midimap
1368 enable_mlang
1369 enable_mmcndmgr
1370 enable_mmdevapi
1371 enable_mountmgr_sys
1372 enable_mp3dmod
1373 enable_mpr
1374 enable_mprapi
1375 enable_msacm32_drv
1376 enable_msacm32
1377 enable_msadp32_acm
1378 enable_msasn1
1379 enable_mscat32
1380 enable_mscms
1381 enable_mscoree
1382 enable_msctf
1383 enable_msctfp
1384 enable_msdaps
1385 enable_msdelta
1386 enable_msdmo
1387 enable_msdrm
1388 enable_msftedit
1389 enable_msg711_acm
1390 enable_msgsm32_acm
1391 enable_mshtml_tlb
1392 enable_mshtml
1393 enable_msi
1394 enable_msident
1395 enable_msimg32
1396 enable_msimsg
1397 enable_msimtf
1398 enable_msisip
1399 enable_msisys_ocx
1400 enable_msls31
1401 enable_msnet32
1402 enable_mspatcha
1403 enable_msports
1404 enable_msrle32
1405 enable_msscript_ocx
1406 enable_mssign32
1407 enable_mssip32
1408 enable_mstask
1409 enable_msvcirt
1410 enable_msvcm80
1411 enable_msvcm90
1412 enable_msvcp100
1413 enable_msvcp110
1414 enable_msvcp120
1415 enable_msvcp120_app
1416 enable_msvcp140
1417 enable_msvcp60
1418 enable_msvcp70
1419 enable_msvcp71
1420 enable_msvcp80
1421 enable_msvcp90
1422 enable_msvcr100
1423 enable_msvcr110
1424 enable_msvcr120
1425 enable_msvcr120_app
1426 enable_msvcr70
1427 enable_msvcr71
1428 enable_msvcr80
1429 enable_msvcr90
1430 enable_msvcrt
1431 enable_msvcrt20
1432 enable_msvcrt40
1433 enable_msvcrtd
1434 enable_msvfw32
1435 enable_msvidc32
1436 enable_mswsock
1437 enable_msxml
1438 enable_msxml2
1439 enable_msxml3
1440 enable_msxml4
1441 enable_msxml6
1442 enable_mtxdm
1443 enable_ncrypt
1444 enable_nddeapi
1445 enable_ndis_sys
1446 enable_netapi32
1447 enable_netcfgx
1448 enable_netprofm
1449 enable_newdev
1450 enable_ninput
1451 enable_normaliz
1452 enable_npmshtml
1453 enable_npptools
1454 enable_ntdll
1455 enable_ntdsapi
1456 enable_ntoskrnl_exe
1457 enable_ntprint
1458 enable_objsel
1459 enable_odbc32
1460 enable_odbccp32
1461 enable_odbccu32
1462 enable_ole32
1463 enable_oleacc
1464 enable_oleaut32
1465 enable_olecli32
1466 enable_oledb32
1467 enable_oledlg
1468 enable_olepro32
1469 enable_olesvr32
1470 enable_olethk32
1471 enable_opcservices
1472 enable_openal32
1473 enable_opencl
1474 enable_opengl32
1475 enable_packager
1476 enable_pdh
1477 enable_photometadatahandler
1478 enable_pidgen
1479 enable_powrprof
1480 enable_printui
1481 enable_prntvpt
1482 enable_propsys
1483 enable_psapi
1484 enable_pstorec
1485 enable_qcap
1486 enable_qedit
1487 enable_qmgr
1488 enable_qmgrprxy
1489 enable_quartz
1490 enable_query
1491 enable_qwave
1492 enable_rasapi32
1493 enable_rasdlg
1494 enable_regapi
1495 enable_resutils
1496 enable_riched20
1497 enable_riched32
1498 enable_rpcrt4
1499 enable_rsabase
1500 enable_rsaenh
1501 enable_rstrtmgr
1502 enable_rtutils
1503 enable_samlib
1504 enable_sane_ds
1505 enable_sapi
1506 enable_sas
1507 enable_scarddlg
1508 enable_sccbase
1509 enable_schannel
1510 enable_schedsvc
1511 enable_scrobj
1512 enable_scrrun
1513 enable_scsiport_sys
1514 enable_secur32
1515 enable_security
1516 enable_sensapi
1517 enable_serialui
1518 enable_setupapi
1519 enable_sfc
1520 enable_sfc_os
1521 enable_shcore
1522 enable_shdoclc
1523 enable_shdocvw
1524 enable_shell32
1525 enable_shfolder
1526 enable_shlwapi
1527 enable_slbcsp
1528 enable_slc
1529 enable_snmpapi
1530 enable_softpub
1531 enable_spoolss
1532 enable_srclient
1533 enable_sspicli
1534 enable_stdole2_tlb
1535 enable_stdole32_tlb
1536 enable_sti
1537 enable_strmbase
1538 enable_strmdll
1539 enable_strmiids
1540 enable_svrapi
1541 enable_sxs
1542 enable_t2embed
1543 enable_tapi32
1544 enable_taskschd
1545 enable_tdh
1546 enable_tdi_sys
1547 enable_traffic
1548 enable_twain_32
1549 enable_ucrtbase
1550 enable_uiautomationcore
1551 enable_uiribbon
1552 enable_unicows
1553 enable_updspapi
1554 enable_url
1555 enable_urlmon
1556 enable_usbd_sys
1557 enable_user32
1558 enable_userenv
1559 enable_usp10
1560 enable_uuid
1561 enable_uxtheme
1562 enable_vbscript
1563 enable_vcomp
1564 enable_vcomp100
1565 enable_vcomp110
1566 enable_vcomp120
1567 enable_vcomp140
1568 enable_vcomp90
1569 enable_vcruntime140
1570 enable_vdmdbg
1571 enable_version
1572 enable_virtdisk
1573 enable_vssapi
1574 enable_vulkan_1
1575 enable_wbemdisp
1576 enable_wbemprox
1577 enable_wdscore
1578 enable_webservices
1579 enable_wer
1580 enable_wevtapi
1581 enable_wiaservc
1582 enable_wimgapi
1583 enable_windowscodecs
1584 enable_windowscodecsext
1585 enable_winealsa_drv
1586 enable_wineandroid_drv
1587 enable_winebus_sys
1588 enable_winecoreaudio_drv
1589 enable_winecrt0
1590 enable_wined3d
1591 enable_winegstreamer
1592 enable_winehid_sys
1593 enable_winejoystick_drv
1594 enable_winemac_drv
1595 enable_winemapi
1596 enable_wineoss_drv
1597 enable_wineps_drv
1598 enable_winepulse_drv
1599 enable_wineqtdecoder
1600 enable_winevulkan
1601 enable_winex11_drv
1602 enable_wing32
1603 enable_winhttp
1604 enable_wininet
1605 enable_winmm
1606 enable_winnls32
1607 enable_winscard
1608 enable_winspool_drv
1609 enable_winsta
1610 enable_wintab32
1611 enable_wintrust
1612 enable_winusb
1613 enable_wlanapi
1614 enable_wldap32
1615 enable_wmasf
1616 enable_wmcodecdspuuid
1617 enable_wmi
1618 enable_wmiutils
1619 enable_wmp
1620 enable_wmphoto
1621 enable_wmvcore
1622 enable_wnaspi32
1623 enable_wpc
1624 enable_wpcap
1625 enable_ws2_32
1626 enable_wsdapi
1627 enable_wshom_ocx
1628 enable_wsnmp32
1629 enable_wsock32
1630 enable_wtsapi32
1631 enable_wuapi
1632 enable_wuaueng
1633 enable_x3daudio1_0
1634 enable_x3daudio1_1
1635 enable_x3daudio1_2
1636 enable_x3daudio1_3
1637 enable_x3daudio1_4
1638 enable_x3daudio1_5
1639 enable_x3daudio1_6
1640 enable_x3daudio1_7
1641 enable_xapofx1_1
1642 enable_xapofx1_2
1643 enable_xapofx1_3
1644 enable_xapofx1_4
1645 enable_xapofx1_5
1646 enable_xaudio2_0
1647 enable_xaudio2_1
1648 enable_xaudio2_2
1649 enable_xaudio2_3
1650 enable_xaudio2_4
1651 enable_xaudio2_5
1652 enable_xaudio2_6
1653 enable_xaudio2_7
1654 enable_xaudio2_8
1655 enable_xaudio2_9
1656 enable_xinput1_1
1657 enable_xinput1_2
1658 enable_xinput1_3
1659 enable_xinput1_4
1660 enable_xinput9_1_0
1661 enable_xmllite
1662 enable_xolehlp
1663 enable_xpsprint
1664 enable_xpssvcs
1665 enable_fonts
1666 enable_include
1667 enable_port
1668 enable_wine
1669 enable_wpp
1670 enable_loader
1671 enable_po
1672 enable_arp
1673 enable_aspnet_regiis
1674 enable_attrib
1675 enable_cabarc
1676 enable_cacls
1677 enable_clock
1678 enable_cmd
1679 enable_conhost
1680 enable_control
1681 enable_cscript
1682 enable_dism
1683 enable_dpnsvr
1684 enable_dxdiag
1685 enable_eject
1686 enable_expand
1687 enable_explorer
1688 enable_extrac32
1689 enable_fc
1690 enable_find
1691 enable_findstr
1692 enable_fsutil
1693 enable_hh
1694 enable_hostname
1695 enable_icacls
1696 enable_icinfo
1697 enable_iexplore
1698 enable_ipconfig
1699 enable_lodctr
1700 enable_mofcomp
1701 enable_mshta
1702 enable_msiexec
1703 enable_msinfo32
1704 enable_net
1705 enable_netsh
1706 enable_netstat
1707 enable_ngen
1708 enable_notepad
1709 enable_oleview
1710 enable_ping
1711 enable_plugplay
1712 enable_powershell
1713 enable_presentationfontcache
1714 enable_progman
1715 enable_reg
1716 enable_regasm
1717 enable_regedit
1718 enable_regsvcs
1719 enable_regsvr32
1720 enable_rpcss
1721 enable_rundll32
1722 enable_sc
1723 enable_schtasks
1724 enable_sdbinst
1725 enable_secedit
1726 enable_servicemodelreg
1727 enable_services
1728 enable_shutdown
1729 enable_spoolsv
1730 enable_start
1731 enable_subst
1732 enable_svchost
1733 enable_systeminfo
1734 enable_taskkill
1735 enable_tasklist
1736 enable_taskmgr
1737 enable_termsv
1738 enable_uninstaller
1739 enable_unlodctr
1740 enable_view
1741 enable_wevtutil
1742 enable_wineboot
1743 enable_winebrowser
1744 enable_winecfg
1745 enable_wineconsole
1746 enable_winedbg
1747 enable_winedevice
1748 enable_winefile
1749 enable_winemenubuilder
1750 enable_winemine
1751 enable_winemsibuilder
1752 enable_winepath
1753 enable_winetest
1754 enable_winhlp32
1755 enable_winmgmt
1756 enable_winver
1757 enable_wmic
1758 enable_wmplayer
1759 enable_wordpad
1760 enable_write
1761 enable_wscript
1762 enable_wusa
1763 enable_xcopy
1764 enable_server
1765 enable_tools
1766 enable_sfnt2fon
1767 enable_widl
1768 enable_winebuild
1769 enable_winedump
1770 enable_winegcc
1771 enable_winemaker
1772 enable_wmc
1773 enable_wrc
1775 ac_precious_vars='build_alias
1776 host_alias
1777 target_alias
1779 CFLAGS
1780 LDFLAGS
1781 LIBS
1782 CPPFLAGS
1784 CXXFLAGS
1787 OBJC
1788 OBJCFLAGS
1789 OBJCPP
1790 XMKMF
1791 XML2_CFLAGS
1792 XML2_LIBS
1793 XSLT_CFLAGS
1794 XSLT_LIBS
1795 DBUS_CFLAGS
1796 DBUS_LIBS
1797 HAL_CFLAGS
1798 HAL_LIBS
1799 GNUTLS_CFLAGS
1800 GNUTLS_LIBS
1801 SANE_CFLAGS
1802 SANE_LIBS
1803 GPHOTO2_CFLAGS
1804 GPHOTO2_LIBS
1805 GPHOTO2_PORT_CFLAGS
1806 GPHOTO2_PORT_LIBS
1807 LCMS2_CFLAGS
1808 LCMS2_LIBS
1809 FREETYPE_CFLAGS
1810 FREETYPE_LIBS
1811 PULSE_CFLAGS
1812 PULSE_LIBS
1813 GSTREAMER_CFLAGS
1814 GSTREAMER_LIBS
1815 UDEV_CFLAGS
1816 UDEV_LIBS
1817 SDL2_CFLAGS
1818 SDL2_LIBS
1819 CAPI20_CFLAGS
1820 CAPI20_LIBS
1821 CUPS_CFLAGS
1822 CUPS_LIBS
1823 FONTCONFIG_CFLAGS
1824 FONTCONFIG_LIBS
1825 KRB5_CFLAGS
1826 KRB5_LIBS
1827 GSSAPI_CFLAGS
1828 GSSAPI_LIBS
1829 JPEG_CFLAGS
1830 JPEG_LIBS
1831 PNG_CFLAGS
1832 PNG_LIBS
1833 TIFF_CFLAGS
1834 TIFF_LIBS
1835 MPG123_CFLAGS
1836 MPG123_LIBS
1837 NETAPI_CFLAGS
1838 NETAPI_LIBS
1839 VKD3D_CFLAGS
1840 VKD3D_LIBS
1841 LDAP_CFLAGS
1842 LDAP_LIBS'
1845 # Initialize some variables set by options.
1846 ac_init_help=
1847 ac_init_version=false
1848 ac_unrecognized_opts=
1849 ac_unrecognized_sep=
1850 # The variables have the same names as the options, with
1851 # dashes changed to underlines.
1852 cache_file=/dev/null
1853 exec_prefix=NONE
1854 no_create=
1855 no_recursion=
1856 prefix=NONE
1857 program_prefix=NONE
1858 program_suffix=NONE
1859 program_transform_name=s,x,x,
1860 silent=
1861 site=
1862 srcdir=
1863 verbose=
1864 x_includes=NONE
1865 x_libraries=NONE
1867 # Installation directory options.
1868 # These are left unexpanded so users can "make install exec_prefix=/foo"
1869 # and all the variables that are supposed to be based on exec_prefix
1870 # by default will actually change.
1871 # Use braces instead of parens because sh, perl, etc. also accept them.
1872 # (The list follows the same order as the GNU Coding Standards.)
1873 bindir='${exec_prefix}/bin'
1874 sbindir='${exec_prefix}/sbin'
1875 libexecdir='${exec_prefix}/libexec'
1876 datarootdir='${prefix}/share'
1877 datadir='${datarootdir}'
1878 sysconfdir='${prefix}/etc'
1879 sharedstatedir='${prefix}/com'
1880 localstatedir='${prefix}/var'
1881 runstatedir='${localstatedir}/run'
1882 includedir='${prefix}/include'
1883 oldincludedir='/usr/include'
1884 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1885 infodir='${datarootdir}/info'
1886 htmldir='${docdir}'
1887 dvidir='${docdir}'
1888 pdfdir='${docdir}'
1889 psdir='${docdir}'
1890 libdir='${exec_prefix}/lib'
1891 localedir='${datarootdir}/locale'
1892 mandir='${datarootdir}/man'
1894 ac_prev=
1895 ac_dashdash=
1896 for ac_option
1898 # If the previous option needs an argument, assign it.
1899 if test -n "$ac_prev"; then
1900 eval $ac_prev=\$ac_option
1901 ac_prev=
1902 continue
1905 case $ac_option in
1906 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1907 *=) ac_optarg= ;;
1908 *) ac_optarg=yes ;;
1909 esac
1911 # Accept the important Cygnus configure options, so we can diagnose typos.
1913 case $ac_dashdash$ac_option in
1915 ac_dashdash=yes ;;
1917 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1918 ac_prev=bindir ;;
1919 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1920 bindir=$ac_optarg ;;
1922 -build | --build | --buil | --bui | --bu)
1923 ac_prev=build_alias ;;
1924 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1925 build_alias=$ac_optarg ;;
1927 -cache-file | --cache-file | --cache-fil | --cache-fi \
1928 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1929 ac_prev=cache_file ;;
1930 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1931 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1932 cache_file=$ac_optarg ;;
1934 --config-cache | -C)
1935 cache_file=config.cache ;;
1937 -datadir | --datadir | --datadi | --datad)
1938 ac_prev=datadir ;;
1939 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1940 datadir=$ac_optarg ;;
1942 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1943 | --dataroo | --dataro | --datar)
1944 ac_prev=datarootdir ;;
1945 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1946 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1947 datarootdir=$ac_optarg ;;
1949 -disable-* | --disable-*)
1950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1951 # Reject names that are not valid shell variable names.
1952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1953 as_fn_error $? "invalid feature name: $ac_useropt"
1954 ac_useropt_orig=$ac_useropt
1955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1956 case $ac_user_opts in
1958 "enable_$ac_useropt"
1959 "*) ;;
1960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1961 ac_unrecognized_sep=', ';;
1962 esac
1963 eval enable_$ac_useropt=no ;;
1965 -docdir | --docdir | --docdi | --doc | --do)
1966 ac_prev=docdir ;;
1967 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1968 docdir=$ac_optarg ;;
1970 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1971 ac_prev=dvidir ;;
1972 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1973 dvidir=$ac_optarg ;;
1975 -enable-* | --enable-*)
1976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1977 # Reject names that are not valid shell variable names.
1978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1979 as_fn_error $? "invalid feature name: $ac_useropt"
1980 ac_useropt_orig=$ac_useropt
1981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1982 case $ac_user_opts in
1984 "enable_$ac_useropt"
1985 "*) ;;
1986 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1987 ac_unrecognized_sep=', ';;
1988 esac
1989 eval enable_$ac_useropt=\$ac_optarg ;;
1991 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1992 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1993 | --exec | --exe | --ex)
1994 ac_prev=exec_prefix ;;
1995 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1996 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1997 | --exec=* | --exe=* | --ex=*)
1998 exec_prefix=$ac_optarg ;;
2000 -gas | --gas | --ga | --g)
2001 # Obsolete; use --with-gas.
2002 with_gas=yes ;;
2004 -help | --help | --hel | --he | -h)
2005 ac_init_help=long ;;
2006 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2007 ac_init_help=recursive ;;
2008 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2009 ac_init_help=short ;;
2011 -host | --host | --hos | --ho)
2012 ac_prev=host_alias ;;
2013 -host=* | --host=* | --hos=* | --ho=*)
2014 host_alias=$ac_optarg ;;
2016 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2017 ac_prev=htmldir ;;
2018 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2019 | --ht=*)
2020 htmldir=$ac_optarg ;;
2022 -includedir | --includedir | --includedi | --included | --include \
2023 | --includ | --inclu | --incl | --inc)
2024 ac_prev=includedir ;;
2025 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2026 | --includ=* | --inclu=* | --incl=* | --inc=*)
2027 includedir=$ac_optarg ;;
2029 -infodir | --infodir | --infodi | --infod | --info | --inf)
2030 ac_prev=infodir ;;
2031 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2032 infodir=$ac_optarg ;;
2034 -libdir | --libdir | --libdi | --libd)
2035 ac_prev=libdir ;;
2036 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2037 libdir=$ac_optarg ;;
2039 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2040 | --libexe | --libex | --libe)
2041 ac_prev=libexecdir ;;
2042 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2043 | --libexe=* | --libex=* | --libe=*)
2044 libexecdir=$ac_optarg ;;
2046 -localedir | --localedir | --localedi | --localed | --locale)
2047 ac_prev=localedir ;;
2048 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2049 localedir=$ac_optarg ;;
2051 -localstatedir | --localstatedir | --localstatedi | --localstated \
2052 | --localstate | --localstat | --localsta | --localst | --locals)
2053 ac_prev=localstatedir ;;
2054 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2055 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2056 localstatedir=$ac_optarg ;;
2058 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2059 ac_prev=mandir ;;
2060 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2061 mandir=$ac_optarg ;;
2063 -nfp | --nfp | --nf)
2064 # Obsolete; use --without-fp.
2065 with_fp=no ;;
2067 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2068 | --no-cr | --no-c | -n)
2069 no_create=yes ;;
2071 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2072 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2073 no_recursion=yes ;;
2075 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2076 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2077 | --oldin | --oldi | --old | --ol | --o)
2078 ac_prev=oldincludedir ;;
2079 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2080 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2081 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2082 oldincludedir=$ac_optarg ;;
2084 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2085 ac_prev=prefix ;;
2086 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2087 prefix=$ac_optarg ;;
2089 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2090 | --program-pre | --program-pr | --program-p)
2091 ac_prev=program_prefix ;;
2092 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2093 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2094 program_prefix=$ac_optarg ;;
2096 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2097 | --program-suf | --program-su | --program-s)
2098 ac_prev=program_suffix ;;
2099 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2100 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2101 program_suffix=$ac_optarg ;;
2103 -program-transform-name | --program-transform-name \
2104 | --program-transform-nam | --program-transform-na \
2105 | --program-transform-n | --program-transform- \
2106 | --program-transform | --program-transfor \
2107 | --program-transfo | --program-transf \
2108 | --program-trans | --program-tran \
2109 | --progr-tra | --program-tr | --program-t)
2110 ac_prev=program_transform_name ;;
2111 -program-transform-name=* | --program-transform-name=* \
2112 | --program-transform-nam=* | --program-transform-na=* \
2113 | --program-transform-n=* | --program-transform-=* \
2114 | --program-transform=* | --program-transfor=* \
2115 | --program-transfo=* | --program-transf=* \
2116 | --program-trans=* | --program-tran=* \
2117 | --progr-tra=* | --program-tr=* | --program-t=*)
2118 program_transform_name=$ac_optarg ;;
2120 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2121 ac_prev=pdfdir ;;
2122 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2123 pdfdir=$ac_optarg ;;
2125 -psdir | --psdir | --psdi | --psd | --ps)
2126 ac_prev=psdir ;;
2127 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2128 psdir=$ac_optarg ;;
2130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2131 | -silent | --silent | --silen | --sile | --sil)
2132 silent=yes ;;
2134 -runstatedir | --runstatedir | --runstatedi | --runstated \
2135 | --runstate | --runstat | --runsta | --runst | --runs \
2136 | --run | --ru | --r)
2137 ac_prev=runstatedir ;;
2138 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2139 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2140 | --run=* | --ru=* | --r=*)
2141 runstatedir=$ac_optarg ;;
2143 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2144 ac_prev=sbindir ;;
2145 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2146 | --sbi=* | --sb=*)
2147 sbindir=$ac_optarg ;;
2149 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2150 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2151 | --sharedst | --shareds | --shared | --share | --shar \
2152 | --sha | --sh)
2153 ac_prev=sharedstatedir ;;
2154 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2155 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2156 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2157 | --sha=* | --sh=*)
2158 sharedstatedir=$ac_optarg ;;
2160 -site | --site | --sit)
2161 ac_prev=site ;;
2162 -site=* | --site=* | --sit=*)
2163 site=$ac_optarg ;;
2165 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2166 ac_prev=srcdir ;;
2167 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2168 srcdir=$ac_optarg ;;
2170 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2171 | --syscon | --sysco | --sysc | --sys | --sy)
2172 ac_prev=sysconfdir ;;
2173 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2174 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2175 sysconfdir=$ac_optarg ;;
2177 -target | --target | --targe | --targ | --tar | --ta | --t)
2178 ac_prev=target_alias ;;
2179 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2180 target_alias=$ac_optarg ;;
2182 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2183 verbose=yes ;;
2185 -version | --version | --versio | --versi | --vers | -V)
2186 ac_init_version=: ;;
2188 -with-* | --with-*)
2189 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2190 # Reject names that are not valid shell variable names.
2191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2192 as_fn_error $? "invalid package name: $ac_useropt"
2193 ac_useropt_orig=$ac_useropt
2194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2195 case $ac_user_opts in
2197 "with_$ac_useropt"
2198 "*) ;;
2199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2200 ac_unrecognized_sep=', ';;
2201 esac
2202 eval with_$ac_useropt=\$ac_optarg ;;
2204 -without-* | --without-*)
2205 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2206 # Reject names that are not valid shell variable names.
2207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2208 as_fn_error $? "invalid package name: $ac_useropt"
2209 ac_useropt_orig=$ac_useropt
2210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2211 case $ac_user_opts in
2213 "with_$ac_useropt"
2214 "*) ;;
2215 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2216 ac_unrecognized_sep=', ';;
2217 esac
2218 eval with_$ac_useropt=no ;;
2220 --x)
2221 # Obsolete; use --with-x.
2222 with_x=yes ;;
2224 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2225 | --x-incl | --x-inc | --x-in | --x-i)
2226 ac_prev=x_includes ;;
2227 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2228 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2229 x_includes=$ac_optarg ;;
2231 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2232 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2233 ac_prev=x_libraries ;;
2234 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2235 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2236 x_libraries=$ac_optarg ;;
2238 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2239 Try \`$0 --help' for more information"
2242 *=*)
2243 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2244 # Reject names that are not valid shell variable names.
2245 case $ac_envvar in #(
2246 '' | [0-9]* | *[!_$as_cr_alnum]* )
2247 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2248 esac
2249 eval $ac_envvar=\$ac_optarg
2250 export $ac_envvar ;;
2253 # FIXME: should be removed in autoconf 3.0.
2254 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2255 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2256 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2257 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2260 esac
2261 done
2263 if test -n "$ac_prev"; then
2264 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2265 as_fn_error $? "missing argument to $ac_option"
2268 if test -n "$ac_unrecognized_opts"; then
2269 case $enable_option_checking in
2270 no) ;;
2271 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2273 esac
2276 # Check all directory arguments for consistency.
2277 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2278 datadir sysconfdir sharedstatedir localstatedir includedir \
2279 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2280 libdir localedir mandir runstatedir
2282 eval ac_val=\$$ac_var
2283 # Remove trailing slashes.
2284 case $ac_val in
2285 */ )
2286 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2287 eval $ac_var=\$ac_val;;
2288 esac
2289 # Be sure to have absolute directory names.
2290 case $ac_val in
2291 [\\/$]* | ?:[\\/]* ) continue;;
2292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2293 esac
2294 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2295 done
2297 # There might be people who depend on the old broken behavior: `$host'
2298 # used to hold the argument of --host etc.
2299 # FIXME: To remove some day.
2300 build=$build_alias
2301 host=$host_alias
2302 target=$target_alias
2304 # FIXME: To remove some day.
2305 if test "x$host_alias" != x; then
2306 if test "x$build_alias" = x; then
2307 cross_compiling=maybe
2308 elif test "x$build_alias" != "x$host_alias"; then
2309 cross_compiling=yes
2313 ac_tool_prefix=
2314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2316 test "$silent" = yes && exec 6>/dev/null
2319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2320 ac_ls_di=`ls -di .` &&
2321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2322 as_fn_error $? "working directory cannot be determined"
2323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2324 as_fn_error $? "pwd does not report name of working directory"
2327 # Find the source files, if location was not specified.
2328 if test -z "$srcdir"; then
2329 ac_srcdir_defaulted=yes
2330 # Try the directory containing this script, then the parent directory.
2331 ac_confdir=`$as_dirname -- "$as_myself" ||
2332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2333 X"$as_myself" : 'X\(//\)[^/]' \| \
2334 X"$as_myself" : 'X\(//\)$' \| \
2335 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2336 $as_echo X"$as_myself" |
2337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2338 s//\1/
2341 /^X\(\/\/\)[^/].*/{
2342 s//\1/
2345 /^X\(\/\/\)$/{
2346 s//\1/
2349 /^X\(\/\).*/{
2350 s//\1/
2353 s/.*/./; q'`
2354 srcdir=$ac_confdir
2355 if test ! -r "$srcdir/$ac_unique_file"; then
2356 srcdir=..
2358 else
2359 ac_srcdir_defaulted=no
2361 if test ! -r "$srcdir/$ac_unique_file"; then
2362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2363 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2366 ac_abs_confdir=`(
2367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2368 pwd)`
2369 # When building in place, set srcdir=.
2370 if test "$ac_abs_confdir" = "$ac_pwd"; then
2371 srcdir=.
2373 # Remove unnecessary trailing slashes from srcdir.
2374 # Double slashes in file names in object file debugging info
2375 # mess up M-x gdb in Emacs.
2376 case $srcdir in
2377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2378 esac
2379 for ac_var in $ac_precious_vars; do
2380 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2381 eval ac_env_${ac_var}_value=\$${ac_var}
2382 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2383 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2384 done
2387 # Report the --help message.
2389 if test "$ac_init_help" = "long"; then
2390 # Omit some internal or obsolete options to make the list less imposing.
2391 # This message is too long to be a string in the A/UX 3.1 sh.
2392 cat <<_ACEOF
2393 \`configure' configures Wine 3.20 to adapt to many kinds of systems.
2395 Usage: $0 [OPTION]... [VAR=VALUE]...
2397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2398 VAR=VALUE. See below for descriptions of some of the useful variables.
2400 Defaults for the options are specified in brackets.
2402 Configuration:
2403 -h, --help display this help and exit
2404 --help=short display options specific to this package
2405 --help=recursive display the short help of all the included packages
2406 -V, --version display version information and exit
2407 -q, --quiet, --silent do not print \`checking ...' messages
2408 --cache-file=FILE cache test results in FILE [disabled]
2409 -C, --config-cache alias for \`--cache-file=config.cache'
2410 -n, --no-create do not create output files
2411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2413 Installation directories:
2414 --prefix=PREFIX install architecture-independent files in PREFIX
2415 [$ac_default_prefix]
2416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2417 [PREFIX]
2419 By default, \`make install' will install all the files in
2420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2422 for instance \`--prefix=\$HOME'.
2424 For better control, use the options below.
2426 Fine tuning of the installation directories:
2427 --bindir=DIR user executables [EPREFIX/bin]
2428 --sbindir=DIR system admin executables [EPREFIX/sbin]
2429 --libexecdir=DIR program executables [EPREFIX/libexec]
2430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2433 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2434 --libdir=DIR object code libraries [EPREFIX/lib]
2435 --includedir=DIR C header files [PREFIX/include]
2436 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2437 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2438 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2439 --infodir=DIR info documentation [DATAROOTDIR/info]
2440 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2441 --mandir=DIR man documentation [DATAROOTDIR/man]
2442 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2443 --htmldir=DIR html documentation [DOCDIR]
2444 --dvidir=DIR dvi documentation [DOCDIR]
2445 --pdfdir=DIR pdf documentation [DOCDIR]
2446 --psdir=DIR ps documentation [DOCDIR]
2447 _ACEOF
2449 cat <<\_ACEOF
2451 X features:
2452 --x-includes=DIR X include files are in DIR
2453 --x-libraries=DIR X library files are in DIR
2455 System types:
2456 --build=BUILD configure for building on BUILD [guessed]
2457 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2458 _ACEOF
2461 if test -n "$ac_init_help"; then
2462 case $ac_init_help in
2463 short | recursive ) echo "Configuration of Wine 3.20:";;
2464 esac
2465 cat <<\_ACEOF
2467 Optional Features:
2468 --disable-option-checking ignore unrecognized --enable/--with options
2469 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2470 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2471 --disable-win16 do not include Win16 support
2472 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2473 binaries)
2474 --disable-tests do not build the regression tests
2475 --enable-maintainer-mode
2476 enable maintainer-specific build rules
2477 --disable-largefile omit support for large files
2479 Optional Packages:
2480 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2481 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2482 --without-alsa do not use the Alsa sound support
2483 --without-capi do not use CAPI (ISDN support)
2484 --without-cms do not use CMS (color management support)
2485 --without-coreaudio do not use the CoreAudio sound support
2486 --without-cups do not use CUPS
2487 --without-curses do not use (n)curses
2488 --without-dbus do not use DBus (dynamic device support)
2489 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2490 --without-fontconfig do not use fontconfig
2491 --without-freetype do not use the FreeType library
2492 --without-gettext do not use gettext
2493 --with-gettextpo use the GetTextPO library to rebuild po files
2494 --without-gphoto do not use gphoto (Digital Camera support)
2495 --without-glu do not use the GLU library
2496 --without-gnutls do not use GnuTLS (schannel support)
2497 --without-gsm do not use libgsm (GSM 06.10 codec support)
2498 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2499 --without-gstreamer do not use GStreamer (codecs support)
2500 --without-hal do not use HAL (dynamic device support)
2501 --without-jpeg do not use JPEG
2502 --without-krb5 do not use krb5 (Kerberos)
2503 --without-ldap do not use LDAP
2504 --without-mpg123 do not use the mpg123 library
2505 --without-netapi do not use the Samba NetAPI library
2506 --without-openal do not use OpenAL
2507 --without-opencl do not use OpenCL
2508 --without-opengl do not use OpenGL
2509 --without-osmesa do not use the OSMesa library
2510 --without-oss do not use the OSS sound support
2511 --without-pcap do not use the Packet Capture library
2512 --without-png do not use PNG
2513 --without-pthread do not use the pthread library
2514 --without-pulse do not use PulseAudio sound support
2515 --without-sane do not use SANE (scanner support)
2516 --without-sdl do not use SDL
2517 --without-tiff do not use TIFF
2518 --without-udev do not use udev (plug and play support)
2519 --without-v4l do not use v4l1 (v4l support)
2520 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2521 --without-vulkan do not use Vulkan
2522 --without-xcomposite do not use the Xcomposite extension
2523 --without-xcursor do not use the Xcursor extension
2524 --without-xfixes do not use Xfixes for clipboard change notifications
2525 --without-xinerama do not use Xinerama (multi-monitor support)
2526 --without-xinput do not use the Xinput extension
2527 --without-xinput2 do not use the Xinput 2 extension
2528 --without-xml do not use XML
2529 --without-xrandr do not use Xrandr (resolution changes)
2530 --without-xrender do not use the Xrender extension
2531 --without-xshape do not use the Xshape extension
2532 --without-xshm do not use XShm (shared memory extension)
2533 --without-xslt do not use XSLT
2534 --without-xxf86vm do not use XFree video mode extension
2535 --without-zlib do not use Zlib (data compression)
2536 --with-wine-tools=DIR use Wine tools from directory DIR
2537 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2538 --with-x use the X Window System
2540 Some influential environment variables:
2541 CC C compiler command
2542 CFLAGS C compiler flags
2543 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2544 nonstandard directory <lib dir>
2545 LIBS libraries to pass to the linker, e.g. -l<library>
2546 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2547 you have headers in a nonstandard directory <include dir>
2548 CXX C++ compiler command
2549 CXXFLAGS C++ compiler flags
2550 CPP C preprocessor
2551 OBJC Objective C compiler command
2552 OBJCFLAGS Objective C compiler flags
2553 OBJCPP Objective C preprocessor
2554 XMKMF Path to xmkmf, Makefile generator for X Window System
2555 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2556 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2557 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2558 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2559 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2560 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2561 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2562 HAL_LIBS Linker flags for hal, overriding pkg-config
2563 GNUTLS_CFLAGS
2564 C compiler flags for gnutls, overriding pkg-config
2565 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2566 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2567 SANE_LIBS Linker flags for libsane, overriding pkg-config
2568 GPHOTO2_CFLAGS
2569 C compiler flags for libgphoto2, overriding pkg-config
2570 GPHOTO2_LIBS
2571 Linker flags for libgphoto2, overriding pkg-config
2572 GPHOTO2_PORT_CFLAGS
2573 C compiler flags for libgphoto2_port, overriding pkg-config
2574 GPHOTO2_PORT_LIBS
2575 Linker flags for libgphoto2_port, overriding pkg-config
2576 LCMS2_CFLAGS
2577 C compiler flags for lcms2, overriding pkg-config
2578 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2579 FREETYPE_CFLAGS
2580 C compiler flags for freetype2, overriding pkg-config
2581 FREETYPE_LIBS
2582 Linker flags for freetype2, overriding pkg-config
2583 PULSE_CFLAGS
2584 C compiler flags for libpulse, overriding pkg-config
2585 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2586 GSTREAMER_CFLAGS
2587 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2588 gstreamer-audio-1.0, overriding pkg-config
2589 GSTREAMER_LIBS
2590 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2591 gstreamer-audio-1.0, overriding pkg-config
2592 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2593 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2594 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2595 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2596 CAPI20_CFLAGS
2597 C compiler flags for capi20, overriding pkg-config
2598 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2599 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2600 CUPS_LIBS Linker flags for cups, overriding pkg-config
2601 FONTCONFIG_CFLAGS
2602 C compiler flags for fontconfig, overriding pkg-config
2603 FONTCONFIG_LIBS
2604 Linker flags for fontconfig, overriding pkg-config
2605 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2606 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2607 GSSAPI_CFLAGS
2608 C compiler flags for krb5-gssapi, overriding pkg-config
2609 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2610 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2611 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2612 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2613 PNG_LIBS Linker flags for libpng, overriding pkg-config
2614 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2615 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2616 MPG123_CFLAGS
2617 C compiler flags for libmpg123, overriding pkg-config
2618 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2619 NETAPI_CFLAGS
2620 C compiler flags for netapi, overriding pkg-config
2621 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2622 VKD3D_CFLAGS
2623 C compiler flags for libvkd3d, overriding pkg-config
2624 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2625 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2626 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2628 Use these variables to override the choices made by `configure' or to help
2629 it to find libraries and programs with nonstandard names/locations.
2631 Report bugs to <wine-devel@winehq.org>.
2632 Wine home page: <https://www.winehq.org>.
2633 _ACEOF
2634 ac_status=$?
2637 if test "$ac_init_help" = "recursive"; then
2638 # If there are subdirs, report their specific --help.
2639 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2640 test -d "$ac_dir" ||
2641 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2642 continue
2643 ac_builddir=.
2645 case "$ac_dir" in
2646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2648 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2649 # A ".." for each directory in $ac_dir_suffix.
2650 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2651 case $ac_top_builddir_sub in
2652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2654 esac ;;
2655 esac
2656 ac_abs_top_builddir=$ac_pwd
2657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2658 # for backward compatibility:
2659 ac_top_builddir=$ac_top_build_prefix
2661 case $srcdir in
2662 .) # We are building in place.
2663 ac_srcdir=.
2664 ac_top_srcdir=$ac_top_builddir_sub
2665 ac_abs_top_srcdir=$ac_pwd ;;
2666 [\\/]* | ?:[\\/]* ) # Absolute name.
2667 ac_srcdir=$srcdir$ac_dir_suffix;
2668 ac_top_srcdir=$srcdir
2669 ac_abs_top_srcdir=$srcdir ;;
2670 *) # Relative name.
2671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2672 ac_top_srcdir=$ac_top_build_prefix$srcdir
2673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2674 esac
2675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2677 cd "$ac_dir" || { ac_status=$?; continue; }
2678 # Check for guested configure.
2679 if test -f "$ac_srcdir/configure.gnu"; then
2680 echo &&
2681 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2682 elif test -f "$ac_srcdir/configure"; then
2683 echo &&
2684 $SHELL "$ac_srcdir/configure" --help=recursive
2685 else
2686 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2687 fi || ac_status=$?
2688 cd "$ac_pwd" || { ac_status=$?; break; }
2689 done
2692 test -n "$ac_init_help" && exit $ac_status
2693 if $ac_init_version; then
2694 cat <<\_ACEOF
2695 Wine configure 3.20
2696 generated by GNU Autoconf 2.69
2698 Copyright (C) 2012 Free Software Foundation, Inc.
2699 This configure script is free software; the Free Software Foundation
2700 gives unlimited permission to copy, distribute and modify it.
2701 _ACEOF
2702 exit
2705 ## ------------------------ ##
2706 ## Autoconf initialization. ##
2707 ## ------------------------ ##
2709 # ac_fn_c_try_compile LINENO
2710 # --------------------------
2711 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2712 ac_fn_c_try_compile ()
2714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2715 rm -f conftest.$ac_objext
2716 if { { ac_try="$ac_compile"
2717 case "(($ac_try" in
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2720 esac
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723 (eval "$ac_compile") 2>conftest.err
2724 ac_status=$?
2725 if test -s conftest.err; then
2726 grep -v '^ *+' conftest.err >conftest.er1
2727 cat conftest.er1 >&5
2728 mv -f conftest.er1 conftest.err
2730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2731 test $ac_status = 0; } && {
2732 test -z "$ac_c_werror_flag" ||
2733 test ! -s conftest.err
2734 } && test -s conftest.$ac_objext; then :
2735 ac_retval=0
2736 else
2737 $as_echo "$as_me: failed program was:" >&5
2738 sed 's/^/| /' conftest.$ac_ext >&5
2740 ac_retval=1
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743 as_fn_set_status $ac_retval
2745 } # ac_fn_c_try_compile
2747 # ac_fn_cxx_try_compile LINENO
2748 # ----------------------------
2749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2750 ac_fn_cxx_try_compile ()
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 rm -f conftest.$ac_objext
2754 if { { ac_try="$ac_compile"
2755 case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2758 esac
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_compile") 2>conftest.err
2762 ac_status=$?
2763 if test -s conftest.err; then
2764 grep -v '^ *+' conftest.err >conftest.er1
2765 cat conftest.er1 >&5
2766 mv -f conftest.er1 conftest.err
2768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2769 test $ac_status = 0; } && {
2770 test -z "$ac_cxx_werror_flag" ||
2771 test ! -s conftest.err
2772 } && test -s conftest.$ac_objext; then :
2773 ac_retval=0
2774 else
2775 $as_echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.$ac_ext >&5
2778 ac_retval=1
2780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781 as_fn_set_status $ac_retval
2783 } # ac_fn_cxx_try_compile
2785 # ac_fn_c_try_link LINENO
2786 # -----------------------
2787 # Try to link conftest.$ac_ext, and return whether this succeeded.
2788 ac_fn_c_try_link ()
2790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2791 rm -f conftest.$ac_objext conftest$ac_exeext
2792 if { { ac_try="$ac_link"
2793 case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 $as_echo "$ac_try_echo"; } >&5
2799 (eval "$ac_link") 2>conftest.err
2800 ac_status=$?
2801 if test -s conftest.err; then
2802 grep -v '^ *+' conftest.err >conftest.er1
2803 cat conftest.er1 >&5
2804 mv -f conftest.er1 conftest.err
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; } && {
2808 test -z "$ac_c_werror_flag" ||
2809 test ! -s conftest.err
2810 } && test -s conftest$ac_exeext && {
2811 test "$cross_compiling" = yes ||
2812 test -x conftest$ac_exeext
2813 }; then :
2814 ac_retval=0
2815 else
2816 $as_echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 ac_retval=1
2821 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2822 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2823 # interfere with the next link command; also delete a directory that is
2824 # left behind by Apple's compiler. We do this before executing the actions.
2825 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2827 as_fn_set_status $ac_retval
2829 } # ac_fn_c_try_link
2831 # ac_fn_c_try_cpp LINENO
2832 # ----------------------
2833 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2834 ac_fn_c_try_cpp ()
2836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2837 if { { ac_try="$ac_cpp conftest.$ac_ext"
2838 case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2841 esac
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2845 ac_status=$?
2846 if test -s conftest.err; then
2847 grep -v '^ *+' conftest.err >conftest.er1
2848 cat conftest.er1 >&5
2849 mv -f conftest.er1 conftest.err
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; } > conftest.i && {
2853 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2854 test ! -s conftest.err
2855 }; then :
2856 ac_retval=0
2857 else
2858 $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2861 ac_retval=1
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2864 as_fn_set_status $ac_retval
2866 } # ac_fn_c_try_cpp
2868 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2869 # -------------------------------------------------------
2870 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2871 # the include files in INCLUDES and setting the cache variable VAR
2872 # accordingly.
2873 ac_fn_c_check_header_mongrel ()
2875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2876 if eval \${$3+:} false; then :
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2878 $as_echo_n "checking for $2... " >&6; }
2879 if eval \${$3+:} false; then :
2880 $as_echo_n "(cached) " >&6
2882 eval ac_res=\$$3
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2884 $as_echo "$ac_res" >&6; }
2885 else
2886 # Is the header compilable?
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2888 $as_echo_n "checking $2 usability... " >&6; }
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2892 #include <$2>
2893 _ACEOF
2894 if ac_fn_c_try_compile "$LINENO"; then :
2895 ac_header_compiler=yes
2896 else
2897 ac_header_compiler=no
2899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2901 $as_echo "$ac_header_compiler" >&6; }
2903 # Is the header present?
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2905 $as_echo_n "checking $2 presence... " >&6; }
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2908 #include <$2>
2909 _ACEOF
2910 if ac_fn_c_try_cpp "$LINENO"; then :
2911 ac_header_preproc=yes
2912 else
2913 ac_header_preproc=no
2915 rm -f conftest.err conftest.i conftest.$ac_ext
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2917 $as_echo "$ac_header_preproc" >&6; }
2919 # So? What about this header?
2920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2921 yes:no: )
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2923 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2925 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2927 no:yes:* )
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2929 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2931 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2933 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2935 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2937 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2938 ( $as_echo "## ------------------------------------ ##
2939 ## Report this to wine-devel@winehq.org ##
2940 ## ------------------------------------ ##"
2941 ) | sed "s/^/$as_me: WARNING: /" >&2
2943 esac
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2945 $as_echo_n "checking for $2... " >&6; }
2946 if eval \${$3+:} false; then :
2947 $as_echo_n "(cached) " >&6
2948 else
2949 eval "$3=\$ac_header_compiler"
2951 eval ac_res=\$$3
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2953 $as_echo "$ac_res" >&6; }
2955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2957 } # ac_fn_c_check_header_mongrel
2959 # ac_fn_c_try_run LINENO
2960 # ----------------------
2961 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2962 # that executables *can* be run.
2963 ac_fn_c_try_run ()
2965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2966 if { { ac_try="$ac_link"
2967 case "(($ac_try" in
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2970 esac
2971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2972 $as_echo "$ac_try_echo"; } >&5
2973 (eval "$ac_link") 2>&5
2974 ac_status=$?
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2977 { { case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980 esac
2981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2982 $as_echo "$ac_try_echo"; } >&5
2983 (eval "$ac_try") 2>&5
2984 ac_status=$?
2985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2986 test $ac_status = 0; }; }; then :
2987 ac_retval=0
2988 else
2989 $as_echo "$as_me: program exited with status $ac_status" >&5
2990 $as_echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2993 ac_retval=$ac_status
2995 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2997 as_fn_set_status $ac_retval
2999 } # ac_fn_c_try_run
3001 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3002 # -------------------------------------------------------
3003 # Tests whether HEADER exists and can be compiled using the include files in
3004 # INCLUDES, setting the cache variable VAR accordingly.
3005 ac_fn_c_check_header_compile ()
3007 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3009 $as_echo_n "checking for $2... " >&6; }
3010 if eval \${$3+:} false; then :
3011 $as_echo_n "(cached) " >&6
3012 else
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3014 /* end confdefs.h. */
3016 #include <$2>
3017 _ACEOF
3018 if ac_fn_c_try_compile "$LINENO"; then :
3019 eval "$3=yes"
3020 else
3021 eval "$3=no"
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 eval ac_res=\$$3
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 $as_echo "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_header_compile
3032 # ac_fn_objc_try_compile LINENO
3033 # -----------------------------
3034 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3035 ac_fn_objc_try_compile ()
3037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3038 rm -f conftest.$ac_objext
3039 if { { ac_try="$ac_compile"
3040 case "(($ac_try" in
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3043 esac
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046 (eval "$ac_compile") 2>conftest.err
3047 ac_status=$?
3048 if test -s conftest.err; then
3049 grep -v '^ *+' conftest.err >conftest.er1
3050 cat conftest.er1 >&5
3051 mv -f conftest.er1 conftest.err
3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054 test $ac_status = 0; } && {
3055 test -z "$ac_objc_werror_flag" ||
3056 test ! -s conftest.err
3057 } && test -s conftest.$ac_objext; then :
3058 ac_retval=0
3059 else
3060 $as_echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3063 ac_retval=1
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066 as_fn_set_status $ac_retval
3068 } # ac_fn_objc_try_compile
3070 # ac_fn_objc_try_cpp LINENO
3071 # -------------------------
3072 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3073 ac_fn_objc_try_cpp ()
3075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076 if { { ac_try="$ac_cpp conftest.$ac_ext"
3077 case "(($ac_try" in
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3080 esac
3081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3084 ac_status=$?
3085 if test -s conftest.err; then
3086 grep -v '^ *+' conftest.err >conftest.er1
3087 cat conftest.er1 >&5
3088 mv -f conftest.er1 conftest.err
3090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3091 test $ac_status = 0; } > conftest.i && {
3092 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3093 test ! -s conftest.err
3094 }; then :
3095 ac_retval=0
3096 else
3097 $as_echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.$ac_ext >&5
3100 ac_retval=1
3102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3103 as_fn_set_status $ac_retval
3105 } # ac_fn_objc_try_cpp
3107 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3108 # ----------------------------------------------------------
3109 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3110 # the include files in INCLUDES and setting the cache variable VAR
3111 # accordingly.
3112 ac_fn_objc_check_header_mongrel ()
3114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3115 if eval \${$3+:} false; then :
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3117 $as_echo_n "checking for $2... " >&6; }
3118 if eval \${$3+:} false; then :
3119 $as_echo_n "(cached) " >&6
3121 eval ac_res=\$$3
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3123 $as_echo "$ac_res" >&6; }
3124 else
3125 # Is the header compilable?
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3127 $as_echo_n "checking $2 usability... " >&6; }
3128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h. */
3131 #include <$2>
3132 _ACEOF
3133 if ac_fn_objc_try_compile "$LINENO"; then :
3134 ac_header_compiler=yes
3135 else
3136 ac_header_compiler=no
3138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3140 $as_echo "$ac_header_compiler" >&6; }
3142 # Is the header present?
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3144 $as_echo_n "checking $2 presence... " >&6; }
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3147 #include <$2>
3148 _ACEOF
3149 if ac_fn_objc_try_cpp "$LINENO"; then :
3150 ac_header_preproc=yes
3151 else
3152 ac_header_preproc=no
3154 rm -f conftest.err conftest.i conftest.$ac_ext
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3156 $as_echo "$ac_header_preproc" >&6; }
3158 # So? What about this header?
3159 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3160 yes:no: )
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3162 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3164 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3166 no:yes:* )
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3168 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3170 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3172 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3174 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3176 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3177 ( $as_echo "## ------------------------------------ ##
3178 ## Report this to wine-devel@winehq.org ##
3179 ## ------------------------------------ ##"
3180 ) | sed "s/^/$as_me: WARNING: /" >&2
3182 esac
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3184 $as_echo_n "checking for $2... " >&6; }
3185 if eval \${$3+:} false; then :
3186 $as_echo_n "(cached) " >&6
3187 else
3188 eval "$3=\$ac_header_compiler"
3190 eval ac_res=\$$3
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3192 $as_echo "$ac_res" >&6; }
3194 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3196 } # ac_fn_objc_check_header_mongrel
3198 # ac_fn_c_check_func LINENO FUNC VAR
3199 # ----------------------------------
3200 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3201 ac_fn_c_check_func ()
3203 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3205 $as_echo_n "checking for $2... " >&6; }
3206 if eval \${$3+:} false; then :
3207 $as_echo_n "(cached) " >&6
3208 else
3209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3210 /* end confdefs.h. */
3211 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3213 #define $2 innocuous_$2
3215 /* System header to define __stub macros and hopefully few prototypes,
3216 which can conflict with char $2 (); below.
3217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3218 <limits.h> exists even on freestanding compilers. */
3220 #ifdef __STDC__
3221 # include <limits.h>
3222 #else
3223 # include <assert.h>
3224 #endif
3226 #undef $2
3228 /* Override any GCC internal prototype to avoid an error.
3229 Use char because int might match the return type of a GCC
3230 builtin and then its argument prototype would still apply. */
3231 #ifdef __cplusplus
3232 extern "C"
3233 #endif
3234 char $2 ();
3235 /* The GNU C library defines this for functions which it implements
3236 to always fail with ENOSYS. Some functions are actually named
3237 something starting with __ and the normal name is an alias. */
3238 #if defined __stub_$2 || defined __stub___$2
3239 choke me
3240 #endif
3243 main ()
3245 return $2 ();
3247 return 0;
3249 _ACEOF
3250 if ac_fn_c_try_link "$LINENO"; then :
3251 eval "$3=yes"
3252 else
3253 eval "$3=no"
3255 rm -f core conftest.err conftest.$ac_objext \
3256 conftest$ac_exeext conftest.$ac_ext
3258 eval ac_res=\$$3
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3260 $as_echo "$ac_res" >&6; }
3261 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3263 } # ac_fn_c_check_func
3265 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3266 # ----------------------------------------------------
3267 # Tries to find if the field MEMBER exists in type AGGR, after including
3268 # INCLUDES, setting cache variable VAR accordingly.
3269 ac_fn_c_check_member ()
3271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3273 $as_echo_n "checking for $2.$3... " >&6; }
3274 if eval \${$4+:} false; then :
3275 $as_echo_n "(cached) " >&6
3276 else
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3281 main ()
3283 static $2 ac_aggr;
3284 if (ac_aggr.$3)
3285 return 0;
3287 return 0;
3289 _ACEOF
3290 if ac_fn_c_try_compile "$LINENO"; then :
3291 eval "$4=yes"
3292 else
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3297 main ()
3299 static $2 ac_aggr;
3300 if (sizeof ac_aggr.$3)
3301 return 0;
3303 return 0;
3305 _ACEOF
3306 if ac_fn_c_try_compile "$LINENO"; then :
3307 eval "$4=yes"
3308 else
3309 eval "$4=no"
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3315 eval ac_res=\$$4
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3317 $as_echo "$ac_res" >&6; }
3318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3320 } # ac_fn_c_check_member
3322 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3323 # -------------------------------------------
3324 # Tests whether TYPE exists after having included INCLUDES, setting cache
3325 # variable VAR accordingly.
3326 ac_fn_c_check_type ()
3328 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3330 $as_echo_n "checking for $2... " >&6; }
3331 if eval \${$3+:} false; then :
3332 $as_echo_n "(cached) " >&6
3333 else
3334 eval "$3=no"
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3339 main ()
3341 if (sizeof ($2))
3342 return 0;
3344 return 0;
3346 _ACEOF
3347 if ac_fn_c_try_compile "$LINENO"; then :
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3352 main ()
3354 if (sizeof (($2)))
3355 return 0;
3357 return 0;
3359 _ACEOF
3360 if ac_fn_c_try_compile "$LINENO"; then :
3362 else
3363 eval "$3=yes"
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 eval ac_res=\$$3
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3371 $as_echo "$ac_res" >&6; }
3372 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3374 } # ac_fn_c_check_type
3375 cat >config.log <<_ACEOF
3376 This file contains any messages produced by compilers while
3377 running configure, to aid debugging if configure makes a mistake.
3379 It was created by Wine $as_me 3.20, which was
3380 generated by GNU Autoconf 2.69. Invocation command line was
3382 $ $0 $@
3384 _ACEOF
3385 exec 5>>config.log
3387 cat <<_ASUNAME
3388 ## --------- ##
3389 ## Platform. ##
3390 ## --------- ##
3392 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3393 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3394 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3395 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3396 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3398 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3399 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3401 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3402 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3403 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3404 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3405 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3406 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3407 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3409 _ASUNAME
3411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412 for as_dir in $PATH
3414 IFS=$as_save_IFS
3415 test -z "$as_dir" && as_dir=.
3416 $as_echo "PATH: $as_dir"
3417 done
3418 IFS=$as_save_IFS
3420 } >&5
3422 cat >&5 <<_ACEOF
3425 ## ----------- ##
3426 ## Core tests. ##
3427 ## ----------- ##
3429 _ACEOF
3432 # Keep a trace of the command line.
3433 # Strip out --no-create and --no-recursion so they do not pile up.
3434 # Strip out --silent because we don't want to record it for future runs.
3435 # Also quote any args containing shell meta-characters.
3436 # Make two passes to allow for proper duplicate-argument suppression.
3437 ac_configure_args=
3438 ac_configure_args0=
3439 ac_configure_args1=
3440 ac_must_keep_next=false
3441 for ac_pass in 1 2
3443 for ac_arg
3445 case $ac_arg in
3446 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3447 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3448 | -silent | --silent | --silen | --sile | --sil)
3449 continue ;;
3450 *\'*)
3451 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3452 esac
3453 case $ac_pass in
3454 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3456 as_fn_append ac_configure_args1 " '$ac_arg'"
3457 if test $ac_must_keep_next = true; then
3458 ac_must_keep_next=false # Got value, back to normal.
3459 else
3460 case $ac_arg in
3461 *=* | --config-cache | -C | -disable-* | --disable-* \
3462 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3463 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3464 | -with-* | --with-* | -without-* | --without-* | --x)
3465 case "$ac_configure_args0 " in
3466 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3467 esac
3469 -* ) ac_must_keep_next=true ;;
3470 esac
3472 as_fn_append ac_configure_args " '$ac_arg'"
3474 esac
3475 done
3476 done
3477 { ac_configure_args0=; unset ac_configure_args0;}
3478 { ac_configure_args1=; unset ac_configure_args1;}
3480 # When interrupted or exit'd, cleanup temporary files, and complete
3481 # config.log. We remove comments because anyway the quotes in there
3482 # would cause problems or look ugly.
3483 # WARNING: Use '\'' to represent an apostrophe within the trap.
3484 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3485 trap 'exit_status=$?
3486 # Save into config.log some information that might help in debugging.
3488 echo
3490 $as_echo "## ---------------- ##
3491 ## Cache variables. ##
3492 ## ---------------- ##"
3493 echo
3494 # The following way of writing the cache mishandles newlines in values,
3496 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3497 eval ac_val=\$$ac_var
3498 case $ac_val in #(
3499 *${as_nl}*)
3500 case $ac_var in #(
3501 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3502 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3503 esac
3504 case $ac_var in #(
3505 _ | IFS | as_nl) ;; #(
3506 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3507 *) { eval $ac_var=; unset $ac_var;} ;;
3508 esac ;;
3509 esac
3510 done
3511 (set) 2>&1 |
3512 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3513 *${as_nl}ac_space=\ *)
3514 sed -n \
3515 "s/'\''/'\''\\\\'\'''\''/g;
3516 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3517 ;; #(
3519 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3521 esac |
3522 sort
3524 echo
3526 $as_echo "## ----------------- ##
3527 ## Output variables. ##
3528 ## ----------------- ##"
3529 echo
3530 for ac_var in $ac_subst_vars
3532 eval ac_val=\$$ac_var
3533 case $ac_val in
3534 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3535 esac
3536 $as_echo "$ac_var='\''$ac_val'\''"
3537 done | sort
3538 echo
3540 if test -n "$ac_subst_files"; then
3541 $as_echo "## ------------------- ##
3542 ## File substitutions. ##
3543 ## ------------------- ##"
3544 echo
3545 for ac_var in $ac_subst_files
3547 eval ac_val=\$$ac_var
3548 case $ac_val in
3549 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3550 esac
3551 $as_echo "$ac_var='\''$ac_val'\''"
3552 done | sort
3553 echo
3556 if test -s confdefs.h; then
3557 $as_echo "## ----------- ##
3558 ## confdefs.h. ##
3559 ## ----------- ##"
3560 echo
3561 cat confdefs.h
3562 echo
3564 test "$ac_signal" != 0 &&
3565 $as_echo "$as_me: caught signal $ac_signal"
3566 $as_echo "$as_me: exit $exit_status"
3567 } >&5
3568 rm -f core *.core core.conftest.* &&
3569 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3570 exit $exit_status
3572 for ac_signal in 1 2 13 15; do
3573 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3574 done
3575 ac_signal=0
3577 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3578 rm -f -r conftest* confdefs.h
3580 $as_echo "/* confdefs.h */" > confdefs.h
3582 # Predefined preprocessor variables.
3584 cat >>confdefs.h <<_ACEOF
3585 #define PACKAGE_NAME "$PACKAGE_NAME"
3586 _ACEOF
3588 cat >>confdefs.h <<_ACEOF
3589 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3590 _ACEOF
3592 cat >>confdefs.h <<_ACEOF
3593 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3594 _ACEOF
3596 cat >>confdefs.h <<_ACEOF
3597 #define PACKAGE_STRING "$PACKAGE_STRING"
3598 _ACEOF
3600 cat >>confdefs.h <<_ACEOF
3601 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3602 _ACEOF
3604 cat >>confdefs.h <<_ACEOF
3605 #define PACKAGE_URL "$PACKAGE_URL"
3606 _ACEOF
3609 # Let the site file select an alternate cache file if it wants to.
3610 # Prefer an explicitly selected file to automatically selected ones.
3611 ac_site_file1=NONE
3612 ac_site_file2=NONE
3613 if test -n "$CONFIG_SITE"; then
3614 # We do not want a PATH search for config.site.
3615 case $CONFIG_SITE in #((
3616 -*) ac_site_file1=./$CONFIG_SITE;;
3617 */*) ac_site_file1=$CONFIG_SITE;;
3618 *) ac_site_file1=./$CONFIG_SITE;;
3619 esac
3620 elif test "x$prefix" != xNONE; then
3621 ac_site_file1=$prefix/share/config.site
3622 ac_site_file2=$prefix/etc/config.site
3623 else
3624 ac_site_file1=$ac_default_prefix/share/config.site
3625 ac_site_file2=$ac_default_prefix/etc/config.site
3627 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3629 test "x$ac_site_file" = xNONE && continue
3630 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3632 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3633 sed 's/^/| /' "$ac_site_file" >&5
3634 . "$ac_site_file" \
3635 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3637 as_fn_error $? "failed to load site script $ac_site_file
3638 See \`config.log' for more details" "$LINENO" 5; }
3640 done
3642 if test -r "$cache_file"; then
3643 # Some versions of bash will fail to source /dev/null (special files
3644 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3645 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3647 $as_echo "$as_me: loading cache $cache_file" >&6;}
3648 case $cache_file in
3649 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3650 *) . "./$cache_file";;
3651 esac
3653 else
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3655 $as_echo "$as_me: creating cache $cache_file" >&6;}
3656 >$cache_file
3659 # Check that the precious variables saved in the cache have kept the same
3660 # value.
3661 ac_cache_corrupted=false
3662 for ac_var in $ac_precious_vars; do
3663 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3664 eval ac_new_set=\$ac_env_${ac_var}_set
3665 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3666 eval ac_new_val=\$ac_env_${ac_var}_value
3667 case $ac_old_set,$ac_new_set in
3668 set,)
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3670 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3671 ac_cache_corrupted=: ;;
3672 ,set)
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3674 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3675 ac_cache_corrupted=: ;;
3676 ,);;
3678 if test "x$ac_old_val" != "x$ac_new_val"; then
3679 # differences in whitespace do not lead to failure.
3680 ac_old_val_w=`echo x $ac_old_val`
3681 ac_new_val_w=`echo x $ac_new_val`
3682 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3684 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3685 ac_cache_corrupted=:
3686 else
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3688 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3689 eval $ac_var=\$ac_old_val
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3692 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3694 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3695 fi;;
3696 esac
3697 # Pass precious variables to config.status.
3698 if test "$ac_new_set" = set; then
3699 case $ac_new_val in
3700 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3701 *) ac_arg=$ac_var=$ac_new_val ;;
3702 esac
3703 case " $ac_configure_args " in
3704 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3705 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3706 esac
3708 done
3709 if $ac_cache_corrupted; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3713 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3714 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3716 ## -------------------- ##
3717 ## Main body of script. ##
3718 ## -------------------- ##
3720 ac_ext=c
3721 ac_cpp='$CPP $CPPFLAGS'
3722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3728 ac_config_headers="$ac_config_headers include/config.h"
3730 ac_aux_dir=
3731 for ac_dir in tools "$srcdir"/tools; do
3732 if test -f "$ac_dir/install-sh"; then
3733 ac_aux_dir=$ac_dir
3734 ac_install_sh="$ac_aux_dir/install-sh -c"
3735 break
3736 elif test -f "$ac_dir/install.sh"; then
3737 ac_aux_dir=$ac_dir
3738 ac_install_sh="$ac_aux_dir/install.sh -c"
3739 break
3740 elif test -f "$ac_dir/shtool"; then
3741 ac_aux_dir=$ac_dir
3742 ac_install_sh="$ac_aux_dir/shtool install -c"
3743 break
3745 done
3746 if test -z "$ac_aux_dir"; then
3747 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3750 # These three variables are undocumented and unsupported,
3751 # and are intended to be withdrawn in a future Autoconf release.
3752 # They can cause serious problems if a builder's source tree is in a directory
3753 # whose full name contains unusual characters.
3754 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3755 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3756 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3760 libwine_version="1.0"
3764 # Check whether --enable-win16 was given.
3765 if test "${enable_win16+set}" = set; then :
3766 enableval=$enable_win16;
3769 # Check whether --enable-win64 was given.
3770 if test "${enable_win64+set}" = set; then :
3771 enableval=$enable_win64;
3774 # Check whether --enable-tests was given.
3775 if test "${enable_tests+set}" = set; then :
3776 enableval=$enable_tests;
3779 # Check whether --enable-maintainer-mode was given.
3780 if test "${enable_maintainer_mode+set}" = set; then :
3781 enableval=$enable_maintainer_mode;
3786 # Check whether --with-alsa was given.
3787 if test "${with_alsa+set}" = set; then :
3788 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3792 # Check whether --with-capi was given.
3793 if test "${with_capi+set}" = set; then :
3794 withval=$with_capi;
3798 # Check whether --with-cms was given.
3799 if test "${with_cms+set}" = set; then :
3800 withval=$with_cms;
3804 # Check whether --with-coreaudio was given.
3805 if test "${with_coreaudio+set}" = set; then :
3806 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3810 # Check whether --with-cups was given.
3811 if test "${with_cups+set}" = set; then :
3812 withval=$with_cups;
3816 # Check whether --with-curses was given.
3817 if test "${with_curses+set}" = set; then :
3818 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3822 # Check whether --with-dbus was given.
3823 if test "${with_dbus+set}" = set; then :
3824 withval=$with_dbus;
3828 # Check whether --with-float-abi was given.
3829 if test "${with_float_abi+set}" = set; then :
3830 withval=$with_float_abi;
3834 # Check whether --with-fontconfig was given.
3835 if test "${with_fontconfig+set}" = set; then :
3836 withval=$with_fontconfig;
3840 # Check whether --with-freetype was given.
3841 if test "${with_freetype+set}" = set; then :
3842 withval=$with_freetype;
3846 # Check whether --with-gettext was given.
3847 if test "${with_gettext+set}" = set; then :
3848 withval=$with_gettext;
3852 # Check whether --with-gettextpo was given.
3853 if test "${with_gettextpo+set}" = set; then :
3854 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3858 # Check whether --with-gphoto was given.
3859 if test "${with_gphoto+set}" = set; then :
3860 withval=$with_gphoto;
3864 # Check whether --with-glu was given.
3865 if test "${with_glu+set}" = set; then :
3866 withval=$with_glu;
3870 # Check whether --with-gnutls was given.
3871 if test "${with_gnutls+set}" = set; then :
3872 withval=$with_gnutls;
3876 # Check whether --with-gsm was given.
3877 if test "${with_gsm+set}" = set; then :
3878 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3882 # Check whether --with-gssapi was given.
3883 if test "${with_gssapi+set}" = set; then :
3884 withval=$with_gssapi;
3888 # Check whether --with-gstreamer was given.
3889 if test "${with_gstreamer+set}" = set; then :
3890 withval=$with_gstreamer;
3894 # Check whether --with-hal was given.
3895 if test "${with_hal+set}" = set; then :
3896 withval=$with_hal;
3900 # Check whether --with-jpeg was given.
3901 if test "${with_jpeg+set}" = set; then :
3902 withval=$with_jpeg;
3906 # Check whether --with-krb5 was given.
3907 if test "${with_krb5+set}" = set; then :
3908 withval=$with_krb5;
3912 # Check whether --with-ldap was given.
3913 if test "${with_ldap+set}" = set; then :
3914 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3918 # Check whether --with-mpg123 was given.
3919 if test "${with_mpg123+set}" = set; then :
3920 withval=$with_mpg123;
3924 # Check whether --with-netapi was given.
3925 if test "${with_netapi+set}" = set; then :
3926 withval=$with_netapi;
3930 # Check whether --with-openal was given.
3931 if test "${with_openal+set}" = set; then :
3932 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3936 # Check whether --with-opencl was given.
3937 if test "${with_opencl+set}" = set; then :
3938 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3942 # Check whether --with-opengl was given.
3943 if test "${with_opengl+set}" = set; then :
3944 withval=$with_opengl;
3948 # Check whether --with-osmesa was given.
3949 if test "${with_osmesa+set}" = set; then :
3950 withval=$with_osmesa;
3954 # Check whether --with-oss was given.
3955 if test "${with_oss+set}" = set; then :
3956 withval=$with_oss;
3960 # Check whether --with-pcap was given.
3961 if test "${with_pcap+set}" = set; then :
3962 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3966 # Check whether --with-png was given.
3967 if test "${with_png+set}" = set; then :
3968 withval=$with_png;
3972 # Check whether --with-pthread was given.
3973 if test "${with_pthread+set}" = set; then :
3974 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3978 # Check whether --with-pulse was given.
3979 if test "${with_pulse+set}" = set; then :
3980 withval=$with_pulse;
3984 # Check whether --with-sane was given.
3985 if test "${with_sane+set}" = set; then :
3986 withval=$with_sane;
3990 # Check whether --with-sdl was given.
3991 if test "${with_sdl+set}" = set; then :
3992 withval=$with_sdl;
3996 # Check whether --with-tiff was given.
3997 if test "${with_tiff+set}" = set; then :
3998 withval=$with_tiff;
4002 # Check whether --with-udev was given.
4003 if test "${with_udev+set}" = set; then :
4004 withval=$with_udev;
4008 # Check whether --with-v4l was given.
4009 if test "${with_v4l+set}" = set; then :
4010 withval=$with_v4l;
4014 # Check whether --with-vkd3d was given.
4015 if test "${with_vkd3d+set}" = set; then :
4016 withval=$with_vkd3d;
4020 # Check whether --with-vulkan was given.
4021 if test "${with_vulkan+set}" = set; then :
4022 withval=$with_vulkan;
4026 # Check whether --with-xcomposite was given.
4027 if test "${with_xcomposite+set}" = set; then :
4028 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4032 # Check whether --with-xcursor was given.
4033 if test "${with_xcursor+set}" = set; then :
4034 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4038 # Check whether --with-xfixes was given.
4039 if test "${with_xfixes+set}" = set; then :
4040 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4044 # Check whether --with-xinerama was given.
4045 if test "${with_xinerama+set}" = set; then :
4046 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4050 # Check whether --with-xinput was given.
4051 if test "${with_xinput+set}" = set; then :
4052 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4056 # Check whether --with-xinput2 was given.
4057 if test "${with_xinput2+set}" = set; then :
4058 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4062 # Check whether --with-xml was given.
4063 if test "${with_xml+set}" = set; then :
4064 withval=$with_xml;
4068 # Check whether --with-xrandr was given.
4069 if test "${with_xrandr+set}" = set; then :
4070 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4074 # Check whether --with-xrender was given.
4075 if test "${with_xrender+set}" = set; then :
4076 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4080 # Check whether --with-xshape was given.
4081 if test "${with_xshape+set}" = set; then :
4082 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4086 # Check whether --with-xshm was given.
4087 if test "${with_xshm+set}" = set; then :
4088 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4092 # Check whether --with-xslt was given.
4093 if test "${with_xslt+set}" = set; then :
4094 withval=$with_xslt;
4098 # Check whether --with-xxf86vm was given.
4099 if test "${with_xxf86vm+set}" = set; then :
4100 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
4104 # Check whether --with-zlib was given.
4105 if test "${with_zlib+set}" = set; then :
4106 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4111 # Check whether --with-wine-tools was given.
4112 if test "${with_wine_tools+set}" = set; then :
4113 withval=$with_wine_tools;
4117 # Check whether --with-wine64 was given.
4118 if test "${with_wine64+set}" = set; then :
4119 withval=$with_wine64;
4123 # Make sure we can run config.sub.
4124 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4125 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4128 $as_echo_n "checking build system type... " >&6; }
4129 if ${ac_cv_build+:} false; then :
4130 $as_echo_n "(cached) " >&6
4131 else
4132 ac_build_alias=$build_alias
4133 test "x$ac_build_alias" = x &&
4134 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4135 test "x$ac_build_alias" = x &&
4136 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4137 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4138 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4142 $as_echo "$ac_cv_build" >&6; }
4143 case $ac_cv_build in
4144 *-*-*) ;;
4145 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4146 esac
4147 build=$ac_cv_build
4148 ac_save_IFS=$IFS; IFS='-'
4149 set x $ac_cv_build
4150 shift
4151 build_cpu=$1
4152 build_vendor=$2
4153 shift; shift
4154 # Remember, the first character of IFS is used to create $*,
4155 # except with old shells:
4156 build_os=$*
4157 IFS=$ac_save_IFS
4158 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4162 $as_echo_n "checking host system type... " >&6; }
4163 if ${ac_cv_host+:} false; then :
4164 $as_echo_n "(cached) " >&6
4165 else
4166 if test "x$host_alias" = x; then
4167 ac_cv_host=$ac_cv_build
4168 else
4169 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4170 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4175 $as_echo "$ac_cv_host" >&6; }
4176 case $ac_cv_host in
4177 *-*-*) ;;
4178 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4179 esac
4180 host=$ac_cv_host
4181 ac_save_IFS=$IFS; IFS='-'
4182 set x $ac_cv_host
4183 shift
4184 host_cpu=$1
4185 host_vendor=$2
4186 shift; shift
4187 # Remember, the first character of IFS is used to create $*,
4188 # except with old shells:
4189 host_os=$*
4190 IFS=$ac_save_IFS
4191 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4195 case "$srcdir" in
4196 .) ;;
4197 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4198 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4199 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4200 fi ;;
4201 esac
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4205 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4206 set x ${MAKE-make}
4207 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4208 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4209 $as_echo_n "(cached) " >&6
4210 else
4211 cat >conftest.make <<\_ACEOF
4212 SHELL = /bin/sh
4213 all:
4214 @echo '@@@%%%=$(MAKE)=@@@%%%'
4215 _ACEOF
4216 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4217 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4218 *@@@%%%=?*=@@@%%%*)
4219 eval ac_cv_prog_make_${ac_make}_set=yes;;
4221 eval ac_cv_prog_make_${ac_make}_set=no;;
4222 esac
4223 rm -f conftest.make
4225 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4227 $as_echo "yes" >&6; }
4228 SET_MAKE=
4229 else
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4232 SET_MAKE="MAKE=${MAKE-make}"
4235 ac_ext=c
4236 ac_cpp='$CPP $CPPFLAGS'
4237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4240 if test -n "$ac_tool_prefix"; then
4241 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4242 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4244 $as_echo_n "checking for $ac_word... " >&6; }
4245 if ${ac_cv_prog_CC+:} false; then :
4246 $as_echo_n "(cached) " >&6
4247 else
4248 if test -n "$CC"; then
4249 ac_cv_prog_CC="$CC" # Let the user override the test.
4250 else
4251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4252 for as_dir in $PATH
4254 IFS=$as_save_IFS
4255 test -z "$as_dir" && as_dir=.
4256 for ac_exec_ext in '' $ac_executable_extensions; do
4257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4258 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4260 break 2
4262 done
4263 done
4264 IFS=$as_save_IFS
4268 CC=$ac_cv_prog_CC
4269 if test -n "$CC"; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4271 $as_echo "$CC" >&6; }
4272 else
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4274 $as_echo "no" >&6; }
4279 if test -z "$ac_cv_prog_CC"; then
4280 ac_ct_CC=$CC
4281 # Extract the first word of "gcc", so it can be a program name with args.
4282 set dummy gcc; ac_word=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4286 $as_echo_n "(cached) " >&6
4287 else
4288 if test -n "$ac_ct_CC"; then
4289 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4290 else
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 for as_dir in $PATH
4294 IFS=$as_save_IFS
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_ac_ct_CC="gcc"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 break 2
4302 done
4303 done
4304 IFS=$as_save_IFS
4308 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4309 if test -n "$ac_ct_CC"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4311 $as_echo "$ac_ct_CC" >&6; }
4312 else
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4317 if test "x$ac_ct_CC" = x; then
4318 CC=""
4319 else
4320 case $cross_compiling:$ac_tool_warned in
4321 yes:)
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4324 ac_tool_warned=yes ;;
4325 esac
4326 CC=$ac_ct_CC
4328 else
4329 CC="$ac_cv_prog_CC"
4332 if test -z "$CC"; then
4333 if test -n "$ac_tool_prefix"; then
4334 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4335 set dummy ${ac_tool_prefix}cc; ac_word=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_CC+:} false; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 if test -n "$CC"; then
4342 ac_cv_prog_CC="$CC" # Let the user override the test.
4343 else
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH
4347 IFS=$as_save_IFS
4348 test -z "$as_dir" && as_dir=.
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4351 ac_cv_prog_CC="${ac_tool_prefix}cc"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4353 break 2
4355 done
4356 done
4357 IFS=$as_save_IFS
4361 CC=$ac_cv_prog_CC
4362 if test -n "$CC"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4364 $as_echo "$CC" >&6; }
4365 else
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4373 if test -z "$CC"; then
4374 # Extract the first word of "cc", so it can be a program name with args.
4375 set dummy cc; ac_word=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_CC+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 if test -n "$CC"; then
4382 ac_cv_prog_CC="$CC" # Let the user override the test.
4383 else
4384 ac_prog_rejected=no
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 for as_dir in $PATH
4388 IFS=$as_save_IFS
4389 test -z "$as_dir" && as_dir=.
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4392 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4393 ac_prog_rejected=yes
4394 continue
4396 ac_cv_prog_CC="cc"
4397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 break 2
4400 done
4401 done
4402 IFS=$as_save_IFS
4404 if test $ac_prog_rejected = yes; then
4405 # We found a bogon in the path, so make sure we never use it.
4406 set dummy $ac_cv_prog_CC
4407 shift
4408 if test $# != 0; then
4409 # We chose a different compiler from the bogus one.
4410 # However, it has the same basename, so the bogon will be chosen
4411 # first if we set CC to just the basename; use the full file name.
4412 shift
4413 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4418 CC=$ac_cv_prog_CC
4419 if test -n "$CC"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4421 $as_echo "$CC" >&6; }
4422 else
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4429 if test -z "$CC"; then
4430 if test -n "$ac_tool_prefix"; then
4431 for ac_prog in cl.exe
4433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_CC+:} false; then :
4438 $as_echo_n "(cached) " >&6
4439 else
4440 if test -n "$CC"; then
4441 ac_cv_prog_CC="$CC" # Let the user override the test.
4442 else
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH
4446 IFS=$as_save_IFS
4447 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4450 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 break 2
4454 done
4455 done
4456 IFS=$as_save_IFS
4460 CC=$ac_cv_prog_CC
4461 if test -n "$CC"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4463 $as_echo "$CC" >&6; }
4464 else
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4470 test -n "$CC" && break
4471 done
4473 if test -z "$CC"; then
4474 ac_ct_CC=$CC
4475 for ac_prog in cl.exe
4477 # Extract the first word of "$ac_prog", so it can be a program name with args.
4478 set dummy $ac_prog; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4484 if test -n "$ac_ct_CC"; then
4485 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4486 else
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 for as_dir in $PATH
4490 IFS=$as_save_IFS
4491 test -z "$as_dir" && as_dir=.
4492 for ac_exec_ext in '' $ac_executable_extensions; do
4493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4494 ac_cv_prog_ac_ct_CC="$ac_prog"
4495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 break 2
4498 done
4499 done
4500 IFS=$as_save_IFS
4504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4505 if test -n "$ac_ct_CC"; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4507 $as_echo "$ac_ct_CC" >&6; }
4508 else
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4514 test -n "$ac_ct_CC" && break
4515 done
4517 if test "x$ac_ct_CC" = x; then
4518 CC=""
4519 else
4520 case $cross_compiling:$ac_tool_warned in
4521 yes:)
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4524 ac_tool_warned=yes ;;
4525 esac
4526 CC=$ac_ct_CC
4533 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4535 as_fn_error $? "no acceptable C compiler found in \$PATH
4536 See \`config.log' for more details" "$LINENO" 5; }
4538 # Provide some information about the compiler.
4539 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4540 set X $ac_compile
4541 ac_compiler=$2
4542 for ac_option in --version -v -V -qversion; do
4543 { { ac_try="$ac_compiler $ac_option >&5"
4544 case "(($ac_try" in
4545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546 *) ac_try_echo=$ac_try;;
4547 esac
4548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4549 $as_echo "$ac_try_echo"; } >&5
4550 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4551 ac_status=$?
4552 if test -s conftest.err; then
4553 sed '10a\
4554 ... rest of stderr output deleted ...
4555 10q' conftest.err >conftest.er1
4556 cat conftest.er1 >&5
4558 rm -f conftest.er1 conftest.err
4559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4560 test $ac_status = 0; }
4561 done
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4571 return 0;
4573 _ACEOF
4574 ac_clean_files_save=$ac_clean_files
4575 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4576 # Try to create an executable without -o first, disregard a.out.
4577 # It will help us diagnose broken compilers, and finding out an intuition
4578 # of exeext.
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4580 $as_echo_n "checking whether the C compiler works... " >&6; }
4581 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4583 # The possible output files:
4584 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4586 ac_rmfiles=
4587 for ac_file in $ac_files
4589 case $ac_file in
4590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4591 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4592 esac
4593 done
4594 rm -f $ac_rmfiles
4596 if { { ac_try="$ac_link_default"
4597 case "(($ac_try" in
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4600 esac
4601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4602 $as_echo "$ac_try_echo"; } >&5
4603 (eval "$ac_link_default") 2>&5
4604 ac_status=$?
4605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4606 test $ac_status = 0; }; then :
4607 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4608 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4609 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4610 # so that the user can short-circuit this test for compilers unknown to
4611 # Autoconf.
4612 for ac_file in $ac_files ''
4614 test -f "$ac_file" || continue
4615 case $ac_file in
4616 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4618 [ab].out )
4619 # We found the default executable, but exeext='' is most
4620 # certainly right.
4621 break;;
4622 *.* )
4623 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4624 then :; else
4625 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4627 # We set ac_cv_exeext here because the later test for it is not
4628 # safe: cross compilers may not add the suffix if given an `-o'
4629 # argument, so we may need to know it at that point already.
4630 # Even if this section looks crufty: it has the advantage of
4631 # actually working.
4632 break;;
4634 break;;
4635 esac
4636 done
4637 test "$ac_cv_exeext" = no && ac_cv_exeext=
4639 else
4640 ac_file=''
4642 if test -z "$ac_file"; then :
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 $as_echo "no" >&6; }
4645 $as_echo "$as_me: failed program was:" >&5
4646 sed 's/^/| /' conftest.$ac_ext >&5
4648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4650 as_fn_error 77 "C compiler cannot create executables
4651 See \`config.log' for more details" "$LINENO" 5; }
4652 else
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4654 $as_echo "yes" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4657 $as_echo_n "checking for C compiler default output file name... " >&6; }
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4659 $as_echo "$ac_file" >&6; }
4660 ac_exeext=$ac_cv_exeext
4662 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4663 ac_clean_files=$ac_clean_files_save
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4665 $as_echo_n "checking for suffix of executables... " >&6; }
4666 if { { ac_try="$ac_link"
4667 case "(($ac_try" in
4668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4669 *) ac_try_echo=$ac_try;;
4670 esac
4671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4672 $as_echo "$ac_try_echo"; } >&5
4673 (eval "$ac_link") 2>&5
4674 ac_status=$?
4675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4676 test $ac_status = 0; }; then :
4677 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4678 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4679 # work properly (i.e., refer to `conftest.exe'), while it won't with
4680 # `rm'.
4681 for ac_file in conftest.exe conftest conftest.*; do
4682 test -f "$ac_file" || continue
4683 case $ac_file in
4684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4685 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4686 break;;
4687 * ) break;;
4688 esac
4689 done
4690 else
4691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4693 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4694 See \`config.log' for more details" "$LINENO" 5; }
4696 rm -f conftest conftest$ac_cv_exeext
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4698 $as_echo "$ac_cv_exeext" >&6; }
4700 rm -f conftest.$ac_ext
4701 EXEEXT=$ac_cv_exeext
4702 ac_exeext=$EXEEXT
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4705 #include <stdio.h>
4707 main ()
4709 FILE *f = fopen ("conftest.out", "w");
4710 return ferror (f) || fclose (f) != 0;
4713 return 0;
4715 _ACEOF
4716 ac_clean_files="$ac_clean_files conftest.out"
4717 # Check that the compiler produces executables we can run. If not, either
4718 # the compiler is broken, or we cross compile.
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4720 $as_echo_n "checking whether we are cross compiling... " >&6; }
4721 if test "$cross_compiling" != yes; then
4722 { { ac_try="$ac_link"
4723 case "(($ac_try" in
4724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4725 *) ac_try_echo=$ac_try;;
4726 esac
4727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4728 $as_echo "$ac_try_echo"; } >&5
4729 (eval "$ac_link") 2>&5
4730 ac_status=$?
4731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4732 test $ac_status = 0; }
4733 if { ac_try='./conftest$ac_cv_exeext'
4734 { { case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_try") 2>&5
4741 ac_status=$?
4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4743 test $ac_status = 0; }; }; then
4744 cross_compiling=no
4745 else
4746 if test "$cross_compiling" = maybe; then
4747 cross_compiling=yes
4748 else
4749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4751 as_fn_error $? "cannot run C compiled programs.
4752 If you meant to cross compile, use \`--host'.
4753 See \`config.log' for more details" "$LINENO" 5; }
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4758 $as_echo "$cross_compiling" >&6; }
4760 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4761 ac_clean_files=$ac_clean_files_save
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4763 $as_echo_n "checking for suffix of object files... " >&6; }
4764 if ${ac_cv_objext+:} false; then :
4765 $as_echo_n "(cached) " >&6
4766 else
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4771 main ()
4775 return 0;
4777 _ACEOF
4778 rm -f conftest.o conftest.obj
4779 if { { ac_try="$ac_compile"
4780 case "(($ac_try" in
4781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4782 *) ac_try_echo=$ac_try;;
4783 esac
4784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4785 $as_echo "$ac_try_echo"; } >&5
4786 (eval "$ac_compile") 2>&5
4787 ac_status=$?
4788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4789 test $ac_status = 0; }; then :
4790 for ac_file in conftest.o conftest.obj conftest.*; do
4791 test -f "$ac_file" || continue;
4792 case $ac_file in
4793 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4794 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4795 break;;
4796 esac
4797 done
4798 else
4799 $as_echo "$as_me: failed program was:" >&5
4800 sed 's/^/| /' conftest.$ac_ext >&5
4802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4804 as_fn_error $? "cannot compute suffix of object files: cannot compile
4805 See \`config.log' for more details" "$LINENO" 5; }
4807 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4810 $as_echo "$ac_cv_objext" >&6; }
4811 OBJEXT=$ac_cv_objext
4812 ac_objext=$OBJEXT
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4814 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4815 if ${ac_cv_c_compiler_gnu+:} false; then :
4816 $as_echo_n "(cached) " >&6
4817 else
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4819 /* end confdefs.h. */
4822 main ()
4824 #ifndef __GNUC__
4825 choke me
4826 #endif
4829 return 0;
4831 _ACEOF
4832 if ac_fn_c_try_compile "$LINENO"; then :
4833 ac_compiler_gnu=yes
4834 else
4835 ac_compiler_gnu=no
4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4838 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4842 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4843 if test $ac_compiler_gnu = yes; then
4844 GCC=yes
4845 else
4846 GCC=
4848 ac_test_CFLAGS=${CFLAGS+set}
4849 ac_save_CFLAGS=$CFLAGS
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4851 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4852 if ${ac_cv_prog_cc_g+:} false; then :
4853 $as_echo_n "(cached) " >&6
4854 else
4855 ac_save_c_werror_flag=$ac_c_werror_flag
4856 ac_c_werror_flag=yes
4857 ac_cv_prog_cc_g=no
4858 CFLAGS="-g"
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4863 main ()
4867 return 0;
4869 _ACEOF
4870 if ac_fn_c_try_compile "$LINENO"; then :
4871 ac_cv_prog_cc_g=yes
4872 else
4873 CFLAGS=""
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4878 main ()
4882 return 0;
4884 _ACEOF
4885 if ac_fn_c_try_compile "$LINENO"; then :
4887 else
4888 ac_c_werror_flag=$ac_save_c_werror_flag
4889 CFLAGS="-g"
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4894 main ()
4898 return 0;
4900 _ACEOF
4901 if ac_fn_c_try_compile "$LINENO"; then :
4902 ac_cv_prog_cc_g=yes
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4909 ac_c_werror_flag=$ac_save_c_werror_flag
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4912 $as_echo "$ac_cv_prog_cc_g" >&6; }
4913 if test "$ac_test_CFLAGS" = set; then
4914 CFLAGS=$ac_save_CFLAGS
4915 elif test $ac_cv_prog_cc_g = yes; then
4916 if test "$GCC" = yes; then
4917 CFLAGS="-g -O2"
4918 else
4919 CFLAGS="-g"
4921 else
4922 if test "$GCC" = yes; then
4923 CFLAGS="-O2"
4924 else
4925 CFLAGS=
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4929 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4930 if ${ac_cv_prog_cc_c89+:} false; then :
4931 $as_echo_n "(cached) " >&6
4932 else
4933 ac_cv_prog_cc_c89=no
4934 ac_save_CC=$CC
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4937 #include <stdarg.h>
4938 #include <stdio.h>
4939 struct stat;
4940 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4941 struct buf { int x; };
4942 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4943 static char *e (p, i)
4944 char **p;
4945 int i;
4947 return p[i];
4949 static char *f (char * (*g) (char **, int), char **p, ...)
4951 char *s;
4952 va_list v;
4953 va_start (v,p);
4954 s = g (p, va_arg (v,int));
4955 va_end (v);
4956 return s;
4959 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4960 function prototypes and stuff, but not '\xHH' hex character constants.
4961 These don't provoke an error unfortunately, instead are silently treated
4962 as 'x'. The following induces an error, until -std is added to get
4963 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4964 array size at least. It's necessary to write '\x00'==0 to get something
4965 that's true only with -std. */
4966 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4968 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4969 inside strings and character constants. */
4970 #define FOO(x) 'x'
4971 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4973 int test (int i, double x);
4974 struct s1 {int (*f) (int a);};
4975 struct s2 {int (*f) (double a);};
4976 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4977 int argc;
4978 char **argv;
4980 main ()
4982 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4984 return 0;
4986 _ACEOF
4987 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4988 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4990 CC="$ac_save_CC $ac_arg"
4991 if ac_fn_c_try_compile "$LINENO"; then :
4992 ac_cv_prog_cc_c89=$ac_arg
4994 rm -f core conftest.err conftest.$ac_objext
4995 test "x$ac_cv_prog_cc_c89" != "xno" && break
4996 done
4997 rm -f conftest.$ac_ext
4998 CC=$ac_save_CC
5001 # AC_CACHE_VAL
5002 case "x$ac_cv_prog_cc_c89" in
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5005 $as_echo "none needed" >&6; } ;;
5006 xno)
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5008 $as_echo "unsupported" >&6; } ;;
5010 CC="$CC $ac_cv_prog_cc_c89"
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5012 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5013 esac
5014 if test "x$ac_cv_prog_cc_c89" != xno; then :
5018 ac_ext=c
5019 ac_cpp='$CPP $CPPFLAGS'
5020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5024 ac_ext=cpp
5025 ac_cpp='$CXXCPP $CPPFLAGS'
5026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5029 if test -z "$CXX"; then
5030 if test -n "$CCC"; then
5031 CXX=$CCC
5032 else
5033 if test -n "$ac_tool_prefix"; then
5034 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5037 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if ${ac_cv_prog_CXX+:} false; then :
5041 $as_echo_n "(cached) " >&6
5042 else
5043 if test -n "$CXX"; then
5044 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5045 else
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 for as_dir in $PATH
5049 IFS=$as_save_IFS
5050 test -z "$as_dir" && as_dir=.
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 break 2
5057 done
5058 done
5059 IFS=$as_save_IFS
5063 CXX=$ac_cv_prog_CXX
5064 if test -n "$CXX"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5066 $as_echo "$CXX" >&6; }
5067 else
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5073 test -n "$CXX" && break
5074 done
5076 if test -z "$CXX"; then
5077 ac_ct_CXX=$CXX
5078 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5080 # Extract the first word of "$ac_prog", so it can be a program name with args.
5081 set dummy $ac_prog; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$ac_ct_CXX"; then
5088 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_ac_ct_CXX="$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5101 done
5102 done
5103 IFS=$as_save_IFS
5107 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5108 if test -n "$ac_ct_CXX"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5110 $as_echo "$ac_ct_CXX" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$ac_ct_CXX" && break
5118 done
5120 if test "x$ac_ct_CXX" = x; then
5121 CXX="g++"
5122 else
5123 case $cross_compiling:$ac_tool_warned in
5124 yes:)
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5127 ac_tool_warned=yes ;;
5128 esac
5129 CXX=$ac_ct_CXX
5135 # Provide some information about the compiler.
5136 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5137 set X $ac_compile
5138 ac_compiler=$2
5139 for ac_option in --version -v -V -qversion; do
5140 { { ac_try="$ac_compiler $ac_option >&5"
5141 case "(($ac_try" in
5142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5143 *) ac_try_echo=$ac_try;;
5144 esac
5145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5146 $as_echo "$ac_try_echo"; } >&5
5147 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5148 ac_status=$?
5149 if test -s conftest.err; then
5150 sed '10a\
5151 ... rest of stderr output deleted ...
5152 10q' conftest.err >conftest.er1
5153 cat conftest.er1 >&5
5155 rm -f conftest.er1 conftest.err
5156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5157 test $ac_status = 0; }
5158 done
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5161 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5162 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5163 $as_echo_n "(cached) " >&6
5164 else
5165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5169 main ()
5171 #ifndef __GNUC__
5172 choke me
5173 #endif
5176 return 0;
5178 _ACEOF
5179 if ac_fn_cxx_try_compile "$LINENO"; then :
5180 ac_compiler_gnu=yes
5181 else
5182 ac_compiler_gnu=no
5184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5185 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5189 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5190 if test $ac_compiler_gnu = yes; then
5191 GXX=yes
5192 else
5193 GXX=
5195 ac_test_CXXFLAGS=${CXXFLAGS+set}
5196 ac_save_CXXFLAGS=$CXXFLAGS
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5198 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5199 if ${ac_cv_prog_cxx_g+:} false; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5203 ac_cxx_werror_flag=yes
5204 ac_cv_prog_cxx_g=no
5205 CXXFLAGS="-g"
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5210 main ()
5214 return 0;
5216 _ACEOF
5217 if ac_fn_cxx_try_compile "$LINENO"; then :
5218 ac_cv_prog_cxx_g=yes
5219 else
5220 CXXFLAGS=""
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5225 main ()
5229 return 0;
5231 _ACEOF
5232 if ac_fn_cxx_try_compile "$LINENO"; then :
5234 else
5235 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5236 CXXFLAGS="-g"
5237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5238 /* end confdefs.h. */
5241 main ()
5245 return 0;
5247 _ACEOF
5248 if ac_fn_cxx_try_compile "$LINENO"; then :
5249 ac_cv_prog_cxx_g=yes
5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5256 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5259 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5260 if test "$ac_test_CXXFLAGS" = set; then
5261 CXXFLAGS=$ac_save_CXXFLAGS
5262 elif test $ac_cv_prog_cxx_g = yes; then
5263 if test "$GXX" = yes; then
5264 CXXFLAGS="-g -O2"
5265 else
5266 CXXFLAGS="-g"
5268 else
5269 if test "$GXX" = yes; then
5270 CXXFLAGS="-O2"
5271 else
5272 CXXFLAGS=
5275 ac_ext=c
5276 ac_cpp='$CPP $CPPFLAGS'
5277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5281 if test -n "$ac_tool_prefix"; then
5282 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5283 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 $as_echo_n "checking for $ac_word... " >&6; }
5286 if ${ac_cv_prog_CPPBIN+:} false; then :
5287 $as_echo_n "(cached) " >&6
5288 else
5289 if test -n "$CPPBIN"; then
5290 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5291 else
5292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 for as_dir in $PATH
5295 IFS=$as_save_IFS
5296 test -z "$as_dir" && as_dir=.
5297 for ac_exec_ext in '' $ac_executable_extensions; do
5298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 break 2
5303 done
5304 done
5305 IFS=$as_save_IFS
5309 CPPBIN=$ac_cv_prog_CPPBIN
5310 if test -n "$CPPBIN"; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5312 $as_echo "$CPPBIN" >&6; }
5313 else
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }
5320 if test -z "$ac_cv_prog_CPPBIN"; then
5321 ac_ct_CPPBIN=$CPPBIN
5322 # Extract the first word of "cpp", so it can be a program name with args.
5323 set dummy cpp; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$ac_ct_CPPBIN"; then
5330 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_ac_ct_CPPBIN="cpp"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5350 if test -n "$ac_ct_CPPBIN"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5352 $as_echo "$ac_ct_CPPBIN" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5358 if test "x$ac_ct_CPPBIN" = x; then
5359 CPPBIN="cpp"
5360 else
5361 case $cross_compiling:$ac_tool_warned in
5362 yes:)
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5365 ac_tool_warned=yes ;;
5366 esac
5367 CPPBIN=$ac_ct_CPPBIN
5369 else
5370 CPPBIN="$ac_cv_prog_CPPBIN"
5374 cat >>confdefs.h <<_ACEOF
5375 #define EXEEXT "$ac_exeext"
5376 _ACEOF
5378 if test -n "$ac_tool_prefix"; then
5379 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5380 set dummy ${ac_tool_prefix}ld; ac_word=$2
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382 $as_echo_n "checking for $ac_word... " >&6; }
5383 if ${ac_cv_prog_LD+:} false; then :
5384 $as_echo_n "(cached) " >&6
5385 else
5386 if test -n "$LD"; then
5387 ac_cv_prog_LD="$LD" # Let the user override the test.
5388 else
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 for as_dir in $PATH
5392 IFS=$as_save_IFS
5393 test -z "$as_dir" && as_dir=.
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5396 ac_cv_prog_LD="${ac_tool_prefix}ld"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5398 break 2
5400 done
5401 done
5402 IFS=$as_save_IFS
5406 LD=$ac_cv_prog_LD
5407 if test -n "$LD"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5409 $as_echo "$LD" >&6; }
5410 else
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5417 if test -z "$ac_cv_prog_LD"; then
5418 ac_ct_LD=$LD
5419 # Extract the first word of "ld", so it can be a program name with args.
5420 set dummy ld; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5424 $as_echo_n "(cached) " >&6
5425 else
5426 if test -n "$ac_ct_LD"; then
5427 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5428 else
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5430 for as_dir in $PATH
5432 IFS=$as_save_IFS
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_ac_ct_LD="ld"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 break 2
5440 done
5441 done
5442 IFS=$as_save_IFS
5446 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5447 if test -n "$ac_ct_LD"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5449 $as_echo "$ac_ct_LD" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5455 if test "x$ac_ct_LD" = x; then
5456 LD=""
5457 else
5458 case $cross_compiling:$ac_tool_warned in
5459 yes:)
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5462 ac_tool_warned=yes ;;
5463 esac
5464 LD=$ac_ct_LD
5466 else
5467 LD="$ac_cv_prog_LD"
5471 case $host in
5472 *-darwin*)
5473 with_fontconfig=${with_fontconfig:-no}
5475 *-mingw32*|*-cygwin*)
5476 enable_win16=${enable_win16:-no}
5477 CFLAGS="$CFLAGS -D_WIN32"
5479 esac
5481 case $host in
5482 x86_64*|amd64*)
5483 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5484 then
5485 CC="$CC -m32"
5486 CXX="$CXX -m32"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5488 $as_echo_n "checking whether $CC works... " >&6; }
5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5494 main ()
5498 return 0;
5500 _ACEOF
5501 if ac_fn_c_try_link "$LINENO"; then :
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5503 $as_echo "yes" >&6; }
5504 else
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5507 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5509 rm -f core conftest.err conftest.$ac_objext \
5510 conftest$ac_exeext conftest.$ac_ext
5511 host_cpu="i386"
5512 notice_platform="32-bit "
5513 TARGETFLAGS="-m32"
5515 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5516 export PKG_CONFIG_PATH
5517 enable_win16=${enable_win16:-yes}
5518 else
5519 if test "x${GCC}" = "xyes"
5520 then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5522 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5525 #include <stdarg.h>
5527 main ()
5529 void func(__builtin_ms_va_list *args);
5531 return 0;
5533 _ACEOF
5534 if ac_fn_c_try_compile "$LINENO"; then :
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5536 $as_echo "yes" >&6; }
5537 else
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5540 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5544 CC="$CC -m64"
5545 CXX="$CXX -m64"
5546 host_cpu="x86_64"
5547 notice_platform="64-bit "
5548 TARGETFLAGS="-m64"
5552 arm*)
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5554 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5557 int ac_test(int i) { return i; }
5559 main ()
5561 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5563 return 0;
5565 _ACEOF
5566 if ac_fn_c_try_link "$LINENO"; then :
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5568 $as_echo "yes" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5572 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5574 rm -f core conftest.err conftest.$ac_objext \
5575 conftest$ac_exeext conftest.$ac_ext
5576 case $with_float_abi in
5577 soft|softfp|hard)
5578 float_abi=$with_float_abi ;;
5580 case $host_os in
5581 *eabihf)
5582 float_abi=hard ;;
5584 float_abi=softfp
5585 saved_CFLAGS=$CFLAGS
5586 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5588 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590 /* end confdefs.h. */
5593 main ()
5595 asm("vmrs r2,fpscr");
5597 return 0;
5599 _ACEOF
5600 if ac_fn_c_try_link "$LINENO"; then :
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5602 $as_echo "yes" >&6; }
5603 else
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5605 $as_echo "no" >&6; }
5606 float_abi=soft
5607 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5609 rm -f core conftest.err conftest.$ac_objext \
5610 conftest$ac_exeext conftest.$ac_ext
5611 CFLAGS=$saved_CFLAGS
5612 esac
5614 esac
5615 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5616 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5619 aarch64*)
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5621 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5624 #include <stdarg.h>
5626 main ()
5628 void func(__builtin_ms_va_list *args);
5630 return 0;
5632 _ACEOF
5633 if ac_fn_c_try_compile "$LINENO"; then :
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5635 $as_echo "yes" >&6; }
5636 else
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5639 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5643 i[3456789]86*)
5644 enable_win16=${enable_win16:-yes}
5646 esac
5648 enable_win16=${enable_win16:-no}
5649 enable_win64=${enable_win64:-no}
5651 enable_winetest=${enable_winetest:-$enable_tests}
5653 if test -n "$with_wine64"
5654 then
5655 if test "x$enable_win64" = "xyes"
5656 then
5657 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5658 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5660 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5661 You should create a separate build directory and run configure from there." "$LINENO" 5
5662 enable_fonts=${enable_fonts:-no}
5663 enable_server=${enable_server:-no}
5664 wine64_disable=\#
5666 elif test "x$enable_win64" = "xyes"
5667 then
5668 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5672 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5673 if ${wine_cv_toolsdir+:} false; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 wine_cv_toolsdir="$with_wine_tools"
5677 if test -z "$with_wine_tools"; then
5678 if test "$cross_compiling" = "yes"; then
5679 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5680 elif test -n "$with_wine64"; then
5681 wine_cv_toolsdir="$with_wine64"
5684 if test -z "$wine_cv_toolsdir"; then
5685 wine_makedep=tools/makedep
5686 wine_cv_toolsdir="\$(top_builddir)"
5687 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5688 wine_makedep=$wine_cv_toolsdir/tools/makedep
5689 case "$wine_cv_toolsdir" in
5690 /*) ;;
5691 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5692 esac
5693 enable_tools=${enable_tools:-no}
5694 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5695 else
5696 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5700 $as_echo "$wine_cv_toolsdir" >&6; }
5701 TOOLSDIR=$wine_cv_toolsdir
5703 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5704 then
5705 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5709 for ac_prog in flex
5711 # Extract the first word of "$ac_prog", so it can be a program name with args.
5712 set dummy $ac_prog; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_FLEX+:} false; then :
5716 $as_echo_n "(cached) " >&6
5717 else
5718 if test -n "$FLEX"; then
5719 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5720 else
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH
5724 IFS=$as_save_IFS
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_FLEX="$ac_prog"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 break 2
5732 done
5733 done
5734 IFS=$as_save_IFS
5738 FLEX=$ac_cv_prog_FLEX
5739 if test -n "$FLEX"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5741 $as_echo "$FLEX" >&6; }
5742 else
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5748 test -n "$FLEX" && break
5749 done
5750 test -n "$FLEX" || FLEX="none"
5752 if test "$FLEX" = "none"
5753 then
5754 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5757 $as_echo_n "checking whether flex is recent enough... " >&6; }
5758 cat >conftest.l <<EOF
5759 %top{
5760 #include "prediluvian.h"
5764 if $FLEX -t conftest.l >/dev/null 2>&5
5765 then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5767 $as_echo "yes" >&6; }
5768 else
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770 $as_echo "no" >&6; }
5771 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5774 for ac_prog in bison
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_BISON+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$BISON"; then
5784 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_BISON="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 BISON=$ac_cv_prog_BISON
5804 if test -n "$BISON"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5806 $as_echo "$BISON" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$BISON" && break
5814 done
5815 test -n "$BISON" || BISON="none"
5817 if test "$BISON" = "none"
5818 then
5819 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5822 if test -n "$ac_tool_prefix"; then
5823 for ac_prog in ar gar
5825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828 $as_echo_n "checking for $ac_word... " >&6; }
5829 if ${ac_cv_prog_AR+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 if test -n "$AR"; then
5833 ac_cv_prog_AR="$AR" # Let the user override the test.
5834 else
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 for as_dir in $PATH
5838 IFS=$as_save_IFS
5839 test -z "$as_dir" && as_dir=.
5840 for ac_exec_ext in '' $ac_executable_extensions; do
5841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5842 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5844 break 2
5846 done
5847 done
5848 IFS=$as_save_IFS
5852 AR=$ac_cv_prog_AR
5853 if test -n "$AR"; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5855 $as_echo "$AR" >&6; }
5856 else
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5862 test -n "$AR" && break
5863 done
5865 if test -z "$AR"; then
5866 ac_ct_AR=$AR
5867 for ac_prog in ar gar
5869 # Extract the first word of "$ac_prog", so it can be a program name with args.
5870 set dummy $ac_prog; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5874 $as_echo_n "(cached) " >&6
5875 else
5876 if test -n "$ac_ct_AR"; then
5877 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5878 else
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_ac_ct_AR="$ac_prog"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5896 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5897 if test -n "$ac_ct_AR"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5899 $as_echo "$ac_ct_AR" >&6; }
5900 else
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5906 test -n "$ac_ct_AR" && break
5907 done
5909 if test "x$ac_ct_AR" = x; then
5910 AR="ar"
5911 else
5912 case $cross_compiling:$ac_tool_warned in
5913 yes:)
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5916 ac_tool_warned=yes ;;
5917 esac
5918 AR=$ac_ct_AR
5922 if test -n "$ac_tool_prefix"; then
5923 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5924 set dummy ${ac_tool_prefix}strip; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if ${ac_cv_prog_STRIP+:} false; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 if test -n "$STRIP"; then
5931 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5932 else
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in $PATH
5936 IFS=$as_save_IFS
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5940 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 break 2
5944 done
5945 done
5946 IFS=$as_save_IFS
5950 STRIP=$ac_cv_prog_STRIP
5951 if test -n "$STRIP"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5953 $as_echo "$STRIP" >&6; }
5954 else
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5961 if test -z "$ac_cv_prog_STRIP"; then
5962 ac_ct_STRIP=$STRIP
5963 # Extract the first word of "strip", so it can be a program name with args.
5964 set dummy strip; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5968 $as_echo_n "(cached) " >&6
5969 else
5970 if test -n "$ac_ct_STRIP"; then
5971 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5976 IFS=$as_save_IFS
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_ac_ct_STRIP="strip"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 break 2
5984 done
5985 done
5986 IFS=$as_save_IFS
5990 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5991 if test -n "$ac_ct_STRIP"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5993 $as_echo "$ac_ct_STRIP" >&6; }
5994 else
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
5999 if test "x$ac_ct_STRIP" = x; then
6000 STRIP="strip"
6001 else
6002 case $cross_compiling:$ac_tool_warned in
6003 yes:)
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6006 ac_tool_warned=yes ;;
6007 esac
6008 STRIP=$ac_ct_STRIP
6010 else
6011 STRIP="$ac_cv_prog_STRIP"
6014 ARFLAGS=rc
6016 if test -n "$ac_tool_prefix"; then
6017 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6018 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_RANLIB+:} false; then :
6022 $as_echo_n "(cached) " >&6
6023 else
6024 if test -n "$RANLIB"; then
6025 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 RANLIB=$ac_cv_prog_RANLIB
6045 if test -n "$RANLIB"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6047 $as_echo "$RANLIB" >&6; }
6048 else
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6055 if test -z "$ac_cv_prog_RANLIB"; then
6056 ac_ct_RANLIB=$RANLIB
6057 # Extract the first word of "ranlib", so it can be a program name with args.
6058 set dummy ranlib; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6062 $as_echo_n "(cached) " >&6
6063 else
6064 if test -n "$ac_ct_RANLIB"; then
6065 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6070 IFS=$as_save_IFS
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_ac_ct_RANLIB="ranlib"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 break 2
6078 done
6079 done
6080 IFS=$as_save_IFS
6084 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6085 if test -n "$ac_ct_RANLIB"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6087 $as_echo "$ac_ct_RANLIB" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6093 if test "x$ac_ct_RANLIB" = x; then
6094 RANLIB=":"
6095 else
6096 case $cross_compiling:$ac_tool_warned in
6097 yes:)
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6100 ac_tool_warned=yes ;;
6101 esac
6102 RANLIB=$ac_ct_RANLIB
6104 else
6105 RANLIB="$ac_cv_prog_RANLIB"
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6109 $as_echo_n "checking whether ln -s works... " >&6; }
6110 LN_S=$as_ln_s
6111 if test "$LN_S" = "ln -s"; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6113 $as_echo "yes" >&6; }
6114 else
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6116 $as_echo "no, using $LN_S" >&6; }
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6120 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6121 if ${ac_cv_path_GREP+:} false; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 if test -z "$GREP"; then
6125 ac_path_GREP_found=false
6126 # Loop through the user's path and test for each of PROGNAME-LIST
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6130 IFS=$as_save_IFS
6131 test -z "$as_dir" && as_dir=.
6132 for ac_prog in grep ggrep; do
6133 for ac_exec_ext in '' $ac_executable_extensions; do
6134 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6135 as_fn_executable_p "$ac_path_GREP" || continue
6136 # Check for GNU ac_path_GREP and select it if it is found.
6137 # Check for GNU $ac_path_GREP
6138 case `"$ac_path_GREP" --version 2>&1` in
6139 *GNU*)
6140 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6142 ac_count=0
6143 $as_echo_n 0123456789 >"conftest.in"
6144 while :
6146 cat "conftest.in" "conftest.in" >"conftest.tmp"
6147 mv "conftest.tmp" "conftest.in"
6148 cp "conftest.in" "conftest.nl"
6149 $as_echo 'GREP' >> "conftest.nl"
6150 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6151 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6152 as_fn_arith $ac_count + 1 && ac_count=$as_val
6153 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6154 # Best one so far, save it but keep looking for a better one
6155 ac_cv_path_GREP="$ac_path_GREP"
6156 ac_path_GREP_max=$ac_count
6158 # 10*(2^10) chars as input seems more than enough
6159 test $ac_count -gt 10 && break
6160 done
6161 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6162 esac
6164 $ac_path_GREP_found && break 3
6165 done
6166 done
6167 done
6168 IFS=$as_save_IFS
6169 if test -z "$ac_cv_path_GREP"; then
6170 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6172 else
6173 ac_cv_path_GREP=$GREP
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6178 $as_echo "$ac_cv_path_GREP" >&6; }
6179 GREP="$ac_cv_path_GREP"
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6183 $as_echo_n "checking for egrep... " >&6; }
6184 if ${ac_cv_path_EGREP+:} false; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6188 then ac_cv_path_EGREP="$GREP -E"
6189 else
6190 if test -z "$EGREP"; then
6191 ac_path_EGREP_found=false
6192 # Loop through the user's path and test for each of PROGNAME-LIST
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6196 IFS=$as_save_IFS
6197 test -z "$as_dir" && as_dir=.
6198 for ac_prog in egrep; do
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6201 as_fn_executable_p "$ac_path_EGREP" || continue
6202 # Check for GNU ac_path_EGREP and select it if it is found.
6203 # Check for GNU $ac_path_EGREP
6204 case `"$ac_path_EGREP" --version 2>&1` in
6205 *GNU*)
6206 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6208 ac_count=0
6209 $as_echo_n 0123456789 >"conftest.in"
6210 while :
6212 cat "conftest.in" "conftest.in" >"conftest.tmp"
6213 mv "conftest.tmp" "conftest.in"
6214 cp "conftest.in" "conftest.nl"
6215 $as_echo 'EGREP' >> "conftest.nl"
6216 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6217 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6218 as_fn_arith $ac_count + 1 && ac_count=$as_val
6219 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6220 # Best one so far, save it but keep looking for a better one
6221 ac_cv_path_EGREP="$ac_path_EGREP"
6222 ac_path_EGREP_max=$ac_count
6224 # 10*(2^10) chars as input seems more than enough
6225 test $ac_count -gt 10 && break
6226 done
6227 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6228 esac
6230 $ac_path_EGREP_found && break 3
6231 done
6232 done
6233 done
6234 IFS=$as_save_IFS
6235 if test -z "$ac_cv_path_EGREP"; then
6236 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6238 else
6239 ac_cv_path_EGREP=$EGREP
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6245 $as_echo "$ac_cv_path_EGREP" >&6; }
6246 EGREP="$ac_cv_path_EGREP"
6249 # Extract the first word of "ldconfig", so it can be a program name with args.
6250 set dummy ldconfig; ac_word=$2
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6252 $as_echo_n "checking for $ac_word... " >&6; }
6253 if ${ac_cv_path_LDCONFIG+:} false; then :
6254 $as_echo_n "(cached) " >&6
6255 else
6256 case $LDCONFIG in
6257 [\\/]* | ?:[\\/]*)
6258 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 for as_dir in /sbin /usr/sbin $PATH
6264 IFS=$as_save_IFS
6265 test -z "$as_dir" && as_dir=.
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6268 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 break 2
6272 done
6273 done
6274 IFS=$as_save_IFS
6276 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6278 esac
6280 LDCONFIG=$ac_cv_path_LDCONFIG
6281 if test -n "$LDCONFIG"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6283 $as_echo "$LDCONFIG" >&6; }
6284 else
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286 $as_echo "no" >&6; }
6290 for ac_prog in msgfmt
6292 # Extract the first word of "$ac_prog", so it can be a program name with args.
6293 set dummy $ac_prog; ac_word=$2
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6295 $as_echo_n "checking for $ac_word... " >&6; }
6296 if ${ac_cv_prog_MSGFMT+:} false; then :
6297 $as_echo_n "(cached) " >&6
6298 else
6299 if test -n "$MSGFMT"; then
6300 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6301 else
6302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6303 for as_dir in $PATH
6305 IFS=$as_save_IFS
6306 test -z "$as_dir" && as_dir=.
6307 for ac_exec_ext in '' $ac_executable_extensions; do
6308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6309 ac_cv_prog_MSGFMT="$ac_prog"
6310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6311 break 2
6313 done
6314 done
6315 IFS=$as_save_IFS
6319 MSGFMT=$ac_cv_prog_MSGFMT
6320 if test -n "$MSGFMT"; then
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6322 $as_echo "$MSGFMT" >&6; }
6323 else
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6325 $as_echo "no" >&6; }
6329 test -n "$MSGFMT" && break
6330 done
6331 test -n "$MSGFMT" || MSGFMT="false"
6333 if ${ac_tool_prefix+:} false; then :
6334 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6335 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6337 $as_echo_n "checking for $ac_word... " >&6; }
6338 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6339 $as_echo_n "(cached) " >&6
6340 else
6341 if test -n "$PKG_CONFIG"; then
6342 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6343 else
6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6345 for as_dir in $PATH
6347 IFS=$as_save_IFS
6348 test -z "$as_dir" && as_dir=.
6349 for ac_exec_ext in '' $ac_executable_extensions; do
6350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6351 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6353 break 2
6355 done
6356 done
6357 IFS=$as_save_IFS
6361 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6362 if test -n "$PKG_CONFIG"; then
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6364 $as_echo "$PKG_CONFIG" >&6; }
6365 else
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6367 $as_echo "no" >&6; }
6372 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6373 if test "x$cross_compiling" = xyes; then :
6375 else
6376 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6377 # Extract the first word of "pkg-config", so it can be a program name with args.
6378 set dummy pkg-config; ac_word=$2
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6380 $as_echo_n "checking for $ac_word... " >&6; }
6381 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6382 $as_echo_n "(cached) " >&6
6383 else
6384 if test -n "$PKG_CONFIG"; then
6385 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6386 else
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 for as_dir in $PATH
6390 IFS=$as_save_IFS
6391 test -z "$as_dir" && as_dir=.
6392 for ac_exec_ext in '' $ac_executable_extensions; do
6393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6394 ac_cv_prog_PKG_CONFIG="pkg-config"
6395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6396 break 2
6398 done
6399 done
6400 IFS=$as_save_IFS
6404 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6405 if test -n "$PKG_CONFIG"; then
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6407 $as_echo "$PKG_CONFIG" >&6; }
6408 else
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6410 $as_echo "no" >&6; }
6415 else
6416 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6419 if test "x$enable_maintainer_mode" != "xyes"
6420 then
6421 FONTFORGE=""
6422 RSVG=""
6423 CONVERT=""
6424 ICOTOOL=""
6425 else
6426 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6427 for ac_prog in fontforge
6429 # Extract the first word of "$ac_prog", so it can be a program name with args.
6430 set dummy $ac_prog; ac_word=$2
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6432 $as_echo_n "checking for $ac_word... " >&6; }
6433 if ${ac_cv_prog_FONTFORGE+:} false; then :
6434 $as_echo_n "(cached) " >&6
6435 else
6436 if test -n "$FONTFORGE"; then
6437 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6438 else
6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6440 for as_dir in $PATH
6442 IFS=$as_save_IFS
6443 test -z "$as_dir" && as_dir=.
6444 for ac_exec_ext in '' $ac_executable_extensions; do
6445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6446 ac_cv_prog_FONTFORGE="$ac_prog"
6447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6448 break 2
6450 done
6451 done
6452 IFS=$as_save_IFS
6456 FONTFORGE=$ac_cv_prog_FONTFORGE
6457 if test -n "$FONTFORGE"; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6459 $as_echo "$FONTFORGE" >&6; }
6460 else
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 $as_echo "no" >&6; }
6466 test -n "$FONTFORGE" && break
6467 done
6468 test -n "$FONTFORGE" || FONTFORGE="false"
6470 for ac_prog in rsvg-convert rsvg
6472 # Extract the first word of "$ac_prog", so it can be a program name with args.
6473 set dummy $ac_prog; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if ${ac_cv_prog_RSVG+:} false; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$RSVG"; then
6480 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6489 ac_cv_prog_RSVG="$ac_prog"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6493 done
6494 done
6495 IFS=$as_save_IFS
6499 RSVG=$ac_cv_prog_RSVG
6500 if test -n "$RSVG"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6502 $as_echo "$RSVG" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6509 test -n "$RSVG" && break
6510 done
6511 test -n "$RSVG" || RSVG="false"
6513 for ac_prog in convert
6515 # Extract the first word of "$ac_prog", so it can be a program name with args.
6516 set dummy $ac_prog; ac_word=$2
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518 $as_echo_n "checking for $ac_word... " >&6; }
6519 if ${ac_cv_prog_CONVERT+:} false; then :
6520 $as_echo_n "(cached) " >&6
6521 else
6522 if test -n "$CONVERT"; then
6523 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6524 else
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526 for as_dir in $PATH
6528 IFS=$as_save_IFS
6529 test -z "$as_dir" && as_dir=.
6530 for ac_exec_ext in '' $ac_executable_extensions; do
6531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6532 ac_cv_prog_CONVERT="$ac_prog"
6533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534 break 2
6536 done
6537 done
6538 IFS=$as_save_IFS
6542 CONVERT=$ac_cv_prog_CONVERT
6543 if test -n "$CONVERT"; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6545 $as_echo "$CONVERT" >&6; }
6546 else
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548 $as_echo "no" >&6; }
6552 test -n "$CONVERT" && break
6553 done
6554 test -n "$CONVERT" || CONVERT="false"
6556 for ac_prog in icotool
6558 # Extract the first word of "$ac_prog", so it can be a program name with args.
6559 set dummy $ac_prog; ac_word=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 $as_echo_n "checking for $ac_word... " >&6; }
6562 if ${ac_cv_prog_ICOTOOL+:} false; then :
6563 $as_echo_n "(cached) " >&6
6564 else
6565 if test -n "$ICOTOOL"; then
6566 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6567 else
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569 for as_dir in $PATH
6571 IFS=$as_save_IFS
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6575 ac_cv_prog_ICOTOOL="$ac_prog"
6576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577 break 2
6579 done
6580 done
6581 IFS=$as_save_IFS
6585 ICOTOOL=$ac_cv_prog_ICOTOOL
6586 if test -n "$ICOTOOL"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6588 $as_echo "$ICOTOOL" >&6; }
6589 else
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591 $as_echo "no" >&6; }
6595 test -n "$ICOTOOL" && break
6596 done
6597 test -n "$ICOTOOL" || ICOTOOL="false"
6599 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6600 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6602 if test "$CONVERT" = false
6603 then
6604 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6605 else
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6607 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6608 convert_version=`convert --version | head -n1`
6609 if test "x$convert_version" != "x"
6610 then
6611 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6612 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6613 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6614 then
6615 CONVERT=false
6618 if test "$CONVERT" = false
6619 then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6621 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6622 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6623 else
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6625 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6629 if test "$ICOTOOL" = false
6630 then
6631 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6632 else
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6634 $as_echo_n "checking for recent enough icotool... " >&6; }
6635 icotool_version=`icotool --version | head -n1`
6636 if test "x$icotool_version" != "x"
6637 then
6638 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6639 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6640 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6641 then
6642 ICOTOOL=false
6643 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6646 if test "$ICOTOOL" = false
6647 then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6649 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6650 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6651 else
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6653 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6657 with_gettext=yes
6658 with_gettextpo=yes
6659 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6662 test "x$with_gettext" != xno || MSGFMT=false
6663 if test "$MSGFMT" != "false"
6664 then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6666 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6667 cat >conftest.po <<EOF
6668 # comment
6669 msgctxt "ctxt"
6670 msgid "id"
6671 msgstr "str"
6673 if $MSGFMT -o /dev/null conftest.po 2>&5
6674 then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6676 $as_echo "yes" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 $as_echo "no" >&6; }
6680 MSGFMT=false
6683 if test "$MSGFMT" = false; then :
6684 case "x$with_gettext" in
6685 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6686 xno) ;;
6687 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6688 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6689 esac
6690 enable_po=${enable_po:-no}
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6695 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6696 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6697 $as_echo_n "(cached) " >&6
6698 else
6699 ac_check_lib_save_LIBS=$LIBS
6700 LIBS="-li386 $LIBS"
6701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h. */
6704 /* Override any GCC internal prototype to avoid an error.
6705 Use char because int might match the return type of a GCC
6706 builtin and then its argument prototype would still apply. */
6707 #ifdef __cplusplus
6708 extern "C"
6709 #endif
6710 char i386_set_ldt ();
6712 main ()
6714 return i386_set_ldt ();
6716 return 0;
6718 _ACEOF
6719 if ac_fn_c_try_link "$LINENO"; then :
6720 ac_cv_lib_i386_i386_set_ldt=yes
6721 else
6722 ac_cv_lib_i386_i386_set_ldt=no
6724 rm -f core conftest.err conftest.$ac_objext \
6725 conftest$ac_exeext conftest.$ac_ext
6726 LIBS=$ac_check_lib_save_LIBS
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6729 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6730 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6731 cat >>confdefs.h <<_ACEOF
6732 #define HAVE_LIBI386 1
6733 _ACEOF
6735 LIBS="-li386 $LIBS"
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6740 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6741 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6742 $as_echo_n "(cached) " >&6
6743 else
6744 ac_check_lib_save_LIBS=$LIBS
6745 LIBS="-lossaudio $LIBS"
6746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6749 /* Override any GCC internal prototype to avoid an error.
6750 Use char because int might match the return type of a GCC
6751 builtin and then its argument prototype would still apply. */
6752 #ifdef __cplusplus
6753 extern "C"
6754 #endif
6755 char _oss_ioctl ();
6757 main ()
6759 return _oss_ioctl ();
6761 return 0;
6763 _ACEOF
6764 if ac_fn_c_try_link "$LINENO"; then :
6765 ac_cv_lib_ossaudio__oss_ioctl=yes
6766 else
6767 ac_cv_lib_ossaudio__oss_ioctl=no
6769 rm -f core conftest.err conftest.$ac_objext \
6770 conftest$ac_exeext conftest.$ac_ext
6771 LIBS=$ac_check_lib_save_LIBS
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6774 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6775 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6776 cat >>confdefs.h <<_ACEOF
6777 #define HAVE_LIBOSSAUDIO 1
6778 _ACEOF
6780 LIBS="-lossaudio $LIBS"
6785 OPENGL_LIBS=""
6789 # Check whether --enable-largefile was given.
6790 if test "${enable_largefile+set}" = set; then :
6791 enableval=$enable_largefile;
6794 if test "$enable_largefile" != no; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6797 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6798 if ${ac_cv_sys_largefile_CC+:} false; then :
6799 $as_echo_n "(cached) " >&6
6800 else
6801 ac_cv_sys_largefile_CC=no
6802 if test "$GCC" != yes; then
6803 ac_save_CC=$CC
6804 while :; do
6805 # IRIX 6.2 and later do not support large files by default,
6806 # so use the C compiler's -n32 option if that helps.
6807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6808 /* end confdefs.h. */
6809 #include <sys/types.h>
6810 /* Check that off_t can represent 2**63 - 1 correctly.
6811 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6812 since some C++ compilers masquerading as C compilers
6813 incorrectly reject 9223372036854775807. */
6814 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6815 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6816 && LARGE_OFF_T % 2147483647 == 1)
6817 ? 1 : -1];
6819 main ()
6823 return 0;
6825 _ACEOF
6826 if ac_fn_c_try_compile "$LINENO"; then :
6827 break
6829 rm -f core conftest.err conftest.$ac_objext
6830 CC="$CC -n32"
6831 if ac_fn_c_try_compile "$LINENO"; then :
6832 ac_cv_sys_largefile_CC=' -n32'; break
6834 rm -f core conftest.err conftest.$ac_objext
6835 break
6836 done
6837 CC=$ac_save_CC
6838 rm -f conftest.$ac_ext
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6842 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6843 if test "$ac_cv_sys_largefile_CC" != no; then
6844 CC=$CC$ac_cv_sys_largefile_CC
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6848 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6849 if ${ac_cv_sys_file_offset_bits+:} false; then :
6850 $as_echo_n "(cached) " >&6
6851 else
6852 while :; do
6853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6854 /* end confdefs.h. */
6855 #include <sys/types.h>
6856 /* Check that off_t can represent 2**63 - 1 correctly.
6857 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6858 since some C++ compilers masquerading as C compilers
6859 incorrectly reject 9223372036854775807. */
6860 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6861 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6862 && LARGE_OFF_T % 2147483647 == 1)
6863 ? 1 : -1];
6865 main ()
6869 return 0;
6871 _ACEOF
6872 if ac_fn_c_try_compile "$LINENO"; then :
6873 ac_cv_sys_file_offset_bits=no; break
6875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6877 /* end confdefs.h. */
6878 #define _FILE_OFFSET_BITS 64
6879 #include <sys/types.h>
6880 /* Check that off_t can represent 2**63 - 1 correctly.
6881 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6882 since some C++ compilers masquerading as C compilers
6883 incorrectly reject 9223372036854775807. */
6884 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6885 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6886 && LARGE_OFF_T % 2147483647 == 1)
6887 ? 1 : -1];
6889 main ()
6893 return 0;
6895 _ACEOF
6896 if ac_fn_c_try_compile "$LINENO"; then :
6897 ac_cv_sys_file_offset_bits=64; break
6899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6900 ac_cv_sys_file_offset_bits=unknown
6901 break
6902 done
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6905 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6906 case $ac_cv_sys_file_offset_bits in #(
6907 no | unknown) ;;
6909 cat >>confdefs.h <<_ACEOF
6910 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6911 _ACEOF
6913 esac
6914 rm -rf conftest*
6915 if test $ac_cv_sys_file_offset_bits = unknown; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6917 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6918 if ${ac_cv_sys_large_files+:} false; then :
6919 $as_echo_n "(cached) " >&6
6920 else
6921 while :; do
6922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6923 /* end confdefs.h. */
6924 #include <sys/types.h>
6925 /* Check that off_t can represent 2**63 - 1 correctly.
6926 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6927 since some C++ compilers masquerading as C compilers
6928 incorrectly reject 9223372036854775807. */
6929 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6930 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6931 && LARGE_OFF_T % 2147483647 == 1)
6932 ? 1 : -1];
6934 main ()
6938 return 0;
6940 _ACEOF
6941 if ac_fn_c_try_compile "$LINENO"; then :
6942 ac_cv_sys_large_files=no; break
6944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6947 #define _LARGE_FILES 1
6948 #include <sys/types.h>
6949 /* Check that off_t can represent 2**63 - 1 correctly.
6950 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6951 since some C++ compilers masquerading as C compilers
6952 incorrectly reject 9223372036854775807. */
6953 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6954 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6955 && LARGE_OFF_T % 2147483647 == 1)
6956 ? 1 : -1];
6958 main ()
6962 return 0;
6964 _ACEOF
6965 if ac_fn_c_try_compile "$LINENO"; then :
6966 ac_cv_sys_large_files=1; break
6968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6969 ac_cv_sys_large_files=unknown
6970 break
6971 done
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6974 $as_echo "$ac_cv_sys_large_files" >&6; }
6975 case $ac_cv_sys_large_files in #(
6976 no | unknown) ;;
6978 cat >>confdefs.h <<_ACEOF
6979 #define _LARGE_FILES $ac_cv_sys_large_files
6980 _ACEOF
6982 esac
6983 rm -rf conftest*
6990 ac_ext=c
6991 ac_cpp='$CPP $CPPFLAGS'
6992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6996 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6997 # On Suns, sometimes $CPP names a directory.
6998 if test -n "$CPP" && test -d "$CPP"; then
6999 CPP=
7001 if test -z "$CPP"; then
7002 if ${ac_cv_prog_CPP+:} false; then :
7003 $as_echo_n "(cached) " >&6
7004 else
7005 # Double quotes because CPP needs to be expanded
7006 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7008 ac_preproc_ok=false
7009 for ac_c_preproc_warn_flag in '' yes
7011 # Use a header file that comes with gcc, so configuring glibc
7012 # with a fresh cross-compiler works.
7013 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7014 # <limits.h> exists even on freestanding compilers.
7015 # On the NeXT, cc -E runs the code through the compiler's parser,
7016 # not just through cpp. "Syntax error" is here to catch this case.
7017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7018 /* end confdefs.h. */
7019 #ifdef __STDC__
7020 # include <limits.h>
7021 #else
7022 # include <assert.h>
7023 #endif
7024 Syntax error
7025 _ACEOF
7026 if ac_fn_c_try_cpp "$LINENO"; then :
7028 else
7029 # Broken: fails on valid input.
7030 continue
7032 rm -f conftest.err conftest.i conftest.$ac_ext
7034 # OK, works on sane cases. Now check whether nonexistent headers
7035 # can be detected and how.
7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7037 /* end confdefs.h. */
7038 #include <ac_nonexistent.h>
7039 _ACEOF
7040 if ac_fn_c_try_cpp "$LINENO"; then :
7041 # Broken: success on invalid input.
7042 continue
7043 else
7044 # Passes both tests.
7045 ac_preproc_ok=:
7046 break
7048 rm -f conftest.err conftest.i conftest.$ac_ext
7050 done
7051 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7052 rm -f conftest.i conftest.err conftest.$ac_ext
7053 if $ac_preproc_ok; then :
7054 break
7057 done
7058 ac_cv_prog_CPP=$CPP
7061 CPP=$ac_cv_prog_CPP
7062 else
7063 ac_cv_prog_CPP=$CPP
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7066 $as_echo "$CPP" >&6; }
7067 ac_preproc_ok=false
7068 for ac_c_preproc_warn_flag in '' yes
7070 # Use a header file that comes with gcc, so configuring glibc
7071 # with a fresh cross-compiler works.
7072 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7073 # <limits.h> exists even on freestanding compilers.
7074 # On the NeXT, cc -E runs the code through the compiler's parser,
7075 # not just through cpp. "Syntax error" is here to catch this case.
7076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7077 /* end confdefs.h. */
7078 #ifdef __STDC__
7079 # include <limits.h>
7080 #else
7081 # include <assert.h>
7082 #endif
7083 Syntax error
7084 _ACEOF
7085 if ac_fn_c_try_cpp "$LINENO"; then :
7087 else
7088 # Broken: fails on valid input.
7089 continue
7091 rm -f conftest.err conftest.i conftest.$ac_ext
7093 # OK, works on sane cases. Now check whether nonexistent headers
7094 # can be detected and how.
7095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7096 /* end confdefs.h. */
7097 #include <ac_nonexistent.h>
7098 _ACEOF
7099 if ac_fn_c_try_cpp "$LINENO"; then :
7100 # Broken: success on invalid input.
7101 continue
7102 else
7103 # Passes both tests.
7104 ac_preproc_ok=:
7105 break
7107 rm -f conftest.err conftest.i conftest.$ac_ext
7109 done
7110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7111 rm -f conftest.i conftest.err conftest.$ac_ext
7112 if $ac_preproc_ok; then :
7114 else
7115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7117 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7118 See \`config.log' for more details" "$LINENO" 5; }
7121 ac_ext=c
7122 ac_cpp='$CPP $CPPFLAGS'
7123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7129 $as_echo_n "checking for ANSI C header files... " >&6; }
7130 if ${ac_cv_header_stdc+:} false; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7134 /* end confdefs.h. */
7135 #include <stdlib.h>
7136 #include <stdarg.h>
7137 #include <string.h>
7138 #include <float.h>
7141 main ()
7145 return 0;
7147 _ACEOF
7148 if ac_fn_c_try_compile "$LINENO"; then :
7149 ac_cv_header_stdc=yes
7150 else
7151 ac_cv_header_stdc=no
7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7155 if test $ac_cv_header_stdc = yes; then
7156 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 #include <string.h>
7161 _ACEOF
7162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7163 $EGREP "memchr" >/dev/null 2>&1; then :
7165 else
7166 ac_cv_header_stdc=no
7168 rm -f conftest*
7172 if test $ac_cv_header_stdc = yes; then
7173 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175 /* end confdefs.h. */
7176 #include <stdlib.h>
7178 _ACEOF
7179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7180 $EGREP "free" >/dev/null 2>&1; then :
7182 else
7183 ac_cv_header_stdc=no
7185 rm -f conftest*
7189 if test $ac_cv_header_stdc = yes; then
7190 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7191 if test "$cross_compiling" = yes; then :
7193 else
7194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7195 /* end confdefs.h. */
7196 #include <ctype.h>
7197 #include <stdlib.h>
7198 #if ((' ' & 0x0FF) == 0x020)
7199 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7200 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7201 #else
7202 # define ISLOWER(c) \
7203 (('a' <= (c) && (c) <= 'i') \
7204 || ('j' <= (c) && (c) <= 'r') \
7205 || ('s' <= (c) && (c) <= 'z'))
7206 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7207 #endif
7209 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7211 main ()
7213 int i;
7214 for (i = 0; i < 256; i++)
7215 if (XOR (islower (i), ISLOWER (i))
7216 || toupper (i) != TOUPPER (i))
7217 return 2;
7218 return 0;
7220 _ACEOF
7221 if ac_fn_c_try_run "$LINENO"; then :
7223 else
7224 ac_cv_header_stdc=no
7226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7227 conftest.$ac_objext conftest.beam conftest.$ac_ext
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7233 $as_echo "$ac_cv_header_stdc" >&6; }
7234 if test $ac_cv_header_stdc = yes; then
7236 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7240 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7241 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7242 inttypes.h stdint.h unistd.h
7243 do :
7244 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7245 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7247 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7248 cat >>confdefs.h <<_ACEOF
7249 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7250 _ACEOF
7254 done
7257 for ac_header in \
7258 AL/al.h \
7259 ApplicationServices/ApplicationServices.h \
7260 AudioToolbox/AudioConverter.h \
7261 AudioUnit/AudioUnit.h \
7262 AudioUnit/AudioComponent.h \
7263 CL/cl.h \
7264 Carbon/Carbon.h \
7265 CommonCrypto/CommonCryptor.h \
7266 CoreAudio/CoreAudio.h \
7267 CoreServices/CoreServices.h \
7268 DiskArbitration/DiskArbitration.h \
7269 EGL/egl.h \
7270 IOKit/IOKitLib.h \
7271 IOKit/hid/IOHIDLib.h \
7272 OpenAL/al.h \
7273 OpenCL/opencl.h \
7274 QuickTime/ImageCompression.h \
7275 Security/Security.h \
7276 alias.h \
7277 alsa/asoundlib.h \
7278 arpa/inet.h \
7279 arpa/nameser.h \
7280 asm/types.h \
7281 asm/user.h \
7282 curses.h \
7283 direct.h \
7284 dirent.h \
7285 dlfcn.h \
7286 elf.h \
7287 float.h \
7288 fnmatch.h \
7289 getopt.h \
7290 gettext-po.h \
7291 grp.h \
7292 gsm.h \
7293 gsm/gsm.h \
7294 ieeefp.h \
7295 inet/mib2.h \
7296 io.h \
7297 kstat.h \
7298 libproc.h \
7299 link.h \
7300 linux/cdrom.h \
7301 linux/compiler.h \
7302 linux/filter.h \
7303 linux/hdreg.h \
7304 linux/hidraw.h \
7305 linux/input.h \
7306 linux/ioctl.h \
7307 linux/joystick.h \
7308 linux/major.h \
7309 linux/param.h \
7310 linux/serial.h \
7311 linux/types.h \
7312 linux/ucdrom.h \
7313 lwp.h \
7314 mach-o/nlist.h \
7315 mach-o/loader.h \
7316 mach/mach.h \
7317 mach/machine.h \
7318 machine/cpu.h \
7319 machine/limits.h \
7320 machine/sysarch.h \
7321 mntent.h \
7322 ncurses.h \
7323 netdb.h \
7324 netinet/in.h \
7325 netinet/in_systm.h \
7326 netinet/tcp.h \
7327 netinet/tcp_fsm.h \
7328 pcap/pcap.h \
7329 poll.h \
7330 port.h \
7331 process.h \
7332 pthread.h \
7333 pwd.h \
7334 sched.h \
7335 scsi/scsi.h \
7336 scsi/scsi_ioctl.h \
7337 scsi/sg.h \
7338 stdbool.h \
7339 stdint.h \
7340 stropts.h \
7341 sys/asoundlib.h \
7342 sys/attr.h \
7343 sys/auxv.h \
7344 sys/cdio.h \
7345 sys/elf32.h \
7346 sys/epoll.h \
7347 sys/event.h \
7348 sys/exec_elf.h \
7349 sys/filio.h \
7350 sys/inotify.h \
7351 sys/ioctl.h \
7352 sys/ipc.h \
7353 sys/limits.h \
7354 sys/link.h \
7355 sys/mman.h \
7356 sys/modem.h \
7357 sys/msg.h \
7358 sys/mtio.h \
7359 sys/param.h \
7360 sys/poll.h \
7361 sys/prctl.h \
7362 sys/protosw.h \
7363 sys/ptrace.h \
7364 sys/queue.h \
7365 sys/resource.h \
7366 sys/scsiio.h \
7367 sys/shm.h \
7368 sys/signal.h \
7369 sys/socket.h \
7370 sys/socketvar.h \
7371 sys/sockio.h \
7372 sys/statvfs.h \
7373 sys/strtio.h \
7374 sys/syscall.h \
7375 sys/sysinfo.h \
7376 sys/tihdr.h \
7377 sys/time.h \
7378 sys/timeout.h \
7379 sys/times.h \
7380 sys/uio.h \
7381 sys/user.h \
7382 sys/utsname.h \
7383 sys/vnode.h \
7384 sys/wait.h \
7385 syscall.h \
7386 termios.h \
7387 unistd.h \
7388 utime.h \
7389 valgrind/memcheck.h \
7390 valgrind/valgrind.h \
7391 zlib.h
7393 do :
7394 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7395 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7396 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7397 cat >>confdefs.h <<_ACEOF
7398 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7399 _ACEOF
7403 done
7405 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7406 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7408 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7413 if test $ac_cv_header_sys_mkdev_h = no; then
7414 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7415 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7417 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7424 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7425 if ${ac_cv_header_stat_broken+:} false; then :
7426 $as_echo_n "(cached) " >&6
7427 else
7428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7429 /* end confdefs.h. */
7430 #include <sys/types.h>
7431 #include <sys/stat.h>
7433 #if defined S_ISBLK && defined S_IFDIR
7434 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7435 #endif
7437 #if defined S_ISBLK && defined S_IFCHR
7438 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7439 #endif
7441 #if defined S_ISLNK && defined S_IFREG
7442 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7443 #endif
7445 #if defined S_ISSOCK && defined S_IFREG
7446 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7447 #endif
7449 _ACEOF
7450 if ac_fn_c_try_compile "$LINENO"; then :
7451 ac_cv_header_stat_broken=no
7452 else
7453 ac_cv_header_stat_broken=yes
7455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7458 $as_echo "$ac_cv_header_stat_broken" >&6; }
7459 if test $ac_cv_header_stat_broken = yes; then
7461 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7467 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7468 do :
7469 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7470 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7471 #ifdef HAVE_SYS_PARAM_H
7472 # include <sys/param.h>
7473 #endif
7475 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7476 cat >>confdefs.h <<_ACEOF
7477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7478 _ACEOF
7482 done
7485 for ac_header in \
7486 netinet/ip.h \
7487 net/if.h \
7488 net/if_arp.h \
7489 net/if_dl.h \
7490 net/if_types.h \
7491 net/route.h \
7492 netinet/if_ether.h \
7493 netinet/if_inarp.h \
7494 netinet/in_pcb.h \
7495 netinet/ip_icmp.h \
7496 netinet/ip_var.h \
7497 netinet/udp.h \
7498 netipx/ipx.h \
7499 sys/un.h \
7501 do :
7502 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7503 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7504 #ifdef HAVE_SYS_SOCKET_H
7505 # include <sys/socket.h>
7506 #endif
7507 #ifdef HAVE_SYS_SOCKETVAR_H
7508 # include <sys/socketvar.h>
7509 #endif
7510 #ifdef HAVE_NET_ROUTE_H
7511 # include <net/route.h>
7512 #endif
7513 #ifdef HAVE_NETINET_IN_H
7514 # include <netinet/in.h>
7515 #endif
7516 #ifdef HAVE_NETINET_IN_SYSTM_H
7517 # include <netinet/in_systm.h>
7518 #endif
7519 #ifdef HAVE_NET_IF_H
7520 # include <net/if.h>
7521 #endif
7522 #ifdef HAVE_NETINET_IP_H
7523 # include <netinet/ip.h>
7524 #endif
7526 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7527 cat >>confdefs.h <<_ACEOF
7528 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7529 _ACEOF
7533 done
7536 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7537 do :
7538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7539 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7540 #ifdef HAVE_ALIAS_H
7541 # include <alias.h>
7542 #endif
7543 #ifdef HAVE_SYS_SOCKET_H
7544 # include <sys/socket.h>
7545 #endif
7546 #ifdef HAVE_SYS_SOCKETVAR_H
7547 # include <sys/socketvar.h>
7548 #endif
7549 #ifdef HAVE_SYS_TIMEOUT_H
7550 # include <sys/timeout.h>
7551 #endif
7552 #ifdef HAVE_NETINET_IN_H
7553 # include <netinet/in.h>
7554 #endif
7555 #ifdef HAVE_NETINET_IN_SYSTM_H
7556 # include <netinet/in_systm.h>
7557 #endif
7558 #ifdef HAVE_NETINET_IP_H
7559 # include <netinet/ip.h>
7560 #endif
7561 #ifdef HAVE_NETINET_IP_VAR_H
7562 # include <netinet/ip_var.h>
7563 #endif
7564 #ifdef HAVE_NETINET_IP_ICMP_H
7565 # include <netinet/ip_icmp.h>
7566 #endif
7567 #ifdef HAVE_NETINET_UDP_H
7568 # include <netinet/udp.h>
7569 #endif
7570 #ifdef HAVE_NETINET_TCP_H
7571 # include <netinet/tcp.h>
7572 #endif
7573 #ifdef HAVE_NETINET_TCP_TIMER_H
7574 #include <netinet/tcp_timer.h>
7575 #endif
7577 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7578 cat >>confdefs.h <<_ACEOF
7579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7580 _ACEOF
7584 done
7587 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7588 do :
7589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7590 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7591 #ifdef HAVE_ASM_TYPES_H
7592 # include <asm/types.h>
7593 #endif
7594 #ifdef HAVE_SYS_SOCKET_H
7595 # include <sys/socket.h>
7596 #endif
7597 #ifdef HAVE_LINUX_TYPES_H
7598 # include <linux/types.h>
7599 #endif
7601 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7602 cat >>confdefs.h <<_ACEOF
7603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7604 _ACEOF
7608 done
7611 for ac_header in mach-o/dyld_images.h
7612 do :
7613 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7614 # include <stdbool.h>
7615 #endif
7616 #ifdef HAVE_STDINT_H
7617 # include <stdint.h>
7618 #endif
7620 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7621 cat >>confdefs.h <<_ACEOF
7622 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7623 _ACEOF
7627 done
7630 for ac_header in resolv.h
7631 do :
7632 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7633 #ifdef HAVE_SYS_SOCKET_H
7634 # include <sys/socket.h>
7635 #endif
7636 #ifdef HAVE_NETINET_IN_H
7637 # include <netinet/in.h>
7638 #endif
7639 #ifdef HAVE_ARPA_NAMESER_H
7640 # include <arpa/nameser.h>
7641 #endif
7643 if test "x$ac_cv_header_resolv_h" = xyes; then :
7644 cat >>confdefs.h <<_ACEOF
7645 #define HAVE_RESOLV_H 1
7646 _ACEOF
7650 done
7653 for ac_header in ifaddrs.h
7654 do :
7655 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7657 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7658 cat >>confdefs.h <<_ACEOF
7659 #define HAVE_IFADDRS_H 1
7660 _ACEOF
7664 done
7667 for ac_header in sys/ucontext.h
7668 do :
7669 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7671 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7672 cat >>confdefs.h <<_ACEOF
7673 #define HAVE_SYS_UCONTEXT_H 1
7674 _ACEOF
7678 done
7681 for ac_header in sys/thr.h
7682 do :
7683 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7684 #ifdef HAVE_SYS_UCONTEXT_H
7685 #include <sys/ucontext.h>
7686 #endif
7688 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7689 cat >>confdefs.h <<_ACEOF
7690 #define HAVE_SYS_THR_H 1
7691 _ACEOF
7695 done
7698 for ac_header in pthread_np.h
7699 do :
7700 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7701 #include <pthread.h>
7702 #endif
7704 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7705 cat >>confdefs.h <<_ACEOF
7706 #define HAVE_PTHREAD_NP_H 1
7707 _ACEOF
7711 done
7714 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7715 do :
7716 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7717 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7718 #include <sys/time.h>
7719 #endif
7720 #include <sys/types.h>
7721 #ifdef HAVE_ASM_TYPES_H
7722 #include <asm/types.h>
7723 #endif
7725 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7726 cat >>confdefs.h <<_ACEOF
7727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7728 _ACEOF
7732 done
7735 for ac_header in libprocstat.h
7736 do :
7737 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7738 #include <sys/param.h>
7739 #endif
7740 #ifdef HAVE_SYS_QUEUE_H
7741 #include <sys/queue.h>
7742 #endif
7743 #ifdef HAVE_SYS_SOCKET_H
7744 #include <sys/socket.h>
7745 #endif
7747 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7748 cat >>confdefs.h <<_ACEOF
7749 #define HAVE_LIBPROCSTAT_H 1
7750 _ACEOF
7754 done
7758 DLLFLAGS="-D_REENTRANT"
7760 LDRPATH_INSTALL=""
7762 LDRPATH_LOCAL=""
7764 LDEXECFLAGS=""
7766 WINELOADER_LDFLAGS=""
7768 LIBEXT="so"
7769 DLLEXT=".so"
7770 IMPLIBEXT="def"
7771 # Extract the first word of "ldd", so it can be a program name with args.
7772 set dummy ldd; ac_word=$2
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7774 $as_echo_n "checking for $ac_word... " >&6; }
7775 if ${ac_cv_path_LDD+:} false; then :
7776 $as_echo_n "(cached) " >&6
7777 else
7778 case $LDD in
7779 [\\/]* | ?:[\\/]*)
7780 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 as_dummy="/sbin:/usr/sbin:$PATH"
7785 for as_dir in $as_dummy
7787 IFS=$as_save_IFS
7788 test -z "$as_dir" && as_dir=.
7789 for ac_exec_ext in '' $ac_executable_extensions; do
7790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7791 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7793 break 2
7795 done
7796 done
7797 IFS=$as_save_IFS
7799 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7801 esac
7803 LDD=$ac_cv_path_LDD
7804 if test -n "$LDD"; then
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7806 $as_echo "$LDD" >&6; }
7807 else
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7809 $as_echo "no" >&6; }
7813 if test -n "$ac_tool_prefix"; then
7814 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7815 set dummy ${ac_tool_prefix}otool; ac_word=$2
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7817 $as_echo_n "checking for $ac_word... " >&6; }
7818 if ${ac_cv_prog_OTOOL+:} false; then :
7819 $as_echo_n "(cached) " >&6
7820 else
7821 if test -n "$OTOOL"; then
7822 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7823 else
7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7825 for as_dir in $PATH
7827 IFS=$as_save_IFS
7828 test -z "$as_dir" && as_dir=.
7829 for ac_exec_ext in '' $ac_executable_extensions; do
7830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7831 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7833 break 2
7835 done
7836 done
7837 IFS=$as_save_IFS
7841 OTOOL=$ac_cv_prog_OTOOL
7842 if test -n "$OTOOL"; then
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7844 $as_echo "$OTOOL" >&6; }
7845 else
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7847 $as_echo "no" >&6; }
7852 if test -z "$ac_cv_prog_OTOOL"; then
7853 ac_ct_OTOOL=$OTOOL
7854 # Extract the first word of "otool", so it can be a program name with args.
7855 set dummy otool; ac_word=$2
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7857 $as_echo_n "checking for $ac_word... " >&6; }
7858 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7859 $as_echo_n "(cached) " >&6
7860 else
7861 if test -n "$ac_ct_OTOOL"; then
7862 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7863 else
7864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 for as_dir in $PATH
7867 IFS=$as_save_IFS
7868 test -z "$as_dir" && as_dir=.
7869 for ac_exec_ext in '' $ac_executable_extensions; do
7870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871 ac_cv_prog_ac_ct_OTOOL="otool"
7872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 break 2
7875 done
7876 done
7877 IFS=$as_save_IFS
7881 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7882 if test -n "$ac_ct_OTOOL"; then
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7884 $as_echo "$ac_ct_OTOOL" >&6; }
7885 else
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887 $as_echo "no" >&6; }
7890 if test "x$ac_ct_OTOOL" = x; then
7891 OTOOL="otool"
7892 else
7893 case $cross_compiling:$ac_tool_warned in
7894 yes:)
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7897 ac_tool_warned=yes ;;
7898 esac
7899 OTOOL=$ac_ct_OTOOL
7901 else
7902 OTOOL="$ac_cv_prog_OTOOL"
7905 if test -n "$ac_tool_prefix"; then
7906 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7907 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7909 $as_echo_n "checking for $ac_word... " >&6; }
7910 if ${ac_cv_prog_READELF+:} false; then :
7911 $as_echo_n "(cached) " >&6
7912 else
7913 if test -n "$READELF"; then
7914 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7915 else
7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7917 for as_dir in $PATH
7919 IFS=$as_save_IFS
7920 test -z "$as_dir" && as_dir=.
7921 for ac_exec_ext in '' $ac_executable_extensions; do
7922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7923 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7925 break 2
7927 done
7928 done
7929 IFS=$as_save_IFS
7933 READELF=$ac_cv_prog_READELF
7934 if test -n "$READELF"; then
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7936 $as_echo "$READELF" >&6; }
7937 else
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7939 $as_echo "no" >&6; }
7944 if test -z "$ac_cv_prog_READELF"; then
7945 ac_ct_READELF=$READELF
7946 # Extract the first word of "readelf", so it can be a program name with args.
7947 set dummy readelf; ac_word=$2
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7949 $as_echo_n "checking for $ac_word... " >&6; }
7950 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7951 $as_echo_n "(cached) " >&6
7952 else
7953 if test -n "$ac_ct_READELF"; then
7954 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7955 else
7956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7957 for as_dir in $PATH
7959 IFS=$as_save_IFS
7960 test -z "$as_dir" && as_dir=.
7961 for ac_exec_ext in '' $ac_executable_extensions; do
7962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7963 ac_cv_prog_ac_ct_READELF="readelf"
7964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7965 break 2
7967 done
7968 done
7969 IFS=$as_save_IFS
7973 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7974 if test -n "$ac_ct_READELF"; then
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7976 $as_echo "$ac_ct_READELF" >&6; }
7977 else
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7979 $as_echo "no" >&6; }
7982 if test "x$ac_ct_READELF" = x; then
7983 READELF="true"
7984 else
7985 case $cross_compiling:$ac_tool_warned in
7986 yes:)
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7989 ac_tool_warned=yes ;;
7990 esac
7991 READELF=$ac_ct_READELF
7993 else
7994 READELF="$ac_cv_prog_READELF"
7997 wine_rules_file=conf$$rules.make
7998 rm -f $wine_rules_file
7999 SUBDIRS=""
8001 DISABLED_SUBDIRS=""
8003 CONFIGURE_TARGETS=""
8006 wine_fn_append_file ()
8008 as_fn_append $1 " \\$as_nl $2"
8011 wine_fn_append_rule ()
8013 $as_echo "$1" >>$wine_rules_file
8016 wine_fn_config_makefile ()
8018 wine_fn_append_file SUBDIRS $1
8019 if eval test \"x\$"$2"\" = x"no"; then :
8020 wine_fn_append_file DISABLED_SUBDIRS $1
8024 wine_fn_config_symlink ()
8026 ac_links=$@
8027 wine_fn_append_rule \
8028 "$ac_links:
8029 @./config.status \$@"
8030 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8033 wine_binary="wine"
8034 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8035 WINELOADER_PROGRAMS="$wine_binary"
8037 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8039 case $host_os in
8040 cygwin*|mingw32*)
8041 if test -n "$ac_tool_prefix"; then
8042 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8043 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8045 $as_echo_n "checking for $ac_word... " >&6; }
8046 if ${ac_cv_prog_DLLTOOL+:} false; then :
8047 $as_echo_n "(cached) " >&6
8048 else
8049 if test -n "$DLLTOOL"; then
8050 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8051 else
8052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053 for as_dir in $PATH
8055 IFS=$as_save_IFS
8056 test -z "$as_dir" && as_dir=.
8057 for ac_exec_ext in '' $ac_executable_extensions; do
8058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8059 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8061 break 2
8063 done
8064 done
8065 IFS=$as_save_IFS
8069 DLLTOOL=$ac_cv_prog_DLLTOOL
8070 if test -n "$DLLTOOL"; then
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8072 $as_echo "$DLLTOOL" >&6; }
8073 else
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8075 $as_echo "no" >&6; }
8080 if test -z "$ac_cv_prog_DLLTOOL"; then
8081 ac_ct_DLLTOOL=$DLLTOOL
8082 # Extract the first word of "dlltool", so it can be a program name with args.
8083 set dummy dlltool; ac_word=$2
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8085 $as_echo_n "checking for $ac_word... " >&6; }
8086 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8087 $as_echo_n "(cached) " >&6
8088 else
8089 if test -n "$ac_ct_DLLTOOL"; then
8090 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8091 else
8092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 for as_dir in $PATH
8095 IFS=$as_save_IFS
8096 test -z "$as_dir" && as_dir=.
8097 for ac_exec_ext in '' $ac_executable_extensions; do
8098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8099 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8101 break 2
8103 done
8104 done
8105 IFS=$as_save_IFS
8109 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8110 if test -n "$ac_ct_DLLTOOL"; then
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8112 $as_echo "$ac_ct_DLLTOOL" >&6; }
8113 else
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8115 $as_echo "no" >&6; }
8118 if test "x$ac_ct_DLLTOOL" = x; then
8119 DLLTOOL="false"
8120 else
8121 case $cross_compiling:$ac_tool_warned in
8122 yes:)
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8125 ac_tool_warned=yes ;;
8126 esac
8127 DLLTOOL=$ac_ct_DLLTOOL
8129 else
8130 DLLTOOL="$ac_cv_prog_DLLTOOL"
8133 LIBEXT="dll"
8134 DLLEXT=""
8135 IMPLIBEXT="a"
8136 enable_iphlpapi=${enable_iphlpapi:-no}
8137 enable_kernel32=${enable_kernel32:-no}
8138 enable_msvcrt=${enable_msvcrt:-no}
8139 enable_ntdll=${enable_ntdll:-no}
8140 enable_ws2_32=${enable_ws2_32:-no}
8141 enable_loader=${enable_loader:-no}
8142 enable_server=${enable_server:-no}
8143 with_x=${with_x:-no}
8144 with_pthread=${with_pthread:-no}
8146 crtlibs=""
8147 case $host_os in
8148 mingw32*)
8149 crtlibs="-lmsvcrt" ;;
8150 esac
8152 LIBWINE_SHAREDLIB="libwine.dll"
8154 LIBWINE_IMPORTLIB="libwine.a"
8156 LIBWINE_INSTALL_LIB="libwine.dll"
8158 LIBWINE_INSTALL_DEV="libwine.a"
8160 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8162 LIBWINE_DEPENDS="wine.def"
8166 darwin*|macosx*)
8167 for ac_header in libunwind.h
8168 do :
8169 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8171 cat >>confdefs.h <<_ACEOF
8172 #define HAVE_LIBUNWIND_H 1
8173 _ACEOF
8177 done
8179 ac_ext=m
8180 ac_cpp='$OBJCPP $CPPFLAGS'
8181 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8182 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8183 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8185 ac_ext=m
8186 ac_cpp='$OBJCPP $CPPFLAGS'
8187 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8188 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8189 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8190 if test -n "$ac_tool_prefix"; then
8191 for ac_prog in gcc objcc objc cc CC
8193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8196 $as_echo_n "checking for $ac_word... " >&6; }
8197 if ${ac_cv_prog_OBJC+:} false; then :
8198 $as_echo_n "(cached) " >&6
8199 else
8200 if test -n "$OBJC"; then
8201 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8202 else
8203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8204 for as_dir in $PATH
8206 IFS=$as_save_IFS
8207 test -z "$as_dir" && as_dir=.
8208 for ac_exec_ext in '' $ac_executable_extensions; do
8209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8210 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8212 break 2
8214 done
8215 done
8216 IFS=$as_save_IFS
8220 OBJC=$ac_cv_prog_OBJC
8221 if test -n "$OBJC"; then
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8223 $as_echo "$OBJC" >&6; }
8224 else
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8226 $as_echo "no" >&6; }
8230 test -n "$OBJC" && break
8231 done
8233 if test -z "$OBJC"; then
8234 ac_ct_OBJC=$OBJC
8235 for ac_prog in gcc objcc objc cc CC
8237 # Extract the first word of "$ac_prog", so it can be a program name with args.
8238 set dummy $ac_prog; ac_word=$2
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8240 $as_echo_n "checking for $ac_word... " >&6; }
8241 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8242 $as_echo_n "(cached) " >&6
8243 else
8244 if test -n "$ac_ct_OBJC"; then
8245 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8246 else
8247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8248 for as_dir in $PATH
8250 IFS=$as_save_IFS
8251 test -z "$as_dir" && as_dir=.
8252 for ac_exec_ext in '' $ac_executable_extensions; do
8253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8254 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8256 break 2
8258 done
8259 done
8260 IFS=$as_save_IFS
8264 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8265 if test -n "$ac_ct_OBJC"; then
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8267 $as_echo "$ac_ct_OBJC" >&6; }
8268 else
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8270 $as_echo "no" >&6; }
8274 test -n "$ac_ct_OBJC" && break
8275 done
8277 if test "x$ac_ct_OBJC" = x; then
8278 OBJC="gcc"
8279 else
8280 case $cross_compiling:$ac_tool_warned in
8281 yes:)
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8284 ac_tool_warned=yes ;;
8285 esac
8286 OBJC=$ac_ct_OBJC
8290 # Provide some information about the compiler.
8291 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8292 set X $ac_compile
8293 ac_compiler=$2
8294 for ac_option in --version -v -V -qversion; do
8295 { { ac_try="$ac_compiler $ac_option >&5"
8296 case "(($ac_try" in
8297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8298 *) ac_try_echo=$ac_try;;
8299 esac
8300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8301 $as_echo "$ac_try_echo"; } >&5
8302 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8303 ac_status=$?
8304 if test -s conftest.err; then
8305 sed '10a\
8306 ... rest of stderr output deleted ...
8307 10q' conftest.err >conftest.er1
8308 cat conftest.er1 >&5
8310 rm -f conftest.er1 conftest.err
8311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8312 test $ac_status = 0; }
8313 done
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8316 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8317 if ${ac_cv_objc_compiler_gnu+:} false; then :
8318 $as_echo_n "(cached) " >&6
8319 else
8320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8324 main ()
8326 #ifndef __GNUC__
8327 choke me
8328 #endif
8331 return 0;
8333 _ACEOF
8334 if ac_fn_objc_try_compile "$LINENO"; then :
8335 ac_compiler_gnu=yes
8336 else
8337 ac_compiler_gnu=no
8339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8340 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8344 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8345 if test $ac_compiler_gnu = yes; then
8346 GOBJC=yes
8347 else
8348 GOBJC=
8350 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8351 ac_save_OBJCFLAGS=$OBJCFLAGS
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8353 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8354 if ${ac_cv_prog_objc_g+:} false; then :
8355 $as_echo_n "(cached) " >&6
8356 else
8357 ac_save_objc_werror_flag=$ac_objc_werror_flag
8358 ac_objc_werror_flag=yes
8359 ac_cv_prog_objc_g=no
8360 OBJCFLAGS="-g"
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8365 main ()
8369 return 0;
8371 _ACEOF
8372 if ac_fn_objc_try_compile "$LINENO"; then :
8373 ac_cv_prog_objc_g=yes
8374 else
8375 OBJCFLAGS=""
8376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8377 /* end confdefs.h. */
8380 main ()
8384 return 0;
8386 _ACEOF
8387 if ac_fn_objc_try_compile "$LINENO"; then :
8389 else
8390 ac_objc_werror_flag=$ac_save_objc_werror_flag
8391 OBJCFLAGS="-g"
8392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8396 main ()
8400 return 0;
8402 _ACEOF
8403 if ac_fn_objc_try_compile "$LINENO"; then :
8404 ac_cv_prog_objc_g=yes
8406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8411 ac_objc_werror_flag=$ac_save_objc_werror_flag
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8414 $as_echo "$ac_cv_prog_objc_g" >&6; }
8415 if test "$ac_test_OBJCFLAGS" = set; then
8416 OBJCFLAGS=$ac_save_OBJCFLAGS
8417 elif test $ac_cv_prog_objc_g = yes; then
8418 if test "$GOBJC" = yes; then
8419 OBJCFLAGS="-g -O2"
8420 else
8421 OBJCFLAGS="-g"
8423 else
8424 if test "$GOBJC" = yes; then
8425 OBJCFLAGS="-O2"
8426 else
8427 OBJCFLAGS=
8430 ac_ext=m
8431 ac_cpp='$OBJCPP $CPPFLAGS'
8432 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8433 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8434 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
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
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8443 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8444 if test -z "$OBJCPP"; then
8445 if ${ac_cv_prog_OBJCPP+:} false; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 # Double quotes because OBJCPP needs to be expanded
8449 for OBJCPP in "$OBJC -E" "/lib/cpp"
8451 ac_preproc_ok=false
8452 for ac_objc_preproc_warn_flag in '' yes
8454 # Use a header file that comes with gcc, so configuring glibc
8455 # with a fresh cross-compiler works.
8456 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8457 # <limits.h> exists even on freestanding compilers.
8458 # On the NeXT, cc -E runs the code through the compiler's parser,
8459 # not just through cpp. "Syntax error" is here to catch this case.
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 #ifdef __STDC__
8463 # include <limits.h>
8464 #else
8465 # include <assert.h>
8466 #endif
8467 Syntax error
8468 _ACEOF
8469 if ac_fn_objc_try_cpp "$LINENO"; then :
8471 else
8472 # Broken: fails on valid input.
8473 continue
8475 rm -f conftest.err conftest.i conftest.$ac_ext
8477 # OK, works on sane cases. Now check whether nonexistent headers
8478 # can be detected and how.
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 #include <ac_nonexistent.h>
8482 _ACEOF
8483 if ac_fn_objc_try_cpp "$LINENO"; then :
8484 # Broken: success on invalid input.
8485 continue
8486 else
8487 # Passes both tests.
8488 ac_preproc_ok=:
8489 break
8491 rm -f conftest.err conftest.i conftest.$ac_ext
8493 done
8494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8495 rm -f conftest.i conftest.err conftest.$ac_ext
8496 if $ac_preproc_ok; then :
8497 break
8500 done
8501 ac_cv_prog_OBJCPP=$OBJCPP
8504 OBJCPP=$ac_cv_prog_OBJCPP
8505 else
8506 ac_cv_prog_OBJCPP=$OBJCPP
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8509 $as_echo "$OBJCPP" >&6; }
8510 ac_preproc_ok=false
8511 for ac_objc_preproc_warn_flag in '' yes
8513 # Use a header file that comes with gcc, so configuring glibc
8514 # with a fresh cross-compiler works.
8515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8516 # <limits.h> exists even on freestanding compilers.
8517 # On the NeXT, cc -E runs the code through the compiler's parser,
8518 # not just through cpp. "Syntax error" is here to catch this case.
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8521 #ifdef __STDC__
8522 # include <limits.h>
8523 #else
8524 # include <assert.h>
8525 #endif
8526 Syntax error
8527 _ACEOF
8528 if ac_fn_objc_try_cpp "$LINENO"; then :
8530 else
8531 # Broken: fails on valid input.
8532 continue
8534 rm -f conftest.err conftest.i conftest.$ac_ext
8536 # OK, works on sane cases. Now check whether nonexistent headers
8537 # can be detected and how.
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8540 #include <ac_nonexistent.h>
8541 _ACEOF
8542 if ac_fn_objc_try_cpp "$LINENO"; then :
8543 # Broken: success on invalid input.
8544 continue
8545 else
8546 # Passes both tests.
8547 ac_preproc_ok=:
8548 break
8550 rm -f conftest.err conftest.i conftest.$ac_ext
8552 done
8553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8554 rm -f conftest.i conftest.err conftest.$ac_ext
8555 if $ac_preproc_ok; then :
8557 else
8558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8560 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8561 See \`config.log' for more details" "$LINENO" 5; }
8564 ac_ext=m
8565 ac_cpp='$OBJCPP $CPPFLAGS'
8566 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8567 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8568 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8571 for ac_header in Metal/Metal.h
8572 do :
8573 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8574 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8575 cat >>confdefs.h <<_ACEOF
8576 #define HAVE_METAL_METAL_H 1
8577 _ACEOF
8581 done
8583 ac_ext=c
8584 ac_cpp='$CPP $CPPFLAGS'
8585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8589 LIBEXT="dylib"
8590 DLLFLAGS="$DLLFLAGS -fPIC"
8591 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8592 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8593 COREFOUNDATION_LIBS="-framework CoreFoundation"
8595 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8597 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8599 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8601 CORESERVICES_LIBS="-framework CoreServices"
8603 APPKIT_LIBS="-framework AppKit"
8605 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8607 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8608 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8609 $as_echo_n "(cached) " >&6
8610 else
8611 ac_wine_try_cflags_saved=$CFLAGS
8612 CFLAGS="$CFLAGS -Wl,-no_pie"
8613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8614 /* end confdefs.h. */
8615 int main(int argc, char **argv) { return 0; }
8616 _ACEOF
8617 if ac_fn_c_try_link "$LINENO"; then :
8618 ac_cv_cflags__Wl__no_pie=yes
8619 else
8620 ac_cv_cflags__Wl__no_pie=no
8622 rm -f core conftest.err conftest.$ac_objext \
8623 conftest$ac_exeext conftest.$ac_ext
8624 CFLAGS=$ac_wine_try_cflags_saved
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8627 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8628 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8629 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8631 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8632 then
8633 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8636 if test "$ac_cv_header_Security_Security_h" = "yes"
8637 then
8638 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8640 ac_save_LIBS="$LIBS"
8641 LIBS="$LIBS $SECURITY_LIBS"
8642 for ac_func in SSLCopyPeerCertificates
8643 do :
8644 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8645 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8646 cat >>confdefs.h <<_ACEOF
8647 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8648 _ACEOF
8651 done
8653 LIBS="$ac_save_LIBS"
8655 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8656 then
8657 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8658 then
8659 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8661 else
8662 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8665 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8666 ac_save_LIBS="$LIBS"
8667 LIBS="$LIBS $COREAUDIO_LIBS"
8668 for ac_func in AUGraphAddNode
8669 do :
8670 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8671 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8672 cat >>confdefs.h <<_ACEOF
8673 #define HAVE_AUGRAPHADDNODE 1
8674 _ACEOF
8677 done
8679 LIBS="$ac_save_LIBS"
8681 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8682 then
8683 OPENAL_LIBS="-framework OpenAL"
8686 cat >>confdefs.h <<_ACEOF
8687 #define HAVE_OPENAL 1
8688 _ACEOF
8690 ac_cv_lib_openal=yes
8692 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8693 then
8694 OPENCL_LIBS="-framework OpenCL"
8696 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8698 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8699 then
8700 ac_save_LIBS="$LIBS"
8701 LIBS="$LIBS $IOKIT_LIBS"
8702 for ac_func in IOHIDManagerCreate
8703 do :
8704 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8705 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8706 cat >>confdefs.h <<_ACEOF
8707 #define HAVE_IOHIDMANAGERCREATE 1
8708 _ACEOF
8711 done
8713 LIBS="$ac_save_LIBS"
8715 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8716 then
8717 ac_save_LIBS="$LIBS"
8718 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8720 $as_echo_n "checking for the QuickTime framework... " >&6; }
8721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8722 /* end confdefs.h. */
8723 #include <QuickTime/ImageCompression.h>
8725 main ()
8727 CodecManagerVersion(NULL);
8729 return 0;
8731 _ACEOF
8732 if ac_fn_c_try_link "$LINENO"; then :
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8734 $as_echo "yes" >&6; }
8735 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8737 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8738 else
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8740 $as_echo "no" >&6; }
8741 ac_cv_header_QuickTime_ImageCompression_h=no
8743 rm -f core conftest.err conftest.$ac_objext \
8744 conftest$ac_exeext conftest.$ac_ext
8745 LIBS="$ac_save_LIBS"
8747 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8748 then
8749 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8751 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8752 then
8753 CARBON_LIBS="-framework Carbon"
8756 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8757 then
8758 METAL_LIBS="-framework Metal -framework QuartzCore"
8762 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8763 then
8764 ac_save_LIBS="$LIBS"
8765 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8766 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8767 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8768 enable_winemac_drv=${enable_winemac_drv:-yes}
8771 LIBS="$ac_save_LIBS"
8774 if test "x$enable_win16" = "xyes"
8775 then
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8777 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8778 if test "$cross_compiling" = yes; then :
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8780 $as_echo "cross-compiling, assuming yes" >&6; }
8781 else
8782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8783 /* end confdefs.h. */
8784 asm(".text\n"
8785 "bad:\tnop;nop\n"
8786 "good:\tnop;nop\n\t"
8787 ".globl _testfunc\n"
8788 "_testfunc:\tcallw good");
8789 extern void testfunc();
8791 main ()
8793 unsigned short *p = (unsigned short *)testfunc;
8794 return p[0] != 0xe866 || p[1] != 0xfffa
8796 return 0;
8798 _ACEOF
8799 if ac_fn_c_try_run "$LINENO"; then :
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8801 $as_echo "yes" >&6; }
8802 else
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8804 $as_echo "no" >&6; }
8805 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
8807 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8808 conftest.$ac_objext conftest.beam conftest.$ac_ext
8813 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8815 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8817 LIBWINE_INSTALL_DEV="libwine.dylib"
8819 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8821 WINELOADER_DEPENDS="wine_info.plist"
8825 linux-android*)
8826 DLLFLAGS="$DLLFLAGS -fPIC"
8827 LDEXECFLAGS="-Wl,-pie"
8828 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8830 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8831 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8832 $as_echo_n "(cached) " >&6
8833 else
8834 ac_wine_try_cflags_saved=$CFLAGS
8835 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8837 /* end confdefs.h. */
8838 int main(int argc, char **argv) { return 0; }
8839 _ACEOF
8840 if ac_fn_c_try_link "$LINENO"; then :
8841 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8842 else
8843 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8845 rm -f core conftest.err conftest.$ac_objext \
8846 conftest$ac_exeext conftest.$ac_ext
8847 CFLAGS=$ac_wine_try_cflags_saved
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8850 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8851 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8852 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8854 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8856 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8857 if eval \${$as_ac_var+:} false; then :
8858 $as_echo_n "(cached) " >&6
8859 else
8860 ac_wine_try_cflags_saved=$CFLAGS
8861 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8864 int main(int argc, char **argv) { return 0; }
8865 _ACEOF
8866 if ac_fn_c_try_link "$LINENO"; then :
8867 eval "$as_ac_var=yes"
8868 else
8869 eval "$as_ac_var=no"
8871 rm -f core conftest.err conftest.$ac_objext \
8872 conftest$ac_exeext conftest.$ac_ext
8873 CFLAGS=$ac_wine_try_cflags_saved
8875 eval ac_res=\$$as_ac_var
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8877 $as_echo "$ac_res" >&6; }
8878 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8879 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8880 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8881 else
8882 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8884 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8885 if eval \${$as_ac_var+:} false; then :
8886 $as_echo_n "(cached) " >&6
8887 else
8888 ac_wine_try_cflags_saved=$CFLAGS
8889 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8892 int main(int argc, char **argv) { return 0; }
8893 _ACEOF
8894 if ac_fn_c_try_link "$LINENO"; then :
8895 eval "$as_ac_var=yes"
8896 else
8897 eval "$as_ac_var=no"
8899 rm -f core conftest.err conftest.$ac_objext \
8900 conftest$ac_exeext conftest.$ac_ext
8901 CFLAGS=$ac_wine_try_cflags_saved
8903 eval ac_res=\$$as_ac_var
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8905 $as_echo "$ac_res" >&6; }
8906 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8907 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8908 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8912 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8913 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8914 $as_echo_n "(cached) " >&6
8915 else
8916 ac_wine_try_cflags_saved=$CFLAGS
8917 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8919 /* end confdefs.h. */
8920 int main(int argc, char **argv) { return 0; }
8921 _ACEOF
8922 if ac_fn_c_try_link "$LINENO"; then :
8923 ac_cv_cflags__Wl___enable_new_dtags=yes
8924 else
8925 ac_cv_cflags__Wl___enable_new_dtags=no
8927 rm -f core conftest.err conftest.$ac_objext \
8928 conftest$ac_exeext conftest.$ac_ext
8929 CFLAGS=$ac_wine_try_cflags_saved
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8932 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8933 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8934 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8937 LIBWINE_SHAREDLIB="libwine.so"
8939 LIBWINE_INSTALL_LIB="libwine.so"
8941 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8945 $as_echo_n "checking for -lEGL... " >&6; }
8946 if ${ac_cv_lib_soname_EGL+:} false; then :
8947 $as_echo_n "(cached) " >&6
8948 else
8949 ac_check_soname_save_LIBS=$LIBS
8950 LIBS="-lEGL $LIBS"
8951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8952 /* end confdefs.h. */
8954 /* Override any GCC internal prototype to avoid an error.
8955 Use char because int might match the return type of a GCC
8956 builtin and then its argument prototype would still apply. */
8957 #ifdef __cplusplus
8958 extern "C"
8959 #endif
8960 char eglGetProcAddress ();
8962 main ()
8964 return eglGetProcAddress ();
8966 return 0;
8968 _ACEOF
8969 if ac_fn_c_try_link "$LINENO"; then :
8970 case "$LIBEXT" in
8971 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8972 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'` ;;
8973 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8974 if ${ac_cv_lib_soname_EGL:+false} :; then :
8975 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8976 fi ;;
8977 esac
8979 rm -f core conftest.err conftest.$ac_objext \
8980 conftest$ac_exeext conftest.$ac_ext
8981 LIBS=$ac_check_soname_save_LIBS
8983 if ${ac_cv_lib_soname_EGL:+false} :; then :
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8985 $as_echo "not found" >&6; }
8987 else
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8989 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8991 cat >>confdefs.h <<_ACEOF
8992 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8993 _ACEOF
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8998 $as_echo_n "checking for -lGLESv2... " >&6; }
8999 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9000 $as_echo_n "(cached) " >&6
9001 else
9002 ac_check_soname_save_LIBS=$LIBS
9003 LIBS="-lGLESv2 $LIBS"
9004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9007 /* Override any GCC internal prototype to avoid an error.
9008 Use char because int might match the return type of a GCC
9009 builtin and then its argument prototype would still apply. */
9010 #ifdef __cplusplus
9011 extern "C"
9012 #endif
9013 char glFlush ();
9015 main ()
9017 return glFlush ();
9019 return 0;
9021 _ACEOF
9022 if ac_fn_c_try_link "$LINENO"; then :
9023 case "$LIBEXT" in
9024 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9025 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'` ;;
9026 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9027 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9028 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9029 fi ;;
9030 esac
9032 rm -f core conftest.err conftest.$ac_objext \
9033 conftest$ac_exeext conftest.$ac_ext
9034 LIBS=$ac_check_soname_save_LIBS
9036 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9038 $as_echo "not found" >&6; }
9040 else
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9042 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9044 cat >>confdefs.h <<_ACEOF
9045 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9046 _ACEOF
9051 if test "x$exec_prefix" = xNONE
9052 then
9053 case $host_cpu in
9054 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9055 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9056 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9057 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9058 esac
9063 DLLFLAGS="$DLLFLAGS -fPIC"
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9065 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9066 if ${ac_cv_c_dll_gnuelf+:} false; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 ac_wine_try_cflags_saved=$CFLAGS
9070 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9073 void myfunc() {}
9074 _ACEOF
9075 if ac_fn_c_try_link "$LINENO"; then :
9076 ac_cv_c_dll_gnuelf="yes"
9077 else
9078 ac_cv_c_dll_gnuelf="no"
9080 rm -f core conftest.err conftest.$ac_objext \
9081 conftest$ac_exeext conftest.$ac_ext
9082 CFLAGS=$ac_wine_try_cflags_saved
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9085 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9086 if test "$ac_cv_c_dll_gnuelf" = "yes"
9087 then
9088 LIBWINE_LDFLAGS="-shared"
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9090 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9091 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9092 $as_echo_n "(cached) " >&6
9093 else
9094 ac_wine_try_cflags_saved=$CFLAGS
9095 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */
9098 int main(int argc, char **argv) { return 0; }
9099 _ACEOF
9100 if ac_fn_c_try_link "$LINENO"; then :
9101 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9102 else
9103 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9105 rm -f core conftest.err conftest.$ac_objext \
9106 conftest$ac_exeext conftest.$ac_ext
9107 CFLAGS=$ac_wine_try_cflags_saved
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9110 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9111 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9112 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9113 else
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9115 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9116 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9117 $as_echo_n "(cached) " >&6
9118 else
9119 ac_wine_try_cflags_saved=$CFLAGS
9120 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9122 /* end confdefs.h. */
9123 int main(int argc, char **argv) { return 0; }
9124 _ACEOF
9125 if ac_fn_c_try_link "$LINENO"; then :
9126 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9127 else
9128 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9130 rm -f core conftest.err conftest.$ac_objext \
9131 conftest$ac_exeext conftest.$ac_ext
9132 CFLAGS=$ac_wine_try_cflags_saved
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9135 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9136 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9137 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9141 echo '{ global: *; };' >conftest.map
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9143 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9144 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9145 $as_echo_n "(cached) " >&6
9146 else
9147 ac_wine_try_cflags_saved=$CFLAGS
9148 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9151 int main(int argc, char **argv) { return 0; }
9152 _ACEOF
9153 if ac_fn_c_try_link "$LINENO"; then :
9154 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9155 else
9156 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9158 rm -f core conftest.err conftest.$ac_objext \
9159 conftest$ac_exeext conftest.$ac_ext
9160 CFLAGS=$ac_wine_try_cflags_saved
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9163 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9164 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9165 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9167 rm -f conftest.map
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9170 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9171 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9172 $as_echo_n "(cached) " >&6
9173 else
9174 ac_wine_try_cflags_saved=$CFLAGS
9175 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9178 int main(int argc, char **argv) { return 0; }
9179 _ACEOF
9180 if ac_fn_c_try_link "$LINENO"; then :
9181 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9182 else
9183 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9185 rm -f core conftest.err conftest.$ac_objext \
9186 conftest$ac_exeext conftest.$ac_ext
9187 CFLAGS=$ac_wine_try_cflags_saved
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9190 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9191 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9192 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9195 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9197 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9198 if eval \${$as_ac_var+:} false; then :
9199 $as_echo_n "(cached) " >&6
9200 else
9201 ac_wine_try_cflags_saved=$CFLAGS
9202 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9205 int main(int argc, char **argv) { return 0; }
9206 _ACEOF
9207 if ac_fn_c_try_link "$LINENO"; then :
9208 eval "$as_ac_var=yes"
9209 else
9210 eval "$as_ac_var=no"
9212 rm -f core conftest.err conftest.$ac_objext \
9213 conftest$ac_exeext conftest.$ac_ext
9214 CFLAGS=$ac_wine_try_cflags_saved
9216 eval ac_res=\$$as_ac_var
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9218 $as_echo "$ac_res" >&6; }
9219 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9220 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9221 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9222 else
9223 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9225 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9226 if eval \${$as_ac_var+:} false; then :
9227 $as_echo_n "(cached) " >&6
9228 else
9229 ac_wine_try_cflags_saved=$CFLAGS
9230 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9233 int main(int argc, char **argv) { return 0; }
9234 _ACEOF
9235 if ac_fn_c_try_link "$LINENO"; then :
9236 eval "$as_ac_var=yes"
9237 else
9238 eval "$as_ac_var=no"
9240 rm -f core conftest.err conftest.$ac_objext \
9241 conftest$ac_exeext conftest.$ac_ext
9242 CFLAGS=$ac_wine_try_cflags_saved
9244 eval ac_res=\$$as_ac_var
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9246 $as_echo "$ac_res" >&6; }
9247 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9248 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9249 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9254 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9255 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9256 $as_echo_n "(cached) " >&6
9257 else
9258 ac_wine_try_cflags_saved=$CFLAGS
9259 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9261 /* end confdefs.h. */
9262 int main(int argc, char **argv) { return 0; }
9263 _ACEOF
9264 if ac_fn_c_try_link "$LINENO"; then :
9265 ac_cv_cflags__Wl___enable_new_dtags=yes
9266 else
9267 ac_cv_cflags__Wl___enable_new_dtags=no
9269 rm -f core conftest.err conftest.$ac_objext \
9270 conftest$ac_exeext conftest.$ac_ext
9271 CFLAGS=$ac_wine_try_cflags_saved
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9274 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9275 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9276 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9279 case $host_cpu in
9280 *i[3456789]86* | x86_64 | *aarch64*)
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9282 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9283 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9284 $as_echo_n "(cached) " >&6
9285 else
9286 ac_wine_try_cflags_saved=$CFLAGS
9287 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9289 /* end confdefs.h. */
9290 int main(int argc, char **argv) { return 0; }
9291 _ACEOF
9292 if ac_fn_c_try_link "$LINENO"; then :
9293 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9294 else
9295 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9297 rm -f core conftest.err conftest.$ac_objext \
9298 conftest$ac_exeext conftest.$ac_ext
9299 CFLAGS=$ac_wine_try_cflags_saved
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9302 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9303 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9304 case $host_os in
9305 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9306 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9307 esac
9308 else
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9310 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9311 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9312 $as_echo_n "(cached) " >&6
9313 else
9314 ac_wine_try_cflags_saved=$CFLAGS
9315 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9318 int main(int argc, char **argv) { return 0; }
9319 _ACEOF
9320 if ac_fn_c_try_link "$LINENO"; then :
9321 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9322 else
9323 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9325 rm -f core conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 CFLAGS=$ac_wine_try_cflags_saved
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9330 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9331 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9332 case $host_os in
9333 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9334 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9335 esac
9337 # Extract the first word of "prelink", so it can be a program name with args.
9338 set dummy prelink; ac_word=$2
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9340 $as_echo_n "checking for $ac_word... " >&6; }
9341 if ${ac_cv_path_PRELINK+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 case $PRELINK in
9345 [\\/]* | ?:[\\/]*)
9346 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9350 for as_dir in /sbin /usr/sbin $PATH
9352 IFS=$as_save_IFS
9353 test -z "$as_dir" && as_dir=.
9354 for ac_exec_ext in '' $ac_executable_extensions; do
9355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9356 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9358 break 2
9360 done
9361 done
9362 IFS=$as_save_IFS
9364 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9366 esac
9368 PRELINK=$ac_cv_path_PRELINK
9369 if test -n "$PRELINK"; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9371 $as_echo "$PRELINK" >&6; }
9372 else
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9374 $as_echo "no" >&6; }
9378 if test "x$PRELINK" = xfalse
9379 then
9380 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9384 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9385 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9386 $as_echo_n "(cached) " >&6
9387 else
9388 ac_wine_try_cflags_saved=$CFLAGS
9389 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9392 int main(int argc, char **argv) { return 0; }
9393 _ACEOF
9394 if ac_fn_c_try_link "$LINENO"; then :
9395 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9396 else
9397 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9399 rm -f core conftest.err conftest.$ac_objext \
9400 conftest$ac_exeext conftest.$ac_ext
9401 CFLAGS=$ac_wine_try_cflags_saved
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9404 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9405 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9406 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9409 esac
9411 else
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9413 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9414 if ${ac_cv_c_dll_unixware+:} false; then :
9415 $as_echo_n "(cached) " >&6
9416 else
9417 ac_wine_try_cflags_saved=$CFLAGS
9418 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9421 void myfunc() {}
9422 _ACEOF
9423 if ac_fn_c_try_link "$LINENO"; then :
9424 ac_cv_c_dll_unixware="yes"
9425 else
9426 ac_cv_c_dll_unixware="no"
9428 rm -f core conftest.err conftest.$ac_objext \
9429 conftest$ac_exeext conftest.$ac_ext
9430 CFLAGS=$ac_wine_try_cflags_saved
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9433 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9434 if test "$ac_cv_c_dll_unixware" = "yes"
9435 then
9436 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9439 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9441 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9443 LIBWINE_INSTALL_DEV="libwine.so"
9445 LIBWINE_DEPENDS="wine.map"
9448 esac
9450 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9451 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9452 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9453 enable_winemac_drv=${enable_winemac_drv:-no}
9454 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9456 CROSSTARGET=""
9458 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9459 then
9460 case "$host_cpu" in
9461 aarch64*)
9462 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9463 arm*)
9464 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9465 i[3456789]86*)
9466 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
9467 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9468 mingw32-gcc" ;;
9469 x86_64)
9470 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
9471 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9473 ac_prefix_list="" ;;
9474 esac
9475 for ac_prog in $ac_prefix_list
9477 # Extract the first word of "$ac_prog", so it can be a program name with args.
9478 set dummy $ac_prog; ac_word=$2
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9480 $as_echo_n "checking for $ac_word... " >&6; }
9481 if ${ac_cv_prog_CROSSCC+:} false; then :
9482 $as_echo_n "(cached) " >&6
9483 else
9484 if test -n "$CROSSCC"; then
9485 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9486 else
9487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9488 for as_dir in $PATH
9490 IFS=$as_save_IFS
9491 test -z "$as_dir" && as_dir=.
9492 for ac_exec_ext in '' $ac_executable_extensions; do
9493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9494 ac_cv_prog_CROSSCC="$ac_prog"
9495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9496 break 2
9498 done
9499 done
9500 IFS=$as_save_IFS
9504 CROSSCC=$ac_cv_prog_CROSSCC
9505 if test -n "$CROSSCC"; then
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9507 $as_echo "$CROSSCC" >&6; }
9508 else
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9510 $as_echo "no" >&6; }
9514 test -n "$CROSSCC" && break
9515 done
9516 test -n "$CROSSCC" || CROSSCC="false"
9518 if test "$CROSSCC" != "false"
9519 then
9520 ac_save_CC="$CC"
9521 CC="$CROSSCC"
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9523 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9528 main ()
9532 return 0;
9534 _ACEOF
9535 if ac_fn_c_try_compile "$LINENO"; then :
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9537 $as_echo "yes" >&6; }
9538 set x $CROSSCC
9539 shift
9540 while test $# -ge 1
9542 case "$1" in
9543 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9544 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9545 esac
9546 shift
9547 done
9548 else
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9550 $as_echo "no" >&6; }
9552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9553 CC="$ac_save_CC"
9554 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9560 if test "$ac_cv_header_pthread_h" = "yes"
9561 then
9562 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9563 if test "x$ac_cv_func_pthread_create" = xyes; then :
9565 else
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9567 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9568 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9569 $as_echo_n "(cached) " >&6
9570 else
9571 ac_check_lib_save_LIBS=$LIBS
9572 LIBS="-lpthread $LIBS"
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9576 /* Override any GCC internal prototype to avoid an error.
9577 Use char because int might match the return type of a GCC
9578 builtin and then its argument prototype would still apply. */
9579 #ifdef __cplusplus
9580 extern "C"
9581 #endif
9582 char pthread_create ();
9584 main ()
9586 return pthread_create ();
9588 return 0;
9590 _ACEOF
9591 if ac_fn_c_try_link "$LINENO"; then :
9592 ac_cv_lib_pthread_pthread_create=yes
9593 else
9594 ac_cv_lib_pthread_pthread_create=no
9596 rm -f core conftest.err conftest.$ac_objext \
9597 conftest$ac_exeext conftest.$ac_ext
9598 LIBS=$ac_check_lib_save_LIBS
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9601 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9602 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9603 PTHREAD_LIBS="-lpthread"
9610 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9611 case "x$with_pthread" in
9612 xno) ;;
9613 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9614 Wine cannot support threads without libpthread.
9615 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9616 esac
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9622 $as_echo_n "checking for X... " >&6; }
9625 # Check whether --with-x was given.
9626 if test "${with_x+set}" = set; then :
9627 withval=$with_x;
9630 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9631 if test "x$with_x" = xno; then
9632 # The user explicitly disabled X.
9633 have_x=disabled
9634 else
9635 case $x_includes,$x_libraries in #(
9636 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9637 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 # One or both of the vars are not set, and there is no cached value.
9641 ac_x_includes=no ac_x_libraries=no
9642 rm -f -r conftest.dir
9643 if mkdir conftest.dir; then
9644 cd conftest.dir
9645 cat >Imakefile <<'_ACEOF'
9646 incroot:
9647 @echo incroot='${INCROOT}'
9648 usrlibdir:
9649 @echo usrlibdir='${USRLIBDIR}'
9650 libdir:
9651 @echo libdir='${LIBDIR}'
9652 _ACEOF
9653 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9654 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9655 for ac_var in incroot usrlibdir libdir; do
9656 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9657 done
9658 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9659 for ac_extension in a so sl dylib la dll; do
9660 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9661 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9662 ac_im_usrlibdir=$ac_im_libdir; break
9664 done
9665 # Screen out bogus values from the imake configuration. They are
9666 # bogus both because they are the default anyway, and because
9667 # using them would break gcc on systems where it needs fixed includes.
9668 case $ac_im_incroot in
9669 /usr/include) ac_x_includes= ;;
9670 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9671 esac
9672 case $ac_im_usrlibdir in
9673 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9674 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9675 esac
9677 cd ..
9678 rm -f -r conftest.dir
9681 # Standard set of common directories for X headers.
9682 # Check X11 before X11Rn because it is often a symlink to the current release.
9683 ac_x_header_dirs='
9684 /usr/X11/include
9685 /usr/X11R7/include
9686 /usr/X11R6/include
9687 /usr/X11R5/include
9688 /usr/X11R4/include
9690 /usr/include/X11
9691 /usr/include/X11R7
9692 /usr/include/X11R6
9693 /usr/include/X11R5
9694 /usr/include/X11R4
9696 /usr/local/X11/include
9697 /usr/local/X11R7/include
9698 /usr/local/X11R6/include
9699 /usr/local/X11R5/include
9700 /usr/local/X11R4/include
9702 /usr/local/include/X11
9703 /usr/local/include/X11R7
9704 /usr/local/include/X11R6
9705 /usr/local/include/X11R5
9706 /usr/local/include/X11R4
9708 /usr/X386/include
9709 /usr/x386/include
9710 /usr/XFree86/include/X11
9712 /usr/include
9713 /usr/local/include
9714 /usr/unsupported/include
9715 /usr/athena/include
9716 /usr/local/x11r5/include
9717 /usr/lpp/Xamples/include
9719 /usr/openwin/include
9720 /usr/openwin/share/include'
9722 if test "$ac_x_includes" = no; then
9723 # Guess where to find include files, by looking for Xlib.h.
9724 # First, try using that file with no special directory specified.
9725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9726 /* end confdefs.h. */
9727 #include <X11/Xlib.h>
9728 _ACEOF
9729 if ac_fn_c_try_cpp "$LINENO"; then :
9730 # We can compile using X headers with no special include directory.
9731 ac_x_includes=
9732 else
9733 for ac_dir in $ac_x_header_dirs; do
9734 if test -r "$ac_dir/X11/Xlib.h"; then
9735 ac_x_includes=$ac_dir
9736 break
9738 done
9740 rm -f conftest.err conftest.i conftest.$ac_ext
9741 fi # $ac_x_includes = no
9743 if test "$ac_x_libraries" = no; then
9744 # Check for the libraries.
9745 # See if we find them without any special options.
9746 # Don't add to $LIBS permanently.
9747 ac_save_LIBS=$LIBS
9748 LIBS="-lX11 $LIBS"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9751 #include <X11/Xlib.h>
9753 main ()
9755 XrmInitialize ()
9757 return 0;
9759 _ACEOF
9760 if ac_fn_c_try_link "$LINENO"; then :
9761 LIBS=$ac_save_LIBS
9762 # We can link X programs with no special library path.
9763 ac_x_libraries=
9764 else
9765 LIBS=$ac_save_LIBS
9766 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9768 # Don't even attempt the hair of trying to link an X program!
9769 for ac_extension in a so sl dylib la dll; do
9770 if test -r "$ac_dir/libX11.$ac_extension"; then
9771 ac_x_libraries=$ac_dir
9772 break 2
9774 done
9775 done
9777 rm -f core conftest.err conftest.$ac_objext \
9778 conftest$ac_exeext conftest.$ac_ext
9779 fi # $ac_x_libraries = no
9781 case $ac_x_includes,$ac_x_libraries in #(
9782 no,* | *,no | *\'*)
9783 # Didn't find X, or a directory has "'" in its name.
9784 ac_cv_have_x="have_x=no";; #(
9786 # Record where we found X for the cache.
9787 ac_cv_have_x="have_x=yes\
9788 ac_x_includes='$ac_x_includes'\
9789 ac_x_libraries='$ac_x_libraries'"
9790 esac
9792 ;; #(
9793 *) have_x=yes;;
9794 esac
9795 eval "$ac_cv_have_x"
9796 fi # $with_x != no
9798 if test "$have_x" != yes; then
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9800 $as_echo "$have_x" >&6; }
9801 no_x=yes
9802 else
9803 # If each of the values was on the command line, it overrides each guess.
9804 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9805 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9806 # Update the cache value to reflect the command line values.
9807 ac_cv_have_x="have_x=yes\
9808 ac_x_includes='$x_includes'\
9809 ac_x_libraries='$x_libraries'"
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9811 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9814 if test "$no_x" = yes; then
9815 # Not all programs may use this symbol, but it does not hurt to define it.
9817 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9819 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9820 else
9821 if test -n "$x_includes"; then
9822 X_CFLAGS="$X_CFLAGS -I$x_includes"
9825 # It would also be nice to do this for all -L options, not just this one.
9826 if test -n "$x_libraries"; then
9827 X_LIBS="$X_LIBS -L$x_libraries"
9828 # For Solaris; some versions of Sun CC require a space after -R and
9829 # others require no space. Words are not sufficient . . . .
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9831 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9832 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9833 ac_xsave_c_werror_flag=$ac_c_werror_flag
9834 ac_c_werror_flag=yes
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9839 main ()
9843 return 0;
9845 _ACEOF
9846 if ac_fn_c_try_link "$LINENO"; then :
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9848 $as_echo "no" >&6; }
9849 X_LIBS="$X_LIBS -R$x_libraries"
9850 else
9851 LIBS="$ac_xsave_LIBS -R $x_libraries"
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9856 main ()
9860 return 0;
9862 _ACEOF
9863 if ac_fn_c_try_link "$LINENO"; then :
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9865 $as_echo "yes" >&6; }
9866 X_LIBS="$X_LIBS -R $x_libraries"
9867 else
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9869 $as_echo "neither works" >&6; }
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9874 rm -f core conftest.err conftest.$ac_objext \
9875 conftest$ac_exeext conftest.$ac_ext
9876 ac_c_werror_flag=$ac_xsave_c_werror_flag
9877 LIBS=$ac_xsave_LIBS
9880 # Check for system-dependent libraries X programs must link with.
9881 # Do this before checking for the system-independent R6 libraries
9882 # (-lICE), since we may need -lsocket or whatever for X linking.
9884 if test "$ISC" = yes; then
9885 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9886 else
9887 # Martyn Johnson says this is needed for Ultrix, if the X
9888 # libraries were built with DECnet support. And Karl Berry says
9889 # the Alpha needs dnet_stub (dnet does not exist).
9890 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9897 #ifdef __cplusplus
9898 extern "C"
9899 #endif
9900 char XOpenDisplay ();
9902 main ()
9904 return XOpenDisplay ();
9906 return 0;
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9911 else
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9913 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9914 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9915 $as_echo_n "(cached) " >&6
9916 else
9917 ac_check_lib_save_LIBS=$LIBS
9918 LIBS="-ldnet $LIBS"
9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9922 /* Override any GCC internal prototype to avoid an error.
9923 Use char because int might match the return type of a GCC
9924 builtin and then its argument prototype would still apply. */
9925 #ifdef __cplusplus
9926 extern "C"
9927 #endif
9928 char dnet_ntoa ();
9930 main ()
9932 return dnet_ntoa ();
9934 return 0;
9936 _ACEOF
9937 if ac_fn_c_try_link "$LINENO"; then :
9938 ac_cv_lib_dnet_dnet_ntoa=yes
9939 else
9940 ac_cv_lib_dnet_dnet_ntoa=no
9942 rm -f core conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 LIBS=$ac_check_lib_save_LIBS
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9947 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9948 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9949 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9952 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9954 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9955 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9956 $as_echo_n "(cached) " >&6
9957 else
9958 ac_check_lib_save_LIBS=$LIBS
9959 LIBS="-ldnet_stub $LIBS"
9960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9963 /* Override any GCC internal prototype to avoid an error.
9964 Use char because int might match the return type of a GCC
9965 builtin and then its argument prototype would still apply. */
9966 #ifdef __cplusplus
9967 extern "C"
9968 #endif
9969 char dnet_ntoa ();
9971 main ()
9973 return dnet_ntoa ();
9975 return 0;
9977 _ACEOF
9978 if ac_fn_c_try_link "$LINENO"; then :
9979 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9980 else
9981 ac_cv_lib_dnet_stub_dnet_ntoa=no
9983 rm -f core conftest.err conftest.$ac_objext \
9984 conftest$ac_exeext conftest.$ac_ext
9985 LIBS=$ac_check_lib_save_LIBS
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9988 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9989 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9990 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9995 rm -f core conftest.err conftest.$ac_objext \
9996 conftest$ac_exeext conftest.$ac_ext
9997 LIBS="$ac_xsave_LIBS"
9999 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10000 # to get the SysV transport functions.
10001 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10002 # needs -lnsl.
10003 # The nsl library prevents programs from opening the X display
10004 # on Irix 5.2, according to T.E. Dickey.
10005 # The functions gethostbyname, getservbyname, and inet_addr are
10006 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10007 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10008 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10012 if test $ac_cv_func_gethostbyname = no; then
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10014 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10015 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10016 $as_echo_n "(cached) " >&6
10017 else
10018 ac_check_lib_save_LIBS=$LIBS
10019 LIBS="-lnsl $LIBS"
10020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10021 /* end confdefs.h. */
10023 /* Override any GCC internal prototype to avoid an error.
10024 Use char because int might match the return type of a GCC
10025 builtin and then its argument prototype would still apply. */
10026 #ifdef __cplusplus
10027 extern "C"
10028 #endif
10029 char gethostbyname ();
10031 main ()
10033 return gethostbyname ();
10035 return 0;
10037 _ACEOF
10038 if ac_fn_c_try_link "$LINENO"; then :
10039 ac_cv_lib_nsl_gethostbyname=yes
10040 else
10041 ac_cv_lib_nsl_gethostbyname=no
10043 rm -f core conftest.err conftest.$ac_objext \
10044 conftest$ac_exeext conftest.$ac_ext
10045 LIBS=$ac_check_lib_save_LIBS
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10048 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10049 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10050 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10053 if test $ac_cv_lib_nsl_gethostbyname = no; then
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10055 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10056 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_check_lib_save_LIBS=$LIBS
10060 LIBS="-lbsd $LIBS"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10067 #ifdef __cplusplus
10068 extern "C"
10069 #endif
10070 char gethostbyname ();
10072 main ()
10074 return gethostbyname ();
10076 return 0;
10078 _ACEOF
10079 if ac_fn_c_try_link "$LINENO"; then :
10080 ac_cv_lib_bsd_gethostbyname=yes
10081 else
10082 ac_cv_lib_bsd_gethostbyname=no
10084 rm -f core conftest.err conftest.$ac_objext \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10089 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10090 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10091 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10097 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10098 # socket/setsockopt and other routines are undefined under SCO ODT
10099 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10100 # on later versions), says Simon Leinen: it contains gethostby*
10101 # variants that don't use the name server (or something). -lsocket
10102 # must be given before -lnsl if both are needed. We assume that
10103 # if connect needs -lnsl, so does gethostbyname.
10104 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10105 if test "x$ac_cv_func_connect" = xyes; then :
10109 if test $ac_cv_func_connect = no; then
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10111 $as_echo_n "checking for connect in -lsocket... " >&6; }
10112 if ${ac_cv_lib_socket_connect+:} false; then :
10113 $as_echo_n "(cached) " >&6
10114 else
10115 ac_check_lib_save_LIBS=$LIBS
10116 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10118 /* end confdefs.h. */
10120 /* Override any GCC internal prototype to avoid an error.
10121 Use char because int might match the return type of a GCC
10122 builtin and then its argument prototype would still apply. */
10123 #ifdef __cplusplus
10124 extern "C"
10125 #endif
10126 char connect ();
10128 main ()
10130 return connect ();
10132 return 0;
10134 _ACEOF
10135 if ac_fn_c_try_link "$LINENO"; then :
10136 ac_cv_lib_socket_connect=yes
10137 else
10138 ac_cv_lib_socket_connect=no
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 LIBS=$ac_check_lib_save_LIBS
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10145 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10146 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10147 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10152 # Guillermo Gomez says -lposix is necessary on A/UX.
10153 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10154 if test "x$ac_cv_func_remove" = xyes; then :
10158 if test $ac_cv_func_remove = no; then
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10160 $as_echo_n "checking for remove in -lposix... " >&6; }
10161 if ${ac_cv_lib_posix_remove+:} false; then :
10162 $as_echo_n "(cached) " >&6
10163 else
10164 ac_check_lib_save_LIBS=$LIBS
10165 LIBS="-lposix $LIBS"
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10169 /* Override any GCC internal prototype to avoid an error.
10170 Use char because int might match the return type of a GCC
10171 builtin and then its argument prototype would still apply. */
10172 #ifdef __cplusplus
10173 extern "C"
10174 #endif
10175 char remove ();
10177 main ()
10179 return remove ();
10181 return 0;
10183 _ACEOF
10184 if ac_fn_c_try_link "$LINENO"; then :
10185 ac_cv_lib_posix_remove=yes
10186 else
10187 ac_cv_lib_posix_remove=no
10189 rm -f core conftest.err conftest.$ac_objext \
10190 conftest$ac_exeext conftest.$ac_ext
10191 LIBS=$ac_check_lib_save_LIBS
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10194 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10195 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10196 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10201 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10202 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10203 if test "x$ac_cv_func_shmat" = xyes; then :
10207 if test $ac_cv_func_shmat = no; then
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10209 $as_echo_n "checking for shmat in -lipc... " >&6; }
10210 if ${ac_cv_lib_ipc_shmat+:} false; then :
10211 $as_echo_n "(cached) " >&6
10212 else
10213 ac_check_lib_save_LIBS=$LIBS
10214 LIBS="-lipc $LIBS"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10218 /* Override any GCC internal prototype to avoid an error.
10219 Use char because int might match the return type of a GCC
10220 builtin and then its argument prototype would still apply. */
10221 #ifdef __cplusplus
10222 extern "C"
10223 #endif
10224 char shmat ();
10226 main ()
10228 return shmat ();
10230 return 0;
10232 _ACEOF
10233 if ac_fn_c_try_link "$LINENO"; then :
10234 ac_cv_lib_ipc_shmat=yes
10235 else
10236 ac_cv_lib_ipc_shmat=no
10238 rm -f core conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240 LIBS=$ac_check_lib_save_LIBS
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10243 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10244 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10245 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10251 # Check for libraries that X11R6 Xt/Xaw programs need.
10252 ac_save_LDFLAGS=$LDFLAGS
10253 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10254 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10255 # check for ICE first), but we must link in the order -lSM -lICE or
10256 # we get undefined symbols. So assume we have SM if we have ICE.
10257 # These have to be linked with before -lX11, unlike the other
10258 # libraries we check for below, so use a different variable.
10259 # John Interrante, Karl Berry
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10261 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10262 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10263 $as_echo_n "(cached) " >&6
10264 else
10265 ac_check_lib_save_LIBS=$LIBS
10266 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10270 /* Override any GCC internal prototype to avoid an error.
10271 Use char because int might match the return type of a GCC
10272 builtin and then its argument prototype would still apply. */
10273 #ifdef __cplusplus
10274 extern "C"
10275 #endif
10276 char IceConnectionNumber ();
10278 main ()
10280 return IceConnectionNumber ();
10282 return 0;
10284 _ACEOF
10285 if ac_fn_c_try_link "$LINENO"; then :
10286 ac_cv_lib_ICE_IceConnectionNumber=yes
10287 else
10288 ac_cv_lib_ICE_IceConnectionNumber=no
10290 rm -f core conftest.err conftest.$ac_objext \
10291 conftest$ac_exeext conftest.$ac_ext
10292 LIBS=$ac_check_lib_save_LIBS
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10295 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10296 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10297 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10300 LDFLAGS=$ac_save_LDFLAGS
10305 if test "$have_x" = "yes"
10306 then
10307 ac_save_CPPFLAGS="$CPPFLAGS"
10308 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10311 $as_echo_n "checking for -lX11... " >&6; }
10312 if ${ac_cv_lib_soname_X11+:} false; then :
10313 $as_echo_n "(cached) " >&6
10314 else
10315 ac_check_soname_save_LIBS=$LIBS
10316 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10320 /* Override any GCC internal prototype to avoid an error.
10321 Use char because int might match the return type of a GCC
10322 builtin and then its argument prototype would still apply. */
10323 #ifdef __cplusplus
10324 extern "C"
10325 #endif
10326 char XCreateWindow ();
10328 main ()
10330 return XCreateWindow ();
10332 return 0;
10334 _ACEOF
10335 if ac_fn_c_try_link "$LINENO"; then :
10336 case "$LIBEXT" in
10337 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10338 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'` ;;
10339 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10340 if ${ac_cv_lib_soname_X11:+false} :; then :
10341 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10342 fi ;;
10343 esac
10345 rm -f core conftest.err conftest.$ac_objext \
10346 conftest$ac_exeext conftest.$ac_ext
10347 LIBS=$ac_check_soname_save_LIBS
10349 if ${ac_cv_lib_soname_X11:+false} :; then :
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10351 $as_echo "not found" >&6; }
10353 else
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10355 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10357 cat >>confdefs.h <<_ACEOF
10358 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10359 _ACEOF
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10364 $as_echo_n "checking for -lXext... " >&6; }
10365 if ${ac_cv_lib_soname_Xext+:} false; then :
10366 $as_echo_n "(cached) " >&6
10367 else
10368 ac_check_soname_save_LIBS=$LIBS
10369 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10373 /* Override any GCC internal prototype to avoid an error.
10374 Use char because int might match the return type of a GCC
10375 builtin and then its argument prototype would still apply. */
10376 #ifdef __cplusplus
10377 extern "C"
10378 #endif
10379 char XextCreateExtension ();
10381 main ()
10383 return XextCreateExtension ();
10385 return 0;
10387 _ACEOF
10388 if ac_fn_c_try_link "$LINENO"; then :
10389 case "$LIBEXT" in
10390 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10391 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'` ;;
10392 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10393 if ${ac_cv_lib_soname_Xext:+false} :; then :
10394 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10395 fi ;;
10396 esac
10398 rm -f core conftest.err conftest.$ac_objext \
10399 conftest$ac_exeext conftest.$ac_ext
10400 LIBS=$ac_check_soname_save_LIBS
10402 if ${ac_cv_lib_soname_Xext:+false} :; then :
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10404 $as_echo "not found" >&6; }
10406 else
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10408 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10410 cat >>confdefs.h <<_ACEOF
10411 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10412 _ACEOF
10414 X_LIBS="$X_LIBS -lXext"
10416 X_LIBS="$X_LIBS -lX11"
10418 for ac_header in X11/Xlib.h \
10419 X11/XKBlib.h \
10420 X11/Xutil.h \
10421 X11/Xcursor/Xcursor.h \
10422 X11/extensions/shape.h \
10423 X11/extensions/XInput.h \
10424 X11/extensions/XInput2.h \
10425 X11/extensions/XShm.h \
10426 X11/extensions/Xcomposite.h \
10427 X11/extensions/Xfixes.h \
10428 X11/extensions/Xinerama.h \
10429 X11/extensions/Xrandr.h \
10430 X11/extensions/Xrender.h \
10431 X11/extensions/xf86vmode.h \
10432 X11/extensions/xf86vmproto.h
10433 do :
10434 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10435 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10436 # include <X11/Xlib.h>
10437 #endif
10438 #ifdef HAVE_X11_XUTIL_H
10439 # include <X11/Xutil.h>
10440 #endif
10442 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10443 cat >>confdefs.h <<_ACEOF
10444 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10445 _ACEOF
10449 done
10452 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10453 then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10455 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10456 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10457 $as_echo_n "(cached) " >&6
10458 else
10459 ac_check_lib_save_LIBS=$LIBS
10460 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10462 /* end confdefs.h. */
10464 /* Override any GCC internal prototype to avoid an error.
10465 Use char because int might match the return type of a GCC
10466 builtin and then its argument prototype would still apply. */
10467 #ifdef __cplusplus
10468 extern "C"
10469 #endif
10470 char XkbQueryExtension ();
10472 main ()
10474 return XkbQueryExtension ();
10476 return 0;
10478 _ACEOF
10479 if ac_fn_c_try_link "$LINENO"; then :
10480 ac_cv_lib_X11_XkbQueryExtension=yes
10481 else
10482 ac_cv_lib_X11_XkbQueryExtension=no
10484 rm -f core conftest.err conftest.$ac_objext \
10485 conftest$ac_exeext conftest.$ac_ext
10486 LIBS=$ac_check_lib_save_LIBS
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10489 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10490 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10492 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10498 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10499 then
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10501 $as_echo_n "checking for -lXcursor... " >&6; }
10502 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10503 $as_echo_n "(cached) " >&6
10504 else
10505 ac_check_soname_save_LIBS=$LIBS
10506 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10510 /* Override any GCC internal prototype to avoid an error.
10511 Use char because int might match the return type of a GCC
10512 builtin and then its argument prototype would still apply. */
10513 #ifdef __cplusplus
10514 extern "C"
10515 #endif
10516 char XcursorImageLoadCursor ();
10518 main ()
10520 return XcursorImageLoadCursor ();
10522 return 0;
10524 _ACEOF
10525 if ac_fn_c_try_link "$LINENO"; then :
10526 case "$LIBEXT" in
10527 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10528 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'` ;;
10529 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10530 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10531 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10532 fi ;;
10533 esac
10535 rm -f core conftest.err conftest.$ac_objext \
10536 conftest$ac_exeext conftest.$ac_ext
10537 LIBS=$ac_check_soname_save_LIBS
10539 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10541 $as_echo "not found" >&6; }
10543 else
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10545 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10547 cat >>confdefs.h <<_ACEOF
10548 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10549 _ACEOF
10554 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10555 case "x$with_xcursor" in
10556 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10557 xno) ;;
10558 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10559 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10560 esac
10564 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10565 then
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10567 $as_echo_n "checking for -lXi... " >&6; }
10568 if ${ac_cv_lib_soname_Xi+:} false; then :
10569 $as_echo_n "(cached) " >&6
10570 else
10571 ac_check_soname_save_LIBS=$LIBS
10572 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10576 /* Override any GCC internal prototype to avoid an error.
10577 Use char because int might match the return type of a GCC
10578 builtin and then its argument prototype would still apply. */
10579 #ifdef __cplusplus
10580 extern "C"
10581 #endif
10582 char XOpenDevice ();
10584 main ()
10586 return XOpenDevice ();
10588 return 0;
10590 _ACEOF
10591 if ac_fn_c_try_link "$LINENO"; then :
10592 case "$LIBEXT" in
10593 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10594 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'` ;;
10595 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10596 if ${ac_cv_lib_soname_Xi:+false} :; then :
10597 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10598 fi ;;
10599 esac
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 LIBS=$ac_check_soname_save_LIBS
10605 if ${ac_cv_lib_soname_Xi:+false} :; then :
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10607 $as_echo "not found" >&6; }
10609 else
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10611 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10613 cat >>confdefs.h <<_ACEOF
10614 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10615 _ACEOF
10620 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10621 case "x$with_xinput" in
10622 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10623 xno) ;;
10624 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10625 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10626 esac
10630 if test "x$ac_cv_lib_soname_Xi" != x
10631 then
10632 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10633 case "x$with_xinput2" in
10634 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10635 xno) ;;
10636 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10637 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10638 esac
10643 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10644 then
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10646 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10647 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10648 $as_echo_n "(cached) " >&6
10649 else
10650 ac_check_lib_save_LIBS=$LIBS
10651 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10653 /* end confdefs.h. */
10655 /* Override any GCC internal prototype to avoid an error.
10656 Use char because int might match the return type of a GCC
10657 builtin and then its argument prototype would still apply. */
10658 #ifdef __cplusplus
10659 extern "C"
10660 #endif
10661 char XShmQueryExtension ();
10663 main ()
10665 return XShmQueryExtension ();
10667 return 0;
10669 _ACEOF
10670 if ac_fn_c_try_link "$LINENO"; then :
10671 ac_cv_lib_Xext_XShmQueryExtension=yes
10672 else
10673 ac_cv_lib_Xext_XShmQueryExtension=no
10675 rm -f core conftest.err conftest.$ac_objext \
10676 conftest$ac_exeext conftest.$ac_ext
10677 LIBS=$ac_check_lib_save_LIBS
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10680 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10681 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10683 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10688 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10689 case "x$with_xshm" in
10690 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10691 xno) ;;
10692 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10693 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10694 esac
10698 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10699 then
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10701 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10702 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10703 $as_echo_n "(cached) " >&6
10704 else
10705 ac_check_lib_save_LIBS=$LIBS
10706 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10710 /* Override any GCC internal prototype to avoid an error.
10711 Use char because int might match the return type of a GCC
10712 builtin and then its argument prototype would still apply. */
10713 #ifdef __cplusplus
10714 extern "C"
10715 #endif
10716 char XShapeQueryExtension ();
10718 main ()
10720 return XShapeQueryExtension ();
10722 return 0;
10724 _ACEOF
10725 if ac_fn_c_try_link "$LINENO"; then :
10726 ac_cv_lib_Xext_XShapeQueryExtension=yes
10727 else
10728 ac_cv_lib_Xext_XShapeQueryExtension=no
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_lib_save_LIBS
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10735 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10736 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10738 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10743 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10744 case "x$with_xshape" in
10745 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10746 xno) ;;
10747 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10748 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10749 esac
10753 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10754 then
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10756 $as_echo_n "checking for -lXxf86vm... " >&6; }
10757 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10758 $as_echo_n "(cached) " >&6
10759 else
10760 ac_check_soname_save_LIBS=$LIBS
10761 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10763 /* end confdefs.h. */
10765 /* Override any GCC internal prototype to avoid an error.
10766 Use char because int might match the return type of a GCC
10767 builtin and then its argument prototype would still apply. */
10768 #ifdef __cplusplus
10769 extern "C"
10770 #endif
10771 char XF86VidModeQueryExtension ();
10773 main ()
10775 return XF86VidModeQueryExtension ();
10777 return 0;
10779 _ACEOF
10780 if ac_fn_c_try_link "$LINENO"; then :
10781 case "$LIBEXT" in
10782 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10783 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'` ;;
10784 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10785 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10786 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10787 fi ;;
10788 esac
10790 rm -f core conftest.err conftest.$ac_objext \
10791 conftest$ac_exeext conftest.$ac_ext
10792 LIBS=$ac_check_soname_save_LIBS
10794 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10796 $as_echo "not found" >&6; }
10798 else
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10800 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10802 cat >>confdefs.h <<_ACEOF
10803 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10804 _ACEOF
10809 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10810 case "x$with_xxf86vm" in
10811 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10812 xno) ;;
10813 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10814 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10815 esac
10819 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10820 then
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10822 $as_echo_n "checking for -lXrender... " >&6; }
10823 if ${ac_cv_lib_soname_Xrender+:} false; then :
10824 $as_echo_n "(cached) " >&6
10825 else
10826 ac_check_soname_save_LIBS=$LIBS
10827 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10831 /* Override any GCC internal prototype to avoid an error.
10832 Use char because int might match the return type of a GCC
10833 builtin and then its argument prototype would still apply. */
10834 #ifdef __cplusplus
10835 extern "C"
10836 #endif
10837 char XRenderQueryExtension ();
10839 main ()
10841 return XRenderQueryExtension ();
10843 return 0;
10845 _ACEOF
10846 if ac_fn_c_try_link "$LINENO"; then :
10847 case "$LIBEXT" in
10848 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10849 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'` ;;
10850 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10851 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10852 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10853 fi ;;
10854 esac
10856 rm -f core conftest.err conftest.$ac_objext \
10857 conftest$ac_exeext conftest.$ac_ext
10858 LIBS=$ac_check_soname_save_LIBS
10860 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10862 $as_echo "not found" >&6; }
10864 else
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10866 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10868 cat >>confdefs.h <<_ACEOF
10869 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10870 _ACEOF
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10873 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10874 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10875 $as_echo_n "(cached) " >&6
10876 else
10877 ac_check_lib_save_LIBS=$LIBS
10878 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10885 #ifdef __cplusplus
10886 extern "C"
10887 #endif
10888 char XRenderSetPictureTransform ();
10890 main ()
10892 return XRenderSetPictureTransform ();
10894 return 0;
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"; then :
10898 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10899 else
10900 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10902 rm -f core conftest.err conftest.$ac_objext \
10903 conftest$ac_exeext conftest.$ac_ext
10904 LIBS=$ac_check_lib_save_LIBS
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10907 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10908 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10910 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10915 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10916 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10917 $as_echo_n "(cached) " >&6
10918 else
10919 ac_check_lib_save_LIBS=$LIBS
10920 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char XRenderCreateLinearGradient ();
10932 main ()
10934 return XRenderCreateLinearGradient ();
10936 return 0;
10938 _ACEOF
10939 if ac_fn_c_try_link "$LINENO"; then :
10940 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10941 else
10942 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10944 rm -f core conftest.err conftest.$ac_objext \
10945 conftest$ac_exeext conftest.$ac_ext
10946 LIBS=$ac_check_lib_save_LIBS
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10949 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10950 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10952 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10959 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10960 case "x$with_xrender" in
10961 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10962 xno) ;;
10963 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10964 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10965 esac
10969 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10970 then
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10973 #include <X11/Xlib.h>
10974 #include <X11/extensions/Xrandr.h>
10976 main ()
10978 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10980 return 0;
10982 _ACEOF
10983 if ac_fn_c_try_compile "$LINENO"; then :
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10985 $as_echo_n "checking for -lXrandr... " >&6; }
10986 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10987 $as_echo_n "(cached) " >&6
10988 else
10989 ac_check_soname_save_LIBS=$LIBS
10990 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
10997 #ifdef __cplusplus
10998 extern "C"
10999 #endif
11000 char XRRQueryExtension ();
11002 main ()
11004 return XRRQueryExtension ();
11006 return 0;
11008 _ACEOF
11009 if ac_fn_c_try_link "$LINENO"; then :
11010 case "$LIBEXT" in
11011 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11012 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'` ;;
11013 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11014 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11015 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11016 fi ;;
11017 esac
11019 rm -f core conftest.err conftest.$ac_objext \
11020 conftest$ac_exeext conftest.$ac_ext
11021 LIBS=$ac_check_soname_save_LIBS
11023 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11025 $as_echo "not found" >&6; }
11027 else
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11029 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11031 cat >>confdefs.h <<_ACEOF
11032 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11033 _ACEOF
11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11037 #include <X11/Xlib.h>
11038 #include <X11/extensions/Xrandr.h>
11040 main ()
11042 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11044 return 0;
11046 _ACEOF
11047 if ac_fn_c_try_compile "$LINENO"; then :
11049 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11057 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11058 case "x$with_xrandr" in
11059 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11060 xno) ;;
11061 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11062 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11063 esac
11067 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11068 then
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11071 #include <X11/Xlib.h>
11072 #include <X11/extensions/Xfixes.h>
11074 main ()
11076 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_compile "$LINENO"; then :
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11083 $as_echo_n "checking for -lXfixes... " >&6; }
11084 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11085 $as_echo_n "(cached) " >&6
11086 else
11087 ac_check_soname_save_LIBS=$LIBS
11088 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11092 /* Override any GCC internal prototype to avoid an error.
11093 Use char because int might match the return type of a GCC
11094 builtin and then its argument prototype would still apply. */
11095 #ifdef __cplusplus
11096 extern "C"
11097 #endif
11098 char XFixesQueryVersion ();
11100 main ()
11102 return XFixesQueryVersion ();
11104 return 0;
11106 _ACEOF
11107 if ac_fn_c_try_link "$LINENO"; then :
11108 case "$LIBEXT" in
11109 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11110 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'` ;;
11111 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11112 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11113 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11114 fi ;;
11115 esac
11117 rm -f core conftest.err conftest.$ac_objext \
11118 conftest$ac_exeext conftest.$ac_ext
11119 LIBS=$ac_check_soname_save_LIBS
11121 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11123 $as_echo "not found" >&6; }
11125 else
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11127 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11129 cat >>confdefs.h <<_ACEOF
11130 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11131 _ACEOF
11136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11138 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11139 case "x$with_xfixes" in
11140 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11141 xno) ;;
11142 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11143 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11144 esac
11148 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11149 then
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11152 #include <X11/Xlib.h>
11153 #include <X11/extensions/Xinerama.h>
11155 main ()
11157 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11159 return 0;
11161 _ACEOF
11162 if ac_fn_c_try_compile "$LINENO"; then :
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11164 $as_echo_n "checking for -lXinerama... " >&6; }
11165 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11166 $as_echo_n "(cached) " >&6
11167 else
11168 ac_check_soname_save_LIBS=$LIBS
11169 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11173 /* Override any GCC internal prototype to avoid an error.
11174 Use char because int might match the return type of a GCC
11175 builtin and then its argument prototype would still apply. */
11176 #ifdef __cplusplus
11177 extern "C"
11178 #endif
11179 char XineramaQueryScreens ();
11181 main ()
11183 return XineramaQueryScreens ();
11185 return 0;
11187 _ACEOF
11188 if ac_fn_c_try_link "$LINENO"; then :
11189 case "$LIBEXT" in
11190 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11191 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'` ;;
11192 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11193 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11194 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11195 fi ;;
11196 esac
11198 rm -f core conftest.err conftest.$ac_objext \
11199 conftest$ac_exeext conftest.$ac_ext
11200 LIBS=$ac_check_soname_save_LIBS
11202 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11204 $as_echo "not found" >&6; }
11206 else
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11208 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11210 cat >>confdefs.h <<_ACEOF
11211 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11212 _ACEOF
11217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11219 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11220 case "x$with_xinerama" in
11221 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11222 xno) ;;
11223 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11224 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11225 esac
11229 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11230 then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11232 $as_echo_n "checking for -lXcomposite... " >&6; }
11233 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_soname_save_LIBS=$LIBS
11237 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char XCompositeRedirectWindow ();
11249 main ()
11251 return XCompositeRedirectWindow ();
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 case "$LIBEXT" in
11258 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11259 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'` ;;
11260 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11261 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11262 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11263 fi ;;
11264 esac
11266 rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_soname_save_LIBS
11270 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11272 $as_echo "not found" >&6; }
11274 else
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11276 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11278 cat >>confdefs.h <<_ACEOF
11279 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11280 _ACEOF
11285 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11286 case "x$with_xcomposite" in
11287 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11288 xno) ;;
11289 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11290 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11291 esac
11295 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11296 #include <X11/Xlib.h>
11297 #endif
11299 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11301 cat >>confdefs.h <<_ACEOF
11302 #define HAVE_XICCALLBACK_CALLBACK 1
11303 _ACEOF
11307 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11308 #include <X11/Xlib.h>
11309 #endif
11311 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11313 cat >>confdefs.h <<_ACEOF
11314 #define HAVE_XEVENT_XCOOKIE 1
11315 _ACEOF
11322 opengl_msg=""
11323 if test "x$with_opengl" != "xno"
11324 then
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11326 $as_echo_n "checking for -lGL... " >&6; }
11327 if ${ac_cv_lib_soname_GL+:} false; then :
11328 $as_echo_n "(cached) " >&6
11329 else
11330 ac_check_soname_save_LIBS=$LIBS
11331 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char glXCreateContext ();
11343 main ()
11345 return glXCreateContext ();
11347 return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 case "$LIBEXT" in
11352 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11353 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'` ;;
11354 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11355 if ${ac_cv_lib_soname_GL:+false} :; then :
11356 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11357 fi ;;
11358 esac
11360 rm -f core conftest.err conftest.$ac_objext \
11361 conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_soname_save_LIBS
11364 if ${ac_cv_lib_soname_GL:+false} :; then :
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11366 $as_echo "not found" >&6; }
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11368 $as_echo_n "checking for -lGL... " >&6; }
11369 if ${ac_cv_lib_soname_GL+:} false; then :
11370 $as_echo_n "(cached) " >&6
11371 else
11372 ac_check_soname_save_LIBS=$LIBS
11373 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"
11374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h. */
11377 /* Override any GCC internal prototype to avoid an error.
11378 Use char because int might match the return type of a GCC
11379 builtin and then its argument prototype would still apply. */
11380 #ifdef __cplusplus
11381 extern "C"
11382 #endif
11383 char glXCreateContext ();
11385 main ()
11387 return glXCreateContext ();
11389 return 0;
11391 _ACEOF
11392 if ac_fn_c_try_link "$LINENO"; then :
11393 case "$LIBEXT" in
11394 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11395 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'` ;;
11396 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11397 if ${ac_cv_lib_soname_GL:+false} :; then :
11398 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11399 fi ;;
11400 esac
11402 rm -f core conftest.err conftest.$ac_objext \
11403 conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_soname_save_LIBS
11406 if ${ac_cv_lib_soname_GL:+false} :; then :
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11408 $as_echo "not found" >&6; }
11409 if test -f /usr/X11R6/lib/libGL.a
11410 then
11411 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11412 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11413 else
11414 opengl_msg="No OpenGL library found on this system."
11416 else
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11418 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11420 cat >>confdefs.h <<_ACEOF
11421 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11422 _ACEOF
11424 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"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11428 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11430 cat >>confdefs.h <<_ACEOF
11431 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11432 _ACEOF
11434 OPENGL_LIBS="-lGL"
11436 if test "x$with_glu" != "xno"
11437 then
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11439 $as_echo_n "checking for -lGLU... " >&6; }
11440 if ${ac_cv_lib_soname_GLU+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_soname_save_LIBS=$LIBS
11444 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char gluLookAt ();
11456 main ()
11458 return gluLookAt ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 case "$LIBEXT" in
11465 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11466 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'` ;;
11467 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11468 if ${ac_cv_lib_soname_GLU:+false} :; then :
11469 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11470 fi ;;
11471 esac
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_soname_save_LIBS
11477 if ${ac_cv_lib_soname_GLU:+false} :; then :
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11479 $as_echo "not found" >&6; }
11481 else
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11483 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11485 cat >>confdefs.h <<_ACEOF
11486 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11487 _ACEOF
11491 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11492 case "x$with_glu" in
11493 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11494 xno) ;;
11495 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11496 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11497 esac
11502 if test "x$with_osmesa" != "xno"
11503 then
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11505 $as_echo_n "checking for -lOSMesa... " >&6; }
11506 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11507 $as_echo_n "(cached) " >&6
11508 else
11509 ac_check_soname_save_LIBS=$LIBS
11510 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11512 /* end confdefs.h. */
11514 /* Override any GCC internal prototype to avoid an error.
11515 Use char because int might match the return type of a GCC
11516 builtin and then its argument prototype would still apply. */
11517 #ifdef __cplusplus
11518 extern "C"
11519 #endif
11520 char OSMesaGetProcAddress ();
11522 main ()
11524 return OSMesaGetProcAddress ();
11526 return 0;
11528 _ACEOF
11529 if ac_fn_c_try_link "$LINENO"; then :
11530 case "$LIBEXT" in
11531 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11532 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'` ;;
11533 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11534 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11535 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11536 fi ;;
11537 esac
11539 rm -f core conftest.err conftest.$ac_objext \
11540 conftest$ac_exeext conftest.$ac_ext
11541 LIBS=$ac_check_soname_save_LIBS
11543 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11545 $as_echo "not found" >&6; }
11547 else
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11549 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11551 cat >>confdefs.h <<_ACEOF
11552 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11553 _ACEOF
11557 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11558 case "x$with_osmesa" in
11559 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11560 xno) ;;
11561 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11562 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11563 esac
11568 if test -n "$opengl_msg"; then :
11569 case "x$with_opengl" in
11570 x) as_fn_append wine_warnings "|$opengl_msg
11571 OpenGL and Direct3D won't be supported." ;;
11572 xno) ;;
11573 *) as_fn_error $? "$opengl_msg
11574 OpenGL and Direct3D won't be supported.
11575 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11576 esac
11580 CPPFLAGS="$ac_save_CPPFLAGS"
11581 else
11582 X_CFLAGS=""
11583 X_LIBS=""
11586 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11587 then
11588 if test "x$X_LIBS" = "x"; then :
11589 case "x$with_x" in
11590 xno) ;;
11591 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11592 without X support, which probably isn't what you want. You will need
11593 to install ${notice_platform}development packages of Xlib at the very least.
11594 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11595 esac
11596 enable_winex11_drv=${enable_winex11_drv:-no}
11598 else
11599 if test "x$X_LIBS" = "x"; then :
11600 case "x$with_x" in
11601 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11602 xno) ;;
11603 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11604 This is an error since --with-x was requested." "$LINENO" 5 ;;
11605 esac
11606 enable_winex11_drv=${enable_winex11_drv:-no}
11610 if test "$ac_cv_header_CL_cl_h" = "yes"
11611 then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11613 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11614 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11615 $as_echo_n "(cached) " >&6
11616 else
11617 ac_check_lib_save_LIBS=$LIBS
11618 LIBS="-lOpenCL $LIBS"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11625 #ifdef __cplusplus
11626 extern "C"
11627 #endif
11628 char clGetPlatformInfo ();
11630 main ()
11632 return clGetPlatformInfo ();
11634 return 0;
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"; then :
11638 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11639 else
11640 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11642 rm -f core conftest.err conftest.$ac_objext \
11643 conftest$ac_exeext conftest.$ac_ext
11644 LIBS=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11647 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11648 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11649 OPENCL_LIBS="-lOpenCL"
11654 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11655 case "x$with_opencl" in
11656 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11657 xno) ;;
11658 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11659 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11660 esac
11661 enable_opencl=${enable_opencl:-no}
11664 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11665 then
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11667 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11668 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11669 $as_echo_n "(cached) " >&6
11670 else
11671 ac_check_lib_save_LIBS=$LIBS
11672 LIBS="-lpcap $LIBS"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11676 /* Override any GCC internal prototype to avoid an error.
11677 Use char because int might match the return type of a GCC
11678 builtin and then its argument prototype would still apply. */
11679 #ifdef __cplusplus
11680 extern "C"
11681 #endif
11682 char pcap_create ();
11684 main ()
11686 return pcap_create ();
11688 return 0;
11690 _ACEOF
11691 if ac_fn_c_try_link "$LINENO"; then :
11692 ac_cv_lib_pcap_pcap_create=yes
11693 else
11694 ac_cv_lib_pcap_pcap_create=no
11696 rm -f core conftest.err conftest.$ac_objext \
11697 conftest$ac_exeext conftest.$ac_ext
11698 LIBS=$ac_check_lib_save_LIBS
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11701 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11702 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11703 PCAP_LIBS="-lpcap"
11708 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11709 case "x$with_pcap" in
11710 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11711 xno) ;;
11712 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11713 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11714 esac
11715 enable_wpcap=${enable_wpcap:-no}
11719 if test "x$with_xml" != "xno"
11720 then
11721 if ${XML2_CFLAGS:+false} :; then :
11722 if ${PKG_CONFIG+:} false; then :
11723 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11726 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11727 if ${XML2_LIBS:+false} :; then :
11728 if ${PKG_CONFIG+:} false; then :
11729 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11732 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11733 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11734 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11735 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11736 ac_save_CPPFLAGS=$CPPFLAGS
11737 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11738 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11739 do :
11740 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11741 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11742 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11743 cat >>confdefs.h <<_ACEOF
11744 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11745 _ACEOF
11749 done
11751 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"
11752 then
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11754 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11755 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11756 $as_echo_n "(cached) " >&6
11757 else
11758 ac_check_lib_save_LIBS=$LIBS
11759 LIBS="-lxml2 $XML2_LIBS $LIBS"
11760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11766 #ifdef __cplusplus
11767 extern "C"
11768 #endif
11769 char xmlParseMemory ();
11771 main ()
11773 return xmlParseMemory ();
11775 return 0;
11777 _ACEOF
11778 if ac_fn_c_try_link "$LINENO"; then :
11779 ac_cv_lib_xml2_xmlParseMemory=yes
11780 else
11781 ac_cv_lib_xml2_xmlParseMemory=no
11783 rm -f core conftest.err conftest.$ac_objext \
11784 conftest$ac_exeext conftest.$ac_ext
11785 LIBS=$ac_check_lib_save_LIBS
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11788 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11789 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11791 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11793 else
11794 XML2_LIBS=""
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11798 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11799 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11800 $as_echo_n "(cached) " >&6
11801 else
11802 ac_check_lib_save_LIBS=$LIBS
11803 LIBS="-lxml2 $XML2_LIBS $LIBS"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11810 #ifdef __cplusplus
11811 extern "C"
11812 #endif
11813 char xmlReadMemory ();
11815 main ()
11817 return xmlReadMemory ();
11819 return 0;
11821 _ACEOF
11822 if ac_fn_c_try_link "$LINENO"; then :
11823 ac_cv_lib_xml2_xmlReadMemory=yes
11824 else
11825 ac_cv_lib_xml2_xmlReadMemory=no
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 LIBS=$ac_check_lib_save_LIBS
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11832 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11833 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11835 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11840 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11841 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11842 $as_echo_n "(cached) " >&6
11843 else
11844 ac_check_lib_save_LIBS=$LIBS
11845 LIBS="-lxml2 $XML2_LIBS $LIBS"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11849 /* Override any GCC internal prototype to avoid an error.
11850 Use char because int might match the return type of a GCC
11851 builtin and then its argument prototype would still apply. */
11852 #ifdef __cplusplus
11853 extern "C"
11854 #endif
11855 char xmlNewDocPI ();
11857 main ()
11859 return xmlNewDocPI ();
11861 return 0;
11863 _ACEOF
11864 if ac_fn_c_try_link "$LINENO"; then :
11865 ac_cv_lib_xml2_xmlNewDocPI=yes
11866 else
11867 ac_cv_lib_xml2_xmlNewDocPI=no
11869 rm -f core conftest.err conftest.$ac_objext \
11870 conftest$ac_exeext conftest.$ac_ext
11871 LIBS=$ac_check_lib_save_LIBS
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11874 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11875 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11877 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11882 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11883 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11884 $as_echo_n "(cached) " >&6
11885 else
11886 ac_check_lib_save_LIBS=$LIBS
11887 LIBS="-lxml2 $XML2_LIBS $LIBS"
11888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11889 /* end confdefs.h. */
11891 /* Override any GCC internal prototype to avoid an error.
11892 Use char because int might match the return type of a GCC
11893 builtin and then its argument prototype would still apply. */
11894 #ifdef __cplusplus
11895 extern "C"
11896 #endif
11897 char xmlSchemaSetParserStructuredErrors ();
11899 main ()
11901 return xmlSchemaSetParserStructuredErrors ();
11903 return 0;
11905 _ACEOF
11906 if ac_fn_c_try_link "$LINENO"; then :
11907 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11908 else
11909 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11911 rm -f core conftest.err conftest.$ac_objext \
11912 conftest$ac_exeext conftest.$ac_ext
11913 LIBS=$ac_check_lib_save_LIBS
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11916 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11917 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11919 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11924 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11925 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11926 $as_echo_n "(cached) " >&6
11927 else
11928 ac_check_lib_save_LIBS=$LIBS
11929 LIBS="-lxml2 $XML2_LIBS $LIBS"
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11933 /* Override any GCC internal prototype to avoid an error.
11934 Use char because int might match the return type of a GCC
11935 builtin and then its argument prototype would still apply. */
11936 #ifdef __cplusplus
11937 extern "C"
11938 #endif
11939 char xmlSchemaSetValidStructuredErrors ();
11941 main ()
11943 return xmlSchemaSetValidStructuredErrors ();
11945 return 0;
11947 _ACEOF
11948 if ac_fn_c_try_link "$LINENO"; then :
11949 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11950 else
11951 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11953 rm -f core conftest.err conftest.$ac_objext \
11954 conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_lib_save_LIBS
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11958 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11959 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11961 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11966 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11967 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11968 $as_echo_n "(cached) " >&6
11969 else
11970 ac_check_lib_save_LIBS=$LIBS
11971 LIBS="-lxml2 $XML2_LIBS $LIBS"
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11975 /* Override any GCC internal prototype to avoid an error.
11976 Use char because int might match the return type of a GCC
11977 builtin and then its argument prototype would still apply. */
11978 #ifdef __cplusplus
11979 extern "C"
11980 #endif
11981 char xmlFirstElementChild ();
11983 main ()
11985 return xmlFirstElementChild ();
11987 return 0;
11989 _ACEOF
11990 if ac_fn_c_try_link "$LINENO"; then :
11991 ac_cv_lib_xml2_xmlFirstElementChild=yes
11992 else
11993 ac_cv_lib_xml2_xmlFirstElementChild=no
11995 rm -f core conftest.err conftest.$ac_objext \
11996 conftest$ac_exeext conftest.$ac_ext
11997 LIBS=$ac_check_lib_save_LIBS
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12000 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12001 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12003 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12007 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12009 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12011 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12015 else
12016 XML2_CFLAGS=""
12017 XML2_LIBS=""
12019 CPPFLAGS=$ac_save_CPPFLAGS
12020 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12021 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12024 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12025 case "x$with_xml" in
12026 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12027 xno) ;;
12028 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12029 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12030 esac
12034 if test "x$with_xslt" != "xno"
12035 then
12036 if ${XSLT_CFLAGS:+false} :; then :
12037 if ${PKG_CONFIG+:} false; then :
12038 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12041 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12042 if ${XSLT_LIBS:+false} :; then :
12043 if ${PKG_CONFIG+:} false; then :
12044 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12047 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12048 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12049 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12050 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12051 ac_save_CPPFLAGS=$CPPFLAGS
12052 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12053 for ac_header in libxslt/pattern.h libxslt/transform.h
12054 do :
12055 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12056 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12057 # include <libxslt/pattern.h>
12058 #endif
12060 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12061 cat >>confdefs.h <<_ACEOF
12062 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12063 _ACEOF
12067 done
12069 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12070 then
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12072 $as_echo_n "checking for -lxslt... " >&6; }
12073 if ${ac_cv_lib_soname_xslt+:} false; then :
12074 $as_echo_n "(cached) " >&6
12075 else
12076 ac_check_soname_save_LIBS=$LIBS
12077 LIBS="-lxslt $XSLT_LIBS $LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12084 #ifdef __cplusplus
12085 extern "C"
12086 #endif
12087 char xsltCompilePattern ();
12089 main ()
12091 return xsltCompilePattern ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 case "$LIBEXT" in
12098 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12099 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'` ;;
12100 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12101 if ${ac_cv_lib_soname_xslt:+false} :; then :
12102 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12103 fi ;;
12104 esac
12106 rm -f core conftest.err conftest.$ac_objext \
12107 conftest$ac_exeext conftest.$ac_ext
12108 LIBS=$ac_check_soname_save_LIBS
12110 if ${ac_cv_lib_soname_xslt:+false} :; then :
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12112 $as_echo "not found" >&6; }
12114 else
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12116 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12118 cat >>confdefs.h <<_ACEOF
12119 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12120 _ACEOF
12124 else
12125 XSLT_CFLAGS=""
12127 CPPFLAGS=$ac_save_CPPFLAGS
12128 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12129 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12132 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12133 case "x$with_xslt" in
12134 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12135 xno) ;;
12136 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12137 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12138 esac
12142 if test "x$with_dbus" != "xno"
12143 then
12144 if ${DBUS_CFLAGS:+false} :; then :
12145 if ${PKG_CONFIG+:} false; then :
12146 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12150 if ${DBUS_LIBS:+false} :; then :
12151 if ${PKG_CONFIG+:} false; then :
12152 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12157 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12158 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12159 ac_save_CPPFLAGS=$CPPFLAGS
12160 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12161 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12162 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12164 $as_echo_n "checking for -ldbus-1... " >&6; }
12165 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12166 $as_echo_n "(cached) " >&6
12167 else
12168 ac_check_soname_save_LIBS=$LIBS
12169 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12173 /* Override any GCC internal prototype to avoid an error.
12174 Use char because int might match the return type of a GCC
12175 builtin and then its argument prototype would still apply. */
12176 #ifdef __cplusplus
12177 extern "C"
12178 #endif
12179 char dbus_connection_close ();
12181 main ()
12183 return dbus_connection_close ();
12185 return 0;
12187 _ACEOF
12188 if ac_fn_c_try_link "$LINENO"; then :
12189 case "$LIBEXT" in
12190 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12191 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'` ;;
12192 *) 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'`
12193 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12194 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12195 fi ;;
12196 esac
12198 rm -f core conftest.err conftest.$ac_objext \
12199 conftest$ac_exeext conftest.$ac_ext
12200 LIBS=$ac_check_soname_save_LIBS
12202 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12204 $as_echo "not found" >&6; }
12205 DBUS_CFLAGS=""
12206 else
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12208 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12210 cat >>confdefs.h <<_ACEOF
12211 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12212 _ACEOF
12216 else
12217 DBUS_CFLAGS=""
12221 CPPFLAGS=$ac_save_CPPFLAGS
12222 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12223 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12226 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12227 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12228 case "x$with_dbus" in
12229 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12230 xno) ;;
12231 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12232 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12233 esac
12237 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12238 then
12239 if ${HAL_CFLAGS:+false} :; then :
12240 if ${PKG_CONFIG+:} false; then :
12241 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12245 if ${HAL_LIBS:+false} :; then :
12246 if ${PKG_CONFIG+:} false; then :
12247 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12251 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12252 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12253 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12254 ac_save_CPPFLAGS=$CPPFLAGS
12255 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12256 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12257 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12259 $as_echo_n "checking for -lhal... " >&6; }
12260 if ${ac_cv_lib_soname_hal+:} false; then :
12261 $as_echo_n "(cached) " >&6
12262 else
12263 ac_check_soname_save_LIBS=$LIBS
12264 LIBS="-lhal $HAL_LIBS $LIBS"
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 /* Override any GCC internal prototype to avoid an error.
12269 Use char because int might match the return type of a GCC
12270 builtin and then its argument prototype would still apply. */
12271 #ifdef __cplusplus
12272 extern "C"
12273 #endif
12274 char libhal_ctx_new ();
12276 main ()
12278 return libhal_ctx_new ();
12280 return 0;
12282 _ACEOF
12283 if ac_fn_c_try_link "$LINENO"; then :
12284 case "$LIBEXT" in
12285 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12286 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'` ;;
12287 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12288 if ${ac_cv_lib_soname_hal:+false} :; then :
12289 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12290 fi ;;
12291 esac
12293 rm -f core conftest.err conftest.$ac_objext \
12294 conftest$ac_exeext conftest.$ac_ext
12295 LIBS=$ac_check_soname_save_LIBS
12297 if ${ac_cv_lib_soname_hal:+false} :; then :
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12299 $as_echo "not found" >&6; }
12300 HAL_CFLAGS=""
12301 else
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12303 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12305 cat >>confdefs.h <<_ACEOF
12306 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12307 _ACEOF
12311 else
12312 HAL_CFLAGS=""
12316 CPPFLAGS=$ac_save_CPPFLAGS
12317 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12318 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12320 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12321 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12322 case "x$with_hal" in
12323 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12324 xno) ;;
12325 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12326 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12327 esac
12332 if test "x$with_gnutls" != "xno"
12333 then
12334 if ${GNUTLS_CFLAGS:+false} :; then :
12335 if ${PKG_CONFIG+:} false; then :
12336 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12340 if ${GNUTLS_LIBS:+false} :; then :
12341 if ${PKG_CONFIG+:} false; then :
12342 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12347 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12348 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12349 ac_save_CPPFLAGS=$CPPFLAGS
12350 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12351 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12352 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12355 #include <gnutls/gnutls.h>
12356 #include <gnutls/crypto.h>
12358 main ()
12360 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12362 return 0;
12364 _ACEOF
12365 if ac_fn_c_try_compile "$LINENO"; then :
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12367 $as_echo_n "checking for -lgnutls... " >&6; }
12368 if ${ac_cv_lib_soname_gnutls+:} false; then :
12369 $as_echo_n "(cached) " >&6
12370 else
12371 ac_check_soname_save_LIBS=$LIBS
12372 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12374 /* end confdefs.h. */
12376 /* Override any GCC internal prototype to avoid an error.
12377 Use char because int might match the return type of a GCC
12378 builtin and then its argument prototype would still apply. */
12379 #ifdef __cplusplus
12380 extern "C"
12381 #endif
12382 char gnutls_global_init ();
12384 main ()
12386 return gnutls_global_init ();
12388 return 0;
12390 _ACEOF
12391 if ac_fn_c_try_link "$LINENO"; then :
12392 case "$LIBEXT" in
12393 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12394 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'` ;;
12395 *) 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'`
12396 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12397 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'`
12398 fi ;;
12399 esac
12401 rm -f core conftest.err conftest.$ac_objext \
12402 conftest$ac_exeext conftest.$ac_ext
12403 LIBS=$ac_check_soname_save_LIBS
12405 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12407 $as_echo "not found" >&6; }
12408 GNUTLS_CFLAGS=""
12409 else
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12411 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12413 cat >>confdefs.h <<_ACEOF
12414 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12415 _ACEOF
12419 ac_wine_check_funcs_save_LIBS="$LIBS"
12420 LIBS="$LIBS $GNUTLS_LIBS"
12421 for ac_func in gnutls_cipher_init
12422 do :
12423 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12424 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12425 cat >>confdefs.h <<_ACEOF
12426 #define HAVE_GNUTLS_CIPHER_INIT 1
12427 _ACEOF
12429 else
12430 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12432 done
12434 LIBS="$ac_wine_check_funcs_save_LIBS"
12436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12437 else
12438 GNUTLS_CFLAGS=""
12442 CPPFLAGS=$ac_save_CPPFLAGS
12443 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12444 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12447 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12448 case "x$with_gnutls" in
12449 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12450 xno) ;;
12451 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12452 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12453 esac
12457 CURSES_LIBS=""
12458 if test "$ac_cv_header_ncurses_h" = "yes"
12459 then
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12461 $as_echo_n "checking for -lncurses... " >&6; }
12462 if ${ac_cv_lib_soname_ncurses+:} false; then :
12463 $as_echo_n "(cached) " >&6
12464 else
12465 ac_check_soname_save_LIBS=$LIBS
12466 LIBS="-lncurses $LIBS"
12467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12468 /* end confdefs.h. */
12470 /* Override any GCC internal prototype to avoid an error.
12471 Use char because int might match the return type of a GCC
12472 builtin and then its argument prototype would still apply. */
12473 #ifdef __cplusplus
12474 extern "C"
12475 #endif
12476 char waddch ();
12478 main ()
12480 return waddch ();
12482 return 0;
12484 _ACEOF
12485 if ac_fn_c_try_link "$LINENO"; then :
12486 case "$LIBEXT" in
12487 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12488 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'` ;;
12489 *) 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'`
12490 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12491 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12492 fi ;;
12493 esac
12495 rm -f core conftest.err conftest.$ac_objext \
12496 conftest$ac_exeext conftest.$ac_ext
12497 LIBS=$ac_check_soname_save_LIBS
12499 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12501 $as_echo "not found" >&6; }
12503 else
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12505 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12507 cat >>confdefs.h <<_ACEOF
12508 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12509 _ACEOF
12511 CURSES_LIBS="-lncurses"
12513 elif test "$ac_cv_header_curses_h" = "yes"
12514 then
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12516 $as_echo_n "checking for -lcurses... " >&6; }
12517 if ${ac_cv_lib_soname_curses+:} false; then :
12518 $as_echo_n "(cached) " >&6
12519 else
12520 ac_check_soname_save_LIBS=$LIBS
12521 LIBS="-lcurses $LIBS"
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12528 #ifdef __cplusplus
12529 extern "C"
12530 #endif
12531 char waddch ();
12533 main ()
12535 return waddch ();
12537 return 0;
12539 _ACEOF
12540 if ac_fn_c_try_link "$LINENO"; then :
12541 case "$LIBEXT" in
12542 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12543 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'` ;;
12544 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12545 if ${ac_cv_lib_soname_curses:+false} :; then :
12546 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12547 fi ;;
12548 esac
12550 rm -f core conftest.err conftest.$ac_objext \
12551 conftest$ac_exeext conftest.$ac_ext
12552 LIBS=$ac_check_soname_save_LIBS
12554 if ${ac_cv_lib_soname_curses:+false} :; then :
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12556 $as_echo "not found" >&6; }
12558 else
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12560 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12562 cat >>confdefs.h <<_ACEOF
12563 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12564 _ACEOF
12566 CURSES_LIBS="-lcurses"
12569 ac_save_LIBS="$LIBS"
12570 LIBS="$LIBS $CURSES_LIBS"
12571 for ac_func in mousemask
12572 do :
12573 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12574 if test "x$ac_cv_func_mousemask" = xyes; then :
12575 cat >>confdefs.h <<_ACEOF
12576 #define HAVE_MOUSEMASK 1
12577 _ACEOF
12580 done
12582 LIBS="$ac_save_LIBS"
12583 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12584 case "x$with_curses" in
12585 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12586 xno) ;;
12587 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12588 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12589 esac
12593 if test "x$with_sane" != "xno"
12594 then
12595 if ${SANE_CFLAGS:+false} :; then :
12596 if ${PKG_CONFIG+:} false; then :
12597 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12600 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12601 if ${SANE_LIBS:+false} :; then :
12602 if ${PKG_CONFIG+:} false; then :
12603 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12606 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12608 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12609 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12610 ac_save_CPPFLAGS=$CPPFLAGS
12611 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12612 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12613 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12615 $as_echo_n "checking for -lsane... " >&6; }
12616 if ${ac_cv_lib_soname_sane+:} false; then :
12617 $as_echo_n "(cached) " >&6
12618 else
12619 ac_check_soname_save_LIBS=$LIBS
12620 LIBS="-lsane $SANE_LIBS $LIBS"
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12624 /* Override any GCC internal prototype to avoid an error.
12625 Use char because int might match the return type of a GCC
12626 builtin and then its argument prototype would still apply. */
12627 #ifdef __cplusplus
12628 extern "C"
12629 #endif
12630 char sane_init ();
12632 main ()
12634 return sane_init ();
12636 return 0;
12638 _ACEOF
12639 if ac_fn_c_try_link "$LINENO"; then :
12640 case "$LIBEXT" in
12641 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12642 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'` ;;
12643 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12644 if ${ac_cv_lib_soname_sane:+false} :; then :
12645 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12646 fi ;;
12647 esac
12649 rm -f core conftest.err conftest.$ac_objext \
12650 conftest$ac_exeext conftest.$ac_ext
12651 LIBS=$ac_check_soname_save_LIBS
12653 if ${ac_cv_lib_soname_sane:+false} :; then :
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12655 $as_echo "not found" >&6; }
12656 SANE_CFLAGS=""
12657 else
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12659 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12661 cat >>confdefs.h <<_ACEOF
12662 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12663 _ACEOF
12667 else
12668 SANE_CFLAGS=""
12672 CPPFLAGS=$ac_save_CPPFLAGS
12673 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12674 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12677 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12678 case "x$with_sane" in
12679 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12680 xno) ;;
12681 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12682 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12683 esac
12687 if test "x$with_v4l" != "xno"
12688 then
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12690 $as_echo_n "checking for -lv4l1... " >&6; }
12691 if ${ac_cv_lib_soname_v4l1+:} false; then :
12692 $as_echo_n "(cached) " >&6
12693 else
12694 ac_check_soname_save_LIBS=$LIBS
12695 LIBS="-lv4l1 $LIBS"
12696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12699 /* Override any GCC internal prototype to avoid an error.
12700 Use char because int might match the return type of a GCC
12701 builtin and then its argument prototype would still apply. */
12702 #ifdef __cplusplus
12703 extern "C"
12704 #endif
12705 char v4l1_open ();
12707 main ()
12709 return v4l1_open ();
12711 return 0;
12713 _ACEOF
12714 if ac_fn_c_try_link "$LINENO"; then :
12715 case "$LIBEXT" in
12716 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12717 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'` ;;
12718 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12719 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12720 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12721 fi ;;
12722 esac
12724 rm -f core conftest.err conftest.$ac_objext \
12725 conftest$ac_exeext conftest.$ac_ext
12726 LIBS=$ac_check_soname_save_LIBS
12728 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12730 $as_echo "not found" >&6; }
12732 else
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12734 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12736 cat >>confdefs.h <<_ACEOF
12737 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12738 _ACEOF
12743 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12744 case "x$with_v4l" in
12745 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12746 xno) ;;
12747 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12748 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12749 esac
12753 if test "x$with_gphoto" != "xno"
12754 then
12755 if ${GPHOTO2_CFLAGS:+false} :; then :
12756 if ${PKG_CONFIG+:} false; then :
12757 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12760 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12761 if ${GPHOTO2_LIBS:+false} :; then :
12762 if ${PKG_CONFIG+:} false; then :
12763 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12766 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12767 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12768 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12769 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12770 ac_save_CPPFLAGS=$CPPFLAGS
12771 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12772 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12773 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12775 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12776 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12777 $as_echo_n "(cached) " >&6
12778 else
12779 ac_check_lib_save_LIBS=$LIBS
12780 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12787 #ifdef __cplusplus
12788 extern "C"
12789 #endif
12790 char gp_camera_new ();
12792 main ()
12794 return gp_camera_new ();
12796 return 0;
12798 _ACEOF
12799 if ac_fn_c_try_link "$LINENO"; then :
12800 ac_cv_lib_gphoto2_gp_camera_new=yes
12801 else
12802 ac_cv_lib_gphoto2_gp_camera_new=no
12804 rm -f core conftest.err conftest.$ac_objext \
12805 conftest$ac_exeext conftest.$ac_ext
12806 LIBS=$ac_check_lib_save_LIBS
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12809 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12810 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12812 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12814 else
12815 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12818 else
12819 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12823 CPPFLAGS=$ac_save_CPPFLAGS
12824 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12825 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12827 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12828 if ${PKG_CONFIG+:} false; then :
12829 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12832 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12833 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12834 if ${PKG_CONFIG+:} false; then :
12835 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12838 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12839 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12840 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12841 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12842 ac_save_CPPFLAGS=$CPPFLAGS
12843 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12844 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12845 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12847 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12848 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12849 $as_echo_n "(cached) " >&6
12850 else
12851 ac_check_lib_save_LIBS=$LIBS
12852 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12856 /* Override any GCC internal prototype to avoid an error.
12857 Use char because int might match the return type of a GCC
12858 builtin and then its argument prototype would still apply. */
12859 #ifdef __cplusplus
12860 extern "C"
12861 #endif
12862 char gp_port_info_list_new ();
12864 main ()
12866 return gp_port_info_list_new ();
12868 return 0;
12870 _ACEOF
12871 if ac_fn_c_try_link "$LINENO"; then :
12872 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12873 else
12874 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12876 rm -f core conftest.err conftest.$ac_objext \
12877 conftest$ac_exeext conftest.$ac_ext
12878 LIBS=$ac_check_lib_save_LIBS
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12881 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12882 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12884 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12886 else
12887 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12890 else
12891 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12895 CPPFLAGS=$ac_save_CPPFLAGS
12896 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12897 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12900 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12901 case "x$with_gphoto" in
12902 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12903 xno) ;;
12904 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12905 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12906 esac
12909 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12910 case "x$with_gphoto" in
12911 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12912 xno) ;;
12913 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12914 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12915 esac
12920 if test "$ac_cv_header_resolv_h" = "yes"
12921 then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12923 $as_echo_n "checking for resolver library... " >&6; }
12924 if ${ac_cv_have_resolv+:} false; then :
12925 $as_echo_n "(cached) " >&6
12926 else
12927 ac_save_LIBS="$LIBS"
12928 for lib in '' -lresolv
12930 LIBS="$lib $ac_save_LIBS"
12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */
12933 #ifdef HAVE_NETINET_IN_H
12934 #include <netinet/in.h>
12935 #endif
12936 #include <resolv.h>
12938 main ()
12940 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12942 return 0;
12944 _ACEOF
12945 if ac_fn_c_try_link "$LINENO"; then :
12946 ac_cv_have_resolv=${lib:-"none required"}
12947 else
12948 ac_cv_have_resolv="not found"
12950 rm -f core conftest.err conftest.$ac_objext \
12951 conftest$ac_exeext conftest.$ac_ext
12952 test "x$ac_cv_have_resolv" = "xnot found" || break
12953 done
12954 LIBS="$ac_save_LIBS"
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12957 $as_echo "$ac_cv_have_resolv" >&6; }
12959 case "$ac_cv_have_resolv" in
12960 "not found") ;;
12961 "none required")
12963 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12966 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12968 RESOLV_LIBS=$ac_cv_have_resolv
12970 esac
12973 if test "x$with_cms" != "xno"
12974 then
12975 if ${LCMS2_CFLAGS:+false} :; then :
12976 if ${PKG_CONFIG+:} false; then :
12977 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12981 if ${LCMS2_LIBS:+false} :; then :
12982 if ${PKG_CONFIG+:} false; then :
12983 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12987 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12988 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12989 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12990 ac_save_CPPFLAGS=$CPPFLAGS
12991 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12992 for ac_header in lcms2.h
12993 do :
12994 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12995 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12996 cat >>confdefs.h <<_ACEOF
12997 #define HAVE_LCMS2_H 1
12998 _ACEOF
13002 done
13004 if test "$ac_cv_header_lcms2_h" = "yes"
13005 then
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13007 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13008 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13009 $as_echo_n "(cached) " >&6
13010 else
13011 ac_check_lib_save_LIBS=$LIBS
13012 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014 /* end confdefs.h. */
13016 /* Override any GCC internal prototype to avoid an error.
13017 Use char because int might match the return type of a GCC
13018 builtin and then its argument prototype would still apply. */
13019 #ifdef __cplusplus
13020 extern "C"
13021 #endif
13022 char cmsOpenProfileFromFile ();
13024 main ()
13026 return cmsOpenProfileFromFile ();
13028 return 0;
13030 _ACEOF
13031 if ac_fn_c_try_link "$LINENO"; then :
13032 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13033 else
13034 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13036 rm -f core conftest.err conftest.$ac_objext \
13037 conftest$ac_exeext conftest.$ac_ext
13038 LIBS=$ac_check_lib_save_LIBS
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13041 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13042 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13044 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13046 else
13047 LCMS2_LIBS=""
13050 else
13051 LCMS2_CFLAGS=""
13052 LCMS2_LIBS=""
13054 CPPFLAGS=$ac_save_CPPFLAGS
13055 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13056 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13059 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13060 case "x$with_cms" in
13061 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13062 xno) ;;
13063 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13064 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13065 esac
13069 if test "x$with_freetype" != "xno"
13070 then
13071 if ${FREETYPE_CFLAGS:+false} :; then :
13072 if ${PKG_CONFIG+:} false; then :
13073 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13076 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13077 if ${FREETYPE_LIBS:+false} :; then :
13078 if ${PKG_CONFIG+:} false; then :
13079 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13082 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13083 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13084 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13085 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13086 ac_save_CPPFLAGS=$CPPFLAGS
13087 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13088 for ac_header in ft2build.h
13089 do :
13090 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13091 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13092 cat >>confdefs.h <<_ACEOF
13093 #define HAVE_FT2BUILD_H 1
13094 _ACEOF
13098 done
13100 if test "$ac_cv_header_ft2build_h" = "yes"
13101 then
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13103 $as_echo_n "checking for -lfreetype... " >&6; }
13104 if ${ac_cv_lib_soname_freetype+:} false; then :
13105 $as_echo_n "(cached) " >&6
13106 else
13107 ac_check_soname_save_LIBS=$LIBS
13108 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13115 #ifdef __cplusplus
13116 extern "C"
13117 #endif
13118 char FT_Init_FreeType ();
13120 main ()
13122 return FT_Init_FreeType ();
13124 return 0;
13126 _ACEOF
13127 if ac_fn_c_try_link "$LINENO"; then :
13128 case "$LIBEXT" in
13129 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13130 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'` ;;
13131 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13132 if ${ac_cv_lib_soname_freetype:+false} :; then :
13133 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13134 fi ;;
13135 esac
13137 rm -f core conftest.err conftest.$ac_objext \
13138 conftest$ac_exeext conftest.$ac_ext
13139 LIBS=$ac_check_soname_save_LIBS
13141 if ${ac_cv_lib_soname_freetype:+false} :; then :
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13143 $as_echo "not found" >&6; }
13144 FREETYPE_LIBS=""
13145 else
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13147 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13149 cat >>confdefs.h <<_ACEOF
13150 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13151 _ACEOF
13154 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13156 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13157 #include FT_MODULE_H
13159 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13161 cat >>confdefs.h <<_ACEOF
13162 #define HAVE_FT_TRUETYPEENGINETYPE 1
13163 _ACEOF
13169 else
13170 FREETYPE_CFLAGS=""
13171 FREETYPE_LIBS=""
13173 CPPFLAGS=$ac_save_CPPFLAGS
13174 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13175 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13178 if test "x$ac_cv_lib_soname_freetype" = x; then :
13179 case "x$with_freetype" in
13180 xno) ;;
13181 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13182 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13183 esac
13184 enable_fonts=${enable_fonts:-no}
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13188 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13189 if ${ac_cv_c_ppdev+:} false; then :
13190 $as_echo_n "(cached) " >&6
13191 else
13192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13193 /* end confdefs.h. */
13194 #ifdef HAVE_SYS_IOCTL_H
13195 # include <sys/ioctl.h>
13196 #endif
13197 #include <linux/ppdev.h>
13199 main ()
13201 ioctl (1,PPCLAIM,0)
13203 return 0;
13205 _ACEOF
13206 if ac_fn_c_try_compile "$LINENO"; then :
13207 ac_cv_c_ppdev="yes"
13208 else
13209 ac_cv_c_ppdev="no"
13211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13214 $as_echo "$ac_cv_c_ppdev" >&6; }
13215 if test "$ac_cv_c_ppdev" = "yes"
13216 then
13218 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13222 ac_wine_check_funcs_save_LIBS="$LIBS"
13223 LIBS="$LIBS $PTHREAD_LIBS"
13224 for ac_func in \
13225 pthread_attr_get_np \
13226 pthread_getattr_np \
13227 pthread_getthreadid_np \
13228 pthread_get_stackaddr_np \
13229 pthread_get_stacksize_np
13230 do :
13231 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13232 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13233 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13234 cat >>confdefs.h <<_ACEOF
13235 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13236 _ACEOF
13239 done
13241 LIBS="$ac_wine_check_funcs_save_LIBS"
13243 if test "$ac_cv_header_zlib_h" = "yes"
13244 then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13246 $as_echo_n "checking for inflate in -lz... " >&6; }
13247 if ${ac_cv_lib_z_inflate+:} false; then :
13248 $as_echo_n "(cached) " >&6
13249 else
13250 ac_check_lib_save_LIBS=$LIBS
13251 LIBS="-lz $LIBS"
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13255 /* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13258 #ifdef __cplusplus
13259 extern "C"
13260 #endif
13261 char inflate ();
13263 main ()
13265 return inflate ();
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_link "$LINENO"; then :
13271 ac_cv_lib_z_inflate=yes
13272 else
13273 ac_cv_lib_z_inflate=no
13275 rm -f core conftest.err conftest.$ac_objext \
13276 conftest$ac_exeext conftest.$ac_ext
13277 LIBS=$ac_check_lib_save_LIBS
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13280 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13281 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13283 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13285 Z_LIBS="-lz"
13290 if test "x$Z_LIBS" = "x"; then :
13291 case "x$with_zlib" in
13292 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13293 xno) ;;
13294 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13295 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13296 esac
13300 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13301 then
13302 if test "$ac_cv_header_gettext_po_h" = "yes"
13303 then
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13305 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13306 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13307 $as_echo_n "(cached) " >&6
13308 else
13309 ac_check_lib_save_LIBS=$LIBS
13310 LIBS="-lgettextpo $LIBS"
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13314 /* Override any GCC internal prototype to avoid an error.
13315 Use char because int might match the return type of a GCC
13316 builtin and then its argument prototype would still apply. */
13317 #ifdef __cplusplus
13318 extern "C"
13319 #endif
13320 char po_message_msgctxt ();
13322 main ()
13324 return po_message_msgctxt ();
13326 return 0;
13328 _ACEOF
13329 if ac_fn_c_try_link "$LINENO"; then :
13330 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13331 else
13332 ac_cv_lib_gettextpo_po_message_msgctxt=no
13334 rm -f core conftest.err conftest.$ac_objext \
13335 conftest$ac_exeext conftest.$ac_ext
13336 LIBS=$ac_check_lib_save_LIBS
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13339 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13340 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13342 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13344 GETTEXTPO_LIBS="-lgettextpo"
13349 if test "x$GETTEXTPO_LIBS" = "x"; then :
13350 case "x$with_gettextpo" in
13351 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13352 xno) ;;
13353 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13354 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13355 esac
13358 if test "$srcdir" != .; then :
13359 case "x$with_gettextpo" in
13360 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13361 xno) ;;
13362 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13363 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13364 esac
13369 if test "x$with_pulse" != "xno";
13370 then
13371 if ${PULSE_CFLAGS:+false} :; then :
13372 if ${PKG_CONFIG+:} false; then :
13373 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13377 if ${PULSE_LIBS:+false} :; then :
13378 if ${PKG_CONFIG+:} false; then :
13379 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13384 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13385 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13386 ac_save_CPPFLAGS=$CPPFLAGS
13387 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13388 for ac_header in pulse/pulseaudio.h
13389 do :
13390 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13391 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13392 cat >>confdefs.h <<_ACEOF
13393 #define HAVE_PULSE_PULSEAUDIO_H 1
13394 _ACEOF
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13396 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13397 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13398 $as_echo_n "(cached) " >&6
13399 else
13400 ac_check_lib_save_LIBS=$LIBS
13401 LIBS="-lpulse $PULSE_LIBS $LIBS"
13402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13405 /* Override any GCC internal prototype to avoid an error.
13406 Use char because int might match the return type of a GCC
13407 builtin and then its argument prototype would still apply. */
13408 #ifdef __cplusplus
13409 extern "C"
13410 #endif
13411 char pa_stream_is_corked ();
13413 main ()
13415 return pa_stream_is_corked ();
13417 return 0;
13419 _ACEOF
13420 if ac_fn_c_try_link "$LINENO"; then :
13421 ac_cv_lib_pulse_pa_stream_is_corked=yes
13422 else
13423 ac_cv_lib_pulse_pa_stream_is_corked=no
13425 rm -f core conftest.err conftest.$ac_objext \
13426 conftest$ac_exeext conftest.$ac_ext
13427 LIBS=$ac_check_lib_save_LIBS
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13430 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13431 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13433 else
13434 PULSE_LIBS=""
13437 else
13438 PULSE_LIBS=""
13441 done
13443 CPPFLAGS=$ac_save_CPPFLAGS
13444 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13445 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13448 if test -z "$PULSE_LIBS"; then :
13449 case "x$with_pulse" in
13450 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13451 xno) ;;
13452 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13453 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13454 esac
13455 enable_winepulse_drv=${enable_winepulse_drv:-no}
13458 if test "x$with_gstreamer" != "xno"
13459 then
13460 if ${GSTREAMER_CFLAGS:+false} :; then :
13461 if ${PKG_CONFIG+:} false; then :
13462 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13466 if ${GSTREAMER_LIBS:+false} :; then :
13467 if ${PKG_CONFIG+:} false; then :
13468 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13473 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13474 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13475 ac_save_CPPFLAGS=$CPPFLAGS
13476 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13477 ac_gst_incl=""
13478 for i in $GSTREAMER_CFLAGS
13480 case "$i" in
13481 -I*) ac_gst_incl="$ac_gst_incl $i";;
13482 esac
13483 done
13484 GSTREAMER_CFLAGS=$ac_gst_incl
13485 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13486 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13487 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13489 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13492 #include <gst/gst.h>
13494 main ()
13496 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13498 return 0;
13500 _ACEOF
13501 if ac_fn_c_try_compile "$LINENO"; then :
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13503 $as_echo "yes" >&6; }
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13505 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13506 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13507 $as_echo_n "(cached) " >&6
13508 else
13509 ac_check_lib_save_LIBS=$LIBS
13510 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13512 /* end confdefs.h. */
13514 /* Override any GCC internal prototype to avoid an error.
13515 Use char because int might match the return type of a GCC
13516 builtin and then its argument prototype would still apply. */
13517 #ifdef __cplusplus
13518 extern "C"
13519 #endif
13520 char gst_pad_new ();
13522 main ()
13524 return gst_pad_new ();
13526 return 0;
13528 _ACEOF
13529 if ac_fn_c_try_link "$LINENO"; then :
13530 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13531 else
13532 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13534 rm -f core conftest.err conftest.$ac_objext \
13535 conftest$ac_exeext conftest.$ac_ext
13536 LIBS=$ac_check_lib_save_LIBS
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13539 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13540 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13544 else
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13546 $as_echo "no" >&6; }
13547 ac_glib2_broken=yes
13548 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13554 CPPFLAGS=$ac_save_CPPFLAGS
13555 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13556 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13559 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 :
13560 case "x$with_gstreamer" in
13561 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13562 xno) ;;
13563 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13564 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13565 esac
13568 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13570 ALSA_LIBS=""
13572 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13573 then
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13575 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13576 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13577 $as_echo_n "(cached) " >&6
13578 else
13579 ac_check_lib_save_LIBS=$LIBS
13580 LIBS="-lasound $LIBS"
13581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13584 /* Override any GCC internal prototype to avoid an error.
13585 Use char because int might match the return type of a GCC
13586 builtin and then its argument prototype would still apply. */
13587 #ifdef __cplusplus
13588 extern "C"
13589 #endif
13590 char snd_pcm_hw_params_get_access_mask ();
13592 main ()
13594 return snd_pcm_hw_params_get_access_mask ();
13596 return 0;
13598 _ACEOF
13599 if ac_fn_c_try_link "$LINENO"; then :
13600 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13601 else
13602 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13604 rm -f core conftest.err conftest.$ac_objext \
13605 conftest$ac_exeext conftest.$ac_ext
13606 LIBS=$ac_check_lib_save_LIBS
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13609 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13610 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612 /* end confdefs.h. */
13613 #ifdef HAVE_ALSA_ASOUNDLIB_H
13614 #include <alsa/asoundlib.h>
13615 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13616 #include <sys/asoundlib.h>
13617 #endif
13619 main ()
13621 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13623 return 0;
13625 _ACEOF
13626 if ac_fn_c_try_compile "$LINENO"; then :
13627 ALSA_LIBS="-lasound"
13629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13633 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13635 if test "x$with_oss" != xno
13636 then
13637 ac_save_CPPFLAGS="$CPPFLAGS"
13638 if test -f /etc/oss.conf
13639 then
13640 . /etc/oss.conf
13642 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13643 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13644 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13645 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13646 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13648 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13650 cat >>confdefs.h <<_ACEOF
13651 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13652 _ACEOF
13654 OSS4_CFLAGS="$ac_oss_incl"
13661 CPPFLAGS="$ac_save_CPPFLAGS"
13663 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13664 case "x$with_oss" in
13665 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13666 xno) ;;
13667 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13668 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13669 esac
13670 enable_wineoss_drv=${enable_wineoss_drv:-no}
13673 if test "x$with_udev" != "xno"
13674 then
13675 if ${UDEV_CFLAGS:+false} :; then :
13676 if ${PKG_CONFIG+:} false; then :
13677 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13681 if ${UDEV_LIBS:+false} :; then :
13682 if ${PKG_CONFIG+:} false; then :
13683 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13687 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13688 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13689 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13690 ac_save_CPPFLAGS=$CPPFLAGS
13691 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13692 for ac_header in libudev.h
13693 do :
13694 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13695 if test "x$ac_cv_header_libudev_h" = xyes; then :
13696 cat >>confdefs.h <<_ACEOF
13697 #define HAVE_LIBUDEV_H 1
13698 _ACEOF
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13700 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13701 if ${ac_cv_lib_udev_udev_new+:} false; then :
13702 $as_echo_n "(cached) " >&6
13703 else
13704 ac_check_lib_save_LIBS=$LIBS
13705 LIBS="-ludev $UDEV_LIBS $LIBS"
13706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13709 /* Override any GCC internal prototype to avoid an error.
13710 Use char because int might match the return type of a GCC
13711 builtin and then its argument prototype would still apply. */
13712 #ifdef __cplusplus
13713 extern "C"
13714 #endif
13715 char udev_new ();
13717 main ()
13719 return udev_new ();
13721 return 0;
13723 _ACEOF
13724 if ac_fn_c_try_link "$LINENO"; then :
13725 ac_cv_lib_udev_udev_new=yes
13726 else
13727 ac_cv_lib_udev_udev_new=no
13729 rm -f core conftest.err conftest.$ac_objext \
13730 conftest$ac_exeext conftest.$ac_ext
13731 LIBS=$ac_check_lib_save_LIBS
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13734 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13735 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13737 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13739 else
13740 UDEV_LIBS=""
13743 else
13744 UDEV_LIBS=""
13747 done
13749 CPPFLAGS=$ac_save_CPPFLAGS
13750 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13751 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13754 if test "x$UDEV_LIBS" = "x"; then :
13755 case "x$with_udev" in
13756 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13757 xno) ;;
13758 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13759 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13760 esac
13764 if test "x$with_sdl" != "xno"
13765 then
13766 if ${SDL2_CFLAGS:+false} :; then :
13767 if ${PKG_CONFIG+:} false; then :
13768 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13772 if ${SDL2_LIBS:+false} :; then :
13773 if ${PKG_CONFIG+:} false; then :
13774 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13778 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13779 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13780 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13781 ac_save_CPPFLAGS=$CPPFLAGS
13782 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13783 for ac_header in SDL2/SDL.h
13784 do :
13785 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13786 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13787 cat >>confdefs.h <<_ACEOF
13788 #define HAVE_SDL2_SDL_H 1
13789 _ACEOF
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13791 $as_echo_n "checking for -lSDL2... " >&6; }
13792 if ${ac_cv_lib_soname_SDL2+:} false; then :
13793 $as_echo_n "(cached) " >&6
13794 else
13795 ac_check_soname_save_LIBS=$LIBS
13796 LIBS="-lSDL2 $LIBS"
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13800 /* Override any GCC internal prototype to avoid an error.
13801 Use char because int might match the return type of a GCC
13802 builtin and then its argument prototype would still apply. */
13803 #ifdef __cplusplus
13804 extern "C"
13805 #endif
13806 char SDL_Init ();
13808 main ()
13810 return SDL_Init ();
13812 return 0;
13814 _ACEOF
13815 if ac_fn_c_try_link "$LINENO"; then :
13816 case "$LIBEXT" in
13817 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13818 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'` ;;
13819 *) 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'`
13820 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13821 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13822 fi ;;
13823 esac
13825 rm -f core conftest.err conftest.$ac_objext \
13826 conftest$ac_exeext conftest.$ac_ext
13827 LIBS=$ac_check_soname_save_LIBS
13829 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13831 $as_echo "not found" >&6; }
13833 else
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13835 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13837 cat >>confdefs.h <<_ACEOF
13838 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13839 _ACEOF
13845 done
13847 CPPFLAGS=$ac_save_CPPFLAGS
13848 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13849 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13852 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13853 case "x$with_sdl" in
13854 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13855 xno) ;;
13856 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13857 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13858 esac
13862 if test "x$with_capi" != "xno"
13863 then
13864 if ${CAPI20_CFLAGS:+false} :; then :
13865 if ${PKG_CONFIG+:} false; then :
13866 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13870 if ${CAPI20_LIBS:+false} :; then :
13871 if ${PKG_CONFIG+:} false; then :
13872 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13877 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13878 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13879 ac_save_CPPFLAGS=$CPPFLAGS
13880 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13881 for ac_header in capi20.h linux/capi.h
13882 do :
13883 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13884 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13886 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13887 cat >>confdefs.h <<_ACEOF
13888 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13889 _ACEOF
13893 done
13895 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13896 then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13898 $as_echo_n "checking for -lcapi20... " >&6; }
13899 if ${ac_cv_lib_soname_capi20+:} false; then :
13900 $as_echo_n "(cached) " >&6
13901 else
13902 ac_check_soname_save_LIBS=$LIBS
13903 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13907 /* Override any GCC internal prototype to avoid an error.
13908 Use char because int might match the return type of a GCC
13909 builtin and then its argument prototype would still apply. */
13910 #ifdef __cplusplus
13911 extern "C"
13912 #endif
13913 char capi20_register ();
13915 main ()
13917 return capi20_register ();
13919 return 0;
13921 _ACEOF
13922 if ac_fn_c_try_link "$LINENO"; then :
13923 case "$LIBEXT" in
13924 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13925 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'` ;;
13926 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13927 if ${ac_cv_lib_soname_capi20:+false} :; then :
13928 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13929 fi ;;
13930 esac
13932 rm -f core conftest.err conftest.$ac_objext \
13933 conftest$ac_exeext conftest.$ac_ext
13934 LIBS=$ac_check_soname_save_LIBS
13936 if ${ac_cv_lib_soname_capi20:+false} :; then :
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13938 $as_echo "not found" >&6; }
13940 else
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13942 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13944 cat >>confdefs.h <<_ACEOF
13945 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13946 _ACEOF
13951 CPPFLAGS=$ac_save_CPPFLAGS
13952 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13953 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13956 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13957 case "x$with_capi" in
13958 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13959 xno) ;;
13960 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13961 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13962 esac
13966 if test "x$with_cups" != "xno"
13967 then
13968 if ${CUPS_CFLAGS:+false} :; then :
13969 if ${PKG_CONFIG+:} false; then :
13970 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13973 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13974 if ${CUPS_LIBS:+false} :; then :
13975 if ${PKG_CONFIG+:} false; then :
13976 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13979 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13980 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13981 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13982 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13983 ac_save_CPPFLAGS=$CPPFLAGS
13984 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13985 for ac_header in cups/cups.h cups/ppd.h
13986 do :
13987 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13988 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13989 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13990 cat >>confdefs.h <<_ACEOF
13991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13992 _ACEOF
13996 done
13998 if test "$ac_cv_header_cups_cups_h" = "yes"
13999 then
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14001 $as_echo_n "checking for -lcups... " >&6; }
14002 if ${ac_cv_lib_soname_cups+:} false; then :
14003 $as_echo_n "(cached) " >&6
14004 else
14005 ac_check_soname_save_LIBS=$LIBS
14006 LIBS="-lcups $CUPS_LIBS $LIBS"
14007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14010 /* Override any GCC internal prototype to avoid an error.
14011 Use char because int might match the return type of a GCC
14012 builtin and then its argument prototype would still apply. */
14013 #ifdef __cplusplus
14014 extern "C"
14015 #endif
14016 char cupsGetDefault ();
14018 main ()
14020 return cupsGetDefault ();
14022 return 0;
14024 _ACEOF
14025 if ac_fn_c_try_link "$LINENO"; then :
14026 case "$LIBEXT" in
14027 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14028 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'` ;;
14029 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14030 if ${ac_cv_lib_soname_cups:+false} :; then :
14031 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14032 fi ;;
14033 esac
14035 rm -f core conftest.err conftest.$ac_objext \
14036 conftest$ac_exeext conftest.$ac_ext
14037 LIBS=$ac_check_soname_save_LIBS
14039 if ${ac_cv_lib_soname_cups:+false} :; then :
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14041 $as_echo "not found" >&6; }
14042 CUPS_LIBS=""
14043 else
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14045 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14047 cat >>confdefs.h <<_ACEOF
14048 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14049 _ACEOF
14053 else
14054 CUPS_CFLAGS=""
14055 CUPS_LIBS=""
14057 CPPFLAGS=$ac_save_CPPFLAGS
14058 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14059 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14062 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14063 case "x$with_cups" in
14064 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14065 xno) ;;
14066 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14067 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14068 esac
14072 if test "x$with_fontconfig" != "xno"
14073 then
14074 if ${FONTCONFIG_CFLAGS:+false} :; then :
14075 if ${PKG_CONFIG+:} false; then :
14076 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14079 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14080 if ${FONTCONFIG_LIBS:+false} :; then :
14081 if ${PKG_CONFIG+:} false; then :
14082 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14085 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14087 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14088 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14089 ac_save_CPPFLAGS=$CPPFLAGS
14090 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14091 for ac_header in fontconfig/fontconfig.h
14092 do :
14093 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14094 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14095 cat >>confdefs.h <<_ACEOF
14096 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14097 _ACEOF
14101 done
14103 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14104 then
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14106 $as_echo_n "checking for -lfontconfig... " >&6; }
14107 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14108 $as_echo_n "(cached) " >&6
14109 else
14110 ac_check_soname_save_LIBS=$LIBS
14111 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14115 /* Override any GCC internal prototype to avoid an error.
14116 Use char because int might match the return type of a GCC
14117 builtin and then its argument prototype would still apply. */
14118 #ifdef __cplusplus
14119 extern "C"
14120 #endif
14121 char FcInit ();
14123 main ()
14125 return FcInit ();
14127 return 0;
14129 _ACEOF
14130 if ac_fn_c_try_link "$LINENO"; then :
14131 case "$LIBEXT" in
14132 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14133 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'` ;;
14134 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14135 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14136 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14137 fi ;;
14138 esac
14140 rm -f core conftest.err conftest.$ac_objext \
14141 conftest$ac_exeext conftest.$ac_ext
14142 LIBS=$ac_check_soname_save_LIBS
14144 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14146 $as_echo "not found" >&6; }
14147 FONTCONFIG_CFLAGS=""
14148 else
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14150 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14152 cat >>confdefs.h <<_ACEOF
14153 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14154 _ACEOF
14158 else
14159 FONTCONFIG_CFLAGS=""
14161 CPPFLAGS=$ac_save_CPPFLAGS
14162 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14163 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14166 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14167 case "x$with_fontconfig" in
14168 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14169 xno) ;;
14170 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14171 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14172 esac
14176 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14177 then
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14179 $as_echo_n "checking for -lgsm... " >&6; }
14180 if ${ac_cv_lib_soname_gsm+:} false; then :
14181 $as_echo_n "(cached) " >&6
14182 else
14183 ac_check_soname_save_LIBS=$LIBS
14184 LIBS="-lgsm $LIBS"
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14188 /* Override any GCC internal prototype to avoid an error.
14189 Use char because int might match the return type of a GCC
14190 builtin and then its argument prototype would still apply. */
14191 #ifdef __cplusplus
14192 extern "C"
14193 #endif
14194 char gsm_create ();
14196 main ()
14198 return gsm_create ();
14200 return 0;
14202 _ACEOF
14203 if ac_fn_c_try_link "$LINENO"; then :
14204 case "$LIBEXT" in
14205 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14206 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'` ;;
14207 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14208 if ${ac_cv_lib_soname_gsm:+false} :; then :
14209 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14210 fi ;;
14211 esac
14213 rm -f core conftest.err conftest.$ac_objext \
14214 conftest$ac_exeext conftest.$ac_ext
14215 LIBS=$ac_check_soname_save_LIBS
14217 if ${ac_cv_lib_soname_gsm:+false} :; then :
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14219 $as_echo "not found" >&6; }
14221 else
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14223 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14225 cat >>confdefs.h <<_ACEOF
14226 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14227 _ACEOF
14232 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14233 case "x$with_gsm" in
14234 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14235 xno) ;;
14236 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14237 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14238 esac
14242 if test "x$with_krb5" != "xno"
14243 then
14244 if ${KRB5_CFLAGS:+false} :; then :
14245 if ${PKG_CONFIG+:} false; then :
14246 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14249 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14250 if ${KRB5_LIBS:+false} :; then :
14251 if ${PKG_CONFIG+:} false; then :
14252 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14255 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14257 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14258 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14259 ac_save_CPPFLAGS=$CPPFLAGS
14260 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14261 for ac_header in krb5/krb5.h
14262 do :
14263 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14264 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14265 cat >>confdefs.h <<_ACEOF
14266 #define HAVE_KRB5_KRB5_H 1
14267 _ACEOF
14271 done
14273 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14274 then
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14276 $as_echo_n "checking for -lkrb5... " >&6; }
14277 if ${ac_cv_lib_soname_krb5+:} false; then :
14278 $as_echo_n "(cached) " >&6
14279 else
14280 ac_check_soname_save_LIBS=$LIBS
14281 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14285 /* Override any GCC internal prototype to avoid an error.
14286 Use char because int might match the return type of a GCC
14287 builtin and then its argument prototype would still apply. */
14288 #ifdef __cplusplus
14289 extern "C"
14290 #endif
14291 char krb5_is_config_principal ();
14293 main ()
14295 return krb5_is_config_principal ();
14297 return 0;
14299 _ACEOF
14300 if ac_fn_c_try_link "$LINENO"; then :
14301 case "$LIBEXT" in
14302 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14303 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'` ;;
14304 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14305 if ${ac_cv_lib_soname_krb5:+false} :; then :
14306 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14307 fi ;;
14308 esac
14310 rm -f core conftest.err conftest.$ac_objext \
14311 conftest$ac_exeext conftest.$ac_ext
14312 LIBS=$ac_check_soname_save_LIBS
14314 if ${ac_cv_lib_soname_krb5:+false} :; then :
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14316 $as_echo "not found" >&6; }
14317 KRB5_CFLAGS=""
14318 else
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14320 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14322 cat >>confdefs.h <<_ACEOF
14323 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14324 _ACEOF
14328 else
14329 KRB5_CFLAGS=""
14331 CPPFLAGS=$ac_save_CPPFLAGS
14332 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14333 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14335 else
14336 with_gssapi=${with_gssapi:-no}
14338 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14339 case "x$with_krb5" in
14340 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14341 xno) ;;
14342 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14343 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14344 esac
14348 if test "x$with_gssapi" != "xno"
14349 then
14350 if ${GSSAPI_CFLAGS:+false} :; then :
14351 if ${PKG_CONFIG+:} false; then :
14352 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14355 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14356 if ${GSSAPI_LIBS:+false} :; then :
14357 if ${PKG_CONFIG+:} false; then :
14358 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14361 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14363 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14364 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14365 ac_save_CPPFLAGS=$CPPFLAGS
14366 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14367 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14368 do :
14369 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14370 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14371 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14372 cat >>confdefs.h <<_ACEOF
14373 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14374 _ACEOF
14378 done
14380 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14381 then
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14383 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14384 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14385 $as_echo_n "(cached) " >&6
14386 else
14387 ac_check_soname_save_LIBS=$LIBS
14388 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14392 /* Override any GCC internal prototype to avoid an error.
14393 Use char because int might match the return type of a GCC
14394 builtin and then its argument prototype would still apply. */
14395 #ifdef __cplusplus
14396 extern "C"
14397 #endif
14398 char gss_init_sec_context ();
14400 main ()
14402 return gss_init_sec_context ();
14404 return 0;
14406 _ACEOF
14407 if ac_fn_c_try_link "$LINENO"; then :
14408 case "$LIBEXT" in
14409 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14410 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'` ;;
14411 *) 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'`
14412 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14413 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14414 fi ;;
14415 esac
14417 rm -f core conftest.err conftest.$ac_objext \
14418 conftest$ac_exeext conftest.$ac_ext
14419 LIBS=$ac_check_soname_save_LIBS
14421 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14423 $as_echo "not found" >&6; }
14424 GSSAPI_CFLAGS=""
14425 else
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14427 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14429 cat >>confdefs.h <<_ACEOF
14430 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14431 _ACEOF
14435 else
14436 GSSAPI_CFLAGS=""
14438 CPPFLAGS=$ac_save_CPPFLAGS
14439 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14440 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14443 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14444 case "x$with_gssapi" in
14445 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14446 xno) ;;
14447 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14448 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14449 esac
14453 if test "x$with_jpeg" != "xno"
14454 then
14455 if ${JPEG_CFLAGS:+false} :; then :
14456 if ${PKG_CONFIG+:} false; then :
14457 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14461 if ${JPEG_LIBS:+false} :; then :
14462 if ${PKG_CONFIG+:} false; then :
14463 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14468 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14469 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14470 ac_save_CPPFLAGS=$CPPFLAGS
14471 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14472 for ac_header in jpeglib.h
14473 do :
14474 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14475 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14476 cat >>confdefs.h <<_ACEOF
14477 #define HAVE_JPEGLIB_H 1
14478 _ACEOF
14482 done
14484 if test "$ac_cv_header_jpeglib_h" = "yes"
14485 then
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14487 $as_echo_n "checking for -ljpeg... " >&6; }
14488 if ${ac_cv_lib_soname_jpeg+:} false; then :
14489 $as_echo_n "(cached) " >&6
14490 else
14491 ac_check_soname_save_LIBS=$LIBS
14492 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14496 /* Override any GCC internal prototype to avoid an error.
14497 Use char because int might match the return type of a GCC
14498 builtin and then its argument prototype would still apply. */
14499 #ifdef __cplusplus
14500 extern "C"
14501 #endif
14502 char jpeg_start_decompress ();
14504 main ()
14506 return jpeg_start_decompress ();
14508 return 0;
14510 _ACEOF
14511 if ac_fn_c_try_link "$LINENO"; then :
14512 case "$LIBEXT" in
14513 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14514 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'` ;;
14515 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14516 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14517 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14518 fi ;;
14519 esac
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 LIBS=$ac_check_soname_save_LIBS
14525 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14527 $as_echo "not found" >&6; }
14528 JPEG_CFLAGS=""
14529 else
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14531 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14533 cat >>confdefs.h <<_ACEOF
14534 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14535 _ACEOF
14539 else
14540 JPEG_CFLAGS=""
14542 CPPFLAGS=$ac_save_CPPFLAGS
14543 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14544 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14547 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14548 case "x$with_jpeg" in
14549 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14550 xno) ;;
14551 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14552 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14553 esac
14557 if test "x$with_png" != "xno"
14558 then
14559 if ${PNG_CFLAGS:+false} :; then :
14560 if ${PKG_CONFIG+:} false; then :
14561 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14564 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14565 if ${PNG_LIBS:+false} :; then :
14566 if ${PKG_CONFIG+:} false; then :
14567 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14570 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14572 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14573 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14574 ac_save_CPPFLAGS=$CPPFLAGS
14575 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14576 for ac_header in png.h
14577 do :
14578 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14579 if test "x$ac_cv_header_png_h" = xyes; then :
14580 cat >>confdefs.h <<_ACEOF
14581 #define HAVE_PNG_H 1
14582 _ACEOF
14586 done
14588 if test "$ac_cv_header_png_h" = "yes"
14589 then
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14591 $as_echo_n "checking for -lpng... " >&6; }
14592 if ${ac_cv_lib_soname_png+:} false; then :
14593 $as_echo_n "(cached) " >&6
14594 else
14595 ac_check_soname_save_LIBS=$LIBS
14596 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14600 /* Override any GCC internal prototype to avoid an error.
14601 Use char because int might match the return type of a GCC
14602 builtin and then its argument prototype would still apply. */
14603 #ifdef __cplusplus
14604 extern "C"
14605 #endif
14606 char png_create_read_struct ();
14608 main ()
14610 return png_create_read_struct ();
14612 return 0;
14614 _ACEOF
14615 if ac_fn_c_try_link "$LINENO"; then :
14616 case "$LIBEXT" in
14617 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14618 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'` ;;
14619 *) 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'`
14620 if ${ac_cv_lib_soname_png:+false} :; then :
14621 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14622 fi ;;
14623 esac
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 LIBS=$ac_check_soname_save_LIBS
14629 if ${ac_cv_lib_soname_png:+false} :; then :
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14631 $as_echo "not found" >&6; }
14632 PNG_CFLAGS=""
14633 else
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14635 $as_echo "$ac_cv_lib_soname_png" >&6; }
14637 cat >>confdefs.h <<_ACEOF
14638 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14639 _ACEOF
14643 else
14644 PNG_CFLAGS=""
14646 CPPFLAGS=$ac_save_CPPFLAGS
14647 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14648 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14651 if test "x$ac_cv_lib_soname_png" = "x"; then :
14652 case "x$with_png" in
14653 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14654 xno) ;;
14655 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14656 This is an error since --with-png was requested." "$LINENO" 5 ;;
14657 esac
14661 if test "x$with_tiff" != "xno"
14662 then
14663 if ${TIFF_CFLAGS:+false} :; then :
14664 if ${PKG_CONFIG+:} false; then :
14665 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14669 if ${TIFF_LIBS:+false} :; then :
14670 if ${PKG_CONFIG+:} false; then :
14671 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14676 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14677 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14678 ac_save_CPPFLAGS=$CPPFLAGS
14679 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14680 for ac_header in tiffio.h
14681 do :
14682 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14683 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14684 cat >>confdefs.h <<_ACEOF
14685 #define HAVE_TIFFIO_H 1
14686 _ACEOF
14690 done
14692 if test "$ac_cv_header_tiffio_h" = "yes"
14693 then
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14695 $as_echo_n "checking for -ltiff... " >&6; }
14696 if ${ac_cv_lib_soname_tiff+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 ac_check_soname_save_LIBS=$LIBS
14700 LIBS="-ltiff $TIFF_LIBS $LIBS"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14704 /* Override any GCC internal prototype to avoid an error.
14705 Use char because int might match the return type of a GCC
14706 builtin and then its argument prototype would still apply. */
14707 #ifdef __cplusplus
14708 extern "C"
14709 #endif
14710 char TIFFClientOpen ();
14712 main ()
14714 return TIFFClientOpen ();
14716 return 0;
14718 _ACEOF
14719 if ac_fn_c_try_link "$LINENO"; then :
14720 case "$LIBEXT" in
14721 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14722 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'` ;;
14723 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14724 if ${ac_cv_lib_soname_tiff:+false} :; then :
14725 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14726 fi ;;
14727 esac
14729 rm -f core conftest.err conftest.$ac_objext \
14730 conftest$ac_exeext conftest.$ac_ext
14731 LIBS=$ac_check_soname_save_LIBS
14733 if ${ac_cv_lib_soname_tiff:+false} :; then :
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14735 $as_echo "not found" >&6; }
14737 else
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14739 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14741 cat >>confdefs.h <<_ACEOF
14742 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14743 _ACEOF
14748 CPPFLAGS=$ac_save_CPPFLAGS
14749 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14750 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14753 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14754 case "x$with_tiff" in
14755 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14756 xno) ;;
14757 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14758 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14759 esac
14763 if test "x$with_mpg123" != "xno"
14764 then
14765 if ${MPG123_CFLAGS:+false} :; then :
14766 if ${PKG_CONFIG+:} false; then :
14767 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14771 if ${MPG123_LIBS:+false} :; then :
14772 if ${PKG_CONFIG+:} false; then :
14773 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14777 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14778 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14779 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14780 ac_save_CPPFLAGS=$CPPFLAGS
14781 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14782 for ac_header in mpg123.h
14783 do :
14784 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14785 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14786 cat >>confdefs.h <<_ACEOF
14787 #define HAVE_MPG123_H 1
14788 _ACEOF
14792 done
14794 if test "$ac_cv_header_mpg123_h" = "yes"
14795 then
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14797 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14798 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14799 $as_echo_n "(cached) " >&6
14800 else
14801 ac_check_lib_save_LIBS=$LIBS
14802 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14804 /* end confdefs.h. */
14806 /* Override any GCC internal prototype to avoid an error.
14807 Use char because int might match the return type of a GCC
14808 builtin and then its argument prototype would still apply. */
14809 #ifdef __cplusplus
14810 extern "C"
14811 #endif
14812 char mpg123_feed ();
14814 main ()
14816 return mpg123_feed ();
14818 return 0;
14820 _ACEOF
14821 if ac_fn_c_try_link "$LINENO"; then :
14822 ac_cv_lib_mpg123_mpg123_feed=yes
14823 else
14824 ac_cv_lib_mpg123_mpg123_feed=no
14826 rm -f core conftest.err conftest.$ac_objext \
14827 conftest$ac_exeext conftest.$ac_ext
14828 LIBS=$ac_check_lib_save_LIBS
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14831 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14832 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14834 else
14835 MPG123_LIBS=""
14838 else
14839 MPG123_CFLAGS=""
14840 MPG123_LIBS=""
14842 CPPFLAGS=$ac_save_CPPFLAGS
14843 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14844 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14847 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14848 case "x$with_mpg123" in
14849 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14850 xno) ;;
14851 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14852 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14853 esac
14854 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14856 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14858 if test "$ac_cv_header_AL_al_h" = "yes"
14859 then
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14861 $as_echo_n "checking for -lopenal... " >&6; }
14862 if ${ac_cv_lib_soname_openal+:} false; then :
14863 $as_echo_n "(cached) " >&6
14864 else
14865 ac_check_soname_save_LIBS=$LIBS
14866 LIBS="-lopenal $LIBS"
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14870 /* Override any GCC internal prototype to avoid an error.
14871 Use char because int might match the return type of a GCC
14872 builtin and then its argument prototype would still apply. */
14873 #ifdef __cplusplus
14874 extern "C"
14875 #endif
14876 char alGetSource3i ();
14878 main ()
14880 return alGetSource3i ();
14882 return 0;
14884 _ACEOF
14885 if ac_fn_c_try_link "$LINENO"; then :
14886 case "$LIBEXT" in
14887 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14888 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'` ;;
14889 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14890 if ${ac_cv_lib_soname_openal:+false} :; then :
14891 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14892 fi ;;
14893 esac
14895 rm -f core conftest.err conftest.$ac_objext \
14896 conftest$ac_exeext conftest.$ac_ext
14897 LIBS=$ac_check_soname_save_LIBS
14899 if ${ac_cv_lib_soname_openal:+false} :; then :
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14901 $as_echo "not found" >&6; }
14903 else
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14905 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14907 cat >>confdefs.h <<_ACEOF
14908 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14909 _ACEOF
14911 OPENAL_LIBS="-lopenal"
14913 ac_cv_lib_openal=yes
14915 cat >>confdefs.h <<_ACEOF
14916 #define HAVE_OPENAL 1
14917 _ACEOF
14921 if test "x$ac_cv_lib_openal" != xyes; then :
14922 case "x$with_openal" in
14923 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14924 xno) ;;
14925 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14926 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14927 esac
14928 enable_openal32=${enable_openal32:-no}
14931 if test "x$ac_cv_lib_openal" = xyes
14932 then
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14934 $as_echo_n "checking for openal-soft... " >&6; }
14935 if ${ac_cv_have_openalsoft+:} false; then :
14936 $as_echo_n "(cached) " >&6
14937 else
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14940 #include <AL/al.h>
14941 #include <AL/alc.h>
14942 #include <AL/alext.h>
14943 LPALCRENDERSAMPLESSOFT x;
14945 main ()
14949 return 0;
14951 _ACEOF
14952 if ac_fn_c_try_compile "$LINENO"; then :
14953 ac_cv_have_openalsoft=yes
14954 else
14955 ac_cv_have_openalsoft=no
14957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14960 $as_echo "$ac_cv_have_openalsoft" >&6; }
14962 if test "x$ac_cv_have_openalsoft" != xyes
14963 then
14964 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14965 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14966 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14967 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14968 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14969 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14970 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14971 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14972 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14973 enable_xapofx1_1=${enable_xapofx1_1:-no}
14974 enable_xapofx1_2=${enable_xapofx1_2:-no}
14975 enable_xapofx1_3=${enable_xapofx1_3:-no}
14976 enable_xapofx1_4=${enable_xapofx1_4:-no}
14977 enable_xapofx1_5=${enable_xapofx1_5:-no}
14978 enable_xaudio2_0=${enable_xaudio2_0:-no}
14979 enable_xaudio2_1=${enable_xaudio2_1:-no}
14980 enable_xaudio2_2=${enable_xaudio2_2:-no}
14981 enable_xaudio2_3=${enable_xaudio2_3:-no}
14982 enable_xaudio2_4=${enable_xaudio2_4:-no}
14983 enable_xaudio2_5=${enable_xaudio2_5:-no}
14984 enable_xaudio2_6=${enable_xaudio2_6:-no}
14985 enable_xaudio2_7=${enable_xaudio2_7:-no}
14986 enable_xaudio2_8=${enable_xaudio2_8:-no}
14987 enable_xaudio2_9=${enable_xaudio2_9:-no}
14990 if test "$ac_cv_header_kstat_h" = "yes"
14991 then
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14993 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14994 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14995 $as_echo_n "(cached) " >&6
14996 else
14997 ac_check_lib_save_LIBS=$LIBS
14998 LIBS="-lkstat $LIBS"
14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15002 /* Override any GCC internal prototype to avoid an error.
15003 Use char because int might match the return type of a GCC
15004 builtin and then its argument prototype would still apply. */
15005 #ifdef __cplusplus
15006 extern "C"
15007 #endif
15008 char kstat_open ();
15010 main ()
15012 return kstat_open ();
15014 return 0;
15016 _ACEOF
15017 if ac_fn_c_try_link "$LINENO"; then :
15018 ac_cv_lib_kstat_kstat_open=yes
15019 else
15020 ac_cv_lib_kstat_kstat_open=no
15022 rm -f core conftest.err conftest.$ac_objext \
15023 conftest$ac_exeext conftest.$ac_ext
15024 LIBS=$ac_check_lib_save_LIBS
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15027 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15028 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15030 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15032 KSTAT_LIBS="-lkstat"
15038 if test "$ac_cv_header_libprocstat_h" = "yes"
15039 then
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15041 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15042 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15043 $as_echo_n "(cached) " >&6
15044 else
15045 ac_check_lib_save_LIBS=$LIBS
15046 LIBS="-lprocstat $LIBS"
15047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15048 /* end confdefs.h. */
15050 /* Override any GCC internal prototype to avoid an error.
15051 Use char because int might match the return type of a GCC
15052 builtin and then its argument prototype would still apply. */
15053 #ifdef __cplusplus
15054 extern "C"
15055 #endif
15056 char procstat_open_sysctl ();
15058 main ()
15060 return procstat_open_sysctl ();
15062 return 0;
15064 _ACEOF
15065 if ac_fn_c_try_link "$LINENO"; then :
15066 ac_cv_lib_procstat_procstat_open_sysctl=yes
15067 else
15068 ac_cv_lib_procstat_procstat_open_sysctl=no
15070 rm -f core conftest.err conftest.$ac_objext \
15071 conftest$ac_exeext conftest.$ac_ext
15072 LIBS=$ac_check_lib_save_LIBS
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15075 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15076 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15078 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15080 PROCSTAT_LIBS="-lprocstat"
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15087 $as_echo_n "checking for -lodbc... " >&6; }
15088 if ${ac_cv_lib_soname_odbc+:} false; then :
15089 $as_echo_n "(cached) " >&6
15090 else
15091 ac_check_soname_save_LIBS=$LIBS
15092 LIBS="-lodbc $LIBS"
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15099 #ifdef __cplusplus
15100 extern "C"
15101 #endif
15102 char SQLConnect ();
15104 main ()
15106 return SQLConnect ();
15108 return 0;
15110 _ACEOF
15111 if ac_fn_c_try_link "$LINENO"; then :
15112 case "$LIBEXT" in
15113 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15114 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'` ;;
15115 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15116 if ${ac_cv_lib_soname_odbc:+false} :; then :
15117 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15118 fi ;;
15119 esac
15121 rm -f core conftest.err conftest.$ac_objext \
15122 conftest$ac_exeext conftest.$ac_ext
15123 LIBS=$ac_check_soname_save_LIBS
15125 if ${ac_cv_lib_soname_odbc:+false} :; then :
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15127 $as_echo "not found" >&6; }
15128 cat >>confdefs.h <<_ACEOF
15129 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15130 _ACEOF
15132 else
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15134 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15136 cat >>confdefs.h <<_ACEOF
15137 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15138 _ACEOF
15143 if test "x$with_netapi" != "xno"
15144 then
15145 if ${NETAPI_CFLAGS:+false} :; then :
15146 if ${PKG_CONFIG+:} false; then :
15147 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15151 if ${NETAPI_LIBS:+false} :; then :
15152 if ${PKG_CONFIG+:} false; then :
15153 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15158 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15159 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15160 ac_save_CPPFLAGS=$CPPFLAGS
15161 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15163 $as_echo_n "checking for -lnetapi... " >&6; }
15164 if ${ac_cv_lib_soname_netapi+:} false; then :
15165 $as_echo_n "(cached) " >&6
15166 else
15167 ac_check_soname_save_LIBS=$LIBS
15168 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15172 /* Override any GCC internal prototype to avoid an error.
15173 Use char because int might match the return type of a GCC
15174 builtin and then its argument prototype would still apply. */
15175 #ifdef __cplusplus
15176 extern "C"
15177 #endif
15178 char libnetapi_init ();
15180 main ()
15182 return libnetapi_init ();
15184 return 0;
15186 _ACEOF
15187 if ac_fn_c_try_link "$LINENO"; then :
15188 case "$LIBEXT" in
15189 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15190 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'` ;;
15191 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15192 if ${ac_cv_lib_soname_netapi:+false} :; then :
15193 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15194 fi ;;
15195 esac
15197 rm -f core conftest.err conftest.$ac_objext \
15198 conftest$ac_exeext conftest.$ac_ext
15199 LIBS=$ac_check_soname_save_LIBS
15201 if ${ac_cv_lib_soname_netapi:+false} :; then :
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15203 $as_echo "not found" >&6; }
15204 cat >>confdefs.h <<_ACEOF
15205 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15206 _ACEOF
15208 else
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15210 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15212 cat >>confdefs.h <<_ACEOF
15213 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15214 _ACEOF
15218 CPPFLAGS=$ac_save_CPPFLAGS
15219 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15220 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15224 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15225 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15226 then
15227 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15230 if test "x$with_vulkan" != "xno"
15231 then
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15233 $as_echo_n "checking for -lvulkan... " >&6; }
15234 if ${ac_cv_lib_soname_vulkan+:} false; then :
15235 $as_echo_n "(cached) " >&6
15236 else
15237 ac_check_soname_save_LIBS=$LIBS
15238 LIBS="-lvulkan $LIBS"
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15242 /* Override any GCC internal prototype to avoid an error.
15243 Use char because int might match the return type of a GCC
15244 builtin and then its argument prototype would still apply. */
15245 #ifdef __cplusplus
15246 extern "C"
15247 #endif
15248 char vkGetInstanceProcAddr ();
15250 main ()
15252 return vkGetInstanceProcAddr ();
15254 return 0;
15256 _ACEOF
15257 if ac_fn_c_try_link "$LINENO"; then :
15258 case "$LIBEXT" in
15259 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15260 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'` ;;
15261 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15262 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15263 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15264 fi ;;
15265 esac
15267 rm -f core conftest.err conftest.$ac_objext \
15268 conftest$ac_exeext conftest.$ac_ext
15269 LIBS=$ac_check_soname_save_LIBS
15271 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15273 $as_echo "not found" >&6; }
15275 else
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15277 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15279 cat >>confdefs.h <<_ACEOF
15280 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15281 _ACEOF
15285 if test "x$ac_cv_lib_soname_vulkan" = "x"
15286 then
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15288 $as_echo_n "checking for -lMoltenVK... " >&6; }
15289 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15292 ac_check_soname_save_LIBS=$LIBS
15293 LIBS="-lMoltenVK $LIBS"
15294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15300 #ifdef __cplusplus
15301 extern "C"
15302 #endif
15303 char vkGetInstanceProcAddr ();
15305 main ()
15307 return vkGetInstanceProcAddr ();
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 case "$LIBEXT" in
15314 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15315 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'` ;;
15316 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15317 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15318 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15319 fi ;;
15320 esac
15322 rm -f core conftest.err conftest.$ac_objext \
15323 conftest$ac_exeext conftest.$ac_ext
15324 LIBS=$ac_check_soname_save_LIBS
15326 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15328 $as_echo "not found" >&6; }
15330 else
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15332 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15334 cat >>confdefs.h <<_ACEOF
15335 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15336 _ACEOF
15342 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15343 case "x$with_vulkan" in
15344 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15345 xno) ;;
15346 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15347 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15348 esac
15352 if test "x$with_vkd3d" != "xno"
15353 then
15354 if ${VKD3D_CFLAGS:+false} :; then :
15355 if ${PKG_CONFIG+:} false; then :
15356 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15360 if ${VKD3D_LIBS:+false} :; then :
15361 if ${PKG_CONFIG+:} false; then :
15362 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15367 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15368 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15369 ac_save_CPPFLAGS=$CPPFLAGS
15370 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15372 $as_echo_n "checking for -lvkd3d... " >&6; }
15373 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15374 $as_echo_n "(cached) " >&6
15375 else
15376 ac_check_soname_save_LIBS=$LIBS
15377 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 /* Override any GCC internal prototype to avoid an error.
15382 Use char because int might match the return type of a GCC
15383 builtin and then its argument prototype would still apply. */
15384 #ifdef __cplusplus
15385 extern "C"
15386 #endif
15387 char vkd3d_create_device ();
15389 main ()
15391 return vkd3d_create_device ();
15393 return 0;
15395 _ACEOF
15396 if ac_fn_c_try_link "$LINENO"; then :
15397 case "$LIBEXT" in
15398 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15399 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'` ;;
15400 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15401 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15402 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15403 fi ;;
15404 esac
15406 rm -f core conftest.err conftest.$ac_objext \
15407 conftest$ac_exeext conftest.$ac_ext
15408 LIBS=$ac_check_soname_save_LIBS
15410 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15412 $as_echo "not found" >&6; }
15414 else
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15416 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15418 cat >>confdefs.h <<_ACEOF
15419 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15420 _ACEOF
15424 CPPFLAGS=$ac_save_CPPFLAGS
15425 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15426 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15429 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15430 case "x$with_vkd3d" in
15431 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15432 xno) ;;
15433 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15434 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15435 esac
15438 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15441 EXTRACFLAGS=""
15443 if test "x${GCC}" = "xyes"
15444 then
15445 EXTRACFLAGS="-Wall -pipe"
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15448 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15449 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15450 $as_echo_n "(cached) " >&6
15451 else
15452 if test "$cross_compiling" = yes; then :
15453 ac_cv_c_gcc_strength_bug="no"
15454 else
15455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15456 /* end confdefs.h. */
15457 int L[4] = {0,1,2,3};
15459 main ()
15461 static int Array[3];
15462 unsigned int B = 3;
15463 int i;
15464 for(i=0; i<B; i++) Array[i] = i - 3;
15465 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15466 L[i] = 4;
15467 return (Array[1] != -2 || L[2] != 3)
15469 return 0;
15471 _ACEOF
15472 if ac_fn_c_try_run "$LINENO"; then :
15473 ac_cv_c_gcc_strength_bug="no"
15474 else
15475 ac_cv_c_gcc_strength_bug="yes"
15477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15478 conftest.$ac_objext conftest.beam conftest.$ac_ext
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15483 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15484 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15485 then
15486 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15490 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15491 if ${ac_cv_cflags__fno_builtin+:} false; then :
15492 $as_echo_n "(cached) " >&6
15493 else
15494 ac_wine_try_cflags_saved=$CFLAGS
15495 CFLAGS="$CFLAGS -fno-builtin"
15496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15498 int main(int argc, char **argv) { return 0; }
15499 _ACEOF
15500 if ac_fn_c_try_link "$LINENO"; then :
15501 ac_cv_cflags__fno_builtin=yes
15502 else
15503 ac_cv_cflags__fno_builtin=no
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext conftest.$ac_ext
15507 CFLAGS=$ac_wine_try_cflags_saved
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15510 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15511 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15512 BUILTINFLAG="-fno-builtin"
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15516 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15517 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15518 $as_echo_n "(cached) " >&6
15519 else
15520 ac_wine_try_cflags_saved=$CFLAGS
15521 CFLAGS="$CFLAGS -fno-strict-aliasing"
15522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15523 /* end confdefs.h. */
15524 int main(int argc, char **argv) { return 0; }
15525 _ACEOF
15526 if ac_fn_c_try_link "$LINENO"; then :
15527 ac_cv_cflags__fno_strict_aliasing=yes
15528 else
15529 ac_cv_cflags__fno_strict_aliasing=no
15531 rm -f core conftest.err conftest.$ac_objext \
15532 conftest$ac_exeext conftest.$ac_ext
15533 CFLAGS=$ac_wine_try_cflags_saved
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15536 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15537 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15538 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15541 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15542 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15543 $as_echo_n "(cached) " >&6
15544 else
15545 ac_wine_try_cflags_saved=$CFLAGS
15546 CFLAGS="$CFLAGS -fexcess-precision=standard"
15547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15548 /* end confdefs.h. */
15549 int main(int argc, char **argv) { return 0; }
15550 _ACEOF
15551 if ac_fn_c_try_link "$LINENO"; then :
15552 ac_cv_cflags__fexcess_precision_standard=yes
15553 else
15554 ac_cv_cflags__fexcess_precision_standard=no
15556 rm -f core conftest.err conftest.$ac_objext \
15557 conftest$ac_exeext conftest.$ac_ext
15558 CFLAGS=$ac_wine_try_cflags_saved
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15561 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15562 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15563 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15566 saved_CFLAGS=$CFLAGS
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15568 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15569 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15570 $as_echo_n "(cached) " >&6
15571 else
15572 ac_wine_try_cflags_saved=$CFLAGS
15573 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15575 /* end confdefs.h. */
15576 int main(int argc, char **argv) { return 0; }
15577 _ACEOF
15578 if ac_fn_c_try_link "$LINENO"; then :
15579 ac_cv_cflags__Werror_unknown_warning_option=yes
15580 else
15581 ac_cv_cflags__Werror_unknown_warning_option=no
15583 rm -f core conftest.err conftest.$ac_objext \
15584 conftest$ac_exeext conftest.$ac_ext
15585 CFLAGS=$ac_wine_try_cflags_saved
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15588 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15589 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15590 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15593 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15594 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15595 $as_echo_n "(cached) " >&6
15596 else
15597 ac_wine_try_cflags_saved=$CFLAGS
15598 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15600 /* end confdefs.h. */
15601 int main(int argc, char **argv) { return 0; }
15602 _ACEOF
15603 if ac_fn_c_try_link "$LINENO"; then :
15604 ac_cv_cflags__Wdeclaration_after_statement=yes
15605 else
15606 ac_cv_cflags__Wdeclaration_after_statement=no
15608 rm -f core conftest.err conftest.$ac_objext \
15609 conftest$ac_exeext conftest.$ac_ext
15610 CFLAGS=$ac_wine_try_cflags_saved
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15613 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15614 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15615 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15618 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15619 if ${ac_cv_cflags__Wempty_body+:} false; then :
15620 $as_echo_n "(cached) " >&6
15621 else
15622 ac_wine_try_cflags_saved=$CFLAGS
15623 CFLAGS="$CFLAGS -Wempty-body"
15624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15625 /* end confdefs.h. */
15626 int main(int argc, char **argv) { return 0; }
15627 _ACEOF
15628 if ac_fn_c_try_link "$LINENO"; then :
15629 ac_cv_cflags__Wempty_body=yes
15630 else
15631 ac_cv_cflags__Wempty_body=no
15633 rm -f core conftest.err conftest.$ac_objext \
15634 conftest$ac_exeext conftest.$ac_ext
15635 CFLAGS=$ac_wine_try_cflags_saved
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15638 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15639 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15640 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15643 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15644 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15645 $as_echo_n "(cached) " >&6
15646 else
15647 ac_wine_try_cflags_saved=$CFLAGS
15648 CFLAGS="$CFLAGS -Wignored-qualifiers"
15649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15651 int main(int argc, char **argv) { return 0; }
15652 _ACEOF
15653 if ac_fn_c_try_link "$LINENO"; then :
15654 ac_cv_cflags__Wignored_qualifiers=yes
15655 else
15656 ac_cv_cflags__Wignored_qualifiers=no
15658 rm -f core conftest.err conftest.$ac_objext \
15659 conftest$ac_exeext conftest.$ac_ext
15660 CFLAGS=$ac_wine_try_cflags_saved
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15663 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15664 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15665 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15668 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15669 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15670 $as_echo_n "(cached) " >&6
15671 else
15672 ac_wine_try_cflags_saved=$CFLAGS
15673 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15676 int main(int argc, char **argv) { return 0; }
15677 _ACEOF
15678 if ac_fn_c_try_link "$LINENO"; then :
15679 ac_cv_cflags__Wpacked_not_aligned=yes
15680 else
15681 ac_cv_cflags__Wpacked_not_aligned=no
15683 rm -f core conftest.err conftest.$ac_objext \
15684 conftest$ac_exeext conftest.$ac_ext
15685 CFLAGS=$ac_wine_try_cflags_saved
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15688 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15689 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15690 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15693 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15694 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15695 $as_echo_n "(cached) " >&6
15696 else
15697 ac_wine_try_cflags_saved=$CFLAGS
15698 CFLAGS="$CFLAGS -Wpragma-pack"
15699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15701 int main(int argc, char **argv) { return 0; }
15702 _ACEOF
15703 if ac_fn_c_try_link "$LINENO"; then :
15704 ac_cv_cflags__Wpragma_pack=yes
15705 else
15706 ac_cv_cflags__Wpragma_pack=no
15708 rm -f core conftest.err conftest.$ac_objext \
15709 conftest$ac_exeext conftest.$ac_ext
15710 CFLAGS=$ac_wine_try_cflags_saved
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15713 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15714 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15715 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15718 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15719 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15720 $as_echo_n "(cached) " >&6
15721 else
15722 ac_wine_try_cflags_saved=$CFLAGS
15723 CFLAGS="$CFLAGS -Wshift-overflow=2"
15724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15725 /* end confdefs.h. */
15726 int main(int argc, char **argv) { return 0; }
15727 _ACEOF
15728 if ac_fn_c_try_link "$LINENO"; then :
15729 ac_cv_cflags__Wshift_overflow_2=yes
15730 else
15731 ac_cv_cflags__Wshift_overflow_2=no
15733 rm -f core conftest.err conftest.$ac_objext \
15734 conftest$ac_exeext conftest.$ac_ext
15735 CFLAGS=$ac_wine_try_cflags_saved
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15738 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15739 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15740 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15743 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15744 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15745 $as_echo_n "(cached) " >&6
15746 else
15747 ac_wine_try_cflags_saved=$CFLAGS
15748 CFLAGS="$CFLAGS -Wstrict-prototypes"
15749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15750 /* end confdefs.h. */
15751 int main(int argc, char **argv) { return 0; }
15752 _ACEOF
15753 if ac_fn_c_try_link "$LINENO"; then :
15754 ac_cv_cflags__Wstrict_prototypes=yes
15755 else
15756 ac_cv_cflags__Wstrict_prototypes=no
15758 rm -f core conftest.err conftest.$ac_objext \
15759 conftest$ac_exeext conftest.$ac_ext
15760 CFLAGS=$ac_wine_try_cflags_saved
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15763 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15764 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15765 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15768 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15769 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15770 $as_echo_n "(cached) " >&6
15771 else
15772 ac_wine_try_cflags_saved=$CFLAGS
15773 CFLAGS="$CFLAGS -Wtype-limits"
15774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15775 /* end confdefs.h. */
15776 int main(int argc, char **argv) { return 0; }
15777 _ACEOF
15778 if ac_fn_c_try_link "$LINENO"; then :
15779 ac_cv_cflags__Wtype_limits=yes
15780 else
15781 ac_cv_cflags__Wtype_limits=no
15783 rm -f core conftest.err conftest.$ac_objext \
15784 conftest$ac_exeext conftest.$ac_ext
15785 CFLAGS=$ac_wine_try_cflags_saved
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15788 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15789 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15790 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15793 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15794 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15795 $as_echo_n "(cached) " >&6
15796 else
15797 ac_wine_try_cflags_saved=$CFLAGS
15798 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h. */
15801 int main(int argc, char **argv) { return 0; }
15802 _ACEOF
15803 if ac_fn_c_try_link "$LINENO"; then :
15804 ac_cv_cflags__Wunused_but_set_parameter=yes
15805 else
15806 ac_cv_cflags__Wunused_but_set_parameter=no
15808 rm -f core conftest.err conftest.$ac_objext \
15809 conftest$ac_exeext conftest.$ac_ext
15810 CFLAGS=$ac_wine_try_cflags_saved
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15813 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15814 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15815 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15818 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15819 if ${ac_cv_cflags__Wvla+:} false; then :
15820 $as_echo_n "(cached) " >&6
15821 else
15822 ac_wine_try_cflags_saved=$CFLAGS
15823 CFLAGS="$CFLAGS -Wvla"
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 int main(int argc, char **argv) { return 0; }
15827 _ACEOF
15828 if ac_fn_c_try_link "$LINENO"; then :
15829 ac_cv_cflags__Wvla=yes
15830 else
15831 ac_cv_cflags__Wvla=no
15833 rm -f core conftest.err conftest.$ac_objext \
15834 conftest$ac_exeext conftest.$ac_ext
15835 CFLAGS=$ac_wine_try_cflags_saved
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15838 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15839 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15840 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15843 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15844 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15845 $as_echo_n "(cached) " >&6
15846 else
15847 ac_wine_try_cflags_saved=$CFLAGS
15848 CFLAGS="$CFLAGS -Wwrite-strings"
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15851 int main(int argc, char **argv) { return 0; }
15852 _ACEOF
15853 if ac_fn_c_try_link "$LINENO"; then :
15854 ac_cv_cflags__Wwrite_strings=yes
15855 else
15856 ac_cv_cflags__Wwrite_strings=no
15858 rm -f core conftest.err conftest.$ac_objext \
15859 conftest$ac_exeext conftest.$ac_ext
15860 CFLAGS=$ac_wine_try_cflags_saved
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15863 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15864 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15865 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15869 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15870 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15871 $as_echo_n "(cached) " >&6
15872 else
15873 ac_wine_try_cflags_saved=$CFLAGS
15874 CFLAGS="$CFLAGS -Wpointer-arith"
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15877 int main(int argc, char **argv) { return 0; }
15878 _ACEOF
15879 if ac_fn_c_try_link "$LINENO"; then :
15880 ac_cv_cflags__Wpointer_arith=yes
15881 else
15882 ac_cv_cflags__Wpointer_arith=no
15884 rm -f core conftest.err conftest.$ac_objext \
15885 conftest$ac_exeext conftest.$ac_ext
15886 CFLAGS=$ac_wine_try_cflags_saved
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15889 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15890 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15891 saved_string_h_CFLAGS=$CFLAGS
15892 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15894 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15895 if ${ac_cv_c_string_h_warnings+:} false; then :
15896 $as_echo_n "(cached) " >&6
15897 else
15898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899 /* end confdefs.h. */
15900 #include <string.h>
15902 main ()
15906 return 0;
15908 _ACEOF
15909 if ac_fn_c_try_compile "$LINENO"; then :
15910 ac_cv_c_string_h_warnings=no
15911 else
15912 ac_cv_c_string_h_warnings=yes
15914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15917 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15918 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15919 CFLAGS=$saved_string_h_CFLAGS
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15923 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15924 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15925 $as_echo_n "(cached) " >&6
15926 else
15927 ac_wine_try_cflags_saved=$CFLAGS
15928 CFLAGS="$CFLAGS -Wlogical-op"
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 int main(int argc, char **argv) { return 0; }
15932 _ACEOF
15933 if ac_fn_c_try_link "$LINENO"; then :
15934 ac_cv_cflags__Wlogical_op=yes
15935 else
15936 ac_cv_cflags__Wlogical_op=no
15938 rm -f core conftest.err conftest.$ac_objext \
15939 conftest$ac_exeext conftest.$ac_ext
15940 CFLAGS=$ac_wine_try_cflags_saved
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15943 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15944 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15945 saved_string_h_CFLAGS=$CFLAGS
15946 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15948 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15949 if ${ac_cv_c_logicalop_noisy+:} false; then :
15950 $as_echo_n "(cached) " >&6
15951 else
15952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15953 /* end confdefs.h. */
15954 #include <string.h>
15955 char*f(const char *h,char n) {return strchr(h,n);}
15957 main ()
15961 return 0;
15963 _ACEOF
15964 if ac_fn_c_try_compile "$LINENO"; then :
15965 ac_cv_c_logicalop_noisy=no
15966 else
15967 ac_cv_c_logicalop_noisy=yes
15969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15972 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15973 CFLAGS=$saved_string_h_CFLAGS
15974 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15977 CFLAGS=$saved_CFLAGS
15979 for ac_flag in $CFLAGS; do
15980 case $ac_flag in
15981 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15982 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15983 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15984 $as_echo_n "(cached) " >&6
15985 else
15986 ac_wine_try_cflags_saved=$CFLAGS
15987 CFLAGS="$CFLAGS -gdwarf-2"
15988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15989 /* end confdefs.h. */
15990 int main(int argc, char **argv) { return 0; }
15991 _ACEOF
15992 if ac_fn_c_try_link "$LINENO"; then :
15993 ac_cv_cflags__gdwarf_2=yes
15994 else
15995 ac_cv_cflags__gdwarf_2=no
15997 rm -f core conftest.err conftest.$ac_objext \
15998 conftest$ac_exeext conftest.$ac_ext
15999 CFLAGS=$ac_wine_try_cflags_saved
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16002 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16003 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16004 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16007 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16008 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16009 $as_echo_n "(cached) " >&6
16010 else
16011 ac_wine_try_cflags_saved=$CFLAGS
16012 CFLAGS="$CFLAGS -gstrict-dwarf"
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16015 int main(int argc, char **argv) { return 0; }
16016 _ACEOF
16017 if ac_fn_c_try_link "$LINENO"; then :
16018 ac_cv_cflags__gstrict_dwarf=yes
16019 else
16020 ac_cv_cflags__gstrict_dwarf=no
16022 rm -f core conftest.err conftest.$ac_objext \
16023 conftest$ac_exeext conftest.$ac_ext
16024 CFLAGS=$ac_wine_try_cflags_saved
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16027 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16028 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16029 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16030 fi ;;
16031 esac
16032 done
16034 case $host_cpu in
16035 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16036 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16037 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16038 $as_echo_n "(cached) " >&6
16039 else
16040 ac_wine_try_cflags_saved=$CFLAGS
16041 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16043 /* end confdefs.h. */
16044 int main(int argc, char **argv) { return 0; }
16045 _ACEOF
16046 if ac_fn_c_try_link "$LINENO"; then :
16047 ac_cv_cflags__fno_omit_frame_pointer=yes
16048 else
16049 ac_cv_cflags__fno_omit_frame_pointer=no
16051 rm -f core conftest.err conftest.$ac_objext \
16052 conftest$ac_exeext conftest.$ac_ext
16053 CFLAGS=$ac_wine_try_cflags_saved
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16056 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16057 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16058 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16059 fi ;;
16060 esac
16062 case $host in
16063 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16064 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16065 if ${ac_cv_cflags__Wno_format+:} false; then :
16066 $as_echo_n "(cached) " >&6
16067 else
16068 ac_wine_try_cflags_saved=$CFLAGS
16069 CFLAGS="$CFLAGS -Wno-format"
16070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16071 /* end confdefs.h. */
16072 int main(int argc, char **argv) { return 0; }
16073 _ACEOF
16074 if ac_fn_c_try_link "$LINENO"; then :
16075 ac_cv_cflags__Wno_format=yes
16076 else
16077 ac_cv_cflags__Wno_format=no
16079 rm -f core conftest.err conftest.$ac_objext \
16080 conftest$ac_exeext conftest.$ac_ext
16081 CFLAGS=$ac_wine_try_cflags_saved
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16084 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16085 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16086 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16087 fi ;;
16088 esac
16090 if test "x$enable_maintainer_mode" = "xyes"
16091 then
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16093 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16094 if ${ac_cv_cflags__Werror+:} false; then :
16095 $as_echo_n "(cached) " >&6
16096 else
16097 ac_wine_try_cflags_saved=$CFLAGS
16098 CFLAGS="$CFLAGS -Werror"
16099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16100 /* end confdefs.h. */
16101 int main(int argc, char **argv) { return 0; }
16102 _ACEOF
16103 if ac_fn_c_try_link "$LINENO"; then :
16104 ac_cv_cflags__Werror=yes
16105 else
16106 ac_cv_cflags__Werror=no
16108 rm -f core conftest.err conftest.$ac_objext \
16109 conftest$ac_exeext conftest.$ac_ext
16110 CFLAGS=$ac_wine_try_cflags_saved
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16113 $as_echo "$ac_cv_cflags__Werror" >&6; }
16114 if test "x$ac_cv_cflags__Werror" = xyes; then :
16115 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16119 saved_CFLAGS="$CFLAGS"
16120 CFLAGS="$CFLAGS -Werror"
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16122 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16123 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16124 $as_echo_n "(cached) " >&6
16125 else
16126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16127 /* end confdefs.h. */
16128 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16130 main ()
16134 return 0;
16136 _ACEOF
16137 if ac_fn_c_try_compile "$LINENO"; then :
16138 ac_cv_have_ms_hook_prologue="yes"
16139 else
16140 ac_cv_have_ms_hook_prologue="no"
16142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16145 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16146 CFLAGS="$saved_CFLAGS"
16147 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16148 then
16150 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16152 else
16153 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16160 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16161 if ${ac_cv_c_fortify_enabled+:} false; then :
16162 $as_echo_n "(cached) " >&6
16163 else
16164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16166 #include <string.h>
16168 main ()
16170 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16171 #error Fortify enabled
16172 #endif
16174 return 0;
16176 _ACEOF
16177 if ac_fn_c_try_compile "$LINENO"; then :
16178 ac_cv_c_fortify_enabled=no
16179 else
16180 ac_cv_c_fortify_enabled=yes
16182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16185 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16186 if test "$ac_cv_c_fortify_enabled" = yes
16187 then
16188 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16193 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16194 if ${ac_cv_c_extern_prefix+:} false; then :
16195 $as_echo_n "(cached) " >&6
16196 else
16197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16198 /* end confdefs.h. */
16199 extern int ac_test;
16201 main ()
16203 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16205 return 0;
16207 _ACEOF
16208 if ac_fn_c_try_link "$LINENO"; then :
16209 ac_cv_c_extern_prefix="yes"
16210 else
16211 ac_cv_c_extern_prefix="no"
16213 rm -f core conftest.err conftest.$ac_objext \
16214 conftest$ac_exeext conftest.$ac_ext
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16217 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16219 case $host_cpu in
16220 *i[3456789]86*)
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16222 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16223 if ${ac_cv_c_stdcall_suffix+:} false; then :
16224 $as_echo_n "(cached) " >&6
16225 else
16226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16227 /* end confdefs.h. */
16228 #ifndef _MSC_VER
16229 #define __stdcall __attribute__((__stdcall__))
16230 #endif
16231 int __stdcall ac_test(int i) { return i; }
16233 main ()
16235 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16237 return 0;
16239 _ACEOF
16240 if ac_fn_c_try_link "$LINENO"; then :
16241 ac_cv_c_stdcall_suffix="yes"
16242 else
16243 ac_cv_c_stdcall_suffix="no"
16245 rm -f core conftest.err conftest.$ac_objext \
16246 conftest$ac_exeext conftest.$ac_ext
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16249 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16250 *) ac_cv_c_stdcall_suffix="no" ;;
16251 esac
16254 if test "$ac_cv_c_extern_prefix" = "yes"
16255 then
16256 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16258 asm_name_prefix="_"
16259 else
16260 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16262 asm_name_prefix=""
16266 if test "$ac_cv_c_stdcall_suffix" = "yes"
16267 then
16268 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16270 else
16271 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16277 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16278 if ${ac_cv_asm_func_def+:} false; then :
16279 $as_echo_n "(cached) " >&6
16280 else
16281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h. */
16285 main ()
16287 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16289 return 0;
16291 _ACEOF
16292 if ac_fn_c_try_link "$LINENO"; then :
16293 ac_cv_asm_func_def=".def"
16294 else
16295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16296 /* end confdefs.h. */
16299 main ()
16301 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16303 return 0;
16305 _ACEOF
16306 if ac_fn_c_try_link "$LINENO"; then :
16307 ac_cv_asm_func_def=".type @function"
16308 else
16309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16310 /* end confdefs.h. */
16313 main ()
16315 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16317 return 0;
16319 _ACEOF
16320 if ac_fn_c_try_link "$LINENO"; then :
16321 ac_cv_asm_func_def=".type 2"
16322 else
16323 ac_cv_asm_func_def="unknown"
16325 rm -f core conftest.err conftest.$ac_objext \
16326 conftest$ac_exeext conftest.$ac_ext
16328 rm -f core conftest.err conftest.$ac_objext \
16329 conftest$ac_exeext conftest.$ac_ext
16331 rm -f core conftest.err conftest.$ac_objext \
16332 conftest$ac_exeext conftest.$ac_ext
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16335 $as_echo "$ac_cv_asm_func_def" >&6; }
16338 case "$ac_cv_asm_func_def" in
16339 ".def")
16340 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16342 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16343 ".type @function")
16344 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16346 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16347 ".type 2")
16348 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16350 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16352 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16354 asm_func_header="" ;;
16355 esac
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16358 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16359 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16360 $as_echo_n "(cached) " >&6
16361 else
16362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16363 /* end confdefs.h. */
16364 asm(".text\n\t.long 0");
16366 main ()
16370 return 0;
16372 _ACEOF
16373 if ac_fn_c_try_compile "$LINENO"; then :
16374 ac_cv_c_asm_outside_funcs="yes"
16375 else
16376 ac_cv_c_asm_outside_funcs="no"
16378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16381 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16384 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16385 if ${ac_cv_c_dot_previous+:} false; then :
16386 $as_echo_n "(cached) " >&6
16387 else
16388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h. */
16392 main ()
16394 asm(".text\nac_test:\t.long 0\n\t.previous");
16396 return 0;
16398 _ACEOF
16399 if ac_fn_c_try_link "$LINENO"; then :
16400 ac_cv_c_dot_previous="yes"
16401 else
16402 ac_cv_c_dot_previous="no"
16404 rm -f core conftest.err conftest.$ac_objext \
16405 conftest$ac_exeext conftest.$ac_ext
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16408 $as_echo "$ac_cv_c_dot_previous" >&6; }
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16411 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16412 if ${ac_cv_c_cfi_support+:} false; then :
16413 $as_echo_n "(cached) " >&6
16414 else
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16417 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16419 main ()
16423 return 0;
16425 _ACEOF
16426 if ac_fn_c_try_compile "$LINENO"; then :
16427 ac_cv_c_cfi_support="yes"
16428 else
16429 ac_cv_c_cfi_support="no"
16431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16434 $as_echo "$ac_cv_c_cfi_support" >&6; }
16436 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16437 asm_func_trailer=""
16438 if test "$ac_cv_c_dot_previous" = "yes"
16439 then
16440 asm_func_trailer="\\n\\t.previous"
16442 if test "$ac_cv_c_cfi_support" = "yes"
16443 then
16444 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16445 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16447 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16449 UNWINDFLAGS=-fasynchronous-unwind-tables
16451 else
16452 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16454 if test "x$enable_win64" = "xyes"
16455 then
16456 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16460 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16463 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16464 then
16465 cat >>confdefs.h <<_ACEOF
16466 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16467 _ACEOF
16469 else
16470 cat >>confdefs.h <<_ACEOF
16471 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16472 _ACEOF
16476 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16479 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16483 case $build_os in
16484 cygwin*|mingw32*) TOOLSEXT=".exe"
16486 esac
16488 case $host_os in
16489 linux*)
16490 case $host_cpu in
16491 *i[3456789]86*|x86_64*|*aarch64*)
16492 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16493 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16495 esac
16497 esac
16500 ac_save_CFLAGS="$CFLAGS"
16501 CFLAGS="$CFLAGS $BUILTINFLAG"
16502 for ac_func in \
16503 __res_get_state \
16504 __res_getservers \
16505 _finite \
16506 _isnan \
16507 _pclose \
16508 _popen \
16509 _snprintf \
16510 _spawnvp \
16511 _strdup \
16512 _stricmp \
16513 _strnicmp \
16514 _strtoi64 \
16515 _strtoui64 \
16516 _vsnprintf \
16517 asctime_r \
16518 chsize \
16519 dlopen \
16520 epoll_create \
16521 ffs \
16522 finitef \
16523 fnmatch \
16524 fork \
16525 fpclass \
16526 fstatfs \
16527 fstatvfs \
16528 ftruncate \
16529 futimens \
16530 futimes \
16531 futimesat \
16532 getattrlist \
16533 getauxval \
16534 getifaddrs \
16535 getopt_long_only \
16536 getpwuid \
16537 gettimeofday \
16538 getuid \
16539 kqueue \
16540 lstat \
16541 memmove \
16542 mmap \
16543 pclose \
16544 pipe2 \
16545 poll \
16546 popen \
16547 port_create \
16548 prctl \
16549 pread \
16550 proc_pidinfo \
16551 pwrite \
16552 readdir \
16553 readlink \
16554 sched_yield \
16555 select \
16556 setproctitle \
16557 setprogname \
16558 setrlimit \
16559 settimeofday \
16560 sigaltstack \
16561 sigprocmask \
16562 snprintf \
16563 statfs \
16564 statvfs \
16565 strcasecmp \
16566 strdup \
16567 strerror \
16568 strncasecmp \
16569 strnlen \
16570 strtold \
16571 strtoll \
16572 strtoull \
16573 symlink \
16574 sysinfo \
16575 tcdrain \
16576 thr_kill2 \
16577 timegm \
16578 usleep \
16579 vsnprintf
16581 do :
16582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16584 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16585 cat >>confdefs.h <<_ACEOF
16586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16587 _ACEOF
16590 done
16592 CFLAGS="$ac_save_CFLAGS"
16594 if test "$ac_cv_func_dlopen" = no
16595 then
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16597 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16598 if ${ac_cv_lib_dl_dlopen+:} false; then :
16599 $as_echo_n "(cached) " >&6
16600 else
16601 ac_check_lib_save_LIBS=$LIBS
16602 LIBS="-ldl $LIBS"
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 /* Override any GCC internal prototype to avoid an error.
16607 Use char because int might match the return type of a GCC
16608 builtin and then its argument prototype would still apply. */
16609 #ifdef __cplusplus
16610 extern "C"
16611 #endif
16612 char dlopen ();
16614 main ()
16616 return dlopen ();
16618 return 0;
16620 _ACEOF
16621 if ac_fn_c_try_link "$LINENO"; then :
16622 ac_cv_lib_dl_dlopen=yes
16623 else
16624 ac_cv_lib_dl_dlopen=no
16626 rm -f core conftest.err conftest.$ac_objext \
16627 conftest$ac_exeext conftest.$ac_ext
16628 LIBS=$ac_check_lib_save_LIBS
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16631 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16632 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16633 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16634 DL_LIBS="-ldl"
16639 ac_wine_check_funcs_save_LIBS="$LIBS"
16640 LIBS="$LIBS $DL_LIBS"
16641 for ac_func in dladdr
16642 do :
16643 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16644 if test "x$ac_cv_func_dladdr" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_DLADDR 1
16647 _ACEOF
16650 done
16652 LIBS="$ac_wine_check_funcs_save_LIBS"
16654 if test "$ac_cv_func_poll" = no
16655 then
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16657 $as_echo_n "checking for poll in -lpoll... " >&6; }
16658 if ${ac_cv_lib_poll_poll+:} false; then :
16659 $as_echo_n "(cached) " >&6
16660 else
16661 ac_check_lib_save_LIBS=$LIBS
16662 LIBS="-lpoll $LIBS"
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16666 /* Override any GCC internal prototype to avoid an error.
16667 Use char because int might match the return type of a GCC
16668 builtin and then its argument prototype would still apply. */
16669 #ifdef __cplusplus
16670 extern "C"
16671 #endif
16672 char poll ();
16674 main ()
16676 return poll ();
16678 return 0;
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"; then :
16682 ac_cv_lib_poll_poll=yes
16683 else
16684 ac_cv_lib_poll_poll=no
16686 rm -f core conftest.err conftest.$ac_objext \
16687 conftest$ac_exeext conftest.$ac_ext
16688 LIBS=$ac_check_lib_save_LIBS
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16691 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16692 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16693 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16694 POLL_LIBS="-lpoll"
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16701 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16702 if ${ac_cv_search_gethostbyname+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 ac_func_search_save_LIBS=$LIBS
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16709 /* Override any GCC internal prototype to avoid an error.
16710 Use char because int might match the return type of a GCC
16711 builtin and then its argument prototype would still apply. */
16712 #ifdef __cplusplus
16713 extern "C"
16714 #endif
16715 char gethostbyname ();
16717 main ()
16719 return gethostbyname ();
16721 return 0;
16723 _ACEOF
16724 for ac_lib in '' nsl; do
16725 if test -z "$ac_lib"; then
16726 ac_res="none required"
16727 else
16728 ac_res=-l$ac_lib
16729 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16731 if ac_fn_c_try_link "$LINENO"; then :
16732 ac_cv_search_gethostbyname=$ac_res
16734 rm -f core conftest.err conftest.$ac_objext \
16735 conftest$ac_exeext
16736 if ${ac_cv_search_gethostbyname+:} false; then :
16737 break
16739 done
16740 if ${ac_cv_search_gethostbyname+:} false; then :
16742 else
16743 ac_cv_search_gethostbyname=no
16745 rm conftest.$ac_ext
16746 LIBS=$ac_func_search_save_LIBS
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16749 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16750 ac_res=$ac_cv_search_gethostbyname
16751 if test "$ac_res" != no; then :
16752 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16758 $as_echo_n "checking for library containing connect... " >&6; }
16759 if ${ac_cv_search_connect+:} false; then :
16760 $as_echo_n "(cached) " >&6
16761 else
16762 ac_func_search_save_LIBS=$LIBS
16763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16766 /* Override any GCC internal prototype to avoid an error.
16767 Use char because int might match the return type of a GCC
16768 builtin and then its argument prototype would still apply. */
16769 #ifdef __cplusplus
16770 extern "C"
16771 #endif
16772 char connect ();
16774 main ()
16776 return connect ();
16778 return 0;
16780 _ACEOF
16781 for ac_lib in '' socket; do
16782 if test -z "$ac_lib"; then
16783 ac_res="none required"
16784 else
16785 ac_res=-l$ac_lib
16786 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16788 if ac_fn_c_try_link "$LINENO"; then :
16789 ac_cv_search_connect=$ac_res
16791 rm -f core conftest.err conftest.$ac_objext \
16792 conftest$ac_exeext
16793 if ${ac_cv_search_connect+:} false; then :
16794 break
16796 done
16797 if ${ac_cv_search_connect+:} false; then :
16799 else
16800 ac_cv_search_connect=no
16802 rm conftest.$ac_ext
16803 LIBS=$ac_func_search_save_LIBS
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16806 $as_echo "$ac_cv_search_connect" >&6; }
16807 ac_res=$ac_cv_search_connect
16808 if test "$ac_res" != no; then :
16809 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16815 $as_echo_n "checking for library containing inet_aton... " >&6; }
16816 if ${ac_cv_search_inet_aton+:} false; then :
16817 $as_echo_n "(cached) " >&6
16818 else
16819 ac_func_search_save_LIBS=$LIBS
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16823 /* Override any GCC internal prototype to avoid an error.
16824 Use char because int might match the return type of a GCC
16825 builtin and then its argument prototype would still apply. */
16826 #ifdef __cplusplus
16827 extern "C"
16828 #endif
16829 char inet_aton ();
16831 main ()
16833 return inet_aton ();
16835 return 0;
16837 _ACEOF
16838 for ac_lib in '' resolv; do
16839 if test -z "$ac_lib"; then
16840 ac_res="none required"
16841 else
16842 ac_res=-l$ac_lib
16843 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16845 if ac_fn_c_try_link "$LINENO"; then :
16846 ac_cv_search_inet_aton=$ac_res
16848 rm -f core conftest.err conftest.$ac_objext \
16849 conftest$ac_exeext
16850 if ${ac_cv_search_inet_aton+:} false; then :
16851 break
16853 done
16854 if ${ac_cv_search_inet_aton+:} false; then :
16856 else
16857 ac_cv_search_inet_aton=no
16859 rm conftest.$ac_ext
16860 LIBS=$ac_func_search_save_LIBS
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16863 $as_echo "$ac_cv_search_inet_aton" >&6; }
16864 ac_res=$ac_cv_search_inet_aton
16865 if test "$ac_res" != no; then :
16866 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16871 for ac_func in \
16872 getaddrinfo \
16873 getnameinfo \
16874 getnetbyname \
16875 getprotobyname \
16876 getprotobynumber \
16877 getservbyport \
16878 inet_addr \
16879 inet_network \
16880 inet_ntop \
16881 inet_pton \
16882 sendmsg \
16883 socketpair \
16885 do :
16886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16888 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16889 cat >>confdefs.h <<_ACEOF
16890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16891 _ACEOF
16894 done
16897 ac_save_LIBS=$LIBS
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16899 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16900 if ${ac_cv_search_clock_gettime+:} false; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16903 ac_func_search_save_LIBS=$LIBS
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16907 /* Override any GCC internal prototype to avoid an error.
16908 Use char because int might match the return type of a GCC
16909 builtin and then its argument prototype would still apply. */
16910 #ifdef __cplusplus
16911 extern "C"
16912 #endif
16913 char clock_gettime ();
16915 main ()
16917 return clock_gettime ();
16919 return 0;
16921 _ACEOF
16922 for ac_lib in '' rt; do
16923 if test -z "$ac_lib"; then
16924 ac_res="none required"
16925 else
16926 ac_res=-l$ac_lib
16927 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16929 if ac_fn_c_try_link "$LINENO"; then :
16930 ac_cv_search_clock_gettime=$ac_res
16932 rm -f core conftest.err conftest.$ac_objext \
16933 conftest$ac_exeext
16934 if ${ac_cv_search_clock_gettime+:} false; then :
16935 break
16937 done
16938 if ${ac_cv_search_clock_gettime+:} false; then :
16940 else
16941 ac_cv_search_clock_gettime=no
16943 rm conftest.$ac_ext
16944 LIBS=$ac_func_search_save_LIBS
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16947 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16948 ac_res=$ac_cv_search_clock_gettime
16949 if test "$ac_res" != no; then :
16950 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16952 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16954 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16958 LIBS=$ac_save_LIBS
16960 if test "x$with_ldap" != "xno"
16961 then
16962 if ${LDAP_CFLAGS:+false} :; then :
16963 if ${PKG_CONFIG+:} false; then :
16964 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16968 if ${LDAP_LIBS:+false} :; then :
16969 if ${PKG_CONFIG+:} false; then :
16970 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16974 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16975 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16976 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16977 ac_save_CPPFLAGS=$CPPFLAGS
16978 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16979 for ac_header in ldap.h lber.h
16980 do :
16981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16982 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16984 cat >>confdefs.h <<_ACEOF
16985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16986 _ACEOF
16990 done
16992 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16993 then
16994 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16996 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16998 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16999 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17000 $as_echo_n "(cached) " >&6
17001 else
17002 ac_check_lib_save_LIBS=$LIBS
17003 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17007 /* Override any GCC internal prototype to avoid an error.
17008 Use char because int might match the return type of a GCC
17009 builtin and then its argument prototype would still apply. */
17010 #ifdef __cplusplus
17011 extern "C"
17012 #endif
17013 char ldap_initialize ();
17015 main ()
17017 return ldap_initialize ();
17019 return 0;
17021 _ACEOF
17022 if ac_fn_c_try_link "$LINENO"; then :
17023 ac_cv_lib_ldap_r_ldap_initialize=yes
17024 else
17025 ac_cv_lib_ldap_r_ldap_initialize=no
17027 rm -f core conftest.err conftest.$ac_objext \
17028 conftest$ac_exeext conftest.$ac_ext
17029 LIBS=$ac_check_lib_save_LIBS
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17032 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17033 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17035 $as_echo_n "checking for ber_init in -llber... " >&6; }
17036 if ${ac_cv_lib_lber_ber_init+:} false; then :
17037 $as_echo_n "(cached) " >&6
17038 else
17039 ac_check_lib_save_LIBS=$LIBS
17040 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17042 /* end confdefs.h. */
17044 /* Override any GCC internal prototype to avoid an error.
17045 Use char because int might match the return type of a GCC
17046 builtin and then its argument prototype would still apply. */
17047 #ifdef __cplusplus
17048 extern "C"
17049 #endif
17050 char ber_init ();
17052 main ()
17054 return ber_init ();
17056 return 0;
17058 _ACEOF
17059 if ac_fn_c_try_link "$LINENO"; then :
17060 ac_cv_lib_lber_ber_init=yes
17061 else
17062 ac_cv_lib_lber_ber_init=no
17064 rm -f core conftest.err conftest.$ac_objext \
17065 conftest$ac_exeext conftest.$ac_ext
17066 LIBS=$ac_check_lib_save_LIBS
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17069 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17070 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17072 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17074 else
17075 LDAP_LIBS=""
17078 else
17079 LDAP_LIBS=""
17082 else
17083 LDAP_LIBS=""
17086 ac_wine_check_funcs_save_LIBS="$LIBS"
17087 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17088 for ac_func in \
17089 ldap_count_references \
17090 ldap_first_reference \
17091 ldap_next_reference \
17092 ldap_parse_reference \
17093 ldap_parse_sort_control \
17094 ldap_parse_sortresponse_control \
17095 ldap_parse_vlv_control \
17096 ldap_parse_vlvresponse_control
17097 do :
17098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17101 cat >>confdefs.h <<_ACEOF
17102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17103 _ACEOF
17106 done
17108 LIBS="$ac_wine_check_funcs_save_LIBS"
17109 else
17110 LDAP_LIBS=""
17112 CPPFLAGS=$ac_save_CPPFLAGS
17113 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17114 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17117 if test "x$LDAP_LIBS" = "x"; then :
17118 case "x$with_ldap" in
17119 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17120 xno) ;;
17121 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17122 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17123 esac
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17128 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17129 if ${wine_cv_one_arg_mkdir+:} false; then :
17130 $as_echo_n "(cached) " >&6
17131 else
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 #include <sys/stat.h>
17136 main ()
17138 mkdir("foo");
17140 return 0;
17142 _ACEOF
17143 if ac_fn_c_try_compile "$LINENO"; then :
17144 wine_cv_one_arg_mkdir=yes
17145 else
17146 wine_cv_one_arg_mkdir=no
17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17151 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17152 if test "$wine_cv_one_arg_mkdir" = "yes"
17153 then
17155 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17160 $as_echo_n "checking for sched_setaffinity... " >&6; }
17161 if ${wine_cv_have_sched_setaffinity+:} false; then :
17162 $as_echo_n "(cached) " >&6
17163 else
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17166 #define _GNU_SOURCE
17167 #include <sched.h>
17169 main ()
17171 sched_setaffinity(0, 0, 0);
17173 return 0;
17175 _ACEOF
17176 if ac_fn_c_try_link "$LINENO"; then :
17177 wine_cv_have_sched_setaffinity=yes
17178 else
17179 wine_cv_have_sched_setaffinity=no
17181 rm -f core conftest.err conftest.$ac_objext \
17182 conftest$ac_exeext conftest.$ac_ext
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17185 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17186 if test "$wine_cv_have_sched_setaffinity" = "yes"
17187 then
17189 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17194 $as_echo_n "checking for fallocate... " >&6; }
17195 if ${wine_cv_have_fallocate+:} false; then :
17196 $as_echo_n "(cached) " >&6
17197 else
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17200 #define _GNU_SOURCE
17201 #include <fcntl.h>
17203 main ()
17205 fallocate(-1, 0, 0, 0);
17207 return 0;
17209 _ACEOF
17210 if ac_fn_c_try_link "$LINENO"; then :
17211 wine_cv_have_fallocate=yes
17212 else
17213 wine_cv_have_fallocate=no
17215 rm -f core conftest.err conftest.$ac_objext \
17216 conftest$ac_exeext conftest.$ac_ext
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17219 $as_echo "$wine_cv_have_fallocate" >&6; }
17220 if test "$wine_cv_have_fallocate" = "yes"
17221 then
17223 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17229 $as_echo_n "checking for inline... " >&6; }
17230 if ${ac_cv_c_inline+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 ac_cv_c_inline=no
17234 for ac_kw in inline __inline__ __inline; do
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 #ifndef __cplusplus
17238 typedef int foo_t;
17239 static $ac_kw foo_t static_foo () {return 0; }
17240 $ac_kw foo_t foo () {return 0; }
17241 #endif
17243 _ACEOF
17244 if ac_fn_c_try_compile "$LINENO"; then :
17245 ac_cv_c_inline=$ac_kw
17247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17248 test "$ac_cv_c_inline" != no && break
17249 done
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17253 $as_echo "$ac_cv_c_inline" >&6; }
17255 case $ac_cv_c_inline in
17256 inline | yes) ;;
17258 case $ac_cv_c_inline in
17259 no) ac_val=;;
17260 *) ac_val=$ac_cv_c_inline;;
17261 esac
17262 cat >>confdefs.h <<_ACEOF
17263 #ifndef __cplusplus
17264 #define inline $ac_val
17265 #endif
17266 _ACEOF
17268 esac
17270 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17271 if test "x$ac_cv_type_mode_t" = xyes; then :
17273 cat >>confdefs.h <<_ACEOF
17274 #define HAVE_MODE_T 1
17275 _ACEOF
17279 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17280 if test "x$ac_cv_type_off_t" = xyes; then :
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_OFF_T 1
17284 _ACEOF
17288 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17289 if test "x$ac_cv_type_pid_t" = xyes; then :
17291 cat >>confdefs.h <<_ACEOF
17292 #define HAVE_PID_T 1
17293 _ACEOF
17297 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17298 if test "x$ac_cv_type_size_t" = xyes; then :
17300 cat >>confdefs.h <<_ACEOF
17301 #define HAVE_SIZE_T 1
17302 _ACEOF
17306 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17307 if test "x$ac_cv_type_ssize_t" = xyes; then :
17309 cat >>confdefs.h <<_ACEOF
17310 #define HAVE_SSIZE_T 1
17311 _ACEOF
17315 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17316 if test "x$ac_cv_type_long_long" = xyes; then :
17318 cat >>confdefs.h <<_ACEOF
17319 #define HAVE_LONG_LONG 1
17320 _ACEOF
17324 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17325 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17327 cat >>confdefs.h <<_ACEOF
17328 #define HAVE_FSBLKCNT_T 1
17329 _ACEOF
17333 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17334 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17336 cat >>confdefs.h <<_ACEOF
17337 #define HAVE_FSFILCNT_T 1
17338 _ACEOF
17343 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17344 #include <signal.h>
17346 if test "x$ac_cv_type_sigset_t" = xyes; then :
17348 cat >>confdefs.h <<_ACEOF
17349 #define HAVE_SIGSET_T 1
17350 _ACEOF
17355 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17357 if test "x$ac_cv_type_request_sense" = xyes; then :
17359 cat >>confdefs.h <<_ACEOF
17360 #define HAVE_REQUEST_SENSE 1
17361 _ACEOF
17367 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17368 #ifdef HAVE_SYS_SOCKET_H
17369 #include <sys/socket.h>
17370 #endif
17371 #ifdef HAVE_SYS_SOCKETVAR_H
17372 #include <sys/socketvar.h>
17373 #endif
17374 #ifdef HAVE_NET_ROUTE_H
17375 #include <net/route.h>
17376 #endif
17377 #ifdef HAVE_NETINET_IN_H
17378 #include <netinet/in.h>
17379 #endif
17380 #ifdef HAVE_NETINET_IN_SYSTM_H
17381 #include <netinet/in_systm.h>
17382 #endif
17383 #ifdef HAVE_NETINET_IP_H
17384 #include <netinet/ip.h>
17385 #endif
17386 #ifdef HAVE_NETINET_IN_PCB_H
17387 #include <netinet/in_pcb.h>
17388 #endif
17390 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17392 cat >>confdefs.h <<_ACEOF
17393 #define HAVE_STRUCT_XINPGEN 1
17394 _ACEOF
17400 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17401 #include <link.h>
17402 #endif
17403 #ifdef HAVE_SYS_LINK_H
17404 #include <sys/link.h>
17405 #endif
17407 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17409 cat >>confdefs.h <<_ACEOF
17410 #define HAVE_STRUCT_R_DEBUG 1
17411 _ACEOF
17415 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17416 #include <link.h>
17417 #endif
17418 #ifdef HAVE_SYS_LINK_H
17419 #include <sys/link.h>
17420 #endif
17422 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17424 cat >>confdefs.h <<_ACEOF
17425 #define HAVE_STRUCT_LINK_MAP 1
17426 _ACEOF
17432 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17433 #include <linux/input.h>
17434 #endif
17436 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17438 cat >>confdefs.h <<_ACEOF
17439 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17440 _ACEOF
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17447 $as_echo_n "checking for if_nameindex... " >&6; }
17448 if ${wine_cv_have_if_nameindex+:} false; then :
17449 $as_echo_n "(cached) " >&6
17450 else
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 #ifdef HAVE_SYS_TYPES_H
17454 #include <sys/types.h>
17455 #endif
17456 #ifdef HAVE_SYS_SOCKET_H
17457 #include <sys/socket.h>
17458 #endif
17459 #ifdef HAVE_NET_IF_H
17460 # include <net/if.h>
17461 #endif
17463 main ()
17465 struct if_nameindex *p = if_nameindex(); return p->if_index;
17467 return 0;
17469 _ACEOF
17470 if ac_fn_c_try_link "$LINENO"; then :
17471 wine_cv_have_if_nameindex=yes
17472 else
17473 wine_cv_have_if_nameindex=no
17475 rm -f core conftest.err conftest.$ac_objext \
17476 conftest$ac_exeext conftest.$ac_ext
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17479 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17480 if test "$wine_cv_have_if_nameindex" = "yes"
17481 then
17483 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17488 $as_echo_n "checking for sigaddset... " >&6; }
17489 if ${wine_cv_have_sigaddset+:} false; then :
17490 $as_echo_n "(cached) " >&6
17491 else
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17494 #include <signal.h>
17496 main ()
17498 sigset_t set; sigaddset(&set,SIGTERM);
17500 return 0;
17502 _ACEOF
17503 if ac_fn_c_try_link "$LINENO"; then :
17504 wine_cv_have_sigaddset=yes
17505 else
17506 wine_cv_have_sigaddset=no
17508 rm -f core conftest.err conftest.$ac_objext \
17509 conftest$ac_exeext conftest.$ac_ext
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17512 $as_echo "$wine_cv_have_sigaddset" >&6; }
17513 if test "$wine_cv_have_sigaddset" = "yes"
17514 then
17516 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17522 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17523 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17524 $as_echo_n "(cached) " >&6
17525 else
17526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17528 #include <netdb.h>
17530 main ()
17533 char *name=0;
17534 struct hostent he;
17535 struct hostent *result;
17536 char *buf=0;
17537 int bufsize=0;
17538 int errnr;
17539 char *addr=0;
17540 int addrlen=0;
17541 int addrtype=0;
17542 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17543 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17546 return 0;
17548 _ACEOF
17549 if ac_fn_c_try_link "$LINENO"; then :
17550 wine_cv_linux_gethostbyname_r_6=yes
17551 else
17552 wine_cv_linux_gethostbyname_r_6=no
17555 rm -f core conftest.err conftest.$ac_objext \
17556 conftest$ac_exeext conftest.$ac_ext
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17560 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17561 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17562 then
17564 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17568 if test "$ac_cv_header_linux_joystick_h" = "yes"
17569 then
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17571 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17572 if ${wine_cv_linux_joystick_22_api+:} false; then :
17573 $as_echo_n "(cached) " >&6
17574 else
17575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17578 #include <sys/ioctl.h>
17579 #include <sys/types.h>
17580 #include <linux/joystick.h>
17582 struct js_event blub;
17583 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17584 #error "no 2.2 header"
17585 #endif
17588 main ()
17590 /*empty*/
17592 return 0;
17594 _ACEOF
17595 if ac_fn_c_try_compile "$LINENO"; then :
17596 wine_cv_linux_joystick_22_api=yes
17597 else
17598 wine_cv_linux_joystick_22_api=no
17600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17604 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17605 if test "$wine_cv_linux_joystick_22_api" = "yes"
17606 then
17608 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17614 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17615 #ifdef HAVE_SYS_PARAM_H
17616 # include <sys/param.h>
17617 #endif
17618 #ifdef HAVE_SYS_MOUNT_H
17619 # include <sys/mount.h>
17620 #endif
17621 #ifdef HAVE_SYS_VFS_H
17622 # include <sys/vfs.h>
17623 #endif
17624 #ifdef HAVE_SYS_STATFS_H
17625 # include <sys/statfs.h>
17626 #endif
17628 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17630 cat >>confdefs.h <<_ACEOF
17631 #define HAVE_STRUCT_STATFS_F_BFREE 1
17632 _ACEOF
17636 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17637 #ifdef HAVE_SYS_PARAM_H
17638 # include <sys/param.h>
17639 #endif
17640 #ifdef HAVE_SYS_MOUNT_H
17641 # include <sys/mount.h>
17642 #endif
17643 #ifdef HAVE_SYS_VFS_H
17644 # include <sys/vfs.h>
17645 #endif
17646 #ifdef HAVE_SYS_STATFS_H
17647 # include <sys/statfs.h>
17648 #endif
17650 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17652 cat >>confdefs.h <<_ACEOF
17653 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17654 _ACEOF
17658 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17659 #ifdef HAVE_SYS_PARAM_H
17660 # include <sys/param.h>
17661 #endif
17662 #ifdef HAVE_SYS_MOUNT_H
17663 # include <sys/mount.h>
17664 #endif
17665 #ifdef HAVE_SYS_VFS_H
17666 # include <sys/vfs.h>
17667 #endif
17668 #ifdef HAVE_SYS_STATFS_H
17669 # include <sys/statfs.h>
17670 #endif
17672 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17674 cat >>confdefs.h <<_ACEOF
17675 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17676 _ACEOF
17680 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17681 #ifdef HAVE_SYS_PARAM_H
17682 # include <sys/param.h>
17683 #endif
17684 #ifdef HAVE_SYS_MOUNT_H
17685 # include <sys/mount.h>
17686 #endif
17687 #ifdef HAVE_SYS_VFS_H
17688 # include <sys/vfs.h>
17689 #endif
17690 #ifdef HAVE_SYS_STATFS_H
17691 # include <sys/statfs.h>
17692 #endif
17694 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17696 cat >>confdefs.h <<_ACEOF
17697 #define HAVE_STRUCT_STATFS_F_FFREE 1
17698 _ACEOF
17702 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17703 #ifdef HAVE_SYS_PARAM_H
17704 # include <sys/param.h>
17705 #endif
17706 #ifdef HAVE_SYS_MOUNT_H
17707 # include <sys/mount.h>
17708 #endif
17709 #ifdef HAVE_SYS_VFS_H
17710 # include <sys/vfs.h>
17711 #endif
17712 #ifdef HAVE_SYS_STATFS_H
17713 # include <sys/statfs.h>
17714 #endif
17716 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17718 cat >>confdefs.h <<_ACEOF
17719 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17720 _ACEOF
17724 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17725 #ifdef HAVE_SYS_PARAM_H
17726 # include <sys/param.h>
17727 #endif
17728 #ifdef HAVE_SYS_MOUNT_H
17729 # include <sys/mount.h>
17730 #endif
17731 #ifdef HAVE_SYS_VFS_H
17732 # include <sys/vfs.h>
17733 #endif
17734 #ifdef HAVE_SYS_STATFS_H
17735 # include <sys/statfs.h>
17736 #endif
17738 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17740 cat >>confdefs.h <<_ACEOF
17741 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17742 _ACEOF
17748 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17749 #include <sys/statvfs.h>
17750 #endif
17752 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17754 cat >>confdefs.h <<_ACEOF
17755 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17756 _ACEOF
17762 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17763 #include <dirent.h>
17764 #endif
17766 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17768 cat >>confdefs.h <<_ACEOF
17769 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17770 _ACEOF
17776 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17777 #ifdef HAVE_SYS_SOCKET_H
17778 # include <sys/socket.h>
17779 #endif
17780 #ifdef HAVE_SYS_UN_H
17781 # include <sys/un.h>
17782 #endif
17784 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17786 cat >>confdefs.h <<_ACEOF
17787 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17788 _ACEOF
17792 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17793 #ifdef HAVE_SYS_SOCKET_H
17794 # include <sys/socket.h>
17795 #endif
17796 #ifdef HAVE_SYS_UN_H
17797 # include <sys/un.h>
17798 #endif
17800 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17802 cat >>confdefs.h <<_ACEOF
17803 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17804 _ACEOF
17808 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17809 #ifdef HAVE_SYS_SOCKET_H
17810 # include <sys/socket.h>
17811 #endif
17812 #ifdef HAVE_SYS_UN_H
17813 # include <sys/un.h>
17814 #endif
17816 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17818 cat >>confdefs.h <<_ACEOF
17819 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17820 _ACEOF
17826 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17827 #ifdef HAVE_SCSI_SG_H
17828 #include <scsi/sg.h>
17829 #endif
17831 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17833 cat >>confdefs.h <<_ACEOF
17834 #define HAVE_SCSIREQ_T_CMD 1
17835 _ACEOF
17839 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>
17840 #ifdef HAVE_SCSI_SG_H
17841 #include <scsi/sg.h>
17842 #endif
17844 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17846 cat >>confdefs.h <<_ACEOF
17847 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17848 _ACEOF
17854 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17856 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17858 cat >>confdefs.h <<_ACEOF
17859 #define HAVE_SIGINFO_T_SI_FD 1
17860 _ACEOF
17866 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17867 #ifdef HAVE_SYS_MTIO_H
17868 #include <sys/mtio.h>
17869 #endif
17871 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17873 cat >>confdefs.h <<_ACEOF
17874 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17875 _ACEOF
17879 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17880 #ifdef HAVE_SYS_MTIO_H
17881 #include <sys/mtio.h>
17882 #endif
17884 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17886 cat >>confdefs.h <<_ACEOF
17887 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17888 _ACEOF
17892 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17893 #ifdef HAVE_SYS_MTIO_H
17894 #include <sys/mtio.h>
17895 #endif
17897 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17899 cat >>confdefs.h <<_ACEOF
17900 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17901 _ACEOF
17907 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17908 #include <getopt.h>
17909 #endif
17911 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17913 cat >>confdefs.h <<_ACEOF
17914 #define HAVE_STRUCT_OPTION_NAME 1
17915 _ACEOF
17921 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17922 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17924 cat >>confdefs.h <<_ACEOF
17925 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17926 _ACEOF
17930 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17931 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17933 cat >>confdefs.h <<_ACEOF
17934 #define HAVE_STRUCT_STAT_ST_MTIM 1
17935 _ACEOF
17939 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17940 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17942 cat >>confdefs.h <<_ACEOF
17943 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17944 _ACEOF
17948 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17949 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17951 cat >>confdefs.h <<_ACEOF
17952 #define HAVE_STRUCT_STAT_ST_CTIM 1
17953 _ACEOF
17957 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17958 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17960 cat >>confdefs.h <<_ACEOF
17961 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17962 _ACEOF
17966 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17967 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17969 cat >>confdefs.h <<_ACEOF
17970 #define HAVE_STRUCT_STAT_ST_ATIM 1
17971 _ACEOF
17975 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17976 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17978 cat >>confdefs.h <<_ACEOF
17979 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17980 _ACEOF
17984 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17985 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17987 cat >>confdefs.h <<_ACEOF
17988 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17989 _ACEOF
17993 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17994 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17996 cat >>confdefs.h <<_ACEOF
17997 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17998 _ACEOF
18002 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18003 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18005 cat >>confdefs.h <<_ACEOF
18006 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18007 _ACEOF
18011 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18012 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18014 cat >>confdefs.h <<_ACEOF
18015 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18016 _ACEOF
18020 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18021 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18023 cat >>confdefs.h <<_ACEOF
18024 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18025 _ACEOF
18031 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
18032 #include <sys/types.h>
18033 #endif
18034 #ifdef HAVE_NETINET_IN_H
18035 #include <netinet/in.h>
18036 #endif
18038 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18040 cat >>confdefs.h <<_ACEOF
18041 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18042 _ACEOF
18048 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18049 #include <sys/types.h>
18050 #endif
18051 #ifdef HAVE_NETINET_IN_H
18052 #include <netinet/in.h>
18053 #endif
18054 #ifdef HAVE_RESOLV_H
18055 #include <resolv.h>
18056 #endif
18058 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18060 cat >>confdefs.h <<_ACEOF
18061 #define HAVE_STRUCT___RES_STATE 1
18062 _ACEOF
18068 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
18069 #include <resolv.h>
18070 #endif
18072 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18074 cat >>confdefs.h <<_ACEOF
18075 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18076 _ACEOF
18082 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18083 #include <sys/types.h>
18084 #endif
18085 #ifdef HAVE_NETINET_IN_H
18086 # include <netinet/in.h>
18087 #endif
18088 #ifdef HAVE_ARPA_NAMESER_H
18089 # include <arpa/nameser.h>
18090 #endif
18092 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_NS_MSG__MSG_PTR 1
18096 _ACEOF
18102 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18103 #include <sys/types.h>
18104 #endif
18105 #ifdef HAVE_NETINET_IN_H
18106 #include <netinet/in.h>
18107 #endif
18108 #ifdef HAVE_NETINET_IP_H
18109 #include <netinet/ip.h>
18110 #endif
18111 #ifdef HAVE_NETINET_IP_ICMP_H
18112 #include <netinet/ip_icmp.h>
18113 #endif
18114 #ifdef HAVE_NETINET_ICMP_VAR_H
18115 #include <netinet/icmp_var.h>
18116 #endif
18118 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18120 cat >>confdefs.h <<_ACEOF
18121 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18122 _ACEOF
18128 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18129 #include <sys/types.h>
18130 #endif
18131 #ifdef HAVE_ALIAS_H
18132 #include <alias.h>
18133 #endif
18134 #ifdef HAVE_SYS_SOCKET_H
18135 #include <sys/socket.h>
18136 #endif
18137 #ifdef HAVE_SYS_SOCKETVAR_H
18138 #include <sys/socketvar.h>
18139 #endif
18140 #ifdef HAVE_SYS_TIMEOUT_H
18141 #include <sys/timeout.h>
18142 #endif
18143 #ifdef HAVE_NETINET_IN_H
18144 #include <netinet/in.h>
18145 #endif
18146 #ifdef HAVE_NETINET_IN_SYSTM_H
18147 #include <netinet/in_systm.h>
18148 #endif
18149 #ifdef HAVE_NETINET_IP_H
18150 #include <netinet/ip.h>
18151 #endif
18152 #ifdef HAVE_NETINET_IP_VAR_H
18153 #include <netinet/ip_var.h>
18154 #endif
18155 #ifdef HAVE_NETINET_IP_ICMP_H
18156 #include <netinet/ip_icmp.h>
18157 #endif
18158 #ifdef HAVE_NETINET_ICMP_VAR_H
18159 #include <netinet/icmp_var.h>
18160 #endif
18162 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18164 cat >>confdefs.h <<_ACEOF
18165 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18166 _ACEOF
18172 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18173 #include <sys/types.h>
18174 #endif
18175 #ifdef HAVE_SYS_SOCKETVAR_H
18176 #include <sys/socketvar.h>
18177 #endif
18178 #ifdef HAVE_NETINET_IN_H
18179 #include <netinet/in.h>
18180 #endif
18181 #ifdef HAVE_NETINET_IP_VAR_H
18182 #include <netinet/ip_var.h>
18183 #endif
18185 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18187 cat >>confdefs.h <<_ACEOF
18188 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18189 _ACEOF
18195 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
18196 #include <netinet/ip_var.h>
18197 #endif
18199 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18201 cat >>confdefs.h <<_ACEOF
18202 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18203 _ACEOF
18209 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18210 #include <sys/types.h>
18211 #endif
18212 #ifdef HAVE_SYS_SOCKETVAR_H
18213 #include <sys/socketvar.h>
18214 #endif
18215 #ifdef HAVE_NETINET_IN_H
18216 #include <netinet/in.h>
18217 #endif
18218 #ifdef HAVE_NETINET_TCP_H
18219 #include <netinet/tcp.h>
18220 #endif
18221 #ifdef HAVE_NETINET_TCP_VAR_H
18222 #include <netinet/tcp_var.h>
18223 #endif
18225 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18227 cat >>confdefs.h <<_ACEOF
18228 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18229 _ACEOF
18235 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
18236 #include <netinet/tcp_var.h>
18237 #endif
18239 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18241 cat >>confdefs.h <<_ACEOF
18242 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18243 _ACEOF
18249 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18250 #include <sys/types.h>
18251 #endif
18252 #ifdef HAVE_NETINET_IN_H
18253 #include <netinet/in.h>
18254 #endif
18255 #ifdef HAVE_NETINET_IP_VAR_H
18256 #include <netinet/ip_var.h>
18257 #endif
18258 #ifdef HAVE_NETINET_UDP_H
18259 #include <netinet/udp.h>
18260 #endif
18261 #ifdef HAVE_NETINET_UDP_VAR_H
18262 #include <netinet/udp_var.h>
18263 #endif
18265 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18267 cat >>confdefs.h <<_ACEOF
18268 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18269 _ACEOF
18275 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18276 #include <sys/types.h>
18277 #endif
18278 #ifdef HAVE_NET_IF_H
18279 # include <net/if.h>
18280 #endif
18282 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18284 cat >>confdefs.h <<_ACEOF
18285 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18286 _ACEOF
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18293 $as_echo_n "checking for timezone variable... " >&6; }
18294 if ${ac_cv_have_timezone+:} false; then :
18295 $as_echo_n "(cached) " >&6
18296 else
18297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18298 /* end confdefs.h. */
18299 #include <time.h>
18301 main ()
18303 timezone = 1
18305 return 0;
18307 _ACEOF
18308 if ac_fn_c_try_link "$LINENO"; then :
18309 ac_cv_have_timezone="yes"
18310 else
18311 ac_cv_have_timezone="no"
18313 rm -f core conftest.err conftest.$ac_objext \
18314 conftest$ac_exeext conftest.$ac_ext
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18317 $as_echo "$ac_cv_have_timezone" >&6; }
18318 if test "$ac_cv_have_timezone" = "yes"
18319 then
18321 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18325 $as_echo_n "checking for daylight variable... " >&6; }
18326 if ${ac_cv_have_daylight+:} false; then :
18327 $as_echo_n "(cached) " >&6
18328 else
18329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18330 /* end confdefs.h. */
18331 #include <time.h>
18333 main ()
18335 daylight = 1
18337 return 0;
18339 _ACEOF
18340 if ac_fn_c_try_link "$LINENO"; then :
18341 ac_cv_have_daylight="yes"
18342 else
18343 ac_cv_have_daylight="no"
18345 rm -f core conftest.err conftest.$ac_objext \
18346 conftest$ac_exeext conftest.$ac_ext
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18349 $as_echo "$ac_cv_have_daylight" >&6; }
18350 if test "$ac_cv_have_daylight" = "yes"
18351 then
18353 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18357 ac_save_LIBS="$LIBS"
18358 LIBS="$LIBS -lm"
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18360 $as_echo_n "checking for isfinite... " >&6; }
18361 if ${ac_cv_have_isfinite+:} false; then :
18362 $as_echo_n "(cached) " >&6
18363 else
18364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18365 /* end confdefs.h. */
18366 #define _GNU_SOURCE
18367 #include <math.h>
18369 main ()
18371 float f = 0.0; return isfinite(f)
18373 return 0;
18375 _ACEOF
18376 if ac_fn_c_try_link "$LINENO"; then :
18377 ac_cv_have_isfinite="yes"
18378 else
18379 ac_cv_have_isfinite="no"
18381 rm -f core conftest.err conftest.$ac_objext \
18382 conftest$ac_exeext conftest.$ac_ext
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18385 $as_echo "$ac_cv_have_isfinite" >&6; }
18386 if test "$ac_cv_have_isfinite" = "yes"
18387 then
18389 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18394 $as_echo_n "checking for isinf... " >&6; }
18395 if ${ac_cv_have_isinf+:} false; then :
18396 $as_echo_n "(cached) " >&6
18397 else
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18400 #include <math.h>
18402 main ()
18404 float f = 0.0; return isinf(f)
18406 return 0;
18408 _ACEOF
18409 if ac_fn_c_try_link "$LINENO"; then :
18410 ac_cv_have_isinf="yes"
18411 else
18412 ac_cv_have_isinf="no"
18414 rm -f core conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext conftest.$ac_ext
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18418 $as_echo "$ac_cv_have_isinf" >&6; }
18419 if test "$ac_cv_have_isinf" = "yes"
18420 then
18422 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18427 $as_echo_n "checking for isnan... " >&6; }
18428 if ${ac_cv_have_isnan+:} false; then :
18429 $as_echo_n "(cached) " >&6
18430 else
18431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18433 #include <math.h>
18435 main ()
18437 float f = 0.0; return isnan(f)
18439 return 0;
18441 _ACEOF
18442 if ac_fn_c_try_link "$LINENO"; then :
18443 ac_cv_have_isnan="yes"
18444 else
18445 ac_cv_have_isnan="no"
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18451 $as_echo "$ac_cv_have_isnan" >&6; }
18452 if test "$ac_cv_have_isnan" = "yes"
18453 then
18455 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18459 for ac_func in \
18460 acosh \
18461 acoshf \
18462 asinh \
18463 asinhf \
18464 atanh \
18465 atanhf \
18466 cbrt \
18467 cbrtf \
18468 erf \
18469 erfc \
18470 erfcf \
18471 erff \
18472 exp2 \
18473 exp2f \
18474 expm1 \
18475 expm1f \
18476 j0 \
18477 j1 \
18478 jn \
18479 lgamma \
18480 lgammaf \
18481 llrint \
18482 llrintf \
18483 llround \
18484 llroundf \
18485 log1p \
18486 log1pf \
18487 log2 \
18488 log2f \
18489 lrint \
18490 lrintf \
18491 lround \
18492 lroundf \
18493 nearbyint \
18494 nearbyintf \
18495 powl \
18496 remainder \
18497 remainderf \
18498 rint \
18499 rintf \
18500 round \
18501 roundf \
18502 trunc \
18503 truncf \
18504 y0 \
18505 y1 \
18508 do :
18509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18512 cat >>confdefs.h <<_ACEOF
18513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18514 _ACEOF
18517 done
18519 LIBS="$ac_save_LIBS"
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18522 $as_echo_n "checking for __builtin_clz... " >&6; }
18523 if ${ac_cv_have___builtin_clz+:} false; then :
18524 $as_echo_n "(cached) " >&6
18525 else
18526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h. */
18530 main ()
18532 return __builtin_clz(1)
18534 return 0;
18536 _ACEOF
18537 if ac_fn_c_try_link "$LINENO"; then :
18538 ac_cv_have___builtin_clz="yes"
18539 else
18540 ac_cv_have___builtin_clz="no"
18542 rm -f core conftest.err conftest.$ac_objext \
18543 conftest$ac_exeext conftest.$ac_ext
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18546 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18547 if test "$ac_cv_have___builtin_clz" = "yes"
18548 then
18550 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18555 $as_echo_n "checking for __builtin_popcount... " >&6; }
18556 if ${ac_cv_have___builtin_popcount+:} false; then :
18557 $as_echo_n "(cached) " >&6
18558 else
18559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h. */
18563 main ()
18565 return __builtin_popcount(1)
18567 return 0;
18569 _ACEOF
18570 if ac_fn_c_try_link "$LINENO"; then :
18571 ac_cv_have___builtin_popcount="yes"
18572 else
18573 ac_cv_have___builtin_popcount="no"
18575 rm -f core conftest.err conftest.$ac_objext \
18576 conftest$ac_exeext conftest.$ac_ext
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18579 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18580 if test "$ac_cv_have___builtin_popcount" = "yes"
18581 then
18583 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18588 $as_echo_n "checking for __clear_cache... " >&6; }
18589 if ${ac_cv_have___clear_cache+:} false; then :
18590 $as_echo_n "(cached) " >&6
18591 else
18592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18593 /* end confdefs.h. */
18596 main ()
18598 __clear_cache((void*)0, (void*)0); return 0;
18600 return 0;
18602 _ACEOF
18603 if ac_fn_c_try_link "$LINENO"; then :
18604 ac_cv_have___clear_cache="yes"
18605 else
18606 ac_cv_have___clear_cache="no"
18608 rm -f core conftest.err conftest.$ac_objext \
18609 conftest$ac_exeext conftest.$ac_ext
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18612 $as_echo "$ac_cv_have___clear_cache" >&6; }
18613 if test "$ac_cv_have___clear_cache" = "yes"
18614 then
18616 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18621 case $host_cpu in
18622 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18623 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18624 if ${ac_cv_cpp_def___i386__+:} false; then :
18625 $as_echo_n "(cached) " >&6
18626 else
18627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18628 /* end confdefs.h. */
18629 #ifndef __i386__
18631 #endif
18632 _ACEOF
18633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18634 $EGREP "yes" >/dev/null 2>&1; then :
18635 ac_cv_cpp_def___i386__=yes
18636 else
18637 ac_cv_cpp_def___i386__=no
18639 rm -f conftest*
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18643 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18644 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18645 CFLAGS="$CFLAGS -D__i386__"
18646 LINTFLAGS="$LINTFLAGS -D__i386__"
18647 fi ;;
18648 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18649 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18650 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18651 $as_echo_n "(cached) " >&6
18652 else
18653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18655 #ifndef __x86_64__
18657 #endif
18658 _ACEOF
18659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18660 $EGREP "yes" >/dev/null 2>&1; then :
18661 ac_cv_cpp_def___x86_64__=yes
18662 else
18663 ac_cv_cpp_def___x86_64__=no
18665 rm -f conftest*
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18669 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18670 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18671 CFLAGS="$CFLAGS -D__x86_64__"
18672 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18673 fi ;;
18674 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18675 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18676 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18677 $as_echo_n "(cached) " >&6
18678 else
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 #ifndef __sparc64__
18683 #endif
18684 _ACEOF
18685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18686 $EGREP "yes" >/dev/null 2>&1; then :
18687 ac_cv_cpp_def___sparc64__=yes
18688 else
18689 ac_cv_cpp_def___sparc64__=no
18691 rm -f conftest*
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18695 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18696 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18697 CFLAGS="$CFLAGS -D__sparc64__"
18698 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18699 fi ;;
18700 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18701 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18702 if ${ac_cv_cpp_def___sparc__+:} false; then :
18703 $as_echo_n "(cached) " >&6
18704 else
18705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18707 #ifndef __sparc__
18709 #endif
18710 _ACEOF
18711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18712 $EGREP "yes" >/dev/null 2>&1; then :
18713 ac_cv_cpp_def___sparc__=yes
18714 else
18715 ac_cv_cpp_def___sparc__=no
18717 rm -f conftest*
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18721 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18722 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18723 CFLAGS="$CFLAGS -D__sparc__"
18724 LINTFLAGS="$LINTFLAGS -D__sparc__"
18725 fi ;;
18726 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18727 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18728 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18729 $as_echo_n "(cached) " >&6
18730 else
18731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18733 #ifndef __powerpc64__
18735 #endif
18736 _ACEOF
18737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18738 $EGREP "yes" >/dev/null 2>&1; then :
18739 ac_cv_cpp_def___powerpc64__=yes
18740 else
18741 ac_cv_cpp_def___powerpc64__=no
18743 rm -f conftest*
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18747 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18748 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18749 CFLAGS="$CFLAGS -D__powerpc64__"
18750 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18751 fi ;;
18752 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18753 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18754 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18755 $as_echo_n "(cached) " >&6
18756 else
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18759 #ifndef __powerpc__
18761 #endif
18762 _ACEOF
18763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18764 $EGREP "yes" >/dev/null 2>&1; then :
18765 ac_cv_cpp_def___powerpc__=yes
18766 else
18767 ac_cv_cpp_def___powerpc__=no
18769 rm -f conftest*
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18773 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18774 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18775 CFLAGS="$CFLAGS -D__powerpc__"
18776 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18777 fi ;;
18778 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18779 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18780 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18781 $as_echo_n "(cached) " >&6
18782 else
18783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18785 #ifndef __aarch64__
18787 #endif
18788 _ACEOF
18789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18790 $EGREP "yes" >/dev/null 2>&1; then :
18791 ac_cv_cpp_def___aarch64__=yes
18792 else
18793 ac_cv_cpp_def___aarch64__=no
18795 rm -f conftest*
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18799 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18800 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18801 CFLAGS="$CFLAGS -D__aarch64__"
18802 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18803 fi ;;
18804 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18805 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18806 if ${ac_cv_cpp_def___arm__+:} false; then :
18807 $as_echo_n "(cached) " >&6
18808 else
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18811 #ifndef __arm__
18813 #endif
18814 _ACEOF
18815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18816 $EGREP "yes" >/dev/null 2>&1; then :
18817 ac_cv_cpp_def___arm__=yes
18818 else
18819 ac_cv_cpp_def___arm__=no
18821 rm -f conftest*
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18825 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18826 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18827 CFLAGS="$CFLAGS -D__arm__"
18828 LINTFLAGS="$LINTFLAGS -D__arm__"
18829 fi ;;
18830 esac
18832 case $host_vendor in
18833 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18834 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18835 if ${ac_cv_cpp_def___sun__+:} false; then :
18836 $as_echo_n "(cached) " >&6
18837 else
18838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18839 /* end confdefs.h. */
18840 #ifndef __sun__
18842 #endif
18843 _ACEOF
18844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18845 $EGREP "yes" >/dev/null 2>&1; then :
18846 ac_cv_cpp_def___sun__=yes
18847 else
18848 ac_cv_cpp_def___sun__=no
18850 rm -f conftest*
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18854 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18855 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18856 CFLAGS="$CFLAGS -D__sun__"
18857 LINTFLAGS="$LINTFLAGS -D__sun__"
18858 fi ;;
18859 esac
18865 ac_config_commands="$ac_config_commands include/stamp-h"
18867 $as_echo_n "creating Makefile rules..." >&6
18869 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18870 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18871 IOKIT_LIBS = $IOKIT_LIBS
18872 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18873 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18874 CORESERVICES_LIBS = $CORESERVICES_LIBS
18875 APPKIT_LIBS = $APPKIT_LIBS
18876 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18877 SECURITY_LIBS = $SECURITY_LIBS
18878 COREAUDIO_LIBS = $COREAUDIO_LIBS
18879 OPENAL_LIBS = $OPENAL_LIBS
18880 OPENCL_LIBS = $OPENCL_LIBS
18881 QUICKTIME_LIBS = $QUICKTIME_LIBS
18882 CARBON_LIBS = $CARBON_LIBS
18883 METAL_LIBS = $METAL_LIBS
18884 PTHREAD_LIBS = $PTHREAD_LIBS
18885 X_CFLAGS = $X_CFLAGS
18886 X_PRE_LIBS = $X_PRE_LIBS
18887 X_LIBS = $X_LIBS
18888 X_EXTRA_LIBS = $X_EXTRA_LIBS
18889 PCAP_LIBS = $PCAP_LIBS
18890 XML2_CFLAGS = $XML2_CFLAGS
18891 XML2_LIBS = $XML2_LIBS
18892 XSLT_CFLAGS = $XSLT_CFLAGS
18893 XSLT_LIBS = $XSLT_LIBS
18894 DBUS_CFLAGS = $DBUS_CFLAGS
18895 DBUS_LIBS = $DBUS_LIBS
18896 HAL_CFLAGS = $HAL_CFLAGS
18897 HAL_LIBS = $HAL_LIBS
18898 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18899 GNUTLS_LIBS = $GNUTLS_LIBS
18900 SANE_CFLAGS = $SANE_CFLAGS
18901 SANE_LIBS = $SANE_LIBS
18902 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18903 GPHOTO2_LIBS = $GPHOTO2_LIBS
18904 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18905 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18906 RESOLV_LIBS = $RESOLV_LIBS
18907 LCMS2_CFLAGS = $LCMS2_CFLAGS
18908 LCMS2_LIBS = $LCMS2_LIBS
18909 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18910 FREETYPE_LIBS = $FREETYPE_LIBS
18911 Z_LIBS = $Z_LIBS
18912 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18913 PULSE_CFLAGS = $PULSE_CFLAGS
18914 PULSE_LIBS = $PULSE_LIBS
18915 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18916 GSTREAMER_LIBS = $GSTREAMER_LIBS
18917 ALSA_LIBS = $ALSA_LIBS
18918 OSS4_CFLAGS = $OSS4_CFLAGS
18919 UDEV_CFLAGS = $UDEV_CFLAGS
18920 UDEV_LIBS = $UDEV_LIBS
18921 SDL2_CFLAGS = $SDL2_CFLAGS
18922 SDL2_LIBS = $SDL2_LIBS
18923 CAPI20_CFLAGS = $CAPI20_CFLAGS
18924 CAPI20_LIBS = $CAPI20_LIBS
18925 CUPS_CFLAGS = $CUPS_CFLAGS
18926 CUPS_LIBS = $CUPS_LIBS
18927 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18928 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18929 KRB5_CFLAGS = $KRB5_CFLAGS
18930 KRB5_LIBS = $KRB5_LIBS
18931 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18932 GSSAPI_LIBS = $GSSAPI_LIBS
18933 JPEG_CFLAGS = $JPEG_CFLAGS
18934 JPEG_LIBS = $JPEG_LIBS
18935 PNG_CFLAGS = $PNG_CFLAGS
18936 PNG_LIBS = $PNG_LIBS
18937 TIFF_CFLAGS = $TIFF_CFLAGS
18938 TIFF_LIBS = $TIFF_LIBS
18939 MPG123_CFLAGS = $MPG123_CFLAGS
18940 MPG123_LIBS = $MPG123_LIBS
18941 KSTAT_LIBS = $KSTAT_LIBS
18942 PROCSTAT_LIBS = $PROCSTAT_LIBS
18943 NETAPI_CFLAGS = $NETAPI_CFLAGS
18944 NETAPI_LIBS = $NETAPI_LIBS
18945 VKD3D_CFLAGS = $VKD3D_CFLAGS
18946 VKD3D_LIBS = $VKD3D_LIBS
18947 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18948 DL_LIBS = $DL_LIBS
18949 POLL_LIBS = $POLL_LIBS
18950 RT_LIBS = $RT_LIBS
18951 LDAP_CFLAGS = $LDAP_CFLAGS
18952 LDAP_LIBS = $LDAP_LIBS
18957 wine_fn_append_rule "
18958 # Rules automatically generated by configure
18960 .INIT: Makefile
18961 .MAKEFILEDEPS:
18962 all: Makefile
18963 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18964 @./config.status Make.tmp Makefile
18965 depend: \$(MAKEDEP) dummy
18966 \$(MAKEDEP)"
18968 if test "x$enable_fonts" != xno; then
18969 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18970 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18971 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18972 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18973 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18974 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18976 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18977 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18978 ac_config_links="$ac_config_links wine:tools/winewrapper"
18979 wine_fn_config_symlink wine
18980 if test "x$enable_win64" != xno; then
18981 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18982 wine_fn_config_symlink wine64
18985 wine_fn_config_makefile dlls/acledit enable_acledit
18986 wine_fn_config_makefile dlls/aclui enable_aclui
18987 wine_fn_config_makefile dlls/activeds enable_activeds
18988 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18989 wine_fn_config_makefile dlls/adsiid enable_adsiid
18990 wine_fn_config_makefile dlls/adsldp enable_adsldp
18991 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18992 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18993 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18994 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18995 wine_fn_config_makefile dlls/advpack enable_advpack
18996 wine_fn_config_makefile dlls/advpack/tests enable_tests
18997 wine_fn_config_makefile dlls/amstream enable_amstream
18998 wine_fn_config_makefile dlls/amstream/tests enable_tests
18999 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19000 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19001 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19002 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19003 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19004 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19005 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19006 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19007 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19008 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19009 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19010 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19011 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19012 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19013 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19014 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19015 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19016 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19017 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19018 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19019 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19020 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19021 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19022 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19023 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19024 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19025 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19026 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19027 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19028 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19029 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19030 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19031 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19032 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19033 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19034 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19035 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19036 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19038 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19040 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19041 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19042 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19043 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19044 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19045 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19046 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19047 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19048 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19049 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19050 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19051 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19052 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19053 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19054 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19055 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19056 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19057 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19058 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19059 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19061 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19062 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19064 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19065 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19066 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19068 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19072 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19073 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19074 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19076 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19077 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19078 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19079 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19084 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19085 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19088 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19089 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19101 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19102 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19105 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19108 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19118 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19123 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19124 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19129 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19131 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19134 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19150 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19151 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19170 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19180 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19181 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19182 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19185 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19187 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19189 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19190 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19195 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19197 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19201 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19203 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19206 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19207 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19208 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19209 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19210 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19211 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19212 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19213 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19214 wine_fn_config_makefile dlls/apphelp enable_apphelp
19215 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19216 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19217 wine_fn_config_makefile dlls/atl enable_atl
19218 wine_fn_config_makefile dlls/atl/tests enable_tests
19219 wine_fn_config_makefile dlls/atl100 enable_atl100
19220 wine_fn_config_makefile dlls/atl100/tests enable_tests
19221 wine_fn_config_makefile dlls/atl110 enable_atl110
19222 wine_fn_config_makefile dlls/atl80 enable_atl80
19223 wine_fn_config_makefile dlls/atl80/tests enable_tests
19224 wine_fn_config_makefile dlls/atl90 enable_atl90
19225 wine_fn_config_makefile dlls/atmlib enable_atmlib
19226 wine_fn_config_makefile dlls/authz enable_authz
19227 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19228 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19229 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19230 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19231 wine_fn_config_makefile dlls/avrt enable_avrt
19232 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19233 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19234 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19235 wine_fn_config_makefile dlls/browseui enable_browseui
19236 wine_fn_config_makefile dlls/browseui/tests enable_tests
19237 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19238 wine_fn_config_makefile dlls/cabinet enable_cabinet
19239 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19240 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19241 wine_fn_config_makefile dlls/cards enable_cards
19242 wine_fn_config_makefile dlls/cdosys enable_cdosys
19243 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19244 wine_fn_config_makefile dlls/clusapi enable_clusapi
19245 wine_fn_config_makefile dlls/combase enable_combase
19246 wine_fn_config_makefile dlls/combase/tests enable_tests
19247 wine_fn_config_makefile dlls/comcat enable_comcat
19248 wine_fn_config_makefile dlls/comcat/tests enable_tests
19249 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19250 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19251 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19252 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19253 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19254 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19255 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19256 wine_fn_config_makefile dlls/compstui enable_compstui
19257 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19258 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19259 wine_fn_config_makefile dlls/connect enable_connect
19260 wine_fn_config_makefile dlls/credui enable_credui
19261 wine_fn_config_makefile dlls/credui/tests enable_tests
19262 wine_fn_config_makefile dlls/crtdll enable_crtdll
19263 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19264 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19265 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19266 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19267 wine_fn_config_makefile dlls/cryptext enable_cryptext
19268 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19269 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19270 wine_fn_config_makefile dlls/cryptui enable_cryptui
19271 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19272 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19273 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19274 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19275 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19276 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19277 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19278 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19279 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19280 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19281 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19282 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19283 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19284 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19285 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19286 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19287 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19288 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19289 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19290 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19291 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19292 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19293 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19294 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19295 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19296 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19297 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19298 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19299 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19300 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19301 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19302 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19303 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19304 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19305 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19306 wine_fn_config_makefile dlls/d3dim enable_d3dim
19307 wine_fn_config_makefile dlls/d3drm enable_d3drm
19308 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19309 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19310 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19311 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19312 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19313 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19314 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19315 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19316 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19317 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19318 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19319 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19320 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19321 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19322 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19323 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19324 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19325 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19326 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19327 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19328 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19329 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19330 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19331 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19332 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19333 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19334 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19335 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19336 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19337 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19338 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19339 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19340 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19341 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19342 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19343 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19344 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19345 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19346 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19347 wine_fn_config_makefile dlls/davclnt enable_davclnt
19348 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19349 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19350 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19351 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19352 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19353 wine_fn_config_makefile dlls/ddraw enable_ddraw
19354 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19355 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19356 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19357 wine_fn_config_makefile dlls/devenum enable_devenum
19358 wine_fn_config_makefile dlls/devenum/tests enable_tests
19359 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19360 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19361 wine_fn_config_makefile dlls/difxapi enable_difxapi
19362 wine_fn_config_makefile dlls/dinput enable_dinput
19363 wine_fn_config_makefile dlls/dinput/tests enable_tests
19364 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19365 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19366 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19367 wine_fn_config_makefile dlls/dispex enable_dispex
19368 wine_fn_config_makefile dlls/dispex/tests enable_tests
19369 wine_fn_config_makefile dlls/display.drv16 enable_win16
19370 wine_fn_config_makefile dlls/dmband enable_dmband
19371 wine_fn_config_makefile dlls/dmband/tests enable_tests
19372 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19373 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19374 wine_fn_config_makefile dlls/dmime enable_dmime
19375 wine_fn_config_makefile dlls/dmime/tests enable_tests
19376 wine_fn_config_makefile dlls/dmloader enable_dmloader
19377 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19378 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19379 wine_fn_config_makefile dlls/dmscript enable_dmscript
19380 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19381 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19382 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19383 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19384 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19385 wine_fn_config_makefile dlls/dmusic enable_dmusic
19386 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19387 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19388 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19389 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19390 wine_fn_config_makefile dlls/dplay enable_dplay
19391 wine_fn_config_makefile dlls/dplayx enable_dplayx
19392 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19393 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19394 wine_fn_config_makefile dlls/dpnet enable_dpnet
19395 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19396 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19397 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19398 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19399 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19400 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19401 wine_fn_config_makefile dlls/drmclien enable_drmclien
19402 wine_fn_config_makefile dlls/dsound enable_dsound
19403 wine_fn_config_makefile dlls/dsound/tests enable_tests
19404 wine_fn_config_makefile dlls/dsquery enable_dsquery
19405 wine_fn_config_makefile dlls/dssenh enable_dssenh
19406 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19407 wine_fn_config_makefile dlls/dswave enable_dswave
19408 wine_fn_config_makefile dlls/dswave/tests enable_tests
19409 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19410 wine_fn_config_makefile dlls/dwrite enable_dwrite
19411 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19412 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19413 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19414 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19415 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19416 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19417 wine_fn_config_makefile dlls/dxgi enable_dxgi
19418 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19419 wine_fn_config_makefile dlls/dxguid enable_dxguid
19420 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19421 wine_fn_config_makefile dlls/esent enable_esent
19422 wine_fn_config_makefile dlls/evr enable_evr
19423 wine_fn_config_makefile dlls/evr/tests enable_tests
19424 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19425 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19426 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19427 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19428 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19429 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19430 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19431 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19432 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19433 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19434 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19435 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19449 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19450 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19451 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19452 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19453 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19454 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19455 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
19456 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19457 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19458 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19459 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19460 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19461 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19462 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19463 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19464 wine_fn_config_makefile dlls/faultrep enable_faultrep
19465 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19466 wine_fn_config_makefile dlls/feclient enable_feclient
19467 wine_fn_config_makefile dlls/fltlib enable_fltlib
19468 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19469 wine_fn_config_makefile dlls/fntcache enable_fntcache
19470 wine_fn_config_makefile dlls/fontsub enable_fontsub
19471 wine_fn_config_makefile dlls/fusion enable_fusion
19472 wine_fn_config_makefile dlls/fusion/tests enable_tests
19473 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19474 wine_fn_config_makefile dlls/gameux enable_gameux
19475 wine_fn_config_makefile dlls/gameux/tests enable_tests
19476 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19477 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19478 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19479 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19480 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19481 wine_fn_config_makefile dlls/glu32 enable_glu32
19482 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19483 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19484 wine_fn_config_makefile dlls/hal enable_hal
19485 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19486 wine_fn_config_makefile dlls/hid enable_hid
19487 wine_fn_config_makefile dlls/hid/tests enable_tests
19488 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19489 wine_fn_config_makefile dlls/hlink enable_hlink
19490 wine_fn_config_makefile dlls/hlink/tests enable_tests
19491 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19492 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19493 wine_fn_config_makefile dlls/httpapi enable_httpapi
19494 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19495 wine_fn_config_makefile dlls/iccvid enable_iccvid
19496 wine_fn_config_makefile dlls/icmp enable_icmp
19497 wine_fn_config_makefile dlls/ieframe enable_ieframe
19498 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19499 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19500 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19501 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19502 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19503 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19504 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19505 wine_fn_config_makefile dlls/imm32 enable_imm32
19506 wine_fn_config_makefile dlls/imm32/tests enable_tests
19507 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19508 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19509 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19510 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19511 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19512 wine_fn_config_makefile dlls/infosoft enable_infosoft
19513 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19514 wine_fn_config_makefile dlls/initpki enable_initpki
19515 wine_fn_config_makefile dlls/inkobj enable_inkobj
19516 wine_fn_config_makefile dlls/inseng enable_inseng
19517 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19518 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19519 wine_fn_config_makefile dlls/iprop enable_iprop
19520 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19521 wine_fn_config_makefile dlls/itircl enable_itircl
19522 wine_fn_config_makefile dlls/itss enable_itss
19523 wine_fn_config_makefile dlls/itss/tests enable_tests
19524 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19525 wine_fn_config_makefile dlls/jscript enable_jscript
19526 wine_fn_config_makefile dlls/jscript/tests enable_tests
19527 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19528 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19529 wine_fn_config_makefile dlls/kerberos enable_kerberos
19530 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19531 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19532 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19533 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19534 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19535 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19536 wine_fn_config_makefile dlls/ksuser enable_ksuser
19537 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19538 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19539 wine_fn_config_makefile dlls/loadperf enable_loadperf
19540 wine_fn_config_makefile dlls/localspl enable_localspl
19541 wine_fn_config_makefile dlls/localspl/tests enable_tests
19542 wine_fn_config_makefile dlls/localui enable_localui
19543 wine_fn_config_makefile dlls/localui/tests enable_tests
19544 wine_fn_config_makefile dlls/lz32 enable_lz32
19545 wine_fn_config_makefile dlls/lz32/tests enable_tests
19546 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19547 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19548 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19549 wine_fn_config_makefile dlls/mapistub enable_mapistub
19550 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19551 wine_fn_config_makefile dlls/mcicda enable_mcicda
19552 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19553 wine_fn_config_makefile dlls/mciseq enable_mciseq
19554 wine_fn_config_makefile dlls/mciwave enable_mciwave
19555 wine_fn_config_makefile dlls/mf enable_mf
19556 wine_fn_config_makefile dlls/mf/tests enable_tests
19557 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19558 wine_fn_config_makefile dlls/mfplat enable_mfplat
19559 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19560 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19561 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19562 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19563 wine_fn_config_makefile dlls/midimap enable_midimap
19564 wine_fn_config_makefile dlls/mlang enable_mlang
19565 wine_fn_config_makefile dlls/mlang/tests enable_tests
19566 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19567 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19568 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19569 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19570 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19571 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19572 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19573 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19574 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19575 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19576 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19577 wine_fn_config_makefile dlls/mpr enable_mpr
19578 wine_fn_config_makefile dlls/mpr/tests enable_tests
19579 wine_fn_config_makefile dlls/mprapi enable_mprapi
19580 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19581 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19582 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19583 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19584 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19585 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19586 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19587 wine_fn_config_makefile dlls/mscms enable_mscms
19588 wine_fn_config_makefile dlls/mscms/tests enable_tests
19589 wine_fn_config_makefile dlls/mscoree enable_mscoree
19590 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19591 wine_fn_config_makefile dlls/msctf enable_msctf
19592 wine_fn_config_makefile dlls/msctf/tests enable_tests
19593 wine_fn_config_makefile dlls/msctfp enable_msctfp
19594 wine_fn_config_makefile dlls/msdaps enable_msdaps
19595 wine_fn_config_makefile dlls/msdelta enable_msdelta
19596 wine_fn_config_makefile dlls/msdmo enable_msdmo
19597 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19598 wine_fn_config_makefile dlls/msdrm enable_msdrm
19599 wine_fn_config_makefile dlls/msftedit enable_msftedit
19600 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19601 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19602 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19603 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19604 wine_fn_config_makefile dlls/mshtml enable_mshtml
19605 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19606 wine_fn_config_makefile dlls/msi enable_msi
19607 wine_fn_config_makefile dlls/msi/tests enable_tests
19608 wine_fn_config_makefile dlls/msident enable_msident
19609 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19610 wine_fn_config_makefile dlls/msimsg enable_msimsg
19611 wine_fn_config_makefile dlls/msimtf enable_msimtf
19612 wine_fn_config_makefile dlls/msisip enable_msisip
19613 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19614 wine_fn_config_makefile dlls/msls31 enable_msls31
19615 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19616 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19617 wine_fn_config_makefile dlls/msports enable_msports
19618 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19619 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19620 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19621 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19622 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19623 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19624 wine_fn_config_makefile dlls/mstask enable_mstask
19625 wine_fn_config_makefile dlls/mstask/tests enable_tests
19626 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19627 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19628 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19629 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19630 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19631 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19632 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19633 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19634 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19635 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19636 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19637 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19638 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19639 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19640 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19641 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19642 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19643 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19644 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19645 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19646 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19647 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19648 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19649 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19650 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19651 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19652 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19653 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19654 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19655 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19656 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19657 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19658 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19659 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19660 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19661 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19662 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19663 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19664 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19665 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19666 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19667 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19668 wine_fn_config_makefile dlls/mswsock enable_mswsock
19669 wine_fn_config_makefile dlls/msxml enable_msxml
19670 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19671 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19672 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19673 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19674 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19675 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19676 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19677 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19678 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19679 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19680 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19681 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19682 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19683 wine_fn_config_makefile dlls/netprofm enable_netprofm
19684 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19685 wine_fn_config_makefile dlls/newdev enable_newdev
19686 wine_fn_config_makefile dlls/ninput enable_ninput
19687 wine_fn_config_makefile dlls/ninput/tests enable_tests
19688 wine_fn_config_makefile dlls/normaliz enable_normaliz
19689 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19690 wine_fn_config_makefile dlls/npptools enable_npptools
19691 wine_fn_config_makefile dlls/ntdll enable_ntdll
19692 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19693 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19694 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19695 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19696 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19697 wine_fn_config_makefile dlls/ntprint enable_ntprint
19698 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19699 wine_fn_config_makefile dlls/objsel enable_objsel
19700 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19701 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19702 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19703 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19704 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19705 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19706 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19707 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19708 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19709 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19710 wine_fn_config_makefile dlls/ole32 enable_ole32
19711 wine_fn_config_makefile dlls/ole32/tests enable_tests
19712 wine_fn_config_makefile dlls/oleacc enable_oleacc
19713 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19714 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19715 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19716 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19717 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19718 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19719 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19720 wine_fn_config_makefile dlls/oledlg enable_oledlg
19721 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19722 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19723 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19724 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19725 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19726 wine_fn_config_makefile dlls/opcservices enable_opcservices
19727 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19728 wine_fn_config_makefile dlls/openal32 enable_openal32
19729 wine_fn_config_makefile dlls/opencl enable_opencl
19730 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19731 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19732 wine_fn_config_makefile dlls/packager enable_packager
19733 wine_fn_config_makefile dlls/packager/tests enable_tests
19734 wine_fn_config_makefile dlls/pdh enable_pdh
19735 wine_fn_config_makefile dlls/pdh/tests enable_tests
19736 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19737 wine_fn_config_makefile dlls/pidgen enable_pidgen
19738 wine_fn_config_makefile dlls/powrprof enable_powrprof
19739 wine_fn_config_makefile dlls/printui enable_printui
19740 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19741 wine_fn_config_makefile dlls/propsys enable_propsys
19742 wine_fn_config_makefile dlls/propsys/tests enable_tests
19743 wine_fn_config_makefile dlls/psapi enable_psapi
19744 wine_fn_config_makefile dlls/psapi/tests enable_tests
19745 wine_fn_config_makefile dlls/pstorec enable_pstorec
19746 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19747 wine_fn_config_makefile dlls/qcap enable_qcap
19748 wine_fn_config_makefile dlls/qcap/tests enable_tests
19749 wine_fn_config_makefile dlls/qedit enable_qedit
19750 wine_fn_config_makefile dlls/qedit/tests enable_tests
19751 wine_fn_config_makefile dlls/qmgr enable_qmgr
19752 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19753 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19754 wine_fn_config_makefile dlls/quartz enable_quartz
19755 wine_fn_config_makefile dlls/quartz/tests enable_tests
19756 wine_fn_config_makefile dlls/query enable_query
19757 wine_fn_config_makefile dlls/qwave enable_qwave
19758 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19759 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19760 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19761 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19762 wine_fn_config_makefile dlls/regapi enable_regapi
19763 wine_fn_config_makefile dlls/resutils enable_resutils
19764 wine_fn_config_makefile dlls/riched20 enable_riched20
19765 wine_fn_config_makefile dlls/riched20/tests enable_tests
19766 wine_fn_config_makefile dlls/riched32 enable_riched32
19767 wine_fn_config_makefile dlls/riched32/tests enable_tests
19768 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19769 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19770 wine_fn_config_makefile dlls/rsabase enable_rsabase
19771 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19772 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19773 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19774 wine_fn_config_makefile dlls/rtutils enable_rtutils
19775 wine_fn_config_makefile dlls/samlib enable_samlib
19776 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19777 wine_fn_config_makefile dlls/sapi enable_sapi
19778 wine_fn_config_makefile dlls/sapi/tests enable_tests
19779 wine_fn_config_makefile dlls/sas enable_sas
19780 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19781 wine_fn_config_makefile dlls/sccbase enable_sccbase
19782 wine_fn_config_makefile dlls/schannel enable_schannel
19783 wine_fn_config_makefile dlls/schannel/tests enable_tests
19784 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19785 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19786 wine_fn_config_makefile dlls/scrobj enable_scrobj
19787 wine_fn_config_makefile dlls/scrrun enable_scrrun
19788 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19789 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19790 wine_fn_config_makefile dlls/secur32 enable_secur32
19791 wine_fn_config_makefile dlls/secur32/tests enable_tests
19792 wine_fn_config_makefile dlls/security enable_security
19793 wine_fn_config_makefile dlls/sensapi enable_sensapi
19794 wine_fn_config_makefile dlls/serialui enable_serialui
19795 wine_fn_config_makefile dlls/serialui/tests enable_tests
19796 wine_fn_config_makefile dlls/setupapi enable_setupapi
19797 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19798 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19799 wine_fn_config_makefile dlls/sfc enable_sfc
19800 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19801 wine_fn_config_makefile dlls/shcore enable_shcore
19802 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19803 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19804 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19805 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19806 wine_fn_config_makefile dlls/shell32 enable_shell32
19807 wine_fn_config_makefile dlls/shell32/tests enable_tests
19808 wine_fn_config_makefile dlls/shfolder enable_shfolder
19809 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19810 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19811 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19812 wine_fn_config_makefile dlls/slc enable_slc
19813 wine_fn_config_makefile dlls/slc/tests enable_tests
19814 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19815 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19816 wine_fn_config_makefile dlls/softpub enable_softpub
19817 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19818 wine_fn_config_makefile dlls/spoolss enable_spoolss
19819 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19820 wine_fn_config_makefile dlls/srclient enable_srclient
19821 wine_fn_config_makefile dlls/sspicli enable_sspicli
19822 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19823 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19824 wine_fn_config_makefile dlls/sti enable_sti
19825 wine_fn_config_makefile dlls/sti/tests enable_tests
19826 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19827 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19828 wine_fn_config_makefile dlls/strmbase enable_strmbase
19829 wine_fn_config_makefile dlls/strmdll enable_strmdll
19830 wine_fn_config_makefile dlls/strmiids enable_strmiids
19831 wine_fn_config_makefile dlls/svrapi enable_svrapi
19832 wine_fn_config_makefile dlls/sxs enable_sxs
19833 wine_fn_config_makefile dlls/sxs/tests enable_tests
19834 wine_fn_config_makefile dlls/system.drv16 enable_win16
19835 wine_fn_config_makefile dlls/t2embed enable_t2embed
19836 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19837 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19838 wine_fn_config_makefile dlls/taskschd enable_taskschd
19839 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19840 wine_fn_config_makefile dlls/tdh enable_tdh
19841 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19842 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19843 wine_fn_config_makefile dlls/traffic enable_traffic
19844 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19845 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19846 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19847 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19848 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19849 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19850 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19851 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19852 wine_fn_config_makefile dlls/unicows enable_unicows
19853 wine_fn_config_makefile dlls/updspapi enable_updspapi
19854 wine_fn_config_makefile dlls/url enable_url
19855 wine_fn_config_makefile dlls/urlmon enable_urlmon
19856 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19857 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19858 wine_fn_config_makefile dlls/user.exe16 enable_win16
19859 wine_fn_config_makefile dlls/user32 enable_user32
19860 wine_fn_config_makefile dlls/user32/tests enable_tests
19861 wine_fn_config_makefile dlls/userenv enable_userenv
19862 wine_fn_config_makefile dlls/userenv/tests enable_tests
19863 wine_fn_config_makefile dlls/usp10 enable_usp10
19864 wine_fn_config_makefile dlls/usp10/tests enable_tests
19865 wine_fn_config_makefile dlls/uuid enable_uuid
19866 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19867 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19868 wine_fn_config_makefile dlls/vbscript enable_vbscript
19869 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19870 wine_fn_config_makefile dlls/vcomp enable_vcomp
19871 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19872 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19873 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19874 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19875 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19876 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19877 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19878 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19879 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19880 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19881 wine_fn_config_makefile dlls/version enable_version
19882 wine_fn_config_makefile dlls/version/tests enable_tests
19883 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19884 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19885 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19886 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19887 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19888 wine_fn_config_makefile dlls/vssapi enable_vssapi
19889 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19890 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19891 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19892 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19893 wine_fn_config_makefile dlls/w32skrnl enable_win16
19894 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19895 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19896 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19897 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19898 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19899 wine_fn_config_makefile dlls/wdscore enable_wdscore
19900 wine_fn_config_makefile dlls/webservices enable_webservices
19901 wine_fn_config_makefile dlls/webservices/tests enable_tests
19902 wine_fn_config_makefile dlls/wer enable_wer
19903 wine_fn_config_makefile dlls/wer/tests enable_tests
19904 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19905 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19906 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19907 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19908 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19909 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19910 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19911 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19912 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19913 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19914 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19915 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19916 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19917 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19918 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19919 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19920 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19921 wine_fn_config_makefile dlls/wined3d enable_wined3d
19922 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19923 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19924 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19925 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19926 wine_fn_config_makefile dlls/winemapi enable_winemapi
19927 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19928 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19929 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19930 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19931 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19932 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19933 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19934 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19935 wine_fn_config_makefile dlls/wing32 enable_wing32
19936 wine_fn_config_makefile dlls/winhttp enable_winhttp
19937 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19938 wine_fn_config_makefile dlls/wininet enable_wininet
19939 wine_fn_config_makefile dlls/wininet/tests enable_tests
19940 wine_fn_config_makefile dlls/winmm enable_winmm
19941 wine_fn_config_makefile dlls/winmm/tests enable_tests
19942 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19943 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19944 wine_fn_config_makefile dlls/winscard enable_winscard
19945 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19946 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19947 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19948 wine_fn_config_makefile dlls/winsta enable_winsta
19949 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19950 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19951 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19952 wine_fn_config_makefile dlls/wintrust enable_wintrust
19953 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19954 wine_fn_config_makefile dlls/winusb enable_winusb
19955 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19956 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19957 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19958 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19959 wine_fn_config_makefile dlls/wmasf enable_wmasf
19960 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19961 wine_fn_config_makefile dlls/wmi enable_wmi
19962 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19963 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19964 wine_fn_config_makefile dlls/wmp enable_wmp
19965 wine_fn_config_makefile dlls/wmp/tests enable_tests
19966 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19967 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19968 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19969 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19970 wine_fn_config_makefile dlls/wow32 enable_win16
19971 wine_fn_config_makefile dlls/wpc enable_wpc
19972 wine_fn_config_makefile dlls/wpc/tests enable_tests
19973 wine_fn_config_makefile dlls/wpcap enable_wpcap
19974 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19975 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19976 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19977 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19978 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19979 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19980 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19981 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19982 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19983 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19984 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19985 wine_fn_config_makefile dlls/wuapi enable_wuapi
19986 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19987 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19988 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19989 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19990 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19991 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19992 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19993 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19994 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19995 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19996 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19997 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19998 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19999 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20000 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20001 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20002 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20003 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20004 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20005 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20006 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20007 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20008 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20009 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20010 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20011 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20012 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20013 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20014 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20015 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20016 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20017 wine_fn_config_makefile dlls/xmllite enable_xmllite
20018 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20019 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20020 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20021 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20022 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
20023 wine_fn_config_makefile include enable_include
20024 wine_fn_config_makefile libs/port enable_port
20025 wine_fn_config_makefile libs/wine enable_wine
20026 wine_fn_config_makefile libs/wpp enable_wpp
20027 wine_fn_config_makefile loader enable_loader
20028 wine_fn_config_makefile po enable_po
20029 wine_fn_config_makefile programs/arp enable_arp
20030 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20031 wine_fn_config_makefile programs/attrib enable_attrib
20032 wine_fn_config_makefile programs/cabarc enable_cabarc
20033 wine_fn_config_makefile programs/cacls enable_cacls
20034 wine_fn_config_makefile programs/clock enable_clock
20035 wine_fn_config_makefile programs/cmd enable_cmd
20036 wine_fn_config_makefile programs/cmd/tests enable_tests
20037 wine_fn_config_makefile programs/conhost enable_conhost
20038 wine_fn_config_makefile programs/control enable_control
20039 wine_fn_config_makefile programs/cscript enable_cscript
20040 wine_fn_config_makefile programs/dism enable_dism
20041 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20042 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20043 wine_fn_config_makefile programs/eject enable_eject
20044 wine_fn_config_makefile programs/expand enable_expand
20045 wine_fn_config_makefile programs/explorer enable_explorer
20046 wine_fn_config_makefile programs/extrac32 enable_extrac32
20047 wine_fn_config_makefile programs/fc enable_fc
20048 wine_fn_config_makefile programs/find enable_find
20049 wine_fn_config_makefile programs/findstr enable_findstr
20050 wine_fn_config_makefile programs/fsutil enable_fsutil
20051 wine_fn_config_makefile programs/hh enable_hh
20052 wine_fn_config_makefile programs/hostname enable_hostname
20053 wine_fn_config_makefile programs/icacls enable_icacls
20054 wine_fn_config_makefile programs/icinfo enable_icinfo
20055 wine_fn_config_makefile programs/iexplore enable_iexplore
20056 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20057 wine_fn_config_makefile programs/lodctr enable_lodctr
20058 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20059 wine_fn_config_makefile programs/mshta enable_mshta
20060 wine_fn_config_makefile programs/msiexec enable_msiexec
20061 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20062 wine_fn_config_makefile programs/net enable_net
20063 wine_fn_config_makefile programs/netsh enable_netsh
20064 wine_fn_config_makefile programs/netstat enable_netstat
20065 wine_fn_config_makefile programs/ngen enable_ngen
20066 wine_fn_config_makefile programs/notepad enable_notepad
20067 wine_fn_config_makefile programs/oleview enable_oleview
20068 wine_fn_config_makefile programs/ping enable_ping
20069 wine_fn_config_makefile programs/plugplay enable_plugplay
20070 wine_fn_config_makefile programs/powershell enable_powershell
20071 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20072 wine_fn_config_makefile programs/progman enable_progman
20073 wine_fn_config_makefile programs/reg enable_reg
20074 wine_fn_config_makefile programs/reg/tests enable_tests
20075 wine_fn_config_makefile programs/regasm enable_regasm
20076 wine_fn_config_makefile programs/regedit enable_regedit
20077 wine_fn_config_makefile programs/regedit/tests enable_tests
20078 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20079 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20080 wine_fn_config_makefile programs/rpcss enable_rpcss
20081 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20082 wine_fn_config_makefile programs/rundll32 enable_rundll32
20083 wine_fn_config_makefile programs/sc enable_sc
20084 wine_fn_config_makefile programs/schtasks enable_schtasks
20085 wine_fn_config_makefile programs/schtasks/tests enable_tests
20086 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20087 wine_fn_config_makefile programs/secedit enable_secedit
20088 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20089 wine_fn_config_makefile programs/services enable_services
20090 wine_fn_config_makefile programs/services/tests enable_tests
20091 wine_fn_config_makefile programs/shutdown enable_shutdown
20092 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20093 wine_fn_config_makefile programs/start enable_start
20094 wine_fn_config_makefile programs/subst enable_subst
20095 wine_fn_config_makefile programs/svchost enable_svchost
20096 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20097 wine_fn_config_makefile programs/taskkill enable_taskkill
20098 wine_fn_config_makefile programs/tasklist enable_tasklist
20099 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20100 wine_fn_config_makefile programs/termsv enable_termsv
20101 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20102 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20103 wine_fn_config_makefile programs/view enable_view
20104 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20105 wine_fn_config_makefile programs/wineboot enable_wineboot
20106 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20107 wine_fn_config_makefile programs/winecfg enable_winecfg
20108 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20109 wine_fn_config_makefile programs/winedbg enable_winedbg
20110 wine_fn_config_makefile programs/winedevice enable_winedevice
20111 wine_fn_config_makefile programs/winefile enable_winefile
20112 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20113 wine_fn_config_makefile programs/winemine enable_winemine
20114 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20115 wine_fn_config_makefile programs/winepath enable_winepath
20116 wine_fn_config_makefile programs/winetest enable_winetest
20117 wine_fn_config_makefile programs/winevdm enable_win16
20118 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20119 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20120 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20121 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20122 wine_fn_config_makefile programs/winver enable_winver
20123 wine_fn_config_makefile programs/wmic enable_wmic
20124 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20125 wine_fn_config_makefile programs/wordpad enable_wordpad
20126 wine_fn_config_makefile programs/write enable_write
20127 wine_fn_config_makefile programs/wscript enable_wscript
20128 wine_fn_config_makefile programs/wscript/tests enable_tests
20129 wine_fn_config_makefile programs/wusa enable_wusa
20130 wine_fn_config_makefile programs/xcopy enable_xcopy
20131 wine_fn_config_makefile programs/xcopy/tests enable_tests
20132 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
20133 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20134 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20135 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20136 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20137 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20138 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20139 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20140 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20141 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20144 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20145 wine_fn_append_file CONFIGURE_TARGETS "tags"
20146 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20147 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20148 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20149 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20150 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20151 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20153 if test "x$enable_tools" != xno
20154 then
20155 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20156 ac_config_commands="$ac_config_commands tools/makedep"
20160 ac_config_commands="$ac_config_commands Makefile"
20163 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20167 if test "x$enable_maintainer_mode" = xyes
20168 then
20169 wine_fn_append_rule "configure: configure.ac aclocal.m4
20170 autoconf --warnings=all
20171 include/config.h.in: include/stamp-h.in
20172 include/stamp-h.in: configure.ac aclocal.m4
20173 autoheader --warnings=all
20174 @echo timestamp > \$@"
20177 if test "x$enable_tools" != xno
20178 then
20179 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20180 @./config.status tools/makedep
20181 Makefile: tools/makedep$ac_exeext
20182 fonts: tools/sfnt2fon
20183 include: tools tools/widl"
20184 else
20185 wine_fn_append_rule "\$(MAKEDEP):
20186 @echo \"You need to run make in $TOOLSDIR first\" && false"
20189 if test -n "$with_wine64"
20190 then
20191 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20192 fonts server:
20193 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
20194 $with_wine64/loader/wine:
20195 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20196 $with_wine64/loader/wine-preloader:
20197 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20198 clean::
20199 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20200 else
20201 WINELOADER_INSTALL="wine.inf l_intl.nls"
20203 case $host_os in
20204 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20205 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
20206 esac
20209 $as_echo " done" >&6
20210 cat >confcache <<\_ACEOF
20211 # This file is a shell script that caches the results of configure
20212 # tests run on this system so they can be shared between configure
20213 # scripts and configure runs, see configure's option --config-cache.
20214 # It is not useful on other systems. If it contains results you don't
20215 # want to keep, you may remove or edit it.
20217 # config.status only pays attention to the cache file if you give it
20218 # the --recheck option to rerun configure.
20220 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20221 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20222 # following values.
20224 _ACEOF
20226 # The following way of writing the cache mishandles newlines in values,
20227 # but we know of no workaround that is simple, portable, and efficient.
20228 # So, we kill variables containing newlines.
20229 # Ultrix sh set writes to stderr and can't be redirected directly,
20230 # and sets the high bit in the cache file unless we assign to the vars.
20232 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20233 eval ac_val=\$$ac_var
20234 case $ac_val in #(
20235 *${as_nl}*)
20236 case $ac_var in #(
20237 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20238 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20239 esac
20240 case $ac_var in #(
20241 _ | IFS | as_nl) ;; #(
20242 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20243 *) { eval $ac_var=; unset $ac_var;} ;;
20244 esac ;;
20245 esac
20246 done
20248 (set) 2>&1 |
20249 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20250 *${as_nl}ac_space=\ *)
20251 # `set' does not quote correctly, so add quotes: double-quote
20252 # substitution turns \\\\ into \\, and sed turns \\ into \.
20253 sed -n \
20254 "s/'/'\\\\''/g;
20255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20256 ;; #(
20258 # `set' quotes correctly as required by POSIX, so do not add quotes.
20259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20261 esac |
20262 sort
20264 sed '
20265 /^ac_cv_env_/b end
20266 t clear
20267 :clear
20268 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20269 t end
20270 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20271 :end' >>confcache
20272 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20273 if test -w "$cache_file"; then
20274 if test "x$cache_file" != "x/dev/null"; then
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20276 $as_echo "$as_me: updating cache $cache_file" >&6;}
20277 if test ! -f "$cache_file" || test -h "$cache_file"; then
20278 cat confcache >"$cache_file"
20279 else
20280 case $cache_file in #(
20281 */* | ?:*)
20282 mv -f confcache "$cache_file"$$ &&
20283 mv -f "$cache_file"$$ "$cache_file" ;; #(
20285 mv -f confcache "$cache_file" ;;
20286 esac
20289 else
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20291 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20294 rm -f confcache
20296 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20297 # Let make expand exec_prefix.
20298 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20300 DEFS=-DHAVE_CONFIG_H
20302 ac_libobjs=
20303 ac_ltlibobjs=
20305 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20306 # 1. Remove the extension, and $U if already installed.
20307 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20308 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20309 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20310 # will be set to the directory where LIBOBJS objects are built.
20311 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20312 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20313 done
20314 LIBOBJS=$ac_libobjs
20316 LTLIBOBJS=$ac_ltlibobjs
20320 : "${CONFIG_STATUS=./config.status}"
20321 ac_write_fail=0
20322 ac_clean_files_save=$ac_clean_files
20323 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20325 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20326 as_write_fail=0
20327 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20328 #! $SHELL
20329 # Generated by $as_me.
20330 # Run this file to recreate the current configuration.
20331 # Compiler output produced by configure, useful for debugging
20332 # configure, is in config.log if it exists.
20334 debug=false
20335 ac_cs_recheck=false
20336 ac_cs_silent=false
20338 SHELL=\${CONFIG_SHELL-$SHELL}
20339 export SHELL
20340 _ASEOF
20341 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20342 ## -------------------- ##
20343 ## M4sh Initialization. ##
20344 ## -------------------- ##
20346 # Be more Bourne compatible
20347 DUALCASE=1; export DUALCASE # for MKS sh
20348 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20349 emulate sh
20350 NULLCMD=:
20351 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20352 # is contrary to our usage. Disable this feature.
20353 alias -g '${1+"$@"}'='"$@"'
20354 setopt NO_GLOB_SUBST
20355 else
20356 case `(set -o) 2>/dev/null` in #(
20357 *posix*) :
20358 set -o posix ;; #(
20359 *) :
20361 esac
20365 as_nl='
20367 export as_nl
20368 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20369 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20370 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20371 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20372 # Prefer a ksh shell builtin over an external printf program on Solaris,
20373 # but without wasting forks for bash or zsh.
20374 if test -z "$BASH_VERSION$ZSH_VERSION" \
20375 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20376 as_echo='print -r --'
20377 as_echo_n='print -rn --'
20378 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20379 as_echo='printf %s\n'
20380 as_echo_n='printf %s'
20381 else
20382 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20383 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20384 as_echo_n='/usr/ucb/echo -n'
20385 else
20386 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20387 as_echo_n_body='eval
20388 arg=$1;
20389 case $arg in #(
20390 *"$as_nl"*)
20391 expr "X$arg" : "X\\(.*\\)$as_nl";
20392 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20393 esac;
20394 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20396 export as_echo_n_body
20397 as_echo_n='sh -c $as_echo_n_body as_echo'
20399 export as_echo_body
20400 as_echo='sh -c $as_echo_body as_echo'
20403 # The user is always right.
20404 if test "${PATH_SEPARATOR+set}" != set; then
20405 PATH_SEPARATOR=:
20406 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20407 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20408 PATH_SEPARATOR=';'
20413 # IFS
20414 # We need space, tab and new line, in precisely that order. Quoting is
20415 # there to prevent editors from complaining about space-tab.
20416 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20417 # splitting by setting IFS to empty value.)
20418 IFS=" "" $as_nl"
20420 # Find who we are. Look in the path if we contain no directory separator.
20421 as_myself=
20422 case $0 in #((
20423 *[\\/]* ) as_myself=$0 ;;
20424 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20425 for as_dir in $PATH
20427 IFS=$as_save_IFS
20428 test -z "$as_dir" && as_dir=.
20429 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20430 done
20431 IFS=$as_save_IFS
20434 esac
20435 # We did not find ourselves, most probably we were run as `sh COMMAND'
20436 # in which case we are not to be found in the path.
20437 if test "x$as_myself" = x; then
20438 as_myself=$0
20440 if test ! -f "$as_myself"; then
20441 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20442 exit 1
20445 # Unset variables that we do not need and which cause bugs (e.g. in
20446 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20447 # suppresses any "Segmentation fault" message there. '((' could
20448 # trigger a bug in pdksh 5.2.14.
20449 for as_var in BASH_ENV ENV MAIL MAILPATH
20450 do eval test x\${$as_var+set} = xset \
20451 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20452 done
20453 PS1='$ '
20454 PS2='> '
20455 PS4='+ '
20457 # NLS nuisances.
20458 LC_ALL=C
20459 export LC_ALL
20460 LANGUAGE=C
20461 export LANGUAGE
20463 # CDPATH.
20464 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20467 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20468 # ----------------------------------------
20469 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20470 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20471 # script with STATUS, using 1 if that was 0.
20472 as_fn_error ()
20474 as_status=$1; test $as_status -eq 0 && as_status=1
20475 if test "$4"; then
20476 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20477 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20479 $as_echo "$as_me: error: $2" >&2
20480 as_fn_exit $as_status
20481 } # as_fn_error
20484 # as_fn_set_status STATUS
20485 # -----------------------
20486 # Set $? to STATUS, without forking.
20487 as_fn_set_status ()
20489 return $1
20490 } # as_fn_set_status
20492 # as_fn_exit STATUS
20493 # -----------------
20494 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20495 as_fn_exit ()
20497 set +e
20498 as_fn_set_status $1
20499 exit $1
20500 } # as_fn_exit
20502 # as_fn_unset VAR
20503 # ---------------
20504 # Portably unset VAR.
20505 as_fn_unset ()
20507 { eval $1=; unset $1;}
20509 as_unset=as_fn_unset
20510 # as_fn_append VAR VALUE
20511 # ----------------------
20512 # Append the text in VALUE to the end of the definition contained in VAR. Take
20513 # advantage of any shell optimizations that allow amortized linear growth over
20514 # repeated appends, instead of the typical quadratic growth present in naive
20515 # implementations.
20516 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20517 eval 'as_fn_append ()
20519 eval $1+=\$2
20521 else
20522 as_fn_append ()
20524 eval $1=\$$1\$2
20526 fi # as_fn_append
20528 # as_fn_arith ARG...
20529 # ------------------
20530 # Perform arithmetic evaluation on the ARGs, and store the result in the
20531 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20532 # must be portable across $(()) and expr.
20533 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20534 eval 'as_fn_arith ()
20536 as_val=$(( $* ))
20538 else
20539 as_fn_arith ()
20541 as_val=`expr "$@" || test $? -eq 1`
20543 fi # as_fn_arith
20546 if expr a : '\(a\)' >/dev/null 2>&1 &&
20547 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20548 as_expr=expr
20549 else
20550 as_expr=false
20553 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20554 as_basename=basename
20555 else
20556 as_basename=false
20559 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20560 as_dirname=dirname
20561 else
20562 as_dirname=false
20565 as_me=`$as_basename -- "$0" ||
20566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20567 X"$0" : 'X\(//\)$' \| \
20568 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20569 $as_echo X/"$0" |
20570 sed '/^.*\/\([^/][^/]*\)\/*$/{
20571 s//\1/
20574 /^X\/\(\/\/\)$/{
20575 s//\1/
20578 /^X\/\(\/\).*/{
20579 s//\1/
20582 s/.*/./; q'`
20584 # Avoid depending upon Character Ranges.
20585 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20586 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20587 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20588 as_cr_digits='0123456789'
20589 as_cr_alnum=$as_cr_Letters$as_cr_digits
20591 ECHO_C= ECHO_N= ECHO_T=
20592 case `echo -n x` in #(((((
20593 -n*)
20594 case `echo 'xy\c'` in
20595 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20596 xy) ECHO_C='\c';;
20597 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20598 ECHO_T=' ';;
20599 esac;;
20601 ECHO_N='-n';;
20602 esac
20604 rm -f conf$$ conf$$.exe conf$$.file
20605 if test -d conf$$.dir; then
20606 rm -f conf$$.dir/conf$$.file
20607 else
20608 rm -f conf$$.dir
20609 mkdir conf$$.dir 2>/dev/null
20611 if (echo >conf$$.file) 2>/dev/null; then
20612 if ln -s conf$$.file conf$$ 2>/dev/null; then
20613 as_ln_s='ln -s'
20614 # ... but there are two gotchas:
20615 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20616 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20617 # In both cases, we have to default to `cp -pR'.
20618 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20619 as_ln_s='cp -pR'
20620 elif ln conf$$.file conf$$ 2>/dev/null; then
20621 as_ln_s=ln
20622 else
20623 as_ln_s='cp -pR'
20625 else
20626 as_ln_s='cp -pR'
20628 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20629 rmdir conf$$.dir 2>/dev/null
20632 # as_fn_mkdir_p
20633 # -------------
20634 # Create "$as_dir" as a directory, including parents if necessary.
20635 as_fn_mkdir_p ()
20638 case $as_dir in #(
20639 -*) as_dir=./$as_dir;;
20640 esac
20641 test -d "$as_dir" || eval $as_mkdir_p || {
20642 as_dirs=
20643 while :; do
20644 case $as_dir in #(
20645 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20646 *) as_qdir=$as_dir;;
20647 esac
20648 as_dirs="'$as_qdir' $as_dirs"
20649 as_dir=`$as_dirname -- "$as_dir" ||
20650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20651 X"$as_dir" : 'X\(//\)[^/]' \| \
20652 X"$as_dir" : 'X\(//\)$' \| \
20653 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20654 $as_echo X"$as_dir" |
20655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20656 s//\1/
20659 /^X\(\/\/\)[^/].*/{
20660 s//\1/
20663 /^X\(\/\/\)$/{
20664 s//\1/
20667 /^X\(\/\).*/{
20668 s//\1/
20671 s/.*/./; q'`
20672 test -d "$as_dir" && break
20673 done
20674 test -z "$as_dirs" || eval "mkdir $as_dirs"
20675 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20678 } # as_fn_mkdir_p
20679 if mkdir -p . 2>/dev/null; then
20680 as_mkdir_p='mkdir -p "$as_dir"'
20681 else
20682 test -d ./-p && rmdir ./-p
20683 as_mkdir_p=false
20687 # as_fn_executable_p FILE
20688 # -----------------------
20689 # Test if FILE is an executable regular file.
20690 as_fn_executable_p ()
20692 test -f "$1" && test -x "$1"
20693 } # as_fn_executable_p
20694 as_test_x='test -x'
20695 as_executable_p=as_fn_executable_p
20697 # Sed expression to map a string onto a valid CPP name.
20698 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20700 # Sed expression to map a string onto a valid variable name.
20701 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20704 exec 6>&1
20705 ## ----------------------------------- ##
20706 ## Main body of $CONFIG_STATUS script. ##
20707 ## ----------------------------------- ##
20708 _ASEOF
20709 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20712 # Save the log message, to keep $0 and so on meaningful, and to
20713 # report actual input values of CONFIG_FILES etc. instead of their
20714 # values after options handling.
20715 ac_log="
20716 This file was extended by Wine $as_me 3.20, which was
20717 generated by GNU Autoconf 2.69. Invocation command line was
20719 CONFIG_FILES = $CONFIG_FILES
20720 CONFIG_HEADERS = $CONFIG_HEADERS
20721 CONFIG_LINKS = $CONFIG_LINKS
20722 CONFIG_COMMANDS = $CONFIG_COMMANDS
20723 $ $0 $@
20725 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20728 _ACEOF
20730 case $ac_config_files in *"
20731 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20732 esac
20734 case $ac_config_headers in *"
20735 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20736 esac
20739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20740 # Files that config.status was made for.
20741 config_files="$ac_config_files"
20742 config_headers="$ac_config_headers"
20743 config_links="$ac_config_links"
20744 config_commands="$ac_config_commands"
20746 _ACEOF
20748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20749 ac_cs_usage="\
20750 \`$as_me' instantiates files and other configuration actions
20751 from templates according to the current configuration. Unless the files
20752 and actions are specified as TAGs, all are instantiated by default.
20754 Usage: $0 [OPTION]... [TAG]...
20756 -h, --help print this help, then exit
20757 -V, --version print version number and configuration settings, then exit
20758 --config print configuration, then exit
20759 -q, --quiet, --silent
20760 do not print progress messages
20761 -d, --debug don't remove temporary files
20762 --recheck update $as_me by reconfiguring in the same conditions
20763 --file=FILE[:TEMPLATE]
20764 instantiate the configuration file FILE
20765 --header=FILE[:TEMPLATE]
20766 instantiate the configuration header FILE
20768 Configuration files:
20769 $config_files
20771 Configuration headers:
20772 $config_headers
20774 Configuration links:
20775 $config_links
20777 Configuration commands:
20778 $config_commands
20780 Report bugs to <wine-devel@winehq.org>.
20781 Wine home page: <https://www.winehq.org>."
20783 _ACEOF
20784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20785 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20786 ac_cs_version="\\
20787 Wine config.status 3.20
20788 configured by $0, generated by GNU Autoconf 2.69,
20789 with options \\"\$ac_cs_config\\"
20791 Copyright (C) 2012 Free Software Foundation, Inc.
20792 This config.status script is free software; the Free Software Foundation
20793 gives unlimited permission to copy, distribute and modify it."
20795 ac_pwd='$ac_pwd'
20796 srcdir='$srcdir'
20797 test -n "\$AWK" || AWK=awk
20798 _ACEOF
20800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20801 # The default lists apply if the user does not specify any file.
20802 ac_need_defaults=:
20803 while test $# != 0
20805 case $1 in
20806 --*=?*)
20807 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20808 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20809 ac_shift=:
20811 --*=)
20812 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20813 ac_optarg=
20814 ac_shift=:
20817 ac_option=$1
20818 ac_optarg=$2
20819 ac_shift=shift
20821 esac
20823 case $ac_option in
20824 # Handling of the options.
20825 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20826 ac_cs_recheck=: ;;
20827 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20828 $as_echo "$ac_cs_version"; exit ;;
20829 --config | --confi | --conf | --con | --co | --c )
20830 $as_echo "$ac_cs_config"; exit ;;
20831 --debug | --debu | --deb | --de | --d | -d )
20832 debug=: ;;
20833 --file | --fil | --fi | --f )
20834 $ac_shift
20835 case $ac_optarg in
20836 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20837 '') as_fn_error $? "missing file argument" ;;
20838 esac
20839 as_fn_append CONFIG_FILES " '$ac_optarg'"
20840 ac_need_defaults=false;;
20841 --header | --heade | --head | --hea )
20842 $ac_shift
20843 case $ac_optarg in
20844 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20845 esac
20846 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20847 ac_need_defaults=false;;
20848 --he | --h)
20849 # Conflict between --help and --header
20850 as_fn_error $? "ambiguous option: \`$1'
20851 Try \`$0 --help' for more information.";;
20852 --help | --hel | -h )
20853 $as_echo "$ac_cs_usage"; exit ;;
20854 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20855 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20856 ac_cs_silent=: ;;
20858 # This is an error.
20859 -*) as_fn_error $? "unrecognized option: \`$1'
20860 Try \`$0 --help' for more information." ;;
20862 *) as_fn_append ac_config_targets " $1"
20863 ac_need_defaults=false ;;
20865 esac
20866 shift
20867 done
20869 ac_configure_extra_args=
20871 if $ac_cs_silent; then
20872 exec 6>/dev/null
20873 ac_configure_extra_args="$ac_configure_extra_args --silent"
20876 _ACEOF
20877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20878 if \$ac_cs_recheck; then
20879 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20880 shift
20881 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20882 CONFIG_SHELL='$SHELL'
20883 export CONFIG_SHELL
20884 exec "\$@"
20887 _ACEOF
20888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20889 exec 5>>config.log
20891 echo
20892 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20893 ## Running $as_me. ##
20894 _ASBOX
20895 $as_echo "$ac_log"
20896 } >&5
20898 _ACEOF
20899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20901 # INIT-COMMANDS
20903 wine_fn_output_makedep ()
20905 as_dir=tools; as_fn_mkdir_p
20906 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20908 wine_fn_output_makefile ()
20910 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20911 `cat $wine_rules_file`
20912 _WINE_EOF
20913 as_fn_error $? "could not create Makefile" "$LINENO" 5
20916 _ACEOF
20918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20920 # Handling of arguments.
20921 for ac_config_target in $ac_config_targets
20923 case $ac_config_target in
20924 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20925 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20926 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20927 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20928 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20929 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20930 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20931 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20932 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20933 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20934 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20935 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20936 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20938 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20939 esac
20940 done
20943 # If the user did not use the arguments to specify the items to instantiate,
20944 # then the envvar interface is used. Set only those that are not.
20945 # We use the long form for the default assignment because of an extremely
20946 # bizarre bug on SunOS 4.1.3.
20947 if $ac_need_defaults; then
20948 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20949 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20950 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20951 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20954 # Have a temporary directory for convenience. Make it in the build tree
20955 # simply because there is no reason against having it here, and in addition,
20956 # creating and moving files from /tmp can sometimes cause problems.
20957 # Hook for its removal unless debugging.
20958 # Note that there is a small window in which the directory will not be cleaned:
20959 # after its creation but before its name has been assigned to `$tmp'.
20960 $debug ||
20962 tmp= ac_tmp=
20963 trap 'exit_status=$?
20964 : "${ac_tmp:=$tmp}"
20965 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20967 trap 'as_fn_exit 1' 1 2 13 15
20969 # Create a (secure) tmp directory for tmp files.
20972 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20973 test -d "$tmp"
20974 } ||
20976 tmp=./conf$$-$RANDOM
20977 (umask 077 && mkdir "$tmp")
20978 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20979 ac_tmp=$tmp
20981 # Set up the scripts for CONFIG_FILES section.
20982 # No need to generate them if there are no CONFIG_FILES.
20983 # This happens for instance with `./config.status config.h'.
20984 if test -n "$CONFIG_FILES"; then
20987 ac_cr=`echo X | tr X '\015'`
20988 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20989 # But we know of no other shell where ac_cr would be empty at this
20990 # point, so we can use a bashism as a fallback.
20991 if test "x$ac_cr" = x; then
20992 eval ac_cr=\$\'\\r\'
20994 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20995 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20996 ac_cs_awk_cr='\\r'
20997 else
20998 ac_cs_awk_cr=$ac_cr
21001 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21002 _ACEOF
21006 echo "cat >conf$$subs.awk <<_ACEOF" &&
21007 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21008 echo "_ACEOF"
21009 } >conf$$subs.sh ||
21010 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21011 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21012 ac_delim='%!_!# '
21013 for ac_last_try in false false false false false :; do
21014 . ./conf$$subs.sh ||
21015 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21017 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21018 if test $ac_delim_n = $ac_delim_num; then
21019 break
21020 elif $ac_last_try; then
21021 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21022 else
21023 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21025 done
21026 rm -f conf$$subs.sh
21028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21029 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21030 _ACEOF
21031 sed -n '
21033 s/^/S["/; s/!.*/"]=/
21036 s/^[^!]*!//
21037 :repl
21038 t repl
21039 s/'"$ac_delim"'$//
21040 t delim
21043 s/\(.\{148\}\)..*/\1/
21044 t more1
21045 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21048 b repl
21049 :more1
21050 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21053 s/.\{148\}//
21054 t nl
21055 :delim
21057 s/\(.\{148\}\)..*/\1/
21058 t more2
21059 s/["\\]/\\&/g; s/^/"/; s/$/"/
21062 :more2
21063 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21066 s/.\{148\}//
21067 t delim
21068 ' <conf$$subs.awk | sed '
21069 /^[^""]/{
21071 s/\n//
21073 ' >>$CONFIG_STATUS || ac_write_fail=1
21074 rm -f conf$$subs.awk
21075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21076 _ACAWK
21077 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21078 for (key in S) S_is_set[key] = 1
21079 FS = "\a"
21083 line = $ 0
21084 nfields = split(line, field, "@")
21085 substed = 0
21086 len = length(field[1])
21087 for (i = 2; i < nfields; i++) {
21088 key = field[i]
21089 keylen = length(key)
21090 if (S_is_set[key]) {
21091 value = S[key]
21092 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21093 len += length(value) + length(field[++i])
21094 substed = 1
21095 } else
21096 len += 1 + keylen
21099 print line
21102 _ACAWK
21103 _ACEOF
21104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21105 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21106 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21107 else
21109 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21110 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21111 _ACEOF
21113 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21114 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21115 # trailing colons and then remove the whole line if VPATH becomes empty
21116 # (actually we leave an empty line to preserve line numbers).
21117 if test "x$srcdir" = x.; then
21118 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21120 s///
21121 s/^/:/
21122 s/[ ]*$/:/
21123 s/:\$(srcdir):/:/g
21124 s/:\${srcdir}:/:/g
21125 s/:@srcdir@:/:/g
21126 s/^:*//
21127 s/:*$//
21129 s/\(=[ ]*\).*/\1/
21131 s/\n//
21132 s/^[^=]*=[ ]*$//
21136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21137 fi # test -n "$CONFIG_FILES"
21139 # Set up the scripts for CONFIG_HEADERS section.
21140 # No need to generate them if there are no CONFIG_HEADERS.
21141 # This happens for instance with `./config.status Makefile'.
21142 if test -n "$CONFIG_HEADERS"; then
21143 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21144 BEGIN {
21145 _ACEOF
21147 # Transform confdefs.h into an awk script `defines.awk', embedded as
21148 # here-document in config.status, that substitutes the proper values into
21149 # config.h.in to produce config.h.
21151 # Create a delimiter string that does not exist in confdefs.h, to ease
21152 # handling of long lines.
21153 ac_delim='%!_!# '
21154 for ac_last_try in false false :; do
21155 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21156 if test -z "$ac_tt"; then
21157 break
21158 elif $ac_last_try; then
21159 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21160 else
21161 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21163 done
21165 # For the awk script, D is an array of macro values keyed by name,
21166 # likewise P contains macro parameters if any. Preserve backslash
21167 # newline sequences.
21169 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21170 sed -n '
21171 s/.\{148\}/&'"$ac_delim"'/g
21172 t rset
21173 :rset
21174 s/^[ ]*#[ ]*define[ ][ ]*/ /
21175 t def
21177 :def
21178 s/\\$//
21179 t bsnl
21180 s/["\\]/\\&/g
21181 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21182 D["\1"]=" \3"/p
21183 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21185 :bsnl
21186 s/["\\]/\\&/g
21187 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21188 D["\1"]=" \3\\\\\\n"\\/p
21189 t cont
21190 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21191 t cont
21193 :cont
21195 s/.\{148\}/&'"$ac_delim"'/g
21196 t clear
21197 :clear
21198 s/\\$//
21199 t bsnlc
21200 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21202 :bsnlc
21203 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21204 b cont
21205 ' <confdefs.h | sed '
21206 s/'"$ac_delim"'/"\\\
21207 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21210 for (key in D) D_is_set[key] = 1
21211 FS = "\a"
21213 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21214 line = \$ 0
21215 split(line, arg, " ")
21216 if (arg[1] == "#") {
21217 defundef = arg[2]
21218 mac1 = arg[3]
21219 } else {
21220 defundef = substr(arg[1], 2)
21221 mac1 = arg[2]
21223 split(mac1, mac2, "(") #)
21224 macro = mac2[1]
21225 prefix = substr(line, 1, index(line, defundef) - 1)
21226 if (D_is_set[macro]) {
21227 # Preserve the white space surrounding the "#".
21228 print prefix "define", macro P[macro] D[macro]
21229 next
21230 } else {
21231 # Replace #undef with comments. This is necessary, for example,
21232 # in the case of _POSIX_SOURCE, which is predefined and required
21233 # on some systems where configure will not decide to define it.
21234 if (defundef == "undef") {
21235 print "/*", prefix defundef, macro, "*/"
21236 next
21240 { print }
21241 _ACAWK
21242 _ACEOF
21243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21244 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21245 fi # test -n "$CONFIG_HEADERS"
21248 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21249 shift
21250 for ac_tag
21252 case $ac_tag in
21253 :[FHLC]) ac_mode=$ac_tag; continue;;
21254 esac
21255 case $ac_mode$ac_tag in
21256 :[FHL]*:*);;
21257 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21258 :[FH]-) ac_tag=-:-;;
21259 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21260 esac
21261 ac_save_IFS=$IFS
21262 IFS=:
21263 set x $ac_tag
21264 IFS=$ac_save_IFS
21265 shift
21266 ac_file=$1
21267 shift
21269 case $ac_mode in
21270 :L) ac_source=$1;;
21271 :[FH])
21272 ac_file_inputs=
21273 for ac_f
21275 case $ac_f in
21276 -) ac_f="$ac_tmp/stdin";;
21277 *) # Look for the file first in the build tree, then in the source tree
21278 # (if the path is not absolute). The absolute path cannot be DOS-style,
21279 # because $ac_f cannot contain `:'.
21280 test -f "$ac_f" ||
21281 case $ac_f in
21282 [\\/$]*) false;;
21283 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21284 esac ||
21285 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21286 esac
21287 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21288 as_fn_append ac_file_inputs " '$ac_f'"
21289 done
21291 # Let's still pretend it is `configure' which instantiates (i.e., don't
21292 # use $as_me), people would be surprised to read:
21293 # /* config.h. Generated by config.status. */
21294 configure_input='Generated from '`
21295 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21296 `' by configure.'
21297 if test x"$ac_file" != x-; then
21298 configure_input="$ac_file. $configure_input"
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21300 $as_echo "$as_me: creating $ac_file" >&6;}
21302 # Neutralize special characters interpreted by sed in replacement strings.
21303 case $configure_input in #(
21304 *\&* | *\|* | *\\* )
21305 ac_sed_conf_input=`$as_echo "$configure_input" |
21306 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21307 *) ac_sed_conf_input=$configure_input;;
21308 esac
21310 case $ac_tag in
21311 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21312 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21313 esac
21315 esac
21317 ac_dir=`$as_dirname -- "$ac_file" ||
21318 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21319 X"$ac_file" : 'X\(//\)[^/]' \| \
21320 X"$ac_file" : 'X\(//\)$' \| \
21321 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21322 $as_echo X"$ac_file" |
21323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21324 s//\1/
21327 /^X\(\/\/\)[^/].*/{
21328 s//\1/
21331 /^X\(\/\/\)$/{
21332 s//\1/
21335 /^X\(\/\).*/{
21336 s//\1/
21339 s/.*/./; q'`
21340 as_dir="$ac_dir"; as_fn_mkdir_p
21341 ac_builddir=.
21343 case "$ac_dir" in
21344 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21346 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21347 # A ".." for each directory in $ac_dir_suffix.
21348 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21349 case $ac_top_builddir_sub in
21350 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21351 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21352 esac ;;
21353 esac
21354 ac_abs_top_builddir=$ac_pwd
21355 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21356 # for backward compatibility:
21357 ac_top_builddir=$ac_top_build_prefix
21359 case $srcdir in
21360 .) # We are building in place.
21361 ac_srcdir=.
21362 ac_top_srcdir=$ac_top_builddir_sub
21363 ac_abs_top_srcdir=$ac_pwd ;;
21364 [\\/]* | ?:[\\/]* ) # Absolute name.
21365 ac_srcdir=$srcdir$ac_dir_suffix;
21366 ac_top_srcdir=$srcdir
21367 ac_abs_top_srcdir=$srcdir ;;
21368 *) # Relative name.
21369 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21370 ac_top_srcdir=$ac_top_build_prefix$srcdir
21371 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21372 esac
21373 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21376 case $ac_mode in
21379 # CONFIG_FILE
21382 _ACEOF
21384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21385 # If the template does not know about datarootdir, expand it.
21386 # FIXME: This hack should be removed a few years after 2.60.
21387 ac_datarootdir_hack=; ac_datarootdir_seen=
21388 ac_sed_dataroot='
21389 /datarootdir/ {
21393 /@datadir@/p
21394 /@docdir@/p
21395 /@infodir@/p
21396 /@localedir@/p
21397 /@mandir@/p'
21398 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21399 *datarootdir*) ac_datarootdir_seen=yes;;
21400 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21402 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21403 _ACEOF
21404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21405 ac_datarootdir_hack='
21406 s&@datadir@&$datadir&g
21407 s&@docdir@&$docdir&g
21408 s&@infodir@&$infodir&g
21409 s&@localedir@&$localedir&g
21410 s&@mandir@&$mandir&g
21411 s&\\\${datarootdir}&$datarootdir&g' ;;
21412 esac
21413 _ACEOF
21415 # Neutralize VPATH when `$srcdir' = `.'.
21416 # Shell code in configure.ac might set extrasub.
21417 # FIXME: do we really want to maintain this feature?
21418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21419 ac_sed_extra="$ac_vpsub
21420 $extrasub
21421 _ACEOF
21422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21424 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21425 s|@configure_input@|$ac_sed_conf_input|;t t
21426 s&@top_builddir@&$ac_top_builddir_sub&;t t
21427 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21428 s&@srcdir@&$ac_srcdir&;t t
21429 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21430 s&@top_srcdir@&$ac_top_srcdir&;t t
21431 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21432 s&@builddir@&$ac_builddir&;t t
21433 s&@abs_builddir@&$ac_abs_builddir&;t t
21434 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21435 $ac_datarootdir_hack
21437 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21438 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21440 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21441 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21442 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21443 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21445 which seems to be undefined. Please make sure it is defined" >&5
21446 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21447 which seems to be undefined. Please make sure it is defined" >&2;}
21449 rm -f "$ac_tmp/stdin"
21450 case $ac_file in
21451 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21452 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21453 esac \
21454 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21458 # CONFIG_HEADER
21460 if test x"$ac_file" != x-; then
21462 $as_echo "/* $configure_input */" \
21463 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21464 } >"$ac_tmp/config.h" \
21465 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21466 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21468 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21469 else
21470 rm -f "$ac_file"
21471 mv "$ac_tmp/config.h" "$ac_file" \
21472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21474 else
21475 $as_echo "/* $configure_input */" \
21476 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21477 || as_fn_error $? "could not create -" "$LINENO" 5
21482 # CONFIG_LINK
21485 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21487 else
21488 # Prefer the file from the source tree if names are identical.
21489 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21490 ac_source=$srcdir/$ac_source
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21494 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21496 if test ! -r "$ac_source"; then
21497 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21499 rm -f "$ac_file"
21501 # Try a relative symlink, then a hard link, then a copy.
21502 case $ac_source in
21503 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21504 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21505 esac
21506 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21507 ln "$ac_source" "$ac_file" 2>/dev/null ||
21508 cp -p "$ac_source" "$ac_file" ||
21509 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21512 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21513 $as_echo "$as_me: executing $ac_file commands" >&6;}
21515 esac
21518 case $ac_file$ac_mode in
21519 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21520 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21521 "Makefile":C) wine_fn_output_makefile Makefile ;;
21523 esac
21524 done # for ac_tag
21527 as_fn_exit 0
21528 _ACEOF
21529 ac_clean_files=$ac_clean_files_save
21531 test $ac_write_fail = 0 ||
21532 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21535 # configure is writing to config.log, and then calls config.status.
21536 # config.status does its own redirection, appending to config.log.
21537 # Unfortunately, on DOS this fails, as config.log is still kept open
21538 # by configure, so config.status won't be able to write to it; its
21539 # output is simply discarded. So we exec the FD to /dev/null,
21540 # effectively closing config.log, so it can be properly (re)opened and
21541 # appended to by config.status. When coming back to configure, we
21542 # need to make the FD available again.
21543 if test "$no_create" != yes; then
21544 ac_cs_success=:
21545 ac_config_status_args=
21546 test "$silent" = yes &&
21547 ac_config_status_args="$ac_config_status_args --quiet"
21548 exec 5>/dev/null
21549 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21550 exec 5>>config.log
21551 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21552 # would make configure fail if this is the last instruction.
21553 $ac_cs_success || as_fn_exit 1
21555 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21557 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21561 if test "$no_create" = "yes"
21562 then
21563 exit 0
21566 ac_save_IFS="$IFS"
21567 if test "x$wine_notices" != x; then
21568 echo >&6
21569 IFS="|"
21570 for msg in $wine_notices; do
21571 IFS="$ac_save_IFS"
21572 if ${msg:+false} :; then :
21574 else
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21576 $as_echo "$as_me: $msg" >&6;}
21578 done
21580 IFS="|"
21581 for msg in $wine_warnings; do
21582 IFS="$ac_save_IFS"
21583 if ${msg:+false} :; then :
21585 else
21586 echo >&2
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21588 $as_echo "$as_me: WARNING: $msg" >&2;}
21590 done
21591 IFS="$ac_save_IFS"
21593 $as_echo "
21594 $as_me: Finished. Do '${ac_make}' to compile Wine.
21595 " >&6