xmllite/writer: Implement WriteDocType().
[wine.git] / configure
blob60ec9898a667e7c5ddcbba08558ee9cecde86345
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.19.
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.19'
584 PACKAGE_STRING='Wine 3.19'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 VKD3D_LIBS
640 VKD3D_CFLAGS
641 NETAPI_LIBS
642 NETAPI_CFLAGS
643 PROCSTAT_LIBS
644 KSTAT_LIBS
645 MPG123_LIBS
646 MPG123_CFLAGS
647 TIFF_LIBS
648 TIFF_CFLAGS
649 PNG_LIBS
650 PNG_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_CFLAGS
668 ALSA_LIBS
669 GSTREAMER_LIBS
670 GSTREAMER_CFLAGS
671 PULSE_LIBS
672 PULSE_CFLAGS
673 GETTEXTPO_LIBS
674 Z_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 SANE_LIBS
685 SANE_CFLAGS
686 GNUTLS_LIBS
687 GNUTLS_CFLAGS
688 HAL_LIBS
689 HAL_CFLAGS
690 DBUS_LIBS
691 DBUS_CFLAGS
692 XSLT_LIBS
693 XSLT_CFLAGS
694 XML2_LIBS
695 XML2_CFLAGS
696 PCAP_LIBS
697 X_EXTRA_LIBS
698 X_LIBS
699 X_PRE_LIBS
700 X_CFLAGS
701 XMKMF
702 PTHREAD_LIBS
703 CROSSCFLAGS
704 CROSSCC
705 CROSSTARGET
706 PRELINK
707 WINELOADER_DEPENDS
708 METAL_LIBS
709 CARBON_LIBS
710 QUICKTIME_LIBS
711 OPENCL_LIBS
712 OPENAL_LIBS
713 COREAUDIO_LIBS
714 SECURITY_LIBS
715 DISKARBITRATION_LIBS
716 APPKIT_LIBS
717 CORESERVICES_LIBS
718 APPLICATIONSERVICES_LIBS
719 FORCEFEEDBACK_LIBS
720 IOKIT_LIBS
721 COREFOUNDATION_LIBS
722 OBJCPP
723 ac_ct_OBJC
724 OBJCFLAGS
725 OBJC
726 LIBWINE_DEPENDS
727 LIBWINE_LDFLAGS
728 LIBWINE_INSTALL_DEV
729 LIBWINE_INSTALL_LIB
730 LIBWINE_IMPORTLIB
731 LIBWINE_SHAREDLIB
732 DLLTOOL
733 WINELOADER_PROGRAMS
734 CONFIGURE_TARGETS
735 DISABLED_SUBDIRS
736 SUBDIRS
737 READELF
738 OTOOL
740 WINELOADER_LDFLAGS
741 LDEXECFLAGS
742 LDRPATH_LOCAL
743 LDRPATH_INSTALL
744 DLLFLAGS
746 OPENGL_LIBS
747 ICOTOOL
748 CONVERT
749 RSVG
750 FONTFORGE
751 PKG_CONFIG
752 MSGFMT
753 LDCONFIG
754 EGREP
755 GREP
756 LN_S
757 RANLIB
758 ARFLAGS
759 STRIP
760 ac_ct_AR
762 BISON
763 FLEX
764 TOOLSDIR
765 wine64_disable
766 WIDLFLAGS
767 TARGETFLAGS
769 CPPBIN
770 ac_ct_CXX
771 CXXFLAGS
773 OBJEXT
774 EXEEXT
775 ac_ct_CC
776 CPPFLAGS
777 LDFLAGS
778 CFLAGS
780 SET_MAKE
781 host_os
782 host_vendor
783 host_cpu
784 host
785 build_os
786 build_vendor
787 build_cpu
788 build
789 target_alias
790 host_alias
791 build_alias
792 LIBS
793 ECHO_T
794 ECHO_N
795 ECHO_C
796 DEFS
797 mandir
798 localedir
799 libdir
800 psdir
801 pdfdir
802 dvidir
803 htmldir
804 infodir
805 docdir
806 oldincludedir
807 includedir
808 runstatedir
809 localstatedir
810 sharedstatedir
811 sysconfdir
812 datadir
813 datarootdir
814 libexecdir
815 sbindir
816 bindir
817 program_transform_name
818 prefix
819 exec_prefix
820 PACKAGE_URL
821 PACKAGE_BUGREPORT
822 PACKAGE_STRING
823 PACKAGE_VERSION
824 PACKAGE_TARNAME
825 PACKAGE_NAME
826 PATH_SEPARATOR
827 SHELL'
828 ac_subst_files=''
829 ac_user_opts='
830 enable_option_checking
831 enable_win16
832 enable_win64
833 enable_tests
834 enable_maintainer_mode
835 with_alsa
836 with_capi
837 with_cms
838 with_coreaudio
839 with_cups
840 with_curses
841 with_dbus
842 with_float_abi
843 with_fontconfig
844 with_freetype
845 with_gettext
846 with_gettextpo
847 with_gphoto
848 with_glu
849 with_gnutls
850 with_gsm
851 with_gssapi
852 with_gstreamer
853 with_hal
854 with_jpeg
855 with_krb5
856 with_ldap
857 with_mpg123
858 with_netapi
859 with_openal
860 with_opencl
861 with_opengl
862 with_osmesa
863 with_oss
864 with_pcap
865 with_png
866 with_pthread
867 with_pulse
868 with_sane
869 with_sdl
870 with_tiff
871 with_udev
872 with_v4l
873 with_vkd3d
874 with_vulkan
875 with_xcomposite
876 with_xcursor
877 with_xfixes
878 with_xinerama
879 with_xinput
880 with_xinput2
881 with_xml
882 with_xrandr
883 with_xrender
884 with_xshape
885 with_xshm
886 with_xslt
887 with_xxf86vm
888 with_zlib
889 with_wine_tools
890 with_wine64
891 enable_largefile
892 with_x
893 enable_acledit
894 enable_aclui
895 enable_activeds
896 enable_actxprxy
897 enable_adsiid
898 enable_adsldp
899 enable_adsldpc
900 enable_advapi32
901 enable_advpack
902 enable_amstream
903 enable_api_ms_win_appmodel_identity_l1_1_0
904 enable_api_ms_win_appmodel_runtime_l1_1_1
905 enable_api_ms_win_appmodel_runtime_l1_1_2
906 enable_api_ms_win_core_apiquery_l1_1_0
907 enable_api_ms_win_core_appcompat_l1_1_1
908 enable_api_ms_win_core_appinit_l1_1_0
909 enable_api_ms_win_core_atoms_l1_1_0
910 enable_api_ms_win_core_bem_l1_1_0
911 enable_api_ms_win_core_com_l1_1_0
912 enable_api_ms_win_core_com_l1_1_1
913 enable_api_ms_win_core_com_private_l1_1_0
914 enable_api_ms_win_core_comm_l1_1_0
915 enable_api_ms_win_core_console_l1_1_0
916 enable_api_ms_win_core_console_l2_1_0
917 enable_api_ms_win_core_crt_l1_1_0
918 enable_api_ms_win_core_crt_l2_1_0
919 enable_api_ms_win_core_datetime_l1_1_0
920 enable_api_ms_win_core_datetime_l1_1_1
921 enable_api_ms_win_core_debug_l1_1_0
922 enable_api_ms_win_core_debug_l1_1_1
923 enable_api_ms_win_core_delayload_l1_1_0
924 enable_api_ms_win_core_delayload_l1_1_1
925 enable_api_ms_win_core_errorhandling_l1_1_0
926 enable_api_ms_win_core_errorhandling_l1_1_1
927 enable_api_ms_win_core_errorhandling_l1_1_2
928 enable_api_ms_win_core_errorhandling_l1_1_3
929 enable_api_ms_win_core_fibers_l1_1_0
930 enable_api_ms_win_core_fibers_l1_1_1
931 enable_api_ms_win_core_file_l1_1_0
932 enable_api_ms_win_core_file_l1_2_0
933 enable_api_ms_win_core_file_l1_2_1
934 enable_api_ms_win_core_file_l1_2_2
935 enable_api_ms_win_core_file_l2_1_0
936 enable_api_ms_win_core_file_l2_1_1
937 enable_api_ms_win_core_file_l2_1_2
938 enable_api_ms_win_core_handle_l1_1_0
939 enable_api_ms_win_core_heap_l1_1_0
940 enable_api_ms_win_core_heap_l1_2_0
941 enable_api_ms_win_core_heap_l2_1_0
942 enable_api_ms_win_core_heap_obsolete_l1_1_0
943 enable_api_ms_win_core_interlocked_l1_1_0
944 enable_api_ms_win_core_interlocked_l1_2_0
945 enable_api_ms_win_core_io_l1_1_0
946 enable_api_ms_win_core_io_l1_1_1
947 enable_api_ms_win_core_job_l1_1_0
948 enable_api_ms_win_core_job_l2_1_0
949 enable_api_ms_win_core_kernel32_legacy_l1_1_0
950 enable_api_ms_win_core_kernel32_legacy_l1_1_1
951 enable_api_ms_win_core_kernel32_private_l1_1_1
952 enable_api_ms_win_core_largeinteger_l1_1_0
953 enable_api_ms_win_core_libraryloader_l1_1_0
954 enable_api_ms_win_core_libraryloader_l1_1_1
955 enable_api_ms_win_core_libraryloader_l1_2_0
956 enable_api_ms_win_core_libraryloader_l1_2_1
957 enable_api_ms_win_core_libraryloader_l1_2_2
958 enable_api_ms_win_core_localization_l1_1_0
959 enable_api_ms_win_core_localization_l1_2_0
960 enable_api_ms_win_core_localization_l1_2_1
961 enable_api_ms_win_core_localization_l2_1_0
962 enable_api_ms_win_core_localization_obsolete_l1_1_0
963 enable_api_ms_win_core_localization_obsolete_l1_2_0
964 enable_api_ms_win_core_localization_obsolete_l1_3_0
965 enable_api_ms_win_core_localization_private_l1_1_0
966 enable_api_ms_win_core_localregistry_l1_1_0
967 enable_api_ms_win_core_memory_l1_1_0
968 enable_api_ms_win_core_memory_l1_1_1
969 enable_api_ms_win_core_memory_l1_1_2
970 enable_api_ms_win_core_misc_l1_1_0
971 enable_api_ms_win_core_namedpipe_l1_1_0
972 enable_api_ms_win_core_namedpipe_l1_2_0
973 enable_api_ms_win_core_namespace_l1_1_0
974 enable_api_ms_win_core_normalization_l1_1_0
975 enable_api_ms_win_core_path_l1_1_0
976 enable_api_ms_win_core_privateprofile_l1_1_1
977 enable_api_ms_win_core_processenvironment_l1_1_0
978 enable_api_ms_win_core_processenvironment_l1_2_0
979 enable_api_ms_win_core_processthreads_l1_1_0
980 enable_api_ms_win_core_processthreads_l1_1_1
981 enable_api_ms_win_core_processthreads_l1_1_2
982 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
983 enable_api_ms_win_core_profile_l1_1_0
984 enable_api_ms_win_core_psapi_ansi_l1_1_0
985 enable_api_ms_win_core_psapi_l1_1_0
986 enable_api_ms_win_core_psapi_obsolete_l1_1_0
987 enable_api_ms_win_core_quirks_l1_1_0
988 enable_api_ms_win_core_realtime_l1_1_0
989 enable_api_ms_win_core_registry_l1_1_0
990 enable_api_ms_win_core_registry_l2_1_0
991 enable_api_ms_win_core_registryuserspecific_l1_1_0
992 enable_api_ms_win_core_rtlsupport_l1_1_0
993 enable_api_ms_win_core_rtlsupport_l1_2_0
994 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
995 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
996 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
997 enable_api_ms_win_core_shutdown_l1_1_0
998 enable_api_ms_win_core_sidebyside_l1_1_0
999 enable_api_ms_win_core_string_l1_1_0
1000 enable_api_ms_win_core_string_l2_1_0
1001 enable_api_ms_win_core_string_obsolete_l1_1_0
1002 enable_api_ms_win_core_stringansi_l1_1_0
1003 enable_api_ms_win_core_stringloader_l1_1_1
1004 enable_api_ms_win_core_synch_ansi_l1_1_0
1005 enable_api_ms_win_core_synch_l1_1_0
1006 enable_api_ms_win_core_synch_l1_2_0
1007 enable_api_ms_win_core_synch_l1_2_1
1008 enable_api_ms_win_core_sysinfo_l1_1_0
1009 enable_api_ms_win_core_sysinfo_l1_2_0
1010 enable_api_ms_win_core_sysinfo_l1_2_1
1011 enable_api_ms_win_core_threadpool_l1_1_0
1012 enable_api_ms_win_core_threadpool_l1_2_0
1013 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1014 enable_api_ms_win_core_threadpool_private_l1_1_0
1015 enable_api_ms_win_core_timezone_l1_1_0
1016 enable_api_ms_win_core_toolhelp_l1_1_0
1017 enable_api_ms_win_core_url_l1_1_0
1018 enable_api_ms_win_core_util_l1_1_0
1019 enable_api_ms_win_core_version_l1_1_0
1020 enable_api_ms_win_core_version_l1_1_1
1021 enable_api_ms_win_core_version_private_l1_1_0
1022 enable_api_ms_win_core_versionansi_l1_1_0
1023 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1024 enable_api_ms_win_core_winrt_error_l1_1_0
1025 enable_api_ms_win_core_winrt_error_l1_1_1
1026 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1027 enable_api_ms_win_core_winrt_l1_1_0
1028 enable_api_ms_win_core_winrt_registration_l1_1_0
1029 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1030 enable_api_ms_win_core_winrt_string_l1_1_0
1031 enable_api_ms_win_core_wow64_l1_1_0
1032 enable_api_ms_win_core_wow64_l1_1_1
1033 enable_api_ms_win_core_xstate_l1_1_0
1034 enable_api_ms_win_core_xstate_l2_1_0
1035 enable_api_ms_win_crt_conio_l1_1_0
1036 enable_api_ms_win_crt_convert_l1_1_0
1037 enable_api_ms_win_crt_environment_l1_1_0
1038 enable_api_ms_win_crt_filesystem_l1_1_0
1039 enable_api_ms_win_crt_heap_l1_1_0
1040 enable_api_ms_win_crt_locale_l1_1_0
1041 enable_api_ms_win_crt_math_l1_1_0
1042 enable_api_ms_win_crt_multibyte_l1_1_0
1043 enable_api_ms_win_crt_private_l1_1_0
1044 enable_api_ms_win_crt_process_l1_1_0
1045 enable_api_ms_win_crt_runtime_l1_1_0
1046 enable_api_ms_win_crt_stdio_l1_1_0
1047 enable_api_ms_win_crt_string_l1_1_0
1048 enable_api_ms_win_crt_time_l1_1_0
1049 enable_api_ms_win_crt_utility_l1_1_0
1050 enable_api_ms_win_devices_config_l1_1_0
1051 enable_api_ms_win_devices_config_l1_1_1
1052 enable_api_ms_win_devices_query_l1_1_1
1053 enable_api_ms_win_downlevel_advapi32_l1_1_0
1054 enable_api_ms_win_downlevel_advapi32_l2_1_0
1055 enable_api_ms_win_downlevel_normaliz_l1_1_0
1056 enable_api_ms_win_downlevel_ole32_l1_1_0
1057 enable_api_ms_win_downlevel_shell32_l1_1_0
1058 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1059 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1060 enable_api_ms_win_downlevel_user32_l1_1_0
1061 enable_api_ms_win_downlevel_version_l1_1_0
1062 enable_api_ms_win_dx_d3dkmt_l1_1_0
1063 enable_api_ms_win_eventing_classicprovider_l1_1_0
1064 enable_api_ms_win_eventing_consumer_l1_1_0
1065 enable_api_ms_win_eventing_controller_l1_1_0
1066 enable_api_ms_win_eventing_legacy_l1_1_0
1067 enable_api_ms_win_eventing_provider_l1_1_0
1068 enable_api_ms_win_eventlog_legacy_l1_1_0
1069 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1070 enable_api_ms_win_mm_joystick_l1_1_0
1071 enable_api_ms_win_mm_misc_l1_1_1
1072 enable_api_ms_win_mm_mme_l1_1_0
1073 enable_api_ms_win_mm_time_l1_1_0
1074 enable_api_ms_win_ntuser_dc_access_l1_1_0
1075 enable_api_ms_win_ntuser_rectangle_l1_1_0
1076 enable_api_ms_win_perf_legacy_l1_1_0
1077 enable_api_ms_win_power_base_l1_1_0
1078 enable_api_ms_win_power_setting_l1_1_0
1079 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1080 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1081 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1082 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1086 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1087 enable_api_ms_win_security_audit_l1_1_1
1088 enable_api_ms_win_security_base_l1_1_0
1089 enable_api_ms_win_security_base_l1_2_0
1090 enable_api_ms_win_security_base_private_l1_1_1
1091 enable_api_ms_win_security_credentials_l1_1_0
1092 enable_api_ms_win_security_cryptoapi_l1_1_0
1093 enable_api_ms_win_security_grouppolicy_l1_1_0
1094 enable_api_ms_win_security_lsalookup_l1_1_0
1095 enable_api_ms_win_security_lsalookup_l1_1_1
1096 enable_api_ms_win_security_lsalookup_l2_1_0
1097 enable_api_ms_win_security_lsalookup_l2_1_1
1098 enable_api_ms_win_security_lsapolicy_l1_1_0
1099 enable_api_ms_win_security_provider_l1_1_0
1100 enable_api_ms_win_security_sddl_l1_1_0
1101 enable_api_ms_win_security_systemfunctions_l1_1_0
1102 enable_api_ms_win_service_core_l1_1_0
1103 enable_api_ms_win_service_core_l1_1_1
1104 enable_api_ms_win_service_management_l1_1_0
1105 enable_api_ms_win_service_management_l2_1_0
1106 enable_api_ms_win_service_private_l1_1_1
1107 enable_api_ms_win_service_winsvc_l1_1_0
1108 enable_api_ms_win_service_winsvc_l1_2_0
1109 enable_api_ms_win_shcore_obsolete_l1_1_0
1110 enable_api_ms_win_shcore_scaling_l1_1_1
1111 enable_api_ms_win_shcore_stream_l1_1_0
1112 enable_api_ms_win_shcore_thread_l1_1_0
1113 enable_api_ms_win_shell_shellcom_l1_1_0
1114 enable_api_ms_win_shell_shellfolders_l1_1_0
1115 enable_apphelp
1116 enable_appwiz_cpl
1117 enable_atl
1118 enable_atl100
1119 enable_atl110
1120 enable_atl80
1121 enable_atl90
1122 enable_atmlib
1123 enable_authz
1124 enable_avicap32
1125 enable_avifil32
1126 enable_avrt
1127 enable_bcrypt
1128 enable_bluetoothapis
1129 enable_browseui
1130 enable_bthprops_cpl
1131 enable_cabinet
1132 enable_capi2032
1133 enable_cards
1134 enable_cdosys
1135 enable_cfgmgr32
1136 enable_clusapi
1137 enable_combase
1138 enable_comcat
1139 enable_comctl32
1140 enable_comdlg32
1141 enable_compstui
1142 enable_comsvcs
1143 enable_concrt140
1144 enable_connect
1145 enable_credui
1146 enable_crtdll
1147 enable_crypt32
1148 enable_cryptdlg
1149 enable_cryptdll
1150 enable_cryptext
1151 enable_cryptnet
1152 enable_cryptui
1153 enable_ctapi32
1154 enable_ctl3d32
1155 enable_d2d1
1156 enable_d3d10
1157 enable_d3d10_1
1158 enable_d3d10core
1159 enable_d3d11
1160 enable_d3d12
1161 enable_d3d8
1162 enable_d3d9
1163 enable_d3dcompiler_33
1164 enable_d3dcompiler_34
1165 enable_d3dcompiler_35
1166 enable_d3dcompiler_36
1167 enable_d3dcompiler_37
1168 enable_d3dcompiler_38
1169 enable_d3dcompiler_39
1170 enable_d3dcompiler_40
1171 enable_d3dcompiler_41
1172 enable_d3dcompiler_42
1173 enable_d3dcompiler_43
1174 enable_d3dcompiler_46
1175 enable_d3dcompiler_47
1176 enable_d3dim
1177 enable_d3drm
1178 enable_d3dx10_33
1179 enable_d3dx10_34
1180 enable_d3dx10_35
1181 enable_d3dx10_36
1182 enable_d3dx10_37
1183 enable_d3dx10_38
1184 enable_d3dx10_39
1185 enable_d3dx10_40
1186 enable_d3dx10_41
1187 enable_d3dx10_42
1188 enable_d3dx10_43
1189 enable_d3dx11_42
1190 enable_d3dx11_43
1191 enable_d3dx9_24
1192 enable_d3dx9_25
1193 enable_d3dx9_26
1194 enable_d3dx9_27
1195 enable_d3dx9_28
1196 enable_d3dx9_29
1197 enable_d3dx9_30
1198 enable_d3dx9_31
1199 enable_d3dx9_32
1200 enable_d3dx9_33
1201 enable_d3dx9_34
1202 enable_d3dx9_35
1203 enable_d3dx9_36
1204 enable_d3dx9_37
1205 enable_d3dx9_38
1206 enable_d3dx9_39
1207 enable_d3dx9_40
1208 enable_d3dx9_41
1209 enable_d3dx9_42
1210 enable_d3dx9_43
1211 enable_d3dxof
1212 enable_davclnt
1213 enable_dbgeng
1214 enable_dbghelp
1215 enable_dciman32
1216 enable_ddraw
1217 enable_ddrawex
1218 enable_devenum
1219 enable_dhcpcsvc
1220 enable_dhtmled_ocx
1221 enable_difxapi
1222 enable_dinput
1223 enable_dinput8
1224 enable_dispex
1225 enable_dmband
1226 enable_dmcompos
1227 enable_dmime
1228 enable_dmloader
1229 enable_dmoguids
1230 enable_dmscript
1231 enable_dmstyle
1232 enable_dmsynth
1233 enable_dmusic
1234 enable_dmusic32
1235 enable_dnsapi
1236 enable_dplay
1237 enable_dplayx
1238 enable_dpnaddr
1239 enable_dpnet
1240 enable_dpnhpast
1241 enable_dpnlobby
1242 enable_dpvoice
1243 enable_dpwsockx
1244 enable_drmclien
1245 enable_dsound
1246 enable_dsquery
1247 enable_dssenh
1248 enable_dswave
1249 enable_dwmapi
1250 enable_dwrite
1251 enable_dx8vb
1252 enable_dxdiagn
1253 enable_dxerr8
1254 enable_dxerr9
1255 enable_dxgi
1256 enable_dxguid
1257 enable_dxva2
1258 enable_esent
1259 enable_evr
1260 enable_explorerframe
1261 enable_ext_ms_win_authz_context_l1_1_0
1262 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1263 enable_ext_ms_win_dwmapi_ext_l1_1_0
1264 enable_ext_ms_win_gdi_dc_create_l1_1_1
1265 enable_ext_ms_win_gdi_dc_l1_2_0
1266 enable_ext_ms_win_gdi_devcaps_l1_1_0
1267 enable_ext_ms_win_gdi_draw_l1_1_1
1268 enable_ext_ms_win_gdi_render_l1_1_0
1269 enable_ext_ms_win_kernel32_package_current_l1_1_0
1270 enable_ext_ms_win_kernel32_package_l1_1_1
1271 enable_ext_ms_win_ntuser_draw_l1_1_0
1272 enable_ext_ms_win_ntuser_gui_l1_3_0
1273 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1274 enable_ext_ms_win_ntuser_message_l1_1_1
1275 enable_ext_ms_win_ntuser_misc_l1_5_1
1276 enable_ext_ms_win_ntuser_mouse_l1_1_0
1277 enable_ext_ms_win_ntuser_private_l1_1_1
1278 enable_ext_ms_win_ntuser_private_l1_3_1
1279 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1280 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1281 enable_ext_ms_win_ntuser_window_l1_1_1
1282 enable_ext_ms_win_ntuser_window_l1_1_4
1283 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1284 enable_ext_ms_win_oleacc_l1_1_0
1285 enable_ext_ms_win_ras_rasapi32_l1_1_0
1286 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1288 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1289 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1290 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1291 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1293 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1294 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1295 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1296 enable_ext_ms_win_security_credui_l1_1_0
1297 enable_ext_ms_win_security_cryptui_l1_1_0
1298 enable_ext_ms_win_uxtheme_themes_l1_1_0
1299 enable_faultrep
1300 enable_feclient
1301 enable_fltlib
1302 enable_fltmgr_sys
1303 enable_fntcache
1304 enable_fontsub
1305 enable_fusion
1306 enable_fwpuclnt
1307 enable_gameux
1308 enable_gdi32
1309 enable_gdiplus
1310 enable_glu32
1311 enable_gphoto2_ds
1312 enable_gpkcsp
1313 enable_hal
1314 enable_hhctrl_ocx
1315 enable_hid
1316 enable_hidclass_sys
1317 enable_hlink
1318 enable_hnetcfg
1319 enable_httpapi
1320 enable_iccvid
1321 enable_icmp
1322 enable_ieframe
1323 enable_ieproxy
1324 enable_imaadp32_acm
1325 enable_imagehlp
1326 enable_imm32
1327 enable_inetcomm
1328 enable_inetcpl_cpl
1329 enable_inetmib1
1330 enable_infosoft
1331 enable_initpki
1332 enable_inkobj
1333 enable_inseng
1334 enable_iphlpapi
1335 enable_iprop
1336 enable_irprops_cpl
1337 enable_itircl
1338 enable_itss
1339 enable_joy_cpl
1340 enable_jscript
1341 enable_jsproxy
1342 enable_kerberos
1343 enable_kernel32
1344 enable_kernelbase
1345 enable_ksuser
1346 enable_ktmw32
1347 enable_l3codeca_acm
1348 enable_loadperf
1349 enable_localspl
1350 enable_localui
1351 enable_lz32
1352 enable_mapi32
1353 enable_mapistub
1354 enable_mciavi32
1355 enable_mcicda
1356 enable_mciqtz32
1357 enable_mciseq
1358 enable_mciwave
1359 enable_mf
1360 enable_mf3216
1361 enable_mfplat
1362 enable_mfreadwrite
1363 enable_mfuuid
1364 enable_mgmtapi
1365 enable_midimap
1366 enable_mlang
1367 enable_mmcndmgr
1368 enable_mmdevapi
1369 enable_mountmgr_sys
1370 enable_mp3dmod
1371 enable_mpr
1372 enable_mprapi
1373 enable_msacm32_drv
1374 enable_msacm32
1375 enable_msadp32_acm
1376 enable_msasn1
1377 enable_mscat32
1378 enable_mscms
1379 enable_mscoree
1380 enable_msctf
1381 enable_msctfp
1382 enable_msdaps
1383 enable_msdelta
1384 enable_msdmo
1385 enable_msdrm
1386 enable_msftedit
1387 enable_msg711_acm
1388 enable_msgsm32_acm
1389 enable_mshtml_tlb
1390 enable_mshtml
1391 enable_msi
1392 enable_msident
1393 enable_msimg32
1394 enable_msimsg
1395 enable_msimtf
1396 enable_msisip
1397 enable_msisys_ocx
1398 enable_msls31
1399 enable_msnet32
1400 enable_mspatcha
1401 enable_msports
1402 enable_msrle32
1403 enable_msscript_ocx
1404 enable_mssign32
1405 enable_mssip32
1406 enable_mstask
1407 enable_msvcirt
1408 enable_msvcm80
1409 enable_msvcm90
1410 enable_msvcp100
1411 enable_msvcp110
1412 enable_msvcp120
1413 enable_msvcp120_app
1414 enable_msvcp140
1415 enable_msvcp60
1416 enable_msvcp70
1417 enable_msvcp71
1418 enable_msvcp80
1419 enable_msvcp90
1420 enable_msvcr100
1421 enable_msvcr110
1422 enable_msvcr120
1423 enable_msvcr120_app
1424 enable_msvcr70
1425 enable_msvcr71
1426 enable_msvcr80
1427 enable_msvcr90
1428 enable_msvcrt
1429 enable_msvcrt20
1430 enable_msvcrt40
1431 enable_msvcrtd
1432 enable_msvfw32
1433 enable_msvidc32
1434 enable_mswsock
1435 enable_msxml
1436 enable_msxml2
1437 enable_msxml3
1438 enable_msxml4
1439 enable_msxml6
1440 enable_mtxdm
1441 enable_ncrypt
1442 enable_nddeapi
1443 enable_ndis_sys
1444 enable_netapi32
1445 enable_netcfgx
1446 enable_netprofm
1447 enable_newdev
1448 enable_ninput
1449 enable_normaliz
1450 enable_npmshtml
1451 enable_npptools
1452 enable_ntdll
1453 enable_ntdsapi
1454 enable_ntoskrnl_exe
1455 enable_ntprint
1456 enable_objsel
1457 enable_odbc32
1458 enable_odbccp32
1459 enable_odbccu32
1460 enable_ole32
1461 enable_oleacc
1462 enable_oleaut32
1463 enable_olecli32
1464 enable_oledb32
1465 enable_oledlg
1466 enable_olepro32
1467 enable_olesvr32
1468 enable_olethk32
1469 enable_opcservices
1470 enable_openal32
1471 enable_opencl
1472 enable_opengl32
1473 enable_packager
1474 enable_pdh
1475 enable_photometadatahandler
1476 enable_pidgen
1477 enable_powrprof
1478 enable_printui
1479 enable_prntvpt
1480 enable_propsys
1481 enable_psapi
1482 enable_pstorec
1483 enable_qcap
1484 enable_qedit
1485 enable_qmgr
1486 enable_qmgrprxy
1487 enable_quartz
1488 enable_query
1489 enable_qwave
1490 enable_rasapi32
1491 enable_rasdlg
1492 enable_regapi
1493 enable_resutils
1494 enable_riched20
1495 enable_riched32
1496 enable_rpcrt4
1497 enable_rsabase
1498 enable_rsaenh
1499 enable_rstrtmgr
1500 enable_rtutils
1501 enable_samlib
1502 enable_sane_ds
1503 enable_sapi
1504 enable_sas
1505 enable_scarddlg
1506 enable_sccbase
1507 enable_schannel
1508 enable_schedsvc
1509 enable_scrobj
1510 enable_scrrun
1511 enable_scsiport_sys
1512 enable_secur32
1513 enable_security
1514 enable_sensapi
1515 enable_serialui
1516 enable_setupapi
1517 enable_sfc
1518 enable_sfc_os
1519 enable_shcore
1520 enable_shdoclc
1521 enable_shdocvw
1522 enable_shell32
1523 enable_shfolder
1524 enable_shlwapi
1525 enable_slbcsp
1526 enable_slc
1527 enable_snmpapi
1528 enable_softpub
1529 enable_spoolss
1530 enable_srclient
1531 enable_sspicli
1532 enable_stdole2_tlb
1533 enable_stdole32_tlb
1534 enable_sti
1535 enable_strmbase
1536 enable_strmdll
1537 enable_strmiids
1538 enable_svrapi
1539 enable_sxs
1540 enable_t2embed
1541 enable_tapi32
1542 enable_taskschd
1543 enable_tdh
1544 enable_tdi_sys
1545 enable_traffic
1546 enable_twain_32
1547 enable_ucrtbase
1548 enable_uiautomationcore
1549 enable_uiribbon
1550 enable_unicows
1551 enable_updspapi
1552 enable_url
1553 enable_urlmon
1554 enable_usbd_sys
1555 enable_user32
1556 enable_userenv
1557 enable_usp10
1558 enable_uuid
1559 enable_uxtheme
1560 enable_vbscript
1561 enable_vcomp
1562 enable_vcomp100
1563 enable_vcomp110
1564 enable_vcomp120
1565 enable_vcomp140
1566 enable_vcomp90
1567 enable_vcruntime140
1568 enable_vdmdbg
1569 enable_version
1570 enable_virtdisk
1571 enable_vssapi
1572 enable_vulkan_1
1573 enable_wbemdisp
1574 enable_wbemprox
1575 enable_wdscore
1576 enable_webservices
1577 enable_wer
1578 enable_wevtapi
1579 enable_wiaservc
1580 enable_wimgapi
1581 enable_windowscodecs
1582 enable_windowscodecsext
1583 enable_winealsa_drv
1584 enable_wineandroid_drv
1585 enable_winebus_sys
1586 enable_winecoreaudio_drv
1587 enable_winecrt0
1588 enable_wined3d
1589 enable_winegstreamer
1590 enable_winehid_sys
1591 enable_winejoystick_drv
1592 enable_winemac_drv
1593 enable_winemapi
1594 enable_wineoss_drv
1595 enable_wineps_drv
1596 enable_winepulse_drv
1597 enable_wineqtdecoder
1598 enable_winevulkan
1599 enable_winex11_drv
1600 enable_wing32
1601 enable_winhttp
1602 enable_wininet
1603 enable_winmm
1604 enable_winnls32
1605 enable_winscard
1606 enable_winspool_drv
1607 enable_winsta
1608 enable_wintab32
1609 enable_wintrust
1610 enable_winusb
1611 enable_wlanapi
1612 enable_wldap32
1613 enable_wmasf
1614 enable_wmcodecdspuuid
1615 enable_wmi
1616 enable_wmiutils
1617 enable_wmp
1618 enable_wmphoto
1619 enable_wmvcore
1620 enable_wnaspi32
1621 enable_wpc
1622 enable_wpcap
1623 enable_ws2_32
1624 enable_wsdapi
1625 enable_wshom_ocx
1626 enable_wsnmp32
1627 enable_wsock32
1628 enable_wtsapi32
1629 enable_wuapi
1630 enable_wuaueng
1631 enable_x3daudio1_0
1632 enable_x3daudio1_1
1633 enable_x3daudio1_2
1634 enable_x3daudio1_3
1635 enable_x3daudio1_4
1636 enable_x3daudio1_5
1637 enable_x3daudio1_6
1638 enable_x3daudio1_7
1639 enable_xapofx1_1
1640 enable_xapofx1_2
1641 enable_xapofx1_3
1642 enable_xapofx1_4
1643 enable_xapofx1_5
1644 enable_xaudio2_0
1645 enable_xaudio2_1
1646 enable_xaudio2_2
1647 enable_xaudio2_3
1648 enable_xaudio2_4
1649 enable_xaudio2_5
1650 enable_xaudio2_6
1651 enable_xaudio2_7
1652 enable_xaudio2_8
1653 enable_xaudio2_9
1654 enable_xinput1_1
1655 enable_xinput1_2
1656 enable_xinput1_3
1657 enable_xinput1_4
1658 enable_xinput9_1_0
1659 enable_xmllite
1660 enable_xolehlp
1661 enable_xpsprint
1662 enable_xpssvcs
1663 enable_fonts
1664 enable_include
1665 enable_port
1666 enable_wine
1667 enable_wpp
1668 enable_loader
1669 enable_po
1670 enable_arp
1671 enable_aspnet_regiis
1672 enable_attrib
1673 enable_cabarc
1674 enable_cacls
1675 enable_clock
1676 enable_cmd
1677 enable_conhost
1678 enable_control
1679 enable_cscript
1680 enable_dism
1681 enable_dpnsvr
1682 enable_dxdiag
1683 enable_eject
1684 enable_expand
1685 enable_explorer
1686 enable_extrac32
1687 enable_fc
1688 enable_find
1689 enable_findstr
1690 enable_fsutil
1691 enable_hh
1692 enable_hostname
1693 enable_icacls
1694 enable_icinfo
1695 enable_iexplore
1696 enable_ipconfig
1697 enable_lodctr
1698 enable_mofcomp
1699 enable_mshta
1700 enable_msiexec
1701 enable_msinfo32
1702 enable_net
1703 enable_netsh
1704 enable_netstat
1705 enable_ngen
1706 enable_notepad
1707 enable_oleview
1708 enable_ping
1709 enable_plugplay
1710 enable_powershell
1711 enable_presentationfontcache
1712 enable_progman
1713 enable_reg
1714 enable_regasm
1715 enable_regedit
1716 enable_regsvcs
1717 enable_regsvr32
1718 enable_rpcss
1719 enable_rundll32
1720 enable_sc
1721 enable_schtasks
1722 enable_sdbinst
1723 enable_secedit
1724 enable_servicemodelreg
1725 enable_services
1726 enable_shutdown
1727 enable_spoolsv
1728 enable_start
1729 enable_subst
1730 enable_svchost
1731 enable_systeminfo
1732 enable_taskkill
1733 enable_tasklist
1734 enable_taskmgr
1735 enable_termsv
1736 enable_uninstaller
1737 enable_unlodctr
1738 enable_view
1739 enable_wevtutil
1740 enable_wineboot
1741 enable_winebrowser
1742 enable_winecfg
1743 enable_wineconsole
1744 enable_winedbg
1745 enable_winedevice
1746 enable_winefile
1747 enable_winemenubuilder
1748 enable_winemine
1749 enable_winemsibuilder
1750 enable_winepath
1751 enable_winetest
1752 enable_winhlp32
1753 enable_winmgmt
1754 enable_winver
1755 enable_wmic
1756 enable_wmplayer
1757 enable_wordpad
1758 enable_write
1759 enable_wscript
1760 enable_wusa
1761 enable_xcopy
1762 enable_server
1763 enable_tools
1764 enable_sfnt2fon
1765 enable_widl
1766 enable_winebuild
1767 enable_winedump
1768 enable_winegcc
1769 enable_winemaker
1770 enable_wmc
1771 enable_wrc
1773 ac_precious_vars='build_alias
1774 host_alias
1775 target_alias
1777 CFLAGS
1778 LDFLAGS
1779 LIBS
1780 CPPFLAGS
1782 CXXFLAGS
1785 OBJC
1786 OBJCFLAGS
1787 OBJCPP
1788 XMKMF
1789 XML2_CFLAGS
1790 XML2_LIBS
1791 XSLT_CFLAGS
1792 XSLT_LIBS
1793 DBUS_CFLAGS
1794 DBUS_LIBS
1795 HAL_CFLAGS
1796 HAL_LIBS
1797 GNUTLS_CFLAGS
1798 GNUTLS_LIBS
1799 SANE_CFLAGS
1800 SANE_LIBS
1801 GPHOTO2_CFLAGS
1802 GPHOTO2_LIBS
1803 GPHOTO2_PORT_CFLAGS
1804 GPHOTO2_PORT_LIBS
1805 LCMS2_CFLAGS
1806 LCMS2_LIBS
1807 FREETYPE_CFLAGS
1808 FREETYPE_LIBS
1809 PULSE_CFLAGS
1810 PULSE_LIBS
1811 GSTREAMER_CFLAGS
1812 GSTREAMER_LIBS
1813 UDEV_CFLAGS
1814 UDEV_LIBS
1815 SDL2_CFLAGS
1816 SDL2_LIBS
1817 CAPI20_CFLAGS
1818 CAPI20_LIBS
1819 CUPS_CFLAGS
1820 CUPS_LIBS
1821 FONTCONFIG_CFLAGS
1822 FONTCONFIG_LIBS
1823 KRB5_CFLAGS
1824 KRB5_LIBS
1825 GSSAPI_CFLAGS
1826 GSSAPI_LIBS
1827 JPEG_CFLAGS
1828 JPEG_LIBS
1829 PNG_CFLAGS
1830 PNG_LIBS
1831 TIFF_CFLAGS
1832 TIFF_LIBS
1833 MPG123_CFLAGS
1834 MPG123_LIBS
1835 NETAPI_CFLAGS
1836 NETAPI_LIBS
1837 VKD3D_CFLAGS
1838 VKD3D_LIBS
1839 LDAP_CFLAGS
1840 LDAP_LIBS'
1843 # Initialize some variables set by options.
1844 ac_init_help=
1845 ac_init_version=false
1846 ac_unrecognized_opts=
1847 ac_unrecognized_sep=
1848 # The variables have the same names as the options, with
1849 # dashes changed to underlines.
1850 cache_file=/dev/null
1851 exec_prefix=NONE
1852 no_create=
1853 no_recursion=
1854 prefix=NONE
1855 program_prefix=NONE
1856 program_suffix=NONE
1857 program_transform_name=s,x,x,
1858 silent=
1859 site=
1860 srcdir=
1861 verbose=
1862 x_includes=NONE
1863 x_libraries=NONE
1865 # Installation directory options.
1866 # These are left unexpanded so users can "make install exec_prefix=/foo"
1867 # and all the variables that are supposed to be based on exec_prefix
1868 # by default will actually change.
1869 # Use braces instead of parens because sh, perl, etc. also accept them.
1870 # (The list follows the same order as the GNU Coding Standards.)
1871 bindir='${exec_prefix}/bin'
1872 sbindir='${exec_prefix}/sbin'
1873 libexecdir='${exec_prefix}/libexec'
1874 datarootdir='${prefix}/share'
1875 datadir='${datarootdir}'
1876 sysconfdir='${prefix}/etc'
1877 sharedstatedir='${prefix}/com'
1878 localstatedir='${prefix}/var'
1879 runstatedir='${localstatedir}/run'
1880 includedir='${prefix}/include'
1881 oldincludedir='/usr/include'
1882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1883 infodir='${datarootdir}/info'
1884 htmldir='${docdir}'
1885 dvidir='${docdir}'
1886 pdfdir='${docdir}'
1887 psdir='${docdir}'
1888 libdir='${exec_prefix}/lib'
1889 localedir='${datarootdir}/locale'
1890 mandir='${datarootdir}/man'
1892 ac_prev=
1893 ac_dashdash=
1894 for ac_option
1896 # If the previous option needs an argument, assign it.
1897 if test -n "$ac_prev"; then
1898 eval $ac_prev=\$ac_option
1899 ac_prev=
1900 continue
1903 case $ac_option in
1904 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1905 *=) ac_optarg= ;;
1906 *) ac_optarg=yes ;;
1907 esac
1909 # Accept the important Cygnus configure options, so we can diagnose typos.
1911 case $ac_dashdash$ac_option in
1913 ac_dashdash=yes ;;
1915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1916 ac_prev=bindir ;;
1917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1918 bindir=$ac_optarg ;;
1920 -build | --build | --buil | --bui | --bu)
1921 ac_prev=build_alias ;;
1922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1923 build_alias=$ac_optarg ;;
1925 -cache-file | --cache-file | --cache-fil | --cache-fi \
1926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1927 ac_prev=cache_file ;;
1928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1930 cache_file=$ac_optarg ;;
1932 --config-cache | -C)
1933 cache_file=config.cache ;;
1935 -datadir | --datadir | --datadi | --datad)
1936 ac_prev=datadir ;;
1937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1938 datadir=$ac_optarg ;;
1940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1941 | --dataroo | --dataro | --datar)
1942 ac_prev=datarootdir ;;
1943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1945 datarootdir=$ac_optarg ;;
1947 -disable-* | --disable-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid feature name: $ac_useropt"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "enable_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval enable_$ac_useropt=no ;;
1963 -docdir | --docdir | --docdi | --doc | --do)
1964 ac_prev=docdir ;;
1965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1966 docdir=$ac_optarg ;;
1968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1969 ac_prev=dvidir ;;
1970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1971 dvidir=$ac_optarg ;;
1973 -enable-* | --enable-*)
1974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1975 # Reject names that are not valid shell variable names.
1976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1977 as_fn_error $? "invalid feature name: $ac_useropt"
1978 ac_useropt_orig=$ac_useropt
1979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1980 case $ac_user_opts in
1982 "enable_$ac_useropt"
1983 "*) ;;
1984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1985 ac_unrecognized_sep=', ';;
1986 esac
1987 eval enable_$ac_useropt=\$ac_optarg ;;
1989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1991 | --exec | --exe | --ex)
1992 ac_prev=exec_prefix ;;
1993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1995 | --exec=* | --exe=* | --ex=*)
1996 exec_prefix=$ac_optarg ;;
1998 -gas | --gas | --ga | --g)
1999 # Obsolete; use --with-gas.
2000 with_gas=yes ;;
2002 -help | --help | --hel | --he | -h)
2003 ac_init_help=long ;;
2004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2005 ac_init_help=recursive ;;
2006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2007 ac_init_help=short ;;
2009 -host | --host | --hos | --ho)
2010 ac_prev=host_alias ;;
2011 -host=* | --host=* | --hos=* | --ho=*)
2012 host_alias=$ac_optarg ;;
2014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2015 ac_prev=htmldir ;;
2016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2017 | --ht=*)
2018 htmldir=$ac_optarg ;;
2020 -includedir | --includedir | --includedi | --included | --include \
2021 | --includ | --inclu | --incl | --inc)
2022 ac_prev=includedir ;;
2023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2024 | --includ=* | --inclu=* | --incl=* | --inc=*)
2025 includedir=$ac_optarg ;;
2027 -infodir | --infodir | --infodi | --infod | --info | --inf)
2028 ac_prev=infodir ;;
2029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2030 infodir=$ac_optarg ;;
2032 -libdir | --libdir | --libdi | --libd)
2033 ac_prev=libdir ;;
2034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2035 libdir=$ac_optarg ;;
2037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2038 | --libexe | --libex | --libe)
2039 ac_prev=libexecdir ;;
2040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2041 | --libexe=* | --libex=* | --libe=*)
2042 libexecdir=$ac_optarg ;;
2044 -localedir | --localedir | --localedi | --localed | --locale)
2045 ac_prev=localedir ;;
2046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2047 localedir=$ac_optarg ;;
2049 -localstatedir | --localstatedir | --localstatedi | --localstated \
2050 | --localstate | --localstat | --localsta | --localst | --locals)
2051 ac_prev=localstatedir ;;
2052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2054 localstatedir=$ac_optarg ;;
2056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2057 ac_prev=mandir ;;
2058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2059 mandir=$ac_optarg ;;
2061 -nfp | --nfp | --nf)
2062 # Obsolete; use --without-fp.
2063 with_fp=no ;;
2065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2066 | --no-cr | --no-c | -n)
2067 no_create=yes ;;
2069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2071 no_recursion=yes ;;
2073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2075 | --oldin | --oldi | --old | --ol | --o)
2076 ac_prev=oldincludedir ;;
2077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2080 oldincludedir=$ac_optarg ;;
2082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2083 ac_prev=prefix ;;
2084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2085 prefix=$ac_optarg ;;
2087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2088 | --program-pre | --program-pr | --program-p)
2089 ac_prev=program_prefix ;;
2090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2092 program_prefix=$ac_optarg ;;
2094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2095 | --program-suf | --program-su | --program-s)
2096 ac_prev=program_suffix ;;
2097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2099 program_suffix=$ac_optarg ;;
2101 -program-transform-name | --program-transform-name \
2102 | --program-transform-nam | --program-transform-na \
2103 | --program-transform-n | --program-transform- \
2104 | --program-transform | --program-transfor \
2105 | --program-transfo | --program-transf \
2106 | --program-trans | --program-tran \
2107 | --progr-tra | --program-tr | --program-t)
2108 ac_prev=program_transform_name ;;
2109 -program-transform-name=* | --program-transform-name=* \
2110 | --program-transform-nam=* | --program-transform-na=* \
2111 | --program-transform-n=* | --program-transform-=* \
2112 | --program-transform=* | --program-transfor=* \
2113 | --program-transfo=* | --program-transf=* \
2114 | --program-trans=* | --program-tran=* \
2115 | --progr-tra=* | --program-tr=* | --program-t=*)
2116 program_transform_name=$ac_optarg ;;
2118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2119 ac_prev=pdfdir ;;
2120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2121 pdfdir=$ac_optarg ;;
2123 -psdir | --psdir | --psdi | --psd | --ps)
2124 ac_prev=psdir ;;
2125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2126 psdir=$ac_optarg ;;
2128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129 | -silent | --silent | --silen | --sile | --sil)
2130 silent=yes ;;
2132 -runstatedir | --runstatedir | --runstatedi | --runstated \
2133 | --runstate | --runstat | --runsta | --runst | --runs \
2134 | --run | --ru | --r)
2135 ac_prev=runstatedir ;;
2136 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2137 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2138 | --run=* | --ru=* | --r=*)
2139 runstatedir=$ac_optarg ;;
2141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2142 ac_prev=sbindir ;;
2143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2144 | --sbi=* | --sb=*)
2145 sbindir=$ac_optarg ;;
2147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2149 | --sharedst | --shareds | --shared | --share | --shar \
2150 | --sha | --sh)
2151 ac_prev=sharedstatedir ;;
2152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2155 | --sha=* | --sh=*)
2156 sharedstatedir=$ac_optarg ;;
2158 -site | --site | --sit)
2159 ac_prev=site ;;
2160 -site=* | --site=* | --sit=*)
2161 site=$ac_optarg ;;
2163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2164 ac_prev=srcdir ;;
2165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2166 srcdir=$ac_optarg ;;
2168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2169 | --syscon | --sysco | --sysc | --sys | --sy)
2170 ac_prev=sysconfdir ;;
2171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2173 sysconfdir=$ac_optarg ;;
2175 -target | --target | --targe | --targ | --tar | --ta | --t)
2176 ac_prev=target_alias ;;
2177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2178 target_alias=$ac_optarg ;;
2180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2181 verbose=yes ;;
2183 -version | --version | --versio | --versi | --vers | -V)
2184 ac_init_version=: ;;
2186 -with-* | --with-*)
2187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2188 # Reject names that are not valid shell variable names.
2189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2190 as_fn_error $? "invalid package name: $ac_useropt"
2191 ac_useropt_orig=$ac_useropt
2192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2193 case $ac_user_opts in
2195 "with_$ac_useropt"
2196 "*) ;;
2197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2198 ac_unrecognized_sep=', ';;
2199 esac
2200 eval with_$ac_useropt=\$ac_optarg ;;
2202 -without-* | --without-*)
2203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2204 # Reject names that are not valid shell variable names.
2205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2206 as_fn_error $? "invalid package name: $ac_useropt"
2207 ac_useropt_orig=$ac_useropt
2208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2209 case $ac_user_opts in
2211 "with_$ac_useropt"
2212 "*) ;;
2213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2214 ac_unrecognized_sep=', ';;
2215 esac
2216 eval with_$ac_useropt=no ;;
2218 --x)
2219 # Obsolete; use --with-x.
2220 with_x=yes ;;
2222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2223 | --x-incl | --x-inc | --x-in | --x-i)
2224 ac_prev=x_includes ;;
2225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2227 x_includes=$ac_optarg ;;
2229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2231 ac_prev=x_libraries ;;
2232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2234 x_libraries=$ac_optarg ;;
2236 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2237 Try \`$0 --help' for more information"
2240 *=*)
2241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2242 # Reject names that are not valid shell variable names.
2243 case $ac_envvar in #(
2244 '' | [0-9]* | *[!_$as_cr_alnum]* )
2245 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2246 esac
2247 eval $ac_envvar=\$ac_optarg
2248 export $ac_envvar ;;
2251 # FIXME: should be removed in autoconf 3.0.
2252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2258 esac
2259 done
2261 if test -n "$ac_prev"; then
2262 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2263 as_fn_error $? "missing argument to $ac_option"
2266 if test -n "$ac_unrecognized_opts"; then
2267 case $enable_option_checking in
2268 no) ;;
2269 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2271 esac
2274 # Check all directory arguments for consistency.
2275 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2276 datadir sysconfdir sharedstatedir localstatedir includedir \
2277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2278 libdir localedir mandir runstatedir
2280 eval ac_val=\$$ac_var
2281 # Remove trailing slashes.
2282 case $ac_val in
2283 */ )
2284 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2285 eval $ac_var=\$ac_val;;
2286 esac
2287 # Be sure to have absolute directory names.
2288 case $ac_val in
2289 [\\/$]* | ?:[\\/]* ) continue;;
2290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2291 esac
2292 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2293 done
2295 # There might be people who depend on the old broken behavior: `$host'
2296 # used to hold the argument of --host etc.
2297 # FIXME: To remove some day.
2298 build=$build_alias
2299 host=$host_alias
2300 target=$target_alias
2302 # FIXME: To remove some day.
2303 if test "x$host_alias" != x; then
2304 if test "x$build_alias" = x; then
2305 cross_compiling=maybe
2306 elif test "x$build_alias" != "x$host_alias"; then
2307 cross_compiling=yes
2311 ac_tool_prefix=
2312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2314 test "$silent" = yes && exec 6>/dev/null
2317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2318 ac_ls_di=`ls -di .` &&
2319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2320 as_fn_error $? "working directory cannot be determined"
2321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2322 as_fn_error $? "pwd does not report name of working directory"
2325 # Find the source files, if location was not specified.
2326 if test -z "$srcdir"; then
2327 ac_srcdir_defaulted=yes
2328 # Try the directory containing this script, then the parent directory.
2329 ac_confdir=`$as_dirname -- "$as_myself" ||
2330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2331 X"$as_myself" : 'X\(//\)[^/]' \| \
2332 X"$as_myself" : 'X\(//\)$' \| \
2333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2334 $as_echo X"$as_myself" |
2335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2336 s//\1/
2339 /^X\(\/\/\)[^/].*/{
2340 s//\1/
2343 /^X\(\/\/\)$/{
2344 s//\1/
2347 /^X\(\/\).*/{
2348 s//\1/
2351 s/.*/./; q'`
2352 srcdir=$ac_confdir
2353 if test ! -r "$srcdir/$ac_unique_file"; then
2354 srcdir=..
2356 else
2357 ac_srcdir_defaulted=no
2359 if test ! -r "$srcdir/$ac_unique_file"; then
2360 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2361 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2364 ac_abs_confdir=`(
2365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2366 pwd)`
2367 # When building in place, set srcdir=.
2368 if test "$ac_abs_confdir" = "$ac_pwd"; then
2369 srcdir=.
2371 # Remove unnecessary trailing slashes from srcdir.
2372 # Double slashes in file names in object file debugging info
2373 # mess up M-x gdb in Emacs.
2374 case $srcdir in
2375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2376 esac
2377 for ac_var in $ac_precious_vars; do
2378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2379 eval ac_env_${ac_var}_value=\$${ac_var}
2380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2382 done
2385 # Report the --help message.
2387 if test "$ac_init_help" = "long"; then
2388 # Omit some internal or obsolete options to make the list less imposing.
2389 # This message is too long to be a string in the A/UX 3.1 sh.
2390 cat <<_ACEOF
2391 \`configure' configures Wine 3.19 to adapt to many kinds of systems.
2393 Usage: $0 [OPTION]... [VAR=VALUE]...
2395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2396 VAR=VALUE. See below for descriptions of some of the useful variables.
2398 Defaults for the options are specified in brackets.
2400 Configuration:
2401 -h, --help display this help and exit
2402 --help=short display options specific to this package
2403 --help=recursive display the short help of all the included packages
2404 -V, --version display version information and exit
2405 -q, --quiet, --silent do not print \`checking ...' messages
2406 --cache-file=FILE cache test results in FILE [disabled]
2407 -C, --config-cache alias for \`--cache-file=config.cache'
2408 -n, --no-create do not create output files
2409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2411 Installation directories:
2412 --prefix=PREFIX install architecture-independent files in PREFIX
2413 [$ac_default_prefix]
2414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2415 [PREFIX]
2417 By default, \`make install' will install all the files in
2418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2420 for instance \`--prefix=\$HOME'.
2422 For better control, use the options below.
2424 Fine tuning of the installation directories:
2425 --bindir=DIR user executables [EPREFIX/bin]
2426 --sbindir=DIR system admin executables [EPREFIX/sbin]
2427 --libexecdir=DIR program executables [EPREFIX/libexec]
2428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2431 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2432 --libdir=DIR object code libraries [EPREFIX/lib]
2433 --includedir=DIR C header files [PREFIX/include]
2434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2437 --infodir=DIR info documentation [DATAROOTDIR/info]
2438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2439 --mandir=DIR man documentation [DATAROOTDIR/man]
2440 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2441 --htmldir=DIR html documentation [DOCDIR]
2442 --dvidir=DIR dvi documentation [DOCDIR]
2443 --pdfdir=DIR pdf documentation [DOCDIR]
2444 --psdir=DIR ps documentation [DOCDIR]
2445 _ACEOF
2447 cat <<\_ACEOF
2449 X features:
2450 --x-includes=DIR X include files are in DIR
2451 --x-libraries=DIR X library files are in DIR
2453 System types:
2454 --build=BUILD configure for building on BUILD [guessed]
2455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2456 _ACEOF
2459 if test -n "$ac_init_help"; then
2460 case $ac_init_help in
2461 short | recursive ) echo "Configuration of Wine 3.19:";;
2462 esac
2463 cat <<\_ACEOF
2465 Optional Features:
2466 --disable-option-checking ignore unrecognized --enable/--with options
2467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2469 --disable-win16 do not include Win16 support
2470 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2471 binaries)
2472 --disable-tests do not build the regression tests
2473 --enable-maintainer-mode
2474 enable maintainer-specific build rules
2475 --disable-largefile omit support for large files
2477 Optional Packages:
2478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2480 --without-alsa do not use the Alsa sound support
2481 --without-capi do not use CAPI (ISDN support)
2482 --without-cms do not use CMS (color management support)
2483 --without-coreaudio do not use the CoreAudio sound support
2484 --without-cups do not use CUPS
2485 --without-curses do not use (n)curses
2486 --without-dbus do not use DBus (dynamic device support)
2487 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2488 --without-fontconfig do not use fontconfig
2489 --without-freetype do not use the FreeType library
2490 --without-gettext do not use gettext
2491 --with-gettextpo use the GetTextPO library to rebuild po files
2492 --without-gphoto do not use gphoto (Digital Camera support)
2493 --without-glu do not use the GLU library
2494 --without-gnutls do not use GnuTLS (schannel support)
2495 --without-gsm do not use libgsm (GSM 06.10 codec support)
2496 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2497 --without-gstreamer do not use GStreamer (codecs support)
2498 --without-hal do not use HAL (dynamic device support)
2499 --without-jpeg do not use JPEG
2500 --without-krb5 do not use krb5 (Kerberos)
2501 --without-ldap do not use LDAP
2502 --without-mpg123 do not use the mpg123 library
2503 --without-netapi do not use the Samba NetAPI library
2504 --without-openal do not use OpenAL
2505 --without-opencl do not use OpenCL
2506 --without-opengl do not use OpenGL
2507 --without-osmesa do not use the OSMesa library
2508 --without-oss do not use the OSS sound support
2509 --without-pcap do not use the Packet Capture library
2510 --without-png do not use PNG
2511 --without-pthread do not use the pthread library
2512 --without-pulse do not use PulseAudio sound support
2513 --without-sane do not use SANE (scanner support)
2514 --without-sdl do not use SDL
2515 --without-tiff do not use TIFF
2516 --without-udev do not use udev (plug and play support)
2517 --without-v4l do not use v4l1 (v4l support)
2518 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2519 --without-vulkan do not use Vulkan
2520 --without-xcomposite do not use the Xcomposite extension
2521 --without-xcursor do not use the Xcursor extension
2522 --without-xfixes do not use Xfixes for clipboard change notifications
2523 --without-xinerama do not use Xinerama (multi-monitor support)
2524 --without-xinput do not use the Xinput extension
2525 --without-xinput2 do not use the Xinput 2 extension
2526 --without-xml do not use XML
2527 --without-xrandr do not use Xrandr (resolution changes)
2528 --without-xrender do not use the Xrender extension
2529 --without-xshape do not use the Xshape extension
2530 --without-xshm do not use XShm (shared memory extension)
2531 --without-xslt do not use XSLT
2532 --without-xxf86vm do not use XFree video mode extension
2533 --without-zlib do not use Zlib (data compression)
2534 --with-wine-tools=DIR use Wine tools from directory DIR
2535 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2536 --with-x use the X Window System
2538 Some influential environment variables:
2539 CC C compiler command
2540 CFLAGS C compiler flags
2541 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2542 nonstandard directory <lib dir>
2543 LIBS libraries to pass to the linker, e.g. -l<library>
2544 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2545 you have headers in a nonstandard directory <include dir>
2546 CXX C++ compiler command
2547 CXXFLAGS C++ compiler flags
2548 CPP C preprocessor
2549 OBJC Objective C compiler command
2550 OBJCFLAGS Objective C compiler flags
2551 OBJCPP Objective C preprocessor
2552 XMKMF Path to xmkmf, Makefile generator for X Window System
2553 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2554 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2555 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2556 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2557 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2558 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2559 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2560 HAL_LIBS Linker flags for hal, overriding pkg-config
2561 GNUTLS_CFLAGS
2562 C compiler flags for gnutls, overriding pkg-config
2563 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2564 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2565 SANE_LIBS Linker flags for libsane, overriding pkg-config
2566 GPHOTO2_CFLAGS
2567 C compiler flags for libgphoto2, overriding pkg-config
2568 GPHOTO2_LIBS
2569 Linker flags for libgphoto2, overriding pkg-config
2570 GPHOTO2_PORT_CFLAGS
2571 C compiler flags for libgphoto2_port, overriding pkg-config
2572 GPHOTO2_PORT_LIBS
2573 Linker flags for libgphoto2_port, overriding pkg-config
2574 LCMS2_CFLAGS
2575 C compiler flags for lcms2, overriding pkg-config
2576 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2577 FREETYPE_CFLAGS
2578 C compiler flags for freetype2, overriding pkg-config
2579 FREETYPE_LIBS
2580 Linker flags for freetype2, overriding pkg-config
2581 PULSE_CFLAGS
2582 C compiler flags for libpulse, overriding pkg-config
2583 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2584 GSTREAMER_CFLAGS
2585 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2586 gstreamer-audio-1.0, overriding pkg-config
2587 GSTREAMER_LIBS
2588 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2589 gstreamer-audio-1.0, overriding pkg-config
2590 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2591 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2592 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2593 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2594 CAPI20_CFLAGS
2595 C compiler flags for capi20, overriding pkg-config
2596 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2597 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2598 CUPS_LIBS Linker flags for cups, overriding pkg-config
2599 FONTCONFIG_CFLAGS
2600 C compiler flags for fontconfig, overriding pkg-config
2601 FONTCONFIG_LIBS
2602 Linker flags for fontconfig, overriding pkg-config
2603 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2604 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2605 GSSAPI_CFLAGS
2606 C compiler flags for krb5-gssapi, overriding pkg-config
2607 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2608 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2609 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2610 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2611 PNG_LIBS Linker flags for libpng, overriding pkg-config
2612 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2613 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2614 MPG123_CFLAGS
2615 C compiler flags for libmpg123, overriding pkg-config
2616 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2617 NETAPI_CFLAGS
2618 C compiler flags for netapi, overriding pkg-config
2619 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2620 VKD3D_CFLAGS
2621 C compiler flags for libvkd3d, overriding pkg-config
2622 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2623 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2624 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2626 Use these variables to override the choices made by `configure' or to help
2627 it to find libraries and programs with nonstandard names/locations.
2629 Report bugs to <wine-devel@winehq.org>.
2630 Wine home page: <https://www.winehq.org>.
2631 _ACEOF
2632 ac_status=$?
2635 if test "$ac_init_help" = "recursive"; then
2636 # If there are subdirs, report their specific --help.
2637 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2638 test -d "$ac_dir" ||
2639 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2640 continue
2641 ac_builddir=.
2643 case "$ac_dir" in
2644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2646 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2647 # A ".." for each directory in $ac_dir_suffix.
2648 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2649 case $ac_top_builddir_sub in
2650 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2651 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2652 esac ;;
2653 esac
2654 ac_abs_top_builddir=$ac_pwd
2655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2656 # for backward compatibility:
2657 ac_top_builddir=$ac_top_build_prefix
2659 case $srcdir in
2660 .) # We are building in place.
2661 ac_srcdir=.
2662 ac_top_srcdir=$ac_top_builddir_sub
2663 ac_abs_top_srcdir=$ac_pwd ;;
2664 [\\/]* | ?:[\\/]* ) # Absolute name.
2665 ac_srcdir=$srcdir$ac_dir_suffix;
2666 ac_top_srcdir=$srcdir
2667 ac_abs_top_srcdir=$srcdir ;;
2668 *) # Relative name.
2669 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2670 ac_top_srcdir=$ac_top_build_prefix$srcdir
2671 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2672 esac
2673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2675 cd "$ac_dir" || { ac_status=$?; continue; }
2676 # Check for guested configure.
2677 if test -f "$ac_srcdir/configure.gnu"; then
2678 echo &&
2679 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2680 elif test -f "$ac_srcdir/configure"; then
2681 echo &&
2682 $SHELL "$ac_srcdir/configure" --help=recursive
2683 else
2684 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2685 fi || ac_status=$?
2686 cd "$ac_pwd" || { ac_status=$?; break; }
2687 done
2690 test -n "$ac_init_help" && exit $ac_status
2691 if $ac_init_version; then
2692 cat <<\_ACEOF
2693 Wine configure 3.19
2694 generated by GNU Autoconf 2.69
2696 Copyright (C) 2012 Free Software Foundation, Inc.
2697 This configure script is free software; the Free Software Foundation
2698 gives unlimited permission to copy, distribute and modify it.
2699 _ACEOF
2700 exit
2703 ## ------------------------ ##
2704 ## Autoconf initialization. ##
2705 ## ------------------------ ##
2707 # ac_fn_c_try_compile LINENO
2708 # --------------------------
2709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2710 ac_fn_c_try_compile ()
2712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2713 rm -f conftest.$ac_objext
2714 if { { ac_try="$ac_compile"
2715 case "(($ac_try" in
2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2717 *) ac_try_echo=$ac_try;;
2718 esac
2719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2720 $as_echo "$ac_try_echo"; } >&5
2721 (eval "$ac_compile") 2>conftest.err
2722 ac_status=$?
2723 if test -s conftest.err; then
2724 grep -v '^ *+' conftest.err >conftest.er1
2725 cat conftest.er1 >&5
2726 mv -f conftest.er1 conftest.err
2728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2729 test $ac_status = 0; } && {
2730 test -z "$ac_c_werror_flag" ||
2731 test ! -s conftest.err
2732 } && test -s conftest.$ac_objext; then :
2733 ac_retval=0
2734 else
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 ac_retval=1
2740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2741 as_fn_set_status $ac_retval
2743 } # ac_fn_c_try_compile
2745 # ac_fn_cxx_try_compile LINENO
2746 # ----------------------------
2747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2748 ac_fn_cxx_try_compile ()
2750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2751 rm -f conftest.$ac_objext
2752 if { { ac_try="$ac_compile"
2753 case "(($ac_try" in
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2756 esac
2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2758 $as_echo "$ac_try_echo"; } >&5
2759 (eval "$ac_compile") 2>conftest.err
2760 ac_status=$?
2761 if test -s conftest.err; then
2762 grep -v '^ *+' conftest.err >conftest.er1
2763 cat conftest.er1 >&5
2764 mv -f conftest.er1 conftest.err
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; } && {
2768 test -z "$ac_cxx_werror_flag" ||
2769 test ! -s conftest.err
2770 } && test -s conftest.$ac_objext; then :
2771 ac_retval=0
2772 else
2773 $as_echo "$as_me: failed program was:" >&5
2774 sed 's/^/| /' conftest.$ac_ext >&5
2776 ac_retval=1
2778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 as_fn_set_status $ac_retval
2781 } # ac_fn_cxx_try_compile
2783 # ac_fn_c_try_link LINENO
2784 # -----------------------
2785 # Try to link conftest.$ac_ext, and return whether this succeeded.
2786 ac_fn_c_try_link ()
2788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2789 rm -f conftest.$ac_objext conftest$ac_exeext
2790 if { { ac_try="$ac_link"
2791 case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2794 esac
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 $as_echo "$ac_try_echo"; } >&5
2797 (eval "$ac_link") 2>conftest.err
2798 ac_status=$?
2799 if test -s conftest.err; then
2800 grep -v '^ *+' conftest.err >conftest.er1
2801 cat conftest.er1 >&5
2802 mv -f conftest.er1 conftest.err
2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; } && {
2806 test -z "$ac_c_werror_flag" ||
2807 test ! -s conftest.err
2808 } && test -s conftest$ac_exeext && {
2809 test "$cross_compiling" = yes ||
2810 test -x conftest$ac_exeext
2811 }; then :
2812 ac_retval=0
2813 else
2814 $as_echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 ac_retval=1
2819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2821 # interfere with the next link command; also delete a directory that is
2822 # left behind by Apple's compiler. We do this before executing the actions.
2823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2825 as_fn_set_status $ac_retval
2827 } # ac_fn_c_try_link
2829 # ac_fn_c_try_cpp LINENO
2830 # ----------------------
2831 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2832 ac_fn_c_try_cpp ()
2834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2835 if { { ac_try="$ac_cpp conftest.$ac_ext"
2836 case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2839 esac
2840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2841 $as_echo "$ac_try_echo"; } >&5
2842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2843 ac_status=$?
2844 if test -s conftest.err; then
2845 grep -v '^ *+' conftest.err >conftest.er1
2846 cat conftest.er1 >&5
2847 mv -f conftest.er1 conftest.err
2849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2850 test $ac_status = 0; } > conftest.i && {
2851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2852 test ! -s conftest.err
2853 }; then :
2854 ac_retval=0
2855 else
2856 $as_echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2859 ac_retval=1
2861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 as_fn_set_status $ac_retval
2864 } # ac_fn_c_try_cpp
2866 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2867 # -------------------------------------------------------
2868 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2869 # the include files in INCLUDES and setting the cache variable VAR
2870 # accordingly.
2871 ac_fn_c_check_header_mongrel ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 if eval \${$3+:} false; then :
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2876 $as_echo_n "checking for $2... " >&6; }
2877 if eval \${$3+:} false; then :
2878 $as_echo_n "(cached) " >&6
2880 eval ac_res=\$$3
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2882 $as_echo "$ac_res" >&6; }
2883 else
2884 # Is the header compilable?
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2886 $as_echo_n "checking $2 usability... " >&6; }
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2890 #include <$2>
2891 _ACEOF
2892 if ac_fn_c_try_compile "$LINENO"; then :
2893 ac_header_compiler=yes
2894 else
2895 ac_header_compiler=no
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2899 $as_echo "$ac_header_compiler" >&6; }
2901 # Is the header present?
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2903 $as_echo_n "checking $2 presence... " >&6; }
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2906 #include <$2>
2907 _ACEOF
2908 if ac_fn_c_try_cpp "$LINENO"; then :
2909 ac_header_preproc=yes
2910 else
2911 ac_header_preproc=no
2913 rm -f conftest.err conftest.i conftest.$ac_ext
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2915 $as_echo "$ac_header_preproc" >&6; }
2917 # So? What about this header?
2918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2919 yes:no: )
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2921 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2923 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2925 no:yes:* )
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2927 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2929 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2931 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2933 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2936 ( $as_echo "## ------------------------------------ ##
2937 ## Report this to wine-devel@winehq.org ##
2938 ## ------------------------------------ ##"
2939 ) | sed "s/^/$as_me: WARNING: /" >&2
2941 esac
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \${$3+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 eval "$3=\$ac_header_compiler"
2949 eval ac_res=\$$3
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2951 $as_echo "$ac_res" >&6; }
2953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2955 } # ac_fn_c_check_header_mongrel
2957 # ac_fn_c_try_run LINENO
2958 # ----------------------
2959 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2960 # that executables *can* be run.
2961 ac_fn_c_try_run ()
2963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2964 if { { ac_try="$ac_link"
2965 case "(($ac_try" in
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2968 esac
2969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970 $as_echo "$ac_try_echo"; } >&5
2971 (eval "$ac_link") 2>&5
2972 ac_status=$?
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2975 { { case "(($ac_try" in
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2978 esac
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 $as_echo "$ac_try_echo"; } >&5
2981 (eval "$ac_try") 2>&5
2982 ac_status=$?
2983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2984 test $ac_status = 0; }; }; then :
2985 ac_retval=0
2986 else
2987 $as_echo "$as_me: program exited with status $ac_status" >&5
2988 $as_echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2991 ac_retval=$ac_status
2993 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2995 as_fn_set_status $ac_retval
2997 } # ac_fn_c_try_run
2999 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3000 # -------------------------------------------------------
3001 # Tests whether HEADER exists and can be compiled using the include files in
3002 # INCLUDES, setting the cache variable VAR accordingly.
3003 ac_fn_c_check_header_compile ()
3005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3007 $as_echo_n "checking for $2... " >&6; }
3008 if eval \${$3+:} false; then :
3009 $as_echo_n "(cached) " >&6
3010 else
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3014 #include <$2>
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"; then :
3017 eval "$3=yes"
3018 else
3019 eval "$3=no"
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 eval ac_res=\$$3
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3025 $as_echo "$ac_res" >&6; }
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3028 } # ac_fn_c_check_header_compile
3030 # ac_fn_objc_try_compile LINENO
3031 # -----------------------------
3032 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3033 ac_fn_objc_try_compile ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 rm -f conftest.$ac_objext
3037 if { { ac_try="$ac_compile"
3038 case "(($ac_try" in
3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 *) ac_try_echo=$ac_try;;
3041 esac
3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3043 $as_echo "$ac_try_echo"; } >&5
3044 (eval "$ac_compile") 2>conftest.err
3045 ac_status=$?
3046 if test -s conftest.err; then
3047 grep -v '^ *+' conftest.err >conftest.er1
3048 cat conftest.er1 >&5
3049 mv -f conftest.er1 conftest.err
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; } && {
3053 test -z "$ac_objc_werror_flag" ||
3054 test ! -s conftest.err
3055 } && test -s conftest.$ac_objext; then :
3056 ac_retval=0
3057 else
3058 $as_echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3061 ac_retval=1
3063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064 as_fn_set_status $ac_retval
3066 } # ac_fn_objc_try_compile
3068 # ac_fn_objc_try_cpp LINENO
3069 # -------------------------
3070 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3071 ac_fn_objc_try_cpp ()
3073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3074 if { { ac_try="$ac_cpp conftest.$ac_ext"
3075 case "(($ac_try" in
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3078 esac
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3082 ac_status=$?
3083 if test -s conftest.err; then
3084 grep -v '^ *+' conftest.err >conftest.er1
3085 cat conftest.er1 >&5
3086 mv -f conftest.er1 conftest.err
3088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089 test $ac_status = 0; } > conftest.i && {
3090 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3091 test ! -s conftest.err
3092 }; then :
3093 ac_retval=0
3094 else
3095 $as_echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3098 ac_retval=1
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3101 as_fn_set_status $ac_retval
3103 } # ac_fn_objc_try_cpp
3105 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3106 # ----------------------------------------------------------
3107 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3108 # the include files in INCLUDES and setting the cache variable VAR
3109 # accordingly.
3110 ac_fn_objc_check_header_mongrel ()
3112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3113 if eval \${$3+:} false; then :
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3115 $as_echo_n "checking for $2... " >&6; }
3116 if eval \${$3+:} false; then :
3117 $as_echo_n "(cached) " >&6
3119 eval ac_res=\$$3
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3121 $as_echo "$ac_res" >&6; }
3122 else
3123 # Is the header compilable?
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3125 $as_echo_n "checking $2 usability... " >&6; }
3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h. */
3129 #include <$2>
3130 _ACEOF
3131 if ac_fn_objc_try_compile "$LINENO"; then :
3132 ac_header_compiler=yes
3133 else
3134 ac_header_compiler=no
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3138 $as_echo "$ac_header_compiler" >&6; }
3140 # Is the header present?
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3142 $as_echo_n "checking $2 presence... " >&6; }
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3145 #include <$2>
3146 _ACEOF
3147 if ac_fn_objc_try_cpp "$LINENO"; then :
3148 ac_header_preproc=yes
3149 else
3150 ac_header_preproc=no
3152 rm -f conftest.err conftest.i conftest.$ac_ext
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3154 $as_echo "$ac_header_preproc" >&6; }
3156 # So? What about this header?
3157 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3158 yes:no: )
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3160 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3162 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3164 no:yes:* )
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3166 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3168 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3170 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3172 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3175 ( $as_echo "## ------------------------------------ ##
3176 ## Report this to wine-devel@winehq.org ##
3177 ## ------------------------------------ ##"
3178 ) | sed "s/^/$as_me: WARNING: /" >&2
3180 esac
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3182 $as_echo_n "checking for $2... " >&6; }
3183 if eval \${$3+:} false; then :
3184 $as_echo_n "(cached) " >&6
3185 else
3186 eval "$3=\$ac_header_compiler"
3188 eval ac_res=\$$3
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3190 $as_echo "$ac_res" >&6; }
3192 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3194 } # ac_fn_objc_check_header_mongrel
3196 # ac_fn_c_check_func LINENO FUNC VAR
3197 # ----------------------------------
3198 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3199 ac_fn_c_check_func ()
3201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3203 $as_echo_n "checking for $2... " >&6; }
3204 if eval \${$3+:} false; then :
3205 $as_echo_n "(cached) " >&6
3206 else
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3209 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3211 #define $2 innocuous_$2
3213 /* System header to define __stub macros and hopefully few prototypes,
3214 which can conflict with char $2 (); below.
3215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3216 <limits.h> exists even on freestanding compilers. */
3218 #ifdef __STDC__
3219 # include <limits.h>
3220 #else
3221 # include <assert.h>
3222 #endif
3224 #undef $2
3226 /* Override any GCC internal prototype to avoid an error.
3227 Use char because int might match the return type of a GCC
3228 builtin and then its argument prototype would still apply. */
3229 #ifdef __cplusplus
3230 extern "C"
3231 #endif
3232 char $2 ();
3233 /* The GNU C library defines this for functions which it implements
3234 to always fail with ENOSYS. Some functions are actually named
3235 something starting with __ and the normal name is an alias. */
3236 #if defined __stub_$2 || defined __stub___$2
3237 choke me
3238 #endif
3241 main ()
3243 return $2 ();
3245 return 0;
3247 _ACEOF
3248 if ac_fn_c_try_link "$LINENO"; then :
3249 eval "$3=yes"
3250 else
3251 eval "$3=no"
3253 rm -f core conftest.err conftest.$ac_objext \
3254 conftest$ac_exeext conftest.$ac_ext
3256 eval ac_res=\$$3
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3258 $as_echo "$ac_res" >&6; }
3259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3261 } # ac_fn_c_check_func
3263 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3264 # ----------------------------------------------------
3265 # Tries to find if the field MEMBER exists in type AGGR, after including
3266 # INCLUDES, setting cache variable VAR accordingly.
3267 ac_fn_c_check_member ()
3269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3271 $as_echo_n "checking for $2.$3... " >&6; }
3272 if eval \${$4+:} false; then :
3273 $as_echo_n "(cached) " >&6
3274 else
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3279 main ()
3281 static $2 ac_aggr;
3282 if (ac_aggr.$3)
3283 return 0;
3285 return 0;
3287 _ACEOF
3288 if ac_fn_c_try_compile "$LINENO"; then :
3289 eval "$4=yes"
3290 else
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3295 main ()
3297 static $2 ac_aggr;
3298 if (sizeof ac_aggr.$3)
3299 return 0;
3301 return 0;
3303 _ACEOF
3304 if ac_fn_c_try_compile "$LINENO"; then :
3305 eval "$4=yes"
3306 else
3307 eval "$4=no"
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 eval ac_res=\$$4
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3315 $as_echo "$ac_res" >&6; }
3316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3318 } # ac_fn_c_check_member
3320 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3321 # -------------------------------------------
3322 # Tests whether TYPE exists after having included INCLUDES, setting cache
3323 # variable VAR accordingly.
3324 ac_fn_c_check_type ()
3326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3328 $as_echo_n "checking for $2... " >&6; }
3329 if eval \${$3+:} false; then :
3330 $as_echo_n "(cached) " >&6
3331 else
3332 eval "$3=no"
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3337 main ()
3339 if (sizeof ($2))
3340 return 0;
3342 return 0;
3344 _ACEOF
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3350 main ()
3352 if (sizeof (($2)))
3353 return 0;
3355 return 0;
3357 _ACEOF
3358 if ac_fn_c_try_compile "$LINENO"; then :
3360 else
3361 eval "$3=yes"
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 eval ac_res=\$$3
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3369 $as_echo "$ac_res" >&6; }
3370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3372 } # ac_fn_c_check_type
3373 cat >config.log <<_ACEOF
3374 This file contains any messages produced by compilers while
3375 running configure, to aid debugging if configure makes a mistake.
3377 It was created by Wine $as_me 3.19, which was
3378 generated by GNU Autoconf 2.69. Invocation command line was
3380 $ $0 $@
3382 _ACEOF
3383 exec 5>>config.log
3385 cat <<_ASUNAME
3386 ## --------- ##
3387 ## Platform. ##
3388 ## --------- ##
3390 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3391 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3392 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3393 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3394 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3396 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3397 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3399 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3400 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3401 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3402 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3403 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3404 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3405 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3407 _ASUNAME
3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410 for as_dir in $PATH
3412 IFS=$as_save_IFS
3413 test -z "$as_dir" && as_dir=.
3414 $as_echo "PATH: $as_dir"
3415 done
3416 IFS=$as_save_IFS
3418 } >&5
3420 cat >&5 <<_ACEOF
3423 ## ----------- ##
3424 ## Core tests. ##
3425 ## ----------- ##
3427 _ACEOF
3430 # Keep a trace of the command line.
3431 # Strip out --no-create and --no-recursion so they do not pile up.
3432 # Strip out --silent because we don't want to record it for future runs.
3433 # Also quote any args containing shell meta-characters.
3434 # Make two passes to allow for proper duplicate-argument suppression.
3435 ac_configure_args=
3436 ac_configure_args0=
3437 ac_configure_args1=
3438 ac_must_keep_next=false
3439 for ac_pass in 1 2
3441 for ac_arg
3443 case $ac_arg in
3444 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3445 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3446 | -silent | --silent | --silen | --sile | --sil)
3447 continue ;;
3448 *\'*)
3449 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3450 esac
3451 case $ac_pass in
3452 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3454 as_fn_append ac_configure_args1 " '$ac_arg'"
3455 if test $ac_must_keep_next = true; then
3456 ac_must_keep_next=false # Got value, back to normal.
3457 else
3458 case $ac_arg in
3459 *=* | --config-cache | -C | -disable-* | --disable-* \
3460 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3461 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3462 | -with-* | --with-* | -without-* | --without-* | --x)
3463 case "$ac_configure_args0 " in
3464 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3465 esac
3467 -* ) ac_must_keep_next=true ;;
3468 esac
3470 as_fn_append ac_configure_args " '$ac_arg'"
3472 esac
3473 done
3474 done
3475 { ac_configure_args0=; unset ac_configure_args0;}
3476 { ac_configure_args1=; unset ac_configure_args1;}
3478 # When interrupted or exit'd, cleanup temporary files, and complete
3479 # config.log. We remove comments because anyway the quotes in there
3480 # would cause problems or look ugly.
3481 # WARNING: Use '\'' to represent an apostrophe within the trap.
3482 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3483 trap 'exit_status=$?
3484 # Save into config.log some information that might help in debugging.
3486 echo
3488 $as_echo "## ---------------- ##
3489 ## Cache variables. ##
3490 ## ---------------- ##"
3491 echo
3492 # The following way of writing the cache mishandles newlines in values,
3494 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3495 eval ac_val=\$$ac_var
3496 case $ac_val in #(
3497 *${as_nl}*)
3498 case $ac_var in #(
3499 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3500 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3501 esac
3502 case $ac_var in #(
3503 _ | IFS | as_nl) ;; #(
3504 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3505 *) { eval $ac_var=; unset $ac_var;} ;;
3506 esac ;;
3507 esac
3508 done
3509 (set) 2>&1 |
3510 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3511 *${as_nl}ac_space=\ *)
3512 sed -n \
3513 "s/'\''/'\''\\\\'\'''\''/g;
3514 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3515 ;; #(
3517 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3519 esac |
3520 sort
3522 echo
3524 $as_echo "## ----------------- ##
3525 ## Output variables. ##
3526 ## ----------------- ##"
3527 echo
3528 for ac_var in $ac_subst_vars
3530 eval ac_val=\$$ac_var
3531 case $ac_val in
3532 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3533 esac
3534 $as_echo "$ac_var='\''$ac_val'\''"
3535 done | sort
3536 echo
3538 if test -n "$ac_subst_files"; then
3539 $as_echo "## ------------------- ##
3540 ## File substitutions. ##
3541 ## ------------------- ##"
3542 echo
3543 for ac_var in $ac_subst_files
3545 eval ac_val=\$$ac_var
3546 case $ac_val in
3547 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3548 esac
3549 $as_echo "$ac_var='\''$ac_val'\''"
3550 done | sort
3551 echo
3554 if test -s confdefs.h; then
3555 $as_echo "## ----------- ##
3556 ## confdefs.h. ##
3557 ## ----------- ##"
3558 echo
3559 cat confdefs.h
3560 echo
3562 test "$ac_signal" != 0 &&
3563 $as_echo "$as_me: caught signal $ac_signal"
3564 $as_echo "$as_me: exit $exit_status"
3565 } >&5
3566 rm -f core *.core core.conftest.* &&
3567 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3568 exit $exit_status
3570 for ac_signal in 1 2 13 15; do
3571 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3572 done
3573 ac_signal=0
3575 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3576 rm -f -r conftest* confdefs.h
3578 $as_echo "/* confdefs.h */" > confdefs.h
3580 # Predefined preprocessor variables.
3582 cat >>confdefs.h <<_ACEOF
3583 #define PACKAGE_NAME "$PACKAGE_NAME"
3584 _ACEOF
3586 cat >>confdefs.h <<_ACEOF
3587 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3588 _ACEOF
3590 cat >>confdefs.h <<_ACEOF
3591 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3592 _ACEOF
3594 cat >>confdefs.h <<_ACEOF
3595 #define PACKAGE_STRING "$PACKAGE_STRING"
3596 _ACEOF
3598 cat >>confdefs.h <<_ACEOF
3599 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3600 _ACEOF
3602 cat >>confdefs.h <<_ACEOF
3603 #define PACKAGE_URL "$PACKAGE_URL"
3604 _ACEOF
3607 # Let the site file select an alternate cache file if it wants to.
3608 # Prefer an explicitly selected file to automatically selected ones.
3609 ac_site_file1=NONE
3610 ac_site_file2=NONE
3611 if test -n "$CONFIG_SITE"; then
3612 # We do not want a PATH search for config.site.
3613 case $CONFIG_SITE in #((
3614 -*) ac_site_file1=./$CONFIG_SITE;;
3615 */*) ac_site_file1=$CONFIG_SITE;;
3616 *) ac_site_file1=./$CONFIG_SITE;;
3617 esac
3618 elif test "x$prefix" != xNONE; then
3619 ac_site_file1=$prefix/share/config.site
3620 ac_site_file2=$prefix/etc/config.site
3621 else
3622 ac_site_file1=$ac_default_prefix/share/config.site
3623 ac_site_file2=$ac_default_prefix/etc/config.site
3625 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3627 test "x$ac_site_file" = xNONE && continue
3628 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3630 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3631 sed 's/^/| /' "$ac_site_file" >&5
3632 . "$ac_site_file" \
3633 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635 as_fn_error $? "failed to load site script $ac_site_file
3636 See \`config.log' for more details" "$LINENO" 5; }
3638 done
3640 if test -r "$cache_file"; then
3641 # Some versions of bash will fail to source /dev/null (special files
3642 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3643 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3645 $as_echo "$as_me: loading cache $cache_file" >&6;}
3646 case $cache_file in
3647 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3648 *) . "./$cache_file";;
3649 esac
3651 else
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3653 $as_echo "$as_me: creating cache $cache_file" >&6;}
3654 >$cache_file
3657 # Check that the precious variables saved in the cache have kept the same
3658 # value.
3659 ac_cache_corrupted=false
3660 for ac_var in $ac_precious_vars; do
3661 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3662 eval ac_new_set=\$ac_env_${ac_var}_set
3663 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3664 eval ac_new_val=\$ac_env_${ac_var}_value
3665 case $ac_old_set,$ac_new_set in
3666 set,)
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3668 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3669 ac_cache_corrupted=: ;;
3670 ,set)
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3672 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3673 ac_cache_corrupted=: ;;
3674 ,);;
3676 if test "x$ac_old_val" != "x$ac_new_val"; then
3677 # differences in whitespace do not lead to failure.
3678 ac_old_val_w=`echo x $ac_old_val`
3679 ac_new_val_w=`echo x $ac_new_val`
3680 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3682 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3683 ac_cache_corrupted=:
3684 else
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3686 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3687 eval $ac_var=\$ac_old_val
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3690 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3692 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3693 fi;;
3694 esac
3695 # Pass precious variables to config.status.
3696 if test "$ac_new_set" = set; then
3697 case $ac_new_val in
3698 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3699 *) ac_arg=$ac_var=$ac_new_val ;;
3700 esac
3701 case " $ac_configure_args " in
3702 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3703 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3704 esac
3706 done
3707 if $ac_cache_corrupted; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3711 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3712 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3714 ## -------------------- ##
3715 ## Main body of script. ##
3716 ## -------------------- ##
3718 ac_ext=c
3719 ac_cpp='$CPP $CPPFLAGS'
3720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3726 ac_config_headers="$ac_config_headers include/config.h"
3728 ac_aux_dir=
3729 for ac_dir in tools "$srcdir"/tools; do
3730 if test -f "$ac_dir/install-sh"; then
3731 ac_aux_dir=$ac_dir
3732 ac_install_sh="$ac_aux_dir/install-sh -c"
3733 break
3734 elif test -f "$ac_dir/install.sh"; then
3735 ac_aux_dir=$ac_dir
3736 ac_install_sh="$ac_aux_dir/install.sh -c"
3737 break
3738 elif test -f "$ac_dir/shtool"; then
3739 ac_aux_dir=$ac_dir
3740 ac_install_sh="$ac_aux_dir/shtool install -c"
3741 break
3743 done
3744 if test -z "$ac_aux_dir"; then
3745 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3748 # These three variables are undocumented and unsupported,
3749 # and are intended to be withdrawn in a future Autoconf release.
3750 # They can cause serious problems if a builder's source tree is in a directory
3751 # whose full name contains unusual characters.
3752 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3753 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3754 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3758 libwine_version="1.0"
3762 # Check whether --enable-win16 was given.
3763 if test "${enable_win16+set}" = set; then :
3764 enableval=$enable_win16;
3767 # Check whether --enable-win64 was given.
3768 if test "${enable_win64+set}" = set; then :
3769 enableval=$enable_win64;
3772 # Check whether --enable-tests was given.
3773 if test "${enable_tests+set}" = set; then :
3774 enableval=$enable_tests;
3777 # Check whether --enable-maintainer-mode was given.
3778 if test "${enable_maintainer_mode+set}" = set; then :
3779 enableval=$enable_maintainer_mode;
3784 # Check whether --with-alsa was given.
3785 if test "${with_alsa+set}" = set; then :
3786 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3790 # Check whether --with-capi was given.
3791 if test "${with_capi+set}" = set; then :
3792 withval=$with_capi;
3796 # Check whether --with-cms was given.
3797 if test "${with_cms+set}" = set; then :
3798 withval=$with_cms;
3802 # Check whether --with-coreaudio was given.
3803 if test "${with_coreaudio+set}" = set; then :
3804 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3808 # Check whether --with-cups was given.
3809 if test "${with_cups+set}" = set; then :
3810 withval=$with_cups;
3814 # Check whether --with-curses was given.
3815 if test "${with_curses+set}" = set; then :
3816 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3820 # Check whether --with-dbus was given.
3821 if test "${with_dbus+set}" = set; then :
3822 withval=$with_dbus;
3826 # Check whether --with-float-abi was given.
3827 if test "${with_float_abi+set}" = set; then :
3828 withval=$with_float_abi;
3832 # Check whether --with-fontconfig was given.
3833 if test "${with_fontconfig+set}" = set; then :
3834 withval=$with_fontconfig;
3838 # Check whether --with-freetype was given.
3839 if test "${with_freetype+set}" = set; then :
3840 withval=$with_freetype;
3844 # Check whether --with-gettext was given.
3845 if test "${with_gettext+set}" = set; then :
3846 withval=$with_gettext;
3850 # Check whether --with-gettextpo was given.
3851 if test "${with_gettextpo+set}" = set; then :
3852 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3856 # Check whether --with-gphoto was given.
3857 if test "${with_gphoto+set}" = set; then :
3858 withval=$with_gphoto;
3862 # Check whether --with-glu was given.
3863 if test "${with_glu+set}" = set; then :
3864 withval=$with_glu;
3868 # Check whether --with-gnutls was given.
3869 if test "${with_gnutls+set}" = set; then :
3870 withval=$with_gnutls;
3874 # Check whether --with-gsm was given.
3875 if test "${with_gsm+set}" = set; then :
3876 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3880 # Check whether --with-gssapi was given.
3881 if test "${with_gssapi+set}" = set; then :
3882 withval=$with_gssapi;
3886 # Check whether --with-gstreamer was given.
3887 if test "${with_gstreamer+set}" = set; then :
3888 withval=$with_gstreamer;
3892 # Check whether --with-hal was given.
3893 if test "${with_hal+set}" = set; then :
3894 withval=$with_hal;
3898 # Check whether --with-jpeg was given.
3899 if test "${with_jpeg+set}" = set; then :
3900 withval=$with_jpeg;
3904 # Check whether --with-krb5 was given.
3905 if test "${with_krb5+set}" = set; then :
3906 withval=$with_krb5;
3910 # Check whether --with-ldap was given.
3911 if test "${with_ldap+set}" = set; then :
3912 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3916 # Check whether --with-mpg123 was given.
3917 if test "${with_mpg123+set}" = set; then :
3918 withval=$with_mpg123;
3922 # Check whether --with-netapi was given.
3923 if test "${with_netapi+set}" = set; then :
3924 withval=$with_netapi;
3928 # Check whether --with-openal was given.
3929 if test "${with_openal+set}" = set; then :
3930 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3934 # Check whether --with-opencl was given.
3935 if test "${with_opencl+set}" = set; then :
3936 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3940 # Check whether --with-opengl was given.
3941 if test "${with_opengl+set}" = set; then :
3942 withval=$with_opengl;
3946 # Check whether --with-osmesa was given.
3947 if test "${with_osmesa+set}" = set; then :
3948 withval=$with_osmesa;
3952 # Check whether --with-oss was given.
3953 if test "${with_oss+set}" = set; then :
3954 withval=$with_oss;
3958 # Check whether --with-pcap was given.
3959 if test "${with_pcap+set}" = set; then :
3960 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3964 # Check whether --with-png was given.
3965 if test "${with_png+set}" = set; then :
3966 withval=$with_png;
3970 # Check whether --with-pthread was given.
3971 if test "${with_pthread+set}" = set; then :
3972 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3976 # Check whether --with-pulse was given.
3977 if test "${with_pulse+set}" = set; then :
3978 withval=$with_pulse;
3982 # Check whether --with-sane was given.
3983 if test "${with_sane+set}" = set; then :
3984 withval=$with_sane;
3988 # Check whether --with-sdl was given.
3989 if test "${with_sdl+set}" = set; then :
3990 withval=$with_sdl;
3994 # Check whether --with-tiff was given.
3995 if test "${with_tiff+set}" = set; then :
3996 withval=$with_tiff;
4000 # Check whether --with-udev was given.
4001 if test "${with_udev+set}" = set; then :
4002 withval=$with_udev;
4006 # Check whether --with-v4l was given.
4007 if test "${with_v4l+set}" = set; then :
4008 withval=$with_v4l;
4012 # Check whether --with-vkd3d was given.
4013 if test "${with_vkd3d+set}" = set; then :
4014 withval=$with_vkd3d;
4018 # Check whether --with-vulkan was given.
4019 if test "${with_vulkan+set}" = set; then :
4020 withval=$with_vulkan;
4024 # Check whether --with-xcomposite was given.
4025 if test "${with_xcomposite+set}" = set; then :
4026 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4030 # Check whether --with-xcursor was given.
4031 if test "${with_xcursor+set}" = set; then :
4032 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4036 # Check whether --with-xfixes was given.
4037 if test "${with_xfixes+set}" = set; then :
4038 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4042 # Check whether --with-xinerama was given.
4043 if test "${with_xinerama+set}" = set; then :
4044 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4048 # Check whether --with-xinput was given.
4049 if test "${with_xinput+set}" = set; then :
4050 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4054 # Check whether --with-xinput2 was given.
4055 if test "${with_xinput2+set}" = set; then :
4056 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4060 # Check whether --with-xml was given.
4061 if test "${with_xml+set}" = set; then :
4062 withval=$with_xml;
4066 # Check whether --with-xrandr was given.
4067 if test "${with_xrandr+set}" = set; then :
4068 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4072 # Check whether --with-xrender was given.
4073 if test "${with_xrender+set}" = set; then :
4074 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4078 # Check whether --with-xshape was given.
4079 if test "${with_xshape+set}" = set; then :
4080 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4084 # Check whether --with-xshm was given.
4085 if test "${with_xshm+set}" = set; then :
4086 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4090 # Check whether --with-xslt was given.
4091 if test "${with_xslt+set}" = set; then :
4092 withval=$with_xslt;
4096 # Check whether --with-xxf86vm was given.
4097 if test "${with_xxf86vm+set}" = set; then :
4098 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
4102 # Check whether --with-zlib was given.
4103 if test "${with_zlib+set}" = set; then :
4104 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4109 # Check whether --with-wine-tools was given.
4110 if test "${with_wine_tools+set}" = set; then :
4111 withval=$with_wine_tools;
4115 # Check whether --with-wine64 was given.
4116 if test "${with_wine64+set}" = set; then :
4117 withval=$with_wine64;
4121 # Make sure we can run config.sub.
4122 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4123 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4126 $as_echo_n "checking build system type... " >&6; }
4127 if ${ac_cv_build+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 ac_build_alias=$build_alias
4131 test "x$ac_build_alias" = x &&
4132 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4133 test "x$ac_build_alias" = x &&
4134 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4135 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4136 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4140 $as_echo "$ac_cv_build" >&6; }
4141 case $ac_cv_build in
4142 *-*-*) ;;
4143 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4144 esac
4145 build=$ac_cv_build
4146 ac_save_IFS=$IFS; IFS='-'
4147 set x $ac_cv_build
4148 shift
4149 build_cpu=$1
4150 build_vendor=$2
4151 shift; shift
4152 # Remember, the first character of IFS is used to create $*,
4153 # except with old shells:
4154 build_os=$*
4155 IFS=$ac_save_IFS
4156 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4160 $as_echo_n "checking host system type... " >&6; }
4161 if ${ac_cv_host+:} false; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 if test "x$host_alias" = x; then
4165 ac_cv_host=$ac_cv_build
4166 else
4167 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4168 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4173 $as_echo "$ac_cv_host" >&6; }
4174 case $ac_cv_host in
4175 *-*-*) ;;
4176 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4177 esac
4178 host=$ac_cv_host
4179 ac_save_IFS=$IFS; IFS='-'
4180 set x $ac_cv_host
4181 shift
4182 host_cpu=$1
4183 host_vendor=$2
4184 shift; shift
4185 # Remember, the first character of IFS is used to create $*,
4186 # except with old shells:
4187 host_os=$*
4188 IFS=$ac_save_IFS
4189 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4193 case "$srcdir" in
4194 .) ;;
4195 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4196 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4197 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4198 fi ;;
4199 esac
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4203 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4204 set x ${MAKE-make}
4205 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4206 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4207 $as_echo_n "(cached) " >&6
4208 else
4209 cat >conftest.make <<\_ACEOF
4210 SHELL = /bin/sh
4211 all:
4212 @echo '@@@%%%=$(MAKE)=@@@%%%'
4213 _ACEOF
4214 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4215 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4216 *@@@%%%=?*=@@@%%%*)
4217 eval ac_cv_prog_make_${ac_make}_set=yes;;
4219 eval ac_cv_prog_make_${ac_make}_set=no;;
4220 esac
4221 rm -f conftest.make
4223 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4225 $as_echo "yes" >&6; }
4226 SET_MAKE=
4227 else
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4229 $as_echo "no" >&6; }
4230 SET_MAKE="MAKE=${MAKE-make}"
4233 ac_ext=c
4234 ac_cpp='$CPP $CPPFLAGS'
4235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4238 if test -n "$ac_tool_prefix"; then
4239 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4240 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4242 $as_echo_n "checking for $ac_word... " >&6; }
4243 if ${ac_cv_prog_CC+:} false; then :
4244 $as_echo_n "(cached) " >&6
4245 else
4246 if test -n "$CC"; then
4247 ac_cv_prog_CC="$CC" # Let the user override the test.
4248 else
4249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4250 for as_dir in $PATH
4252 IFS=$as_save_IFS
4253 test -z "$as_dir" && as_dir=.
4254 for ac_exec_ext in '' $ac_executable_extensions; do
4255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4256 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 break 2
4260 done
4261 done
4262 IFS=$as_save_IFS
4266 CC=$ac_cv_prog_CC
4267 if test -n "$CC"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4269 $as_echo "$CC" >&6; }
4270 else
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 $as_echo "no" >&6; }
4277 if test -z "$ac_cv_prog_CC"; then
4278 ac_ct_CC=$CC
4279 # Extract the first word of "gcc", so it can be a program name with args.
4280 set dummy gcc; ac_word=$2
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4282 $as_echo_n "checking for $ac_word... " >&6; }
4283 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4284 $as_echo_n "(cached) " >&6
4285 else
4286 if test -n "$ac_ct_CC"; then
4287 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4288 else
4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 for as_dir in $PATH
4292 IFS=$as_save_IFS
4293 test -z "$as_dir" && as_dir=.
4294 for ac_exec_ext in '' $ac_executable_extensions; do
4295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4296 ac_cv_prog_ac_ct_CC="gcc"
4297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 break 2
4300 done
4301 done
4302 IFS=$as_save_IFS
4306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4307 if test -n "$ac_ct_CC"; then
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4309 $as_echo "$ac_ct_CC" >&6; }
4310 else
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312 $as_echo "no" >&6; }
4315 if test "x$ac_ct_CC" = x; then
4316 CC=""
4317 else
4318 case $cross_compiling:$ac_tool_warned in
4319 yes:)
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4322 ac_tool_warned=yes ;;
4323 esac
4324 CC=$ac_ct_CC
4326 else
4327 CC="$ac_cv_prog_CC"
4330 if test -z "$CC"; then
4331 if test -n "$ac_tool_prefix"; then
4332 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4333 set dummy ${ac_tool_prefix}cc; ac_word=$2
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335 $as_echo_n "checking for $ac_word... " >&6; }
4336 if ${ac_cv_prog_CC+:} false; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 if test -n "$CC"; then
4340 ac_cv_prog_CC="$CC" # Let the user override the test.
4341 else
4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 for as_dir in $PATH
4345 IFS=$as_save_IFS
4346 test -z "$as_dir" && as_dir=.
4347 for ac_exec_ext in '' $ac_executable_extensions; do
4348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 ac_cv_prog_CC="${ac_tool_prefix}cc"
4350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 break 2
4353 done
4354 done
4355 IFS=$as_save_IFS
4359 CC=$ac_cv_prog_CC
4360 if test -n "$CC"; then
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4362 $as_echo "$CC" >&6; }
4363 else
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4371 if test -z "$CC"; then
4372 # Extract the first word of "cc", so it can be a program name with args.
4373 set dummy cc; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_CC+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 if test -n "$CC"; then
4380 ac_cv_prog_CC="$CC" # Let the user override the test.
4381 else
4382 ac_prog_rejected=no
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH
4386 IFS=$as_save_IFS
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4390 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4391 ac_prog_rejected=yes
4392 continue
4394 ac_cv_prog_CC="cc"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4398 done
4399 done
4400 IFS=$as_save_IFS
4402 if test $ac_prog_rejected = yes; then
4403 # We found a bogon in the path, so make sure we never use it.
4404 set dummy $ac_cv_prog_CC
4405 shift
4406 if test $# != 0; then
4407 # We chose a different compiler from the bogus one.
4408 # However, it has the same basename, so the bogon will be chosen
4409 # first if we set CC to just the basename; use the full file name.
4410 shift
4411 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4416 CC=$ac_cv_prog_CC
4417 if test -n "$CC"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4419 $as_echo "$CC" >&6; }
4420 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4427 if test -z "$CC"; then
4428 if test -n "$ac_tool_prefix"; then
4429 for ac_prog in cl.exe
4431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_prog_CC+:} false; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 if test -n "$CC"; then
4439 ac_cv_prog_CC="$CC" # Let the user override the test.
4440 else
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4444 IFS=$as_save_IFS
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 break 2
4452 done
4453 done
4454 IFS=$as_save_IFS
4458 CC=$ac_cv_prog_CC
4459 if test -n "$CC"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4461 $as_echo "$CC" >&6; }
4462 else
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4468 test -n "$CC" && break
4469 done
4471 if test -z "$CC"; then
4472 ac_ct_CC=$CC
4473 for ac_prog in cl.exe
4475 # Extract the first word of "$ac_prog", so it can be a program name with args.
4476 set dummy $ac_prog; ac_word=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 if test -n "$ac_ct_CC"; then
4483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4484 else
4485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486 for as_dir in $PATH
4488 IFS=$as_save_IFS
4489 test -z "$as_dir" && as_dir=.
4490 for ac_exec_ext in '' $ac_executable_extensions; do
4491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4492 ac_cv_prog_ac_ct_CC="$ac_prog"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 break 2
4496 done
4497 done
4498 IFS=$as_save_IFS
4502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4503 if test -n "$ac_ct_CC"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4505 $as_echo "$ac_ct_CC" >&6; }
4506 else
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4512 test -n "$ac_ct_CC" && break
4513 done
4515 if test "x$ac_ct_CC" = x; then
4516 CC=""
4517 else
4518 case $cross_compiling:$ac_tool_warned in
4519 yes:)
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4522 ac_tool_warned=yes ;;
4523 esac
4524 CC=$ac_ct_CC
4531 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4533 as_fn_error $? "no acceptable C compiler found in \$PATH
4534 See \`config.log' for more details" "$LINENO" 5; }
4536 # Provide some information about the compiler.
4537 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4538 set X $ac_compile
4539 ac_compiler=$2
4540 for ac_option in --version -v -V -qversion; do
4541 { { ac_try="$ac_compiler $ac_option >&5"
4542 case "(($ac_try" in
4543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4544 *) ac_try_echo=$ac_try;;
4545 esac
4546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4547 $as_echo "$ac_try_echo"; } >&5
4548 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4549 ac_status=$?
4550 if test -s conftest.err; then
4551 sed '10a\
4552 ... rest of stderr output deleted ...
4553 10q' conftest.err >conftest.er1
4554 cat conftest.er1 >&5
4556 rm -f conftest.er1 conftest.err
4557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4558 test $ac_status = 0; }
4559 done
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4565 main ()
4569 return 0;
4571 _ACEOF
4572 ac_clean_files_save=$ac_clean_files
4573 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4574 # Try to create an executable without -o first, disregard a.out.
4575 # It will help us diagnose broken compilers, and finding out an intuition
4576 # of exeext.
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4578 $as_echo_n "checking whether the C compiler works... " >&6; }
4579 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4581 # The possible output files:
4582 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4584 ac_rmfiles=
4585 for ac_file in $ac_files
4587 case $ac_file in
4588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4589 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4590 esac
4591 done
4592 rm -f $ac_rmfiles
4594 if { { ac_try="$ac_link_default"
4595 case "(($ac_try" in
4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4598 esac
4599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4600 $as_echo "$ac_try_echo"; } >&5
4601 (eval "$ac_link_default") 2>&5
4602 ac_status=$?
4603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4604 test $ac_status = 0; }; then :
4605 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4606 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4607 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4608 # so that the user can short-circuit this test for compilers unknown to
4609 # Autoconf.
4610 for ac_file in $ac_files ''
4612 test -f "$ac_file" || continue
4613 case $ac_file in
4614 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4616 [ab].out )
4617 # We found the default executable, but exeext='' is most
4618 # certainly right.
4619 break;;
4620 *.* )
4621 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4622 then :; else
4623 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4625 # We set ac_cv_exeext here because the later test for it is not
4626 # safe: cross compilers may not add the suffix if given an `-o'
4627 # argument, so we may need to know it at that point already.
4628 # Even if this section looks crufty: it has the advantage of
4629 # actually working.
4630 break;;
4632 break;;
4633 esac
4634 done
4635 test "$ac_cv_exeext" = no && ac_cv_exeext=
4637 else
4638 ac_file=''
4640 if test -z "$ac_file"; then :
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4643 $as_echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4648 as_fn_error 77 "C compiler cannot create executables
4649 See \`config.log' for more details" "$LINENO" 5; }
4650 else
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4652 $as_echo "yes" >&6; }
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4655 $as_echo_n "checking for C compiler default output file name... " >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4657 $as_echo "$ac_file" >&6; }
4658 ac_exeext=$ac_cv_exeext
4660 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4661 ac_clean_files=$ac_clean_files_save
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4663 $as_echo_n "checking for suffix of executables... " >&6; }
4664 if { { ac_try="$ac_link"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4670 $as_echo "$ac_try_echo"; } >&5
4671 (eval "$ac_link") 2>&5
4672 ac_status=$?
4673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4674 test $ac_status = 0; }; then :
4675 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4676 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4677 # work properly (i.e., refer to `conftest.exe'), while it won't with
4678 # `rm'.
4679 for ac_file in conftest.exe conftest conftest.*; do
4680 test -f "$ac_file" || continue
4681 case $ac_file in
4682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4683 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4684 break;;
4685 * ) break;;
4686 esac
4687 done
4688 else
4689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4691 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4692 See \`config.log' for more details" "$LINENO" 5; }
4694 rm -f conftest conftest$ac_cv_exeext
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4696 $as_echo "$ac_cv_exeext" >&6; }
4698 rm -f conftest.$ac_ext
4699 EXEEXT=$ac_cv_exeext
4700 ac_exeext=$EXEEXT
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4703 #include <stdio.h>
4705 main ()
4707 FILE *f = fopen ("conftest.out", "w");
4708 return ferror (f) || fclose (f) != 0;
4711 return 0;
4713 _ACEOF
4714 ac_clean_files="$ac_clean_files conftest.out"
4715 # Check that the compiler produces executables we can run. If not, either
4716 # the compiler is broken, or we cross compile.
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4718 $as_echo_n "checking whether we are cross compiling... " >&6; }
4719 if test "$cross_compiling" != yes; then
4720 { { ac_try="$ac_link"
4721 case "(($ac_try" in
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4724 esac
4725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4726 $as_echo "$ac_try_echo"; } >&5
4727 (eval "$ac_link") 2>&5
4728 ac_status=$?
4729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4730 test $ac_status = 0; }
4731 if { ac_try='./conftest$ac_cv_exeext'
4732 { { case "(($ac_try" in
4733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4734 *) ac_try_echo=$ac_try;;
4735 esac
4736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4737 $as_echo "$ac_try_echo"; } >&5
4738 (eval "$ac_try") 2>&5
4739 ac_status=$?
4740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4741 test $ac_status = 0; }; }; then
4742 cross_compiling=no
4743 else
4744 if test "$cross_compiling" = maybe; then
4745 cross_compiling=yes
4746 else
4747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4749 as_fn_error $? "cannot run C compiled programs.
4750 If you meant to cross compile, use \`--host'.
4751 See \`config.log' for more details" "$LINENO" 5; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4756 $as_echo "$cross_compiling" >&6; }
4758 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4759 ac_clean_files=$ac_clean_files_save
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4761 $as_echo_n "checking for suffix of object files... " >&6; }
4762 if ${ac_cv_objext+:} false; then :
4763 $as_echo_n "(cached) " >&6
4764 else
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4769 main ()
4773 return 0;
4775 _ACEOF
4776 rm -f conftest.o conftest.obj
4777 if { { ac_try="$ac_compile"
4778 case "(($ac_try" in
4779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4781 esac
4782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4783 $as_echo "$ac_try_echo"; } >&5
4784 (eval "$ac_compile") 2>&5
4785 ac_status=$?
4786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4787 test $ac_status = 0; }; then :
4788 for ac_file in conftest.o conftest.obj conftest.*; do
4789 test -f "$ac_file" || continue;
4790 case $ac_file in
4791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4792 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4793 break;;
4794 esac
4795 done
4796 else
4797 $as_echo "$as_me: failed program was:" >&5
4798 sed 's/^/| /' conftest.$ac_ext >&5
4800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4802 as_fn_error $? "cannot compute suffix of object files: cannot compile
4803 See \`config.log' for more details" "$LINENO" 5; }
4805 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4808 $as_echo "$ac_cv_objext" >&6; }
4809 OBJEXT=$ac_cv_objext
4810 ac_objext=$OBJEXT
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4812 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4813 if ${ac_cv_c_compiler_gnu+:} false; then :
4814 $as_echo_n "(cached) " >&6
4815 else
4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4820 main ()
4822 #ifndef __GNUC__
4823 choke me
4824 #endif
4827 return 0;
4829 _ACEOF
4830 if ac_fn_c_try_compile "$LINENO"; then :
4831 ac_compiler_gnu=yes
4832 else
4833 ac_compiler_gnu=no
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4836 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4840 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4841 if test $ac_compiler_gnu = yes; then
4842 GCC=yes
4843 else
4844 GCC=
4846 ac_test_CFLAGS=${CFLAGS+set}
4847 ac_save_CFLAGS=$CFLAGS
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4849 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4850 if ${ac_cv_prog_cc_g+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 ac_save_c_werror_flag=$ac_c_werror_flag
4854 ac_c_werror_flag=yes
4855 ac_cv_prog_cc_g=no
4856 CFLAGS="-g"
4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4861 main ()
4865 return 0;
4867 _ACEOF
4868 if ac_fn_c_try_compile "$LINENO"; then :
4869 ac_cv_prog_cc_g=yes
4870 else
4871 CFLAGS=""
4872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4876 main ()
4880 return 0;
4882 _ACEOF
4883 if ac_fn_c_try_compile "$LINENO"; then :
4885 else
4886 ac_c_werror_flag=$ac_save_c_werror_flag
4887 CFLAGS="-g"
4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4892 main ()
4896 return 0;
4898 _ACEOF
4899 if ac_fn_c_try_compile "$LINENO"; then :
4900 ac_cv_prog_cc_g=yes
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907 ac_c_werror_flag=$ac_save_c_werror_flag
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4910 $as_echo "$ac_cv_prog_cc_g" >&6; }
4911 if test "$ac_test_CFLAGS" = set; then
4912 CFLAGS=$ac_save_CFLAGS
4913 elif test $ac_cv_prog_cc_g = yes; then
4914 if test "$GCC" = yes; then
4915 CFLAGS="-g -O2"
4916 else
4917 CFLAGS="-g"
4919 else
4920 if test "$GCC" = yes; then
4921 CFLAGS="-O2"
4922 else
4923 CFLAGS=
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4927 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4928 if ${ac_cv_prog_cc_c89+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 ac_cv_prog_cc_c89=no
4932 ac_save_CC=$CC
4933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4935 #include <stdarg.h>
4936 #include <stdio.h>
4937 struct stat;
4938 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4939 struct buf { int x; };
4940 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4941 static char *e (p, i)
4942 char **p;
4943 int i;
4945 return p[i];
4947 static char *f (char * (*g) (char **, int), char **p, ...)
4949 char *s;
4950 va_list v;
4951 va_start (v,p);
4952 s = g (p, va_arg (v,int));
4953 va_end (v);
4954 return s;
4957 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4958 function prototypes and stuff, but not '\xHH' hex character constants.
4959 These don't provoke an error unfortunately, instead are silently treated
4960 as 'x'. The following induces an error, until -std is added to get
4961 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4962 array size at least. It's necessary to write '\x00'==0 to get something
4963 that's true only with -std. */
4964 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4966 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4967 inside strings and character constants. */
4968 #define FOO(x) 'x'
4969 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4971 int test (int i, double x);
4972 struct s1 {int (*f) (int a);};
4973 struct s2 {int (*f) (double a);};
4974 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4975 int argc;
4976 char **argv;
4978 main ()
4980 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4982 return 0;
4984 _ACEOF
4985 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4986 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4988 CC="$ac_save_CC $ac_arg"
4989 if ac_fn_c_try_compile "$LINENO"; then :
4990 ac_cv_prog_cc_c89=$ac_arg
4992 rm -f core conftest.err conftest.$ac_objext
4993 test "x$ac_cv_prog_cc_c89" != "xno" && break
4994 done
4995 rm -f conftest.$ac_ext
4996 CC=$ac_save_CC
4999 # AC_CACHE_VAL
5000 case "x$ac_cv_prog_cc_c89" in
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5003 $as_echo "none needed" >&6; } ;;
5004 xno)
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5006 $as_echo "unsupported" >&6; } ;;
5008 CC="$CC $ac_cv_prog_cc_c89"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5010 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5011 esac
5012 if test "x$ac_cv_prog_cc_c89" != xno; then :
5016 ac_ext=c
5017 ac_cpp='$CPP $CPPFLAGS'
5018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5022 ac_ext=cpp
5023 ac_cpp='$CXXCPP $CPPFLAGS'
5024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5027 if test -z "$CXX"; then
5028 if test -n "$CCC"; then
5029 CXX=$CCC
5030 else
5031 if test -n "$ac_tool_prefix"; then
5032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_CXX+:} false; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 if test -n "$CXX"; then
5042 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5043 else
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5047 IFS=$as_save_IFS
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 CXX=$ac_cv_prog_CXX
5062 if test -n "$CXX"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5064 $as_echo "$CXX" >&6; }
5065 else
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5071 test -n "$CXX" && break
5072 done
5074 if test -z "$CXX"; then
5075 ac_ct_CXX=$CXX
5076 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5078 # Extract the first word of "$ac_prog", so it can be a program name with args.
5079 set dummy $ac_prog; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5083 $as_echo_n "(cached) " >&6
5084 else
5085 if test -n "$ac_ct_CXX"; then
5086 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_ac_ct_CXX="$ac_prog"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 break 2
5099 done
5100 done
5101 IFS=$as_save_IFS
5105 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5106 if test -n "$ac_ct_CXX"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5108 $as_echo "$ac_ct_CXX" >&6; }
5109 else
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5115 test -n "$ac_ct_CXX" && break
5116 done
5118 if test "x$ac_ct_CXX" = x; then
5119 CXX="g++"
5120 else
5121 case $cross_compiling:$ac_tool_warned in
5122 yes:)
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned=yes ;;
5126 esac
5127 CXX=$ac_ct_CXX
5133 # Provide some information about the compiler.
5134 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5135 set X $ac_compile
5136 ac_compiler=$2
5137 for ac_option in --version -v -V -qversion; do
5138 { { ac_try="$ac_compiler $ac_option >&5"
5139 case "(($ac_try" in
5140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5141 *) ac_try_echo=$ac_try;;
5142 esac
5143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5144 $as_echo "$ac_try_echo"; } >&5
5145 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5146 ac_status=$?
5147 if test -s conftest.err; then
5148 sed '10a\
5149 ... rest of stderr output deleted ...
5150 10q' conftest.err >conftest.er1
5151 cat conftest.er1 >&5
5153 rm -f conftest.er1 conftest.err
5154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5155 test $ac_status = 0; }
5156 done
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5159 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5160 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5167 main ()
5169 #ifndef __GNUC__
5170 choke me
5171 #endif
5174 return 0;
5176 _ACEOF
5177 if ac_fn_cxx_try_compile "$LINENO"; then :
5178 ac_compiler_gnu=yes
5179 else
5180 ac_compiler_gnu=no
5182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5183 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5187 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5188 if test $ac_compiler_gnu = yes; then
5189 GXX=yes
5190 else
5191 GXX=
5193 ac_test_CXXFLAGS=${CXXFLAGS+set}
5194 ac_save_CXXFLAGS=$CXXFLAGS
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5196 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5197 if ${ac_cv_prog_cxx_g+:} false; then :
5198 $as_echo_n "(cached) " >&6
5199 else
5200 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5201 ac_cxx_werror_flag=yes
5202 ac_cv_prog_cxx_g=no
5203 CXXFLAGS="-g"
5204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5208 main ()
5212 return 0;
5214 _ACEOF
5215 if ac_fn_cxx_try_compile "$LINENO"; then :
5216 ac_cv_prog_cxx_g=yes
5217 else
5218 CXXFLAGS=""
5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5223 main ()
5227 return 0;
5229 _ACEOF
5230 if ac_fn_cxx_try_compile "$LINENO"; then :
5232 else
5233 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5234 CXXFLAGS="-g"
5235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h. */
5239 main ()
5243 return 0;
5245 _ACEOF
5246 if ac_fn_cxx_try_compile "$LINENO"; then :
5247 ac_cv_prog_cxx_g=yes
5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5254 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5257 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5258 if test "$ac_test_CXXFLAGS" = set; then
5259 CXXFLAGS=$ac_save_CXXFLAGS
5260 elif test $ac_cv_prog_cxx_g = yes; then
5261 if test "$GXX" = yes; then
5262 CXXFLAGS="-g -O2"
5263 else
5264 CXXFLAGS="-g"
5266 else
5267 if test "$GXX" = yes; then
5268 CXXFLAGS="-O2"
5269 else
5270 CXXFLAGS=
5273 ac_ext=c
5274 ac_cpp='$CPP $CPPFLAGS'
5275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5279 if test -n "$ac_tool_prefix"; then
5280 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5281 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_CPPBIN+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -n "$CPPBIN"; then
5288 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 CPPBIN=$ac_cv_prog_CPPBIN
5308 if test -n "$CPPBIN"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5310 $as_echo "$CPPBIN" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5318 if test -z "$ac_cv_prog_CPPBIN"; then
5319 ac_ct_CPPBIN=$CPPBIN
5320 # Extract the first word of "cpp", so it can be a program name with args.
5321 set dummy cpp; ac_word=$2
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5323 $as_echo_n "checking for $ac_word... " >&6; }
5324 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5325 $as_echo_n "(cached) " >&6
5326 else
5327 if test -n "$ac_ct_CPPBIN"; then
5328 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5329 else
5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 for as_dir in $PATH
5333 IFS=$as_save_IFS
5334 test -z "$as_dir" && as_dir=.
5335 for ac_exec_ext in '' $ac_executable_extensions; do
5336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5337 ac_cv_prog_ac_ct_CPPBIN="cpp"
5338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5339 break 2
5341 done
5342 done
5343 IFS=$as_save_IFS
5347 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5348 if test -n "$ac_ct_CPPBIN"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5350 $as_echo "$ac_ct_CPPBIN" >&6; }
5351 else
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5356 if test "x$ac_ct_CPPBIN" = x; then
5357 CPPBIN="cpp"
5358 else
5359 case $cross_compiling:$ac_tool_warned in
5360 yes:)
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5363 ac_tool_warned=yes ;;
5364 esac
5365 CPPBIN=$ac_ct_CPPBIN
5367 else
5368 CPPBIN="$ac_cv_prog_CPPBIN"
5372 cat >>confdefs.h <<_ACEOF
5373 #define EXEEXT "$ac_exeext"
5374 _ACEOF
5376 if test -n "$ac_tool_prefix"; then
5377 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5378 set dummy ${ac_tool_prefix}ld; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_LD+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 if test -n "$LD"; then
5385 ac_cv_prog_LD="$LD" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_LD="${ac_tool_prefix}ld"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5398 done
5399 done
5400 IFS=$as_save_IFS
5404 LD=$ac_cv_prog_LD
5405 if test -n "$LD"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5407 $as_echo "$LD" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5415 if test -z "$ac_cv_prog_LD"; then
5416 ac_ct_LD=$LD
5417 # Extract the first word of "ld", so it can be a program name with args.
5418 set dummy ld; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -n "$ac_ct_LD"; then
5425 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_ac_ct_LD="ld"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5444 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5445 if test -n "$ac_ct_LD"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5447 $as_echo "$ac_ct_LD" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5453 if test "x$ac_ct_LD" = x; then
5454 LD=""
5455 else
5456 case $cross_compiling:$ac_tool_warned in
5457 yes:)
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5460 ac_tool_warned=yes ;;
5461 esac
5462 LD=$ac_ct_LD
5464 else
5465 LD="$ac_cv_prog_LD"
5469 case $host in
5470 *-darwin*)
5471 with_fontconfig=${with_fontconfig:-no}
5473 *-mingw32*|*-cygwin*)
5474 enable_win16=${enable_win16:-no}
5475 CFLAGS="$CFLAGS -D_WIN32"
5477 esac
5479 case $host in
5480 x86_64*|amd64*)
5481 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5482 then
5483 CC="$CC -m32"
5484 CXX="$CXX -m32"
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5486 $as_echo_n "checking whether $CC works... " >&6; }
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5492 main ()
5496 return 0;
5498 _ACEOF
5499 if ac_fn_c_try_link "$LINENO"; then :
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5501 $as_echo "yes" >&6; }
5502 else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5505 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5507 rm -f core conftest.err conftest.$ac_objext \
5508 conftest$ac_exeext conftest.$ac_ext
5509 host_cpu="i386"
5510 notice_platform="32-bit "
5511 TARGETFLAGS="-m32"
5513 WIDLFLAGS="--win32"
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"
5550 WIDLFLAGS="--win64"
5554 arm*)
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5556 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5558 /* end confdefs.h. */
5559 int ac_test(int i) { return i; }
5561 main ()
5563 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5565 return 0;
5567 _ACEOF
5568 if ac_fn_c_try_link "$LINENO"; then :
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5570 $as_echo "yes" >&6; }
5571 else
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5574 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5576 rm -f core conftest.err conftest.$ac_objext \
5577 conftest$ac_exeext conftest.$ac_ext
5578 case $with_float_abi in
5579 soft|softfp|hard)
5580 float_abi=$with_float_abi ;;
5582 case $host_os in
5583 *eabihf)
5584 float_abi=hard ;;
5586 float_abi=softfp
5587 saved_CFLAGS=$CFLAGS
5588 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5590 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5595 main ()
5597 asm("vmrs r2,fpscr");
5599 return 0;
5601 _ACEOF
5602 if ac_fn_c_try_link "$LINENO"; then :
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5604 $as_echo "yes" >&6; }
5605 else
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }
5608 float_abi=soft
5609 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5611 rm -f core conftest.err conftest.$ac_objext \
5612 conftest$ac_exeext conftest.$ac_ext
5613 CFLAGS=$saved_CFLAGS
5614 esac
5616 esac
5617 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5618 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5620 WIDLFLAGS="--win32"
5623 aarch64*)
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5625 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5628 #include <stdarg.h>
5630 main ()
5632 void func(__builtin_ms_va_list *args);
5634 return 0;
5636 _ACEOF
5637 if ac_fn_c_try_compile "$LINENO"; then :
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5639 $as_echo "yes" >&6; }
5640 else
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }
5643 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646 WIDLFLAGS="--win64"
5649 i[3456789]86*)
5650 enable_win16=${enable_win16:-yes}
5651 WIDLFLAGS="--win32"
5654 esac
5656 enable_win16=${enable_win16:-no}
5657 enable_win64=${enable_win64:-no}
5659 enable_winetest=${enable_winetest:-$enable_tests}
5661 if test -n "$with_wine64"
5662 then
5663 if test "x$enable_win64" = "xyes"
5664 then
5665 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5666 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5668 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5669 You should create a separate build directory and run configure from there." "$LINENO" 5
5670 enable_fonts=${enable_fonts:-no}
5671 enable_server=${enable_server:-no}
5672 wine64_disable=\#
5674 elif test "x$enable_win64" = "xyes"
5675 then
5676 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5680 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5681 if ${wine_cv_toolsdir+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 wine_cv_toolsdir="$with_wine_tools"
5685 if test -z "$with_wine_tools"; then
5686 if test "$cross_compiling" = "yes"; then
5687 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5688 elif test -n "$with_wine64"; then
5689 wine_cv_toolsdir="$with_wine64"
5692 if test -z "$wine_cv_toolsdir"; then
5693 wine_makedep=tools/makedep
5694 wine_cv_toolsdir="\$(top_builddir)"
5695 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5696 wine_makedep=$wine_cv_toolsdir/tools/makedep
5697 case "$wine_cv_toolsdir" in
5698 /*) ;;
5699 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5700 esac
5701 enable_tools=${enable_tools:-no}
5702 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5703 else
5704 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5708 $as_echo "$wine_cv_toolsdir" >&6; }
5709 TOOLSDIR=$wine_cv_toolsdir
5711 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5712 then
5713 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5717 for ac_prog in flex
5719 # Extract the first word of "$ac_prog", so it can be a program name with args.
5720 set dummy $ac_prog; ac_word=$2
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5722 $as_echo_n "checking for $ac_word... " >&6; }
5723 if ${ac_cv_prog_FLEX+:} false; then :
5724 $as_echo_n "(cached) " >&6
5725 else
5726 if test -n "$FLEX"; then
5727 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5728 else
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 for as_dir in $PATH
5732 IFS=$as_save_IFS
5733 test -z "$as_dir" && as_dir=.
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_FLEX="$ac_prog"
5737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5738 break 2
5740 done
5741 done
5742 IFS=$as_save_IFS
5746 FLEX=$ac_cv_prog_FLEX
5747 if test -n "$FLEX"; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5749 $as_echo "$FLEX" >&6; }
5750 else
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5756 test -n "$FLEX" && break
5757 done
5758 test -n "$FLEX" || FLEX="none"
5760 if test "$FLEX" = "none"
5761 then
5762 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5765 $as_echo_n "checking whether flex is recent enough... " >&6; }
5766 cat >conftest.l <<EOF
5767 %top{
5768 #include "prediluvian.h"
5772 if $FLEX -t conftest.l >/dev/null 2>&5
5773 then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5775 $as_echo "yes" >&6; }
5776 else
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5779 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5782 for ac_prog in bison
5784 # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy $ac_prog; ac_word=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_prog_BISON+:} false; then :
5789 $as_echo_n "(cached) " >&6
5790 else
5791 if test -n "$BISON"; then
5792 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5793 else
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 for as_dir in $PATH
5797 IFS=$as_save_IFS
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_BISON="$ac_prog"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 break 2
5805 done
5806 done
5807 IFS=$as_save_IFS
5811 BISON=$ac_cv_prog_BISON
5812 if test -n "$BISON"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5814 $as_echo "$BISON" >&6; }
5815 else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5821 test -n "$BISON" && break
5822 done
5823 test -n "$BISON" || BISON="none"
5825 if test "$BISON" = "none"
5826 then
5827 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5830 if test -n "$ac_tool_prefix"; then
5831 for ac_prog in ar gar
5833 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5834 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_prog_AR+:} false; then :
5838 $as_echo_n "(cached) " >&6
5839 else
5840 if test -n "$AR"; then
5841 ac_cv_prog_AR="$AR" # Let the user override the test.
5842 else
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in $PATH
5846 IFS=$as_save_IFS
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 break 2
5854 done
5855 done
5856 IFS=$as_save_IFS
5860 AR=$ac_cv_prog_AR
5861 if test -n "$AR"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5863 $as_echo "$AR" >&6; }
5864 else
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5870 test -n "$AR" && break
5871 done
5873 if test -z "$AR"; then
5874 ac_ct_AR=$AR
5875 for ac_prog in ar gar
5877 # Extract the first word of "$ac_prog", so it can be a program name with args.
5878 set dummy $ac_prog; ac_word=$2
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5880 $as_echo_n "checking for $ac_word... " >&6; }
5881 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5882 $as_echo_n "(cached) " >&6
5883 else
5884 if test -n "$ac_ct_AR"; then
5885 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5886 else
5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5888 for as_dir in $PATH
5890 IFS=$as_save_IFS
5891 test -z "$as_dir" && as_dir=.
5892 for ac_exec_ext in '' $ac_executable_extensions; do
5893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5894 ac_cv_prog_ac_ct_AR="$ac_prog"
5895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 break 2
5898 done
5899 done
5900 IFS=$as_save_IFS
5904 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5905 if test -n "$ac_ct_AR"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5907 $as_echo "$ac_ct_AR" >&6; }
5908 else
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 $as_echo "no" >&6; }
5914 test -n "$ac_ct_AR" && break
5915 done
5917 if test "x$ac_ct_AR" = x; then
5918 AR="ar"
5919 else
5920 case $cross_compiling:$ac_tool_warned in
5921 yes:)
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5924 ac_tool_warned=yes ;;
5925 esac
5926 AR=$ac_ct_AR
5930 if test -n "$ac_tool_prefix"; then
5931 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5932 set dummy ${ac_tool_prefix}strip; ac_word=$2
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5934 $as_echo_n "checking for $ac_word... " >&6; }
5935 if ${ac_cv_prog_STRIP+:} false; then :
5936 $as_echo_n "(cached) " >&6
5937 else
5938 if test -n "$STRIP"; then
5939 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5940 else
5941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942 for as_dir in $PATH
5944 IFS=$as_save_IFS
5945 test -z "$as_dir" && as_dir=.
5946 for ac_exec_ext in '' $ac_executable_extensions; do
5947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5948 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5950 break 2
5952 done
5953 done
5954 IFS=$as_save_IFS
5958 STRIP=$ac_cv_prog_STRIP
5959 if test -n "$STRIP"; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5961 $as_echo "$STRIP" >&6; }
5962 else
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964 $as_echo "no" >&6; }
5969 if test -z "$ac_cv_prog_STRIP"; then
5970 ac_ct_STRIP=$STRIP
5971 # Extract the first word of "strip", so it can be a program name with args.
5972 set dummy strip; ac_word=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5976 $as_echo_n "(cached) " >&6
5977 else
5978 if test -n "$ac_ct_STRIP"; then
5979 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5984 IFS=$as_save_IFS
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_ac_ct_STRIP="strip"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 break 2
5992 done
5993 done
5994 IFS=$as_save_IFS
5998 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5999 if test -n "$ac_ct_STRIP"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6001 $as_echo "$ac_ct_STRIP" >&6; }
6002 else
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6007 if test "x$ac_ct_STRIP" = x; then
6008 STRIP="strip"
6009 else
6010 case $cross_compiling:$ac_tool_warned in
6011 yes:)
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6014 ac_tool_warned=yes ;;
6015 esac
6016 STRIP=$ac_ct_STRIP
6018 else
6019 STRIP="$ac_cv_prog_STRIP"
6022 ARFLAGS=rc
6024 if test -n "$ac_tool_prefix"; then
6025 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6026 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if ${ac_cv_prog_RANLIB+:} false; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 if test -n "$RANLIB"; then
6033 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6038 IFS=$as_save_IFS
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 break 2
6046 done
6047 done
6048 IFS=$as_save_IFS
6052 RANLIB=$ac_cv_prog_RANLIB
6053 if test -n "$RANLIB"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6055 $as_echo "$RANLIB" >&6; }
6056 else
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6063 if test -z "$ac_cv_prog_RANLIB"; then
6064 ac_ct_RANLIB=$RANLIB
6065 # Extract the first word of "ranlib", so it can be a program name with args.
6066 set dummy ranlib; ac_word=$2
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 $as_echo_n "checking for $ac_word... " >&6; }
6069 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6070 $as_echo_n "(cached) " >&6
6071 else
6072 if test -n "$ac_ct_RANLIB"; then
6073 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6082 ac_cv_prog_ac_ct_RANLIB="ranlib"
6083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 break 2
6086 done
6087 done
6088 IFS=$as_save_IFS
6092 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6093 if test -n "$ac_ct_RANLIB"; then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6095 $as_echo "$ac_ct_RANLIB" >&6; }
6096 else
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098 $as_echo "no" >&6; }
6101 if test "x$ac_ct_RANLIB" = x; then
6102 RANLIB=":"
6103 else
6104 case $cross_compiling:$ac_tool_warned in
6105 yes:)
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6108 ac_tool_warned=yes ;;
6109 esac
6110 RANLIB=$ac_ct_RANLIB
6112 else
6113 RANLIB="$ac_cv_prog_RANLIB"
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6117 $as_echo_n "checking whether ln -s works... " >&6; }
6118 LN_S=$as_ln_s
6119 if test "$LN_S" = "ln -s"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6121 $as_echo "yes" >&6; }
6122 else
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6124 $as_echo "no, using $LN_S" >&6; }
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6128 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6129 if ${ac_cv_path_GREP+:} false; then :
6130 $as_echo_n "(cached) " >&6
6131 else
6132 if test -z "$GREP"; then
6133 ac_path_GREP_found=false
6134 # Loop through the user's path and test for each of PROGNAME-LIST
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6138 IFS=$as_save_IFS
6139 test -z "$as_dir" && as_dir=.
6140 for ac_prog in grep ggrep; do
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6143 as_fn_executable_p "$ac_path_GREP" || continue
6144 # Check for GNU ac_path_GREP and select it if it is found.
6145 # Check for GNU $ac_path_GREP
6146 case `"$ac_path_GREP" --version 2>&1` in
6147 *GNU*)
6148 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6150 ac_count=0
6151 $as_echo_n 0123456789 >"conftest.in"
6152 while :
6154 cat "conftest.in" "conftest.in" >"conftest.tmp"
6155 mv "conftest.tmp" "conftest.in"
6156 cp "conftest.in" "conftest.nl"
6157 $as_echo 'GREP' >> "conftest.nl"
6158 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6159 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6160 as_fn_arith $ac_count + 1 && ac_count=$as_val
6161 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6162 # Best one so far, save it but keep looking for a better one
6163 ac_cv_path_GREP="$ac_path_GREP"
6164 ac_path_GREP_max=$ac_count
6166 # 10*(2^10) chars as input seems more than enough
6167 test $ac_count -gt 10 && break
6168 done
6169 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6170 esac
6172 $ac_path_GREP_found && break 3
6173 done
6174 done
6175 done
6176 IFS=$as_save_IFS
6177 if test -z "$ac_cv_path_GREP"; then
6178 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6180 else
6181 ac_cv_path_GREP=$GREP
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6186 $as_echo "$ac_cv_path_GREP" >&6; }
6187 GREP="$ac_cv_path_GREP"
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6191 $as_echo_n "checking for egrep... " >&6; }
6192 if ${ac_cv_path_EGREP+:} false; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6196 then ac_cv_path_EGREP="$GREP -E"
6197 else
6198 if test -z "$EGREP"; then
6199 ac_path_EGREP_found=false
6200 # Loop through the user's path and test for each of PROGNAME-LIST
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6204 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=.
6206 for ac_prog in egrep; do
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6209 as_fn_executable_p "$ac_path_EGREP" || continue
6210 # Check for GNU ac_path_EGREP and select it if it is found.
6211 # Check for GNU $ac_path_EGREP
6212 case `"$ac_path_EGREP" --version 2>&1` in
6213 *GNU*)
6214 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6216 ac_count=0
6217 $as_echo_n 0123456789 >"conftest.in"
6218 while :
6220 cat "conftest.in" "conftest.in" >"conftest.tmp"
6221 mv "conftest.tmp" "conftest.in"
6222 cp "conftest.in" "conftest.nl"
6223 $as_echo 'EGREP' >> "conftest.nl"
6224 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6225 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6226 as_fn_arith $ac_count + 1 && ac_count=$as_val
6227 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6228 # Best one so far, save it but keep looking for a better one
6229 ac_cv_path_EGREP="$ac_path_EGREP"
6230 ac_path_EGREP_max=$ac_count
6232 # 10*(2^10) chars as input seems more than enough
6233 test $ac_count -gt 10 && break
6234 done
6235 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6236 esac
6238 $ac_path_EGREP_found && break 3
6239 done
6240 done
6241 done
6242 IFS=$as_save_IFS
6243 if test -z "$ac_cv_path_EGREP"; then
6244 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6246 else
6247 ac_cv_path_EGREP=$EGREP
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6253 $as_echo "$ac_cv_path_EGREP" >&6; }
6254 EGREP="$ac_cv_path_EGREP"
6257 # Extract the first word of "ldconfig", so it can be a program name with args.
6258 set dummy ldconfig; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if ${ac_cv_path_LDCONFIG+:} false; then :
6262 $as_echo_n "(cached) " >&6
6263 else
6264 case $LDCONFIG in
6265 [\\/]* | ?:[\\/]*)
6266 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 for as_dir in /sbin /usr/sbin $PATH
6272 IFS=$as_save_IFS
6273 test -z "$as_dir" && as_dir=.
6274 for ac_exec_ext in '' $ac_executable_extensions; do
6275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6276 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6278 break 2
6280 done
6281 done
6282 IFS=$as_save_IFS
6284 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6286 esac
6288 LDCONFIG=$ac_cv_path_LDCONFIG
6289 if test -n "$LDCONFIG"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6291 $as_echo "$LDCONFIG" >&6; }
6292 else
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294 $as_echo "no" >&6; }
6298 for ac_prog in msgfmt
6300 # Extract the first word of "$ac_prog", so it can be a program name with args.
6301 set dummy $ac_prog; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303 $as_echo_n "checking for $ac_word... " >&6; }
6304 if ${ac_cv_prog_MSGFMT+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 if test -n "$MSGFMT"; then
6308 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6309 else
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 for as_dir in $PATH
6313 IFS=$as_save_IFS
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6317 ac_cv_prog_MSGFMT="$ac_prog"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 break 2
6321 done
6322 done
6323 IFS=$as_save_IFS
6327 MSGFMT=$ac_cv_prog_MSGFMT
6328 if test -n "$MSGFMT"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6330 $as_echo "$MSGFMT" >&6; }
6331 else
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333 $as_echo "no" >&6; }
6337 test -n "$MSGFMT" && break
6338 done
6339 test -n "$MSGFMT" || MSGFMT="false"
6341 if ${ac_tool_prefix+:} false; then :
6342 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6343 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6345 $as_echo_n "checking for $ac_word... " >&6; }
6346 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6347 $as_echo_n "(cached) " >&6
6348 else
6349 if test -n "$PKG_CONFIG"; then
6350 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6351 else
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 for as_dir in $PATH
6355 IFS=$as_save_IFS
6356 test -z "$as_dir" && as_dir=.
6357 for ac_exec_ext in '' $ac_executable_extensions; do
6358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6359 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6361 break 2
6363 done
6364 done
6365 IFS=$as_save_IFS
6369 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6370 if test -n "$PKG_CONFIG"; then
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6372 $as_echo "$PKG_CONFIG" >&6; }
6373 else
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6375 $as_echo "no" >&6; }
6380 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6381 if test "x$cross_compiling" = xyes; then :
6383 else
6384 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6385 # Extract the first word of "pkg-config", so it can be a program name with args.
6386 set dummy pkg-config; ac_word=$2
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6388 $as_echo_n "checking for $ac_word... " >&6; }
6389 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 if test -n "$PKG_CONFIG"; then
6393 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6394 else
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 for as_dir in $PATH
6398 IFS=$as_save_IFS
6399 test -z "$as_dir" && as_dir=.
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6402 ac_cv_prog_PKG_CONFIG="pkg-config"
6403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6404 break 2
6406 done
6407 done
6408 IFS=$as_save_IFS
6412 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6413 if test -n "$PKG_CONFIG"; then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6415 $as_echo "$PKG_CONFIG" >&6; }
6416 else
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6418 $as_echo "no" >&6; }
6423 else
6424 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6427 if test "x$enable_maintainer_mode" != "xyes"
6428 then
6429 FONTFORGE=""
6430 RSVG=""
6431 CONVERT=""
6432 ICOTOOL=""
6433 else
6434 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6435 for ac_prog in fontforge
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy $ac_prog; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if ${ac_cv_prog_FONTFORGE+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$FONTFORGE"; then
6445 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6454 ac_cv_prog_FONTFORGE="$ac_prog"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6458 done
6459 done
6460 IFS=$as_save_IFS
6464 FONTFORGE=$ac_cv_prog_FONTFORGE
6465 if test -n "$FONTFORGE"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6467 $as_echo "$FONTFORGE" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6474 test -n "$FONTFORGE" && break
6475 done
6476 test -n "$FONTFORGE" || FONTFORGE="false"
6478 for ac_prog in rsvg-convert rsvg
6480 # Extract the first word of "$ac_prog", so it can be a program name with args.
6481 set dummy $ac_prog; ac_word=$2
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 $as_echo_n "checking for $ac_word... " >&6; }
6484 if ${ac_cv_prog_RSVG+:} false; then :
6485 $as_echo_n "(cached) " >&6
6486 else
6487 if test -n "$RSVG"; then
6488 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6489 else
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 for as_dir in $PATH
6493 IFS=$as_save_IFS
6494 test -z "$as_dir" && as_dir=.
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6497 ac_cv_prog_RSVG="$ac_prog"
6498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 IFS=$as_save_IFS
6507 RSVG=$ac_cv_prog_RSVG
6508 if test -n "$RSVG"; then
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6510 $as_echo "$RSVG" >&6; }
6511 else
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 $as_echo "no" >&6; }
6517 test -n "$RSVG" && break
6518 done
6519 test -n "$RSVG" || RSVG="false"
6521 for ac_prog in convert
6523 # Extract the first word of "$ac_prog", so it can be a program name with args.
6524 set dummy $ac_prog; ac_word=$2
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6526 $as_echo_n "checking for $ac_word... " >&6; }
6527 if ${ac_cv_prog_CONVERT+:} false; then :
6528 $as_echo_n "(cached) " >&6
6529 else
6530 if test -n "$CONVERT"; then
6531 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6532 else
6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6534 for as_dir in $PATH
6536 IFS=$as_save_IFS
6537 test -z "$as_dir" && as_dir=.
6538 for ac_exec_ext in '' $ac_executable_extensions; do
6539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6540 ac_cv_prog_CONVERT="$ac_prog"
6541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6542 break 2
6544 done
6545 done
6546 IFS=$as_save_IFS
6550 CONVERT=$ac_cv_prog_CONVERT
6551 if test -n "$CONVERT"; then
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6553 $as_echo "$CONVERT" >&6; }
6554 else
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556 $as_echo "no" >&6; }
6560 test -n "$CONVERT" && break
6561 done
6562 test -n "$CONVERT" || CONVERT="false"
6564 for ac_prog in icotool
6566 # Extract the first word of "$ac_prog", so it can be a program name with args.
6567 set dummy $ac_prog; ac_word=$2
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6569 $as_echo_n "checking for $ac_word... " >&6; }
6570 if ${ac_cv_prog_ICOTOOL+:} false; then :
6571 $as_echo_n "(cached) " >&6
6572 else
6573 if test -n "$ICOTOOL"; then
6574 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6575 else
6576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6577 for as_dir in $PATH
6579 IFS=$as_save_IFS
6580 test -z "$as_dir" && as_dir=.
6581 for ac_exec_ext in '' $ac_executable_extensions; do
6582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6583 ac_cv_prog_ICOTOOL="$ac_prog"
6584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6585 break 2
6587 done
6588 done
6589 IFS=$as_save_IFS
6593 ICOTOOL=$ac_cv_prog_ICOTOOL
6594 if test -n "$ICOTOOL"; then
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6596 $as_echo "$ICOTOOL" >&6; }
6597 else
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6599 $as_echo "no" >&6; }
6603 test -n "$ICOTOOL" && break
6604 done
6605 test -n "$ICOTOOL" || ICOTOOL="false"
6607 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6608 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6610 if test "$CONVERT" = false
6611 then
6612 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6613 else
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6615 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6616 convert_version=`convert --version | head -n1`
6617 if test "x$convert_version" != "x"
6618 then
6619 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6620 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6621 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6622 then
6623 CONVERT=false
6626 if test "$CONVERT" = false
6627 then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6629 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6630 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6631 else
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6633 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6637 if test "$ICOTOOL" = false
6638 then
6639 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6640 else
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6642 $as_echo_n "checking for recent enough icotool... " >&6; }
6643 icotool_version=`icotool --version | head -n1`
6644 if test "x$icotool_version" != "x"
6645 then
6646 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6647 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6648 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6649 then
6650 ICOTOOL=false
6651 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6654 if test "$ICOTOOL" = false
6655 then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6657 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6658 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6659 else
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6661 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6665 with_gettext=yes
6666 with_gettextpo=yes
6667 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6670 test "x$with_gettext" != xno || MSGFMT=false
6671 if test "$MSGFMT" != "false"
6672 then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6674 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6675 cat >conftest.po <<EOF
6676 # comment
6677 msgctxt "ctxt"
6678 msgid "id"
6679 msgstr "str"
6681 if $MSGFMT -o /dev/null conftest.po 2>&5
6682 then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6684 $as_echo "yes" >&6; }
6685 else
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6688 MSGFMT=false
6691 if test "$MSGFMT" = false; then :
6692 case "x$with_gettext" in
6693 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6694 xno) ;;
6695 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6696 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6697 esac
6698 enable_po=${enable_po:-no}
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6703 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6704 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6705 $as_echo_n "(cached) " >&6
6706 else
6707 ac_check_lib_save_LIBS=$LIBS
6708 LIBS="-li386 $LIBS"
6709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6712 /* Override any GCC internal prototype to avoid an error.
6713 Use char because int might match the return type of a GCC
6714 builtin and then its argument prototype would still apply. */
6715 #ifdef __cplusplus
6716 extern "C"
6717 #endif
6718 char i386_set_ldt ();
6720 main ()
6722 return i386_set_ldt ();
6724 return 0;
6726 _ACEOF
6727 if ac_fn_c_try_link "$LINENO"; then :
6728 ac_cv_lib_i386_i386_set_ldt=yes
6729 else
6730 ac_cv_lib_i386_i386_set_ldt=no
6732 rm -f core conftest.err conftest.$ac_objext \
6733 conftest$ac_exeext conftest.$ac_ext
6734 LIBS=$ac_check_lib_save_LIBS
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6737 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6738 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6739 cat >>confdefs.h <<_ACEOF
6740 #define HAVE_LIBI386 1
6741 _ACEOF
6743 LIBS="-li386 $LIBS"
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6748 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6749 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6750 $as_echo_n "(cached) " >&6
6751 else
6752 ac_check_lib_save_LIBS=$LIBS
6753 LIBS="-lossaudio $LIBS"
6754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6755 /* end confdefs.h. */
6757 /* Override any GCC internal prototype to avoid an error.
6758 Use char because int might match the return type of a GCC
6759 builtin and then its argument prototype would still apply. */
6760 #ifdef __cplusplus
6761 extern "C"
6762 #endif
6763 char _oss_ioctl ();
6765 main ()
6767 return _oss_ioctl ();
6769 return 0;
6771 _ACEOF
6772 if ac_fn_c_try_link "$LINENO"; then :
6773 ac_cv_lib_ossaudio__oss_ioctl=yes
6774 else
6775 ac_cv_lib_ossaudio__oss_ioctl=no
6777 rm -f core conftest.err conftest.$ac_objext \
6778 conftest$ac_exeext conftest.$ac_ext
6779 LIBS=$ac_check_lib_save_LIBS
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6782 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6783 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6784 cat >>confdefs.h <<_ACEOF
6785 #define HAVE_LIBOSSAUDIO 1
6786 _ACEOF
6788 LIBS="-lossaudio $LIBS"
6793 OPENGL_LIBS=""
6797 # Check whether --enable-largefile was given.
6798 if test "${enable_largefile+set}" = set; then :
6799 enableval=$enable_largefile;
6802 if test "$enable_largefile" != no; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6805 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6806 if ${ac_cv_sys_largefile_CC+:} false; then :
6807 $as_echo_n "(cached) " >&6
6808 else
6809 ac_cv_sys_largefile_CC=no
6810 if test "$GCC" != yes; then
6811 ac_save_CC=$CC
6812 while :; do
6813 # IRIX 6.2 and later do not support large files by default,
6814 # so use the C compiler's -n32 option if that helps.
6815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6816 /* end confdefs.h. */
6817 #include <sys/types.h>
6818 /* Check that off_t can represent 2**63 - 1 correctly.
6819 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6820 since some C++ compilers masquerading as C compilers
6821 incorrectly reject 9223372036854775807. */
6822 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6823 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6824 && LARGE_OFF_T % 2147483647 == 1)
6825 ? 1 : -1];
6827 main ()
6831 return 0;
6833 _ACEOF
6834 if ac_fn_c_try_compile "$LINENO"; then :
6835 break
6837 rm -f core conftest.err conftest.$ac_objext
6838 CC="$CC -n32"
6839 if ac_fn_c_try_compile "$LINENO"; then :
6840 ac_cv_sys_largefile_CC=' -n32'; break
6842 rm -f core conftest.err conftest.$ac_objext
6843 break
6844 done
6845 CC=$ac_save_CC
6846 rm -f conftest.$ac_ext
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6850 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6851 if test "$ac_cv_sys_largefile_CC" != no; then
6852 CC=$CC$ac_cv_sys_largefile_CC
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6856 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6857 if ${ac_cv_sys_file_offset_bits+:} false; then :
6858 $as_echo_n "(cached) " >&6
6859 else
6860 while :; do
6861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6862 /* end confdefs.h. */
6863 #include <sys/types.h>
6864 /* Check that off_t can represent 2**63 - 1 correctly.
6865 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6866 since some C++ compilers masquerading as C compilers
6867 incorrectly reject 9223372036854775807. */
6868 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6869 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6870 && LARGE_OFF_T % 2147483647 == 1)
6871 ? 1 : -1];
6873 main ()
6877 return 0;
6879 _ACEOF
6880 if ac_fn_c_try_compile "$LINENO"; then :
6881 ac_cv_sys_file_offset_bits=no; break
6883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6885 /* end confdefs.h. */
6886 #define _FILE_OFFSET_BITS 64
6887 #include <sys/types.h>
6888 /* Check that off_t can represent 2**63 - 1 correctly.
6889 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6890 since some C++ compilers masquerading as C compilers
6891 incorrectly reject 9223372036854775807. */
6892 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6893 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6894 && LARGE_OFF_T % 2147483647 == 1)
6895 ? 1 : -1];
6897 main ()
6901 return 0;
6903 _ACEOF
6904 if ac_fn_c_try_compile "$LINENO"; then :
6905 ac_cv_sys_file_offset_bits=64; break
6907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6908 ac_cv_sys_file_offset_bits=unknown
6909 break
6910 done
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6913 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6914 case $ac_cv_sys_file_offset_bits in #(
6915 no | unknown) ;;
6917 cat >>confdefs.h <<_ACEOF
6918 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6919 _ACEOF
6921 esac
6922 rm -rf conftest*
6923 if test $ac_cv_sys_file_offset_bits = unknown; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6925 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6926 if ${ac_cv_sys_large_files+:} false; then :
6927 $as_echo_n "(cached) " >&6
6928 else
6929 while :; do
6930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h. */
6932 #include <sys/types.h>
6933 /* Check that off_t can represent 2**63 - 1 correctly.
6934 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6935 since some C++ compilers masquerading as C compilers
6936 incorrectly reject 9223372036854775807. */
6937 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6938 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6939 && LARGE_OFF_T % 2147483647 == 1)
6940 ? 1 : -1];
6942 main ()
6946 return 0;
6948 _ACEOF
6949 if ac_fn_c_try_compile "$LINENO"; then :
6950 ac_cv_sys_large_files=no; break
6952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6954 /* end confdefs.h. */
6955 #define _LARGE_FILES 1
6956 #include <sys/types.h>
6957 /* Check that off_t can represent 2**63 - 1 correctly.
6958 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6959 since some C++ compilers masquerading as C compilers
6960 incorrectly reject 9223372036854775807. */
6961 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6962 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6963 && LARGE_OFF_T % 2147483647 == 1)
6964 ? 1 : -1];
6966 main ()
6970 return 0;
6972 _ACEOF
6973 if ac_fn_c_try_compile "$LINENO"; then :
6974 ac_cv_sys_large_files=1; break
6976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6977 ac_cv_sys_large_files=unknown
6978 break
6979 done
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6982 $as_echo "$ac_cv_sys_large_files" >&6; }
6983 case $ac_cv_sys_large_files in #(
6984 no | unknown) ;;
6986 cat >>confdefs.h <<_ACEOF
6987 #define _LARGE_FILES $ac_cv_sys_large_files
6988 _ACEOF
6990 esac
6991 rm -rf conftest*
6998 ac_ext=c
6999 ac_cpp='$CPP $CPPFLAGS'
7000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7004 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7005 # On Suns, sometimes $CPP names a directory.
7006 if test -n "$CPP" && test -d "$CPP"; then
7007 CPP=
7009 if test -z "$CPP"; then
7010 if ${ac_cv_prog_CPP+:} false; then :
7011 $as_echo_n "(cached) " >&6
7012 else
7013 # Double quotes because CPP needs to be expanded
7014 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7016 ac_preproc_ok=false
7017 for ac_c_preproc_warn_flag in '' yes
7019 # Use a header file that comes with gcc, so configuring glibc
7020 # with a fresh cross-compiler works.
7021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7022 # <limits.h> exists even on freestanding compilers.
7023 # On the NeXT, cc -E runs the code through the compiler's parser,
7024 # not just through cpp. "Syntax error" is here to catch this case.
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7027 #ifdef __STDC__
7028 # include <limits.h>
7029 #else
7030 # include <assert.h>
7031 #endif
7032 Syntax error
7033 _ACEOF
7034 if ac_fn_c_try_cpp "$LINENO"; then :
7036 else
7037 # Broken: fails on valid input.
7038 continue
7040 rm -f conftest.err conftest.i conftest.$ac_ext
7042 # OK, works on sane cases. Now check whether nonexistent headers
7043 # can be detected and how.
7044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7045 /* end confdefs.h. */
7046 #include <ac_nonexistent.h>
7047 _ACEOF
7048 if ac_fn_c_try_cpp "$LINENO"; then :
7049 # Broken: success on invalid input.
7050 continue
7051 else
7052 # Passes both tests.
7053 ac_preproc_ok=:
7054 break
7056 rm -f conftest.err conftest.i conftest.$ac_ext
7058 done
7059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7060 rm -f conftest.i conftest.err conftest.$ac_ext
7061 if $ac_preproc_ok; then :
7062 break
7065 done
7066 ac_cv_prog_CPP=$CPP
7069 CPP=$ac_cv_prog_CPP
7070 else
7071 ac_cv_prog_CPP=$CPP
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7074 $as_echo "$CPP" >&6; }
7075 ac_preproc_ok=false
7076 for ac_c_preproc_warn_flag in '' yes
7078 # Use a header file that comes with gcc, so configuring glibc
7079 # with a fresh cross-compiler works.
7080 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7081 # <limits.h> exists even on freestanding compilers.
7082 # On the NeXT, cc -E runs the code through the compiler's parser,
7083 # not just through cpp. "Syntax error" is here to catch this case.
7084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h. */
7086 #ifdef __STDC__
7087 # include <limits.h>
7088 #else
7089 # include <assert.h>
7090 #endif
7091 Syntax error
7092 _ACEOF
7093 if ac_fn_c_try_cpp "$LINENO"; then :
7095 else
7096 # Broken: fails on valid input.
7097 continue
7099 rm -f conftest.err conftest.i conftest.$ac_ext
7101 # OK, works on sane cases. Now check whether nonexistent headers
7102 # can be detected and how.
7103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7104 /* end confdefs.h. */
7105 #include <ac_nonexistent.h>
7106 _ACEOF
7107 if ac_fn_c_try_cpp "$LINENO"; then :
7108 # Broken: success on invalid input.
7109 continue
7110 else
7111 # Passes both tests.
7112 ac_preproc_ok=:
7113 break
7115 rm -f conftest.err conftest.i conftest.$ac_ext
7117 done
7118 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7119 rm -f conftest.i conftest.err conftest.$ac_ext
7120 if $ac_preproc_ok; then :
7122 else
7123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7125 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7126 See \`config.log' for more details" "$LINENO" 5; }
7129 ac_ext=c
7130 ac_cpp='$CPP $CPPFLAGS'
7131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7137 $as_echo_n "checking for ANSI C header files... " >&6; }
7138 if ${ac_cv_header_stdc+:} false; then :
7139 $as_echo_n "(cached) " >&6
7140 else
7141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7143 #include <stdlib.h>
7144 #include <stdarg.h>
7145 #include <string.h>
7146 #include <float.h>
7149 main ()
7153 return 0;
7155 _ACEOF
7156 if ac_fn_c_try_compile "$LINENO"; then :
7157 ac_cv_header_stdc=yes
7158 else
7159 ac_cv_header_stdc=no
7161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7163 if test $ac_cv_header_stdc = yes; then
7164 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7166 /* end confdefs.h. */
7167 #include <string.h>
7169 _ACEOF
7170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7171 $EGREP "memchr" >/dev/null 2>&1; then :
7173 else
7174 ac_cv_header_stdc=no
7176 rm -f conftest*
7180 if test $ac_cv_header_stdc = yes; then
7181 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 #include <stdlib.h>
7186 _ACEOF
7187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7188 $EGREP "free" >/dev/null 2>&1; then :
7190 else
7191 ac_cv_header_stdc=no
7193 rm -f conftest*
7197 if test $ac_cv_header_stdc = yes; then
7198 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7199 if test "$cross_compiling" = yes; then :
7201 else
7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203 /* end confdefs.h. */
7204 #include <ctype.h>
7205 #include <stdlib.h>
7206 #if ((' ' & 0x0FF) == 0x020)
7207 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7208 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7209 #else
7210 # define ISLOWER(c) \
7211 (('a' <= (c) && (c) <= 'i') \
7212 || ('j' <= (c) && (c) <= 'r') \
7213 || ('s' <= (c) && (c) <= 'z'))
7214 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7215 #endif
7217 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7219 main ()
7221 int i;
7222 for (i = 0; i < 256; i++)
7223 if (XOR (islower (i), ISLOWER (i))
7224 || toupper (i) != TOUPPER (i))
7225 return 2;
7226 return 0;
7228 _ACEOF
7229 if ac_fn_c_try_run "$LINENO"; then :
7231 else
7232 ac_cv_header_stdc=no
7234 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7235 conftest.$ac_objext conftest.beam conftest.$ac_ext
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7241 $as_echo "$ac_cv_header_stdc" >&6; }
7242 if test $ac_cv_header_stdc = yes; then
7244 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7248 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7249 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7250 inttypes.h stdint.h unistd.h
7251 do :
7252 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7253 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7255 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7256 cat >>confdefs.h <<_ACEOF
7257 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7258 _ACEOF
7262 done
7265 for ac_header in \
7266 AL/al.h \
7267 ApplicationServices/ApplicationServices.h \
7268 AudioToolbox/AudioConverter.h \
7269 AudioUnit/AudioUnit.h \
7270 AudioUnit/AudioComponent.h \
7271 CL/cl.h \
7272 Carbon/Carbon.h \
7273 CommonCrypto/CommonCryptor.h \
7274 CoreAudio/CoreAudio.h \
7275 CoreServices/CoreServices.h \
7276 DiskArbitration/DiskArbitration.h \
7277 EGL/egl.h \
7278 IOKit/IOKitLib.h \
7279 IOKit/hid/IOHIDLib.h \
7280 OpenAL/al.h \
7281 OpenCL/opencl.h \
7282 QuickTime/ImageCompression.h \
7283 Security/Security.h \
7284 alias.h \
7285 alsa/asoundlib.h \
7286 arpa/inet.h \
7287 arpa/nameser.h \
7288 asm/types.h \
7289 asm/user.h \
7290 curses.h \
7291 direct.h \
7292 dirent.h \
7293 dlfcn.h \
7294 elf.h \
7295 float.h \
7296 fnmatch.h \
7297 getopt.h \
7298 gettext-po.h \
7299 grp.h \
7300 gsm.h \
7301 gsm/gsm.h \
7302 ieeefp.h \
7303 inet/mib2.h \
7304 io.h \
7305 kstat.h \
7306 libproc.h \
7307 link.h \
7308 linux/cdrom.h \
7309 linux/compiler.h \
7310 linux/filter.h \
7311 linux/hdreg.h \
7312 linux/hidraw.h \
7313 linux/input.h \
7314 linux/ioctl.h \
7315 linux/joystick.h \
7316 linux/major.h \
7317 linux/param.h \
7318 linux/serial.h \
7319 linux/types.h \
7320 linux/ucdrom.h \
7321 lwp.h \
7322 mach-o/nlist.h \
7323 mach-o/loader.h \
7324 mach/mach.h \
7325 mach/machine.h \
7326 machine/cpu.h \
7327 machine/limits.h \
7328 machine/sysarch.h \
7329 mntent.h \
7330 ncurses.h \
7331 netdb.h \
7332 netinet/in.h \
7333 netinet/in_systm.h \
7334 netinet/tcp.h \
7335 netinet/tcp_fsm.h \
7336 pcap/pcap.h \
7337 poll.h \
7338 port.h \
7339 process.h \
7340 pthread.h \
7341 pwd.h \
7342 sched.h \
7343 scsi/scsi.h \
7344 scsi/scsi_ioctl.h \
7345 scsi/sg.h \
7346 stdbool.h \
7347 stdint.h \
7348 stropts.h \
7349 sys/asoundlib.h \
7350 sys/attr.h \
7351 sys/auxv.h \
7352 sys/cdio.h \
7353 sys/elf32.h \
7354 sys/epoll.h \
7355 sys/event.h \
7356 sys/exec_elf.h \
7357 sys/filio.h \
7358 sys/inotify.h \
7359 sys/ioctl.h \
7360 sys/ipc.h \
7361 sys/limits.h \
7362 sys/link.h \
7363 sys/mman.h \
7364 sys/modem.h \
7365 sys/msg.h \
7366 sys/mtio.h \
7367 sys/param.h \
7368 sys/poll.h \
7369 sys/prctl.h \
7370 sys/protosw.h \
7371 sys/ptrace.h \
7372 sys/queue.h \
7373 sys/resource.h \
7374 sys/scsiio.h \
7375 sys/shm.h \
7376 sys/signal.h \
7377 sys/socket.h \
7378 sys/socketvar.h \
7379 sys/sockio.h \
7380 sys/statvfs.h \
7381 sys/strtio.h \
7382 sys/syscall.h \
7383 sys/sysinfo.h \
7384 sys/tihdr.h \
7385 sys/time.h \
7386 sys/timeout.h \
7387 sys/times.h \
7388 sys/uio.h \
7389 sys/user.h \
7390 sys/utsname.h \
7391 sys/vnode.h \
7392 sys/wait.h \
7393 syscall.h \
7394 termios.h \
7395 unistd.h \
7396 utime.h \
7397 valgrind/memcheck.h \
7398 valgrind/valgrind.h \
7399 zlib.h
7401 do :
7402 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7403 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7404 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7405 cat >>confdefs.h <<_ACEOF
7406 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7407 _ACEOF
7411 done
7413 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7414 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7416 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7421 if test $ac_cv_header_sys_mkdev_h = no; then
7422 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7423 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7425 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7432 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7433 if ${ac_cv_header_stat_broken+:} false; then :
7434 $as_echo_n "(cached) " >&6
7435 else
7436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7437 /* end confdefs.h. */
7438 #include <sys/types.h>
7439 #include <sys/stat.h>
7441 #if defined S_ISBLK && defined S_IFDIR
7442 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7443 #endif
7445 #if defined S_ISBLK && defined S_IFCHR
7446 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7447 #endif
7449 #if defined S_ISLNK && defined S_IFREG
7450 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7451 #endif
7453 #if defined S_ISSOCK && defined S_IFREG
7454 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7455 #endif
7457 _ACEOF
7458 if ac_fn_c_try_compile "$LINENO"; then :
7459 ac_cv_header_stat_broken=no
7460 else
7461 ac_cv_header_stat_broken=yes
7463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7466 $as_echo "$ac_cv_header_stat_broken" >&6; }
7467 if test $ac_cv_header_stat_broken = yes; then
7469 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7475 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7476 do :
7477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7478 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7479 #ifdef HAVE_SYS_PARAM_H
7480 # include <sys/param.h>
7481 #endif
7483 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7484 cat >>confdefs.h <<_ACEOF
7485 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7486 _ACEOF
7490 done
7493 for ac_header in \
7494 netinet/ip.h \
7495 net/if.h \
7496 net/if_arp.h \
7497 net/if_dl.h \
7498 net/if_types.h \
7499 net/route.h \
7500 netinet/if_ether.h \
7501 netinet/if_inarp.h \
7502 netinet/in_pcb.h \
7503 netinet/ip_icmp.h \
7504 netinet/ip_var.h \
7505 netinet/udp.h \
7506 netipx/ipx.h \
7507 sys/un.h \
7509 do :
7510 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7511 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7512 #ifdef HAVE_SYS_SOCKET_H
7513 # include <sys/socket.h>
7514 #endif
7515 #ifdef HAVE_SYS_SOCKETVAR_H
7516 # include <sys/socketvar.h>
7517 #endif
7518 #ifdef HAVE_NET_ROUTE_H
7519 # include <net/route.h>
7520 #endif
7521 #ifdef HAVE_NETINET_IN_H
7522 # include <netinet/in.h>
7523 #endif
7524 #ifdef HAVE_NETINET_IN_SYSTM_H
7525 # include <netinet/in_systm.h>
7526 #endif
7527 #ifdef HAVE_NET_IF_H
7528 # include <net/if.h>
7529 #endif
7530 #ifdef HAVE_NETINET_IP_H
7531 # include <netinet/ip.h>
7532 #endif
7534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7535 cat >>confdefs.h <<_ACEOF
7536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7537 _ACEOF
7541 done
7544 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7545 do :
7546 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7547 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7548 #ifdef HAVE_ALIAS_H
7549 # include <alias.h>
7550 #endif
7551 #ifdef HAVE_SYS_SOCKET_H
7552 # include <sys/socket.h>
7553 #endif
7554 #ifdef HAVE_SYS_SOCKETVAR_H
7555 # include <sys/socketvar.h>
7556 #endif
7557 #ifdef HAVE_SYS_TIMEOUT_H
7558 # include <sys/timeout.h>
7559 #endif
7560 #ifdef HAVE_NETINET_IN_H
7561 # include <netinet/in.h>
7562 #endif
7563 #ifdef HAVE_NETINET_IN_SYSTM_H
7564 # include <netinet/in_systm.h>
7565 #endif
7566 #ifdef HAVE_NETINET_IP_H
7567 # include <netinet/ip.h>
7568 #endif
7569 #ifdef HAVE_NETINET_IP_VAR_H
7570 # include <netinet/ip_var.h>
7571 #endif
7572 #ifdef HAVE_NETINET_IP_ICMP_H
7573 # include <netinet/ip_icmp.h>
7574 #endif
7575 #ifdef HAVE_NETINET_UDP_H
7576 # include <netinet/udp.h>
7577 #endif
7578 #ifdef HAVE_NETINET_TCP_H
7579 # include <netinet/tcp.h>
7580 #endif
7581 #ifdef HAVE_NETINET_TCP_TIMER_H
7582 #include <netinet/tcp_timer.h>
7583 #endif
7585 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7586 cat >>confdefs.h <<_ACEOF
7587 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7588 _ACEOF
7592 done
7595 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7596 do :
7597 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7598 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7599 #ifdef HAVE_ASM_TYPES_H
7600 # include <asm/types.h>
7601 #endif
7602 #ifdef HAVE_SYS_SOCKET_H
7603 # include <sys/socket.h>
7604 #endif
7605 #ifdef HAVE_LINUX_TYPES_H
7606 # include <linux/types.h>
7607 #endif
7609 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7610 cat >>confdefs.h <<_ACEOF
7611 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7612 _ACEOF
7616 done
7619 for ac_header in mach-o/dyld_images.h
7620 do :
7621 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7622 # include <stdbool.h>
7623 #endif
7624 #ifdef HAVE_STDINT_H
7625 # include <stdint.h>
7626 #endif
7628 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7629 cat >>confdefs.h <<_ACEOF
7630 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7631 _ACEOF
7635 done
7638 for ac_header in resolv.h
7639 do :
7640 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7641 #ifdef HAVE_SYS_SOCKET_H
7642 # include <sys/socket.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IN_H
7645 # include <netinet/in.h>
7646 #endif
7647 #ifdef HAVE_ARPA_NAMESER_H
7648 # include <arpa/nameser.h>
7649 #endif
7651 if test "x$ac_cv_header_resolv_h" = xyes; then :
7652 cat >>confdefs.h <<_ACEOF
7653 #define HAVE_RESOLV_H 1
7654 _ACEOF
7658 done
7661 for ac_header in ifaddrs.h
7662 do :
7663 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7665 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7666 cat >>confdefs.h <<_ACEOF
7667 #define HAVE_IFADDRS_H 1
7668 _ACEOF
7672 done
7675 for ac_header in sys/ucontext.h
7676 do :
7677 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7679 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7680 cat >>confdefs.h <<_ACEOF
7681 #define HAVE_SYS_UCONTEXT_H 1
7682 _ACEOF
7686 done
7689 for ac_header in sys/thr.h
7690 do :
7691 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7692 #ifdef HAVE_SYS_UCONTEXT_H
7693 #include <sys/ucontext.h>
7694 #endif
7696 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7697 cat >>confdefs.h <<_ACEOF
7698 #define HAVE_SYS_THR_H 1
7699 _ACEOF
7703 done
7706 for ac_header in pthread_np.h
7707 do :
7708 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7709 #include <pthread.h>
7710 #endif
7712 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7713 cat >>confdefs.h <<_ACEOF
7714 #define HAVE_PTHREAD_NP_H 1
7715 _ACEOF
7719 done
7722 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7723 do :
7724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7725 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7726 #include <sys/time.h>
7727 #endif
7728 #include <sys/types.h>
7729 #ifdef HAVE_ASM_TYPES_H
7730 #include <asm/types.h>
7731 #endif
7733 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7734 cat >>confdefs.h <<_ACEOF
7735 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7736 _ACEOF
7740 done
7743 for ac_header in libprocstat.h
7744 do :
7745 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7746 #include <sys/param.h>
7747 #endif
7748 #ifdef HAVE_SYS_QUEUE_H
7749 #include <sys/queue.h>
7750 #endif
7751 #ifdef HAVE_SYS_SOCKET_H
7752 #include <sys/socket.h>
7753 #endif
7755 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7756 cat >>confdefs.h <<_ACEOF
7757 #define HAVE_LIBPROCSTAT_H 1
7758 _ACEOF
7762 done
7766 DLLFLAGS="-D_REENTRANT"
7768 LDRPATH_INSTALL=""
7770 LDRPATH_LOCAL=""
7772 LDEXECFLAGS=""
7774 WINELOADER_LDFLAGS=""
7776 LIBEXT="so"
7777 DLLEXT=".so"
7778 IMPLIBEXT="def"
7779 # Extract the first word of "ldd", so it can be a program name with args.
7780 set dummy ldd; ac_word=$2
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7782 $as_echo_n "checking for $ac_word... " >&6; }
7783 if ${ac_cv_path_LDD+:} false; then :
7784 $as_echo_n "(cached) " >&6
7785 else
7786 case $LDD in
7787 [\\/]* | ?:[\\/]*)
7788 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7792 as_dummy="/sbin:/usr/sbin:$PATH"
7793 for as_dir in $as_dummy
7795 IFS=$as_save_IFS
7796 test -z "$as_dir" && as_dir=.
7797 for ac_exec_ext in '' $ac_executable_extensions; do
7798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7799 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7801 break 2
7803 done
7804 done
7805 IFS=$as_save_IFS
7807 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7809 esac
7811 LDD=$ac_cv_path_LDD
7812 if test -n "$LDD"; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7814 $as_echo "$LDD" >&6; }
7815 else
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7817 $as_echo "no" >&6; }
7821 if test -n "$ac_tool_prefix"; then
7822 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7823 set dummy ${ac_tool_prefix}otool; ac_word=$2
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7825 $as_echo_n "checking for $ac_word... " >&6; }
7826 if ${ac_cv_prog_OTOOL+:} false; then :
7827 $as_echo_n "(cached) " >&6
7828 else
7829 if test -n "$OTOOL"; then
7830 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7831 else
7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7833 for as_dir in $PATH
7835 IFS=$as_save_IFS
7836 test -z "$as_dir" && as_dir=.
7837 for ac_exec_ext in '' $ac_executable_extensions; do
7838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7839 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7841 break 2
7843 done
7844 done
7845 IFS=$as_save_IFS
7849 OTOOL=$ac_cv_prog_OTOOL
7850 if test -n "$OTOOL"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7852 $as_echo "$OTOOL" >&6; }
7853 else
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7855 $as_echo "no" >&6; }
7860 if test -z "$ac_cv_prog_OTOOL"; then
7861 ac_ct_OTOOL=$OTOOL
7862 # Extract the first word of "otool", so it can be a program name with args.
7863 set dummy otool; ac_word=$2
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7865 $as_echo_n "checking for $ac_word... " >&6; }
7866 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7867 $as_echo_n "(cached) " >&6
7868 else
7869 if test -n "$ac_ct_OTOOL"; then
7870 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7871 else
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 for as_dir in $PATH
7875 IFS=$as_save_IFS
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7879 ac_cv_prog_ac_ct_OTOOL="otool"
7880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7881 break 2
7883 done
7884 done
7885 IFS=$as_save_IFS
7889 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7890 if test -n "$ac_ct_OTOOL"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7892 $as_echo "$ac_ct_OTOOL" >&6; }
7893 else
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7895 $as_echo "no" >&6; }
7898 if test "x$ac_ct_OTOOL" = x; then
7899 OTOOL="otool"
7900 else
7901 case $cross_compiling:$ac_tool_warned in
7902 yes:)
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7905 ac_tool_warned=yes ;;
7906 esac
7907 OTOOL=$ac_ct_OTOOL
7909 else
7910 OTOOL="$ac_cv_prog_OTOOL"
7913 if test -n "$ac_tool_prefix"; then
7914 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7915 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_prog_READELF+:} false; then :
7919 $as_echo_n "(cached) " >&6
7920 else
7921 if test -n "$READELF"; then
7922 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7923 else
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 for as_dir in $PATH
7927 IFS=$as_save_IFS
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 break 2
7935 done
7936 done
7937 IFS=$as_save_IFS
7941 READELF=$ac_cv_prog_READELF
7942 if test -n "$READELF"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7944 $as_echo "$READELF" >&6; }
7945 else
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7952 if test -z "$ac_cv_prog_READELF"; then
7953 ac_ct_READELF=$READELF
7954 # Extract the first word of "readelf", so it can be a program name with args.
7955 set dummy readelf; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 $as_echo_n "checking for $ac_word... " >&6; }
7958 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 if test -n "$ac_ct_READELF"; then
7962 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7963 else
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 for as_dir in $PATH
7967 IFS=$as_save_IFS
7968 test -z "$as_dir" && as_dir=.
7969 for ac_exec_ext in '' $ac_executable_extensions; do
7970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7971 ac_cv_prog_ac_ct_READELF="readelf"
7972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7973 break 2
7975 done
7976 done
7977 IFS=$as_save_IFS
7981 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7982 if test -n "$ac_ct_READELF"; then
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7984 $as_echo "$ac_ct_READELF" >&6; }
7985 else
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7987 $as_echo "no" >&6; }
7990 if test "x$ac_ct_READELF" = x; then
7991 READELF="true"
7992 else
7993 case $cross_compiling:$ac_tool_warned in
7994 yes:)
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7997 ac_tool_warned=yes ;;
7998 esac
7999 READELF=$ac_ct_READELF
8001 else
8002 READELF="$ac_cv_prog_READELF"
8005 wine_rules_file=conf$$rules.make
8006 rm -f $wine_rules_file
8007 SUBDIRS=""
8009 DISABLED_SUBDIRS=""
8011 CONFIGURE_TARGETS=""
8014 wine_fn_append_file ()
8016 as_fn_append $1 " \\$as_nl $2"
8019 wine_fn_append_rule ()
8021 $as_echo "$1" >>$wine_rules_file
8024 wine_fn_config_makefile ()
8026 wine_fn_append_file SUBDIRS $1
8027 if eval test \"x\$"$2"\" = x"no"; then :
8028 wine_fn_append_file DISABLED_SUBDIRS $1
8032 wine_fn_config_symlink ()
8034 ac_links=$@
8035 wine_fn_append_rule \
8036 "$ac_links:
8037 @./config.status \$@"
8038 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8041 wine_binary="wine"
8042 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8043 WINELOADER_PROGRAMS="$wine_binary"
8045 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8047 case $host_os in
8048 cygwin*|mingw32*)
8049 if test -n "$ac_tool_prefix"; then
8050 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8051 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_prog_DLLTOOL+:} false; then :
8055 $as_echo_n "(cached) " >&6
8056 else
8057 if test -n "$DLLTOOL"; then
8058 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8059 else
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8061 for as_dir in $PATH
8063 IFS=$as_save_IFS
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8069 break 2
8071 done
8072 done
8073 IFS=$as_save_IFS
8077 DLLTOOL=$ac_cv_prog_DLLTOOL
8078 if test -n "$DLLTOOL"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8080 $as_echo "$DLLTOOL" >&6; }
8081 else
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8083 $as_echo "no" >&6; }
8088 if test -z "$ac_cv_prog_DLLTOOL"; then
8089 ac_ct_DLLTOOL=$DLLTOOL
8090 # Extract the first word of "dlltool", so it can be a program name with args.
8091 set dummy dlltool; ac_word=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8093 $as_echo_n "checking for $ac_word... " >&6; }
8094 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8095 $as_echo_n "(cached) " >&6
8096 else
8097 if test -n "$ac_ct_DLLTOOL"; then
8098 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8099 else
8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101 for as_dir in $PATH
8103 IFS=$as_save_IFS
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8107 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8109 break 2
8111 done
8112 done
8113 IFS=$as_save_IFS
8117 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8118 if test -n "$ac_ct_DLLTOOL"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8120 $as_echo "$ac_ct_DLLTOOL" >&6; }
8121 else
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123 $as_echo "no" >&6; }
8126 if test "x$ac_ct_DLLTOOL" = x; then
8127 DLLTOOL="false"
8128 else
8129 case $cross_compiling:$ac_tool_warned in
8130 yes:)
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8133 ac_tool_warned=yes ;;
8134 esac
8135 DLLTOOL=$ac_ct_DLLTOOL
8137 else
8138 DLLTOOL="$ac_cv_prog_DLLTOOL"
8141 LIBEXT="dll"
8142 DLLEXT=""
8143 IMPLIBEXT="a"
8144 enable_iphlpapi=${enable_iphlpapi:-no}
8145 enable_kernel32=${enable_kernel32:-no}
8146 enable_msvcrt=${enable_msvcrt:-no}
8147 enable_ntdll=${enable_ntdll:-no}
8148 enable_ws2_32=${enable_ws2_32:-no}
8149 enable_loader=${enable_loader:-no}
8150 enable_server=${enable_server:-no}
8151 with_x=${with_x:-no}
8152 with_pthread=${with_pthread:-no}
8154 crtlibs=""
8155 case $host_os in
8156 mingw32*)
8157 crtlibs="-lmsvcrt" ;;
8158 esac
8160 LIBWINE_SHAREDLIB="libwine.dll"
8162 LIBWINE_IMPORTLIB="libwine.a"
8164 LIBWINE_INSTALL_LIB="libwine.dll"
8166 LIBWINE_INSTALL_DEV="libwine.a"
8168 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8170 LIBWINE_DEPENDS="wine.def"
8174 darwin*|macosx*)
8175 for ac_header in libunwind.h
8176 do :
8177 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8179 cat >>confdefs.h <<_ACEOF
8180 #define HAVE_LIBUNWIND_H 1
8181 _ACEOF
8185 done
8187 ac_ext=m
8188 ac_cpp='$OBJCPP $CPPFLAGS'
8189 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8190 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8191 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8193 ac_ext=m
8194 ac_cpp='$OBJCPP $CPPFLAGS'
8195 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8196 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8197 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8198 if test -n "$ac_tool_prefix"; then
8199 for ac_prog in gcc objcc objc cc CC
8201 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8202 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8204 $as_echo_n "checking for $ac_word... " >&6; }
8205 if ${ac_cv_prog_OBJC+:} false; then :
8206 $as_echo_n "(cached) " >&6
8207 else
8208 if test -n "$OBJC"; then
8209 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8210 else
8211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8212 for as_dir in $PATH
8214 IFS=$as_save_IFS
8215 test -z "$as_dir" && as_dir=.
8216 for ac_exec_ext in '' $ac_executable_extensions; do
8217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8218 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8220 break 2
8222 done
8223 done
8224 IFS=$as_save_IFS
8228 OBJC=$ac_cv_prog_OBJC
8229 if test -n "$OBJC"; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8231 $as_echo "$OBJC" >&6; }
8232 else
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8234 $as_echo "no" >&6; }
8238 test -n "$OBJC" && break
8239 done
8241 if test -z "$OBJC"; then
8242 ac_ct_OBJC=$OBJC
8243 for ac_prog in gcc objcc objc cc CC
8245 # Extract the first word of "$ac_prog", so it can be a program name with args.
8246 set dummy $ac_prog; ac_word=$2
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8248 $as_echo_n "checking for $ac_word... " >&6; }
8249 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8250 $as_echo_n "(cached) " >&6
8251 else
8252 if test -n "$ac_ct_OBJC"; then
8253 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8254 else
8255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8256 for as_dir in $PATH
8258 IFS=$as_save_IFS
8259 test -z "$as_dir" && as_dir=.
8260 for ac_exec_ext in '' $ac_executable_extensions; do
8261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8262 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8264 break 2
8266 done
8267 done
8268 IFS=$as_save_IFS
8272 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8273 if test -n "$ac_ct_OBJC"; then
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8275 $as_echo "$ac_ct_OBJC" >&6; }
8276 else
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8278 $as_echo "no" >&6; }
8282 test -n "$ac_ct_OBJC" && break
8283 done
8285 if test "x$ac_ct_OBJC" = x; then
8286 OBJC="gcc"
8287 else
8288 case $cross_compiling:$ac_tool_warned in
8289 yes:)
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8292 ac_tool_warned=yes ;;
8293 esac
8294 OBJC=$ac_ct_OBJC
8298 # Provide some information about the compiler.
8299 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8300 set X $ac_compile
8301 ac_compiler=$2
8302 for ac_option in --version -v -V -qversion; do
8303 { { ac_try="$ac_compiler $ac_option >&5"
8304 case "(($ac_try" in
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8307 esac
8308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8309 $as_echo "$ac_try_echo"; } >&5
8310 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8311 ac_status=$?
8312 if test -s conftest.err; then
8313 sed '10a\
8314 ... rest of stderr output deleted ...
8315 10q' conftest.err >conftest.er1
8316 cat conftest.er1 >&5
8318 rm -f conftest.er1 conftest.err
8319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8320 test $ac_status = 0; }
8321 done
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8324 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8325 if ${ac_cv_objc_compiler_gnu+:} false; then :
8326 $as_echo_n "(cached) " >&6
8327 else
8328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8329 /* end confdefs.h. */
8332 main ()
8334 #ifndef __GNUC__
8335 choke me
8336 #endif
8339 return 0;
8341 _ACEOF
8342 if ac_fn_objc_try_compile "$LINENO"; then :
8343 ac_compiler_gnu=yes
8344 else
8345 ac_compiler_gnu=no
8347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8348 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8352 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8353 if test $ac_compiler_gnu = yes; then
8354 GOBJC=yes
8355 else
8356 GOBJC=
8358 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8359 ac_save_OBJCFLAGS=$OBJCFLAGS
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8361 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8362 if ${ac_cv_prog_objc_g+:} false; then :
8363 $as_echo_n "(cached) " >&6
8364 else
8365 ac_save_objc_werror_flag=$ac_objc_werror_flag
8366 ac_objc_werror_flag=yes
8367 ac_cv_prog_objc_g=no
8368 OBJCFLAGS="-g"
8369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8373 main ()
8377 return 0;
8379 _ACEOF
8380 if ac_fn_objc_try_compile "$LINENO"; then :
8381 ac_cv_prog_objc_g=yes
8382 else
8383 OBJCFLAGS=""
8384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8388 main ()
8392 return 0;
8394 _ACEOF
8395 if ac_fn_objc_try_compile "$LINENO"; then :
8397 else
8398 ac_objc_werror_flag=$ac_save_objc_werror_flag
8399 OBJCFLAGS="-g"
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8404 main ()
8408 return 0;
8410 _ACEOF
8411 if ac_fn_objc_try_compile "$LINENO"; then :
8412 ac_cv_prog_objc_g=yes
8414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8419 ac_objc_werror_flag=$ac_save_objc_werror_flag
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8422 $as_echo "$ac_cv_prog_objc_g" >&6; }
8423 if test "$ac_test_OBJCFLAGS" = set; then
8424 OBJCFLAGS=$ac_save_OBJCFLAGS
8425 elif test $ac_cv_prog_objc_g = yes; then
8426 if test "$GOBJC" = yes; then
8427 OBJCFLAGS="-g -O2"
8428 else
8429 OBJCFLAGS="-g"
8431 else
8432 if test "$GOBJC" = yes; then
8433 OBJCFLAGS="-O2"
8434 else
8435 OBJCFLAGS=
8438 ac_ext=m
8439 ac_cpp='$OBJCPP $CPPFLAGS'
8440 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8441 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8442 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8445 ac_ext=m
8446 ac_cpp='$OBJCPP $CPPFLAGS'
8447 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8448 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8449 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8451 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8452 if test -z "$OBJCPP"; then
8453 if ${ac_cv_prog_OBJCPP+:} false; then :
8454 $as_echo_n "(cached) " >&6
8455 else
8456 # Double quotes because OBJCPP needs to be expanded
8457 for OBJCPP in "$OBJC -E" "/lib/cpp"
8459 ac_preproc_ok=false
8460 for ac_objc_preproc_warn_flag in '' yes
8462 # Use a header file that comes with gcc, so configuring glibc
8463 # with a fresh cross-compiler works.
8464 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8465 # <limits.h> exists even on freestanding compilers.
8466 # On the NeXT, cc -E runs the code through the compiler's parser,
8467 # not just through cpp. "Syntax error" is here to catch this case.
8468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8470 #ifdef __STDC__
8471 # include <limits.h>
8472 #else
8473 # include <assert.h>
8474 #endif
8475 Syntax error
8476 _ACEOF
8477 if ac_fn_objc_try_cpp "$LINENO"; then :
8479 else
8480 # Broken: fails on valid input.
8481 continue
8483 rm -f conftest.err conftest.i conftest.$ac_ext
8485 # OK, works on sane cases. Now check whether nonexistent headers
8486 # can be detected and how.
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8489 #include <ac_nonexistent.h>
8490 _ACEOF
8491 if ac_fn_objc_try_cpp "$LINENO"; then :
8492 # Broken: success on invalid input.
8493 continue
8494 else
8495 # Passes both tests.
8496 ac_preproc_ok=:
8497 break
8499 rm -f conftest.err conftest.i conftest.$ac_ext
8501 done
8502 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8503 rm -f conftest.i conftest.err conftest.$ac_ext
8504 if $ac_preproc_ok; then :
8505 break
8508 done
8509 ac_cv_prog_OBJCPP=$OBJCPP
8512 OBJCPP=$ac_cv_prog_OBJCPP
8513 else
8514 ac_cv_prog_OBJCPP=$OBJCPP
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8517 $as_echo "$OBJCPP" >&6; }
8518 ac_preproc_ok=false
8519 for ac_objc_preproc_warn_flag in '' yes
8521 # Use a header file that comes with gcc, so configuring glibc
8522 # with a fresh cross-compiler works.
8523 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8524 # <limits.h> exists even on freestanding compilers.
8525 # On the NeXT, cc -E runs the code through the compiler's parser,
8526 # not just through cpp. "Syntax error" is here to catch this case.
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8529 #ifdef __STDC__
8530 # include <limits.h>
8531 #else
8532 # include <assert.h>
8533 #endif
8534 Syntax error
8535 _ACEOF
8536 if ac_fn_objc_try_cpp "$LINENO"; then :
8538 else
8539 # Broken: fails on valid input.
8540 continue
8542 rm -f conftest.err conftest.i conftest.$ac_ext
8544 # OK, works on sane cases. Now check whether nonexistent headers
8545 # can be detected and how.
8546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8547 /* end confdefs.h. */
8548 #include <ac_nonexistent.h>
8549 _ACEOF
8550 if ac_fn_objc_try_cpp "$LINENO"; then :
8551 # Broken: success on invalid input.
8552 continue
8553 else
8554 # Passes both tests.
8555 ac_preproc_ok=:
8556 break
8558 rm -f conftest.err conftest.i conftest.$ac_ext
8560 done
8561 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8562 rm -f conftest.i conftest.err conftest.$ac_ext
8563 if $ac_preproc_ok; then :
8565 else
8566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8568 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8569 See \`config.log' for more details" "$LINENO" 5; }
8572 ac_ext=m
8573 ac_cpp='$OBJCPP $CPPFLAGS'
8574 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8575 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8576 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8579 for ac_header in Metal/Metal.h
8580 do :
8581 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8582 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8583 cat >>confdefs.h <<_ACEOF
8584 #define HAVE_METAL_METAL_H 1
8585 _ACEOF
8589 done
8591 ac_ext=c
8592 ac_cpp='$CPP $CPPFLAGS'
8593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8597 LIBEXT="dylib"
8598 DLLFLAGS="$DLLFLAGS -fPIC"
8599 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8600 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8601 COREFOUNDATION_LIBS="-framework CoreFoundation"
8603 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8605 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8607 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8609 CORESERVICES_LIBS="-framework CoreServices"
8611 APPKIT_LIBS="-framework AppKit"
8613 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8615 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8616 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8617 $as_echo_n "(cached) " >&6
8618 else
8619 ac_wine_try_cflags_saved=$CFLAGS
8620 CFLAGS="$CFLAGS -Wl,-no_pie"
8621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8623 int main(int argc, char **argv) { return 0; }
8624 _ACEOF
8625 if ac_fn_c_try_link "$LINENO"; then :
8626 ac_cv_cflags__Wl__no_pie=yes
8627 else
8628 ac_cv_cflags__Wl__no_pie=no
8630 rm -f core conftest.err conftest.$ac_objext \
8631 conftest$ac_exeext conftest.$ac_ext
8632 CFLAGS=$ac_wine_try_cflags_saved
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8635 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8636 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8637 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8639 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8640 then
8641 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8644 if test "$ac_cv_header_Security_Security_h" = "yes"
8645 then
8646 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8648 ac_save_LIBS="$LIBS"
8649 LIBS="$LIBS $SECURITY_LIBS"
8650 for ac_func in SSLCopyPeerCertificates
8651 do :
8652 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8653 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8654 cat >>confdefs.h <<_ACEOF
8655 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8656 _ACEOF
8659 done
8661 LIBS="$ac_save_LIBS"
8663 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8664 then
8665 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8666 then
8667 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8669 else
8670 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8673 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8674 ac_save_LIBS="$LIBS"
8675 LIBS="$LIBS $COREAUDIO_LIBS"
8676 for ac_func in AUGraphAddNode
8677 do :
8678 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8679 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8680 cat >>confdefs.h <<_ACEOF
8681 #define HAVE_AUGRAPHADDNODE 1
8682 _ACEOF
8685 done
8687 LIBS="$ac_save_LIBS"
8689 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8690 then
8691 OPENAL_LIBS="-framework OpenAL"
8694 cat >>confdefs.h <<_ACEOF
8695 #define HAVE_OPENAL 1
8696 _ACEOF
8698 ac_cv_lib_openal=yes
8700 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8701 then
8702 OPENCL_LIBS="-framework OpenCL"
8704 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8706 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8707 then
8708 ac_save_LIBS="$LIBS"
8709 LIBS="$LIBS $IOKIT_LIBS"
8710 for ac_func in IOHIDManagerCreate
8711 do :
8712 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8713 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8714 cat >>confdefs.h <<_ACEOF
8715 #define HAVE_IOHIDMANAGERCREATE 1
8716 _ACEOF
8719 done
8721 LIBS="$ac_save_LIBS"
8723 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8724 then
8725 ac_save_LIBS="$LIBS"
8726 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8728 $as_echo_n "checking for the QuickTime framework... " >&6; }
8729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8731 #include <QuickTime/ImageCompression.h>
8733 main ()
8735 CodecManagerVersion(NULL);
8737 return 0;
8739 _ACEOF
8740 if ac_fn_c_try_link "$LINENO"; then :
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8742 $as_echo "yes" >&6; }
8743 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8745 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8746 else
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8748 $as_echo "no" >&6; }
8749 ac_cv_header_QuickTime_ImageCompression_h=no
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 LIBS="$ac_save_LIBS"
8755 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8756 then
8757 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8759 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8760 then
8761 CARBON_LIBS="-framework Carbon"
8764 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8765 then
8766 METAL_LIBS="-framework Metal -framework QuartzCore"
8770 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8771 then
8772 ac_save_LIBS="$LIBS"
8773 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8774 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8775 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8776 enable_winemac_drv=${enable_winemac_drv:-yes}
8779 LIBS="$ac_save_LIBS"
8782 if test "x$enable_win16" = "xyes"
8783 then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8785 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8786 if test "$cross_compiling" = yes; then :
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8788 $as_echo "cross-compiling, assuming yes" >&6; }
8789 else
8790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8791 /* end confdefs.h. */
8792 asm(".text\n"
8793 "bad:\tnop;nop\n"
8794 "good:\tnop;nop\n\t"
8795 ".globl _testfunc\n"
8796 "_testfunc:\tcallw good");
8797 extern void testfunc();
8799 main ()
8801 unsigned short *p = (unsigned short *)testfunc;
8802 return p[0] != 0xe866 || p[1] != 0xfffa
8804 return 0;
8806 _ACEOF
8807 if ac_fn_c_try_run "$LINENO"; then :
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8809 $as_echo "yes" >&6; }
8810 else
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8813 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
8815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8816 conftest.$ac_objext conftest.beam conftest.$ac_ext
8821 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8823 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8825 LIBWINE_INSTALL_DEV="libwine.dylib"
8827 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8829 WINELOADER_DEPENDS="wine_info.plist"
8833 linux-android*)
8834 DLLFLAGS="$DLLFLAGS -fPIC"
8835 LDEXECFLAGS="-Wl,-pie"
8836 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8838 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8839 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8840 $as_echo_n "(cached) " >&6
8841 else
8842 ac_wine_try_cflags_saved=$CFLAGS
8843 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8845 /* end confdefs.h. */
8846 int main(int argc, char **argv) { return 0; }
8847 _ACEOF
8848 if ac_fn_c_try_link "$LINENO"; then :
8849 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8850 else
8851 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8853 rm -f core conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8855 CFLAGS=$ac_wine_try_cflags_saved
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8858 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8859 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8860 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8862 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8864 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8865 if eval \${$as_ac_var+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 ac_wine_try_cflags_saved=$CFLAGS
8869 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8872 int main(int argc, char **argv) { return 0; }
8873 _ACEOF
8874 if ac_fn_c_try_link "$LINENO"; then :
8875 eval "$as_ac_var=yes"
8876 else
8877 eval "$as_ac_var=no"
8879 rm -f core conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
8881 CFLAGS=$ac_wine_try_cflags_saved
8883 eval ac_res=\$$as_ac_var
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8885 $as_echo "$ac_res" >&6; }
8886 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8887 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8888 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8889 else
8890 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8892 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8893 if eval \${$as_ac_var+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 ac_wine_try_cflags_saved=$CFLAGS
8897 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8900 int main(int argc, char **argv) { return 0; }
8901 _ACEOF
8902 if ac_fn_c_try_link "$LINENO"; then :
8903 eval "$as_ac_var=yes"
8904 else
8905 eval "$as_ac_var=no"
8907 rm -f core conftest.err conftest.$ac_objext \
8908 conftest$ac_exeext conftest.$ac_ext
8909 CFLAGS=$ac_wine_try_cflags_saved
8911 eval ac_res=\$$as_ac_var
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8913 $as_echo "$ac_res" >&6; }
8914 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8915 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8916 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8920 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8921 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8922 $as_echo_n "(cached) " >&6
8923 else
8924 ac_wine_try_cflags_saved=$CFLAGS
8925 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8927 /* end confdefs.h. */
8928 int main(int argc, char **argv) { return 0; }
8929 _ACEOF
8930 if ac_fn_c_try_link "$LINENO"; then :
8931 ac_cv_cflags__Wl___enable_new_dtags=yes
8932 else
8933 ac_cv_cflags__Wl___enable_new_dtags=no
8935 rm -f core conftest.err conftest.$ac_objext \
8936 conftest$ac_exeext conftest.$ac_ext
8937 CFLAGS=$ac_wine_try_cflags_saved
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8940 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8941 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8942 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8945 LIBWINE_SHAREDLIB="libwine.so"
8947 LIBWINE_INSTALL_LIB="libwine.so"
8949 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8953 $as_echo_n "checking for -lEGL... " >&6; }
8954 if ${ac_cv_lib_soname_EGL+:} false; then :
8955 $as_echo_n "(cached) " >&6
8956 else
8957 ac_check_soname_save_LIBS=$LIBS
8958 LIBS="-lEGL $LIBS"
8959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8962 /* Override any GCC internal prototype to avoid an error.
8963 Use char because int might match the return type of a GCC
8964 builtin and then its argument prototype would still apply. */
8965 #ifdef __cplusplus
8966 extern "C"
8967 #endif
8968 char eglGetProcAddress ();
8970 main ()
8972 return eglGetProcAddress ();
8974 return 0;
8976 _ACEOF
8977 if ac_fn_c_try_link "$LINENO"; then :
8978 case "$LIBEXT" in
8979 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8980 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'` ;;
8981 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8982 if ${ac_cv_lib_soname_EGL:+false} :; then :
8983 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8984 fi ;;
8985 esac
8987 rm -f core conftest.err conftest.$ac_objext \
8988 conftest$ac_exeext conftest.$ac_ext
8989 LIBS=$ac_check_soname_save_LIBS
8991 if ${ac_cv_lib_soname_EGL:+false} :; then :
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8993 $as_echo "not found" >&6; }
8995 else
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8997 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8999 cat >>confdefs.h <<_ACEOF
9000 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9001 _ACEOF
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9006 $as_echo_n "checking for -lGLESv2... " >&6; }
9007 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9008 $as_echo_n "(cached) " >&6
9009 else
9010 ac_check_soname_save_LIBS=$LIBS
9011 LIBS="-lGLESv2 $LIBS"
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9015 /* Override any GCC internal prototype to avoid an error.
9016 Use char because int might match the return type of a GCC
9017 builtin and then its argument prototype would still apply. */
9018 #ifdef __cplusplus
9019 extern "C"
9020 #endif
9021 char glFlush ();
9023 main ()
9025 return glFlush ();
9027 return 0;
9029 _ACEOF
9030 if ac_fn_c_try_link "$LINENO"; then :
9031 case "$LIBEXT" in
9032 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9033 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'` ;;
9034 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9035 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9036 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9037 fi ;;
9038 esac
9040 rm -f core conftest.err conftest.$ac_objext \
9041 conftest$ac_exeext conftest.$ac_ext
9042 LIBS=$ac_check_soname_save_LIBS
9044 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9046 $as_echo "not found" >&6; }
9048 else
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9050 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9052 cat >>confdefs.h <<_ACEOF
9053 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9054 _ACEOF
9059 if test "x$exec_prefix" = xNONE
9060 then
9061 case $host_cpu in
9062 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9063 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9064 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9065 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9066 esac
9071 DLLFLAGS="$DLLFLAGS -fPIC"
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9073 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9074 if ${ac_cv_c_dll_gnuelf+:} false; then :
9075 $as_echo_n "(cached) " >&6
9076 else
9077 ac_wine_try_cflags_saved=$CFLAGS
9078 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9081 void myfunc() {}
9082 _ACEOF
9083 if ac_fn_c_try_link "$LINENO"; then :
9084 ac_cv_c_dll_gnuelf="yes"
9085 else
9086 ac_cv_c_dll_gnuelf="no"
9088 rm -f core conftest.err conftest.$ac_objext \
9089 conftest$ac_exeext conftest.$ac_ext
9090 CFLAGS=$ac_wine_try_cflags_saved
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9093 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9094 if test "$ac_cv_c_dll_gnuelf" = "yes"
9095 then
9096 LIBWINE_LDFLAGS="-shared"
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9098 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9099 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9100 $as_echo_n "(cached) " >&6
9101 else
9102 ac_wine_try_cflags_saved=$CFLAGS
9103 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9106 int main(int argc, char **argv) { return 0; }
9107 _ACEOF
9108 if ac_fn_c_try_link "$LINENO"; then :
9109 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9110 else
9111 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9113 rm -f core conftest.err conftest.$ac_objext \
9114 conftest$ac_exeext conftest.$ac_ext
9115 CFLAGS=$ac_wine_try_cflags_saved
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9118 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9119 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9120 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9121 else
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9123 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9124 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9125 $as_echo_n "(cached) " >&6
9126 else
9127 ac_wine_try_cflags_saved=$CFLAGS
9128 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9130 /* end confdefs.h. */
9131 int main(int argc, char **argv) { return 0; }
9132 _ACEOF
9133 if ac_fn_c_try_link "$LINENO"; then :
9134 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9135 else
9136 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9138 rm -f core conftest.err conftest.$ac_objext \
9139 conftest$ac_exeext conftest.$ac_ext
9140 CFLAGS=$ac_wine_try_cflags_saved
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9143 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9144 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9145 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9149 echo '{ global: *; };' >conftest.map
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9151 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9152 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9153 $as_echo_n "(cached) " >&6
9154 else
9155 ac_wine_try_cflags_saved=$CFLAGS
9156 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9159 int main(int argc, char **argv) { return 0; }
9160 _ACEOF
9161 if ac_fn_c_try_link "$LINENO"; then :
9162 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9163 else
9164 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9166 rm -f core conftest.err conftest.$ac_objext \
9167 conftest$ac_exeext conftest.$ac_ext
9168 CFLAGS=$ac_wine_try_cflags_saved
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9171 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9172 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9173 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9175 rm -f conftest.map
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9178 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9179 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9180 $as_echo_n "(cached) " >&6
9181 else
9182 ac_wine_try_cflags_saved=$CFLAGS
9183 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9186 int main(int argc, char **argv) { return 0; }
9187 _ACEOF
9188 if ac_fn_c_try_link "$LINENO"; then :
9189 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9190 else
9191 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9195 CFLAGS=$ac_wine_try_cflags_saved
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9198 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9199 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9200 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9203 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9205 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9206 if eval \${$as_ac_var+:} false; then :
9207 $as_echo_n "(cached) " >&6
9208 else
9209 ac_wine_try_cflags_saved=$CFLAGS
9210 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9213 int main(int argc, char **argv) { return 0; }
9214 _ACEOF
9215 if ac_fn_c_try_link "$LINENO"; then :
9216 eval "$as_ac_var=yes"
9217 else
9218 eval "$as_ac_var=no"
9220 rm -f core conftest.err conftest.$ac_objext \
9221 conftest$ac_exeext conftest.$ac_ext
9222 CFLAGS=$ac_wine_try_cflags_saved
9224 eval ac_res=\$$as_ac_var
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9226 $as_echo "$ac_res" >&6; }
9227 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9228 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9229 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9230 else
9231 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9233 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9234 if eval \${$as_ac_var+:} false; then :
9235 $as_echo_n "(cached) " >&6
9236 else
9237 ac_wine_try_cflags_saved=$CFLAGS
9238 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9241 int main(int argc, char **argv) { return 0; }
9242 _ACEOF
9243 if ac_fn_c_try_link "$LINENO"; then :
9244 eval "$as_ac_var=yes"
9245 else
9246 eval "$as_ac_var=no"
9248 rm -f core conftest.err conftest.$ac_objext \
9249 conftest$ac_exeext conftest.$ac_ext
9250 CFLAGS=$ac_wine_try_cflags_saved
9252 eval ac_res=\$$as_ac_var
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9254 $as_echo "$ac_res" >&6; }
9255 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9256 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9257 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9262 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9263 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9264 $as_echo_n "(cached) " >&6
9265 else
9266 ac_wine_try_cflags_saved=$CFLAGS
9267 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9269 /* end confdefs.h. */
9270 int main(int argc, char **argv) { return 0; }
9271 _ACEOF
9272 if ac_fn_c_try_link "$LINENO"; then :
9273 ac_cv_cflags__Wl___enable_new_dtags=yes
9274 else
9275 ac_cv_cflags__Wl___enable_new_dtags=no
9277 rm -f core conftest.err conftest.$ac_objext \
9278 conftest$ac_exeext conftest.$ac_ext
9279 CFLAGS=$ac_wine_try_cflags_saved
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9282 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9283 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9284 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9287 case $host_cpu in
9288 *i[3456789]86* | x86_64 | *aarch64*)
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9290 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9291 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9292 $as_echo_n "(cached) " >&6
9293 else
9294 ac_wine_try_cflags_saved=$CFLAGS
9295 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9298 int main(int argc, char **argv) { return 0; }
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9302 else
9303 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 CFLAGS=$ac_wine_try_cflags_saved
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9310 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9311 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9312 case $host_os in
9313 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9314 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9315 esac
9316 else
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9318 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9319 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9320 $as_echo_n "(cached) " >&6
9321 else
9322 ac_wine_try_cflags_saved=$CFLAGS
9323 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9326 int main(int argc, char **argv) { return 0; }
9327 _ACEOF
9328 if ac_fn_c_try_link "$LINENO"; then :
9329 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9330 else
9331 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9333 rm -f core conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 CFLAGS=$ac_wine_try_cflags_saved
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9338 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9339 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9340 case $host_os in
9341 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9342 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9343 esac
9345 # Extract the first word of "prelink", so it can be a program name with args.
9346 set dummy prelink; ac_word=$2
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9348 $as_echo_n "checking for $ac_word... " >&6; }
9349 if ${ac_cv_path_PRELINK+:} false; then :
9350 $as_echo_n "(cached) " >&6
9351 else
9352 case $PRELINK in
9353 [\\/]* | ?:[\\/]*)
9354 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9358 for as_dir in /sbin /usr/sbin $PATH
9360 IFS=$as_save_IFS
9361 test -z "$as_dir" && as_dir=.
9362 for ac_exec_ext in '' $ac_executable_extensions; do
9363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9364 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9366 break 2
9368 done
9369 done
9370 IFS=$as_save_IFS
9372 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9374 esac
9376 PRELINK=$ac_cv_path_PRELINK
9377 if test -n "$PRELINK"; then
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9379 $as_echo "$PRELINK" >&6; }
9380 else
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9382 $as_echo "no" >&6; }
9386 if test "x$PRELINK" = xfalse
9387 then
9388 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9392 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9393 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9394 $as_echo_n "(cached) " >&6
9395 else
9396 ac_wine_try_cflags_saved=$CFLAGS
9397 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9400 int main(int argc, char **argv) { return 0; }
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9404 else
9405 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 CFLAGS=$ac_wine_try_cflags_saved
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9412 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9413 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9414 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9417 esac
9419 else
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9421 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9422 if ${ac_cv_c_dll_unixware+:} false; then :
9423 $as_echo_n "(cached) " >&6
9424 else
9425 ac_wine_try_cflags_saved=$CFLAGS
9426 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9429 void myfunc() {}
9430 _ACEOF
9431 if ac_fn_c_try_link "$LINENO"; then :
9432 ac_cv_c_dll_unixware="yes"
9433 else
9434 ac_cv_c_dll_unixware="no"
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 CFLAGS=$ac_wine_try_cflags_saved
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9441 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9442 if test "$ac_cv_c_dll_unixware" = "yes"
9443 then
9444 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9447 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9449 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9451 LIBWINE_INSTALL_DEV="libwine.so"
9453 LIBWINE_DEPENDS="wine.map"
9456 esac
9458 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9459 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9460 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9461 enable_winemac_drv=${enable_winemac_drv:-no}
9462 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9464 CROSSTARGET=""
9466 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9467 then
9468 case "$host_cpu" in
9469 aarch64*)
9470 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9471 arm*)
9472 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9473 i[3456789]86*)
9474 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
9475 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9476 mingw32-gcc" ;;
9477 x86_64)
9478 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
9479 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9481 ac_prefix_list="" ;;
9482 esac
9483 for ac_prog in $ac_prefix_list
9485 # Extract the first word of "$ac_prog", so it can be a program name with args.
9486 set dummy $ac_prog; ac_word=$2
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9488 $as_echo_n "checking for $ac_word... " >&6; }
9489 if ${ac_cv_prog_CROSSCC+:} false; then :
9490 $as_echo_n "(cached) " >&6
9491 else
9492 if test -n "$CROSSCC"; then
9493 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9494 else
9495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9496 for as_dir in $PATH
9498 IFS=$as_save_IFS
9499 test -z "$as_dir" && as_dir=.
9500 for ac_exec_ext in '' $ac_executable_extensions; do
9501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9502 ac_cv_prog_CROSSCC="$ac_prog"
9503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9504 break 2
9506 done
9507 done
9508 IFS=$as_save_IFS
9512 CROSSCC=$ac_cv_prog_CROSSCC
9513 if test -n "$CROSSCC"; then
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9515 $as_echo "$CROSSCC" >&6; }
9516 else
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9518 $as_echo "no" >&6; }
9522 test -n "$CROSSCC" && break
9523 done
9524 test -n "$CROSSCC" || CROSSCC="false"
9526 if test "$CROSSCC" != "false"
9527 then
9528 ac_save_CC="$CC"
9529 CC="$CROSSCC"
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9531 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533 /* end confdefs.h. */
9536 main ()
9540 return 0;
9542 _ACEOF
9543 if ac_fn_c_try_compile "$LINENO"; then :
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9545 $as_echo "yes" >&6; }
9546 set x $CROSSCC
9547 shift
9548 while test $# -ge 1
9550 case "$1" in
9551 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9552 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9553 esac
9554 shift
9555 done
9556 else
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9558 $as_echo "no" >&6; }
9560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9561 CC="$ac_save_CC"
9562 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9568 if test "$ac_cv_header_pthread_h" = "yes"
9569 then
9570 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9571 if test "x$ac_cv_func_pthread_create" = xyes; then :
9573 else
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9575 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9576 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9577 $as_echo_n "(cached) " >&6
9578 else
9579 ac_check_lib_save_LIBS=$LIBS
9580 LIBS="-lpthread $LIBS"
9581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9582 /* end confdefs.h. */
9584 /* Override any GCC internal prototype to avoid an error.
9585 Use char because int might match the return type of a GCC
9586 builtin and then its argument prototype would still apply. */
9587 #ifdef __cplusplus
9588 extern "C"
9589 #endif
9590 char pthread_create ();
9592 main ()
9594 return pthread_create ();
9596 return 0;
9598 _ACEOF
9599 if ac_fn_c_try_link "$LINENO"; then :
9600 ac_cv_lib_pthread_pthread_create=yes
9601 else
9602 ac_cv_lib_pthread_pthread_create=no
9604 rm -f core conftest.err conftest.$ac_objext \
9605 conftest$ac_exeext conftest.$ac_ext
9606 LIBS=$ac_check_lib_save_LIBS
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9609 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9610 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9611 PTHREAD_LIBS="-lpthread"
9618 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9619 case "x$with_pthread" in
9620 xno) ;;
9621 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9622 Wine cannot support threads without libpthread.
9623 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9624 esac
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9630 $as_echo_n "checking for X... " >&6; }
9633 # Check whether --with-x was given.
9634 if test "${with_x+set}" = set; then :
9635 withval=$with_x;
9638 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9639 if test "x$with_x" = xno; then
9640 # The user explicitly disabled X.
9641 have_x=disabled
9642 else
9643 case $x_includes,$x_libraries in #(
9644 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9645 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9646 $as_echo_n "(cached) " >&6
9647 else
9648 # One or both of the vars are not set, and there is no cached value.
9649 ac_x_includes=no ac_x_libraries=no
9650 rm -f -r conftest.dir
9651 if mkdir conftest.dir; then
9652 cd conftest.dir
9653 cat >Imakefile <<'_ACEOF'
9654 incroot:
9655 @echo incroot='${INCROOT}'
9656 usrlibdir:
9657 @echo usrlibdir='${USRLIBDIR}'
9658 libdir:
9659 @echo libdir='${LIBDIR}'
9660 _ACEOF
9661 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9662 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9663 for ac_var in incroot usrlibdir libdir; do
9664 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9665 done
9666 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9667 for ac_extension in a so sl dylib la dll; do
9668 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9669 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9670 ac_im_usrlibdir=$ac_im_libdir; break
9672 done
9673 # Screen out bogus values from the imake configuration. They are
9674 # bogus both because they are the default anyway, and because
9675 # using them would break gcc on systems where it needs fixed includes.
9676 case $ac_im_incroot in
9677 /usr/include) ac_x_includes= ;;
9678 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9679 esac
9680 case $ac_im_usrlibdir in
9681 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9682 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9683 esac
9685 cd ..
9686 rm -f -r conftest.dir
9689 # Standard set of common directories for X headers.
9690 # Check X11 before X11Rn because it is often a symlink to the current release.
9691 ac_x_header_dirs='
9692 /usr/X11/include
9693 /usr/X11R7/include
9694 /usr/X11R6/include
9695 /usr/X11R5/include
9696 /usr/X11R4/include
9698 /usr/include/X11
9699 /usr/include/X11R7
9700 /usr/include/X11R6
9701 /usr/include/X11R5
9702 /usr/include/X11R4
9704 /usr/local/X11/include
9705 /usr/local/X11R7/include
9706 /usr/local/X11R6/include
9707 /usr/local/X11R5/include
9708 /usr/local/X11R4/include
9710 /usr/local/include/X11
9711 /usr/local/include/X11R7
9712 /usr/local/include/X11R6
9713 /usr/local/include/X11R5
9714 /usr/local/include/X11R4
9716 /usr/X386/include
9717 /usr/x386/include
9718 /usr/XFree86/include/X11
9720 /usr/include
9721 /usr/local/include
9722 /usr/unsupported/include
9723 /usr/athena/include
9724 /usr/local/x11r5/include
9725 /usr/lpp/Xamples/include
9727 /usr/openwin/include
9728 /usr/openwin/share/include'
9730 if test "$ac_x_includes" = no; then
9731 # Guess where to find include files, by looking for Xlib.h.
9732 # First, try using that file with no special directory specified.
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9735 #include <X11/Xlib.h>
9736 _ACEOF
9737 if ac_fn_c_try_cpp "$LINENO"; then :
9738 # We can compile using X headers with no special include directory.
9739 ac_x_includes=
9740 else
9741 for ac_dir in $ac_x_header_dirs; do
9742 if test -r "$ac_dir/X11/Xlib.h"; then
9743 ac_x_includes=$ac_dir
9744 break
9746 done
9748 rm -f conftest.err conftest.i conftest.$ac_ext
9749 fi # $ac_x_includes = no
9751 if test "$ac_x_libraries" = no; then
9752 # Check for the libraries.
9753 # See if we find them without any special options.
9754 # Don't add to $LIBS permanently.
9755 ac_save_LIBS=$LIBS
9756 LIBS="-lX11 $LIBS"
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9759 #include <X11/Xlib.h>
9761 main ()
9763 XrmInitialize ()
9765 return 0;
9767 _ACEOF
9768 if ac_fn_c_try_link "$LINENO"; then :
9769 LIBS=$ac_save_LIBS
9770 # We can link X programs with no special library path.
9771 ac_x_libraries=
9772 else
9773 LIBS=$ac_save_LIBS
9774 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9776 # Don't even attempt the hair of trying to link an X program!
9777 for ac_extension in a so sl dylib la dll; do
9778 if test -r "$ac_dir/libX11.$ac_extension"; then
9779 ac_x_libraries=$ac_dir
9780 break 2
9782 done
9783 done
9785 rm -f core conftest.err conftest.$ac_objext \
9786 conftest$ac_exeext conftest.$ac_ext
9787 fi # $ac_x_libraries = no
9789 case $ac_x_includes,$ac_x_libraries in #(
9790 no,* | *,no | *\'*)
9791 # Didn't find X, or a directory has "'" in its name.
9792 ac_cv_have_x="have_x=no";; #(
9794 # Record where we found X for the cache.
9795 ac_cv_have_x="have_x=yes\
9796 ac_x_includes='$ac_x_includes'\
9797 ac_x_libraries='$ac_x_libraries'"
9798 esac
9800 ;; #(
9801 *) have_x=yes;;
9802 esac
9803 eval "$ac_cv_have_x"
9804 fi # $with_x != no
9806 if test "$have_x" != yes; then
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9808 $as_echo "$have_x" >&6; }
9809 no_x=yes
9810 else
9811 # If each of the values was on the command line, it overrides each guess.
9812 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9813 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9814 # Update the cache value to reflect the command line values.
9815 ac_cv_have_x="have_x=yes\
9816 ac_x_includes='$x_includes'\
9817 ac_x_libraries='$x_libraries'"
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9819 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9822 if test "$no_x" = yes; then
9823 # Not all programs may use this symbol, but it does not hurt to define it.
9825 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9827 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9828 else
9829 if test -n "$x_includes"; then
9830 X_CFLAGS="$X_CFLAGS -I$x_includes"
9833 # It would also be nice to do this for all -L options, not just this one.
9834 if test -n "$x_libraries"; then
9835 X_LIBS="$X_LIBS -L$x_libraries"
9836 # For Solaris; some versions of Sun CC require a space after -R and
9837 # others require no space. Words are not sufficient . . . .
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9839 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9840 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9841 ac_xsave_c_werror_flag=$ac_c_werror_flag
9842 ac_c_werror_flag=yes
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9847 main ()
9851 return 0;
9853 _ACEOF
9854 if ac_fn_c_try_link "$LINENO"; then :
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9856 $as_echo "no" >&6; }
9857 X_LIBS="$X_LIBS -R$x_libraries"
9858 else
9859 LIBS="$ac_xsave_LIBS -R $x_libraries"
9860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9864 main ()
9868 return 0;
9870 _ACEOF
9871 if ac_fn_c_try_link "$LINENO"; then :
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9873 $as_echo "yes" >&6; }
9874 X_LIBS="$X_LIBS -R $x_libraries"
9875 else
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9877 $as_echo "neither works" >&6; }
9879 rm -f core conftest.err conftest.$ac_objext \
9880 conftest$ac_exeext conftest.$ac_ext
9882 rm -f core conftest.err conftest.$ac_objext \
9883 conftest$ac_exeext conftest.$ac_ext
9884 ac_c_werror_flag=$ac_xsave_c_werror_flag
9885 LIBS=$ac_xsave_LIBS
9888 # Check for system-dependent libraries X programs must link with.
9889 # Do this before checking for the system-independent R6 libraries
9890 # (-lICE), since we may need -lsocket or whatever for X linking.
9892 if test "$ISC" = yes; then
9893 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9894 else
9895 # Martyn Johnson says this is needed for Ultrix, if the X
9896 # libraries were built with DECnet support. And Karl Berry says
9897 # the Alpha needs dnet_stub (dnet does not exist).
9898 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9902 /* Override any GCC internal prototype to avoid an error.
9903 Use char because int might match the return type of a GCC
9904 builtin and then its argument prototype would still apply. */
9905 #ifdef __cplusplus
9906 extern "C"
9907 #endif
9908 char XOpenDisplay ();
9910 main ()
9912 return XOpenDisplay ();
9914 return 0;
9916 _ACEOF
9917 if ac_fn_c_try_link "$LINENO"; then :
9919 else
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9921 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9922 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9923 $as_echo_n "(cached) " >&6
9924 else
9925 ac_check_lib_save_LIBS=$LIBS
9926 LIBS="-ldnet $LIBS"
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9930 /* Override any GCC internal prototype to avoid an error.
9931 Use char because int might match the return type of a GCC
9932 builtin and then its argument prototype would still apply. */
9933 #ifdef __cplusplus
9934 extern "C"
9935 #endif
9936 char dnet_ntoa ();
9938 main ()
9940 return dnet_ntoa ();
9942 return 0;
9944 _ACEOF
9945 if ac_fn_c_try_link "$LINENO"; then :
9946 ac_cv_lib_dnet_dnet_ntoa=yes
9947 else
9948 ac_cv_lib_dnet_dnet_ntoa=no
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 LIBS=$ac_check_lib_save_LIBS
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9955 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9956 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9957 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9960 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9962 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9963 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9964 $as_echo_n "(cached) " >&6
9965 else
9966 ac_check_lib_save_LIBS=$LIBS
9967 LIBS="-ldnet_stub $LIBS"
9968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9969 /* end confdefs.h. */
9971 /* Override any GCC internal prototype to avoid an error.
9972 Use char because int might match the return type of a GCC
9973 builtin and then its argument prototype would still apply. */
9974 #ifdef __cplusplus
9975 extern "C"
9976 #endif
9977 char dnet_ntoa ();
9979 main ()
9981 return dnet_ntoa ();
9983 return 0;
9985 _ACEOF
9986 if ac_fn_c_try_link "$LINENO"; then :
9987 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9988 else
9989 ac_cv_lib_dnet_stub_dnet_ntoa=no
9991 rm -f core conftest.err conftest.$ac_objext \
9992 conftest$ac_exeext conftest.$ac_ext
9993 LIBS=$ac_check_lib_save_LIBS
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9996 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9997 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9998 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10003 rm -f core conftest.err conftest.$ac_objext \
10004 conftest$ac_exeext conftest.$ac_ext
10005 LIBS="$ac_xsave_LIBS"
10007 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10008 # to get the SysV transport functions.
10009 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10010 # needs -lnsl.
10011 # The nsl library prevents programs from opening the X display
10012 # on Irix 5.2, according to T.E. Dickey.
10013 # The functions gethostbyname, getservbyname, and inet_addr are
10014 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10015 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10016 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10020 if test $ac_cv_func_gethostbyname = no; then
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10022 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10023 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_check_lib_save_LIBS=$LIBS
10027 LIBS="-lnsl $LIBS"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10034 #ifdef __cplusplus
10035 extern "C"
10036 #endif
10037 char gethostbyname ();
10039 main ()
10041 return gethostbyname ();
10043 return 0;
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 ac_cv_lib_nsl_gethostbyname=yes
10048 else
10049 ac_cv_lib_nsl_gethostbyname=no
10051 rm -f core conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 LIBS=$ac_check_lib_save_LIBS
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10056 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10057 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10058 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10061 if test $ac_cv_lib_nsl_gethostbyname = no; then
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10063 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10064 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_check_lib_save_LIBS=$LIBS
10068 LIBS="-lbsd $LIBS"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10072 /* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10075 #ifdef __cplusplus
10076 extern "C"
10077 #endif
10078 char gethostbyname ();
10080 main ()
10082 return gethostbyname ();
10084 return 0;
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 ac_cv_lib_bsd_gethostbyname=yes
10089 else
10090 ac_cv_lib_bsd_gethostbyname=no
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 LIBS=$ac_check_lib_save_LIBS
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10097 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10098 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10105 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10106 # socket/setsockopt and other routines are undefined under SCO ODT
10107 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10108 # on later versions), says Simon Leinen: it contains gethostby*
10109 # variants that don't use the name server (or something). -lsocket
10110 # must be given before -lnsl if both are needed. We assume that
10111 # if connect needs -lnsl, so does gethostbyname.
10112 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10113 if test "x$ac_cv_func_connect" = xyes; then :
10117 if test $ac_cv_func_connect = no; then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10119 $as_echo_n "checking for connect in -lsocket... " >&6; }
10120 if ${ac_cv_lib_socket_connect+:} false; then :
10121 $as_echo_n "(cached) " >&6
10122 else
10123 ac_check_lib_save_LIBS=$LIBS
10124 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10128 /* Override any GCC internal prototype to avoid an error.
10129 Use char because int might match the return type of a GCC
10130 builtin and then its argument prototype would still apply. */
10131 #ifdef __cplusplus
10132 extern "C"
10133 #endif
10134 char connect ();
10136 main ()
10138 return connect ();
10140 return 0;
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"; then :
10144 ac_cv_lib_socket_connect=yes
10145 else
10146 ac_cv_lib_socket_connect=no
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 LIBS=$ac_check_lib_save_LIBS
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10153 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10154 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10155 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10160 # Guillermo Gomez says -lposix is necessary on A/UX.
10161 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10162 if test "x$ac_cv_func_remove" = xyes; then :
10166 if test $ac_cv_func_remove = no; then
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10168 $as_echo_n "checking for remove in -lposix... " >&6; }
10169 if ${ac_cv_lib_posix_remove+:} false; then :
10170 $as_echo_n "(cached) " >&6
10171 else
10172 ac_check_lib_save_LIBS=$LIBS
10173 LIBS="-lposix $LIBS"
10174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10175 /* end confdefs.h. */
10177 /* Override any GCC internal prototype to avoid an error.
10178 Use char because int might match the return type of a GCC
10179 builtin and then its argument prototype would still apply. */
10180 #ifdef __cplusplus
10181 extern "C"
10182 #endif
10183 char remove ();
10185 main ()
10187 return remove ();
10189 return 0;
10191 _ACEOF
10192 if ac_fn_c_try_link "$LINENO"; then :
10193 ac_cv_lib_posix_remove=yes
10194 else
10195 ac_cv_lib_posix_remove=no
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 LIBS=$ac_check_lib_save_LIBS
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10202 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10203 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10204 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10209 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10210 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10211 if test "x$ac_cv_func_shmat" = xyes; then :
10215 if test $ac_cv_func_shmat = no; then
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10217 $as_echo_n "checking for shmat in -lipc... " >&6; }
10218 if ${ac_cv_lib_ipc_shmat+:} false; then :
10219 $as_echo_n "(cached) " >&6
10220 else
10221 ac_check_lib_save_LIBS=$LIBS
10222 LIBS="-lipc $LIBS"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10229 #ifdef __cplusplus
10230 extern "C"
10231 #endif
10232 char shmat ();
10234 main ()
10236 return shmat ();
10238 return 0;
10240 _ACEOF
10241 if ac_fn_c_try_link "$LINENO"; then :
10242 ac_cv_lib_ipc_shmat=yes
10243 else
10244 ac_cv_lib_ipc_shmat=no
10246 rm -f core conftest.err conftest.$ac_objext \
10247 conftest$ac_exeext conftest.$ac_ext
10248 LIBS=$ac_check_lib_save_LIBS
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10251 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10252 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10253 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10259 # Check for libraries that X11R6 Xt/Xaw programs need.
10260 ac_save_LDFLAGS=$LDFLAGS
10261 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10262 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10263 # check for ICE first), but we must link in the order -lSM -lICE or
10264 # we get undefined symbols. So assume we have SM if we have ICE.
10265 # These have to be linked with before -lX11, unlike the other
10266 # libraries we check for below, so use a different variable.
10267 # John Interrante, Karl Berry
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10269 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10270 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_check_lib_save_LIBS=$LIBS
10274 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10278 /* Override any GCC internal prototype to avoid an error.
10279 Use char because int might match the return type of a GCC
10280 builtin and then its argument prototype would still apply. */
10281 #ifdef __cplusplus
10282 extern "C"
10283 #endif
10284 char IceConnectionNumber ();
10286 main ()
10288 return IceConnectionNumber ();
10290 return 0;
10292 _ACEOF
10293 if ac_fn_c_try_link "$LINENO"; then :
10294 ac_cv_lib_ICE_IceConnectionNumber=yes
10295 else
10296 ac_cv_lib_ICE_IceConnectionNumber=no
10298 rm -f core conftest.err conftest.$ac_objext \
10299 conftest$ac_exeext conftest.$ac_ext
10300 LIBS=$ac_check_lib_save_LIBS
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10303 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10304 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10305 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10308 LDFLAGS=$ac_save_LDFLAGS
10313 if test "$have_x" = "yes"
10314 then
10315 ac_save_CPPFLAGS="$CPPFLAGS"
10316 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10319 $as_echo_n "checking for -lX11... " >&6; }
10320 if ${ac_cv_lib_soname_X11+:} false; then :
10321 $as_echo_n "(cached) " >&6
10322 else
10323 ac_check_soname_save_LIBS=$LIBS
10324 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10328 /* Override any GCC internal prototype to avoid an error.
10329 Use char because int might match the return type of a GCC
10330 builtin and then its argument prototype would still apply. */
10331 #ifdef __cplusplus
10332 extern "C"
10333 #endif
10334 char XCreateWindow ();
10336 main ()
10338 return XCreateWindow ();
10340 return 0;
10342 _ACEOF
10343 if ac_fn_c_try_link "$LINENO"; then :
10344 case "$LIBEXT" in
10345 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10346 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'` ;;
10347 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10348 if ${ac_cv_lib_soname_X11:+false} :; then :
10349 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10350 fi ;;
10351 esac
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 LIBS=$ac_check_soname_save_LIBS
10357 if ${ac_cv_lib_soname_X11:+false} :; then :
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10359 $as_echo "not found" >&6; }
10361 else
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10363 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10365 cat >>confdefs.h <<_ACEOF
10366 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10367 _ACEOF
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10372 $as_echo_n "checking for -lXext... " >&6; }
10373 if ${ac_cv_lib_soname_Xext+:} false; then :
10374 $as_echo_n "(cached) " >&6
10375 else
10376 ac_check_soname_save_LIBS=$LIBS
10377 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10381 /* Override any GCC internal prototype to avoid an error.
10382 Use char because int might match the return type of a GCC
10383 builtin and then its argument prototype would still apply. */
10384 #ifdef __cplusplus
10385 extern "C"
10386 #endif
10387 char XextCreateExtension ();
10389 main ()
10391 return XextCreateExtension ();
10393 return 0;
10395 _ACEOF
10396 if ac_fn_c_try_link "$LINENO"; then :
10397 case "$LIBEXT" in
10398 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10399 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'` ;;
10400 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10401 if ${ac_cv_lib_soname_Xext:+false} :; then :
10402 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10403 fi ;;
10404 esac
10406 rm -f core conftest.err conftest.$ac_objext \
10407 conftest$ac_exeext conftest.$ac_ext
10408 LIBS=$ac_check_soname_save_LIBS
10410 if ${ac_cv_lib_soname_Xext:+false} :; then :
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10412 $as_echo "not found" >&6; }
10414 else
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10416 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10418 cat >>confdefs.h <<_ACEOF
10419 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10420 _ACEOF
10422 X_LIBS="$X_LIBS -lXext"
10424 X_LIBS="$X_LIBS -lX11"
10426 for ac_header in X11/Xlib.h \
10427 X11/XKBlib.h \
10428 X11/Xutil.h \
10429 X11/Xcursor/Xcursor.h \
10430 X11/extensions/shape.h \
10431 X11/extensions/XInput.h \
10432 X11/extensions/XInput2.h \
10433 X11/extensions/XShm.h \
10434 X11/extensions/Xcomposite.h \
10435 X11/extensions/Xfixes.h \
10436 X11/extensions/Xinerama.h \
10437 X11/extensions/Xrandr.h \
10438 X11/extensions/Xrender.h \
10439 X11/extensions/xf86vmode.h \
10440 X11/extensions/xf86vmproto.h
10441 do :
10442 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10443 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10444 # include <X11/Xlib.h>
10445 #endif
10446 #ifdef HAVE_X11_XUTIL_H
10447 # include <X11/Xutil.h>
10448 #endif
10450 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10451 cat >>confdefs.h <<_ACEOF
10452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10453 _ACEOF
10457 done
10460 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10461 then
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10463 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10464 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10465 $as_echo_n "(cached) " >&6
10466 else
10467 ac_check_lib_save_LIBS=$LIBS
10468 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10472 /* Override any GCC internal prototype to avoid an error.
10473 Use char because int might match the return type of a GCC
10474 builtin and then its argument prototype would still apply. */
10475 #ifdef __cplusplus
10476 extern "C"
10477 #endif
10478 char XkbQueryExtension ();
10480 main ()
10482 return XkbQueryExtension ();
10484 return 0;
10486 _ACEOF
10487 if ac_fn_c_try_link "$LINENO"; then :
10488 ac_cv_lib_X11_XkbQueryExtension=yes
10489 else
10490 ac_cv_lib_X11_XkbQueryExtension=no
10492 rm -f core conftest.err conftest.$ac_objext \
10493 conftest$ac_exeext conftest.$ac_ext
10494 LIBS=$ac_check_lib_save_LIBS
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10497 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10498 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10500 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10506 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10507 then
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10509 $as_echo_n "checking for -lXcursor... " >&6; }
10510 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10511 $as_echo_n "(cached) " >&6
10512 else
10513 ac_check_soname_save_LIBS=$LIBS
10514 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10516 /* end confdefs.h. */
10518 /* Override any GCC internal prototype to avoid an error.
10519 Use char because int might match the return type of a GCC
10520 builtin and then its argument prototype would still apply. */
10521 #ifdef __cplusplus
10522 extern "C"
10523 #endif
10524 char XcursorImageLoadCursor ();
10526 main ()
10528 return XcursorImageLoadCursor ();
10530 return 0;
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 case "$LIBEXT" in
10535 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10536 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'` ;;
10537 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10538 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10539 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10540 fi ;;
10541 esac
10543 rm -f core conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LIBS=$ac_check_soname_save_LIBS
10547 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10549 $as_echo "not found" >&6; }
10551 else
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10553 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10555 cat >>confdefs.h <<_ACEOF
10556 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10557 _ACEOF
10562 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10563 case "x$with_xcursor" in
10564 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10565 xno) ;;
10566 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10567 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10568 esac
10572 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10573 then
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10575 $as_echo_n "checking for -lXi... " >&6; }
10576 if ${ac_cv_lib_soname_Xi+:} false; then :
10577 $as_echo_n "(cached) " >&6
10578 else
10579 ac_check_soname_save_LIBS=$LIBS
10580 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10582 /* end confdefs.h. */
10584 /* Override any GCC internal prototype to avoid an error.
10585 Use char because int might match the return type of a GCC
10586 builtin and then its argument prototype would still apply. */
10587 #ifdef __cplusplus
10588 extern "C"
10589 #endif
10590 char XOpenDevice ();
10592 main ()
10594 return XOpenDevice ();
10596 return 0;
10598 _ACEOF
10599 if ac_fn_c_try_link "$LINENO"; then :
10600 case "$LIBEXT" in
10601 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10602 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'` ;;
10603 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10604 if ${ac_cv_lib_soname_Xi:+false} :; then :
10605 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10606 fi ;;
10607 esac
10609 rm -f core conftest.err conftest.$ac_objext \
10610 conftest$ac_exeext conftest.$ac_ext
10611 LIBS=$ac_check_soname_save_LIBS
10613 if ${ac_cv_lib_soname_Xi:+false} :; then :
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10615 $as_echo "not found" >&6; }
10617 else
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10619 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10621 cat >>confdefs.h <<_ACEOF
10622 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10623 _ACEOF
10628 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10629 case "x$with_xinput" in
10630 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10631 xno) ;;
10632 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10633 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10634 esac
10638 if test "x$ac_cv_lib_soname_Xi" != x
10639 then
10640 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10641 case "x$with_xinput2" in
10642 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10643 xno) ;;
10644 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10645 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10646 esac
10651 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10652 then
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10654 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10655 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10656 $as_echo_n "(cached) " >&6
10657 else
10658 ac_check_lib_save_LIBS=$LIBS
10659 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10666 #ifdef __cplusplus
10667 extern "C"
10668 #endif
10669 char XShmQueryExtension ();
10671 main ()
10673 return XShmQueryExtension ();
10675 return 0;
10677 _ACEOF
10678 if ac_fn_c_try_link "$LINENO"; then :
10679 ac_cv_lib_Xext_XShmQueryExtension=yes
10680 else
10681 ac_cv_lib_Xext_XShmQueryExtension=no
10683 rm -f core conftest.err conftest.$ac_objext \
10684 conftest$ac_exeext conftest.$ac_ext
10685 LIBS=$ac_check_lib_save_LIBS
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10688 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10689 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10691 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10696 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10697 case "x$with_xshm" in
10698 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10699 xno) ;;
10700 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10701 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10702 esac
10706 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10707 then
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10709 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10710 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10711 $as_echo_n "(cached) " >&6
10712 else
10713 ac_check_lib_save_LIBS=$LIBS
10714 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10721 #ifdef __cplusplus
10722 extern "C"
10723 #endif
10724 char XShapeQueryExtension ();
10726 main ()
10728 return XShapeQueryExtension ();
10730 return 0;
10732 _ACEOF
10733 if ac_fn_c_try_link "$LINENO"; then :
10734 ac_cv_lib_Xext_XShapeQueryExtension=yes
10735 else
10736 ac_cv_lib_Xext_XShapeQueryExtension=no
10738 rm -f core conftest.err conftest.$ac_objext \
10739 conftest$ac_exeext conftest.$ac_ext
10740 LIBS=$ac_check_lib_save_LIBS
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10743 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10744 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10746 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10751 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10752 case "x$with_xshape" in
10753 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10754 xno) ;;
10755 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10756 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10757 esac
10761 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10762 then
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10764 $as_echo_n "checking for -lXxf86vm... " >&6; }
10765 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10766 $as_echo_n "(cached) " >&6
10767 else
10768 ac_check_soname_save_LIBS=$LIBS
10769 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10771 /* end confdefs.h. */
10773 /* Override any GCC internal prototype to avoid an error.
10774 Use char because int might match the return type of a GCC
10775 builtin and then its argument prototype would still apply. */
10776 #ifdef __cplusplus
10777 extern "C"
10778 #endif
10779 char XF86VidModeQueryExtension ();
10781 main ()
10783 return XF86VidModeQueryExtension ();
10785 return 0;
10787 _ACEOF
10788 if ac_fn_c_try_link "$LINENO"; then :
10789 case "$LIBEXT" in
10790 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10791 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'` ;;
10792 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10793 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10794 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10795 fi ;;
10796 esac
10798 rm -f core conftest.err conftest.$ac_objext \
10799 conftest$ac_exeext conftest.$ac_ext
10800 LIBS=$ac_check_soname_save_LIBS
10802 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10804 $as_echo "not found" >&6; }
10806 else
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10808 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10810 cat >>confdefs.h <<_ACEOF
10811 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10812 _ACEOF
10817 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10818 case "x$with_xxf86vm" in
10819 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10820 xno) ;;
10821 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10822 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10823 esac
10827 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10828 then
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10830 $as_echo_n "checking for -lXrender... " >&6; }
10831 if ${ac_cv_lib_soname_Xrender+:} false; then :
10832 $as_echo_n "(cached) " >&6
10833 else
10834 ac_check_soname_save_LIBS=$LIBS
10835 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10842 #ifdef __cplusplus
10843 extern "C"
10844 #endif
10845 char XRenderQueryExtension ();
10847 main ()
10849 return XRenderQueryExtension ();
10851 return 0;
10853 _ACEOF
10854 if ac_fn_c_try_link "$LINENO"; then :
10855 case "$LIBEXT" in
10856 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10857 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'` ;;
10858 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10859 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10860 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10861 fi ;;
10862 esac
10864 rm -f core conftest.err conftest.$ac_objext \
10865 conftest$ac_exeext conftest.$ac_ext
10866 LIBS=$ac_check_soname_save_LIBS
10868 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10870 $as_echo "not found" >&6; }
10872 else
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10874 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10876 cat >>confdefs.h <<_ACEOF
10877 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10878 _ACEOF
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10881 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10882 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10883 $as_echo_n "(cached) " >&6
10884 else
10885 ac_check_lib_save_LIBS=$LIBS
10886 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10890 /* Override any GCC internal prototype to avoid an error.
10891 Use char because int might match the return type of a GCC
10892 builtin and then its argument prototype would still apply. */
10893 #ifdef __cplusplus
10894 extern "C"
10895 #endif
10896 char XRenderSetPictureTransform ();
10898 main ()
10900 return XRenderSetPictureTransform ();
10902 return 0;
10904 _ACEOF
10905 if ac_fn_c_try_link "$LINENO"; then :
10906 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10907 else
10908 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10910 rm -f core conftest.err conftest.$ac_objext \
10911 conftest$ac_exeext conftest.$ac_ext
10912 LIBS=$ac_check_lib_save_LIBS
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10915 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10916 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10918 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10923 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10924 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10925 $as_echo_n "(cached) " >&6
10926 else
10927 ac_check_lib_save_LIBS=$LIBS
10928 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10935 #ifdef __cplusplus
10936 extern "C"
10937 #endif
10938 char XRenderCreateLinearGradient ();
10940 main ()
10942 return XRenderCreateLinearGradient ();
10944 return 0;
10946 _ACEOF
10947 if ac_fn_c_try_link "$LINENO"; then :
10948 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10949 else
10950 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10952 rm -f core conftest.err conftest.$ac_objext \
10953 conftest$ac_exeext conftest.$ac_ext
10954 LIBS=$ac_check_lib_save_LIBS
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10957 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10958 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10960 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10967 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10968 case "x$with_xrender" in
10969 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10970 xno) ;;
10971 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10972 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10973 esac
10977 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10978 then
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10981 #include <X11/Xlib.h>
10982 #include <X11/extensions/Xrandr.h>
10984 main ()
10986 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_compile "$LINENO"; then :
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10993 $as_echo_n "checking for -lXrandr... " >&6; }
10994 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10995 $as_echo_n "(cached) " >&6
10996 else
10997 ac_check_soname_save_LIBS=$LIBS
10998 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11002 /* Override any GCC internal prototype to avoid an error.
11003 Use char because int might match the return type of a GCC
11004 builtin and then its argument prototype would still apply. */
11005 #ifdef __cplusplus
11006 extern "C"
11007 #endif
11008 char XRRQueryExtension ();
11010 main ()
11012 return XRRQueryExtension ();
11014 return 0;
11016 _ACEOF
11017 if ac_fn_c_try_link "$LINENO"; then :
11018 case "$LIBEXT" in
11019 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11020 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'` ;;
11021 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11022 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11023 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11024 fi ;;
11025 esac
11027 rm -f core conftest.err conftest.$ac_objext \
11028 conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_soname_save_LIBS
11031 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11033 $as_echo "not found" >&6; }
11035 else
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11037 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11039 cat >>confdefs.h <<_ACEOF
11040 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11041 _ACEOF
11043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h. */
11045 #include <X11/Xlib.h>
11046 #include <X11/extensions/Xrandr.h>
11048 main ()
11050 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11052 return 0;
11054 _ACEOF
11055 if ac_fn_c_try_compile "$LINENO"; then :
11057 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11065 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11066 case "x$with_xrandr" in
11067 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11068 xno) ;;
11069 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11070 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11071 esac
11075 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11076 then
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11079 #include <X11/Xlib.h>
11080 #include <X11/extensions/Xfixes.h>
11082 main ()
11084 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11086 return 0;
11088 _ACEOF
11089 if ac_fn_c_try_compile "$LINENO"; then :
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11091 $as_echo_n "checking for -lXfixes... " >&6; }
11092 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11093 $as_echo_n "(cached) " >&6
11094 else
11095 ac_check_soname_save_LIBS=$LIBS
11096 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11098 /* end confdefs.h. */
11100 /* Override any GCC internal prototype to avoid an error.
11101 Use char because int might match the return type of a GCC
11102 builtin and then its argument prototype would still apply. */
11103 #ifdef __cplusplus
11104 extern "C"
11105 #endif
11106 char XFixesQueryVersion ();
11108 main ()
11110 return XFixesQueryVersion ();
11112 return 0;
11114 _ACEOF
11115 if ac_fn_c_try_link "$LINENO"; then :
11116 case "$LIBEXT" in
11117 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11118 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'` ;;
11119 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11120 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11121 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11122 fi ;;
11123 esac
11125 rm -f core conftest.err conftest.$ac_objext \
11126 conftest$ac_exeext conftest.$ac_ext
11127 LIBS=$ac_check_soname_save_LIBS
11129 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11131 $as_echo "not found" >&6; }
11133 else
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11135 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11137 cat >>confdefs.h <<_ACEOF
11138 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11139 _ACEOF
11144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11146 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11147 case "x$with_xfixes" in
11148 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11149 xno) ;;
11150 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11151 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11152 esac
11156 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11157 then
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11160 #include <X11/Xlib.h>
11161 #include <X11/extensions/Xinerama.h>
11163 main ()
11165 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11167 return 0;
11169 _ACEOF
11170 if ac_fn_c_try_compile "$LINENO"; then :
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11172 $as_echo_n "checking for -lXinerama... " >&6; }
11173 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11174 $as_echo_n "(cached) " >&6
11175 else
11176 ac_check_soname_save_LIBS=$LIBS
11177 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11181 /* Override any GCC internal prototype to avoid an error.
11182 Use char because int might match the return type of a GCC
11183 builtin and then its argument prototype would still apply. */
11184 #ifdef __cplusplus
11185 extern "C"
11186 #endif
11187 char XineramaQueryScreens ();
11189 main ()
11191 return XineramaQueryScreens ();
11193 return 0;
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"; then :
11197 case "$LIBEXT" in
11198 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11199 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'` ;;
11200 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11201 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11202 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11203 fi ;;
11204 esac
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_soname_save_LIBS
11210 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11212 $as_echo "not found" >&6; }
11214 else
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11216 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11218 cat >>confdefs.h <<_ACEOF
11219 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11220 _ACEOF
11225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11227 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11228 case "x$with_xinerama" in
11229 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11230 xno) ;;
11231 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11232 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11233 esac
11237 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11238 then
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11240 $as_echo_n "checking for -lXcomposite... " >&6; }
11241 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11242 $as_echo_n "(cached) " >&6
11243 else
11244 ac_check_soname_save_LIBS=$LIBS
11245 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11247 /* end confdefs.h. */
11249 /* Override any GCC internal prototype to avoid an error.
11250 Use char because int might match the return type of a GCC
11251 builtin and then its argument prototype would still apply. */
11252 #ifdef __cplusplus
11253 extern "C"
11254 #endif
11255 char XCompositeRedirectWindow ();
11257 main ()
11259 return XCompositeRedirectWindow ();
11261 return 0;
11263 _ACEOF
11264 if ac_fn_c_try_link "$LINENO"; then :
11265 case "$LIBEXT" in
11266 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11267 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'` ;;
11268 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11269 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11270 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11271 fi ;;
11272 esac
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_soname_save_LIBS
11278 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11280 $as_echo "not found" >&6; }
11282 else
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11284 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11286 cat >>confdefs.h <<_ACEOF
11287 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11288 _ACEOF
11293 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11294 case "x$with_xcomposite" in
11295 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11296 xno) ;;
11297 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11298 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11299 esac
11303 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11304 #include <X11/Xlib.h>
11305 #endif
11307 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11309 cat >>confdefs.h <<_ACEOF
11310 #define HAVE_XICCALLBACK_CALLBACK 1
11311 _ACEOF
11315 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11316 #include <X11/Xlib.h>
11317 #endif
11319 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11321 cat >>confdefs.h <<_ACEOF
11322 #define HAVE_XEVENT_XCOOKIE 1
11323 _ACEOF
11330 opengl_msg=""
11331 if test "x$with_opengl" != "xno"
11332 then
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11334 $as_echo_n "checking for -lGL... " >&6; }
11335 if ${ac_cv_lib_soname_GL+:} false; then :
11336 $as_echo_n "(cached) " >&6
11337 else
11338 ac_check_soname_save_LIBS=$LIBS
11339 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11343 /* Override any GCC internal prototype to avoid an error.
11344 Use char because int might match the return type of a GCC
11345 builtin and then its argument prototype would still apply. */
11346 #ifdef __cplusplus
11347 extern "C"
11348 #endif
11349 char glXCreateContext ();
11351 main ()
11353 return glXCreateContext ();
11355 return 0;
11357 _ACEOF
11358 if ac_fn_c_try_link "$LINENO"; then :
11359 case "$LIBEXT" in
11360 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11361 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'` ;;
11362 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11363 if ${ac_cv_lib_soname_GL:+false} :; then :
11364 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11365 fi ;;
11366 esac
11368 rm -f core conftest.err conftest.$ac_objext \
11369 conftest$ac_exeext conftest.$ac_ext
11370 LIBS=$ac_check_soname_save_LIBS
11372 if ${ac_cv_lib_soname_GL:+false} :; then :
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11374 $as_echo "not found" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11376 $as_echo_n "checking for -lGL... " >&6; }
11377 if ${ac_cv_lib_soname_GL+:} false; then :
11378 $as_echo_n "(cached) " >&6
11379 else
11380 ac_check_soname_save_LIBS=$LIBS
11381 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"
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11385 /* Override any GCC internal prototype to avoid an error.
11386 Use char because int might match the return type of a GCC
11387 builtin and then its argument prototype would still apply. */
11388 #ifdef __cplusplus
11389 extern "C"
11390 #endif
11391 char glXCreateContext ();
11393 main ()
11395 return glXCreateContext ();
11397 return 0;
11399 _ACEOF
11400 if ac_fn_c_try_link "$LINENO"; then :
11401 case "$LIBEXT" in
11402 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11403 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'` ;;
11404 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11405 if ${ac_cv_lib_soname_GL:+false} :; then :
11406 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11407 fi ;;
11408 esac
11410 rm -f core conftest.err conftest.$ac_objext \
11411 conftest$ac_exeext conftest.$ac_ext
11412 LIBS=$ac_check_soname_save_LIBS
11414 if ${ac_cv_lib_soname_GL:+false} :; then :
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11416 $as_echo "not found" >&6; }
11417 if test -f /usr/X11R6/lib/libGL.a
11418 then
11419 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11420 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11421 else
11422 opengl_msg="No OpenGL library found on this system."
11424 else
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11426 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11428 cat >>confdefs.h <<_ACEOF
11429 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11430 _ACEOF
11432 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"
11434 else
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11436 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11438 cat >>confdefs.h <<_ACEOF
11439 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11440 _ACEOF
11442 OPENGL_LIBS="-lGL"
11444 if test "x$with_glu" != "xno"
11445 then
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11447 $as_echo_n "checking for -lGLU... " >&6; }
11448 if ${ac_cv_lib_soname_GLU+:} false; then :
11449 $as_echo_n "(cached) " >&6
11450 else
11451 ac_check_soname_save_LIBS=$LIBS
11452 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11456 /* Override any GCC internal prototype to avoid an error.
11457 Use char because int might match the return type of a GCC
11458 builtin and then its argument prototype would still apply. */
11459 #ifdef __cplusplus
11460 extern "C"
11461 #endif
11462 char gluLookAt ();
11464 main ()
11466 return gluLookAt ();
11468 return 0;
11470 _ACEOF
11471 if ac_fn_c_try_link "$LINENO"; then :
11472 case "$LIBEXT" in
11473 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11474 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'` ;;
11475 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11476 if ${ac_cv_lib_soname_GLU:+false} :; then :
11477 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11478 fi ;;
11479 esac
11481 rm -f core conftest.err conftest.$ac_objext \
11482 conftest$ac_exeext conftest.$ac_ext
11483 LIBS=$ac_check_soname_save_LIBS
11485 if ${ac_cv_lib_soname_GLU:+false} :; then :
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11487 $as_echo "not found" >&6; }
11489 else
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11491 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11493 cat >>confdefs.h <<_ACEOF
11494 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11495 _ACEOF
11499 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11500 case "x$with_glu" in
11501 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11502 xno) ;;
11503 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11504 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11505 esac
11510 if test "x$with_osmesa" != "xno"
11511 then
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11513 $as_echo_n "checking for -lOSMesa... " >&6; }
11514 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11515 $as_echo_n "(cached) " >&6
11516 else
11517 ac_check_soname_save_LIBS=$LIBS
11518 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11522 /* Override any GCC internal prototype to avoid an error.
11523 Use char because int might match the return type of a GCC
11524 builtin and then its argument prototype would still apply. */
11525 #ifdef __cplusplus
11526 extern "C"
11527 #endif
11528 char OSMesaGetProcAddress ();
11530 main ()
11532 return OSMesaGetProcAddress ();
11534 return 0;
11536 _ACEOF
11537 if ac_fn_c_try_link "$LINENO"; then :
11538 case "$LIBEXT" in
11539 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11540 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'` ;;
11541 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11542 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11543 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11544 fi ;;
11545 esac
11547 rm -f core conftest.err conftest.$ac_objext \
11548 conftest$ac_exeext conftest.$ac_ext
11549 LIBS=$ac_check_soname_save_LIBS
11551 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11553 $as_echo "not found" >&6; }
11555 else
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11557 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11559 cat >>confdefs.h <<_ACEOF
11560 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11561 _ACEOF
11565 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11566 case "x$with_osmesa" in
11567 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11568 xno) ;;
11569 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11570 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11571 esac
11576 if test -n "$opengl_msg"; then :
11577 case "x$with_opengl" in
11578 x) as_fn_append wine_warnings "|$opengl_msg
11579 OpenGL and Direct3D won't be supported." ;;
11580 xno) ;;
11581 *) as_fn_error $? "$opengl_msg
11582 OpenGL and Direct3D won't be supported.
11583 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11584 esac
11588 CPPFLAGS="$ac_save_CPPFLAGS"
11589 else
11590 X_CFLAGS=""
11591 X_LIBS=""
11594 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11595 then
11596 if test "x$X_LIBS" = "x"; then :
11597 case "x$with_x" in
11598 xno) ;;
11599 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11600 without X support, which probably isn't what you want. You will need
11601 to install ${notice_platform}development packages of Xlib at the very least.
11602 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11603 esac
11604 enable_winex11_drv=${enable_winex11_drv:-no}
11606 else
11607 if test "x$X_LIBS" = "x"; then :
11608 case "x$with_x" in
11609 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11610 xno) ;;
11611 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11612 This is an error since --with-x was requested." "$LINENO" 5 ;;
11613 esac
11614 enable_winex11_drv=${enable_winex11_drv:-no}
11618 if test "$ac_cv_header_CL_cl_h" = "yes"
11619 then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11621 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11622 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11623 $as_echo_n "(cached) " >&6
11624 else
11625 ac_check_lib_save_LIBS=$LIBS
11626 LIBS="-lOpenCL $LIBS"
11627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h. */
11630 /* Override any GCC internal prototype to avoid an error.
11631 Use char because int might match the return type of a GCC
11632 builtin and then its argument prototype would still apply. */
11633 #ifdef __cplusplus
11634 extern "C"
11635 #endif
11636 char clGetPlatformInfo ();
11638 main ()
11640 return clGetPlatformInfo ();
11642 return 0;
11644 _ACEOF
11645 if ac_fn_c_try_link "$LINENO"; then :
11646 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11647 else
11648 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11650 rm -f core conftest.err conftest.$ac_objext \
11651 conftest$ac_exeext conftest.$ac_ext
11652 LIBS=$ac_check_lib_save_LIBS
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11655 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11656 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11657 OPENCL_LIBS="-lOpenCL"
11662 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11663 case "x$with_opencl" in
11664 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11665 xno) ;;
11666 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11667 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11668 esac
11669 enable_opencl=${enable_opencl:-no}
11672 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11673 then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11675 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11676 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11677 $as_echo_n "(cached) " >&6
11678 else
11679 ac_check_lib_save_LIBS=$LIBS
11680 LIBS="-lpcap $LIBS"
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11684 /* Override any GCC internal prototype to avoid an error.
11685 Use char because int might match the return type of a GCC
11686 builtin and then its argument prototype would still apply. */
11687 #ifdef __cplusplus
11688 extern "C"
11689 #endif
11690 char pcap_create ();
11692 main ()
11694 return pcap_create ();
11696 return 0;
11698 _ACEOF
11699 if ac_fn_c_try_link "$LINENO"; then :
11700 ac_cv_lib_pcap_pcap_create=yes
11701 else
11702 ac_cv_lib_pcap_pcap_create=no
11704 rm -f core conftest.err conftest.$ac_objext \
11705 conftest$ac_exeext conftest.$ac_ext
11706 LIBS=$ac_check_lib_save_LIBS
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11709 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11710 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11711 PCAP_LIBS="-lpcap"
11716 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11717 case "x$with_pcap" in
11718 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11719 xno) ;;
11720 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11721 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11722 esac
11723 enable_wpcap=${enable_wpcap:-no}
11727 if test "x$with_xml" != "xno"
11728 then
11729 if ${XML2_CFLAGS:+false} :; then :
11730 if ${PKG_CONFIG+:} false; then :
11731 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11734 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11735 if ${XML2_LIBS:+false} :; then :
11736 if ${PKG_CONFIG+:} false; then :
11737 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11740 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11741 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11742 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11743 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11744 ac_save_CPPFLAGS=$CPPFLAGS
11745 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11746 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11747 do :
11748 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11749 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11751 cat >>confdefs.h <<_ACEOF
11752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11753 _ACEOF
11757 done
11759 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"
11760 then
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11762 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11763 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11764 $as_echo_n "(cached) " >&6
11765 else
11766 ac_check_lib_save_LIBS=$LIBS
11767 LIBS="-lxml2 $XML2_LIBS $LIBS"
11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11771 /* Override any GCC internal prototype to avoid an error.
11772 Use char because int might match the return type of a GCC
11773 builtin and then its argument prototype would still apply. */
11774 #ifdef __cplusplus
11775 extern "C"
11776 #endif
11777 char xmlParseMemory ();
11779 main ()
11781 return xmlParseMemory ();
11783 return 0;
11785 _ACEOF
11786 if ac_fn_c_try_link "$LINENO"; then :
11787 ac_cv_lib_xml2_xmlParseMemory=yes
11788 else
11789 ac_cv_lib_xml2_xmlParseMemory=no
11791 rm -f core conftest.err conftest.$ac_objext \
11792 conftest$ac_exeext conftest.$ac_ext
11793 LIBS=$ac_check_lib_save_LIBS
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11796 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11797 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11799 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11801 else
11802 XML2_LIBS=""
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11806 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11807 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11808 $as_echo_n "(cached) " >&6
11809 else
11810 ac_check_lib_save_LIBS=$LIBS
11811 LIBS="-lxml2 $XML2_LIBS $LIBS"
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11818 #ifdef __cplusplus
11819 extern "C"
11820 #endif
11821 char xmlReadMemory ();
11823 main ()
11825 return xmlReadMemory ();
11827 return 0;
11829 _ACEOF
11830 if ac_fn_c_try_link "$LINENO"; then :
11831 ac_cv_lib_xml2_xmlReadMemory=yes
11832 else
11833 ac_cv_lib_xml2_xmlReadMemory=no
11835 rm -f core conftest.err conftest.$ac_objext \
11836 conftest$ac_exeext conftest.$ac_ext
11837 LIBS=$ac_check_lib_save_LIBS
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11840 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11841 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11843 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11848 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11849 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11850 $as_echo_n "(cached) " >&6
11851 else
11852 ac_check_lib_save_LIBS=$LIBS
11853 LIBS="-lxml2 $XML2_LIBS $LIBS"
11854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11857 /* Override any GCC internal prototype to avoid an error.
11858 Use char because int might match the return type of a GCC
11859 builtin and then its argument prototype would still apply. */
11860 #ifdef __cplusplus
11861 extern "C"
11862 #endif
11863 char xmlNewDocPI ();
11865 main ()
11867 return xmlNewDocPI ();
11869 return 0;
11871 _ACEOF
11872 if ac_fn_c_try_link "$LINENO"; then :
11873 ac_cv_lib_xml2_xmlNewDocPI=yes
11874 else
11875 ac_cv_lib_xml2_xmlNewDocPI=no
11877 rm -f core conftest.err conftest.$ac_objext \
11878 conftest$ac_exeext conftest.$ac_ext
11879 LIBS=$ac_check_lib_save_LIBS
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11882 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11883 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11885 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11890 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11891 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11892 $as_echo_n "(cached) " >&6
11893 else
11894 ac_check_lib_save_LIBS=$LIBS
11895 LIBS="-lxml2 $XML2_LIBS $LIBS"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 /* Override any GCC internal prototype to avoid an error.
11900 Use char because int might match the return type of a GCC
11901 builtin and then its argument prototype would still apply. */
11902 #ifdef __cplusplus
11903 extern "C"
11904 #endif
11905 char xmlSchemaSetParserStructuredErrors ();
11907 main ()
11909 return xmlSchemaSetParserStructuredErrors ();
11911 return 0;
11913 _ACEOF
11914 if ac_fn_c_try_link "$LINENO"; then :
11915 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11916 else
11917 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11919 rm -f core conftest.err conftest.$ac_objext \
11920 conftest$ac_exeext conftest.$ac_ext
11921 LIBS=$ac_check_lib_save_LIBS
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11924 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11925 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11927 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11932 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11933 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 ac_check_lib_save_LIBS=$LIBS
11937 LIBS="-lxml2 $XML2_LIBS $LIBS"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11941 /* Override any GCC internal prototype to avoid an error.
11942 Use char because int might match the return type of a GCC
11943 builtin and then its argument prototype would still apply. */
11944 #ifdef __cplusplus
11945 extern "C"
11946 #endif
11947 char xmlSchemaSetValidStructuredErrors ();
11949 main ()
11951 return xmlSchemaSetValidStructuredErrors ();
11953 return 0;
11955 _ACEOF
11956 if ac_fn_c_try_link "$LINENO"; then :
11957 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11958 else
11959 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11961 rm -f core conftest.err conftest.$ac_objext \
11962 conftest$ac_exeext conftest.$ac_ext
11963 LIBS=$ac_check_lib_save_LIBS
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11966 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11967 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11969 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11974 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11975 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11976 $as_echo_n "(cached) " >&6
11977 else
11978 ac_check_lib_save_LIBS=$LIBS
11979 LIBS="-lxml2 $XML2_LIBS $LIBS"
11980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11981 /* end confdefs.h. */
11983 /* Override any GCC internal prototype to avoid an error.
11984 Use char because int might match the return type of a GCC
11985 builtin and then its argument prototype would still apply. */
11986 #ifdef __cplusplus
11987 extern "C"
11988 #endif
11989 char xmlFirstElementChild ();
11991 main ()
11993 return xmlFirstElementChild ();
11995 return 0;
11997 _ACEOF
11998 if ac_fn_c_try_link "$LINENO"; then :
11999 ac_cv_lib_xml2_xmlFirstElementChild=yes
12000 else
12001 ac_cv_lib_xml2_xmlFirstElementChild=no
12003 rm -f core conftest.err conftest.$ac_objext \
12004 conftest$ac_exeext conftest.$ac_ext
12005 LIBS=$ac_check_lib_save_LIBS
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12008 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12009 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12011 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12015 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12017 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12019 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12023 else
12024 XML2_CFLAGS=""
12025 XML2_LIBS=""
12027 CPPFLAGS=$ac_save_CPPFLAGS
12028 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12029 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12032 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12033 case "x$with_xml" in
12034 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12035 xno) ;;
12036 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12037 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12038 esac
12042 if test "x$with_xslt" != "xno"
12043 then
12044 if ${XSLT_CFLAGS:+false} :; then :
12045 if ${PKG_CONFIG+:} false; then :
12046 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12049 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12050 if ${XSLT_LIBS:+false} :; then :
12051 if ${PKG_CONFIG+:} false; then :
12052 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12055 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12056 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12057 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12058 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12059 ac_save_CPPFLAGS=$CPPFLAGS
12060 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12061 for ac_header in libxslt/pattern.h libxslt/transform.h
12062 do :
12063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12064 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12065 # include <libxslt/pattern.h>
12066 #endif
12068 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12069 cat >>confdefs.h <<_ACEOF
12070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12071 _ACEOF
12075 done
12077 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12078 then
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12080 $as_echo_n "checking for -lxslt... " >&6; }
12081 if ${ac_cv_lib_soname_xslt+:} false; then :
12082 $as_echo_n "(cached) " >&6
12083 else
12084 ac_check_soname_save_LIBS=$LIBS
12085 LIBS="-lxslt $XSLT_LIBS $LIBS"
12086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12092 #ifdef __cplusplus
12093 extern "C"
12094 #endif
12095 char xsltCompilePattern ();
12097 main ()
12099 return xsltCompilePattern ();
12101 return 0;
12103 _ACEOF
12104 if ac_fn_c_try_link "$LINENO"; then :
12105 case "$LIBEXT" in
12106 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12107 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'` ;;
12108 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12109 if ${ac_cv_lib_soname_xslt:+false} :; then :
12110 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12111 fi ;;
12112 esac
12114 rm -f core conftest.err conftest.$ac_objext \
12115 conftest$ac_exeext conftest.$ac_ext
12116 LIBS=$ac_check_soname_save_LIBS
12118 if ${ac_cv_lib_soname_xslt:+false} :; then :
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12120 $as_echo "not found" >&6; }
12122 else
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12124 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12126 cat >>confdefs.h <<_ACEOF
12127 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12128 _ACEOF
12132 else
12133 XSLT_CFLAGS=""
12135 CPPFLAGS=$ac_save_CPPFLAGS
12136 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12137 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12140 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12141 case "x$with_xslt" in
12142 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12143 xno) ;;
12144 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12145 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12146 esac
12150 if test "x$with_dbus" != "xno"
12151 then
12152 if ${DBUS_CFLAGS:+false} :; then :
12153 if ${PKG_CONFIG+:} false; then :
12154 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12158 if ${DBUS_LIBS:+false} :; then :
12159 if ${PKG_CONFIG+:} false; then :
12160 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12165 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12166 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12167 ac_save_CPPFLAGS=$CPPFLAGS
12168 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12169 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12170 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12172 $as_echo_n "checking for -ldbus-1... " >&6; }
12173 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12174 $as_echo_n "(cached) " >&6
12175 else
12176 ac_check_soname_save_LIBS=$LIBS
12177 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12184 #ifdef __cplusplus
12185 extern "C"
12186 #endif
12187 char dbus_connection_close ();
12189 main ()
12191 return dbus_connection_close ();
12193 return 0;
12195 _ACEOF
12196 if ac_fn_c_try_link "$LINENO"; then :
12197 case "$LIBEXT" in
12198 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12199 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'` ;;
12200 *) 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'`
12201 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12202 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12203 fi ;;
12204 esac
12206 rm -f core conftest.err conftest.$ac_objext \
12207 conftest$ac_exeext conftest.$ac_ext
12208 LIBS=$ac_check_soname_save_LIBS
12210 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12212 $as_echo "not found" >&6; }
12213 DBUS_CFLAGS=""
12214 else
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12216 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12218 cat >>confdefs.h <<_ACEOF
12219 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12220 _ACEOF
12224 else
12225 DBUS_CFLAGS=""
12229 CPPFLAGS=$ac_save_CPPFLAGS
12230 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12231 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12234 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12235 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12236 case "x$with_dbus" in
12237 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12238 xno) ;;
12239 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12240 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12241 esac
12245 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12246 then
12247 if ${HAL_CFLAGS:+false} :; then :
12248 if ${PKG_CONFIG+:} false; then :
12249 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12253 if ${HAL_LIBS:+false} :; then :
12254 if ${PKG_CONFIG+:} false; then :
12255 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12259 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12260 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12261 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12262 ac_save_CPPFLAGS=$CPPFLAGS
12263 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12264 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12265 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12267 $as_echo_n "checking for -lhal... " >&6; }
12268 if ${ac_cv_lib_soname_hal+:} false; then :
12269 $as_echo_n "(cached) " >&6
12270 else
12271 ac_check_soname_save_LIBS=$LIBS
12272 LIBS="-lhal $HAL_LIBS $LIBS"
12273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12276 /* Override any GCC internal prototype to avoid an error.
12277 Use char because int might match the return type of a GCC
12278 builtin and then its argument prototype would still apply. */
12279 #ifdef __cplusplus
12280 extern "C"
12281 #endif
12282 char libhal_ctx_new ();
12284 main ()
12286 return libhal_ctx_new ();
12288 return 0;
12290 _ACEOF
12291 if ac_fn_c_try_link "$LINENO"; then :
12292 case "$LIBEXT" in
12293 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12294 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'` ;;
12295 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12296 if ${ac_cv_lib_soname_hal:+false} :; then :
12297 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12298 fi ;;
12299 esac
12301 rm -f core conftest.err conftest.$ac_objext \
12302 conftest$ac_exeext conftest.$ac_ext
12303 LIBS=$ac_check_soname_save_LIBS
12305 if ${ac_cv_lib_soname_hal:+false} :; then :
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12307 $as_echo "not found" >&6; }
12308 HAL_CFLAGS=""
12309 else
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12311 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12313 cat >>confdefs.h <<_ACEOF
12314 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12315 _ACEOF
12319 else
12320 HAL_CFLAGS=""
12324 CPPFLAGS=$ac_save_CPPFLAGS
12325 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12326 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12328 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12329 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12330 case "x$with_hal" in
12331 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12332 xno) ;;
12333 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12334 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12335 esac
12340 if test "x$with_gnutls" != "xno"
12341 then
12342 if ${GNUTLS_CFLAGS:+false} :; then :
12343 if ${PKG_CONFIG+:} false; then :
12344 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12348 if ${GNUTLS_LIBS:+false} :; then :
12349 if ${PKG_CONFIG+:} false; then :
12350 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12355 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12356 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12357 ac_save_CPPFLAGS=$CPPFLAGS
12358 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12359 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12360 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12363 #include <gnutls/gnutls.h>
12364 #include <gnutls/crypto.h>
12366 main ()
12368 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12370 return 0;
12372 _ACEOF
12373 if ac_fn_c_try_compile "$LINENO"; then :
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12375 $as_echo_n "checking for -lgnutls... " >&6; }
12376 if ${ac_cv_lib_soname_gnutls+:} false; then :
12377 $as_echo_n "(cached) " >&6
12378 else
12379 ac_check_soname_save_LIBS=$LIBS
12380 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12384 /* Override any GCC internal prototype to avoid an error.
12385 Use char because int might match the return type of a GCC
12386 builtin and then its argument prototype would still apply. */
12387 #ifdef __cplusplus
12388 extern "C"
12389 #endif
12390 char gnutls_global_init ();
12392 main ()
12394 return gnutls_global_init ();
12396 return 0;
12398 _ACEOF
12399 if ac_fn_c_try_link "$LINENO"; then :
12400 case "$LIBEXT" in
12401 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12402 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'` ;;
12403 *) 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'`
12404 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12405 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'`
12406 fi ;;
12407 esac
12409 rm -f core conftest.err conftest.$ac_objext \
12410 conftest$ac_exeext conftest.$ac_ext
12411 LIBS=$ac_check_soname_save_LIBS
12413 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12415 $as_echo "not found" >&6; }
12416 GNUTLS_CFLAGS=""
12417 else
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12419 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12421 cat >>confdefs.h <<_ACEOF
12422 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12423 _ACEOF
12427 ac_wine_check_funcs_save_LIBS="$LIBS"
12428 LIBS="$LIBS $GNUTLS_LIBS"
12429 for ac_func in gnutls_cipher_init
12430 do :
12431 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12432 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12433 cat >>confdefs.h <<_ACEOF
12434 #define HAVE_GNUTLS_CIPHER_INIT 1
12435 _ACEOF
12437 else
12438 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12440 done
12442 LIBS="$ac_wine_check_funcs_save_LIBS"
12444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12445 else
12446 GNUTLS_CFLAGS=""
12450 CPPFLAGS=$ac_save_CPPFLAGS
12451 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12452 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12455 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12456 case "x$with_gnutls" in
12457 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12458 xno) ;;
12459 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12460 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12461 esac
12465 CURSES_LIBS=""
12466 if test "$ac_cv_header_ncurses_h" = "yes"
12467 then
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12469 $as_echo_n "checking for -lncurses... " >&6; }
12470 if ${ac_cv_lib_soname_ncurses+:} false; then :
12471 $as_echo_n "(cached) " >&6
12472 else
12473 ac_check_soname_save_LIBS=$LIBS
12474 LIBS="-lncurses $LIBS"
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12478 /* Override any GCC internal prototype to avoid an error.
12479 Use char because int might match the return type of a GCC
12480 builtin and then its argument prototype would still apply. */
12481 #ifdef __cplusplus
12482 extern "C"
12483 #endif
12484 char waddch ();
12486 main ()
12488 return waddch ();
12490 return 0;
12492 _ACEOF
12493 if ac_fn_c_try_link "$LINENO"; then :
12494 case "$LIBEXT" in
12495 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12496 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'` ;;
12497 *) 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'`
12498 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12499 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12500 fi ;;
12501 esac
12503 rm -f core conftest.err conftest.$ac_objext \
12504 conftest$ac_exeext conftest.$ac_ext
12505 LIBS=$ac_check_soname_save_LIBS
12507 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12509 $as_echo "not found" >&6; }
12511 else
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12513 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12515 cat >>confdefs.h <<_ACEOF
12516 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12517 _ACEOF
12519 CURSES_LIBS="-lncurses"
12521 elif test "$ac_cv_header_curses_h" = "yes"
12522 then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12524 $as_echo_n "checking for -lcurses... " >&6; }
12525 if ${ac_cv_lib_soname_curses+:} false; then :
12526 $as_echo_n "(cached) " >&6
12527 else
12528 ac_check_soname_save_LIBS=$LIBS
12529 LIBS="-lcurses $LIBS"
12530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12533 /* Override any GCC internal prototype to avoid an error.
12534 Use char because int might match the return type of a GCC
12535 builtin and then its argument prototype would still apply. */
12536 #ifdef __cplusplus
12537 extern "C"
12538 #endif
12539 char waddch ();
12541 main ()
12543 return waddch ();
12545 return 0;
12547 _ACEOF
12548 if ac_fn_c_try_link "$LINENO"; then :
12549 case "$LIBEXT" in
12550 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12551 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'` ;;
12552 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12553 if ${ac_cv_lib_soname_curses:+false} :; then :
12554 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12555 fi ;;
12556 esac
12558 rm -f core conftest.err conftest.$ac_objext \
12559 conftest$ac_exeext conftest.$ac_ext
12560 LIBS=$ac_check_soname_save_LIBS
12562 if ${ac_cv_lib_soname_curses:+false} :; then :
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12564 $as_echo "not found" >&6; }
12566 else
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12568 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12570 cat >>confdefs.h <<_ACEOF
12571 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12572 _ACEOF
12574 CURSES_LIBS="-lcurses"
12577 ac_save_LIBS="$LIBS"
12578 LIBS="$LIBS $CURSES_LIBS"
12579 for ac_func in mousemask
12580 do :
12581 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12582 if test "x$ac_cv_func_mousemask" = xyes; then :
12583 cat >>confdefs.h <<_ACEOF
12584 #define HAVE_MOUSEMASK 1
12585 _ACEOF
12588 done
12590 LIBS="$ac_save_LIBS"
12591 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12592 case "x$with_curses" in
12593 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12594 xno) ;;
12595 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12596 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12597 esac
12601 if test "x$with_sane" != "xno"
12602 then
12603 if ${SANE_CFLAGS:+false} :; then :
12604 if ${PKG_CONFIG+:} false; then :
12605 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12608 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12609 if ${SANE_LIBS:+false} :; then :
12610 if ${PKG_CONFIG+:} false; then :
12611 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12614 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12616 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12617 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12618 ac_save_CPPFLAGS=$CPPFLAGS
12619 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12620 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12621 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12623 $as_echo_n "checking for -lsane... " >&6; }
12624 if ${ac_cv_lib_soname_sane+:} false; then :
12625 $as_echo_n "(cached) " >&6
12626 else
12627 ac_check_soname_save_LIBS=$LIBS
12628 LIBS="-lsane $SANE_LIBS $LIBS"
12629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12635 #ifdef __cplusplus
12636 extern "C"
12637 #endif
12638 char sane_init ();
12640 main ()
12642 return sane_init ();
12644 return 0;
12646 _ACEOF
12647 if ac_fn_c_try_link "$LINENO"; then :
12648 case "$LIBEXT" in
12649 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12650 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'` ;;
12651 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12652 if ${ac_cv_lib_soname_sane:+false} :; then :
12653 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12654 fi ;;
12655 esac
12657 rm -f core conftest.err conftest.$ac_objext \
12658 conftest$ac_exeext conftest.$ac_ext
12659 LIBS=$ac_check_soname_save_LIBS
12661 if ${ac_cv_lib_soname_sane:+false} :; then :
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12663 $as_echo "not found" >&6; }
12664 SANE_CFLAGS=""
12665 else
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12667 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12669 cat >>confdefs.h <<_ACEOF
12670 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12671 _ACEOF
12675 else
12676 SANE_CFLAGS=""
12680 CPPFLAGS=$ac_save_CPPFLAGS
12681 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12682 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12685 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12686 case "x$with_sane" in
12687 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12688 xno) ;;
12689 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12690 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12691 esac
12695 if test "x$with_v4l" != "xno"
12696 then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12698 $as_echo_n "checking for -lv4l1... " >&6; }
12699 if ${ac_cv_lib_soname_v4l1+:} false; then :
12700 $as_echo_n "(cached) " >&6
12701 else
12702 ac_check_soname_save_LIBS=$LIBS
12703 LIBS="-lv4l1 $LIBS"
12704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12705 /* end confdefs.h. */
12707 /* Override any GCC internal prototype to avoid an error.
12708 Use char because int might match the return type of a GCC
12709 builtin and then its argument prototype would still apply. */
12710 #ifdef __cplusplus
12711 extern "C"
12712 #endif
12713 char v4l1_open ();
12715 main ()
12717 return v4l1_open ();
12719 return 0;
12721 _ACEOF
12722 if ac_fn_c_try_link "$LINENO"; then :
12723 case "$LIBEXT" in
12724 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12725 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'` ;;
12726 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12727 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12728 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12729 fi ;;
12730 esac
12732 rm -f core conftest.err conftest.$ac_objext \
12733 conftest$ac_exeext conftest.$ac_ext
12734 LIBS=$ac_check_soname_save_LIBS
12736 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12738 $as_echo "not found" >&6; }
12740 else
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12742 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12744 cat >>confdefs.h <<_ACEOF
12745 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12746 _ACEOF
12751 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12752 case "x$with_v4l" in
12753 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12754 xno) ;;
12755 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12756 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12757 esac
12761 if test "x$with_gphoto" != "xno"
12762 then
12763 if ${GPHOTO2_CFLAGS:+false} :; then :
12764 if ${PKG_CONFIG+:} false; then :
12765 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12768 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12769 if ${GPHOTO2_LIBS:+false} :; then :
12770 if ${PKG_CONFIG+:} false; then :
12771 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12774 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12775 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12776 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12777 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12778 ac_save_CPPFLAGS=$CPPFLAGS
12779 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12780 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12781 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12783 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12784 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12785 $as_echo_n "(cached) " >&6
12786 else
12787 ac_check_lib_save_LIBS=$LIBS
12788 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 /* Override any GCC internal prototype to avoid an error.
12793 Use char because int might match the return type of a GCC
12794 builtin and then its argument prototype would still apply. */
12795 #ifdef __cplusplus
12796 extern "C"
12797 #endif
12798 char gp_camera_new ();
12800 main ()
12802 return gp_camera_new ();
12804 return 0;
12806 _ACEOF
12807 if ac_fn_c_try_link "$LINENO"; then :
12808 ac_cv_lib_gphoto2_gp_camera_new=yes
12809 else
12810 ac_cv_lib_gphoto2_gp_camera_new=no
12812 rm -f core conftest.err conftest.$ac_objext \
12813 conftest$ac_exeext conftest.$ac_ext
12814 LIBS=$ac_check_lib_save_LIBS
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12817 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12818 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12820 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12822 else
12823 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12826 else
12827 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12831 CPPFLAGS=$ac_save_CPPFLAGS
12832 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12833 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12835 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12836 if ${PKG_CONFIG+:} false; then :
12837 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12840 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12841 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12842 if ${PKG_CONFIG+:} false; then :
12843 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12846 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12847 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12848 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12849 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12850 ac_save_CPPFLAGS=$CPPFLAGS
12851 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12852 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12853 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12855 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12856 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12857 $as_echo_n "(cached) " >&6
12858 else
12859 ac_check_lib_save_LIBS=$LIBS
12860 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12864 /* Override any GCC internal prototype to avoid an error.
12865 Use char because int might match the return type of a GCC
12866 builtin and then its argument prototype would still apply. */
12867 #ifdef __cplusplus
12868 extern "C"
12869 #endif
12870 char gp_port_info_list_new ();
12872 main ()
12874 return gp_port_info_list_new ();
12876 return 0;
12878 _ACEOF
12879 if ac_fn_c_try_link "$LINENO"; then :
12880 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12881 else
12882 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12884 rm -f core conftest.err conftest.$ac_objext \
12885 conftest$ac_exeext conftest.$ac_ext
12886 LIBS=$ac_check_lib_save_LIBS
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12889 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12890 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12892 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12894 else
12895 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12898 else
12899 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12903 CPPFLAGS=$ac_save_CPPFLAGS
12904 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12905 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12908 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12909 case "x$with_gphoto" in
12910 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12911 xno) ;;
12912 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12913 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12914 esac
12917 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12918 case "x$with_gphoto" in
12919 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12920 xno) ;;
12921 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12922 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12923 esac
12928 if test "$ac_cv_header_resolv_h" = "yes"
12929 then
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12931 $as_echo_n "checking for resolver library... " >&6; }
12932 if ${ac_cv_have_resolv+:} false; then :
12933 $as_echo_n "(cached) " >&6
12934 else
12935 ac_save_LIBS="$LIBS"
12936 for lib in '' -lresolv
12938 LIBS="$lib $ac_save_LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12941 #ifdef HAVE_NETINET_IN_H
12942 #include <netinet/in.h>
12943 #endif
12944 #include <resolv.h>
12946 main ()
12948 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12950 return 0;
12952 _ACEOF
12953 if ac_fn_c_try_link "$LINENO"; then :
12954 ac_cv_have_resolv=${lib:-"none required"}
12955 else
12956 ac_cv_have_resolv="not found"
12958 rm -f core conftest.err conftest.$ac_objext \
12959 conftest$ac_exeext conftest.$ac_ext
12960 test "x$ac_cv_have_resolv" = "xnot found" || break
12961 done
12962 LIBS="$ac_save_LIBS"
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12965 $as_echo "$ac_cv_have_resolv" >&6; }
12967 case "$ac_cv_have_resolv" in
12968 "not found") ;;
12969 "none required")
12971 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12974 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12976 RESOLV_LIBS=$ac_cv_have_resolv
12978 esac
12981 if test "x$with_cms" != "xno"
12982 then
12983 if ${LCMS2_CFLAGS:+false} :; then :
12984 if ${PKG_CONFIG+:} false; then :
12985 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12989 if ${LCMS2_LIBS:+false} :; then :
12990 if ${PKG_CONFIG+:} false; then :
12991 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12995 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12996 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12997 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12998 ac_save_CPPFLAGS=$CPPFLAGS
12999 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13000 for ac_header in lcms2.h
13001 do :
13002 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13003 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13004 cat >>confdefs.h <<_ACEOF
13005 #define HAVE_LCMS2_H 1
13006 _ACEOF
13010 done
13012 if test "$ac_cv_header_lcms2_h" = "yes"
13013 then
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13015 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13016 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13017 $as_echo_n "(cached) " >&6
13018 else
13019 ac_check_lib_save_LIBS=$LIBS
13020 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13022 /* end confdefs.h. */
13024 /* Override any GCC internal prototype to avoid an error.
13025 Use char because int might match the return type of a GCC
13026 builtin and then its argument prototype would still apply. */
13027 #ifdef __cplusplus
13028 extern "C"
13029 #endif
13030 char cmsOpenProfileFromFile ();
13032 main ()
13034 return cmsOpenProfileFromFile ();
13036 return 0;
13038 _ACEOF
13039 if ac_fn_c_try_link "$LINENO"; then :
13040 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13041 else
13042 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13044 rm -f core conftest.err conftest.$ac_objext \
13045 conftest$ac_exeext conftest.$ac_ext
13046 LIBS=$ac_check_lib_save_LIBS
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13049 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13050 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13052 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13054 else
13055 LCMS2_LIBS=""
13058 else
13059 LCMS2_CFLAGS=""
13060 LCMS2_LIBS=""
13062 CPPFLAGS=$ac_save_CPPFLAGS
13063 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13064 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13067 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13068 case "x$with_cms" in
13069 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13070 xno) ;;
13071 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13072 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13073 esac
13077 if test "x$with_freetype" != "xno"
13078 then
13079 if ${FREETYPE_CFLAGS:+false} :; then :
13080 if ${PKG_CONFIG+:} false; then :
13081 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13084 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13085 if ${FREETYPE_LIBS:+false} :; then :
13086 if ${PKG_CONFIG+:} false; then :
13087 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13090 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13091 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13092 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13093 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13094 ac_save_CPPFLAGS=$CPPFLAGS
13095 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13096 for ac_header in ft2build.h
13097 do :
13098 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13099 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13100 cat >>confdefs.h <<_ACEOF
13101 #define HAVE_FT2BUILD_H 1
13102 _ACEOF
13106 done
13108 if test "$ac_cv_header_ft2build_h" = "yes"
13109 then
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13111 $as_echo_n "checking for -lfreetype... " >&6; }
13112 if ${ac_cv_lib_soname_freetype+:} false; then :
13113 $as_echo_n "(cached) " >&6
13114 else
13115 ac_check_soname_save_LIBS=$LIBS
13116 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13118 /* end confdefs.h. */
13120 /* Override any GCC internal prototype to avoid an error.
13121 Use char because int might match the return type of a GCC
13122 builtin and then its argument prototype would still apply. */
13123 #ifdef __cplusplus
13124 extern "C"
13125 #endif
13126 char FT_Init_FreeType ();
13128 main ()
13130 return FT_Init_FreeType ();
13132 return 0;
13134 _ACEOF
13135 if ac_fn_c_try_link "$LINENO"; then :
13136 case "$LIBEXT" in
13137 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13138 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'` ;;
13139 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13140 if ${ac_cv_lib_soname_freetype:+false} :; then :
13141 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13142 fi ;;
13143 esac
13145 rm -f core conftest.err conftest.$ac_objext \
13146 conftest$ac_exeext conftest.$ac_ext
13147 LIBS=$ac_check_soname_save_LIBS
13149 if ${ac_cv_lib_soname_freetype:+false} :; then :
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13151 $as_echo "not found" >&6; }
13152 FREETYPE_LIBS=""
13153 else
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13155 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13157 cat >>confdefs.h <<_ACEOF
13158 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13159 _ACEOF
13162 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13164 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13165 #include FT_MODULE_H
13167 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13169 cat >>confdefs.h <<_ACEOF
13170 #define HAVE_FT_TRUETYPEENGINETYPE 1
13171 _ACEOF
13177 else
13178 FREETYPE_CFLAGS=""
13179 FREETYPE_LIBS=""
13181 CPPFLAGS=$ac_save_CPPFLAGS
13182 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13183 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13186 if test "x$ac_cv_lib_soname_freetype" = x; then :
13187 case "x$with_freetype" in
13188 xno) ;;
13189 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13190 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13191 esac
13192 enable_fonts=${enable_fonts:-no}
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13196 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13197 if ${ac_cv_c_ppdev+:} false; then :
13198 $as_echo_n "(cached) " >&6
13199 else
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13202 #ifdef HAVE_SYS_IOCTL_H
13203 # include <sys/ioctl.h>
13204 #endif
13205 #include <linux/ppdev.h>
13207 main ()
13209 ioctl (1,PPCLAIM,0)
13211 return 0;
13213 _ACEOF
13214 if ac_fn_c_try_compile "$LINENO"; then :
13215 ac_cv_c_ppdev="yes"
13216 else
13217 ac_cv_c_ppdev="no"
13219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13222 $as_echo "$ac_cv_c_ppdev" >&6; }
13223 if test "$ac_cv_c_ppdev" = "yes"
13224 then
13226 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13230 ac_wine_check_funcs_save_LIBS="$LIBS"
13231 LIBS="$LIBS $PTHREAD_LIBS"
13232 for ac_func in \
13233 pthread_attr_get_np \
13234 pthread_getattr_np \
13235 pthread_getthreadid_np \
13236 pthread_get_stackaddr_np \
13237 pthread_get_stacksize_np
13238 do :
13239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13241 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13242 cat >>confdefs.h <<_ACEOF
13243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13244 _ACEOF
13247 done
13249 LIBS="$ac_wine_check_funcs_save_LIBS"
13251 if test "$ac_cv_header_zlib_h" = "yes"
13252 then
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13254 $as_echo_n "checking for inflate in -lz... " >&6; }
13255 if ${ac_cv_lib_z_inflate+:} false; then :
13256 $as_echo_n "(cached) " >&6
13257 else
13258 ac_check_lib_save_LIBS=$LIBS
13259 LIBS="-lz $LIBS"
13260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13261 /* end confdefs.h. */
13263 /* Override any GCC internal prototype to avoid an error.
13264 Use char because int might match the return type of a GCC
13265 builtin and then its argument prototype would still apply. */
13266 #ifdef __cplusplus
13267 extern "C"
13268 #endif
13269 char inflate ();
13271 main ()
13273 return inflate ();
13275 return 0;
13277 _ACEOF
13278 if ac_fn_c_try_link "$LINENO"; then :
13279 ac_cv_lib_z_inflate=yes
13280 else
13281 ac_cv_lib_z_inflate=no
13283 rm -f core conftest.err conftest.$ac_objext \
13284 conftest$ac_exeext conftest.$ac_ext
13285 LIBS=$ac_check_lib_save_LIBS
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13288 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13289 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13291 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13293 Z_LIBS="-lz"
13298 if test "x$Z_LIBS" = "x"; then :
13299 case "x$with_zlib" in
13300 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13301 xno) ;;
13302 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13303 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13304 esac
13308 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13309 then
13310 if test "$ac_cv_header_gettext_po_h" = "yes"
13311 then
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13313 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13314 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13315 $as_echo_n "(cached) " >&6
13316 else
13317 ac_check_lib_save_LIBS=$LIBS
13318 LIBS="-lgettextpo $LIBS"
13319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13320 /* end confdefs.h. */
13322 /* Override any GCC internal prototype to avoid an error.
13323 Use char because int might match the return type of a GCC
13324 builtin and then its argument prototype would still apply. */
13325 #ifdef __cplusplus
13326 extern "C"
13327 #endif
13328 char po_message_msgctxt ();
13330 main ()
13332 return po_message_msgctxt ();
13334 return 0;
13336 _ACEOF
13337 if ac_fn_c_try_link "$LINENO"; then :
13338 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13339 else
13340 ac_cv_lib_gettextpo_po_message_msgctxt=no
13342 rm -f core conftest.err conftest.$ac_objext \
13343 conftest$ac_exeext conftest.$ac_ext
13344 LIBS=$ac_check_lib_save_LIBS
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13347 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13348 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13350 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13352 GETTEXTPO_LIBS="-lgettextpo"
13357 if test "x$GETTEXTPO_LIBS" = "x"; then :
13358 case "x$with_gettextpo" in
13359 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13360 xno) ;;
13361 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13362 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13363 esac
13366 if test "$srcdir" != .; then :
13367 case "x$with_gettextpo" in
13368 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13369 xno) ;;
13370 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13371 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13372 esac
13377 if test "x$with_pulse" != "xno";
13378 then
13379 if ${PULSE_CFLAGS:+false} :; then :
13380 if ${PKG_CONFIG+:} false; then :
13381 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13385 if ${PULSE_LIBS:+false} :; then :
13386 if ${PKG_CONFIG+:} false; then :
13387 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13392 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13393 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13394 ac_save_CPPFLAGS=$CPPFLAGS
13395 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13396 for ac_header in pulse/pulseaudio.h
13397 do :
13398 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13399 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13400 cat >>confdefs.h <<_ACEOF
13401 #define HAVE_PULSE_PULSEAUDIO_H 1
13402 _ACEOF
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13404 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13405 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13406 $as_echo_n "(cached) " >&6
13407 else
13408 ac_check_lib_save_LIBS=$LIBS
13409 LIBS="-lpulse $PULSE_LIBS $LIBS"
13410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13411 /* end confdefs.h. */
13413 /* Override any GCC internal prototype to avoid an error.
13414 Use char because int might match the return type of a GCC
13415 builtin and then its argument prototype would still apply. */
13416 #ifdef __cplusplus
13417 extern "C"
13418 #endif
13419 char pa_stream_is_corked ();
13421 main ()
13423 return pa_stream_is_corked ();
13425 return 0;
13427 _ACEOF
13428 if ac_fn_c_try_link "$LINENO"; then :
13429 ac_cv_lib_pulse_pa_stream_is_corked=yes
13430 else
13431 ac_cv_lib_pulse_pa_stream_is_corked=no
13433 rm -f core conftest.err conftest.$ac_objext \
13434 conftest$ac_exeext conftest.$ac_ext
13435 LIBS=$ac_check_lib_save_LIBS
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13438 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13439 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13441 else
13442 PULSE_LIBS=""
13445 else
13446 PULSE_LIBS=""
13449 done
13451 CPPFLAGS=$ac_save_CPPFLAGS
13452 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13453 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13456 if test -z "$PULSE_LIBS"; then :
13457 case "x$with_pulse" in
13458 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13459 xno) ;;
13460 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13461 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13462 esac
13463 enable_winepulse_drv=${enable_winepulse_drv:-no}
13466 if test "x$with_gstreamer" != "xno"
13467 then
13468 if ${GSTREAMER_CFLAGS:+false} :; then :
13469 if ${PKG_CONFIG+:} false; then :
13470 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13474 if ${GSTREAMER_LIBS:+false} :; then :
13475 if ${PKG_CONFIG+:} false; then :
13476 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13481 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13482 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13483 ac_save_CPPFLAGS=$CPPFLAGS
13484 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13485 ac_gst_incl=""
13486 for i in $GSTREAMER_CFLAGS
13488 case "$i" in
13489 -I*) ac_gst_incl="$ac_gst_incl $i";;
13490 esac
13491 done
13492 GSTREAMER_CFLAGS=$ac_gst_incl
13493 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13494 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13495 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13497 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13499 /* end confdefs.h. */
13500 #include <gst/gst.h>
13502 main ()
13504 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13506 return 0;
13508 _ACEOF
13509 if ac_fn_c_try_compile "$LINENO"; then :
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13511 $as_echo "yes" >&6; }
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13513 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13514 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13515 $as_echo_n "(cached) " >&6
13516 else
13517 ac_check_lib_save_LIBS=$LIBS
13518 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13520 /* end confdefs.h. */
13522 /* Override any GCC internal prototype to avoid an error.
13523 Use char because int might match the return type of a GCC
13524 builtin and then its argument prototype would still apply. */
13525 #ifdef __cplusplus
13526 extern "C"
13527 #endif
13528 char gst_pad_new ();
13530 main ()
13532 return gst_pad_new ();
13534 return 0;
13536 _ACEOF
13537 if ac_fn_c_try_link "$LINENO"; then :
13538 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13539 else
13540 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13542 rm -f core conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13544 LIBS=$ac_check_lib_save_LIBS
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13547 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13548 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13552 else
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13554 $as_echo "no" >&6; }
13555 ac_glib2_broken=yes
13556 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13562 CPPFLAGS=$ac_save_CPPFLAGS
13563 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13564 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13567 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 :
13568 case "x$with_gstreamer" in
13569 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13570 xno) ;;
13571 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13572 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13573 esac
13576 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13578 ALSA_LIBS=""
13580 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13581 then
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13583 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13584 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13585 $as_echo_n "(cached) " >&6
13586 else
13587 ac_check_lib_save_LIBS=$LIBS
13588 LIBS="-lasound $LIBS"
13589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h. */
13592 /* Override any GCC internal prototype to avoid an error.
13593 Use char because int might match the return type of a GCC
13594 builtin and then its argument prototype would still apply. */
13595 #ifdef __cplusplus
13596 extern "C"
13597 #endif
13598 char snd_pcm_hw_params_get_access_mask ();
13600 main ()
13602 return snd_pcm_hw_params_get_access_mask ();
13604 return 0;
13606 _ACEOF
13607 if ac_fn_c_try_link "$LINENO"; then :
13608 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13609 else
13610 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13612 rm -f core conftest.err conftest.$ac_objext \
13613 conftest$ac_exeext conftest.$ac_ext
13614 LIBS=$ac_check_lib_save_LIBS
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13617 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13618 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13621 #ifdef HAVE_ALSA_ASOUNDLIB_H
13622 #include <alsa/asoundlib.h>
13623 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13624 #include <sys/asoundlib.h>
13625 #endif
13627 main ()
13629 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13631 return 0;
13633 _ACEOF
13634 if ac_fn_c_try_compile "$LINENO"; then :
13635 ALSA_LIBS="-lasound"
13637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13641 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13643 if test "x$with_oss" != xno
13644 then
13645 ac_save_CPPFLAGS="$CPPFLAGS"
13646 if test -f /etc/oss.conf
13647 then
13648 . /etc/oss.conf
13650 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13651 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13652 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13653 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13654 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13656 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13658 cat >>confdefs.h <<_ACEOF
13659 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13660 _ACEOF
13662 OSS4_CFLAGS="$ac_oss_incl"
13669 CPPFLAGS="$ac_save_CPPFLAGS"
13671 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13672 case "x$with_oss" in
13673 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13674 xno) ;;
13675 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13676 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13677 esac
13678 enable_wineoss_drv=${enable_wineoss_drv:-no}
13681 if test "x$with_udev" != "xno"
13682 then
13683 if ${UDEV_CFLAGS:+false} :; then :
13684 if ${PKG_CONFIG+:} false; then :
13685 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13689 if ${UDEV_LIBS:+false} :; then :
13690 if ${PKG_CONFIG+:} false; then :
13691 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13695 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13696 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13697 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13698 ac_save_CPPFLAGS=$CPPFLAGS
13699 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13700 for ac_header in libudev.h
13701 do :
13702 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13703 if test "x$ac_cv_header_libudev_h" = xyes; then :
13704 cat >>confdefs.h <<_ACEOF
13705 #define HAVE_LIBUDEV_H 1
13706 _ACEOF
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13708 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13709 if ${ac_cv_lib_udev_udev_new+:} false; then :
13710 $as_echo_n "(cached) " >&6
13711 else
13712 ac_check_lib_save_LIBS=$LIBS
13713 LIBS="-ludev $UDEV_LIBS $LIBS"
13714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13715 /* end confdefs.h. */
13717 /* Override any GCC internal prototype to avoid an error.
13718 Use char because int might match the return type of a GCC
13719 builtin and then its argument prototype would still apply. */
13720 #ifdef __cplusplus
13721 extern "C"
13722 #endif
13723 char udev_new ();
13725 main ()
13727 return udev_new ();
13729 return 0;
13731 _ACEOF
13732 if ac_fn_c_try_link "$LINENO"; then :
13733 ac_cv_lib_udev_udev_new=yes
13734 else
13735 ac_cv_lib_udev_udev_new=no
13737 rm -f core conftest.err conftest.$ac_objext \
13738 conftest$ac_exeext conftest.$ac_ext
13739 LIBS=$ac_check_lib_save_LIBS
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13742 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13743 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13745 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13747 else
13748 UDEV_LIBS=""
13751 else
13752 UDEV_LIBS=""
13755 done
13757 CPPFLAGS=$ac_save_CPPFLAGS
13758 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13759 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13762 if test "x$UDEV_LIBS" = "x"; then :
13763 case "x$with_udev" in
13764 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13765 xno) ;;
13766 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13767 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13768 esac
13772 if test "x$with_sdl" != "xno"
13773 then
13774 if ${SDL2_CFLAGS:+false} :; then :
13775 if ${PKG_CONFIG+:} false; then :
13776 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13780 if ${SDL2_LIBS:+false} :; then :
13781 if ${PKG_CONFIG+:} false; then :
13782 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13786 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13787 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13788 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13789 ac_save_CPPFLAGS=$CPPFLAGS
13790 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13791 for ac_header in SDL2/SDL.h
13792 do :
13793 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13794 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13795 cat >>confdefs.h <<_ACEOF
13796 #define HAVE_SDL2_SDL_H 1
13797 _ACEOF
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13799 $as_echo_n "checking for -lSDL2... " >&6; }
13800 if ${ac_cv_lib_soname_SDL2+:} false; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 ac_check_soname_save_LIBS=$LIBS
13804 LIBS="-lSDL2 $LIBS"
13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13808 /* Override any GCC internal prototype to avoid an error.
13809 Use char because int might match the return type of a GCC
13810 builtin and then its argument prototype would still apply. */
13811 #ifdef __cplusplus
13812 extern "C"
13813 #endif
13814 char SDL_Init ();
13816 main ()
13818 return SDL_Init ();
13820 return 0;
13822 _ACEOF
13823 if ac_fn_c_try_link "$LINENO"; then :
13824 case "$LIBEXT" in
13825 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13826 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'` ;;
13827 *) 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'`
13828 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13829 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13830 fi ;;
13831 esac
13833 rm -f core conftest.err conftest.$ac_objext \
13834 conftest$ac_exeext conftest.$ac_ext
13835 LIBS=$ac_check_soname_save_LIBS
13837 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13839 $as_echo "not found" >&6; }
13841 else
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13843 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13845 cat >>confdefs.h <<_ACEOF
13846 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13847 _ACEOF
13853 done
13855 CPPFLAGS=$ac_save_CPPFLAGS
13856 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13857 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13860 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13861 case "x$with_sdl" in
13862 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13863 xno) ;;
13864 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13865 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13866 esac
13870 if test "x$with_capi" != "xno"
13871 then
13872 if ${CAPI20_CFLAGS:+false} :; then :
13873 if ${PKG_CONFIG+:} false; then :
13874 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13878 if ${CAPI20_LIBS:+false} :; then :
13879 if ${PKG_CONFIG+:} false; then :
13880 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13885 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13886 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13887 ac_save_CPPFLAGS=$CPPFLAGS
13888 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13889 for ac_header in capi20.h linux/capi.h
13890 do :
13891 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13892 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13894 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13895 cat >>confdefs.h <<_ACEOF
13896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13897 _ACEOF
13901 done
13903 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13904 then
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13906 $as_echo_n "checking for -lcapi20... " >&6; }
13907 if ${ac_cv_lib_soname_capi20+:} false; then :
13908 $as_echo_n "(cached) " >&6
13909 else
13910 ac_check_soname_save_LIBS=$LIBS
13911 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13915 /* Override any GCC internal prototype to avoid an error.
13916 Use char because int might match the return type of a GCC
13917 builtin and then its argument prototype would still apply. */
13918 #ifdef __cplusplus
13919 extern "C"
13920 #endif
13921 char capi20_register ();
13923 main ()
13925 return capi20_register ();
13927 return 0;
13929 _ACEOF
13930 if ac_fn_c_try_link "$LINENO"; then :
13931 case "$LIBEXT" in
13932 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13933 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'` ;;
13934 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13935 if ${ac_cv_lib_soname_capi20:+false} :; then :
13936 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13937 fi ;;
13938 esac
13940 rm -f core conftest.err conftest.$ac_objext \
13941 conftest$ac_exeext conftest.$ac_ext
13942 LIBS=$ac_check_soname_save_LIBS
13944 if ${ac_cv_lib_soname_capi20:+false} :; then :
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13946 $as_echo "not found" >&6; }
13948 else
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13950 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13952 cat >>confdefs.h <<_ACEOF
13953 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13954 _ACEOF
13959 CPPFLAGS=$ac_save_CPPFLAGS
13960 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13961 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13964 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13965 case "x$with_capi" in
13966 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13967 xno) ;;
13968 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13969 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13970 esac
13974 if test "x$with_cups" != "xno"
13975 then
13976 if ${CUPS_CFLAGS:+false} :; then :
13977 if ${PKG_CONFIG+:} false; then :
13978 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13981 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13982 if ${CUPS_LIBS:+false} :; then :
13983 if ${PKG_CONFIG+:} false; then :
13984 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13987 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13988 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13989 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13990 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13991 ac_save_CPPFLAGS=$CPPFLAGS
13992 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13993 for ac_header in cups/cups.h cups/ppd.h
13994 do :
13995 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13996 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13998 cat >>confdefs.h <<_ACEOF
13999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14000 _ACEOF
14004 done
14006 if test "$ac_cv_header_cups_cups_h" = "yes"
14007 then
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14009 $as_echo_n "checking for -lcups... " >&6; }
14010 if ${ac_cv_lib_soname_cups+:} false; then :
14011 $as_echo_n "(cached) " >&6
14012 else
14013 ac_check_soname_save_LIBS=$LIBS
14014 LIBS="-lcups $CUPS_LIBS $LIBS"
14015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14016 /* end confdefs.h. */
14018 /* Override any GCC internal prototype to avoid an error.
14019 Use char because int might match the return type of a GCC
14020 builtin and then its argument prototype would still apply. */
14021 #ifdef __cplusplus
14022 extern "C"
14023 #endif
14024 char cupsGetDefault ();
14026 main ()
14028 return cupsGetDefault ();
14030 return 0;
14032 _ACEOF
14033 if ac_fn_c_try_link "$LINENO"; then :
14034 case "$LIBEXT" in
14035 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14036 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'` ;;
14037 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14038 if ${ac_cv_lib_soname_cups:+false} :; then :
14039 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14040 fi ;;
14041 esac
14043 rm -f core conftest.err conftest.$ac_objext \
14044 conftest$ac_exeext conftest.$ac_ext
14045 LIBS=$ac_check_soname_save_LIBS
14047 if ${ac_cv_lib_soname_cups:+false} :; then :
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14049 $as_echo "not found" >&6; }
14050 CUPS_LIBS=""
14051 else
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14053 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14055 cat >>confdefs.h <<_ACEOF
14056 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14057 _ACEOF
14061 else
14062 CUPS_CFLAGS=""
14063 CUPS_LIBS=""
14065 CPPFLAGS=$ac_save_CPPFLAGS
14066 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14067 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14070 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14071 case "x$with_cups" in
14072 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14073 xno) ;;
14074 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14075 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14076 esac
14080 if test "x$with_fontconfig" != "xno"
14081 then
14082 if ${FONTCONFIG_CFLAGS:+false} :; then :
14083 if ${PKG_CONFIG+:} false; then :
14084 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14087 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14088 if ${FONTCONFIG_LIBS:+false} :; then :
14089 if ${PKG_CONFIG+:} false; then :
14090 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14093 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14095 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14096 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14097 ac_save_CPPFLAGS=$CPPFLAGS
14098 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14099 for ac_header in fontconfig/fontconfig.h
14100 do :
14101 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14102 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14103 cat >>confdefs.h <<_ACEOF
14104 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14105 _ACEOF
14109 done
14111 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14112 then
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14114 $as_echo_n "checking for -lfontconfig... " >&6; }
14115 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14116 $as_echo_n "(cached) " >&6
14117 else
14118 ac_check_soname_save_LIBS=$LIBS
14119 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 /* end confdefs.h. */
14123 /* Override any GCC internal prototype to avoid an error.
14124 Use char because int might match the return type of a GCC
14125 builtin and then its argument prototype would still apply. */
14126 #ifdef __cplusplus
14127 extern "C"
14128 #endif
14129 char FcInit ();
14131 main ()
14133 return FcInit ();
14135 return 0;
14137 _ACEOF
14138 if ac_fn_c_try_link "$LINENO"; then :
14139 case "$LIBEXT" in
14140 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14141 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'` ;;
14142 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14143 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14144 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14145 fi ;;
14146 esac
14148 rm -f core conftest.err conftest.$ac_objext \
14149 conftest$ac_exeext conftest.$ac_ext
14150 LIBS=$ac_check_soname_save_LIBS
14152 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14154 $as_echo "not found" >&6; }
14155 FONTCONFIG_CFLAGS=""
14156 else
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14158 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14160 cat >>confdefs.h <<_ACEOF
14161 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14162 _ACEOF
14166 else
14167 FONTCONFIG_CFLAGS=""
14169 CPPFLAGS=$ac_save_CPPFLAGS
14170 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14171 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14174 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14175 case "x$with_fontconfig" in
14176 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14177 xno) ;;
14178 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14179 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14180 esac
14184 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14185 then
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14187 $as_echo_n "checking for -lgsm... " >&6; }
14188 if ${ac_cv_lib_soname_gsm+:} false; then :
14189 $as_echo_n "(cached) " >&6
14190 else
14191 ac_check_soname_save_LIBS=$LIBS
14192 LIBS="-lgsm $LIBS"
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14196 /* Override any GCC internal prototype to avoid an error.
14197 Use char because int might match the return type of a GCC
14198 builtin and then its argument prototype would still apply. */
14199 #ifdef __cplusplus
14200 extern "C"
14201 #endif
14202 char gsm_create ();
14204 main ()
14206 return gsm_create ();
14208 return 0;
14210 _ACEOF
14211 if ac_fn_c_try_link "$LINENO"; then :
14212 case "$LIBEXT" in
14213 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14214 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'` ;;
14215 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14216 if ${ac_cv_lib_soname_gsm:+false} :; then :
14217 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14218 fi ;;
14219 esac
14221 rm -f core conftest.err conftest.$ac_objext \
14222 conftest$ac_exeext conftest.$ac_ext
14223 LIBS=$ac_check_soname_save_LIBS
14225 if ${ac_cv_lib_soname_gsm:+false} :; then :
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14227 $as_echo "not found" >&6; }
14229 else
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14231 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14233 cat >>confdefs.h <<_ACEOF
14234 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14235 _ACEOF
14240 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14241 case "x$with_gsm" in
14242 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14243 xno) ;;
14244 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14245 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14246 esac
14250 if test "x$with_krb5" != "xno"
14251 then
14252 if ${KRB5_CFLAGS:+false} :; then :
14253 if ${PKG_CONFIG+:} false; then :
14254 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14257 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14258 if ${KRB5_LIBS:+false} :; then :
14259 if ${PKG_CONFIG+:} false; then :
14260 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14263 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14265 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14266 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14267 ac_save_CPPFLAGS=$CPPFLAGS
14268 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14269 for ac_header in krb5/krb5.h
14270 do :
14271 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14272 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14273 cat >>confdefs.h <<_ACEOF
14274 #define HAVE_KRB5_KRB5_H 1
14275 _ACEOF
14279 done
14281 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14282 then
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14284 $as_echo_n "checking for -lkrb5... " >&6; }
14285 if ${ac_cv_lib_soname_krb5+:} false; then :
14286 $as_echo_n "(cached) " >&6
14287 else
14288 ac_check_soname_save_LIBS=$LIBS
14289 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291 /* end confdefs.h. */
14293 /* Override any GCC internal prototype to avoid an error.
14294 Use char because int might match the return type of a GCC
14295 builtin and then its argument prototype would still apply. */
14296 #ifdef __cplusplus
14297 extern "C"
14298 #endif
14299 char krb5_is_config_principal ();
14301 main ()
14303 return krb5_is_config_principal ();
14305 return 0;
14307 _ACEOF
14308 if ac_fn_c_try_link "$LINENO"; then :
14309 case "$LIBEXT" in
14310 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14311 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'` ;;
14312 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14313 if ${ac_cv_lib_soname_krb5:+false} :; then :
14314 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14315 fi ;;
14316 esac
14318 rm -f core conftest.err conftest.$ac_objext \
14319 conftest$ac_exeext conftest.$ac_ext
14320 LIBS=$ac_check_soname_save_LIBS
14322 if ${ac_cv_lib_soname_krb5:+false} :; then :
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14324 $as_echo "not found" >&6; }
14325 KRB5_CFLAGS=""
14326 else
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14328 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14330 cat >>confdefs.h <<_ACEOF
14331 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14332 _ACEOF
14336 else
14337 KRB5_CFLAGS=""
14339 CPPFLAGS=$ac_save_CPPFLAGS
14340 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14341 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14343 else
14344 with_gssapi=${with_gssapi:-no}
14346 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14347 case "x$with_krb5" in
14348 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14349 xno) ;;
14350 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14351 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14352 esac
14356 if test "x$with_gssapi" != "xno"
14357 then
14358 if ${GSSAPI_CFLAGS:+false} :; then :
14359 if ${PKG_CONFIG+:} false; then :
14360 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14363 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14364 if ${GSSAPI_LIBS:+false} :; then :
14365 if ${PKG_CONFIG+:} false; then :
14366 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14369 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14371 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14372 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14373 ac_save_CPPFLAGS=$CPPFLAGS
14374 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14375 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14376 do :
14377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14378 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14379 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14380 cat >>confdefs.h <<_ACEOF
14381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14382 _ACEOF
14386 done
14388 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14389 then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14391 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14392 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14393 $as_echo_n "(cached) " >&6
14394 else
14395 ac_check_soname_save_LIBS=$LIBS
14396 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14400 /* Override any GCC internal prototype to avoid an error.
14401 Use char because int might match the return type of a GCC
14402 builtin and then its argument prototype would still apply. */
14403 #ifdef __cplusplus
14404 extern "C"
14405 #endif
14406 char gss_init_sec_context ();
14408 main ()
14410 return gss_init_sec_context ();
14412 return 0;
14414 _ACEOF
14415 if ac_fn_c_try_link "$LINENO"; then :
14416 case "$LIBEXT" in
14417 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14418 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'` ;;
14419 *) 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'`
14420 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14421 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14422 fi ;;
14423 esac
14425 rm -f core conftest.err conftest.$ac_objext \
14426 conftest$ac_exeext conftest.$ac_ext
14427 LIBS=$ac_check_soname_save_LIBS
14429 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14431 $as_echo "not found" >&6; }
14432 GSSAPI_CFLAGS=""
14433 else
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14435 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14437 cat >>confdefs.h <<_ACEOF
14438 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14439 _ACEOF
14443 else
14444 GSSAPI_CFLAGS=""
14446 CPPFLAGS=$ac_save_CPPFLAGS
14447 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14448 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14451 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14452 case "x$with_gssapi" in
14453 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14454 xno) ;;
14455 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14456 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14457 esac
14461 if test "x$with_jpeg" != "xno"
14462 then
14463 if ${JPEG_CFLAGS:+false} :; then :
14464 if ${PKG_CONFIG+:} false; then :
14465 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14469 if ${JPEG_LIBS:+false} :; then :
14470 if ${PKG_CONFIG+:} false; then :
14471 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14476 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14477 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14478 ac_save_CPPFLAGS=$CPPFLAGS
14479 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14480 for ac_header in jpeglib.h
14481 do :
14482 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14483 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14484 cat >>confdefs.h <<_ACEOF
14485 #define HAVE_JPEGLIB_H 1
14486 _ACEOF
14490 done
14492 if test "$ac_cv_header_jpeglib_h" = "yes"
14493 then
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14495 $as_echo_n "checking for -ljpeg... " >&6; }
14496 if ${ac_cv_lib_soname_jpeg+:} false; then :
14497 $as_echo_n "(cached) " >&6
14498 else
14499 ac_check_soname_save_LIBS=$LIBS
14500 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h. */
14504 /* Override any GCC internal prototype to avoid an error.
14505 Use char because int might match the return type of a GCC
14506 builtin and then its argument prototype would still apply. */
14507 #ifdef __cplusplus
14508 extern "C"
14509 #endif
14510 char jpeg_start_decompress ();
14512 main ()
14514 return jpeg_start_decompress ();
14516 return 0;
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 case "$LIBEXT" in
14521 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14522 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'` ;;
14523 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14524 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14525 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14526 fi ;;
14527 esac
14529 rm -f core conftest.err conftest.$ac_objext \
14530 conftest$ac_exeext conftest.$ac_ext
14531 LIBS=$ac_check_soname_save_LIBS
14533 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14535 $as_echo "not found" >&6; }
14536 JPEG_CFLAGS=""
14537 else
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14539 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14541 cat >>confdefs.h <<_ACEOF
14542 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14543 _ACEOF
14547 else
14548 JPEG_CFLAGS=""
14550 CPPFLAGS=$ac_save_CPPFLAGS
14551 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14552 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14555 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14556 case "x$with_jpeg" in
14557 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14558 xno) ;;
14559 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14560 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14561 esac
14565 if test "x$with_png" != "xno"
14566 then
14567 if ${PNG_CFLAGS:+false} :; then :
14568 if ${PKG_CONFIG+:} false; then :
14569 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14572 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14573 if ${PNG_LIBS:+false} :; then :
14574 if ${PKG_CONFIG+:} false; then :
14575 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14578 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14580 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14581 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14582 ac_save_CPPFLAGS=$CPPFLAGS
14583 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14584 for ac_header in png.h
14585 do :
14586 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14587 if test "x$ac_cv_header_png_h" = xyes; then :
14588 cat >>confdefs.h <<_ACEOF
14589 #define HAVE_PNG_H 1
14590 _ACEOF
14594 done
14596 if test "$ac_cv_header_png_h" = "yes"
14597 then
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14599 $as_echo_n "checking for -lpng... " >&6; }
14600 if ${ac_cv_lib_soname_png+:} false; then :
14601 $as_echo_n "(cached) " >&6
14602 else
14603 ac_check_soname_save_LIBS=$LIBS
14604 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14608 /* Override any GCC internal prototype to avoid an error.
14609 Use char because int might match the return type of a GCC
14610 builtin and then its argument prototype would still apply. */
14611 #ifdef __cplusplus
14612 extern "C"
14613 #endif
14614 char png_create_read_struct ();
14616 main ()
14618 return png_create_read_struct ();
14620 return 0;
14622 _ACEOF
14623 if ac_fn_c_try_link "$LINENO"; then :
14624 case "$LIBEXT" in
14625 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14626 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'` ;;
14627 *) 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'`
14628 if ${ac_cv_lib_soname_png:+false} :; then :
14629 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14630 fi ;;
14631 esac
14633 rm -f core conftest.err conftest.$ac_objext \
14634 conftest$ac_exeext conftest.$ac_ext
14635 LIBS=$ac_check_soname_save_LIBS
14637 if ${ac_cv_lib_soname_png:+false} :; then :
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14639 $as_echo "not found" >&6; }
14640 PNG_CFLAGS=""
14641 else
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14643 $as_echo "$ac_cv_lib_soname_png" >&6; }
14645 cat >>confdefs.h <<_ACEOF
14646 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14647 _ACEOF
14651 else
14652 PNG_CFLAGS=""
14654 CPPFLAGS=$ac_save_CPPFLAGS
14655 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14656 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14659 if test "x$ac_cv_lib_soname_png" = "x"; then :
14660 case "x$with_png" in
14661 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14662 xno) ;;
14663 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14664 This is an error since --with-png was requested." "$LINENO" 5 ;;
14665 esac
14669 if test "x$with_tiff" != "xno"
14670 then
14671 if ${TIFF_CFLAGS:+false} :; then :
14672 if ${PKG_CONFIG+:} false; then :
14673 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14677 if ${TIFF_LIBS:+false} :; then :
14678 if ${PKG_CONFIG+:} false; then :
14679 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14684 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14685 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14686 ac_save_CPPFLAGS=$CPPFLAGS
14687 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14688 for ac_header in tiffio.h
14689 do :
14690 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14691 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14692 cat >>confdefs.h <<_ACEOF
14693 #define HAVE_TIFFIO_H 1
14694 _ACEOF
14698 done
14700 if test "$ac_cv_header_tiffio_h" = "yes"
14701 then
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14703 $as_echo_n "checking for -ltiff... " >&6; }
14704 if ${ac_cv_lib_soname_tiff+:} false; then :
14705 $as_echo_n "(cached) " >&6
14706 else
14707 ac_check_soname_save_LIBS=$LIBS
14708 LIBS="-ltiff $TIFF_LIBS $LIBS"
14709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14710 /* end confdefs.h. */
14712 /* Override any GCC internal prototype to avoid an error.
14713 Use char because int might match the return type of a GCC
14714 builtin and then its argument prototype would still apply. */
14715 #ifdef __cplusplus
14716 extern "C"
14717 #endif
14718 char TIFFClientOpen ();
14720 main ()
14722 return TIFFClientOpen ();
14724 return 0;
14726 _ACEOF
14727 if ac_fn_c_try_link "$LINENO"; then :
14728 case "$LIBEXT" in
14729 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14730 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'` ;;
14731 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14732 if ${ac_cv_lib_soname_tiff:+false} :; then :
14733 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14734 fi ;;
14735 esac
14737 rm -f core conftest.err conftest.$ac_objext \
14738 conftest$ac_exeext conftest.$ac_ext
14739 LIBS=$ac_check_soname_save_LIBS
14741 if ${ac_cv_lib_soname_tiff:+false} :; then :
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14743 $as_echo "not found" >&6; }
14745 else
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14747 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14749 cat >>confdefs.h <<_ACEOF
14750 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14751 _ACEOF
14756 CPPFLAGS=$ac_save_CPPFLAGS
14757 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14758 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14761 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14762 case "x$with_tiff" in
14763 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14764 xno) ;;
14765 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14766 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14767 esac
14771 if test "x$with_mpg123" != "xno"
14772 then
14773 if ${MPG123_CFLAGS:+false} :; then :
14774 if ${PKG_CONFIG+:} false; then :
14775 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14779 if ${MPG123_LIBS:+false} :; then :
14780 if ${PKG_CONFIG+:} false; then :
14781 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14785 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14786 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14787 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14788 ac_save_CPPFLAGS=$CPPFLAGS
14789 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14790 for ac_header in mpg123.h
14791 do :
14792 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14793 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14794 cat >>confdefs.h <<_ACEOF
14795 #define HAVE_MPG123_H 1
14796 _ACEOF
14800 done
14802 if test "$ac_cv_header_mpg123_h" = "yes"
14803 then
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14805 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14806 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14807 $as_echo_n "(cached) " >&6
14808 else
14809 ac_check_lib_save_LIBS=$LIBS
14810 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14817 #ifdef __cplusplus
14818 extern "C"
14819 #endif
14820 char mpg123_feed ();
14822 main ()
14824 return mpg123_feed ();
14826 return 0;
14828 _ACEOF
14829 if ac_fn_c_try_link "$LINENO"; then :
14830 ac_cv_lib_mpg123_mpg123_feed=yes
14831 else
14832 ac_cv_lib_mpg123_mpg123_feed=no
14834 rm -f core conftest.err conftest.$ac_objext \
14835 conftest$ac_exeext conftest.$ac_ext
14836 LIBS=$ac_check_lib_save_LIBS
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14839 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14840 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14842 else
14843 MPG123_LIBS=""
14846 else
14847 MPG123_CFLAGS=""
14848 MPG123_LIBS=""
14850 CPPFLAGS=$ac_save_CPPFLAGS
14851 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14852 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14855 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14856 case "x$with_mpg123" in
14857 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14858 xno) ;;
14859 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14860 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14861 esac
14862 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14864 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14866 if test "$ac_cv_header_AL_al_h" = "yes"
14867 then
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14869 $as_echo_n "checking for -lopenal... " >&6; }
14870 if ${ac_cv_lib_soname_openal+:} false; then :
14871 $as_echo_n "(cached) " >&6
14872 else
14873 ac_check_soname_save_LIBS=$LIBS
14874 LIBS="-lopenal $LIBS"
14875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14878 /* Override any GCC internal prototype to avoid an error.
14879 Use char because int might match the return type of a GCC
14880 builtin and then its argument prototype would still apply. */
14881 #ifdef __cplusplus
14882 extern "C"
14883 #endif
14884 char alGetSource3i ();
14886 main ()
14888 return alGetSource3i ();
14890 return 0;
14892 _ACEOF
14893 if ac_fn_c_try_link "$LINENO"; then :
14894 case "$LIBEXT" in
14895 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14896 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'` ;;
14897 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14898 if ${ac_cv_lib_soname_openal:+false} :; then :
14899 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14900 fi ;;
14901 esac
14903 rm -f core conftest.err conftest.$ac_objext \
14904 conftest$ac_exeext conftest.$ac_ext
14905 LIBS=$ac_check_soname_save_LIBS
14907 if ${ac_cv_lib_soname_openal:+false} :; then :
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14909 $as_echo "not found" >&6; }
14911 else
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14913 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14915 cat >>confdefs.h <<_ACEOF
14916 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14917 _ACEOF
14919 OPENAL_LIBS="-lopenal"
14921 ac_cv_lib_openal=yes
14923 cat >>confdefs.h <<_ACEOF
14924 #define HAVE_OPENAL 1
14925 _ACEOF
14929 if test "x$ac_cv_lib_openal" != xyes; then :
14930 case "x$with_openal" in
14931 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14932 xno) ;;
14933 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14934 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14935 esac
14936 enable_openal32=${enable_openal32:-no}
14939 if test "x$ac_cv_lib_openal" = xyes
14940 then
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14942 $as_echo_n "checking for openal-soft... " >&6; }
14943 if ${ac_cv_have_openalsoft+:} false; then :
14944 $as_echo_n "(cached) " >&6
14945 else
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14948 #include <AL/al.h>
14949 #include <AL/alc.h>
14950 #include <AL/alext.h>
14951 LPALCRENDERSAMPLESSOFT x;
14953 main ()
14957 return 0;
14959 _ACEOF
14960 if ac_fn_c_try_compile "$LINENO"; then :
14961 ac_cv_have_openalsoft=yes
14962 else
14963 ac_cv_have_openalsoft=no
14965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14968 $as_echo "$ac_cv_have_openalsoft" >&6; }
14970 if test "x$ac_cv_have_openalsoft" != xyes
14971 then
14972 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14973 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14974 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14975 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14976 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14977 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14978 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14979 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14980 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14981 enable_xapofx1_1=${enable_xapofx1_1:-no}
14982 enable_xapofx1_2=${enable_xapofx1_2:-no}
14983 enable_xapofx1_3=${enable_xapofx1_3:-no}
14984 enable_xapofx1_4=${enable_xapofx1_4:-no}
14985 enable_xapofx1_5=${enable_xapofx1_5:-no}
14986 enable_xaudio2_0=${enable_xaudio2_0:-no}
14987 enable_xaudio2_1=${enable_xaudio2_1:-no}
14988 enable_xaudio2_2=${enable_xaudio2_2:-no}
14989 enable_xaudio2_3=${enable_xaudio2_3:-no}
14990 enable_xaudio2_4=${enable_xaudio2_4:-no}
14991 enable_xaudio2_5=${enable_xaudio2_5:-no}
14992 enable_xaudio2_6=${enable_xaudio2_6:-no}
14993 enable_xaudio2_7=${enable_xaudio2_7:-no}
14994 enable_xaudio2_8=${enable_xaudio2_8:-no}
14995 enable_xaudio2_9=${enable_xaudio2_9:-no}
14998 if test "$ac_cv_header_kstat_h" = "yes"
14999 then
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15001 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15002 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15003 $as_echo_n "(cached) " >&6
15004 else
15005 ac_check_lib_save_LIBS=$LIBS
15006 LIBS="-lkstat $LIBS"
15007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15010 /* Override any GCC internal prototype to avoid an error.
15011 Use char because int might match the return type of a GCC
15012 builtin and then its argument prototype would still apply. */
15013 #ifdef __cplusplus
15014 extern "C"
15015 #endif
15016 char kstat_open ();
15018 main ()
15020 return kstat_open ();
15022 return 0;
15024 _ACEOF
15025 if ac_fn_c_try_link "$LINENO"; then :
15026 ac_cv_lib_kstat_kstat_open=yes
15027 else
15028 ac_cv_lib_kstat_kstat_open=no
15030 rm -f core conftest.err conftest.$ac_objext \
15031 conftest$ac_exeext conftest.$ac_ext
15032 LIBS=$ac_check_lib_save_LIBS
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15035 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15036 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15038 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15040 KSTAT_LIBS="-lkstat"
15046 if test "$ac_cv_header_libprocstat_h" = "yes"
15047 then
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15049 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15050 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15051 $as_echo_n "(cached) " >&6
15052 else
15053 ac_check_lib_save_LIBS=$LIBS
15054 LIBS="-lprocstat $LIBS"
15055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15058 /* Override any GCC internal prototype to avoid an error.
15059 Use char because int might match the return type of a GCC
15060 builtin and then its argument prototype would still apply. */
15061 #ifdef __cplusplus
15062 extern "C"
15063 #endif
15064 char procstat_open_sysctl ();
15066 main ()
15068 return procstat_open_sysctl ();
15070 return 0;
15072 _ACEOF
15073 if ac_fn_c_try_link "$LINENO"; then :
15074 ac_cv_lib_procstat_procstat_open_sysctl=yes
15075 else
15076 ac_cv_lib_procstat_procstat_open_sysctl=no
15078 rm -f core conftest.err conftest.$ac_objext \
15079 conftest$ac_exeext conftest.$ac_ext
15080 LIBS=$ac_check_lib_save_LIBS
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15083 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15084 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15086 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15088 PROCSTAT_LIBS="-lprocstat"
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15095 $as_echo_n "checking for -lodbc... " >&6; }
15096 if ${ac_cv_lib_soname_odbc+:} false; then :
15097 $as_echo_n "(cached) " >&6
15098 else
15099 ac_check_soname_save_LIBS=$LIBS
15100 LIBS="-lodbc $LIBS"
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15104 /* Override any GCC internal prototype to avoid an error.
15105 Use char because int might match the return type of a GCC
15106 builtin and then its argument prototype would still apply. */
15107 #ifdef __cplusplus
15108 extern "C"
15109 #endif
15110 char SQLConnect ();
15112 main ()
15114 return SQLConnect ();
15116 return 0;
15118 _ACEOF
15119 if ac_fn_c_try_link "$LINENO"; then :
15120 case "$LIBEXT" in
15121 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15122 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'` ;;
15123 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15124 if ${ac_cv_lib_soname_odbc:+false} :; then :
15125 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15126 fi ;;
15127 esac
15129 rm -f core conftest.err conftest.$ac_objext \
15130 conftest$ac_exeext conftest.$ac_ext
15131 LIBS=$ac_check_soname_save_LIBS
15133 if ${ac_cv_lib_soname_odbc:+false} :; then :
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15135 $as_echo "not found" >&6; }
15136 cat >>confdefs.h <<_ACEOF
15137 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15138 _ACEOF
15140 else
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15142 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15144 cat >>confdefs.h <<_ACEOF
15145 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15146 _ACEOF
15151 if test "x$with_netapi" != "xno"
15152 then
15153 if ${NETAPI_CFLAGS:+false} :; then :
15154 if ${PKG_CONFIG+:} false; then :
15155 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15159 if ${NETAPI_LIBS:+false} :; then :
15160 if ${PKG_CONFIG+:} false; then :
15161 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15166 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15167 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15168 ac_save_CPPFLAGS=$CPPFLAGS
15169 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15171 $as_echo_n "checking for -lnetapi... " >&6; }
15172 if ${ac_cv_lib_soname_netapi+:} false; then :
15173 $as_echo_n "(cached) " >&6
15174 else
15175 ac_check_soname_save_LIBS=$LIBS
15176 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15178 /* end confdefs.h. */
15180 /* Override any GCC internal prototype to avoid an error.
15181 Use char because int might match the return type of a GCC
15182 builtin and then its argument prototype would still apply. */
15183 #ifdef __cplusplus
15184 extern "C"
15185 #endif
15186 char libnetapi_init ();
15188 main ()
15190 return libnetapi_init ();
15192 return 0;
15194 _ACEOF
15195 if ac_fn_c_try_link "$LINENO"; then :
15196 case "$LIBEXT" in
15197 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15198 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'` ;;
15199 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15200 if ${ac_cv_lib_soname_netapi:+false} :; then :
15201 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15202 fi ;;
15203 esac
15205 rm -f core conftest.err conftest.$ac_objext \
15206 conftest$ac_exeext conftest.$ac_ext
15207 LIBS=$ac_check_soname_save_LIBS
15209 if ${ac_cv_lib_soname_netapi:+false} :; then :
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15211 $as_echo "not found" >&6; }
15212 cat >>confdefs.h <<_ACEOF
15213 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15214 _ACEOF
15216 else
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15218 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15220 cat >>confdefs.h <<_ACEOF
15221 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15222 _ACEOF
15226 CPPFLAGS=$ac_save_CPPFLAGS
15227 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15228 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15232 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15233 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15234 then
15235 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15238 if test "x$with_vulkan" != "xno"
15239 then
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15241 $as_echo_n "checking for -lvulkan... " >&6; }
15242 if ${ac_cv_lib_soname_vulkan+:} false; then :
15243 $as_echo_n "(cached) " >&6
15244 else
15245 ac_check_soname_save_LIBS=$LIBS
15246 LIBS="-lvulkan $LIBS"
15247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15250 /* Override any GCC internal prototype to avoid an error.
15251 Use char because int might match the return type of a GCC
15252 builtin and then its argument prototype would still apply. */
15253 #ifdef __cplusplus
15254 extern "C"
15255 #endif
15256 char vkGetInstanceProcAddr ();
15258 main ()
15260 return vkGetInstanceProcAddr ();
15262 return 0;
15264 _ACEOF
15265 if ac_fn_c_try_link "$LINENO"; then :
15266 case "$LIBEXT" in
15267 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15268 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'` ;;
15269 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15270 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15271 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15272 fi ;;
15273 esac
15275 rm -f core conftest.err conftest.$ac_objext \
15276 conftest$ac_exeext conftest.$ac_ext
15277 LIBS=$ac_check_soname_save_LIBS
15279 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15281 $as_echo "not found" >&6; }
15283 else
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15285 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15287 cat >>confdefs.h <<_ACEOF
15288 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15289 _ACEOF
15293 if test "x$ac_cv_lib_soname_vulkan" = "x"
15294 then
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15296 $as_echo_n "checking for -lMoltenVK... " >&6; }
15297 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300 ac_check_soname_save_LIBS=$LIBS
15301 LIBS="-lMoltenVK $LIBS"
15302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15305 /* Override any GCC internal prototype to avoid an error.
15306 Use char because int might match the return type of a GCC
15307 builtin and then its argument prototype would still apply. */
15308 #ifdef __cplusplus
15309 extern "C"
15310 #endif
15311 char vkGetInstanceProcAddr ();
15313 main ()
15315 return vkGetInstanceProcAddr ();
15317 return 0;
15319 _ACEOF
15320 if ac_fn_c_try_link "$LINENO"; then :
15321 case "$LIBEXT" in
15322 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15323 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'` ;;
15324 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15325 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15326 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15327 fi ;;
15328 esac
15330 rm -f core conftest.err conftest.$ac_objext \
15331 conftest$ac_exeext conftest.$ac_ext
15332 LIBS=$ac_check_soname_save_LIBS
15334 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15336 $as_echo "not found" >&6; }
15338 else
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15340 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15342 cat >>confdefs.h <<_ACEOF
15343 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15344 _ACEOF
15350 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15351 case "x$with_vulkan" in
15352 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15353 xno) ;;
15354 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15355 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15356 esac
15360 if test "x$with_vkd3d" != "xno"
15361 then
15362 if ${VKD3D_CFLAGS:+false} :; then :
15363 if ${PKG_CONFIG+:} false; then :
15364 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15368 if ${VKD3D_LIBS:+false} :; then :
15369 if ${PKG_CONFIG+:} false; then :
15370 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15375 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15376 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15377 ac_save_CPPFLAGS=$CPPFLAGS
15378 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15380 $as_echo_n "checking for -lvkd3d... " >&6; }
15381 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15382 $as_echo_n "(cached) " >&6
15383 else
15384 ac_check_soname_save_LIBS=$LIBS
15385 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15389 /* Override any GCC internal prototype to avoid an error.
15390 Use char because int might match the return type of a GCC
15391 builtin and then its argument prototype would still apply. */
15392 #ifdef __cplusplus
15393 extern "C"
15394 #endif
15395 char vkd3d_create_device ();
15397 main ()
15399 return vkd3d_create_device ();
15401 return 0;
15403 _ACEOF
15404 if ac_fn_c_try_link "$LINENO"; then :
15405 case "$LIBEXT" in
15406 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15407 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'` ;;
15408 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15409 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15410 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15411 fi ;;
15412 esac
15414 rm -f core conftest.err conftest.$ac_objext \
15415 conftest$ac_exeext conftest.$ac_ext
15416 LIBS=$ac_check_soname_save_LIBS
15418 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15420 $as_echo "not found" >&6; }
15422 else
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15424 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15426 cat >>confdefs.h <<_ACEOF
15427 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15428 _ACEOF
15432 CPPFLAGS=$ac_save_CPPFLAGS
15433 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15434 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15437 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15438 case "x$with_vkd3d" in
15439 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15440 xno) ;;
15441 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15442 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15443 esac
15446 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15449 EXTRACFLAGS=""
15451 if test "x${GCC}" = "xyes"
15452 then
15453 EXTRACFLAGS="-Wall -pipe"
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15456 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15457 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15458 $as_echo_n "(cached) " >&6
15459 else
15460 if test "$cross_compiling" = yes; then :
15461 ac_cv_c_gcc_strength_bug="no"
15462 else
15463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15464 /* end confdefs.h. */
15465 int L[4] = {0,1,2,3};
15467 main ()
15469 static int Array[3];
15470 unsigned int B = 3;
15471 int i;
15472 for(i=0; i<B; i++) Array[i] = i - 3;
15473 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15474 L[i] = 4;
15475 return (Array[1] != -2 || L[2] != 3)
15477 return 0;
15479 _ACEOF
15480 if ac_fn_c_try_run "$LINENO"; then :
15481 ac_cv_c_gcc_strength_bug="no"
15482 else
15483 ac_cv_c_gcc_strength_bug="yes"
15485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15486 conftest.$ac_objext conftest.beam conftest.$ac_ext
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15491 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15492 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15493 then
15494 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15498 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15499 if ${ac_cv_cflags__fno_builtin+:} false; then :
15500 $as_echo_n "(cached) " >&6
15501 else
15502 ac_wine_try_cflags_saved=$CFLAGS
15503 CFLAGS="$CFLAGS -fno-builtin"
15504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15505 /* end confdefs.h. */
15506 int main(int argc, char **argv) { return 0; }
15507 _ACEOF
15508 if ac_fn_c_try_link "$LINENO"; then :
15509 ac_cv_cflags__fno_builtin=yes
15510 else
15511 ac_cv_cflags__fno_builtin=no
15513 rm -f core conftest.err conftest.$ac_objext \
15514 conftest$ac_exeext conftest.$ac_ext
15515 CFLAGS=$ac_wine_try_cflags_saved
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15518 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15519 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15520 BUILTINFLAG="-fno-builtin"
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15524 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15525 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15526 $as_echo_n "(cached) " >&6
15527 else
15528 ac_wine_try_cflags_saved=$CFLAGS
15529 CFLAGS="$CFLAGS -fno-strict-aliasing"
15530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15531 /* end confdefs.h. */
15532 int main(int argc, char **argv) { return 0; }
15533 _ACEOF
15534 if ac_fn_c_try_link "$LINENO"; then :
15535 ac_cv_cflags__fno_strict_aliasing=yes
15536 else
15537 ac_cv_cflags__fno_strict_aliasing=no
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15541 CFLAGS=$ac_wine_try_cflags_saved
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15544 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15545 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15546 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15549 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15550 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15551 $as_echo_n "(cached) " >&6
15552 else
15553 ac_wine_try_cflags_saved=$CFLAGS
15554 CFLAGS="$CFLAGS -fexcess-precision=standard"
15555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15557 int main(int argc, char **argv) { return 0; }
15558 _ACEOF
15559 if ac_fn_c_try_link "$LINENO"; then :
15560 ac_cv_cflags__fexcess_precision_standard=yes
15561 else
15562 ac_cv_cflags__fexcess_precision_standard=no
15564 rm -f core conftest.err conftest.$ac_objext \
15565 conftest$ac_exeext conftest.$ac_ext
15566 CFLAGS=$ac_wine_try_cflags_saved
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15569 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15570 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15571 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15574 saved_CFLAGS=$CFLAGS
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15576 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15577 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15578 $as_echo_n "(cached) " >&6
15579 else
15580 ac_wine_try_cflags_saved=$CFLAGS
15581 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15583 /* end confdefs.h. */
15584 int main(int argc, char **argv) { return 0; }
15585 _ACEOF
15586 if ac_fn_c_try_link "$LINENO"; then :
15587 ac_cv_cflags__Werror_unknown_warning_option=yes
15588 else
15589 ac_cv_cflags__Werror_unknown_warning_option=no
15591 rm -f core conftest.err conftest.$ac_objext \
15592 conftest$ac_exeext conftest.$ac_ext
15593 CFLAGS=$ac_wine_try_cflags_saved
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15596 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15597 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15598 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15601 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15602 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15603 $as_echo_n "(cached) " >&6
15604 else
15605 ac_wine_try_cflags_saved=$CFLAGS
15606 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15608 /* end confdefs.h. */
15609 int main(int argc, char **argv) { return 0; }
15610 _ACEOF
15611 if ac_fn_c_try_link "$LINENO"; then :
15612 ac_cv_cflags__Wdeclaration_after_statement=yes
15613 else
15614 ac_cv_cflags__Wdeclaration_after_statement=no
15616 rm -f core conftest.err conftest.$ac_objext \
15617 conftest$ac_exeext conftest.$ac_ext
15618 CFLAGS=$ac_wine_try_cflags_saved
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15621 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15622 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15623 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15626 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15627 if ${ac_cv_cflags__Wempty_body+:} false; then :
15628 $as_echo_n "(cached) " >&6
15629 else
15630 ac_wine_try_cflags_saved=$CFLAGS
15631 CFLAGS="$CFLAGS -Wempty-body"
15632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15633 /* end confdefs.h. */
15634 int main(int argc, char **argv) { return 0; }
15635 _ACEOF
15636 if ac_fn_c_try_link "$LINENO"; then :
15637 ac_cv_cflags__Wempty_body=yes
15638 else
15639 ac_cv_cflags__Wempty_body=no
15641 rm -f core conftest.err conftest.$ac_objext \
15642 conftest$ac_exeext conftest.$ac_ext
15643 CFLAGS=$ac_wine_try_cflags_saved
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15646 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15647 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15648 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15651 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15652 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15653 $as_echo_n "(cached) " >&6
15654 else
15655 ac_wine_try_cflags_saved=$CFLAGS
15656 CFLAGS="$CFLAGS -Wignored-qualifiers"
15657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15659 int main(int argc, char **argv) { return 0; }
15660 _ACEOF
15661 if ac_fn_c_try_link "$LINENO"; then :
15662 ac_cv_cflags__Wignored_qualifiers=yes
15663 else
15664 ac_cv_cflags__Wignored_qualifiers=no
15666 rm -f core conftest.err conftest.$ac_objext \
15667 conftest$ac_exeext conftest.$ac_ext
15668 CFLAGS=$ac_wine_try_cflags_saved
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15671 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15672 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15673 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15676 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15677 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15678 $as_echo_n "(cached) " >&6
15679 else
15680 ac_wine_try_cflags_saved=$CFLAGS
15681 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15684 int main(int argc, char **argv) { return 0; }
15685 _ACEOF
15686 if ac_fn_c_try_link "$LINENO"; then :
15687 ac_cv_cflags__Wpacked_not_aligned=yes
15688 else
15689 ac_cv_cflags__Wpacked_not_aligned=no
15691 rm -f core conftest.err conftest.$ac_objext \
15692 conftest$ac_exeext conftest.$ac_ext
15693 CFLAGS=$ac_wine_try_cflags_saved
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15696 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15697 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15698 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15701 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15702 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15703 $as_echo_n "(cached) " >&6
15704 else
15705 ac_wine_try_cflags_saved=$CFLAGS
15706 CFLAGS="$CFLAGS -Wpragma-pack"
15707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15708 /* end confdefs.h. */
15709 int main(int argc, char **argv) { return 0; }
15710 _ACEOF
15711 if ac_fn_c_try_link "$LINENO"; then :
15712 ac_cv_cflags__Wpragma_pack=yes
15713 else
15714 ac_cv_cflags__Wpragma_pack=no
15716 rm -f core conftest.err conftest.$ac_objext \
15717 conftest$ac_exeext conftest.$ac_ext
15718 CFLAGS=$ac_wine_try_cflags_saved
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15721 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15722 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15723 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15726 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15727 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15728 $as_echo_n "(cached) " >&6
15729 else
15730 ac_wine_try_cflags_saved=$CFLAGS
15731 CFLAGS="$CFLAGS -Wshift-overflow=2"
15732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15733 /* end confdefs.h. */
15734 int main(int argc, char **argv) { return 0; }
15735 _ACEOF
15736 if ac_fn_c_try_link "$LINENO"; then :
15737 ac_cv_cflags__Wshift_overflow_2=yes
15738 else
15739 ac_cv_cflags__Wshift_overflow_2=no
15741 rm -f core conftest.err conftest.$ac_objext \
15742 conftest$ac_exeext conftest.$ac_ext
15743 CFLAGS=$ac_wine_try_cflags_saved
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15746 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15747 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15748 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15751 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15752 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15753 $as_echo_n "(cached) " >&6
15754 else
15755 ac_wine_try_cflags_saved=$CFLAGS
15756 CFLAGS="$CFLAGS -Wstrict-prototypes"
15757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h. */
15759 int main(int argc, char **argv) { return 0; }
15760 _ACEOF
15761 if ac_fn_c_try_link "$LINENO"; then :
15762 ac_cv_cflags__Wstrict_prototypes=yes
15763 else
15764 ac_cv_cflags__Wstrict_prototypes=no
15766 rm -f core conftest.err conftest.$ac_objext \
15767 conftest$ac_exeext conftest.$ac_ext
15768 CFLAGS=$ac_wine_try_cflags_saved
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15771 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15772 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15773 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15776 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15777 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15778 $as_echo_n "(cached) " >&6
15779 else
15780 ac_wine_try_cflags_saved=$CFLAGS
15781 CFLAGS="$CFLAGS -Wtype-limits"
15782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15783 /* end confdefs.h. */
15784 int main(int argc, char **argv) { return 0; }
15785 _ACEOF
15786 if ac_fn_c_try_link "$LINENO"; then :
15787 ac_cv_cflags__Wtype_limits=yes
15788 else
15789 ac_cv_cflags__Wtype_limits=no
15791 rm -f core conftest.err conftest.$ac_objext \
15792 conftest$ac_exeext conftest.$ac_ext
15793 CFLAGS=$ac_wine_try_cflags_saved
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15796 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15797 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15798 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15801 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15802 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15803 $as_echo_n "(cached) " >&6
15804 else
15805 ac_wine_try_cflags_saved=$CFLAGS
15806 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15809 int main(int argc, char **argv) { return 0; }
15810 _ACEOF
15811 if ac_fn_c_try_link "$LINENO"; then :
15812 ac_cv_cflags__Wunused_but_set_parameter=yes
15813 else
15814 ac_cv_cflags__Wunused_but_set_parameter=no
15816 rm -f core conftest.err conftest.$ac_objext \
15817 conftest$ac_exeext conftest.$ac_ext
15818 CFLAGS=$ac_wine_try_cflags_saved
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15821 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15822 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15823 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15826 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15827 if ${ac_cv_cflags__Wvla+:} false; then :
15828 $as_echo_n "(cached) " >&6
15829 else
15830 ac_wine_try_cflags_saved=$CFLAGS
15831 CFLAGS="$CFLAGS -Wvla"
15832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15833 /* end confdefs.h. */
15834 int main(int argc, char **argv) { return 0; }
15835 _ACEOF
15836 if ac_fn_c_try_link "$LINENO"; then :
15837 ac_cv_cflags__Wvla=yes
15838 else
15839 ac_cv_cflags__Wvla=no
15841 rm -f core conftest.err conftest.$ac_objext \
15842 conftest$ac_exeext conftest.$ac_ext
15843 CFLAGS=$ac_wine_try_cflags_saved
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15846 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15847 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15848 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15851 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15852 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15853 $as_echo_n "(cached) " >&6
15854 else
15855 ac_wine_try_cflags_saved=$CFLAGS
15856 CFLAGS="$CFLAGS -Wwrite-strings"
15857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15858 /* end confdefs.h. */
15859 int main(int argc, char **argv) { return 0; }
15860 _ACEOF
15861 if ac_fn_c_try_link "$LINENO"; then :
15862 ac_cv_cflags__Wwrite_strings=yes
15863 else
15864 ac_cv_cflags__Wwrite_strings=no
15866 rm -f core conftest.err conftest.$ac_objext \
15867 conftest$ac_exeext conftest.$ac_ext
15868 CFLAGS=$ac_wine_try_cflags_saved
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15871 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15872 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15873 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15877 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15878 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15879 $as_echo_n "(cached) " >&6
15880 else
15881 ac_wine_try_cflags_saved=$CFLAGS
15882 CFLAGS="$CFLAGS -Wpointer-arith"
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15885 int main(int argc, char **argv) { return 0; }
15886 _ACEOF
15887 if ac_fn_c_try_link "$LINENO"; then :
15888 ac_cv_cflags__Wpointer_arith=yes
15889 else
15890 ac_cv_cflags__Wpointer_arith=no
15892 rm -f core conftest.err conftest.$ac_objext \
15893 conftest$ac_exeext conftest.$ac_ext
15894 CFLAGS=$ac_wine_try_cflags_saved
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15897 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15898 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15899 saved_string_h_CFLAGS=$CFLAGS
15900 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15902 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15903 if ${ac_cv_c_string_h_warnings+:} false; then :
15904 $as_echo_n "(cached) " >&6
15905 else
15906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15908 #include <string.h>
15910 main ()
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_compile "$LINENO"; then :
15918 ac_cv_c_string_h_warnings=no
15919 else
15920 ac_cv_c_string_h_warnings=yes
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15925 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15926 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15927 CFLAGS=$saved_string_h_CFLAGS
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15931 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15932 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15933 $as_echo_n "(cached) " >&6
15934 else
15935 ac_wine_try_cflags_saved=$CFLAGS
15936 CFLAGS="$CFLAGS -Wlogical-op"
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15939 int main(int argc, char **argv) { return 0; }
15940 _ACEOF
15941 if ac_fn_c_try_link "$LINENO"; then :
15942 ac_cv_cflags__Wlogical_op=yes
15943 else
15944 ac_cv_cflags__Wlogical_op=no
15946 rm -f core conftest.err conftest.$ac_objext \
15947 conftest$ac_exeext conftest.$ac_ext
15948 CFLAGS=$ac_wine_try_cflags_saved
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15951 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15952 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15953 saved_string_h_CFLAGS=$CFLAGS
15954 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15956 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15957 if ${ac_cv_c_logicalop_noisy+:} false; then :
15958 $as_echo_n "(cached) " >&6
15959 else
15960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15961 /* end confdefs.h. */
15962 #include <string.h>
15963 char*f(const char *h,char n) {return strchr(h,n);}
15965 main ()
15969 return 0;
15971 _ACEOF
15972 if ac_fn_c_try_compile "$LINENO"; then :
15973 ac_cv_c_logicalop_noisy=no
15974 else
15975 ac_cv_c_logicalop_noisy=yes
15977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15980 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15981 CFLAGS=$saved_string_h_CFLAGS
15982 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15985 CFLAGS=$saved_CFLAGS
15987 for ac_flag in $CFLAGS; do
15988 case $ac_flag in
15989 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15990 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15991 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15992 $as_echo_n "(cached) " >&6
15993 else
15994 ac_wine_try_cflags_saved=$CFLAGS
15995 CFLAGS="$CFLAGS -gdwarf-2"
15996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15997 /* end confdefs.h. */
15998 int main(int argc, char **argv) { return 0; }
15999 _ACEOF
16000 if ac_fn_c_try_link "$LINENO"; then :
16001 ac_cv_cflags__gdwarf_2=yes
16002 else
16003 ac_cv_cflags__gdwarf_2=no
16005 rm -f core conftest.err conftest.$ac_objext \
16006 conftest$ac_exeext conftest.$ac_ext
16007 CFLAGS=$ac_wine_try_cflags_saved
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16010 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16011 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16012 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16015 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16016 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16017 $as_echo_n "(cached) " >&6
16018 else
16019 ac_wine_try_cflags_saved=$CFLAGS
16020 CFLAGS="$CFLAGS -gstrict-dwarf"
16021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16022 /* end confdefs.h. */
16023 int main(int argc, char **argv) { return 0; }
16024 _ACEOF
16025 if ac_fn_c_try_link "$LINENO"; then :
16026 ac_cv_cflags__gstrict_dwarf=yes
16027 else
16028 ac_cv_cflags__gstrict_dwarf=no
16030 rm -f core conftest.err conftest.$ac_objext \
16031 conftest$ac_exeext conftest.$ac_ext
16032 CFLAGS=$ac_wine_try_cflags_saved
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16035 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16036 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16037 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16038 fi ;;
16039 esac
16040 done
16042 case $host_cpu in
16043 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16044 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16045 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16046 $as_echo_n "(cached) " >&6
16047 else
16048 ac_wine_try_cflags_saved=$CFLAGS
16049 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16051 /* end confdefs.h. */
16052 int main(int argc, char **argv) { return 0; }
16053 _ACEOF
16054 if ac_fn_c_try_link "$LINENO"; then :
16055 ac_cv_cflags__fno_omit_frame_pointer=yes
16056 else
16057 ac_cv_cflags__fno_omit_frame_pointer=no
16059 rm -f core conftest.err conftest.$ac_objext \
16060 conftest$ac_exeext conftest.$ac_ext
16061 CFLAGS=$ac_wine_try_cflags_saved
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16064 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16065 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16066 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16067 fi ;;
16068 esac
16070 case $host in
16071 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16072 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16073 if ${ac_cv_cflags__Wno_format+:} false; then :
16074 $as_echo_n "(cached) " >&6
16075 else
16076 ac_wine_try_cflags_saved=$CFLAGS
16077 CFLAGS="$CFLAGS -Wno-format"
16078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16079 /* end confdefs.h. */
16080 int main(int argc, char **argv) { return 0; }
16081 _ACEOF
16082 if ac_fn_c_try_link "$LINENO"; then :
16083 ac_cv_cflags__Wno_format=yes
16084 else
16085 ac_cv_cflags__Wno_format=no
16087 rm -f core conftest.err conftest.$ac_objext \
16088 conftest$ac_exeext conftest.$ac_ext
16089 CFLAGS=$ac_wine_try_cflags_saved
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16092 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16093 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16094 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16095 fi ;;
16096 esac
16098 if test "x$enable_maintainer_mode" = "xyes"
16099 then
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16101 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16102 if ${ac_cv_cflags__Werror+:} false; then :
16103 $as_echo_n "(cached) " >&6
16104 else
16105 ac_wine_try_cflags_saved=$CFLAGS
16106 CFLAGS="$CFLAGS -Werror"
16107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16108 /* end confdefs.h. */
16109 int main(int argc, char **argv) { return 0; }
16110 _ACEOF
16111 if ac_fn_c_try_link "$LINENO"; then :
16112 ac_cv_cflags__Werror=yes
16113 else
16114 ac_cv_cflags__Werror=no
16116 rm -f core conftest.err conftest.$ac_objext \
16117 conftest$ac_exeext conftest.$ac_ext
16118 CFLAGS=$ac_wine_try_cflags_saved
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16121 $as_echo "$ac_cv_cflags__Werror" >&6; }
16122 if test "x$ac_cv_cflags__Werror" = xyes; then :
16123 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16127 saved_CFLAGS="$CFLAGS"
16128 CFLAGS="$CFLAGS -Werror"
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16130 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16131 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16132 $as_echo_n "(cached) " >&6
16133 else
16134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16135 /* end confdefs.h. */
16136 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16138 main ()
16142 return 0;
16144 _ACEOF
16145 if ac_fn_c_try_compile "$LINENO"; then :
16146 ac_cv_have_ms_hook_prologue="yes"
16147 else
16148 ac_cv_have_ms_hook_prologue="no"
16150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16153 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16154 CFLAGS="$saved_CFLAGS"
16155 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16156 then
16158 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16160 else
16161 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16168 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16169 if ${ac_cv_c_fortify_enabled+:} false; then :
16170 $as_echo_n "(cached) " >&6
16171 else
16172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16173 /* end confdefs.h. */
16174 #include <string.h>
16176 main ()
16178 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16179 #error Fortify enabled
16180 #endif
16182 return 0;
16184 _ACEOF
16185 if ac_fn_c_try_compile "$LINENO"; then :
16186 ac_cv_c_fortify_enabled=no
16187 else
16188 ac_cv_c_fortify_enabled=yes
16190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16193 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16194 if test "$ac_cv_c_fortify_enabled" = yes
16195 then
16196 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16201 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16202 if ${ac_cv_c_extern_prefix+:} false; then :
16203 $as_echo_n "(cached) " >&6
16204 else
16205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16206 /* end confdefs.h. */
16207 extern int ac_test;
16209 main ()
16211 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16213 return 0;
16215 _ACEOF
16216 if ac_fn_c_try_link "$LINENO"; then :
16217 ac_cv_c_extern_prefix="yes"
16218 else
16219 ac_cv_c_extern_prefix="no"
16221 rm -f core conftest.err conftest.$ac_objext \
16222 conftest$ac_exeext conftest.$ac_ext
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16225 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16227 case $host_cpu in
16228 *i[3456789]86*)
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16230 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16231 if ${ac_cv_c_stdcall_suffix+:} false; then :
16232 $as_echo_n "(cached) " >&6
16233 else
16234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16236 #ifndef _MSC_VER
16237 #define __stdcall __attribute__((__stdcall__))
16238 #endif
16239 int __stdcall ac_test(int i) { return i; }
16241 main ()
16243 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16245 return 0;
16247 _ACEOF
16248 if ac_fn_c_try_link "$LINENO"; then :
16249 ac_cv_c_stdcall_suffix="yes"
16250 else
16251 ac_cv_c_stdcall_suffix="no"
16253 rm -f core conftest.err conftest.$ac_objext \
16254 conftest$ac_exeext conftest.$ac_ext
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16257 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16258 *) ac_cv_c_stdcall_suffix="no" ;;
16259 esac
16262 if test "$ac_cv_c_extern_prefix" = "yes"
16263 then
16264 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16266 asm_name_prefix="_"
16267 else
16268 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16270 asm_name_prefix=""
16274 if test "$ac_cv_c_stdcall_suffix" = "yes"
16275 then
16276 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16278 else
16279 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16285 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16286 if ${ac_cv_asm_func_def+:} false; then :
16287 $as_echo_n "(cached) " >&6
16288 else
16289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16293 main ()
16295 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16297 return 0;
16299 _ACEOF
16300 if ac_fn_c_try_link "$LINENO"; then :
16301 ac_cv_asm_func_def=".def"
16302 else
16303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16304 /* end confdefs.h. */
16307 main ()
16309 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16311 return 0;
16313 _ACEOF
16314 if ac_fn_c_try_link "$LINENO"; then :
16315 ac_cv_asm_func_def=".type @function"
16316 else
16317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16318 /* end confdefs.h. */
16321 main ()
16323 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16325 return 0;
16327 _ACEOF
16328 if ac_fn_c_try_link "$LINENO"; then :
16329 ac_cv_asm_func_def=".type 2"
16330 else
16331 ac_cv_asm_func_def="unknown"
16333 rm -f core conftest.err conftest.$ac_objext \
16334 conftest$ac_exeext conftest.$ac_ext
16336 rm -f core conftest.err conftest.$ac_objext \
16337 conftest$ac_exeext conftest.$ac_ext
16339 rm -f core conftest.err conftest.$ac_objext \
16340 conftest$ac_exeext conftest.$ac_ext
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16343 $as_echo "$ac_cv_asm_func_def" >&6; }
16346 case "$ac_cv_asm_func_def" in
16347 ".def")
16348 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16350 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16351 ".type @function")
16352 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16354 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16355 ".type 2")
16356 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16358 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16360 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16362 asm_func_header="" ;;
16363 esac
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16366 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16367 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16368 $as_echo_n "(cached) " >&6
16369 else
16370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16372 asm(".text\n\t.long 0");
16374 main ()
16378 return 0;
16380 _ACEOF
16381 if ac_fn_c_try_compile "$LINENO"; then :
16382 ac_cv_c_asm_outside_funcs="yes"
16383 else
16384 ac_cv_c_asm_outside_funcs="no"
16386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16389 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16392 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16393 if ${ac_cv_c_dot_previous+:} false; then :
16394 $as_echo_n "(cached) " >&6
16395 else
16396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16397 /* end confdefs.h. */
16400 main ()
16402 asm(".text\nac_test:\t.long 0\n\t.previous");
16404 return 0;
16406 _ACEOF
16407 if ac_fn_c_try_link "$LINENO"; then :
16408 ac_cv_c_dot_previous="yes"
16409 else
16410 ac_cv_c_dot_previous="no"
16412 rm -f core conftest.err conftest.$ac_objext \
16413 conftest$ac_exeext conftest.$ac_ext
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16416 $as_echo "$ac_cv_c_dot_previous" >&6; }
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16419 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16420 if ${ac_cv_c_cfi_support+:} false; then :
16421 $as_echo_n "(cached) " >&6
16422 else
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16425 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16427 main ()
16431 return 0;
16433 _ACEOF
16434 if ac_fn_c_try_compile "$LINENO"; then :
16435 ac_cv_c_cfi_support="yes"
16436 else
16437 ac_cv_c_cfi_support="no"
16439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16442 $as_echo "$ac_cv_c_cfi_support" >&6; }
16444 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16445 asm_func_trailer=""
16446 if test "$ac_cv_c_dot_previous" = "yes"
16447 then
16448 asm_func_trailer="\\n\\t.previous"
16450 if test "$ac_cv_c_cfi_support" = "yes"
16451 then
16452 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16453 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16455 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16457 UNWINDFLAGS=-fasynchronous-unwind-tables
16459 else
16460 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16462 if test "x$enable_win64" = "xyes"
16463 then
16464 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16468 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16471 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16472 then
16473 cat >>confdefs.h <<_ACEOF
16474 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16475 _ACEOF
16477 else
16478 cat >>confdefs.h <<_ACEOF
16479 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16480 _ACEOF
16484 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16487 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16491 case $build_os in
16492 cygwin*|mingw32*) TOOLSEXT=".exe"
16494 esac
16496 case $host_os in
16497 linux*)
16498 case $host_cpu in
16499 *i[3456789]86*|x86_64*|*aarch64*)
16500 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16501 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16503 esac
16505 esac
16508 ac_save_CFLAGS="$CFLAGS"
16509 CFLAGS="$CFLAGS $BUILTINFLAG"
16510 for ac_func in \
16511 __res_get_state \
16512 __res_getservers \
16513 _finite \
16514 _isnan \
16515 _pclose \
16516 _popen \
16517 _snprintf \
16518 _spawnvp \
16519 _strdup \
16520 _stricmp \
16521 _strnicmp \
16522 _strtoi64 \
16523 _strtoui64 \
16524 _vsnprintf \
16525 asctime_r \
16526 chsize \
16527 dlopen \
16528 epoll_create \
16529 ffs \
16530 finitef \
16531 fnmatch \
16532 fork \
16533 fpclass \
16534 fstatfs \
16535 fstatvfs \
16536 ftruncate \
16537 futimens \
16538 futimes \
16539 futimesat \
16540 getattrlist \
16541 getauxval \
16542 getifaddrs \
16543 getopt_long_only \
16544 getpwuid \
16545 gettimeofday \
16546 getuid \
16547 kqueue \
16548 lstat \
16549 memmove \
16550 mmap \
16551 pclose \
16552 pipe2 \
16553 poll \
16554 popen \
16555 port_create \
16556 prctl \
16557 pread \
16558 proc_pidinfo \
16559 pwrite \
16560 readdir \
16561 readlink \
16562 sched_yield \
16563 select \
16564 setproctitle \
16565 setprogname \
16566 setrlimit \
16567 settimeofday \
16568 sigaltstack \
16569 sigprocmask \
16570 snprintf \
16571 statfs \
16572 statvfs \
16573 strcasecmp \
16574 strdup \
16575 strerror \
16576 strncasecmp \
16577 strnlen \
16578 strtold \
16579 strtoll \
16580 strtoull \
16581 symlink \
16582 sysinfo \
16583 tcdrain \
16584 thr_kill2 \
16585 timegm \
16586 usleep \
16587 vsnprintf
16589 do :
16590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16592 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16593 cat >>confdefs.h <<_ACEOF
16594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16595 _ACEOF
16598 done
16600 CFLAGS="$ac_save_CFLAGS"
16602 if test "$ac_cv_func_dlopen" = no
16603 then
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16605 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16606 if ${ac_cv_lib_dl_dlopen+:} false; then :
16607 $as_echo_n "(cached) " >&6
16608 else
16609 ac_check_lib_save_LIBS=$LIBS
16610 LIBS="-ldl $LIBS"
16611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16612 /* end confdefs.h. */
16614 /* Override any GCC internal prototype to avoid an error.
16615 Use char because int might match the return type of a GCC
16616 builtin and then its argument prototype would still apply. */
16617 #ifdef __cplusplus
16618 extern "C"
16619 #endif
16620 char dlopen ();
16622 main ()
16624 return dlopen ();
16626 return 0;
16628 _ACEOF
16629 if ac_fn_c_try_link "$LINENO"; then :
16630 ac_cv_lib_dl_dlopen=yes
16631 else
16632 ac_cv_lib_dl_dlopen=no
16634 rm -f core conftest.err conftest.$ac_objext \
16635 conftest$ac_exeext conftest.$ac_ext
16636 LIBS=$ac_check_lib_save_LIBS
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16639 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16640 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16641 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16642 DL_LIBS="-ldl"
16647 ac_wine_check_funcs_save_LIBS="$LIBS"
16648 LIBS="$LIBS $DL_LIBS"
16649 for ac_func in dladdr
16650 do :
16651 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16652 if test "x$ac_cv_func_dladdr" = xyes; then :
16653 cat >>confdefs.h <<_ACEOF
16654 #define HAVE_DLADDR 1
16655 _ACEOF
16658 done
16660 LIBS="$ac_wine_check_funcs_save_LIBS"
16662 if test "$ac_cv_func_poll" = no
16663 then
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16665 $as_echo_n "checking for poll in -lpoll... " >&6; }
16666 if ${ac_cv_lib_poll_poll+:} false; then :
16667 $as_echo_n "(cached) " >&6
16668 else
16669 ac_check_lib_save_LIBS=$LIBS
16670 LIBS="-lpoll $LIBS"
16671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h. */
16674 /* Override any GCC internal prototype to avoid an error.
16675 Use char because int might match the return type of a GCC
16676 builtin and then its argument prototype would still apply. */
16677 #ifdef __cplusplus
16678 extern "C"
16679 #endif
16680 char poll ();
16682 main ()
16684 return poll ();
16686 return 0;
16688 _ACEOF
16689 if ac_fn_c_try_link "$LINENO"; then :
16690 ac_cv_lib_poll_poll=yes
16691 else
16692 ac_cv_lib_poll_poll=no
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16696 LIBS=$ac_check_lib_save_LIBS
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16699 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16700 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16701 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16702 POLL_LIBS="-lpoll"
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16709 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16710 if ${ac_cv_search_gethostbyname+:} false; then :
16711 $as_echo_n "(cached) " >&6
16712 else
16713 ac_func_search_save_LIBS=$LIBS
16714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16717 /* Override any GCC internal prototype to avoid an error.
16718 Use char because int might match the return type of a GCC
16719 builtin and then its argument prototype would still apply. */
16720 #ifdef __cplusplus
16721 extern "C"
16722 #endif
16723 char gethostbyname ();
16725 main ()
16727 return gethostbyname ();
16729 return 0;
16731 _ACEOF
16732 for ac_lib in '' nsl; do
16733 if test -z "$ac_lib"; then
16734 ac_res="none required"
16735 else
16736 ac_res=-l$ac_lib
16737 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16739 if ac_fn_c_try_link "$LINENO"; then :
16740 ac_cv_search_gethostbyname=$ac_res
16742 rm -f core conftest.err conftest.$ac_objext \
16743 conftest$ac_exeext
16744 if ${ac_cv_search_gethostbyname+:} false; then :
16745 break
16747 done
16748 if ${ac_cv_search_gethostbyname+:} false; then :
16750 else
16751 ac_cv_search_gethostbyname=no
16753 rm conftest.$ac_ext
16754 LIBS=$ac_func_search_save_LIBS
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16757 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16758 ac_res=$ac_cv_search_gethostbyname
16759 if test "$ac_res" != no; then :
16760 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16766 $as_echo_n "checking for library containing connect... " >&6; }
16767 if ${ac_cv_search_connect+:} false; then :
16768 $as_echo_n "(cached) " >&6
16769 else
16770 ac_func_search_save_LIBS=$LIBS
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16774 /* Override any GCC internal prototype to avoid an error.
16775 Use char because int might match the return type of a GCC
16776 builtin and then its argument prototype would still apply. */
16777 #ifdef __cplusplus
16778 extern "C"
16779 #endif
16780 char connect ();
16782 main ()
16784 return connect ();
16786 return 0;
16788 _ACEOF
16789 for ac_lib in '' socket; do
16790 if test -z "$ac_lib"; then
16791 ac_res="none required"
16792 else
16793 ac_res=-l$ac_lib
16794 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16796 if ac_fn_c_try_link "$LINENO"; then :
16797 ac_cv_search_connect=$ac_res
16799 rm -f core conftest.err conftest.$ac_objext \
16800 conftest$ac_exeext
16801 if ${ac_cv_search_connect+:} false; then :
16802 break
16804 done
16805 if ${ac_cv_search_connect+:} false; then :
16807 else
16808 ac_cv_search_connect=no
16810 rm conftest.$ac_ext
16811 LIBS=$ac_func_search_save_LIBS
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16814 $as_echo "$ac_cv_search_connect" >&6; }
16815 ac_res=$ac_cv_search_connect
16816 if test "$ac_res" != no; then :
16817 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16823 $as_echo_n "checking for library containing inet_aton... " >&6; }
16824 if ${ac_cv_search_inet_aton+:} false; then :
16825 $as_echo_n "(cached) " >&6
16826 else
16827 ac_func_search_save_LIBS=$LIBS
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16831 /* Override any GCC internal prototype to avoid an error.
16832 Use char because int might match the return type of a GCC
16833 builtin and then its argument prototype would still apply. */
16834 #ifdef __cplusplus
16835 extern "C"
16836 #endif
16837 char inet_aton ();
16839 main ()
16841 return inet_aton ();
16843 return 0;
16845 _ACEOF
16846 for ac_lib in '' resolv; do
16847 if test -z "$ac_lib"; then
16848 ac_res="none required"
16849 else
16850 ac_res=-l$ac_lib
16851 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16853 if ac_fn_c_try_link "$LINENO"; then :
16854 ac_cv_search_inet_aton=$ac_res
16856 rm -f core conftest.err conftest.$ac_objext \
16857 conftest$ac_exeext
16858 if ${ac_cv_search_inet_aton+:} false; then :
16859 break
16861 done
16862 if ${ac_cv_search_inet_aton+:} false; then :
16864 else
16865 ac_cv_search_inet_aton=no
16867 rm conftest.$ac_ext
16868 LIBS=$ac_func_search_save_LIBS
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16871 $as_echo "$ac_cv_search_inet_aton" >&6; }
16872 ac_res=$ac_cv_search_inet_aton
16873 if test "$ac_res" != no; then :
16874 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16879 for ac_func in \
16880 getaddrinfo \
16881 getnameinfo \
16882 getnetbyname \
16883 getprotobyname \
16884 getprotobynumber \
16885 getservbyport \
16886 inet_addr \
16887 inet_network \
16888 inet_ntop \
16889 inet_pton \
16890 sendmsg \
16891 socketpair \
16893 do :
16894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16896 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16897 cat >>confdefs.h <<_ACEOF
16898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16899 _ACEOF
16902 done
16905 ac_save_LIBS=$LIBS
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16907 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16908 if ${ac_cv_search_clock_gettime+:} false; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16911 ac_func_search_save_LIBS=$LIBS
16912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16913 /* end confdefs.h. */
16915 /* Override any GCC internal prototype to avoid an error.
16916 Use char because int might match the return type of a GCC
16917 builtin and then its argument prototype would still apply. */
16918 #ifdef __cplusplus
16919 extern "C"
16920 #endif
16921 char clock_gettime ();
16923 main ()
16925 return clock_gettime ();
16927 return 0;
16929 _ACEOF
16930 for ac_lib in '' rt; do
16931 if test -z "$ac_lib"; then
16932 ac_res="none required"
16933 else
16934 ac_res=-l$ac_lib
16935 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16937 if ac_fn_c_try_link "$LINENO"; then :
16938 ac_cv_search_clock_gettime=$ac_res
16940 rm -f core conftest.err conftest.$ac_objext \
16941 conftest$ac_exeext
16942 if ${ac_cv_search_clock_gettime+:} false; then :
16943 break
16945 done
16946 if ${ac_cv_search_clock_gettime+:} false; then :
16948 else
16949 ac_cv_search_clock_gettime=no
16951 rm conftest.$ac_ext
16952 LIBS=$ac_func_search_save_LIBS
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16955 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16956 ac_res=$ac_cv_search_clock_gettime
16957 if test "$ac_res" != no; then :
16958 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16960 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16962 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16966 LIBS=$ac_save_LIBS
16968 if test "x$with_ldap" != "xno"
16969 then
16970 if ${LDAP_CFLAGS:+false} :; then :
16971 if ${PKG_CONFIG+:} false; then :
16972 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16976 if ${LDAP_LIBS:+false} :; then :
16977 if ${PKG_CONFIG+:} false; then :
16978 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16982 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16983 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16984 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16985 ac_save_CPPFLAGS=$CPPFLAGS
16986 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16987 for ac_header in ldap.h lber.h
16988 do :
16989 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16990 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16991 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16992 cat >>confdefs.h <<_ACEOF
16993 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16994 _ACEOF
16998 done
17000 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17001 then
17002 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17004 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17006 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17007 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17008 $as_echo_n "(cached) " >&6
17009 else
17010 ac_check_lib_save_LIBS=$LIBS
17011 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17015 /* Override any GCC internal prototype to avoid an error.
17016 Use char because int might match the return type of a GCC
17017 builtin and then its argument prototype would still apply. */
17018 #ifdef __cplusplus
17019 extern "C"
17020 #endif
17021 char ldap_initialize ();
17023 main ()
17025 return ldap_initialize ();
17027 return 0;
17029 _ACEOF
17030 if ac_fn_c_try_link "$LINENO"; then :
17031 ac_cv_lib_ldap_r_ldap_initialize=yes
17032 else
17033 ac_cv_lib_ldap_r_ldap_initialize=no
17035 rm -f core conftest.err conftest.$ac_objext \
17036 conftest$ac_exeext conftest.$ac_ext
17037 LIBS=$ac_check_lib_save_LIBS
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17040 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17041 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17043 $as_echo_n "checking for ber_init in -llber... " >&6; }
17044 if ${ac_cv_lib_lber_ber_init+:} false; then :
17045 $as_echo_n "(cached) " >&6
17046 else
17047 ac_check_lib_save_LIBS=$LIBS
17048 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17052 /* Override any GCC internal prototype to avoid an error.
17053 Use char because int might match the return type of a GCC
17054 builtin and then its argument prototype would still apply. */
17055 #ifdef __cplusplus
17056 extern "C"
17057 #endif
17058 char ber_init ();
17060 main ()
17062 return ber_init ();
17064 return 0;
17066 _ACEOF
17067 if ac_fn_c_try_link "$LINENO"; then :
17068 ac_cv_lib_lber_ber_init=yes
17069 else
17070 ac_cv_lib_lber_ber_init=no
17072 rm -f core conftest.err conftest.$ac_objext \
17073 conftest$ac_exeext conftest.$ac_ext
17074 LIBS=$ac_check_lib_save_LIBS
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17077 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17078 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17080 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17082 else
17083 LDAP_LIBS=""
17086 else
17087 LDAP_LIBS=""
17090 else
17091 LDAP_LIBS=""
17094 ac_wine_check_funcs_save_LIBS="$LIBS"
17095 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17096 for ac_func in \
17097 ldap_count_references \
17098 ldap_first_reference \
17099 ldap_next_reference \
17100 ldap_parse_reference \
17101 ldap_parse_sort_control \
17102 ldap_parse_sortresponse_control \
17103 ldap_parse_vlv_control \
17104 ldap_parse_vlvresponse_control
17105 do :
17106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17109 cat >>confdefs.h <<_ACEOF
17110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17111 _ACEOF
17114 done
17116 LIBS="$ac_wine_check_funcs_save_LIBS"
17117 else
17118 LDAP_LIBS=""
17120 CPPFLAGS=$ac_save_CPPFLAGS
17121 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17122 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17125 if test "x$LDAP_LIBS" = "x"; then :
17126 case "x$with_ldap" in
17127 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17128 xno) ;;
17129 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17130 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17131 esac
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17136 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17137 if ${wine_cv_one_arg_mkdir+:} false; then :
17138 $as_echo_n "(cached) " >&6
17139 else
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 #include <sys/stat.h>
17144 main ()
17146 mkdir("foo");
17148 return 0;
17150 _ACEOF
17151 if ac_fn_c_try_compile "$LINENO"; then :
17152 wine_cv_one_arg_mkdir=yes
17153 else
17154 wine_cv_one_arg_mkdir=no
17156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17159 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17160 if test "$wine_cv_one_arg_mkdir" = "yes"
17161 then
17163 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17168 $as_echo_n "checking for sched_setaffinity... " >&6; }
17169 if ${wine_cv_have_sched_setaffinity+:} false; then :
17170 $as_echo_n "(cached) " >&6
17171 else
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17174 #define _GNU_SOURCE
17175 #include <sched.h>
17177 main ()
17179 sched_setaffinity(0, 0, 0);
17181 return 0;
17183 _ACEOF
17184 if ac_fn_c_try_link "$LINENO"; then :
17185 wine_cv_have_sched_setaffinity=yes
17186 else
17187 wine_cv_have_sched_setaffinity=no
17189 rm -f core conftest.err conftest.$ac_objext \
17190 conftest$ac_exeext conftest.$ac_ext
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17193 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17194 if test "$wine_cv_have_sched_setaffinity" = "yes"
17195 then
17197 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17202 $as_echo_n "checking for fallocate... " >&6; }
17203 if ${wine_cv_have_fallocate+:} false; then :
17204 $as_echo_n "(cached) " >&6
17205 else
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17208 #define _GNU_SOURCE
17209 #include <fcntl.h>
17211 main ()
17213 fallocate(-1, 0, 0, 0);
17215 return 0;
17217 _ACEOF
17218 if ac_fn_c_try_link "$LINENO"; then :
17219 wine_cv_have_fallocate=yes
17220 else
17221 wine_cv_have_fallocate=no
17223 rm -f core conftest.err conftest.$ac_objext \
17224 conftest$ac_exeext conftest.$ac_ext
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17227 $as_echo "$wine_cv_have_fallocate" >&6; }
17228 if test "$wine_cv_have_fallocate" = "yes"
17229 then
17231 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17237 $as_echo_n "checking for inline... " >&6; }
17238 if ${ac_cv_c_inline+:} false; then :
17239 $as_echo_n "(cached) " >&6
17240 else
17241 ac_cv_c_inline=no
17242 for ac_kw in inline __inline__ __inline; do
17243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17245 #ifndef __cplusplus
17246 typedef int foo_t;
17247 static $ac_kw foo_t static_foo () {return 0; }
17248 $ac_kw foo_t foo () {return 0; }
17249 #endif
17251 _ACEOF
17252 if ac_fn_c_try_compile "$LINENO"; then :
17253 ac_cv_c_inline=$ac_kw
17255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17256 test "$ac_cv_c_inline" != no && break
17257 done
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17261 $as_echo "$ac_cv_c_inline" >&6; }
17263 case $ac_cv_c_inline in
17264 inline | yes) ;;
17266 case $ac_cv_c_inline in
17267 no) ac_val=;;
17268 *) ac_val=$ac_cv_c_inline;;
17269 esac
17270 cat >>confdefs.h <<_ACEOF
17271 #ifndef __cplusplus
17272 #define inline $ac_val
17273 #endif
17274 _ACEOF
17276 esac
17278 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17279 if test "x$ac_cv_type_mode_t" = xyes; then :
17281 cat >>confdefs.h <<_ACEOF
17282 #define HAVE_MODE_T 1
17283 _ACEOF
17287 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17288 if test "x$ac_cv_type_off_t" = xyes; then :
17290 cat >>confdefs.h <<_ACEOF
17291 #define HAVE_OFF_T 1
17292 _ACEOF
17296 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17297 if test "x$ac_cv_type_pid_t" = xyes; then :
17299 cat >>confdefs.h <<_ACEOF
17300 #define HAVE_PID_T 1
17301 _ACEOF
17305 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17306 if test "x$ac_cv_type_size_t" = xyes; then :
17308 cat >>confdefs.h <<_ACEOF
17309 #define HAVE_SIZE_T 1
17310 _ACEOF
17314 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17315 if test "x$ac_cv_type_ssize_t" = xyes; then :
17317 cat >>confdefs.h <<_ACEOF
17318 #define HAVE_SSIZE_T 1
17319 _ACEOF
17323 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17324 if test "x$ac_cv_type_long_long" = xyes; then :
17326 cat >>confdefs.h <<_ACEOF
17327 #define HAVE_LONG_LONG 1
17328 _ACEOF
17332 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17333 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17335 cat >>confdefs.h <<_ACEOF
17336 #define HAVE_FSBLKCNT_T 1
17337 _ACEOF
17341 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17342 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17344 cat >>confdefs.h <<_ACEOF
17345 #define HAVE_FSFILCNT_T 1
17346 _ACEOF
17351 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17352 #include <signal.h>
17354 if test "x$ac_cv_type_sigset_t" = xyes; then :
17356 cat >>confdefs.h <<_ACEOF
17357 #define HAVE_SIGSET_T 1
17358 _ACEOF
17363 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17365 if test "x$ac_cv_type_request_sense" = xyes; then :
17367 cat >>confdefs.h <<_ACEOF
17368 #define HAVE_REQUEST_SENSE 1
17369 _ACEOF
17375 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17376 #ifdef HAVE_SYS_SOCKET_H
17377 #include <sys/socket.h>
17378 #endif
17379 #ifdef HAVE_SYS_SOCKETVAR_H
17380 #include <sys/socketvar.h>
17381 #endif
17382 #ifdef HAVE_NET_ROUTE_H
17383 #include <net/route.h>
17384 #endif
17385 #ifdef HAVE_NETINET_IN_H
17386 #include <netinet/in.h>
17387 #endif
17388 #ifdef HAVE_NETINET_IN_SYSTM_H
17389 #include <netinet/in_systm.h>
17390 #endif
17391 #ifdef HAVE_NETINET_IP_H
17392 #include <netinet/ip.h>
17393 #endif
17394 #ifdef HAVE_NETINET_IN_PCB_H
17395 #include <netinet/in_pcb.h>
17396 #endif
17398 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17400 cat >>confdefs.h <<_ACEOF
17401 #define HAVE_STRUCT_XINPGEN 1
17402 _ACEOF
17408 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17409 #include <link.h>
17410 #endif
17411 #ifdef HAVE_SYS_LINK_H
17412 #include <sys/link.h>
17413 #endif
17415 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17417 cat >>confdefs.h <<_ACEOF
17418 #define HAVE_STRUCT_R_DEBUG 1
17419 _ACEOF
17423 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17424 #include <link.h>
17425 #endif
17426 #ifdef HAVE_SYS_LINK_H
17427 #include <sys/link.h>
17428 #endif
17430 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17432 cat >>confdefs.h <<_ACEOF
17433 #define HAVE_STRUCT_LINK_MAP 1
17434 _ACEOF
17440 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17441 #include <linux/input.h>
17442 #endif
17444 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17446 cat >>confdefs.h <<_ACEOF
17447 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17448 _ACEOF
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17455 $as_echo_n "checking for if_nameindex... " >&6; }
17456 if ${wine_cv_have_if_nameindex+:} false; then :
17457 $as_echo_n "(cached) " >&6
17458 else
17459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17461 #ifdef HAVE_SYS_TYPES_H
17462 #include <sys/types.h>
17463 #endif
17464 #ifdef HAVE_SYS_SOCKET_H
17465 #include <sys/socket.h>
17466 #endif
17467 #ifdef HAVE_NET_IF_H
17468 # include <net/if.h>
17469 #endif
17471 main ()
17473 struct if_nameindex *p = if_nameindex(); return p->if_index;
17475 return 0;
17477 _ACEOF
17478 if ac_fn_c_try_link "$LINENO"; then :
17479 wine_cv_have_if_nameindex=yes
17480 else
17481 wine_cv_have_if_nameindex=no
17483 rm -f core conftest.err conftest.$ac_objext \
17484 conftest$ac_exeext conftest.$ac_ext
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17487 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17488 if test "$wine_cv_have_if_nameindex" = "yes"
17489 then
17491 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17496 $as_echo_n "checking for sigaddset... " >&6; }
17497 if ${wine_cv_have_sigaddset+:} false; then :
17498 $as_echo_n "(cached) " >&6
17499 else
17500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h. */
17502 #include <signal.h>
17504 main ()
17506 sigset_t set; sigaddset(&set,SIGTERM);
17508 return 0;
17510 _ACEOF
17511 if ac_fn_c_try_link "$LINENO"; then :
17512 wine_cv_have_sigaddset=yes
17513 else
17514 wine_cv_have_sigaddset=no
17516 rm -f core conftest.err conftest.$ac_objext \
17517 conftest$ac_exeext conftest.$ac_ext
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17520 $as_echo "$wine_cv_have_sigaddset" >&6; }
17521 if test "$wine_cv_have_sigaddset" = "yes"
17522 then
17524 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17530 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17531 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17532 $as_echo_n "(cached) " >&6
17533 else
17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17536 #include <netdb.h>
17538 main ()
17541 char *name=0;
17542 struct hostent he;
17543 struct hostent *result;
17544 char *buf=0;
17545 int bufsize=0;
17546 int errnr;
17547 char *addr=0;
17548 int addrlen=0;
17549 int addrtype=0;
17550 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17551 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17554 return 0;
17556 _ACEOF
17557 if ac_fn_c_try_link "$LINENO"; then :
17558 wine_cv_linux_gethostbyname_r_6=yes
17559 else
17560 wine_cv_linux_gethostbyname_r_6=no
17563 rm -f core conftest.err conftest.$ac_objext \
17564 conftest$ac_exeext conftest.$ac_ext
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17568 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17569 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17570 then
17572 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17576 if test "$ac_cv_header_linux_joystick_h" = "yes"
17577 then
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17579 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17580 if ${wine_cv_linux_joystick_22_api+:} false; then :
17581 $as_echo_n "(cached) " >&6
17582 else
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17586 #include <sys/ioctl.h>
17587 #include <sys/types.h>
17588 #include <linux/joystick.h>
17590 struct js_event blub;
17591 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17592 #error "no 2.2 header"
17593 #endif
17596 main ()
17598 /*empty*/
17600 return 0;
17602 _ACEOF
17603 if ac_fn_c_try_compile "$LINENO"; then :
17604 wine_cv_linux_joystick_22_api=yes
17605 else
17606 wine_cv_linux_joystick_22_api=no
17608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17612 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17613 if test "$wine_cv_linux_joystick_22_api" = "yes"
17614 then
17616 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17622 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17623 #ifdef HAVE_SYS_PARAM_H
17624 # include <sys/param.h>
17625 #endif
17626 #ifdef HAVE_SYS_MOUNT_H
17627 # include <sys/mount.h>
17628 #endif
17629 #ifdef HAVE_SYS_VFS_H
17630 # include <sys/vfs.h>
17631 #endif
17632 #ifdef HAVE_SYS_STATFS_H
17633 # include <sys/statfs.h>
17634 #endif
17636 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17638 cat >>confdefs.h <<_ACEOF
17639 #define HAVE_STRUCT_STATFS_F_BFREE 1
17640 _ACEOF
17644 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17645 #ifdef HAVE_SYS_PARAM_H
17646 # include <sys/param.h>
17647 #endif
17648 #ifdef HAVE_SYS_MOUNT_H
17649 # include <sys/mount.h>
17650 #endif
17651 #ifdef HAVE_SYS_VFS_H
17652 # include <sys/vfs.h>
17653 #endif
17654 #ifdef HAVE_SYS_STATFS_H
17655 # include <sys/statfs.h>
17656 #endif
17658 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17660 cat >>confdefs.h <<_ACEOF
17661 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17662 _ACEOF
17666 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17667 #ifdef HAVE_SYS_PARAM_H
17668 # include <sys/param.h>
17669 #endif
17670 #ifdef HAVE_SYS_MOUNT_H
17671 # include <sys/mount.h>
17672 #endif
17673 #ifdef HAVE_SYS_VFS_H
17674 # include <sys/vfs.h>
17675 #endif
17676 #ifdef HAVE_SYS_STATFS_H
17677 # include <sys/statfs.h>
17678 #endif
17680 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17682 cat >>confdefs.h <<_ACEOF
17683 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17684 _ACEOF
17688 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17689 #ifdef HAVE_SYS_PARAM_H
17690 # include <sys/param.h>
17691 #endif
17692 #ifdef HAVE_SYS_MOUNT_H
17693 # include <sys/mount.h>
17694 #endif
17695 #ifdef HAVE_SYS_VFS_H
17696 # include <sys/vfs.h>
17697 #endif
17698 #ifdef HAVE_SYS_STATFS_H
17699 # include <sys/statfs.h>
17700 #endif
17702 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17704 cat >>confdefs.h <<_ACEOF
17705 #define HAVE_STRUCT_STATFS_F_FFREE 1
17706 _ACEOF
17710 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17711 #ifdef HAVE_SYS_PARAM_H
17712 # include <sys/param.h>
17713 #endif
17714 #ifdef HAVE_SYS_MOUNT_H
17715 # include <sys/mount.h>
17716 #endif
17717 #ifdef HAVE_SYS_VFS_H
17718 # include <sys/vfs.h>
17719 #endif
17720 #ifdef HAVE_SYS_STATFS_H
17721 # include <sys/statfs.h>
17722 #endif
17724 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17726 cat >>confdefs.h <<_ACEOF
17727 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17728 _ACEOF
17732 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17733 #ifdef HAVE_SYS_PARAM_H
17734 # include <sys/param.h>
17735 #endif
17736 #ifdef HAVE_SYS_MOUNT_H
17737 # include <sys/mount.h>
17738 #endif
17739 #ifdef HAVE_SYS_VFS_H
17740 # include <sys/vfs.h>
17741 #endif
17742 #ifdef HAVE_SYS_STATFS_H
17743 # include <sys/statfs.h>
17744 #endif
17746 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17748 cat >>confdefs.h <<_ACEOF
17749 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17750 _ACEOF
17756 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17757 #include <sys/statvfs.h>
17758 #endif
17760 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17762 cat >>confdefs.h <<_ACEOF
17763 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17764 _ACEOF
17770 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17771 #include <dirent.h>
17772 #endif
17774 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17776 cat >>confdefs.h <<_ACEOF
17777 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17778 _ACEOF
17784 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17785 #ifdef HAVE_SYS_SOCKET_H
17786 # include <sys/socket.h>
17787 #endif
17788 #ifdef HAVE_SYS_UN_H
17789 # include <sys/un.h>
17790 #endif
17792 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17794 cat >>confdefs.h <<_ACEOF
17795 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17796 _ACEOF
17800 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17801 #ifdef HAVE_SYS_SOCKET_H
17802 # include <sys/socket.h>
17803 #endif
17804 #ifdef HAVE_SYS_UN_H
17805 # include <sys/un.h>
17806 #endif
17808 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17810 cat >>confdefs.h <<_ACEOF
17811 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17812 _ACEOF
17816 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17817 #ifdef HAVE_SYS_SOCKET_H
17818 # include <sys/socket.h>
17819 #endif
17820 #ifdef HAVE_SYS_UN_H
17821 # include <sys/un.h>
17822 #endif
17824 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17826 cat >>confdefs.h <<_ACEOF
17827 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17828 _ACEOF
17834 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17835 #ifdef HAVE_SCSI_SG_H
17836 #include <scsi/sg.h>
17837 #endif
17839 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17841 cat >>confdefs.h <<_ACEOF
17842 #define HAVE_SCSIREQ_T_CMD 1
17843 _ACEOF
17847 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>
17848 #ifdef HAVE_SCSI_SG_H
17849 #include <scsi/sg.h>
17850 #endif
17852 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17854 cat >>confdefs.h <<_ACEOF
17855 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17856 _ACEOF
17862 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17864 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17866 cat >>confdefs.h <<_ACEOF
17867 #define HAVE_SIGINFO_T_SI_FD 1
17868 _ACEOF
17874 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17875 #ifdef HAVE_SYS_MTIO_H
17876 #include <sys/mtio.h>
17877 #endif
17879 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17881 cat >>confdefs.h <<_ACEOF
17882 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17883 _ACEOF
17887 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17888 #ifdef HAVE_SYS_MTIO_H
17889 #include <sys/mtio.h>
17890 #endif
17892 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17894 cat >>confdefs.h <<_ACEOF
17895 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17896 _ACEOF
17900 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17901 #ifdef HAVE_SYS_MTIO_H
17902 #include <sys/mtio.h>
17903 #endif
17905 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17907 cat >>confdefs.h <<_ACEOF
17908 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17909 _ACEOF
17915 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17916 #include <getopt.h>
17917 #endif
17919 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17921 cat >>confdefs.h <<_ACEOF
17922 #define HAVE_STRUCT_OPTION_NAME 1
17923 _ACEOF
17929 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17930 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17932 cat >>confdefs.h <<_ACEOF
17933 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17934 _ACEOF
17938 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17939 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17941 cat >>confdefs.h <<_ACEOF
17942 #define HAVE_STRUCT_STAT_ST_MTIM 1
17943 _ACEOF
17947 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17948 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17950 cat >>confdefs.h <<_ACEOF
17951 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17952 _ACEOF
17956 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17957 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17959 cat >>confdefs.h <<_ACEOF
17960 #define HAVE_STRUCT_STAT_ST_CTIM 1
17961 _ACEOF
17965 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17966 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17968 cat >>confdefs.h <<_ACEOF
17969 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17970 _ACEOF
17974 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17975 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17977 cat >>confdefs.h <<_ACEOF
17978 #define HAVE_STRUCT_STAT_ST_ATIM 1
17979 _ACEOF
17983 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17984 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17986 cat >>confdefs.h <<_ACEOF
17987 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17988 _ACEOF
17992 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17993 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17995 cat >>confdefs.h <<_ACEOF
17996 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17997 _ACEOF
18001 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18002 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18004 cat >>confdefs.h <<_ACEOF
18005 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18006 _ACEOF
18010 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18011 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18013 cat >>confdefs.h <<_ACEOF
18014 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18015 _ACEOF
18019 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18020 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18022 cat >>confdefs.h <<_ACEOF
18023 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18024 _ACEOF
18028 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18029 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18031 cat >>confdefs.h <<_ACEOF
18032 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18033 _ACEOF
18039 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
18040 #include <sys/types.h>
18041 #endif
18042 #ifdef HAVE_NETINET_IN_H
18043 #include <netinet/in.h>
18044 #endif
18046 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18048 cat >>confdefs.h <<_ACEOF
18049 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18050 _ACEOF
18056 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18057 #include <sys/types.h>
18058 #endif
18059 #ifdef HAVE_NETINET_IN_H
18060 #include <netinet/in.h>
18061 #endif
18062 #ifdef HAVE_RESOLV_H
18063 #include <resolv.h>
18064 #endif
18066 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18068 cat >>confdefs.h <<_ACEOF
18069 #define HAVE_STRUCT___RES_STATE 1
18070 _ACEOF
18076 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
18077 #include <resolv.h>
18078 #endif
18080 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18082 cat >>confdefs.h <<_ACEOF
18083 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18084 _ACEOF
18090 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18091 #include <sys/types.h>
18092 #endif
18093 #ifdef HAVE_NETINET_IN_H
18094 # include <netinet/in.h>
18095 #endif
18096 #ifdef HAVE_ARPA_NAMESER_H
18097 # include <arpa/nameser.h>
18098 #endif
18100 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18102 cat >>confdefs.h <<_ACEOF
18103 #define HAVE_NS_MSG__MSG_PTR 1
18104 _ACEOF
18110 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18111 #include <sys/types.h>
18112 #endif
18113 #ifdef HAVE_NETINET_IN_H
18114 #include <netinet/in.h>
18115 #endif
18116 #ifdef HAVE_NETINET_IP_H
18117 #include <netinet/ip.h>
18118 #endif
18119 #ifdef HAVE_NETINET_IP_ICMP_H
18120 #include <netinet/ip_icmp.h>
18121 #endif
18122 #ifdef HAVE_NETINET_ICMP_VAR_H
18123 #include <netinet/icmp_var.h>
18124 #endif
18126 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18128 cat >>confdefs.h <<_ACEOF
18129 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18130 _ACEOF
18136 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18137 #include <sys/types.h>
18138 #endif
18139 #ifdef HAVE_ALIAS_H
18140 #include <alias.h>
18141 #endif
18142 #ifdef HAVE_SYS_SOCKET_H
18143 #include <sys/socket.h>
18144 #endif
18145 #ifdef HAVE_SYS_SOCKETVAR_H
18146 #include <sys/socketvar.h>
18147 #endif
18148 #ifdef HAVE_SYS_TIMEOUT_H
18149 #include <sys/timeout.h>
18150 #endif
18151 #ifdef HAVE_NETINET_IN_H
18152 #include <netinet/in.h>
18153 #endif
18154 #ifdef HAVE_NETINET_IN_SYSTM_H
18155 #include <netinet/in_systm.h>
18156 #endif
18157 #ifdef HAVE_NETINET_IP_H
18158 #include <netinet/ip.h>
18159 #endif
18160 #ifdef HAVE_NETINET_IP_VAR_H
18161 #include <netinet/ip_var.h>
18162 #endif
18163 #ifdef HAVE_NETINET_IP_ICMP_H
18164 #include <netinet/ip_icmp.h>
18165 #endif
18166 #ifdef HAVE_NETINET_ICMP_VAR_H
18167 #include <netinet/icmp_var.h>
18168 #endif
18170 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18172 cat >>confdefs.h <<_ACEOF
18173 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18174 _ACEOF
18180 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18181 #include <sys/types.h>
18182 #endif
18183 #ifdef HAVE_SYS_SOCKETVAR_H
18184 #include <sys/socketvar.h>
18185 #endif
18186 #ifdef HAVE_NETINET_IN_H
18187 #include <netinet/in.h>
18188 #endif
18189 #ifdef HAVE_NETINET_IP_VAR_H
18190 #include <netinet/ip_var.h>
18191 #endif
18193 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18195 cat >>confdefs.h <<_ACEOF
18196 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18197 _ACEOF
18203 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
18204 #include <netinet/ip_var.h>
18205 #endif
18207 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18209 cat >>confdefs.h <<_ACEOF
18210 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18211 _ACEOF
18217 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18218 #include <sys/types.h>
18219 #endif
18220 #ifdef HAVE_SYS_SOCKETVAR_H
18221 #include <sys/socketvar.h>
18222 #endif
18223 #ifdef HAVE_NETINET_IN_H
18224 #include <netinet/in.h>
18225 #endif
18226 #ifdef HAVE_NETINET_TCP_H
18227 #include <netinet/tcp.h>
18228 #endif
18229 #ifdef HAVE_NETINET_TCP_VAR_H
18230 #include <netinet/tcp_var.h>
18231 #endif
18233 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18235 cat >>confdefs.h <<_ACEOF
18236 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18237 _ACEOF
18243 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
18244 #include <netinet/tcp_var.h>
18245 #endif
18247 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18249 cat >>confdefs.h <<_ACEOF
18250 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18251 _ACEOF
18257 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18258 #include <sys/types.h>
18259 #endif
18260 #ifdef HAVE_NETINET_IN_H
18261 #include <netinet/in.h>
18262 #endif
18263 #ifdef HAVE_NETINET_IP_VAR_H
18264 #include <netinet/ip_var.h>
18265 #endif
18266 #ifdef HAVE_NETINET_UDP_H
18267 #include <netinet/udp.h>
18268 #endif
18269 #ifdef HAVE_NETINET_UDP_VAR_H
18270 #include <netinet/udp_var.h>
18271 #endif
18273 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18275 cat >>confdefs.h <<_ACEOF
18276 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18277 _ACEOF
18283 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18284 #include <sys/types.h>
18285 #endif
18286 #ifdef HAVE_NET_IF_H
18287 # include <net/if.h>
18288 #endif
18290 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18292 cat >>confdefs.h <<_ACEOF
18293 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18294 _ACEOF
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18301 $as_echo_n "checking for timezone variable... " >&6; }
18302 if ${ac_cv_have_timezone+:} false; then :
18303 $as_echo_n "(cached) " >&6
18304 else
18305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h. */
18307 #include <time.h>
18309 main ()
18311 timezone = 1
18313 return 0;
18315 _ACEOF
18316 if ac_fn_c_try_link "$LINENO"; then :
18317 ac_cv_have_timezone="yes"
18318 else
18319 ac_cv_have_timezone="no"
18321 rm -f core conftest.err conftest.$ac_objext \
18322 conftest$ac_exeext conftest.$ac_ext
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18325 $as_echo "$ac_cv_have_timezone" >&6; }
18326 if test "$ac_cv_have_timezone" = "yes"
18327 then
18329 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18333 $as_echo_n "checking for daylight variable... " >&6; }
18334 if ${ac_cv_have_daylight+:} false; then :
18335 $as_echo_n "(cached) " >&6
18336 else
18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18339 #include <time.h>
18341 main ()
18343 daylight = 1
18345 return 0;
18347 _ACEOF
18348 if ac_fn_c_try_link "$LINENO"; then :
18349 ac_cv_have_daylight="yes"
18350 else
18351 ac_cv_have_daylight="no"
18353 rm -f core conftest.err conftest.$ac_objext \
18354 conftest$ac_exeext conftest.$ac_ext
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18357 $as_echo "$ac_cv_have_daylight" >&6; }
18358 if test "$ac_cv_have_daylight" = "yes"
18359 then
18361 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18365 ac_save_LIBS="$LIBS"
18366 LIBS="$LIBS -lm"
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18368 $as_echo_n "checking for isfinite... " >&6; }
18369 if ${ac_cv_have_isfinite+:} false; then :
18370 $as_echo_n "(cached) " >&6
18371 else
18372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18373 /* end confdefs.h. */
18374 #define _GNU_SOURCE
18375 #include <math.h>
18377 main ()
18379 float f = 0.0; return isfinite(f)
18381 return 0;
18383 _ACEOF
18384 if ac_fn_c_try_link "$LINENO"; then :
18385 ac_cv_have_isfinite="yes"
18386 else
18387 ac_cv_have_isfinite="no"
18389 rm -f core conftest.err conftest.$ac_objext \
18390 conftest$ac_exeext conftest.$ac_ext
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18393 $as_echo "$ac_cv_have_isfinite" >&6; }
18394 if test "$ac_cv_have_isfinite" = "yes"
18395 then
18397 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18402 $as_echo_n "checking for isinf... " >&6; }
18403 if ${ac_cv_have_isinf+:} false; then :
18404 $as_echo_n "(cached) " >&6
18405 else
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <math.h>
18410 main ()
18412 float f = 0.0; return isinf(f)
18414 return 0;
18416 _ACEOF
18417 if ac_fn_c_try_link "$LINENO"; then :
18418 ac_cv_have_isinf="yes"
18419 else
18420 ac_cv_have_isinf="no"
18422 rm -f core conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18426 $as_echo "$ac_cv_have_isinf" >&6; }
18427 if test "$ac_cv_have_isinf" = "yes"
18428 then
18430 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18435 $as_echo_n "checking for isnan... " >&6; }
18436 if ${ac_cv_have_isnan+:} false; then :
18437 $as_echo_n "(cached) " >&6
18438 else
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18441 #include <math.h>
18443 main ()
18445 float f = 0.0; return isnan(f)
18447 return 0;
18449 _ACEOF
18450 if ac_fn_c_try_link "$LINENO"; then :
18451 ac_cv_have_isnan="yes"
18452 else
18453 ac_cv_have_isnan="no"
18455 rm -f core conftest.err conftest.$ac_objext \
18456 conftest$ac_exeext conftest.$ac_ext
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18459 $as_echo "$ac_cv_have_isnan" >&6; }
18460 if test "$ac_cv_have_isnan" = "yes"
18461 then
18463 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18467 for ac_func in \
18468 acosh \
18469 acoshf \
18470 asinh \
18471 asinhf \
18472 atanh \
18473 atanhf \
18474 cbrt \
18475 cbrtf \
18476 erf \
18477 erfc \
18478 erfcf \
18479 erff \
18480 exp2 \
18481 exp2f \
18482 expm1 \
18483 expm1f \
18484 j0 \
18485 j1 \
18486 jn \
18487 lgamma \
18488 lgammaf \
18489 llrint \
18490 llrintf \
18491 llround \
18492 llroundf \
18493 log1p \
18494 log1pf \
18495 log2 \
18496 log2f \
18497 lrint \
18498 lrintf \
18499 lround \
18500 lroundf \
18501 nearbyint \
18502 nearbyintf \
18503 powl \
18504 remainder \
18505 remainderf \
18506 rint \
18507 rintf \
18508 round \
18509 roundf \
18510 trunc \
18511 truncf \
18512 y0 \
18513 y1 \
18516 do :
18517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18519 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18520 cat >>confdefs.h <<_ACEOF
18521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18522 _ACEOF
18525 done
18527 LIBS="$ac_save_LIBS"
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18530 $as_echo_n "checking for __builtin_clz... " >&6; }
18531 if ${ac_cv_have___builtin_clz+:} false; then :
18532 $as_echo_n "(cached) " >&6
18533 else
18534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18538 main ()
18540 return __builtin_clz(1)
18542 return 0;
18544 _ACEOF
18545 if ac_fn_c_try_link "$LINENO"; then :
18546 ac_cv_have___builtin_clz="yes"
18547 else
18548 ac_cv_have___builtin_clz="no"
18550 rm -f core conftest.err conftest.$ac_objext \
18551 conftest$ac_exeext conftest.$ac_ext
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18554 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18555 if test "$ac_cv_have___builtin_clz" = "yes"
18556 then
18558 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18563 $as_echo_n "checking for __builtin_popcount... " >&6; }
18564 if ${ac_cv_have___builtin_popcount+:} false; then :
18565 $as_echo_n "(cached) " >&6
18566 else
18567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18568 /* end confdefs.h. */
18571 main ()
18573 return __builtin_popcount(1)
18575 return 0;
18577 _ACEOF
18578 if ac_fn_c_try_link "$LINENO"; then :
18579 ac_cv_have___builtin_popcount="yes"
18580 else
18581 ac_cv_have___builtin_popcount="no"
18583 rm -f core conftest.err conftest.$ac_objext \
18584 conftest$ac_exeext conftest.$ac_ext
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18587 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18588 if test "$ac_cv_have___builtin_popcount" = "yes"
18589 then
18591 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18596 $as_echo_n "checking for __clear_cache... " >&6; }
18597 if ${ac_cv_have___clear_cache+:} false; then :
18598 $as_echo_n "(cached) " >&6
18599 else
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h. */
18604 main ()
18606 __clear_cache((void*)0, (void*)0); return 0;
18608 return 0;
18610 _ACEOF
18611 if ac_fn_c_try_link "$LINENO"; then :
18612 ac_cv_have___clear_cache="yes"
18613 else
18614 ac_cv_have___clear_cache="no"
18616 rm -f core conftest.err conftest.$ac_objext \
18617 conftest$ac_exeext conftest.$ac_ext
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18620 $as_echo "$ac_cv_have___clear_cache" >&6; }
18621 if test "$ac_cv_have___clear_cache" = "yes"
18622 then
18624 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18629 case $host_cpu in
18630 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18631 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18632 if ${ac_cv_cpp_def___i386__+:} false; then :
18633 $as_echo_n "(cached) " >&6
18634 else
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18637 #ifndef __i386__
18639 #endif
18640 _ACEOF
18641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18642 $EGREP "yes" >/dev/null 2>&1; then :
18643 ac_cv_cpp_def___i386__=yes
18644 else
18645 ac_cv_cpp_def___i386__=no
18647 rm -f conftest*
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18651 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18652 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18653 CFLAGS="$CFLAGS -D__i386__"
18654 LINTFLAGS="$LINTFLAGS -D__i386__"
18655 fi ;;
18656 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18657 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18658 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18659 $as_echo_n "(cached) " >&6
18660 else
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18663 #ifndef __x86_64__
18665 #endif
18666 _ACEOF
18667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18668 $EGREP "yes" >/dev/null 2>&1; then :
18669 ac_cv_cpp_def___x86_64__=yes
18670 else
18671 ac_cv_cpp_def___x86_64__=no
18673 rm -f conftest*
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18677 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18678 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18679 CFLAGS="$CFLAGS -D__x86_64__"
18680 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18681 fi ;;
18682 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18683 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18684 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18685 $as_echo_n "(cached) " >&6
18686 else
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689 #ifndef __sparc64__
18691 #endif
18692 _ACEOF
18693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18694 $EGREP "yes" >/dev/null 2>&1; then :
18695 ac_cv_cpp_def___sparc64__=yes
18696 else
18697 ac_cv_cpp_def___sparc64__=no
18699 rm -f conftest*
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18703 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18704 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18705 CFLAGS="$CFLAGS -D__sparc64__"
18706 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18707 fi ;;
18708 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18709 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18710 if ${ac_cv_cpp_def___sparc__+:} false; then :
18711 $as_echo_n "(cached) " >&6
18712 else
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 #ifndef __sparc__
18717 #endif
18718 _ACEOF
18719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18720 $EGREP "yes" >/dev/null 2>&1; then :
18721 ac_cv_cpp_def___sparc__=yes
18722 else
18723 ac_cv_cpp_def___sparc__=no
18725 rm -f conftest*
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18729 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18730 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18731 CFLAGS="$CFLAGS -D__sparc__"
18732 LINTFLAGS="$LINTFLAGS -D__sparc__"
18733 fi ;;
18734 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18735 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18736 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18737 $as_echo_n "(cached) " >&6
18738 else
18739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18740 /* end confdefs.h. */
18741 #ifndef __powerpc64__
18743 #endif
18744 _ACEOF
18745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18746 $EGREP "yes" >/dev/null 2>&1; then :
18747 ac_cv_cpp_def___powerpc64__=yes
18748 else
18749 ac_cv_cpp_def___powerpc64__=no
18751 rm -f conftest*
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18755 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18756 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18757 CFLAGS="$CFLAGS -D__powerpc64__"
18758 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18759 fi ;;
18760 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18761 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18762 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18763 $as_echo_n "(cached) " >&6
18764 else
18765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18766 /* end confdefs.h. */
18767 #ifndef __powerpc__
18769 #endif
18770 _ACEOF
18771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18772 $EGREP "yes" >/dev/null 2>&1; then :
18773 ac_cv_cpp_def___powerpc__=yes
18774 else
18775 ac_cv_cpp_def___powerpc__=no
18777 rm -f conftest*
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18781 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18782 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18783 CFLAGS="$CFLAGS -D__powerpc__"
18784 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18785 fi ;;
18786 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18787 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18788 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18789 $as_echo_n "(cached) " >&6
18790 else
18791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18792 /* end confdefs.h. */
18793 #ifndef __aarch64__
18795 #endif
18796 _ACEOF
18797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18798 $EGREP "yes" >/dev/null 2>&1; then :
18799 ac_cv_cpp_def___aarch64__=yes
18800 else
18801 ac_cv_cpp_def___aarch64__=no
18803 rm -f conftest*
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18807 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18808 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18809 CFLAGS="$CFLAGS -D__aarch64__"
18810 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18811 fi ;;
18812 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18813 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18814 if ${ac_cv_cpp_def___arm__+:} false; then :
18815 $as_echo_n "(cached) " >&6
18816 else
18817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18818 /* end confdefs.h. */
18819 #ifndef __arm__
18821 #endif
18822 _ACEOF
18823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18824 $EGREP "yes" >/dev/null 2>&1; then :
18825 ac_cv_cpp_def___arm__=yes
18826 else
18827 ac_cv_cpp_def___arm__=no
18829 rm -f conftest*
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18833 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18834 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18835 CFLAGS="$CFLAGS -D__arm__"
18836 LINTFLAGS="$LINTFLAGS -D__arm__"
18837 fi ;;
18838 esac
18840 case $host_vendor in
18841 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18842 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18843 if ${ac_cv_cpp_def___sun__+:} false; then :
18844 $as_echo_n "(cached) " >&6
18845 else
18846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18847 /* end confdefs.h. */
18848 #ifndef __sun__
18850 #endif
18851 _ACEOF
18852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18853 $EGREP "yes" >/dev/null 2>&1; then :
18854 ac_cv_cpp_def___sun__=yes
18855 else
18856 ac_cv_cpp_def___sun__=no
18858 rm -f conftest*
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18862 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18863 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18864 CFLAGS="$CFLAGS -D__sun__"
18865 LINTFLAGS="$LINTFLAGS -D__sun__"
18866 fi ;;
18867 esac
18873 ac_config_commands="$ac_config_commands include/stamp-h"
18875 $as_echo_n "creating Makefile rules..." >&6
18877 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18878 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18879 IOKIT_LIBS = $IOKIT_LIBS
18880 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18881 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18882 CORESERVICES_LIBS = $CORESERVICES_LIBS
18883 APPKIT_LIBS = $APPKIT_LIBS
18884 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18885 SECURITY_LIBS = $SECURITY_LIBS
18886 COREAUDIO_LIBS = $COREAUDIO_LIBS
18887 OPENAL_LIBS = $OPENAL_LIBS
18888 OPENCL_LIBS = $OPENCL_LIBS
18889 QUICKTIME_LIBS = $QUICKTIME_LIBS
18890 CARBON_LIBS = $CARBON_LIBS
18891 METAL_LIBS = $METAL_LIBS
18892 PTHREAD_LIBS = $PTHREAD_LIBS
18893 X_CFLAGS = $X_CFLAGS
18894 X_PRE_LIBS = $X_PRE_LIBS
18895 X_LIBS = $X_LIBS
18896 X_EXTRA_LIBS = $X_EXTRA_LIBS
18897 PCAP_LIBS = $PCAP_LIBS
18898 XML2_CFLAGS = $XML2_CFLAGS
18899 XML2_LIBS = $XML2_LIBS
18900 XSLT_CFLAGS = $XSLT_CFLAGS
18901 XSLT_LIBS = $XSLT_LIBS
18902 DBUS_CFLAGS = $DBUS_CFLAGS
18903 DBUS_LIBS = $DBUS_LIBS
18904 HAL_CFLAGS = $HAL_CFLAGS
18905 HAL_LIBS = $HAL_LIBS
18906 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18907 GNUTLS_LIBS = $GNUTLS_LIBS
18908 SANE_CFLAGS = $SANE_CFLAGS
18909 SANE_LIBS = $SANE_LIBS
18910 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18911 GPHOTO2_LIBS = $GPHOTO2_LIBS
18912 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18913 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18914 RESOLV_LIBS = $RESOLV_LIBS
18915 LCMS2_CFLAGS = $LCMS2_CFLAGS
18916 LCMS2_LIBS = $LCMS2_LIBS
18917 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18918 FREETYPE_LIBS = $FREETYPE_LIBS
18919 Z_LIBS = $Z_LIBS
18920 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18921 PULSE_CFLAGS = $PULSE_CFLAGS
18922 PULSE_LIBS = $PULSE_LIBS
18923 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18924 GSTREAMER_LIBS = $GSTREAMER_LIBS
18925 ALSA_LIBS = $ALSA_LIBS
18926 OSS4_CFLAGS = $OSS4_CFLAGS
18927 UDEV_CFLAGS = $UDEV_CFLAGS
18928 UDEV_LIBS = $UDEV_LIBS
18929 SDL2_CFLAGS = $SDL2_CFLAGS
18930 SDL2_LIBS = $SDL2_LIBS
18931 CAPI20_CFLAGS = $CAPI20_CFLAGS
18932 CAPI20_LIBS = $CAPI20_LIBS
18933 CUPS_CFLAGS = $CUPS_CFLAGS
18934 CUPS_LIBS = $CUPS_LIBS
18935 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18936 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18937 KRB5_CFLAGS = $KRB5_CFLAGS
18938 KRB5_LIBS = $KRB5_LIBS
18939 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18940 GSSAPI_LIBS = $GSSAPI_LIBS
18941 JPEG_CFLAGS = $JPEG_CFLAGS
18942 JPEG_LIBS = $JPEG_LIBS
18943 PNG_CFLAGS = $PNG_CFLAGS
18944 PNG_LIBS = $PNG_LIBS
18945 TIFF_CFLAGS = $TIFF_CFLAGS
18946 TIFF_LIBS = $TIFF_LIBS
18947 MPG123_CFLAGS = $MPG123_CFLAGS
18948 MPG123_LIBS = $MPG123_LIBS
18949 KSTAT_LIBS = $KSTAT_LIBS
18950 PROCSTAT_LIBS = $PROCSTAT_LIBS
18951 NETAPI_CFLAGS = $NETAPI_CFLAGS
18952 NETAPI_LIBS = $NETAPI_LIBS
18953 VKD3D_CFLAGS = $VKD3D_CFLAGS
18954 VKD3D_LIBS = $VKD3D_LIBS
18955 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18956 DL_LIBS = $DL_LIBS
18957 POLL_LIBS = $POLL_LIBS
18958 RT_LIBS = $RT_LIBS
18959 LDAP_CFLAGS = $LDAP_CFLAGS
18960 LDAP_LIBS = $LDAP_LIBS
18965 wine_fn_append_rule "
18966 # Rules automatically generated by configure
18968 .INIT: Makefile
18969 .MAKEFILEDEPS:
18970 all: Makefile
18971 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18972 @./config.status Make.tmp Makefile
18973 depend: \$(MAKEDEP) dummy
18974 \$(MAKEDEP)"
18976 if test "x$enable_fonts" != xno; then
18977 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18978 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18979 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18980 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18981 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18982 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18984 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18985 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18986 ac_config_links="$ac_config_links wine:tools/winewrapper"
18987 wine_fn_config_symlink wine
18988 if test "x$enable_win64" != xno; then
18989 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18990 wine_fn_config_symlink wine64
18993 wine_fn_config_makefile dlls/acledit enable_acledit
18994 wine_fn_config_makefile dlls/aclui enable_aclui
18995 wine_fn_config_makefile dlls/activeds enable_activeds
18996 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18997 wine_fn_config_makefile dlls/adsiid enable_adsiid
18998 wine_fn_config_makefile dlls/adsldp enable_adsldp
18999 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19000 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19001 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19002 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19003 wine_fn_config_makefile dlls/advpack enable_advpack
19004 wine_fn_config_makefile dlls/advpack/tests enable_tests
19005 wine_fn_config_makefile dlls/amstream enable_amstream
19006 wine_fn_config_makefile dlls/amstream/tests enable_tests
19007 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19008 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19009 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19010 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19011 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19012 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19013 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19014 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19015 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19016 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19017 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19018 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19019 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19020 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19021 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19022 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19023 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19024 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19025 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19026 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19027 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19028 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19029 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19030 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19031 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19032 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19033 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19034 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19035 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19036 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19038 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19039 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19040 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19041 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19042 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19043 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19044 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19045 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19046 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19047 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19048 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19049 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19050 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19051 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19052 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19053 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19054 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19055 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19056 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19057 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19058 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19059 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19061 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19062 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19064 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19065 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19066 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19068 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19072 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19073 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19074 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19076 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19077 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19078 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19079 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19081 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19084 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19085 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19086 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19088 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19089 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19101 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19102 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19105 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19108 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19112 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19115 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19118 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19124 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19125 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19129 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19130 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19131 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19134 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19137 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19156 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19157 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19176 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19180 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19182 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19186 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19190 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19192 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19194 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19195 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19197 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19200 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19201 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19202 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19206 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19207 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19208 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19209 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19210 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19211 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19212 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19213 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19214 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19215 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19216 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19217 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19218 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19219 wine_fn_config_makefile dlls/apphelp enable_apphelp
19220 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19221 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19222 wine_fn_config_makefile dlls/atl enable_atl
19223 wine_fn_config_makefile dlls/atl/tests enable_tests
19224 wine_fn_config_makefile dlls/atl100 enable_atl100
19225 wine_fn_config_makefile dlls/atl100/tests enable_tests
19226 wine_fn_config_makefile dlls/atl110 enable_atl110
19227 wine_fn_config_makefile dlls/atl80 enable_atl80
19228 wine_fn_config_makefile dlls/atl80/tests enable_tests
19229 wine_fn_config_makefile dlls/atl90 enable_atl90
19230 wine_fn_config_makefile dlls/atmlib enable_atmlib
19231 wine_fn_config_makefile dlls/authz enable_authz
19232 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19233 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19234 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19235 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19236 wine_fn_config_makefile dlls/avrt enable_avrt
19237 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19238 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19239 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19240 wine_fn_config_makefile dlls/browseui enable_browseui
19241 wine_fn_config_makefile dlls/browseui/tests enable_tests
19242 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19243 wine_fn_config_makefile dlls/cabinet enable_cabinet
19244 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19245 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19246 wine_fn_config_makefile dlls/cards enable_cards
19247 wine_fn_config_makefile dlls/cdosys enable_cdosys
19248 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19249 wine_fn_config_makefile dlls/clusapi enable_clusapi
19250 wine_fn_config_makefile dlls/combase enable_combase
19251 wine_fn_config_makefile dlls/combase/tests enable_tests
19252 wine_fn_config_makefile dlls/comcat enable_comcat
19253 wine_fn_config_makefile dlls/comcat/tests enable_tests
19254 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19255 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19256 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19257 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19258 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19259 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19260 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19261 wine_fn_config_makefile dlls/compstui enable_compstui
19262 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19263 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19264 wine_fn_config_makefile dlls/connect enable_connect
19265 wine_fn_config_makefile dlls/credui enable_credui
19266 wine_fn_config_makefile dlls/credui/tests enable_tests
19267 wine_fn_config_makefile dlls/crtdll enable_crtdll
19268 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19269 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19270 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19271 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19272 wine_fn_config_makefile dlls/cryptext enable_cryptext
19273 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19274 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19275 wine_fn_config_makefile dlls/cryptui enable_cryptui
19276 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19277 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19278 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19279 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19280 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19281 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19282 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19283 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19284 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19285 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19286 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19287 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19288 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19289 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19290 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19291 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19292 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19293 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19294 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19295 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19296 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19297 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19298 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19299 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19300 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19301 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19302 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19303 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19304 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19305 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19306 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19307 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19308 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19309 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19310 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19311 wine_fn_config_makefile dlls/d3dim enable_d3dim
19312 wine_fn_config_makefile dlls/d3drm enable_d3drm
19313 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19314 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19315 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19316 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19317 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19318 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19319 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19320 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19321 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19322 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19323 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19324 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19325 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19326 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19327 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19328 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19329 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19330 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19331 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19332 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19333 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19334 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19335 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19336 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19337 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19338 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19339 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19340 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19341 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19342 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19343 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19344 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19345 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19346 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19347 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19348 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19349 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19350 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19351 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19352 wine_fn_config_makefile dlls/davclnt enable_davclnt
19353 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19354 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19355 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19356 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19357 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19358 wine_fn_config_makefile dlls/ddraw enable_ddraw
19359 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19360 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19361 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19362 wine_fn_config_makefile dlls/devenum enable_devenum
19363 wine_fn_config_makefile dlls/devenum/tests enable_tests
19364 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19365 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19366 wine_fn_config_makefile dlls/difxapi enable_difxapi
19367 wine_fn_config_makefile dlls/dinput enable_dinput
19368 wine_fn_config_makefile dlls/dinput/tests enable_tests
19369 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19370 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19371 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19372 wine_fn_config_makefile dlls/dispex enable_dispex
19373 wine_fn_config_makefile dlls/dispex/tests enable_tests
19374 wine_fn_config_makefile dlls/display.drv16 enable_win16
19375 wine_fn_config_makefile dlls/dmband enable_dmband
19376 wine_fn_config_makefile dlls/dmband/tests enable_tests
19377 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19378 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19379 wine_fn_config_makefile dlls/dmime enable_dmime
19380 wine_fn_config_makefile dlls/dmime/tests enable_tests
19381 wine_fn_config_makefile dlls/dmloader enable_dmloader
19382 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19383 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19384 wine_fn_config_makefile dlls/dmscript enable_dmscript
19385 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19386 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19387 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19388 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19389 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19390 wine_fn_config_makefile dlls/dmusic enable_dmusic
19391 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19392 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19393 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19394 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19395 wine_fn_config_makefile dlls/dplay enable_dplay
19396 wine_fn_config_makefile dlls/dplayx enable_dplayx
19397 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19398 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19399 wine_fn_config_makefile dlls/dpnet enable_dpnet
19400 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19401 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19402 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19403 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19404 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19405 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19406 wine_fn_config_makefile dlls/drmclien enable_drmclien
19407 wine_fn_config_makefile dlls/dsound enable_dsound
19408 wine_fn_config_makefile dlls/dsound/tests enable_tests
19409 wine_fn_config_makefile dlls/dsquery enable_dsquery
19410 wine_fn_config_makefile dlls/dssenh enable_dssenh
19411 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19412 wine_fn_config_makefile dlls/dswave enable_dswave
19413 wine_fn_config_makefile dlls/dswave/tests enable_tests
19414 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19415 wine_fn_config_makefile dlls/dwrite enable_dwrite
19416 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19417 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19418 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19419 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19420 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19421 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19422 wine_fn_config_makefile dlls/dxgi enable_dxgi
19423 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19424 wine_fn_config_makefile dlls/dxguid enable_dxguid
19425 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19426 wine_fn_config_makefile dlls/esent enable_esent
19427 wine_fn_config_makefile dlls/evr enable_evr
19428 wine_fn_config_makefile dlls/evr/tests enable_tests
19429 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19430 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19431 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19432 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19433 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19434 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19435 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19436 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19437 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19438 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19439 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19440 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19454 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19455 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19456 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19457 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19458 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19459 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19460 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
19461 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19462 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19463 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19464 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19465 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19466 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19467 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19468 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19469 wine_fn_config_makefile dlls/faultrep enable_faultrep
19470 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19471 wine_fn_config_makefile dlls/feclient enable_feclient
19472 wine_fn_config_makefile dlls/fltlib enable_fltlib
19473 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19474 wine_fn_config_makefile dlls/fntcache enable_fntcache
19475 wine_fn_config_makefile dlls/fontsub enable_fontsub
19476 wine_fn_config_makefile dlls/fusion enable_fusion
19477 wine_fn_config_makefile dlls/fusion/tests enable_tests
19478 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19479 wine_fn_config_makefile dlls/gameux enable_gameux
19480 wine_fn_config_makefile dlls/gameux/tests enable_tests
19481 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19482 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19483 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19484 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19485 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19486 wine_fn_config_makefile dlls/glu32 enable_glu32
19487 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19488 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19489 wine_fn_config_makefile dlls/hal enable_hal
19490 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19491 wine_fn_config_makefile dlls/hid enable_hid
19492 wine_fn_config_makefile dlls/hid/tests enable_tests
19493 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19494 wine_fn_config_makefile dlls/hlink enable_hlink
19495 wine_fn_config_makefile dlls/hlink/tests enable_tests
19496 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19497 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19498 wine_fn_config_makefile dlls/httpapi enable_httpapi
19499 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19500 wine_fn_config_makefile dlls/iccvid enable_iccvid
19501 wine_fn_config_makefile dlls/icmp enable_icmp
19502 wine_fn_config_makefile dlls/ieframe enable_ieframe
19503 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19504 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19505 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19506 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19507 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19508 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19509 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19510 wine_fn_config_makefile dlls/imm32 enable_imm32
19511 wine_fn_config_makefile dlls/imm32/tests enable_tests
19512 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19513 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19514 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19515 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19516 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19517 wine_fn_config_makefile dlls/infosoft enable_infosoft
19518 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19519 wine_fn_config_makefile dlls/initpki enable_initpki
19520 wine_fn_config_makefile dlls/inkobj enable_inkobj
19521 wine_fn_config_makefile dlls/inseng enable_inseng
19522 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19523 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19524 wine_fn_config_makefile dlls/iprop enable_iprop
19525 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19526 wine_fn_config_makefile dlls/itircl enable_itircl
19527 wine_fn_config_makefile dlls/itss enable_itss
19528 wine_fn_config_makefile dlls/itss/tests enable_tests
19529 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19530 wine_fn_config_makefile dlls/jscript enable_jscript
19531 wine_fn_config_makefile dlls/jscript/tests enable_tests
19532 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19533 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19534 wine_fn_config_makefile dlls/kerberos enable_kerberos
19535 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19536 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19537 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19538 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19539 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19540 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19541 wine_fn_config_makefile dlls/ksuser enable_ksuser
19542 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19543 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19544 wine_fn_config_makefile dlls/loadperf enable_loadperf
19545 wine_fn_config_makefile dlls/localspl enable_localspl
19546 wine_fn_config_makefile dlls/localspl/tests enable_tests
19547 wine_fn_config_makefile dlls/localui enable_localui
19548 wine_fn_config_makefile dlls/localui/tests enable_tests
19549 wine_fn_config_makefile dlls/lz32 enable_lz32
19550 wine_fn_config_makefile dlls/lz32/tests enable_tests
19551 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19552 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19553 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19554 wine_fn_config_makefile dlls/mapistub enable_mapistub
19555 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19556 wine_fn_config_makefile dlls/mcicda enable_mcicda
19557 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19558 wine_fn_config_makefile dlls/mciseq enable_mciseq
19559 wine_fn_config_makefile dlls/mciwave enable_mciwave
19560 wine_fn_config_makefile dlls/mf enable_mf
19561 wine_fn_config_makefile dlls/mf/tests enable_tests
19562 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19563 wine_fn_config_makefile dlls/mfplat enable_mfplat
19564 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19565 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19566 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19567 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19568 wine_fn_config_makefile dlls/midimap enable_midimap
19569 wine_fn_config_makefile dlls/mlang enable_mlang
19570 wine_fn_config_makefile dlls/mlang/tests enable_tests
19571 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19572 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19573 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19574 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19575 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19576 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19577 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19578 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19579 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19580 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19581 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19582 wine_fn_config_makefile dlls/mpr enable_mpr
19583 wine_fn_config_makefile dlls/mpr/tests enable_tests
19584 wine_fn_config_makefile dlls/mprapi enable_mprapi
19585 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19586 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19587 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19588 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19589 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19590 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19591 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19592 wine_fn_config_makefile dlls/mscms enable_mscms
19593 wine_fn_config_makefile dlls/mscms/tests enable_tests
19594 wine_fn_config_makefile dlls/mscoree enable_mscoree
19595 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19596 wine_fn_config_makefile dlls/msctf enable_msctf
19597 wine_fn_config_makefile dlls/msctf/tests enable_tests
19598 wine_fn_config_makefile dlls/msctfp enable_msctfp
19599 wine_fn_config_makefile dlls/msdaps enable_msdaps
19600 wine_fn_config_makefile dlls/msdelta enable_msdelta
19601 wine_fn_config_makefile dlls/msdmo enable_msdmo
19602 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19603 wine_fn_config_makefile dlls/msdrm enable_msdrm
19604 wine_fn_config_makefile dlls/msftedit enable_msftedit
19605 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19606 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19607 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19608 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19609 wine_fn_config_makefile dlls/mshtml enable_mshtml
19610 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19611 wine_fn_config_makefile dlls/msi enable_msi
19612 wine_fn_config_makefile dlls/msi/tests enable_tests
19613 wine_fn_config_makefile dlls/msident enable_msident
19614 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19615 wine_fn_config_makefile dlls/msimsg enable_msimsg
19616 wine_fn_config_makefile dlls/msimtf enable_msimtf
19617 wine_fn_config_makefile dlls/msisip enable_msisip
19618 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19619 wine_fn_config_makefile dlls/msls31 enable_msls31
19620 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19621 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19622 wine_fn_config_makefile dlls/msports enable_msports
19623 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19624 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19625 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19626 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19627 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19628 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19629 wine_fn_config_makefile dlls/mstask enable_mstask
19630 wine_fn_config_makefile dlls/mstask/tests enable_tests
19631 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19632 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19633 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19634 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19635 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19636 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19637 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19638 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19639 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19640 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19641 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19642 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19643 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19644 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19645 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19646 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19647 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19648 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19649 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19650 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19651 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19652 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19653 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19654 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19655 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19656 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19657 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19658 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19659 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19660 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19661 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19662 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19663 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19664 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19665 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19666 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19667 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19668 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19669 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19670 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19671 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19672 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19673 wine_fn_config_makefile dlls/mswsock enable_mswsock
19674 wine_fn_config_makefile dlls/msxml enable_msxml
19675 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19676 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19677 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19678 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19679 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19680 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19681 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19682 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19683 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19684 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19685 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19686 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19687 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19688 wine_fn_config_makefile dlls/netprofm enable_netprofm
19689 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19690 wine_fn_config_makefile dlls/newdev enable_newdev
19691 wine_fn_config_makefile dlls/ninput enable_ninput
19692 wine_fn_config_makefile dlls/ninput/tests enable_tests
19693 wine_fn_config_makefile dlls/normaliz enable_normaliz
19694 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19695 wine_fn_config_makefile dlls/npptools enable_npptools
19696 wine_fn_config_makefile dlls/ntdll enable_ntdll
19697 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19698 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19699 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19700 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19701 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19702 wine_fn_config_makefile dlls/ntprint enable_ntprint
19703 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19704 wine_fn_config_makefile dlls/objsel enable_objsel
19705 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19706 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19707 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19708 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19709 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19710 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19711 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19712 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19713 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19714 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19715 wine_fn_config_makefile dlls/ole32 enable_ole32
19716 wine_fn_config_makefile dlls/ole32/tests enable_tests
19717 wine_fn_config_makefile dlls/oleacc enable_oleacc
19718 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19719 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19720 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19721 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19722 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19723 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19724 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19725 wine_fn_config_makefile dlls/oledlg enable_oledlg
19726 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19727 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19728 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19729 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19730 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19731 wine_fn_config_makefile dlls/opcservices enable_opcservices
19732 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19733 wine_fn_config_makefile dlls/openal32 enable_openal32
19734 wine_fn_config_makefile dlls/opencl enable_opencl
19735 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19736 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19737 wine_fn_config_makefile dlls/packager enable_packager
19738 wine_fn_config_makefile dlls/packager/tests enable_tests
19739 wine_fn_config_makefile dlls/pdh enable_pdh
19740 wine_fn_config_makefile dlls/pdh/tests enable_tests
19741 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19742 wine_fn_config_makefile dlls/pidgen enable_pidgen
19743 wine_fn_config_makefile dlls/powrprof enable_powrprof
19744 wine_fn_config_makefile dlls/printui enable_printui
19745 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19746 wine_fn_config_makefile dlls/propsys enable_propsys
19747 wine_fn_config_makefile dlls/propsys/tests enable_tests
19748 wine_fn_config_makefile dlls/psapi enable_psapi
19749 wine_fn_config_makefile dlls/psapi/tests enable_tests
19750 wine_fn_config_makefile dlls/pstorec enable_pstorec
19751 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19752 wine_fn_config_makefile dlls/qcap enable_qcap
19753 wine_fn_config_makefile dlls/qcap/tests enable_tests
19754 wine_fn_config_makefile dlls/qedit enable_qedit
19755 wine_fn_config_makefile dlls/qedit/tests enable_tests
19756 wine_fn_config_makefile dlls/qmgr enable_qmgr
19757 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19758 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19759 wine_fn_config_makefile dlls/quartz enable_quartz
19760 wine_fn_config_makefile dlls/quartz/tests enable_tests
19761 wine_fn_config_makefile dlls/query enable_query
19762 wine_fn_config_makefile dlls/qwave enable_qwave
19763 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19764 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19765 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19766 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19767 wine_fn_config_makefile dlls/regapi enable_regapi
19768 wine_fn_config_makefile dlls/resutils enable_resutils
19769 wine_fn_config_makefile dlls/riched20 enable_riched20
19770 wine_fn_config_makefile dlls/riched20/tests enable_tests
19771 wine_fn_config_makefile dlls/riched32 enable_riched32
19772 wine_fn_config_makefile dlls/riched32/tests enable_tests
19773 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19774 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19775 wine_fn_config_makefile dlls/rsabase enable_rsabase
19776 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19777 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19778 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19779 wine_fn_config_makefile dlls/rtutils enable_rtutils
19780 wine_fn_config_makefile dlls/samlib enable_samlib
19781 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19782 wine_fn_config_makefile dlls/sapi enable_sapi
19783 wine_fn_config_makefile dlls/sapi/tests enable_tests
19784 wine_fn_config_makefile dlls/sas enable_sas
19785 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19786 wine_fn_config_makefile dlls/sccbase enable_sccbase
19787 wine_fn_config_makefile dlls/schannel enable_schannel
19788 wine_fn_config_makefile dlls/schannel/tests enable_tests
19789 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19790 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19791 wine_fn_config_makefile dlls/scrobj enable_scrobj
19792 wine_fn_config_makefile dlls/scrrun enable_scrrun
19793 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19794 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19795 wine_fn_config_makefile dlls/secur32 enable_secur32
19796 wine_fn_config_makefile dlls/secur32/tests enable_tests
19797 wine_fn_config_makefile dlls/security enable_security
19798 wine_fn_config_makefile dlls/sensapi enable_sensapi
19799 wine_fn_config_makefile dlls/serialui enable_serialui
19800 wine_fn_config_makefile dlls/serialui/tests enable_tests
19801 wine_fn_config_makefile dlls/setupapi enable_setupapi
19802 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19803 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19804 wine_fn_config_makefile dlls/sfc enable_sfc
19805 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19806 wine_fn_config_makefile dlls/shcore enable_shcore
19807 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19808 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19809 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19810 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19811 wine_fn_config_makefile dlls/shell32 enable_shell32
19812 wine_fn_config_makefile dlls/shell32/tests enable_tests
19813 wine_fn_config_makefile dlls/shfolder enable_shfolder
19814 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19815 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19816 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19817 wine_fn_config_makefile dlls/slc enable_slc
19818 wine_fn_config_makefile dlls/slc/tests enable_tests
19819 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19820 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19821 wine_fn_config_makefile dlls/softpub enable_softpub
19822 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19823 wine_fn_config_makefile dlls/spoolss enable_spoolss
19824 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19825 wine_fn_config_makefile dlls/srclient enable_srclient
19826 wine_fn_config_makefile dlls/sspicli enable_sspicli
19827 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19828 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19829 wine_fn_config_makefile dlls/sti enable_sti
19830 wine_fn_config_makefile dlls/sti/tests enable_tests
19831 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19832 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19833 wine_fn_config_makefile dlls/strmbase enable_strmbase
19834 wine_fn_config_makefile dlls/strmdll enable_strmdll
19835 wine_fn_config_makefile dlls/strmiids enable_strmiids
19836 wine_fn_config_makefile dlls/svrapi enable_svrapi
19837 wine_fn_config_makefile dlls/sxs enable_sxs
19838 wine_fn_config_makefile dlls/sxs/tests enable_tests
19839 wine_fn_config_makefile dlls/system.drv16 enable_win16
19840 wine_fn_config_makefile dlls/t2embed enable_t2embed
19841 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19842 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19843 wine_fn_config_makefile dlls/taskschd enable_taskschd
19844 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19845 wine_fn_config_makefile dlls/tdh enable_tdh
19846 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19847 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19848 wine_fn_config_makefile dlls/traffic enable_traffic
19849 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19850 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19851 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19852 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19853 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19854 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19855 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19856 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19857 wine_fn_config_makefile dlls/unicows enable_unicows
19858 wine_fn_config_makefile dlls/updspapi enable_updspapi
19859 wine_fn_config_makefile dlls/url enable_url
19860 wine_fn_config_makefile dlls/urlmon enable_urlmon
19861 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19862 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19863 wine_fn_config_makefile dlls/user.exe16 enable_win16
19864 wine_fn_config_makefile dlls/user32 enable_user32
19865 wine_fn_config_makefile dlls/user32/tests enable_tests
19866 wine_fn_config_makefile dlls/userenv enable_userenv
19867 wine_fn_config_makefile dlls/userenv/tests enable_tests
19868 wine_fn_config_makefile dlls/usp10 enable_usp10
19869 wine_fn_config_makefile dlls/usp10/tests enable_tests
19870 wine_fn_config_makefile dlls/uuid enable_uuid
19871 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19872 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19873 wine_fn_config_makefile dlls/vbscript enable_vbscript
19874 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19875 wine_fn_config_makefile dlls/vcomp enable_vcomp
19876 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19877 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19878 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19879 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19880 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19881 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19882 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19883 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19884 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19885 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19886 wine_fn_config_makefile dlls/version enable_version
19887 wine_fn_config_makefile dlls/version/tests enable_tests
19888 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19889 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19890 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19891 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19892 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19893 wine_fn_config_makefile dlls/vssapi enable_vssapi
19894 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19895 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19896 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19897 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19898 wine_fn_config_makefile dlls/w32skrnl enable_win16
19899 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19900 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19901 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19902 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19903 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19904 wine_fn_config_makefile dlls/wdscore enable_wdscore
19905 wine_fn_config_makefile dlls/webservices enable_webservices
19906 wine_fn_config_makefile dlls/webservices/tests enable_tests
19907 wine_fn_config_makefile dlls/wer enable_wer
19908 wine_fn_config_makefile dlls/wer/tests enable_tests
19909 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19910 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19911 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19912 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19913 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19914 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19915 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19916 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19917 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19918 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19919 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19920 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19921 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19922 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19923 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19924 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19925 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19926 wine_fn_config_makefile dlls/wined3d enable_wined3d
19927 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19928 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19929 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19930 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19931 wine_fn_config_makefile dlls/winemapi enable_winemapi
19932 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19933 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19934 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19935 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19936 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19937 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19938 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19939 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19940 wine_fn_config_makefile dlls/wing32 enable_wing32
19941 wine_fn_config_makefile dlls/winhttp enable_winhttp
19942 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19943 wine_fn_config_makefile dlls/wininet enable_wininet
19944 wine_fn_config_makefile dlls/wininet/tests enable_tests
19945 wine_fn_config_makefile dlls/winmm enable_winmm
19946 wine_fn_config_makefile dlls/winmm/tests enable_tests
19947 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19948 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19949 wine_fn_config_makefile dlls/winscard enable_winscard
19950 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19951 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19952 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19953 wine_fn_config_makefile dlls/winsta enable_winsta
19954 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19955 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19956 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19957 wine_fn_config_makefile dlls/wintrust enable_wintrust
19958 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19959 wine_fn_config_makefile dlls/winusb enable_winusb
19960 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19961 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19962 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19963 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19964 wine_fn_config_makefile dlls/wmasf enable_wmasf
19965 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19966 wine_fn_config_makefile dlls/wmi enable_wmi
19967 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19968 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19969 wine_fn_config_makefile dlls/wmp enable_wmp
19970 wine_fn_config_makefile dlls/wmp/tests enable_tests
19971 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19972 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19973 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19974 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19975 wine_fn_config_makefile dlls/wow32 enable_win16
19976 wine_fn_config_makefile dlls/wpc enable_wpc
19977 wine_fn_config_makefile dlls/wpc/tests enable_tests
19978 wine_fn_config_makefile dlls/wpcap enable_wpcap
19979 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19980 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19981 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19982 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19983 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19984 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19985 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19986 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19987 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19988 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19989 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19990 wine_fn_config_makefile dlls/wuapi enable_wuapi
19991 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19992 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19993 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19994 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19995 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19996 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19997 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19998 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19999 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20000 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20001 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20002 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20003 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20004 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20005 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20006 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20007 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20008 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20009 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20010 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20011 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20012 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20013 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20014 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20015 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20016 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20017 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20018 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20019 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20020 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20021 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20022 wine_fn_config_makefile dlls/xmllite enable_xmllite
20023 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20024 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20025 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20026 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20027 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
20028 wine_fn_config_makefile include enable_include
20029 wine_fn_config_makefile libs/port enable_port
20030 wine_fn_config_makefile libs/wine enable_wine
20031 wine_fn_config_makefile libs/wpp enable_wpp
20032 wine_fn_config_makefile loader enable_loader
20033 wine_fn_config_makefile po enable_po
20034 wine_fn_config_makefile programs/arp enable_arp
20035 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20036 wine_fn_config_makefile programs/attrib enable_attrib
20037 wine_fn_config_makefile programs/cabarc enable_cabarc
20038 wine_fn_config_makefile programs/cacls enable_cacls
20039 wine_fn_config_makefile programs/clock enable_clock
20040 wine_fn_config_makefile programs/cmd enable_cmd
20041 wine_fn_config_makefile programs/cmd/tests enable_tests
20042 wine_fn_config_makefile programs/conhost enable_conhost
20043 wine_fn_config_makefile programs/control enable_control
20044 wine_fn_config_makefile programs/cscript enable_cscript
20045 wine_fn_config_makefile programs/dism enable_dism
20046 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20047 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20048 wine_fn_config_makefile programs/eject enable_eject
20049 wine_fn_config_makefile programs/expand enable_expand
20050 wine_fn_config_makefile programs/explorer enable_explorer
20051 wine_fn_config_makefile programs/extrac32 enable_extrac32
20052 wine_fn_config_makefile programs/fc enable_fc
20053 wine_fn_config_makefile programs/find enable_find
20054 wine_fn_config_makefile programs/findstr enable_findstr
20055 wine_fn_config_makefile programs/fsutil enable_fsutil
20056 wine_fn_config_makefile programs/hh enable_hh
20057 wine_fn_config_makefile programs/hostname enable_hostname
20058 wine_fn_config_makefile programs/icacls enable_icacls
20059 wine_fn_config_makefile programs/icinfo enable_icinfo
20060 wine_fn_config_makefile programs/iexplore enable_iexplore
20061 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20062 wine_fn_config_makefile programs/lodctr enable_lodctr
20063 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20064 wine_fn_config_makefile programs/mshta enable_mshta
20065 wine_fn_config_makefile programs/msiexec enable_msiexec
20066 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20067 wine_fn_config_makefile programs/net enable_net
20068 wine_fn_config_makefile programs/netsh enable_netsh
20069 wine_fn_config_makefile programs/netstat enable_netstat
20070 wine_fn_config_makefile programs/ngen enable_ngen
20071 wine_fn_config_makefile programs/notepad enable_notepad
20072 wine_fn_config_makefile programs/oleview enable_oleview
20073 wine_fn_config_makefile programs/ping enable_ping
20074 wine_fn_config_makefile programs/plugplay enable_plugplay
20075 wine_fn_config_makefile programs/powershell enable_powershell
20076 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20077 wine_fn_config_makefile programs/progman enable_progman
20078 wine_fn_config_makefile programs/reg enable_reg
20079 wine_fn_config_makefile programs/reg/tests enable_tests
20080 wine_fn_config_makefile programs/regasm enable_regasm
20081 wine_fn_config_makefile programs/regedit enable_regedit
20082 wine_fn_config_makefile programs/regedit/tests enable_tests
20083 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20084 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20085 wine_fn_config_makefile programs/rpcss enable_rpcss
20086 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20087 wine_fn_config_makefile programs/rundll32 enable_rundll32
20088 wine_fn_config_makefile programs/sc enable_sc
20089 wine_fn_config_makefile programs/schtasks enable_schtasks
20090 wine_fn_config_makefile programs/schtasks/tests enable_tests
20091 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20092 wine_fn_config_makefile programs/secedit enable_secedit
20093 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20094 wine_fn_config_makefile programs/services enable_services
20095 wine_fn_config_makefile programs/services/tests enable_tests
20096 wine_fn_config_makefile programs/shutdown enable_shutdown
20097 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20098 wine_fn_config_makefile programs/start enable_start
20099 wine_fn_config_makefile programs/subst enable_subst
20100 wine_fn_config_makefile programs/svchost enable_svchost
20101 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20102 wine_fn_config_makefile programs/taskkill enable_taskkill
20103 wine_fn_config_makefile programs/tasklist enable_tasklist
20104 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20105 wine_fn_config_makefile programs/termsv enable_termsv
20106 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20107 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20108 wine_fn_config_makefile programs/view enable_view
20109 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20110 wine_fn_config_makefile programs/wineboot enable_wineboot
20111 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20112 wine_fn_config_makefile programs/winecfg enable_winecfg
20113 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20114 wine_fn_config_makefile programs/winedbg enable_winedbg
20115 wine_fn_config_makefile programs/winedevice enable_winedevice
20116 wine_fn_config_makefile programs/winefile enable_winefile
20117 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20118 wine_fn_config_makefile programs/winemine enable_winemine
20119 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20120 wine_fn_config_makefile programs/winepath enable_winepath
20121 wine_fn_config_makefile programs/winetest enable_winetest
20122 wine_fn_config_makefile programs/winevdm enable_win16
20123 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20124 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20125 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20126 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20127 wine_fn_config_makefile programs/winver enable_winver
20128 wine_fn_config_makefile programs/wmic enable_wmic
20129 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20130 wine_fn_config_makefile programs/wordpad enable_wordpad
20131 wine_fn_config_makefile programs/write enable_write
20132 wine_fn_config_makefile programs/wscript enable_wscript
20133 wine_fn_config_makefile programs/wscript/tests enable_tests
20134 wine_fn_config_makefile programs/wusa enable_wusa
20135 wine_fn_config_makefile programs/xcopy enable_xcopy
20136 wine_fn_config_makefile programs/xcopy/tests enable_tests
20137 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
20138 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20139 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20140 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20141 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20142 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20143 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20144 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20145 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20146 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20149 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20150 wine_fn_append_file CONFIGURE_TARGETS "tags"
20151 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20152 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20153 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20154 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20155 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20156 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20158 if test "x$enable_tools" != xno
20159 then
20160 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20161 ac_config_commands="$ac_config_commands tools/makedep"
20165 ac_config_commands="$ac_config_commands Makefile"
20168 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20172 if test "x$enable_maintainer_mode" = xyes
20173 then
20174 wine_fn_append_rule "configure: configure.ac aclocal.m4
20175 autoconf --warnings=all
20176 include/config.h.in: include/stamp-h.in
20177 include/stamp-h.in: configure.ac aclocal.m4
20178 autoheader --warnings=all
20179 @echo timestamp > \$@"
20182 if test "x$enable_tools" != xno
20183 then
20184 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20185 @./config.status tools/makedep
20186 Makefile: tools/makedep$ac_exeext
20187 fonts: tools/sfnt2fon
20188 include: tools tools/widl"
20189 else
20190 wine_fn_append_rule "\$(MAKEDEP):
20191 @echo \"You need to run make in $TOOLSDIR first\" && false"
20194 if test -n "$with_wine64"
20195 then
20196 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20197 fonts server:
20198 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
20199 $with_wine64/loader/wine:
20200 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20201 $with_wine64/loader/wine-preloader:
20202 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20203 clean::
20204 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20205 else
20206 WINELOADER_INSTALL="wine.inf l_intl.nls"
20208 case $host_os in
20209 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20210 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
20211 esac
20214 $as_echo " done" >&6
20215 cat >confcache <<\_ACEOF
20216 # This file is a shell script that caches the results of configure
20217 # tests run on this system so they can be shared between configure
20218 # scripts and configure runs, see configure's option --config-cache.
20219 # It is not useful on other systems. If it contains results you don't
20220 # want to keep, you may remove or edit it.
20222 # config.status only pays attention to the cache file if you give it
20223 # the --recheck option to rerun configure.
20225 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20226 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20227 # following values.
20229 _ACEOF
20231 # The following way of writing the cache mishandles newlines in values,
20232 # but we know of no workaround that is simple, portable, and efficient.
20233 # So, we kill variables containing newlines.
20234 # Ultrix sh set writes to stderr and can't be redirected directly,
20235 # and sets the high bit in the cache file unless we assign to the vars.
20237 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20238 eval ac_val=\$$ac_var
20239 case $ac_val in #(
20240 *${as_nl}*)
20241 case $ac_var in #(
20242 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20243 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20244 esac
20245 case $ac_var in #(
20246 _ | IFS | as_nl) ;; #(
20247 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20248 *) { eval $ac_var=; unset $ac_var;} ;;
20249 esac ;;
20250 esac
20251 done
20253 (set) 2>&1 |
20254 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20255 *${as_nl}ac_space=\ *)
20256 # `set' does not quote correctly, so add quotes: double-quote
20257 # substitution turns \\\\ into \\, and sed turns \\ into \.
20258 sed -n \
20259 "s/'/'\\\\''/g;
20260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20261 ;; #(
20263 # `set' quotes correctly as required by POSIX, so do not add quotes.
20264 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20266 esac |
20267 sort
20269 sed '
20270 /^ac_cv_env_/b end
20271 t clear
20272 :clear
20273 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20274 t end
20275 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20276 :end' >>confcache
20277 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20278 if test -w "$cache_file"; then
20279 if test "x$cache_file" != "x/dev/null"; then
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20281 $as_echo "$as_me: updating cache $cache_file" >&6;}
20282 if test ! -f "$cache_file" || test -h "$cache_file"; then
20283 cat confcache >"$cache_file"
20284 else
20285 case $cache_file in #(
20286 */* | ?:*)
20287 mv -f confcache "$cache_file"$$ &&
20288 mv -f "$cache_file"$$ "$cache_file" ;; #(
20290 mv -f confcache "$cache_file" ;;
20291 esac
20294 else
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20296 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20299 rm -f confcache
20301 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20302 # Let make expand exec_prefix.
20303 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20305 DEFS=-DHAVE_CONFIG_H
20307 ac_libobjs=
20308 ac_ltlibobjs=
20310 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20311 # 1. Remove the extension, and $U if already installed.
20312 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20313 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20314 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20315 # will be set to the directory where LIBOBJS objects are built.
20316 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20317 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20318 done
20319 LIBOBJS=$ac_libobjs
20321 LTLIBOBJS=$ac_ltlibobjs
20325 : "${CONFIG_STATUS=./config.status}"
20326 ac_write_fail=0
20327 ac_clean_files_save=$ac_clean_files
20328 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20330 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20331 as_write_fail=0
20332 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20333 #! $SHELL
20334 # Generated by $as_me.
20335 # Run this file to recreate the current configuration.
20336 # Compiler output produced by configure, useful for debugging
20337 # configure, is in config.log if it exists.
20339 debug=false
20340 ac_cs_recheck=false
20341 ac_cs_silent=false
20343 SHELL=\${CONFIG_SHELL-$SHELL}
20344 export SHELL
20345 _ASEOF
20346 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20347 ## -------------------- ##
20348 ## M4sh Initialization. ##
20349 ## -------------------- ##
20351 # Be more Bourne compatible
20352 DUALCASE=1; export DUALCASE # for MKS sh
20353 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20354 emulate sh
20355 NULLCMD=:
20356 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20357 # is contrary to our usage. Disable this feature.
20358 alias -g '${1+"$@"}'='"$@"'
20359 setopt NO_GLOB_SUBST
20360 else
20361 case `(set -o) 2>/dev/null` in #(
20362 *posix*) :
20363 set -o posix ;; #(
20364 *) :
20366 esac
20370 as_nl='
20372 export as_nl
20373 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20374 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20375 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20376 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20377 # Prefer a ksh shell builtin over an external printf program on Solaris,
20378 # but without wasting forks for bash or zsh.
20379 if test -z "$BASH_VERSION$ZSH_VERSION" \
20380 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20381 as_echo='print -r --'
20382 as_echo_n='print -rn --'
20383 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20384 as_echo='printf %s\n'
20385 as_echo_n='printf %s'
20386 else
20387 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20388 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20389 as_echo_n='/usr/ucb/echo -n'
20390 else
20391 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20392 as_echo_n_body='eval
20393 arg=$1;
20394 case $arg in #(
20395 *"$as_nl"*)
20396 expr "X$arg" : "X\\(.*\\)$as_nl";
20397 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20398 esac;
20399 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20401 export as_echo_n_body
20402 as_echo_n='sh -c $as_echo_n_body as_echo'
20404 export as_echo_body
20405 as_echo='sh -c $as_echo_body as_echo'
20408 # The user is always right.
20409 if test "${PATH_SEPARATOR+set}" != set; then
20410 PATH_SEPARATOR=:
20411 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20412 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20413 PATH_SEPARATOR=';'
20418 # IFS
20419 # We need space, tab and new line, in precisely that order. Quoting is
20420 # there to prevent editors from complaining about space-tab.
20421 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20422 # splitting by setting IFS to empty value.)
20423 IFS=" "" $as_nl"
20425 # Find who we are. Look in the path if we contain no directory separator.
20426 as_myself=
20427 case $0 in #((
20428 *[\\/]* ) as_myself=$0 ;;
20429 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20430 for as_dir in $PATH
20432 IFS=$as_save_IFS
20433 test -z "$as_dir" && as_dir=.
20434 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20435 done
20436 IFS=$as_save_IFS
20439 esac
20440 # We did not find ourselves, most probably we were run as `sh COMMAND'
20441 # in which case we are not to be found in the path.
20442 if test "x$as_myself" = x; then
20443 as_myself=$0
20445 if test ! -f "$as_myself"; then
20446 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20447 exit 1
20450 # Unset variables that we do not need and which cause bugs (e.g. in
20451 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20452 # suppresses any "Segmentation fault" message there. '((' could
20453 # trigger a bug in pdksh 5.2.14.
20454 for as_var in BASH_ENV ENV MAIL MAILPATH
20455 do eval test x\${$as_var+set} = xset \
20456 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20457 done
20458 PS1='$ '
20459 PS2='> '
20460 PS4='+ '
20462 # NLS nuisances.
20463 LC_ALL=C
20464 export LC_ALL
20465 LANGUAGE=C
20466 export LANGUAGE
20468 # CDPATH.
20469 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20472 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20473 # ----------------------------------------
20474 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20475 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20476 # script with STATUS, using 1 if that was 0.
20477 as_fn_error ()
20479 as_status=$1; test $as_status -eq 0 && as_status=1
20480 if test "$4"; then
20481 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20482 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20484 $as_echo "$as_me: error: $2" >&2
20485 as_fn_exit $as_status
20486 } # as_fn_error
20489 # as_fn_set_status STATUS
20490 # -----------------------
20491 # Set $? to STATUS, without forking.
20492 as_fn_set_status ()
20494 return $1
20495 } # as_fn_set_status
20497 # as_fn_exit STATUS
20498 # -----------------
20499 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20500 as_fn_exit ()
20502 set +e
20503 as_fn_set_status $1
20504 exit $1
20505 } # as_fn_exit
20507 # as_fn_unset VAR
20508 # ---------------
20509 # Portably unset VAR.
20510 as_fn_unset ()
20512 { eval $1=; unset $1;}
20514 as_unset=as_fn_unset
20515 # as_fn_append VAR VALUE
20516 # ----------------------
20517 # Append the text in VALUE to the end of the definition contained in VAR. Take
20518 # advantage of any shell optimizations that allow amortized linear growth over
20519 # repeated appends, instead of the typical quadratic growth present in naive
20520 # implementations.
20521 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20522 eval 'as_fn_append ()
20524 eval $1+=\$2
20526 else
20527 as_fn_append ()
20529 eval $1=\$$1\$2
20531 fi # as_fn_append
20533 # as_fn_arith ARG...
20534 # ------------------
20535 # Perform arithmetic evaluation on the ARGs, and store the result in the
20536 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20537 # must be portable across $(()) and expr.
20538 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20539 eval 'as_fn_arith ()
20541 as_val=$(( $* ))
20543 else
20544 as_fn_arith ()
20546 as_val=`expr "$@" || test $? -eq 1`
20548 fi # as_fn_arith
20551 if expr a : '\(a\)' >/dev/null 2>&1 &&
20552 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20553 as_expr=expr
20554 else
20555 as_expr=false
20558 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20559 as_basename=basename
20560 else
20561 as_basename=false
20564 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20565 as_dirname=dirname
20566 else
20567 as_dirname=false
20570 as_me=`$as_basename -- "$0" ||
20571 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20572 X"$0" : 'X\(//\)$' \| \
20573 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20574 $as_echo X/"$0" |
20575 sed '/^.*\/\([^/][^/]*\)\/*$/{
20576 s//\1/
20579 /^X\/\(\/\/\)$/{
20580 s//\1/
20583 /^X\/\(\/\).*/{
20584 s//\1/
20587 s/.*/./; q'`
20589 # Avoid depending upon Character Ranges.
20590 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20591 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20592 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20593 as_cr_digits='0123456789'
20594 as_cr_alnum=$as_cr_Letters$as_cr_digits
20596 ECHO_C= ECHO_N= ECHO_T=
20597 case `echo -n x` in #(((((
20598 -n*)
20599 case `echo 'xy\c'` in
20600 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20601 xy) ECHO_C='\c';;
20602 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20603 ECHO_T=' ';;
20604 esac;;
20606 ECHO_N='-n';;
20607 esac
20609 rm -f conf$$ conf$$.exe conf$$.file
20610 if test -d conf$$.dir; then
20611 rm -f conf$$.dir/conf$$.file
20612 else
20613 rm -f conf$$.dir
20614 mkdir conf$$.dir 2>/dev/null
20616 if (echo >conf$$.file) 2>/dev/null; then
20617 if ln -s conf$$.file conf$$ 2>/dev/null; then
20618 as_ln_s='ln -s'
20619 # ... but there are two gotchas:
20620 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20621 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20622 # In both cases, we have to default to `cp -pR'.
20623 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20624 as_ln_s='cp -pR'
20625 elif ln conf$$.file conf$$ 2>/dev/null; then
20626 as_ln_s=ln
20627 else
20628 as_ln_s='cp -pR'
20630 else
20631 as_ln_s='cp -pR'
20633 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20634 rmdir conf$$.dir 2>/dev/null
20637 # as_fn_mkdir_p
20638 # -------------
20639 # Create "$as_dir" as a directory, including parents if necessary.
20640 as_fn_mkdir_p ()
20643 case $as_dir in #(
20644 -*) as_dir=./$as_dir;;
20645 esac
20646 test -d "$as_dir" || eval $as_mkdir_p || {
20647 as_dirs=
20648 while :; do
20649 case $as_dir in #(
20650 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20651 *) as_qdir=$as_dir;;
20652 esac
20653 as_dirs="'$as_qdir' $as_dirs"
20654 as_dir=`$as_dirname -- "$as_dir" ||
20655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20656 X"$as_dir" : 'X\(//\)[^/]' \| \
20657 X"$as_dir" : 'X\(//\)$' \| \
20658 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20659 $as_echo X"$as_dir" |
20660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20661 s//\1/
20664 /^X\(\/\/\)[^/].*/{
20665 s//\1/
20668 /^X\(\/\/\)$/{
20669 s//\1/
20672 /^X\(\/\).*/{
20673 s//\1/
20676 s/.*/./; q'`
20677 test -d "$as_dir" && break
20678 done
20679 test -z "$as_dirs" || eval "mkdir $as_dirs"
20680 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20683 } # as_fn_mkdir_p
20684 if mkdir -p . 2>/dev/null; then
20685 as_mkdir_p='mkdir -p "$as_dir"'
20686 else
20687 test -d ./-p && rmdir ./-p
20688 as_mkdir_p=false
20692 # as_fn_executable_p FILE
20693 # -----------------------
20694 # Test if FILE is an executable regular file.
20695 as_fn_executable_p ()
20697 test -f "$1" && test -x "$1"
20698 } # as_fn_executable_p
20699 as_test_x='test -x'
20700 as_executable_p=as_fn_executable_p
20702 # Sed expression to map a string onto a valid CPP name.
20703 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20705 # Sed expression to map a string onto a valid variable name.
20706 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20709 exec 6>&1
20710 ## ----------------------------------- ##
20711 ## Main body of $CONFIG_STATUS script. ##
20712 ## ----------------------------------- ##
20713 _ASEOF
20714 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20717 # Save the log message, to keep $0 and so on meaningful, and to
20718 # report actual input values of CONFIG_FILES etc. instead of their
20719 # values after options handling.
20720 ac_log="
20721 This file was extended by Wine $as_me 3.19, which was
20722 generated by GNU Autoconf 2.69. Invocation command line was
20724 CONFIG_FILES = $CONFIG_FILES
20725 CONFIG_HEADERS = $CONFIG_HEADERS
20726 CONFIG_LINKS = $CONFIG_LINKS
20727 CONFIG_COMMANDS = $CONFIG_COMMANDS
20728 $ $0 $@
20730 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20733 _ACEOF
20735 case $ac_config_files in *"
20736 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20737 esac
20739 case $ac_config_headers in *"
20740 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20741 esac
20744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20745 # Files that config.status was made for.
20746 config_files="$ac_config_files"
20747 config_headers="$ac_config_headers"
20748 config_links="$ac_config_links"
20749 config_commands="$ac_config_commands"
20751 _ACEOF
20753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20754 ac_cs_usage="\
20755 \`$as_me' instantiates files and other configuration actions
20756 from templates according to the current configuration. Unless the files
20757 and actions are specified as TAGs, all are instantiated by default.
20759 Usage: $0 [OPTION]... [TAG]...
20761 -h, --help print this help, then exit
20762 -V, --version print version number and configuration settings, then exit
20763 --config print configuration, then exit
20764 -q, --quiet, --silent
20765 do not print progress messages
20766 -d, --debug don't remove temporary files
20767 --recheck update $as_me by reconfiguring in the same conditions
20768 --file=FILE[:TEMPLATE]
20769 instantiate the configuration file FILE
20770 --header=FILE[:TEMPLATE]
20771 instantiate the configuration header FILE
20773 Configuration files:
20774 $config_files
20776 Configuration headers:
20777 $config_headers
20779 Configuration links:
20780 $config_links
20782 Configuration commands:
20783 $config_commands
20785 Report bugs to <wine-devel@winehq.org>.
20786 Wine home page: <https://www.winehq.org>."
20788 _ACEOF
20789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20790 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20791 ac_cs_version="\\
20792 Wine config.status 3.19
20793 configured by $0, generated by GNU Autoconf 2.69,
20794 with options \\"\$ac_cs_config\\"
20796 Copyright (C) 2012 Free Software Foundation, Inc.
20797 This config.status script is free software; the Free Software Foundation
20798 gives unlimited permission to copy, distribute and modify it."
20800 ac_pwd='$ac_pwd'
20801 srcdir='$srcdir'
20802 test -n "\$AWK" || AWK=awk
20803 _ACEOF
20805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20806 # The default lists apply if the user does not specify any file.
20807 ac_need_defaults=:
20808 while test $# != 0
20810 case $1 in
20811 --*=?*)
20812 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20813 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20814 ac_shift=:
20816 --*=)
20817 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20818 ac_optarg=
20819 ac_shift=:
20822 ac_option=$1
20823 ac_optarg=$2
20824 ac_shift=shift
20826 esac
20828 case $ac_option in
20829 # Handling of the options.
20830 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20831 ac_cs_recheck=: ;;
20832 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20833 $as_echo "$ac_cs_version"; exit ;;
20834 --config | --confi | --conf | --con | --co | --c )
20835 $as_echo "$ac_cs_config"; exit ;;
20836 --debug | --debu | --deb | --de | --d | -d )
20837 debug=: ;;
20838 --file | --fil | --fi | --f )
20839 $ac_shift
20840 case $ac_optarg in
20841 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20842 '') as_fn_error $? "missing file argument" ;;
20843 esac
20844 as_fn_append CONFIG_FILES " '$ac_optarg'"
20845 ac_need_defaults=false;;
20846 --header | --heade | --head | --hea )
20847 $ac_shift
20848 case $ac_optarg in
20849 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20850 esac
20851 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20852 ac_need_defaults=false;;
20853 --he | --h)
20854 # Conflict between --help and --header
20855 as_fn_error $? "ambiguous option: \`$1'
20856 Try \`$0 --help' for more information.";;
20857 --help | --hel | -h )
20858 $as_echo "$ac_cs_usage"; exit ;;
20859 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20860 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20861 ac_cs_silent=: ;;
20863 # This is an error.
20864 -*) as_fn_error $? "unrecognized option: \`$1'
20865 Try \`$0 --help' for more information." ;;
20867 *) as_fn_append ac_config_targets " $1"
20868 ac_need_defaults=false ;;
20870 esac
20871 shift
20872 done
20874 ac_configure_extra_args=
20876 if $ac_cs_silent; then
20877 exec 6>/dev/null
20878 ac_configure_extra_args="$ac_configure_extra_args --silent"
20881 _ACEOF
20882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20883 if \$ac_cs_recheck; then
20884 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20885 shift
20886 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20887 CONFIG_SHELL='$SHELL'
20888 export CONFIG_SHELL
20889 exec "\$@"
20892 _ACEOF
20893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20894 exec 5>>config.log
20896 echo
20897 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20898 ## Running $as_me. ##
20899 _ASBOX
20900 $as_echo "$ac_log"
20901 } >&5
20903 _ACEOF
20904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20906 # INIT-COMMANDS
20908 wine_fn_output_makedep ()
20910 as_dir=tools; as_fn_mkdir_p
20911 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20913 wine_fn_output_makefile ()
20915 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20916 `cat $wine_rules_file`
20917 _WINE_EOF
20918 as_fn_error $? "could not create Makefile" "$LINENO" 5
20921 _ACEOF
20923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20925 # Handling of arguments.
20926 for ac_config_target in $ac_config_targets
20928 case $ac_config_target in
20929 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20930 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20931 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20932 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20933 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20934 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20935 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20936 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20937 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20938 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20939 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20940 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20941 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20943 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20944 esac
20945 done
20948 # If the user did not use the arguments to specify the items to instantiate,
20949 # then the envvar interface is used. Set only those that are not.
20950 # We use the long form for the default assignment because of an extremely
20951 # bizarre bug on SunOS 4.1.3.
20952 if $ac_need_defaults; then
20953 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20954 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20955 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20956 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20959 # Have a temporary directory for convenience. Make it in the build tree
20960 # simply because there is no reason against having it here, and in addition,
20961 # creating and moving files from /tmp can sometimes cause problems.
20962 # Hook for its removal unless debugging.
20963 # Note that there is a small window in which the directory will not be cleaned:
20964 # after its creation but before its name has been assigned to `$tmp'.
20965 $debug ||
20967 tmp= ac_tmp=
20968 trap 'exit_status=$?
20969 : "${ac_tmp:=$tmp}"
20970 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20972 trap 'as_fn_exit 1' 1 2 13 15
20974 # Create a (secure) tmp directory for tmp files.
20977 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20978 test -d "$tmp"
20979 } ||
20981 tmp=./conf$$-$RANDOM
20982 (umask 077 && mkdir "$tmp")
20983 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20984 ac_tmp=$tmp
20986 # Set up the scripts for CONFIG_FILES section.
20987 # No need to generate them if there are no CONFIG_FILES.
20988 # This happens for instance with `./config.status config.h'.
20989 if test -n "$CONFIG_FILES"; then
20992 ac_cr=`echo X | tr X '\015'`
20993 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20994 # But we know of no other shell where ac_cr would be empty at this
20995 # point, so we can use a bashism as a fallback.
20996 if test "x$ac_cr" = x; then
20997 eval ac_cr=\$\'\\r\'
20999 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21000 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21001 ac_cs_awk_cr='\\r'
21002 else
21003 ac_cs_awk_cr=$ac_cr
21006 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21007 _ACEOF
21011 echo "cat >conf$$subs.awk <<_ACEOF" &&
21012 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21013 echo "_ACEOF"
21014 } >conf$$subs.sh ||
21015 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21016 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21017 ac_delim='%!_!# '
21018 for ac_last_try in false false false false false :; do
21019 . ./conf$$subs.sh ||
21020 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21022 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21023 if test $ac_delim_n = $ac_delim_num; then
21024 break
21025 elif $ac_last_try; then
21026 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21027 else
21028 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21030 done
21031 rm -f conf$$subs.sh
21033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21034 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21035 _ACEOF
21036 sed -n '
21038 s/^/S["/; s/!.*/"]=/
21041 s/^[^!]*!//
21042 :repl
21043 t repl
21044 s/'"$ac_delim"'$//
21045 t delim
21048 s/\(.\{148\}\)..*/\1/
21049 t more1
21050 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21053 b repl
21054 :more1
21055 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21058 s/.\{148\}//
21059 t nl
21060 :delim
21062 s/\(.\{148\}\)..*/\1/
21063 t more2
21064 s/["\\]/\\&/g; s/^/"/; s/$/"/
21067 :more2
21068 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21071 s/.\{148\}//
21072 t delim
21073 ' <conf$$subs.awk | sed '
21074 /^[^""]/{
21076 s/\n//
21078 ' >>$CONFIG_STATUS || ac_write_fail=1
21079 rm -f conf$$subs.awk
21080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21081 _ACAWK
21082 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21083 for (key in S) S_is_set[key] = 1
21084 FS = "\a"
21088 line = $ 0
21089 nfields = split(line, field, "@")
21090 substed = 0
21091 len = length(field[1])
21092 for (i = 2; i < nfields; i++) {
21093 key = field[i]
21094 keylen = length(key)
21095 if (S_is_set[key]) {
21096 value = S[key]
21097 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21098 len += length(value) + length(field[++i])
21099 substed = 1
21100 } else
21101 len += 1 + keylen
21104 print line
21107 _ACAWK
21108 _ACEOF
21109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21110 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21111 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21112 else
21114 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21115 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21116 _ACEOF
21118 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21119 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21120 # trailing colons and then remove the whole line if VPATH becomes empty
21121 # (actually we leave an empty line to preserve line numbers).
21122 if test "x$srcdir" = x.; then
21123 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21125 s///
21126 s/^/:/
21127 s/[ ]*$/:/
21128 s/:\$(srcdir):/:/g
21129 s/:\${srcdir}:/:/g
21130 s/:@srcdir@:/:/g
21131 s/^:*//
21132 s/:*$//
21134 s/\(=[ ]*\).*/\1/
21136 s/\n//
21137 s/^[^=]*=[ ]*$//
21141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21142 fi # test -n "$CONFIG_FILES"
21144 # Set up the scripts for CONFIG_HEADERS section.
21145 # No need to generate them if there are no CONFIG_HEADERS.
21146 # This happens for instance with `./config.status Makefile'.
21147 if test -n "$CONFIG_HEADERS"; then
21148 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21149 BEGIN {
21150 _ACEOF
21152 # Transform confdefs.h into an awk script `defines.awk', embedded as
21153 # here-document in config.status, that substitutes the proper values into
21154 # config.h.in to produce config.h.
21156 # Create a delimiter string that does not exist in confdefs.h, to ease
21157 # handling of long lines.
21158 ac_delim='%!_!# '
21159 for ac_last_try in false false :; do
21160 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21161 if test -z "$ac_tt"; then
21162 break
21163 elif $ac_last_try; then
21164 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21165 else
21166 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21168 done
21170 # For the awk script, D is an array of macro values keyed by name,
21171 # likewise P contains macro parameters if any. Preserve backslash
21172 # newline sequences.
21174 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21175 sed -n '
21176 s/.\{148\}/&'"$ac_delim"'/g
21177 t rset
21178 :rset
21179 s/^[ ]*#[ ]*define[ ][ ]*/ /
21180 t def
21182 :def
21183 s/\\$//
21184 t bsnl
21185 s/["\\]/\\&/g
21186 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21187 D["\1"]=" \3"/p
21188 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21190 :bsnl
21191 s/["\\]/\\&/g
21192 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21193 D["\1"]=" \3\\\\\\n"\\/p
21194 t cont
21195 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21196 t cont
21198 :cont
21200 s/.\{148\}/&'"$ac_delim"'/g
21201 t clear
21202 :clear
21203 s/\\$//
21204 t bsnlc
21205 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21207 :bsnlc
21208 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21209 b cont
21210 ' <confdefs.h | sed '
21211 s/'"$ac_delim"'/"\\\
21212 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21215 for (key in D) D_is_set[key] = 1
21216 FS = "\a"
21218 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21219 line = \$ 0
21220 split(line, arg, " ")
21221 if (arg[1] == "#") {
21222 defundef = arg[2]
21223 mac1 = arg[3]
21224 } else {
21225 defundef = substr(arg[1], 2)
21226 mac1 = arg[2]
21228 split(mac1, mac2, "(") #)
21229 macro = mac2[1]
21230 prefix = substr(line, 1, index(line, defundef) - 1)
21231 if (D_is_set[macro]) {
21232 # Preserve the white space surrounding the "#".
21233 print prefix "define", macro P[macro] D[macro]
21234 next
21235 } else {
21236 # Replace #undef with comments. This is necessary, for example,
21237 # in the case of _POSIX_SOURCE, which is predefined and required
21238 # on some systems where configure will not decide to define it.
21239 if (defundef == "undef") {
21240 print "/*", prefix defundef, macro, "*/"
21241 next
21245 { print }
21246 _ACAWK
21247 _ACEOF
21248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21249 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21250 fi # test -n "$CONFIG_HEADERS"
21253 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21254 shift
21255 for ac_tag
21257 case $ac_tag in
21258 :[FHLC]) ac_mode=$ac_tag; continue;;
21259 esac
21260 case $ac_mode$ac_tag in
21261 :[FHL]*:*);;
21262 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21263 :[FH]-) ac_tag=-:-;;
21264 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21265 esac
21266 ac_save_IFS=$IFS
21267 IFS=:
21268 set x $ac_tag
21269 IFS=$ac_save_IFS
21270 shift
21271 ac_file=$1
21272 shift
21274 case $ac_mode in
21275 :L) ac_source=$1;;
21276 :[FH])
21277 ac_file_inputs=
21278 for ac_f
21280 case $ac_f in
21281 -) ac_f="$ac_tmp/stdin";;
21282 *) # Look for the file first in the build tree, then in the source tree
21283 # (if the path is not absolute). The absolute path cannot be DOS-style,
21284 # because $ac_f cannot contain `:'.
21285 test -f "$ac_f" ||
21286 case $ac_f in
21287 [\\/$]*) false;;
21288 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21289 esac ||
21290 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21291 esac
21292 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21293 as_fn_append ac_file_inputs " '$ac_f'"
21294 done
21296 # Let's still pretend it is `configure' which instantiates (i.e., don't
21297 # use $as_me), people would be surprised to read:
21298 # /* config.h. Generated by config.status. */
21299 configure_input='Generated from '`
21300 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21301 `' by configure.'
21302 if test x"$ac_file" != x-; then
21303 configure_input="$ac_file. $configure_input"
21304 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21305 $as_echo "$as_me: creating $ac_file" >&6;}
21307 # Neutralize special characters interpreted by sed in replacement strings.
21308 case $configure_input in #(
21309 *\&* | *\|* | *\\* )
21310 ac_sed_conf_input=`$as_echo "$configure_input" |
21311 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21312 *) ac_sed_conf_input=$configure_input;;
21313 esac
21315 case $ac_tag in
21316 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21317 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21318 esac
21320 esac
21322 ac_dir=`$as_dirname -- "$ac_file" ||
21323 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21324 X"$ac_file" : 'X\(//\)[^/]' \| \
21325 X"$ac_file" : 'X\(//\)$' \| \
21326 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21327 $as_echo X"$ac_file" |
21328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21329 s//\1/
21332 /^X\(\/\/\)[^/].*/{
21333 s//\1/
21336 /^X\(\/\/\)$/{
21337 s//\1/
21340 /^X\(\/\).*/{
21341 s//\1/
21344 s/.*/./; q'`
21345 as_dir="$ac_dir"; as_fn_mkdir_p
21346 ac_builddir=.
21348 case "$ac_dir" in
21349 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21351 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21352 # A ".." for each directory in $ac_dir_suffix.
21353 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21354 case $ac_top_builddir_sub in
21355 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21356 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21357 esac ;;
21358 esac
21359 ac_abs_top_builddir=$ac_pwd
21360 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21361 # for backward compatibility:
21362 ac_top_builddir=$ac_top_build_prefix
21364 case $srcdir in
21365 .) # We are building in place.
21366 ac_srcdir=.
21367 ac_top_srcdir=$ac_top_builddir_sub
21368 ac_abs_top_srcdir=$ac_pwd ;;
21369 [\\/]* | ?:[\\/]* ) # Absolute name.
21370 ac_srcdir=$srcdir$ac_dir_suffix;
21371 ac_top_srcdir=$srcdir
21372 ac_abs_top_srcdir=$srcdir ;;
21373 *) # Relative name.
21374 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21375 ac_top_srcdir=$ac_top_build_prefix$srcdir
21376 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21377 esac
21378 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21381 case $ac_mode in
21384 # CONFIG_FILE
21387 _ACEOF
21389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21390 # If the template does not know about datarootdir, expand it.
21391 # FIXME: This hack should be removed a few years after 2.60.
21392 ac_datarootdir_hack=; ac_datarootdir_seen=
21393 ac_sed_dataroot='
21394 /datarootdir/ {
21398 /@datadir@/p
21399 /@docdir@/p
21400 /@infodir@/p
21401 /@localedir@/p
21402 /@mandir@/p'
21403 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21404 *datarootdir*) ac_datarootdir_seen=yes;;
21405 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21407 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21408 _ACEOF
21409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21410 ac_datarootdir_hack='
21411 s&@datadir@&$datadir&g
21412 s&@docdir@&$docdir&g
21413 s&@infodir@&$infodir&g
21414 s&@localedir@&$localedir&g
21415 s&@mandir@&$mandir&g
21416 s&\\\${datarootdir}&$datarootdir&g' ;;
21417 esac
21418 _ACEOF
21420 # Neutralize VPATH when `$srcdir' = `.'.
21421 # Shell code in configure.ac might set extrasub.
21422 # FIXME: do we really want to maintain this feature?
21423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21424 ac_sed_extra="$ac_vpsub
21425 $extrasub
21426 _ACEOF
21427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21429 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21430 s|@configure_input@|$ac_sed_conf_input|;t t
21431 s&@top_builddir@&$ac_top_builddir_sub&;t t
21432 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21433 s&@srcdir@&$ac_srcdir&;t t
21434 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21435 s&@top_srcdir@&$ac_top_srcdir&;t t
21436 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21437 s&@builddir@&$ac_builddir&;t t
21438 s&@abs_builddir@&$ac_abs_builddir&;t t
21439 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21440 $ac_datarootdir_hack
21442 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21443 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21445 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21446 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21447 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21448 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21450 which seems to be undefined. Please make sure it is defined" >&5
21451 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21452 which seems to be undefined. Please make sure it is defined" >&2;}
21454 rm -f "$ac_tmp/stdin"
21455 case $ac_file in
21456 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21457 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21458 esac \
21459 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21463 # CONFIG_HEADER
21465 if test x"$ac_file" != x-; then
21467 $as_echo "/* $configure_input */" \
21468 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21469 } >"$ac_tmp/config.h" \
21470 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21471 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21473 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21474 else
21475 rm -f "$ac_file"
21476 mv "$ac_tmp/config.h" "$ac_file" \
21477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21479 else
21480 $as_echo "/* $configure_input */" \
21481 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21482 || as_fn_error $? "could not create -" "$LINENO" 5
21487 # CONFIG_LINK
21490 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21492 else
21493 # Prefer the file from the source tree if names are identical.
21494 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21495 ac_source=$srcdir/$ac_source
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21499 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21501 if test ! -r "$ac_source"; then
21502 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21504 rm -f "$ac_file"
21506 # Try a relative symlink, then a hard link, then a copy.
21507 case $ac_source in
21508 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21509 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21510 esac
21511 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21512 ln "$ac_source" "$ac_file" 2>/dev/null ||
21513 cp -p "$ac_source" "$ac_file" ||
21514 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21517 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21518 $as_echo "$as_me: executing $ac_file commands" >&6;}
21520 esac
21523 case $ac_file$ac_mode in
21524 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21525 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21526 "Makefile":C) wine_fn_output_makefile Makefile ;;
21528 esac
21529 done # for ac_tag
21532 as_fn_exit 0
21533 _ACEOF
21534 ac_clean_files=$ac_clean_files_save
21536 test $ac_write_fail = 0 ||
21537 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21540 # configure is writing to config.log, and then calls config.status.
21541 # config.status does its own redirection, appending to config.log.
21542 # Unfortunately, on DOS this fails, as config.log is still kept open
21543 # by configure, so config.status won't be able to write to it; its
21544 # output is simply discarded. So we exec the FD to /dev/null,
21545 # effectively closing config.log, so it can be properly (re)opened and
21546 # appended to by config.status. When coming back to configure, we
21547 # need to make the FD available again.
21548 if test "$no_create" != yes; then
21549 ac_cs_success=:
21550 ac_config_status_args=
21551 test "$silent" = yes &&
21552 ac_config_status_args="$ac_config_status_args --quiet"
21553 exec 5>/dev/null
21554 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21555 exec 5>>config.log
21556 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21557 # would make configure fail if this is the last instruction.
21558 $ac_cs_success || as_fn_exit 1
21560 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21562 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21566 if test "$no_create" = "yes"
21567 then
21568 exit 0
21571 ac_save_IFS="$IFS"
21572 if test "x$wine_notices" != x; then
21573 echo >&6
21574 IFS="|"
21575 for msg in $wine_notices; do
21576 IFS="$ac_save_IFS"
21577 if ${msg:+false} :; then :
21579 else
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21581 $as_echo "$as_me: $msg" >&6;}
21583 done
21585 IFS="|"
21586 for msg in $wine_warnings; do
21587 IFS="$ac_save_IFS"
21588 if ${msg:+false} :; then :
21590 else
21591 echo >&2
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21593 $as_echo "$as_me: WARNING: $msg" >&2;}
21595 done
21596 IFS="$ac_save_IFS"
21598 $as_echo "
21599 $as_me: Finished. Do '${ac_make}' to compile Wine.
21600 " >&6