widl: Prefer types defined in the same typelib to imported types.
[wine.git] / configure
blob2960b34c935439f87305a58cce54bc03c7405f39
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.9.
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.9'
584 PACKAGE_STRING='Wine 3.9'
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 CARBON_LIBS
709 QUICKTIME_LIBS
710 OPENCL_LIBS
711 OPENAL_LIBS
712 COREAUDIO_LIBS
713 SECURITY_LIBS
714 DISKARBITRATION_LIBS
715 APPKIT_LIBS
716 CORESERVICES_LIBS
717 APPLICATIONSERVICES_LIBS
718 FORCEFEEDBACK_LIBS
719 IOKIT_LIBS
720 COREFOUNDATION_LIBS
721 LIBWINE_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_INSTALL_DEV
724 LIBWINE_INSTALL_LIB
725 LIBWINE_IMPORTLIB
726 LIBWINE_SHAREDLIB
727 SOCKET_LIBS
728 DLLTOOL
729 WINELOADER_PROGRAMS
730 CONFIGURE_TARGETS
731 DISABLED_SUBDIRS
732 SUBDIRS
733 READELF
734 OTOOL
736 WINELOADER_LDFLAGS
737 LDEXECFLAGS
738 LDRPATH_LOCAL
739 LDRPATH_INSTALL
740 DLLFLAGS
742 OPENGL_LIBS
743 ICOTOOL
744 CONVERT
745 RSVG
746 FONTFORGE
747 PKG_CONFIG
748 MSGFMT
749 LDCONFIG
750 EGREP
751 GREP
752 LN_S
753 RANLIB
754 ARFLAGS
755 STRIP
756 ac_ct_AR
758 BISON
759 FLEX
760 TOOLSDIR
761 wine64_disable
762 TARGETFLAGS
764 CPPBIN
765 ac_ct_CXX
766 CXXFLAGS
768 OBJEXT
769 EXEEXT
770 ac_ct_CC
771 CPPFLAGS
772 LDFLAGS
773 CFLAGS
775 SET_MAKE
776 host_os
777 host_vendor
778 host_cpu
779 host
780 build_os
781 build_vendor
782 build_cpu
783 build
784 target_alias
785 host_alias
786 build_alias
787 LIBS
788 ECHO_T
789 ECHO_N
790 ECHO_C
791 DEFS
792 mandir
793 localedir
794 libdir
795 psdir
796 pdfdir
797 dvidir
798 htmldir
799 infodir
800 docdir
801 oldincludedir
802 includedir
803 runstatedir
804 localstatedir
805 sharedstatedir
806 sysconfdir
807 datadir
808 datarootdir
809 libexecdir
810 sbindir
811 bindir
812 program_transform_name
813 prefix
814 exec_prefix
815 PACKAGE_URL
816 PACKAGE_BUGREPORT
817 PACKAGE_STRING
818 PACKAGE_VERSION
819 PACKAGE_TARNAME
820 PACKAGE_NAME
821 PATH_SEPARATOR
822 SHELL'
823 ac_subst_files=''
824 ac_user_opts='
825 enable_option_checking
826 enable_win16
827 enable_win64
828 enable_tests
829 enable_maintainer_mode
830 with_alsa
831 with_capi
832 with_cms
833 with_coreaudio
834 with_cups
835 with_curses
836 with_dbus
837 with_float_abi
838 with_fontconfig
839 with_freetype
840 with_gettext
841 with_gettextpo
842 with_gphoto
843 with_glu
844 with_gnutls
845 with_gsm
846 with_gssapi
847 with_gstreamer
848 with_hal
849 with_jpeg
850 with_krb5
851 with_ldap
852 with_mpg123
853 with_netapi
854 with_openal
855 with_opencl
856 with_opengl
857 with_osmesa
858 with_oss
859 with_pcap
860 with_png
861 with_pthread
862 with_pulse
863 with_sane
864 with_sdl
865 with_tiff
866 with_udev
867 with_v4l
868 with_vkd3d
869 with_vulkan
870 with_xcomposite
871 with_xcursor
872 with_xfixes
873 with_xinerama
874 with_xinput
875 with_xinput2
876 with_xml
877 with_xrandr
878 with_xrender
879 with_xshape
880 with_xshm
881 with_xslt
882 with_xxf86vm
883 with_zlib
884 with_wine_tools
885 with_wine64
886 enable_largefile
887 with_x
888 enable_acledit
889 enable_aclui
890 enable_activeds
891 enable_actxprxy
892 enable_adsiid
893 enable_adsldp
894 enable_adsldpc
895 enable_advapi32
896 enable_advpack
897 enable_amstream
898 enable_api_ms_win_appmodel_identity_l1_1_0
899 enable_api_ms_win_appmodel_runtime_l1_1_1
900 enable_api_ms_win_appmodel_runtime_l1_1_2
901 enable_api_ms_win_core_apiquery_l1_1_0
902 enable_api_ms_win_core_appcompat_l1_1_1
903 enable_api_ms_win_core_appinit_l1_1_0
904 enable_api_ms_win_core_atoms_l1_1_0
905 enable_api_ms_win_core_bem_l1_1_0
906 enable_api_ms_win_core_com_l1_1_0
907 enable_api_ms_win_core_com_l1_1_1
908 enable_api_ms_win_core_com_private_l1_1_0
909 enable_api_ms_win_core_console_l1_1_0
910 enable_api_ms_win_core_console_l2_1_0
911 enable_api_ms_win_core_crt_l1_1_0
912 enable_api_ms_win_core_crt_l2_1_0
913 enable_api_ms_win_core_datetime_l1_1_0
914 enable_api_ms_win_core_datetime_l1_1_1
915 enable_api_ms_win_core_debug_l1_1_0
916 enable_api_ms_win_core_debug_l1_1_1
917 enable_api_ms_win_core_delayload_l1_1_0
918 enable_api_ms_win_core_delayload_l1_1_1
919 enable_api_ms_win_core_errorhandling_l1_1_0
920 enable_api_ms_win_core_errorhandling_l1_1_1
921 enable_api_ms_win_core_errorhandling_l1_1_2
922 enable_api_ms_win_core_errorhandling_l1_1_3
923 enable_api_ms_win_core_fibers_l1_1_0
924 enable_api_ms_win_core_fibers_l1_1_1
925 enable_api_ms_win_core_file_l1_1_0
926 enable_api_ms_win_core_file_l1_2_0
927 enable_api_ms_win_core_file_l1_2_1
928 enable_api_ms_win_core_file_l1_2_2
929 enable_api_ms_win_core_file_l2_1_0
930 enable_api_ms_win_core_file_l2_1_1
931 enable_api_ms_win_core_file_l2_1_2
932 enable_api_ms_win_core_handle_l1_1_0
933 enable_api_ms_win_core_heap_l1_1_0
934 enable_api_ms_win_core_heap_l1_2_0
935 enable_api_ms_win_core_heap_l2_1_0
936 enable_api_ms_win_core_heap_obsolete_l1_1_0
937 enable_api_ms_win_core_interlocked_l1_1_0
938 enable_api_ms_win_core_interlocked_l1_2_0
939 enable_api_ms_win_core_io_l1_1_0
940 enable_api_ms_win_core_io_l1_1_1
941 enable_api_ms_win_core_job_l1_1_0
942 enable_api_ms_win_core_job_l2_1_0
943 enable_api_ms_win_core_kernel32_legacy_l1_1_0
944 enable_api_ms_win_core_kernel32_legacy_l1_1_1
945 enable_api_ms_win_core_kernel32_private_l1_1_1
946 enable_api_ms_win_core_largeinteger_l1_1_0
947 enable_api_ms_win_core_libraryloader_l1_1_0
948 enable_api_ms_win_core_libraryloader_l1_1_1
949 enable_api_ms_win_core_libraryloader_l1_2_0
950 enable_api_ms_win_core_libraryloader_l1_2_1
951 enable_api_ms_win_core_libraryloader_l1_2_2
952 enable_api_ms_win_core_localization_l1_1_0
953 enable_api_ms_win_core_localization_l1_2_0
954 enable_api_ms_win_core_localization_l1_2_1
955 enable_api_ms_win_core_localization_l2_1_0
956 enable_api_ms_win_core_localization_obsolete_l1_1_0
957 enable_api_ms_win_core_localization_obsolete_l1_2_0
958 enable_api_ms_win_core_localization_obsolete_l1_3_0
959 enable_api_ms_win_core_localization_private_l1_1_0
960 enable_api_ms_win_core_localregistry_l1_1_0
961 enable_api_ms_win_core_memory_l1_1_0
962 enable_api_ms_win_core_memory_l1_1_1
963 enable_api_ms_win_core_memory_l1_1_2
964 enable_api_ms_win_core_misc_l1_1_0
965 enable_api_ms_win_core_namedpipe_l1_1_0
966 enable_api_ms_win_core_namedpipe_l1_2_0
967 enable_api_ms_win_core_namespace_l1_1_0
968 enable_api_ms_win_core_normalization_l1_1_0
969 enable_api_ms_win_core_path_l1_1_0
970 enable_api_ms_win_core_privateprofile_l1_1_1
971 enable_api_ms_win_core_processenvironment_l1_1_0
972 enable_api_ms_win_core_processenvironment_l1_2_0
973 enable_api_ms_win_core_processthreads_l1_1_0
974 enable_api_ms_win_core_processthreads_l1_1_1
975 enable_api_ms_win_core_processthreads_l1_1_2
976 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
977 enable_api_ms_win_core_profile_l1_1_0
978 enable_api_ms_win_core_psapi_ansi_l1_1_0
979 enable_api_ms_win_core_psapi_l1_1_0
980 enable_api_ms_win_core_psapi_obsolete_l1_1_0
981 enable_api_ms_win_core_quirks_l1_1_0
982 enable_api_ms_win_core_realtime_l1_1_0
983 enable_api_ms_win_core_registry_l1_1_0
984 enable_api_ms_win_core_registry_l2_1_0
985 enable_api_ms_win_core_registryuserspecific_l1_1_0
986 enable_api_ms_win_core_rtlsupport_l1_1_0
987 enable_api_ms_win_core_rtlsupport_l1_2_0
988 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
989 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
990 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
991 enable_api_ms_win_core_shutdown_l1_1_0
992 enable_api_ms_win_core_sidebyside_l1_1_0
993 enable_api_ms_win_core_string_l1_1_0
994 enable_api_ms_win_core_string_l2_1_0
995 enable_api_ms_win_core_string_obsolete_l1_1_0
996 enable_api_ms_win_core_stringansi_l1_1_0
997 enable_api_ms_win_core_synch_ansi_l1_1_0
998 enable_api_ms_win_core_synch_l1_1_0
999 enable_api_ms_win_core_synch_l1_2_0
1000 enable_api_ms_win_core_synch_l1_2_1
1001 enable_api_ms_win_core_sysinfo_l1_1_0
1002 enable_api_ms_win_core_sysinfo_l1_2_0
1003 enable_api_ms_win_core_sysinfo_l1_2_1
1004 enable_api_ms_win_core_threadpool_l1_1_0
1005 enable_api_ms_win_core_threadpool_l1_2_0
1006 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1007 enable_api_ms_win_core_threadpool_private_l1_1_0
1008 enable_api_ms_win_core_timezone_l1_1_0
1009 enable_api_ms_win_core_toolhelp_l1_1_0
1010 enable_api_ms_win_core_url_l1_1_0
1011 enable_api_ms_win_core_util_l1_1_0
1012 enable_api_ms_win_core_version_l1_1_0
1013 enable_api_ms_win_core_version_l1_1_1
1014 enable_api_ms_win_core_version_private_l1_1_0
1015 enable_api_ms_win_core_versionansi_l1_1_0
1016 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1017 enable_api_ms_win_core_winrt_error_l1_1_0
1018 enable_api_ms_win_core_winrt_error_l1_1_1
1019 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1020 enable_api_ms_win_core_winrt_l1_1_0
1021 enable_api_ms_win_core_winrt_registration_l1_1_0
1022 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1023 enable_api_ms_win_core_winrt_string_l1_1_0
1024 enable_api_ms_win_core_wow64_l1_1_0
1025 enable_api_ms_win_core_wow64_l1_1_1
1026 enable_api_ms_win_core_xstate_l1_1_0
1027 enable_api_ms_win_core_xstate_l2_1_0
1028 enable_api_ms_win_crt_conio_l1_1_0
1029 enable_api_ms_win_crt_convert_l1_1_0
1030 enable_api_ms_win_crt_environment_l1_1_0
1031 enable_api_ms_win_crt_filesystem_l1_1_0
1032 enable_api_ms_win_crt_heap_l1_1_0
1033 enable_api_ms_win_crt_locale_l1_1_0
1034 enable_api_ms_win_crt_math_l1_1_0
1035 enable_api_ms_win_crt_multibyte_l1_1_0
1036 enable_api_ms_win_crt_private_l1_1_0
1037 enable_api_ms_win_crt_process_l1_1_0
1038 enable_api_ms_win_crt_runtime_l1_1_0
1039 enable_api_ms_win_crt_stdio_l1_1_0
1040 enable_api_ms_win_crt_string_l1_1_0
1041 enable_api_ms_win_crt_time_l1_1_0
1042 enable_api_ms_win_crt_utility_l1_1_0
1043 enable_api_ms_win_devices_config_l1_1_1
1044 enable_api_ms_win_devices_query_l1_1_1
1045 enable_api_ms_win_downlevel_advapi32_l1_1_0
1046 enable_api_ms_win_downlevel_advapi32_l2_1_0
1047 enable_api_ms_win_downlevel_normaliz_l1_1_0
1048 enable_api_ms_win_downlevel_ole32_l1_1_0
1049 enable_api_ms_win_downlevel_shell32_l1_1_0
1050 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1051 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1052 enable_api_ms_win_downlevel_user32_l1_1_0
1053 enable_api_ms_win_downlevel_version_l1_1_0
1054 enable_api_ms_win_dx_d3dkmt_l1_1_0
1055 enable_api_ms_win_eventing_classicprovider_l1_1_0
1056 enable_api_ms_win_eventing_consumer_l1_1_0
1057 enable_api_ms_win_eventing_controller_l1_1_0
1058 enable_api_ms_win_eventing_legacy_l1_1_0
1059 enable_api_ms_win_eventing_provider_l1_1_0
1060 enable_api_ms_win_eventlog_legacy_l1_1_0
1061 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1062 enable_api_ms_win_mm_joystick_l1_1_0
1063 enable_api_ms_win_mm_misc_l1_1_1
1064 enable_api_ms_win_mm_mme_l1_1_0
1065 enable_api_ms_win_mm_time_l1_1_0
1066 enable_api_ms_win_ntuser_dc_access_l1_1_0
1067 enable_api_ms_win_ntuser_rectangle_l1_1_0
1068 enable_api_ms_win_perf_legacy_l1_1_0
1069 enable_api_ms_win_power_base_l1_1_0
1070 enable_api_ms_win_power_setting_l1_1_0
1071 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1072 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1073 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1074 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1075 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1076 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1077 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1078 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1079 enable_api_ms_win_security_audit_l1_1_1
1080 enable_api_ms_win_security_base_l1_1_0
1081 enable_api_ms_win_security_base_l1_2_0
1082 enable_api_ms_win_security_base_private_l1_1_1
1083 enable_api_ms_win_security_credentials_l1_1_0
1084 enable_api_ms_win_security_grouppolicy_l1_1_0
1085 enable_api_ms_win_security_lsalookup_l1_1_0
1086 enable_api_ms_win_security_lsalookup_l1_1_1
1087 enable_api_ms_win_security_lsalookup_l2_1_0
1088 enable_api_ms_win_security_lsalookup_l2_1_1
1089 enable_api_ms_win_security_lsapolicy_l1_1_0
1090 enable_api_ms_win_security_provider_l1_1_0
1091 enable_api_ms_win_security_sddl_l1_1_0
1092 enable_api_ms_win_security_systemfunctions_l1_1_0
1093 enable_api_ms_win_service_core_l1_1_0
1094 enable_api_ms_win_service_core_l1_1_1
1095 enable_api_ms_win_service_management_l1_1_0
1096 enable_api_ms_win_service_management_l2_1_0
1097 enable_api_ms_win_service_private_l1_1_1
1098 enable_api_ms_win_service_winsvc_l1_1_0
1099 enable_api_ms_win_service_winsvc_l1_2_0
1100 enable_api_ms_win_shcore_obsolete_l1_1_0
1101 enable_api_ms_win_shcore_scaling_l1_1_1
1102 enable_api_ms_win_shcore_stream_l1_1_0
1103 enable_api_ms_win_shcore_thread_l1_1_0
1104 enable_api_ms_win_shell_shellcom_l1_1_0
1105 enable_api_ms_win_shell_shellfolders_l1_1_0
1106 enable_apphelp
1107 enable_appwiz_cpl
1108 enable_atl
1109 enable_atl100
1110 enable_atl110
1111 enable_atl80
1112 enable_atl90
1113 enable_atmlib
1114 enable_authz
1115 enable_avicap32
1116 enable_avifil32
1117 enable_avrt
1118 enable_bcrypt
1119 enable_bluetoothapis
1120 enable_browseui
1121 enable_bthprops_cpl
1122 enable_cabinet
1123 enable_capi2032
1124 enable_cards
1125 enable_cdosys
1126 enable_cfgmgr32
1127 enable_clusapi
1128 enable_combase
1129 enable_comcat
1130 enable_comctl32
1131 enable_comdlg32
1132 enable_compstui
1133 enable_comsvcs
1134 enable_concrt140
1135 enable_connect
1136 enable_credui
1137 enable_crtdll
1138 enable_crypt32
1139 enable_cryptdlg
1140 enable_cryptdll
1141 enable_cryptext
1142 enable_cryptnet
1143 enable_cryptui
1144 enable_ctapi32
1145 enable_ctl3d32
1146 enable_d2d1
1147 enable_d3d10
1148 enable_d3d10_1
1149 enable_d3d10core
1150 enable_d3d11
1151 enable_d3d12
1152 enable_d3d8
1153 enable_d3d9
1154 enable_d3dcompiler_33
1155 enable_d3dcompiler_34
1156 enable_d3dcompiler_35
1157 enable_d3dcompiler_36
1158 enable_d3dcompiler_37
1159 enable_d3dcompiler_38
1160 enable_d3dcompiler_39
1161 enable_d3dcompiler_40
1162 enable_d3dcompiler_41
1163 enable_d3dcompiler_42
1164 enable_d3dcompiler_43
1165 enable_d3dcompiler_46
1166 enable_d3dcompiler_47
1167 enable_d3dim
1168 enable_d3drm
1169 enable_d3dx10_33
1170 enable_d3dx10_34
1171 enable_d3dx10_35
1172 enable_d3dx10_36
1173 enable_d3dx10_37
1174 enable_d3dx10_38
1175 enable_d3dx10_39
1176 enable_d3dx10_40
1177 enable_d3dx10_41
1178 enable_d3dx10_42
1179 enable_d3dx10_43
1180 enable_d3dx11_42
1181 enable_d3dx11_43
1182 enable_d3dx9_24
1183 enable_d3dx9_25
1184 enable_d3dx9_26
1185 enable_d3dx9_27
1186 enable_d3dx9_28
1187 enable_d3dx9_29
1188 enable_d3dx9_30
1189 enable_d3dx9_31
1190 enable_d3dx9_32
1191 enable_d3dx9_33
1192 enable_d3dx9_34
1193 enable_d3dx9_35
1194 enable_d3dx9_36
1195 enable_d3dx9_37
1196 enable_d3dx9_38
1197 enable_d3dx9_39
1198 enable_d3dx9_40
1199 enable_d3dx9_41
1200 enable_d3dx9_42
1201 enable_d3dx9_43
1202 enable_d3dxof
1203 enable_davclnt
1204 enable_dbgeng
1205 enable_dbghelp
1206 enable_dciman32
1207 enable_ddraw
1208 enable_ddrawex
1209 enable_devenum
1210 enable_dhcpcsvc
1211 enable_dhtmled_ocx
1212 enable_difxapi
1213 enable_dinput
1214 enable_dinput8
1215 enable_dispex
1216 enable_dmband
1217 enable_dmcompos
1218 enable_dmime
1219 enable_dmloader
1220 enable_dmoguids
1221 enable_dmscript
1222 enable_dmstyle
1223 enable_dmsynth
1224 enable_dmusic
1225 enable_dmusic32
1226 enable_dnsapi
1227 enable_dplay
1228 enable_dplayx
1229 enable_dpnaddr
1230 enable_dpnet
1231 enable_dpnhpast
1232 enable_dpnlobby
1233 enable_dpvoice
1234 enable_dpwsockx
1235 enable_drmclien
1236 enable_dsound
1237 enable_dsquery
1238 enable_dssenh
1239 enable_dswave
1240 enable_dwmapi
1241 enable_dwrite
1242 enable_dx8vb
1243 enable_dxdiagn
1244 enable_dxerr8
1245 enable_dxerr9
1246 enable_dxgi
1247 enable_dxguid
1248 enable_dxva2
1249 enable_esent
1250 enable_evr
1251 enable_explorerframe
1252 enable_ext_ms_win_authz_context_l1_1_0
1253 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1254 enable_ext_ms_win_dwmapi_ext_l1_1_0
1255 enable_ext_ms_win_gdi_dc_create_l1_1_1
1256 enable_ext_ms_win_gdi_dc_l1_2_0
1257 enable_ext_ms_win_gdi_devcaps_l1_1_0
1258 enable_ext_ms_win_gdi_draw_l1_1_1
1259 enable_ext_ms_win_gdi_render_l1_1_0
1260 enable_ext_ms_win_kernel32_package_current_l1_1_0
1261 enable_ext_ms_win_kernel32_package_l1_1_1
1262 enable_ext_ms_win_ntuser_draw_l1_1_0
1263 enable_ext_ms_win_ntuser_gui_l1_3_0
1264 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1265 enable_ext_ms_win_ntuser_message_l1_1_1
1266 enable_ext_ms_win_ntuser_misc_l1_5_1
1267 enable_ext_ms_win_ntuser_mouse_l1_1_0
1268 enable_ext_ms_win_ntuser_private_l1_1_1
1269 enable_ext_ms_win_ntuser_private_l1_3_1
1270 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1271 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1272 enable_ext_ms_win_ntuser_window_l1_1_1
1273 enable_ext_ms_win_ntuser_window_l1_1_4
1274 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1275 enable_ext_ms_win_oleacc_l1_1_0
1276 enable_ext_ms_win_ras_rasapi32_l1_1_0
1277 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1278 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1279 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1280 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1281 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1282 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1283 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1284 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1285 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1286 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1287 enable_ext_ms_win_security_credui_l1_1_0
1288 enable_ext_ms_win_security_cryptui_l1_1_0
1289 enable_ext_ms_win_uxtheme_themes_l1_1_0
1290 enable_faultrep
1291 enable_feclient
1292 enable_fltlib
1293 enable_fltmgr_sys
1294 enable_fntcache
1295 enable_fontsub
1296 enable_fusion
1297 enable_fwpuclnt
1298 enable_gameux
1299 enable_gdi32
1300 enable_gdiplus
1301 enable_glu32
1302 enable_gphoto2_ds
1303 enable_gpkcsp
1304 enable_hal
1305 enable_hhctrl_ocx
1306 enable_hid
1307 enable_hidclass_sys
1308 enable_hlink
1309 enable_hnetcfg
1310 enable_httpapi
1311 enable_iccvid
1312 enable_icmp
1313 enable_ieframe
1314 enable_ieproxy
1315 enable_imaadp32_acm
1316 enable_imagehlp
1317 enable_imm32
1318 enable_inetcomm
1319 enable_inetcpl_cpl
1320 enable_inetmib1
1321 enable_infosoft
1322 enable_initpki
1323 enable_inkobj
1324 enable_inseng
1325 enable_iphlpapi
1326 enable_iprop
1327 enable_irprops_cpl
1328 enable_itircl
1329 enable_itss
1330 enable_joy_cpl
1331 enable_jscript
1332 enable_jsproxy
1333 enable_kerberos
1334 enable_kernel32
1335 enable_kernelbase
1336 enable_ksuser
1337 enable_ktmw32
1338 enable_l3codeca_acm
1339 enable_loadperf
1340 enable_localspl
1341 enable_localui
1342 enable_lz32
1343 enable_mapi32
1344 enable_mapistub
1345 enable_mciavi32
1346 enable_mcicda
1347 enable_mciqtz32
1348 enable_mciseq
1349 enable_mciwave
1350 enable_mf
1351 enable_mf3216
1352 enable_mfplat
1353 enable_mfreadwrite
1354 enable_mfuuid
1355 enable_mgmtapi
1356 enable_midimap
1357 enable_mlang
1358 enable_mmcndmgr
1359 enable_mmdevapi
1360 enable_mountmgr_sys
1361 enable_mp3dmod
1362 enable_mpr
1363 enable_mprapi
1364 enable_msacm32_drv
1365 enable_msacm32
1366 enable_msadp32_acm
1367 enable_msasn1
1368 enable_mscat32
1369 enable_mscms
1370 enable_mscoree
1371 enable_msctf
1372 enable_msctfp
1373 enable_msdaps
1374 enable_msdelta
1375 enable_msdmo
1376 enable_msdrm
1377 enable_msftedit
1378 enable_msg711_acm
1379 enable_msgsm32_acm
1380 enable_mshtml_tlb
1381 enable_mshtml
1382 enable_msi
1383 enable_msident
1384 enable_msimg32
1385 enable_msimsg
1386 enable_msimtf
1387 enable_msisip
1388 enable_msisys_ocx
1389 enable_msls31
1390 enable_msnet32
1391 enable_mspatcha
1392 enable_msports
1393 enable_msrle32
1394 enable_msscript_ocx
1395 enable_mssign32
1396 enable_mssip32
1397 enable_mstask
1398 enable_msvcirt
1399 enable_msvcm80
1400 enable_msvcm90
1401 enable_msvcp100
1402 enable_msvcp110
1403 enable_msvcp120
1404 enable_msvcp120_app
1405 enable_msvcp140
1406 enable_msvcp60
1407 enable_msvcp70
1408 enable_msvcp71
1409 enable_msvcp80
1410 enable_msvcp90
1411 enable_msvcr100
1412 enable_msvcr110
1413 enable_msvcr120
1414 enable_msvcr120_app
1415 enable_msvcr70
1416 enable_msvcr71
1417 enable_msvcr80
1418 enable_msvcr90
1419 enable_msvcrt
1420 enable_msvcrt20
1421 enable_msvcrt40
1422 enable_msvcrtd
1423 enable_msvfw32
1424 enable_msvidc32
1425 enable_mswsock
1426 enable_msxml
1427 enable_msxml2
1428 enable_msxml3
1429 enable_msxml4
1430 enable_msxml6
1431 enable_mtxdm
1432 enable_ncrypt
1433 enable_nddeapi
1434 enable_ndis_sys
1435 enable_netapi32
1436 enable_netcfgx
1437 enable_netprofm
1438 enable_newdev
1439 enable_ninput
1440 enable_normaliz
1441 enable_npmshtml
1442 enable_npptools
1443 enable_ntdll
1444 enable_ntdsapi
1445 enable_ntoskrnl_exe
1446 enable_ntprint
1447 enable_objsel
1448 enable_odbc32
1449 enable_odbccp32
1450 enable_odbccu32
1451 enable_ole32
1452 enable_oleacc
1453 enable_oleaut32
1454 enable_olecli32
1455 enable_oledb32
1456 enable_oledlg
1457 enable_olepro32
1458 enable_olesvr32
1459 enable_olethk32
1460 enable_openal32
1461 enable_opencl
1462 enable_opengl32
1463 enable_packager
1464 enable_pdh
1465 enable_photometadatahandler
1466 enable_pidgen
1467 enable_powrprof
1468 enable_printui
1469 enable_prntvpt
1470 enable_propsys
1471 enable_psapi
1472 enable_pstorec
1473 enable_qcap
1474 enable_qedit
1475 enable_qmgr
1476 enable_qmgrprxy
1477 enable_quartz
1478 enable_query
1479 enable_rasapi32
1480 enable_rasdlg
1481 enable_regapi
1482 enable_resutils
1483 enable_riched20
1484 enable_riched32
1485 enable_rpcrt4
1486 enable_rsabase
1487 enable_rsaenh
1488 enable_rstrtmgr
1489 enable_rtutils
1490 enable_samlib
1491 enable_sane_ds
1492 enable_sapi
1493 enable_sas
1494 enable_scarddlg
1495 enable_sccbase
1496 enable_schannel
1497 enable_schedsvc
1498 enable_scrobj
1499 enable_scrrun
1500 enable_scsiport_sys
1501 enable_secur32
1502 enable_security
1503 enable_sensapi
1504 enable_serialui
1505 enable_setupapi
1506 enable_sfc
1507 enable_sfc_os
1508 enable_shcore
1509 enable_shdoclc
1510 enable_shdocvw
1511 enable_shell32
1512 enable_shfolder
1513 enable_shlwapi
1514 enable_slbcsp
1515 enable_slc
1516 enable_snmpapi
1517 enable_softpub
1518 enable_spoolss
1519 enable_srclient
1520 enable_sspicli
1521 enable_stdole2_tlb
1522 enable_stdole32_tlb
1523 enable_sti
1524 enable_strmbase
1525 enable_strmdll
1526 enable_strmiids
1527 enable_svrapi
1528 enable_sxs
1529 enable_t2embed
1530 enable_tapi32
1531 enable_taskschd
1532 enable_tdh
1533 enable_tdi_sys
1534 enable_traffic
1535 enable_twain_32
1536 enable_ucrtbase
1537 enable_uiautomationcore
1538 enable_uiribbon
1539 enable_unicows
1540 enable_updspapi
1541 enable_url
1542 enable_urlmon
1543 enable_usbd_sys
1544 enable_user32
1545 enable_userenv
1546 enable_usp10
1547 enable_uuid
1548 enable_uxtheme
1549 enable_vbscript
1550 enable_vcomp
1551 enable_vcomp100
1552 enable_vcomp110
1553 enable_vcomp120
1554 enable_vcomp140
1555 enable_vcomp90
1556 enable_vcruntime140
1557 enable_vdmdbg
1558 enable_version
1559 enable_virtdisk
1560 enable_vssapi
1561 enable_vulkan_1
1562 enable_wbemdisp
1563 enable_wbemprox
1564 enable_wdscore
1565 enable_webservices
1566 enable_wer
1567 enable_wevtapi
1568 enable_wiaservc
1569 enable_wimgapi
1570 enable_windowscodecs
1571 enable_windowscodecsext
1572 enable_winealsa_drv
1573 enable_wineandroid_drv
1574 enable_winebus_sys
1575 enable_winecoreaudio_drv
1576 enable_winecrt0
1577 enable_wined3d
1578 enable_winegstreamer
1579 enable_winehid_sys
1580 enable_winejoystick_drv
1581 enable_winemac_drv
1582 enable_winemapi
1583 enable_wineoss_drv
1584 enable_wineps_drv
1585 enable_winepulse_drv
1586 enable_wineqtdecoder
1587 enable_winevulkan
1588 enable_winex11_drv
1589 enable_wing32
1590 enable_winhttp
1591 enable_wininet
1592 enable_winmm
1593 enable_winnls32
1594 enable_winscard
1595 enable_winspool_drv
1596 enable_winsta
1597 enable_wintab32
1598 enable_wintrust
1599 enable_winusb
1600 enable_wlanapi
1601 enable_wldap32
1602 enable_wmasf
1603 enable_wmcodecdspuuid
1604 enable_wmi
1605 enable_wmiutils
1606 enable_wmp
1607 enable_wmphoto
1608 enable_wmvcore
1609 enable_wnaspi32
1610 enable_wpc
1611 enable_wpcap
1612 enable_ws2_32
1613 enable_wsdapi
1614 enable_wshom_ocx
1615 enable_wsnmp32
1616 enable_wsock32
1617 enable_wtsapi32
1618 enable_wuapi
1619 enable_wuaueng
1620 enable_x3daudio1_0
1621 enable_x3daudio1_1
1622 enable_x3daudio1_2
1623 enable_x3daudio1_3
1624 enable_x3daudio1_4
1625 enable_x3daudio1_5
1626 enable_x3daudio1_6
1627 enable_x3daudio1_7
1628 enable_xapofx1_1
1629 enable_xapofx1_2
1630 enable_xapofx1_3
1631 enable_xapofx1_4
1632 enable_xapofx1_5
1633 enable_xaudio2_0
1634 enable_xaudio2_1
1635 enable_xaudio2_2
1636 enable_xaudio2_3
1637 enable_xaudio2_4
1638 enable_xaudio2_5
1639 enable_xaudio2_6
1640 enable_xaudio2_7
1641 enable_xaudio2_8
1642 enable_xaudio2_9
1643 enable_xinput1_1
1644 enable_xinput1_2
1645 enable_xinput1_3
1646 enable_xinput1_4
1647 enable_xinput9_1_0
1648 enable_xmllite
1649 enable_xolehlp
1650 enable_xpsprint
1651 enable_xpssvcs
1652 enable_fonts
1653 enable_include
1654 enable_port
1655 enable_wine
1656 enable_wpp
1657 enable_loader
1658 enable_po
1659 enable_arp
1660 enable_aspnet_regiis
1661 enable_attrib
1662 enable_cabarc
1663 enable_cacls
1664 enable_clock
1665 enable_cmd
1666 enable_conhost
1667 enable_control
1668 enable_cscript
1669 enable_dpnsvr
1670 enable_dxdiag
1671 enable_eject
1672 enable_expand
1673 enable_explorer
1674 enable_extrac32
1675 enable_findstr
1676 enable_fsutil
1677 enable_hh
1678 enable_hostname
1679 enable_icacls
1680 enable_icinfo
1681 enable_iexplore
1682 enable_ipconfig
1683 enable_lodctr
1684 enable_mofcomp
1685 enable_mshta
1686 enable_msiexec
1687 enable_msinfo32
1688 enable_net
1689 enable_netsh
1690 enable_netstat
1691 enable_ngen
1692 enable_notepad
1693 enable_oleview
1694 enable_ping
1695 enable_plugplay
1696 enable_powershell
1697 enable_presentationfontcache
1698 enable_progman
1699 enable_reg
1700 enable_regasm
1701 enable_regedit
1702 enable_regsvcs
1703 enable_regsvr32
1704 enable_rpcss
1705 enable_rundll32
1706 enable_sc
1707 enable_schtasks
1708 enable_sdbinst
1709 enable_secedit
1710 enable_servicemodelreg
1711 enable_services
1712 enable_shutdown
1713 enable_spoolsv
1714 enable_start
1715 enable_subst
1716 enable_svchost
1717 enable_systeminfo
1718 enable_taskkill
1719 enable_tasklist
1720 enable_taskmgr
1721 enable_termsv
1722 enable_uninstaller
1723 enable_unlodctr
1724 enable_view
1725 enable_wevtutil
1726 enable_wineboot
1727 enable_winebrowser
1728 enable_winecfg
1729 enable_wineconsole
1730 enable_winedbg
1731 enable_winedevice
1732 enable_winefile
1733 enable_winemenubuilder
1734 enable_winemine
1735 enable_winemsibuilder
1736 enable_winepath
1737 enable_winetest
1738 enable_winhlp32
1739 enable_winmgmt
1740 enable_winver
1741 enable_wmic
1742 enable_wmplayer
1743 enable_wordpad
1744 enable_write
1745 enable_wscript
1746 enable_wusa
1747 enable_xcopy
1748 enable_server
1749 enable_tools
1750 enable_sfnt2fon
1751 enable_widl
1752 enable_winebuild
1753 enable_winedump
1754 enable_winegcc
1755 enable_winemaker
1756 enable_wmc
1757 enable_wrc
1759 ac_precious_vars='build_alias
1760 host_alias
1761 target_alias
1763 CFLAGS
1764 LDFLAGS
1765 LIBS
1766 CPPFLAGS
1768 CXXFLAGS
1771 XMKMF
1772 XML2_CFLAGS
1773 XML2_LIBS
1774 XSLT_CFLAGS
1775 XSLT_LIBS
1776 DBUS_CFLAGS
1777 DBUS_LIBS
1778 HAL_CFLAGS
1779 HAL_LIBS
1780 GNUTLS_CFLAGS
1781 GNUTLS_LIBS
1782 SANE_CFLAGS
1783 SANE_LIBS
1784 GPHOTO2_CFLAGS
1785 GPHOTO2_LIBS
1786 GPHOTO2_PORT_CFLAGS
1787 GPHOTO2_PORT_LIBS
1788 LCMS2_CFLAGS
1789 LCMS2_LIBS
1790 FREETYPE_CFLAGS
1791 FREETYPE_LIBS
1792 PULSE_CFLAGS
1793 PULSE_LIBS
1794 GSTREAMER_CFLAGS
1795 GSTREAMER_LIBS
1796 UDEV_CFLAGS
1797 UDEV_LIBS
1798 SDL2_CFLAGS
1799 SDL2_LIBS
1800 CAPI20_CFLAGS
1801 CAPI20_LIBS
1802 CUPS_CFLAGS
1803 CUPS_LIBS
1804 FONTCONFIG_CFLAGS
1805 FONTCONFIG_LIBS
1806 KRB5_CFLAGS
1807 KRB5_LIBS
1808 GSSAPI_CFLAGS
1809 GSSAPI_LIBS
1810 JPEG_CFLAGS
1811 JPEG_LIBS
1812 PNG_CFLAGS
1813 PNG_LIBS
1814 TIFF_CFLAGS
1815 TIFF_LIBS
1816 MPG123_CFLAGS
1817 MPG123_LIBS
1818 NETAPI_CFLAGS
1819 NETAPI_LIBS
1820 VKD3D_CFLAGS
1821 VKD3D_LIBS
1822 LDAP_CFLAGS
1823 LDAP_LIBS'
1826 # Initialize some variables set by options.
1827 ac_init_help=
1828 ac_init_version=false
1829 ac_unrecognized_opts=
1830 ac_unrecognized_sep=
1831 # The variables have the same names as the options, with
1832 # dashes changed to underlines.
1833 cache_file=/dev/null
1834 exec_prefix=NONE
1835 no_create=
1836 no_recursion=
1837 prefix=NONE
1838 program_prefix=NONE
1839 program_suffix=NONE
1840 program_transform_name=s,x,x,
1841 silent=
1842 site=
1843 srcdir=
1844 verbose=
1845 x_includes=NONE
1846 x_libraries=NONE
1848 # Installation directory options.
1849 # These are left unexpanded so users can "make install exec_prefix=/foo"
1850 # and all the variables that are supposed to be based on exec_prefix
1851 # by default will actually change.
1852 # Use braces instead of parens because sh, perl, etc. also accept them.
1853 # (The list follows the same order as the GNU Coding Standards.)
1854 bindir='${exec_prefix}/bin'
1855 sbindir='${exec_prefix}/sbin'
1856 libexecdir='${exec_prefix}/libexec'
1857 datarootdir='${prefix}/share'
1858 datadir='${datarootdir}'
1859 sysconfdir='${prefix}/etc'
1860 sharedstatedir='${prefix}/com'
1861 localstatedir='${prefix}/var'
1862 runstatedir='${localstatedir}/run'
1863 includedir='${prefix}/include'
1864 oldincludedir='/usr/include'
1865 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1866 infodir='${datarootdir}/info'
1867 htmldir='${docdir}'
1868 dvidir='${docdir}'
1869 pdfdir='${docdir}'
1870 psdir='${docdir}'
1871 libdir='${exec_prefix}/lib'
1872 localedir='${datarootdir}/locale'
1873 mandir='${datarootdir}/man'
1875 ac_prev=
1876 ac_dashdash=
1877 for ac_option
1879 # If the previous option needs an argument, assign it.
1880 if test -n "$ac_prev"; then
1881 eval $ac_prev=\$ac_option
1882 ac_prev=
1883 continue
1886 case $ac_option in
1887 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1888 *=) ac_optarg= ;;
1889 *) ac_optarg=yes ;;
1890 esac
1892 # Accept the important Cygnus configure options, so we can diagnose typos.
1894 case $ac_dashdash$ac_option in
1896 ac_dashdash=yes ;;
1898 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1899 ac_prev=bindir ;;
1900 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1901 bindir=$ac_optarg ;;
1903 -build | --build | --buil | --bui | --bu)
1904 ac_prev=build_alias ;;
1905 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1906 build_alias=$ac_optarg ;;
1908 -cache-file | --cache-file | --cache-fil | --cache-fi \
1909 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1910 ac_prev=cache_file ;;
1911 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1912 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1913 cache_file=$ac_optarg ;;
1915 --config-cache | -C)
1916 cache_file=config.cache ;;
1918 -datadir | --datadir | --datadi | --datad)
1919 ac_prev=datadir ;;
1920 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1921 datadir=$ac_optarg ;;
1923 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1924 | --dataroo | --dataro | --datar)
1925 ac_prev=datarootdir ;;
1926 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1927 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1928 datarootdir=$ac_optarg ;;
1930 -disable-* | --disable-*)
1931 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1932 # Reject names that are not valid shell variable names.
1933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1934 as_fn_error $? "invalid feature name: $ac_useropt"
1935 ac_useropt_orig=$ac_useropt
1936 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1937 case $ac_user_opts in
1939 "enable_$ac_useropt"
1940 "*) ;;
1941 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1942 ac_unrecognized_sep=', ';;
1943 esac
1944 eval enable_$ac_useropt=no ;;
1946 -docdir | --docdir | --docdi | --doc | --do)
1947 ac_prev=docdir ;;
1948 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1949 docdir=$ac_optarg ;;
1951 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1952 ac_prev=dvidir ;;
1953 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1954 dvidir=$ac_optarg ;;
1956 -enable-* | --enable-*)
1957 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1958 # Reject names that are not valid shell variable names.
1959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1960 as_fn_error $? "invalid feature name: $ac_useropt"
1961 ac_useropt_orig=$ac_useropt
1962 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1963 case $ac_user_opts in
1965 "enable_$ac_useropt"
1966 "*) ;;
1967 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1968 ac_unrecognized_sep=', ';;
1969 esac
1970 eval enable_$ac_useropt=\$ac_optarg ;;
1972 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1973 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1974 | --exec | --exe | --ex)
1975 ac_prev=exec_prefix ;;
1976 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1977 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1978 | --exec=* | --exe=* | --ex=*)
1979 exec_prefix=$ac_optarg ;;
1981 -gas | --gas | --ga | --g)
1982 # Obsolete; use --with-gas.
1983 with_gas=yes ;;
1985 -help | --help | --hel | --he | -h)
1986 ac_init_help=long ;;
1987 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1988 ac_init_help=recursive ;;
1989 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1990 ac_init_help=short ;;
1992 -host | --host | --hos | --ho)
1993 ac_prev=host_alias ;;
1994 -host=* | --host=* | --hos=* | --ho=*)
1995 host_alias=$ac_optarg ;;
1997 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1998 ac_prev=htmldir ;;
1999 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2000 | --ht=*)
2001 htmldir=$ac_optarg ;;
2003 -includedir | --includedir | --includedi | --included | --include \
2004 | --includ | --inclu | --incl | --inc)
2005 ac_prev=includedir ;;
2006 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2007 | --includ=* | --inclu=* | --incl=* | --inc=*)
2008 includedir=$ac_optarg ;;
2010 -infodir | --infodir | --infodi | --infod | --info | --inf)
2011 ac_prev=infodir ;;
2012 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2013 infodir=$ac_optarg ;;
2015 -libdir | --libdir | --libdi | --libd)
2016 ac_prev=libdir ;;
2017 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2018 libdir=$ac_optarg ;;
2020 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2021 | --libexe | --libex | --libe)
2022 ac_prev=libexecdir ;;
2023 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2024 | --libexe=* | --libex=* | --libe=*)
2025 libexecdir=$ac_optarg ;;
2027 -localedir | --localedir | --localedi | --localed | --locale)
2028 ac_prev=localedir ;;
2029 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2030 localedir=$ac_optarg ;;
2032 -localstatedir | --localstatedir | --localstatedi | --localstated \
2033 | --localstate | --localstat | --localsta | --localst | --locals)
2034 ac_prev=localstatedir ;;
2035 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2036 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2037 localstatedir=$ac_optarg ;;
2039 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2040 ac_prev=mandir ;;
2041 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2042 mandir=$ac_optarg ;;
2044 -nfp | --nfp | --nf)
2045 # Obsolete; use --without-fp.
2046 with_fp=no ;;
2048 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2049 | --no-cr | --no-c | -n)
2050 no_create=yes ;;
2052 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2053 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2054 no_recursion=yes ;;
2056 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2057 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2058 | --oldin | --oldi | --old | --ol | --o)
2059 ac_prev=oldincludedir ;;
2060 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2061 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2062 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2063 oldincludedir=$ac_optarg ;;
2065 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2066 ac_prev=prefix ;;
2067 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2068 prefix=$ac_optarg ;;
2070 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2071 | --program-pre | --program-pr | --program-p)
2072 ac_prev=program_prefix ;;
2073 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2074 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2075 program_prefix=$ac_optarg ;;
2077 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2078 | --program-suf | --program-su | --program-s)
2079 ac_prev=program_suffix ;;
2080 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2081 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2082 program_suffix=$ac_optarg ;;
2084 -program-transform-name | --program-transform-name \
2085 | --program-transform-nam | --program-transform-na \
2086 | --program-transform-n | --program-transform- \
2087 | --program-transform | --program-transfor \
2088 | --program-transfo | --program-transf \
2089 | --program-trans | --program-tran \
2090 | --progr-tra | --program-tr | --program-t)
2091 ac_prev=program_transform_name ;;
2092 -program-transform-name=* | --program-transform-name=* \
2093 | --program-transform-nam=* | --program-transform-na=* \
2094 | --program-transform-n=* | --program-transform-=* \
2095 | --program-transform=* | --program-transfor=* \
2096 | --program-transfo=* | --program-transf=* \
2097 | --program-trans=* | --program-tran=* \
2098 | --progr-tra=* | --program-tr=* | --program-t=*)
2099 program_transform_name=$ac_optarg ;;
2101 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2102 ac_prev=pdfdir ;;
2103 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2104 pdfdir=$ac_optarg ;;
2106 -psdir | --psdir | --psdi | --psd | --ps)
2107 ac_prev=psdir ;;
2108 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2109 psdir=$ac_optarg ;;
2111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2112 | -silent | --silent | --silen | --sile | --sil)
2113 silent=yes ;;
2115 -runstatedir | --runstatedir | --runstatedi | --runstated \
2116 | --runstate | --runstat | --runsta | --runst | --runs \
2117 | --run | --ru | --r)
2118 ac_prev=runstatedir ;;
2119 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2120 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2121 | --run=* | --ru=* | --r=*)
2122 runstatedir=$ac_optarg ;;
2124 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2125 ac_prev=sbindir ;;
2126 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2127 | --sbi=* | --sb=*)
2128 sbindir=$ac_optarg ;;
2130 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2131 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2132 | --sharedst | --shareds | --shared | --share | --shar \
2133 | --sha | --sh)
2134 ac_prev=sharedstatedir ;;
2135 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2136 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2137 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2138 | --sha=* | --sh=*)
2139 sharedstatedir=$ac_optarg ;;
2141 -site | --site | --sit)
2142 ac_prev=site ;;
2143 -site=* | --site=* | --sit=*)
2144 site=$ac_optarg ;;
2146 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2147 ac_prev=srcdir ;;
2148 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2149 srcdir=$ac_optarg ;;
2151 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2152 | --syscon | --sysco | --sysc | --sys | --sy)
2153 ac_prev=sysconfdir ;;
2154 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2155 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2156 sysconfdir=$ac_optarg ;;
2158 -target | --target | --targe | --targ | --tar | --ta | --t)
2159 ac_prev=target_alias ;;
2160 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2161 target_alias=$ac_optarg ;;
2163 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2164 verbose=yes ;;
2166 -version | --version | --versio | --versi | --vers | -V)
2167 ac_init_version=: ;;
2169 -with-* | --with-*)
2170 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2171 # Reject names that are not valid shell variable names.
2172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2173 as_fn_error $? "invalid package name: $ac_useropt"
2174 ac_useropt_orig=$ac_useropt
2175 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2176 case $ac_user_opts in
2178 "with_$ac_useropt"
2179 "*) ;;
2180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2181 ac_unrecognized_sep=', ';;
2182 esac
2183 eval with_$ac_useropt=\$ac_optarg ;;
2185 -without-* | --without-*)
2186 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2187 # Reject names that are not valid shell variable names.
2188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2189 as_fn_error $? "invalid package name: $ac_useropt"
2190 ac_useropt_orig=$ac_useropt
2191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2192 case $ac_user_opts in
2194 "with_$ac_useropt"
2195 "*) ;;
2196 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2197 ac_unrecognized_sep=', ';;
2198 esac
2199 eval with_$ac_useropt=no ;;
2201 --x)
2202 # Obsolete; use --with-x.
2203 with_x=yes ;;
2205 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2206 | --x-incl | --x-inc | --x-in | --x-i)
2207 ac_prev=x_includes ;;
2208 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2209 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2210 x_includes=$ac_optarg ;;
2212 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2213 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2214 ac_prev=x_libraries ;;
2215 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2216 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2217 x_libraries=$ac_optarg ;;
2219 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2220 Try \`$0 --help' for more information"
2223 *=*)
2224 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2225 # Reject names that are not valid shell variable names.
2226 case $ac_envvar in #(
2227 '' | [0-9]* | *[!_$as_cr_alnum]* )
2228 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2229 esac
2230 eval $ac_envvar=\$ac_optarg
2231 export $ac_envvar ;;
2234 # FIXME: should be removed in autoconf 3.0.
2235 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2237 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2238 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2241 esac
2242 done
2244 if test -n "$ac_prev"; then
2245 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2246 as_fn_error $? "missing argument to $ac_option"
2249 if test -n "$ac_unrecognized_opts"; then
2250 case $enable_option_checking in
2251 no) ;;
2252 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2254 esac
2257 # Check all directory arguments for consistency.
2258 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2259 datadir sysconfdir sharedstatedir localstatedir includedir \
2260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2261 libdir localedir mandir runstatedir
2263 eval ac_val=\$$ac_var
2264 # Remove trailing slashes.
2265 case $ac_val in
2266 */ )
2267 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2268 eval $ac_var=\$ac_val;;
2269 esac
2270 # Be sure to have absolute directory names.
2271 case $ac_val in
2272 [\\/$]* | ?:[\\/]* ) continue;;
2273 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2274 esac
2275 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2276 done
2278 # There might be people who depend on the old broken behavior: `$host'
2279 # used to hold the argument of --host etc.
2280 # FIXME: To remove some day.
2281 build=$build_alias
2282 host=$host_alias
2283 target=$target_alias
2285 # FIXME: To remove some day.
2286 if test "x$host_alias" != x; then
2287 if test "x$build_alias" = x; then
2288 cross_compiling=maybe
2289 elif test "x$build_alias" != "x$host_alias"; then
2290 cross_compiling=yes
2294 ac_tool_prefix=
2295 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2297 test "$silent" = yes && exec 6>/dev/null
2300 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2301 ac_ls_di=`ls -di .` &&
2302 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2303 as_fn_error $? "working directory cannot be determined"
2304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2305 as_fn_error $? "pwd does not report name of working directory"
2308 # Find the source files, if location was not specified.
2309 if test -z "$srcdir"; then
2310 ac_srcdir_defaulted=yes
2311 # Try the directory containing this script, then the parent directory.
2312 ac_confdir=`$as_dirname -- "$as_myself" ||
2313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2314 X"$as_myself" : 'X\(//\)[^/]' \| \
2315 X"$as_myself" : 'X\(//\)$' \| \
2316 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2317 $as_echo X"$as_myself" |
2318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2319 s//\1/
2322 /^X\(\/\/\)[^/].*/{
2323 s//\1/
2326 /^X\(\/\/\)$/{
2327 s//\1/
2330 /^X\(\/\).*/{
2331 s//\1/
2334 s/.*/./; q'`
2335 srcdir=$ac_confdir
2336 if test ! -r "$srcdir/$ac_unique_file"; then
2337 srcdir=..
2339 else
2340 ac_srcdir_defaulted=no
2342 if test ! -r "$srcdir/$ac_unique_file"; then
2343 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2344 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2346 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2347 ac_abs_confdir=`(
2348 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2349 pwd)`
2350 # When building in place, set srcdir=.
2351 if test "$ac_abs_confdir" = "$ac_pwd"; then
2352 srcdir=.
2354 # Remove unnecessary trailing slashes from srcdir.
2355 # Double slashes in file names in object file debugging info
2356 # mess up M-x gdb in Emacs.
2357 case $srcdir in
2358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2359 esac
2360 for ac_var in $ac_precious_vars; do
2361 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2362 eval ac_env_${ac_var}_value=\$${ac_var}
2363 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2364 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2365 done
2368 # Report the --help message.
2370 if test "$ac_init_help" = "long"; then
2371 # Omit some internal or obsolete options to make the list less imposing.
2372 # This message is too long to be a string in the A/UX 3.1 sh.
2373 cat <<_ACEOF
2374 \`configure' configures Wine 3.9 to adapt to many kinds of systems.
2376 Usage: $0 [OPTION]... [VAR=VALUE]...
2378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2379 VAR=VALUE. See below for descriptions of some of the useful variables.
2381 Defaults for the options are specified in brackets.
2383 Configuration:
2384 -h, --help display this help and exit
2385 --help=short display options specific to this package
2386 --help=recursive display the short help of all the included packages
2387 -V, --version display version information and exit
2388 -q, --quiet, --silent do not print \`checking ...' messages
2389 --cache-file=FILE cache test results in FILE [disabled]
2390 -C, --config-cache alias for \`--cache-file=config.cache'
2391 -n, --no-create do not create output files
2392 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2394 Installation directories:
2395 --prefix=PREFIX install architecture-independent files in PREFIX
2396 [$ac_default_prefix]
2397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2398 [PREFIX]
2400 By default, \`make install' will install all the files in
2401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2403 for instance \`--prefix=\$HOME'.
2405 For better control, use the options below.
2407 Fine tuning of the installation directories:
2408 --bindir=DIR user executables [EPREFIX/bin]
2409 --sbindir=DIR system admin executables [EPREFIX/sbin]
2410 --libexecdir=DIR program executables [EPREFIX/libexec]
2411 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2412 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2413 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2414 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2415 --libdir=DIR object code libraries [EPREFIX/lib]
2416 --includedir=DIR C header files [PREFIX/include]
2417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2420 --infodir=DIR info documentation [DATAROOTDIR/info]
2421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2422 --mandir=DIR man documentation [DATAROOTDIR/man]
2423 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2424 --htmldir=DIR html documentation [DOCDIR]
2425 --dvidir=DIR dvi documentation [DOCDIR]
2426 --pdfdir=DIR pdf documentation [DOCDIR]
2427 --psdir=DIR ps documentation [DOCDIR]
2428 _ACEOF
2430 cat <<\_ACEOF
2432 X features:
2433 --x-includes=DIR X include files are in DIR
2434 --x-libraries=DIR X library files are in DIR
2436 System types:
2437 --build=BUILD configure for building on BUILD [guessed]
2438 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2439 _ACEOF
2442 if test -n "$ac_init_help"; then
2443 case $ac_init_help in
2444 short | recursive ) echo "Configuration of Wine 3.9:";;
2445 esac
2446 cat <<\_ACEOF
2448 Optional Features:
2449 --disable-option-checking ignore unrecognized --enable/--with options
2450 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2451 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2452 --disable-win16 do not include Win16 support
2453 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2454 binaries)
2455 --disable-tests do not build the regression tests
2456 --enable-maintainer-mode
2457 enable maintainer-specific build rules
2458 --disable-largefile omit support for large files
2460 Optional Packages:
2461 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2462 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2463 --without-alsa do not use the Alsa sound support
2464 --without-capi do not use CAPI (ISDN support)
2465 --without-cms do not use CMS (color management support)
2466 --without-coreaudio do not use the CoreAudio sound support
2467 --without-cups do not use CUPS
2468 --without-curses do not use (n)curses
2469 --without-dbus do not use DBus (dynamic device support)
2470 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2471 --without-fontconfig do not use fontconfig
2472 --without-freetype do not use the FreeType library
2473 --without-gettext do not use gettext
2474 --with-gettextpo use the GetTextPO library to rebuild po files
2475 --without-gphoto do not use gphoto (Digital Camera support)
2476 --without-glu do not use the GLU library
2477 --without-gnutls do not use GnuTLS (schannel support)
2478 --without-gsm do not use libgsm (GSM 06.10 codec support)
2479 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2480 --without-gstreamer do not use GStreamer (codecs support)
2481 --without-hal do not use HAL (dynamic device support)
2482 --without-jpeg do not use JPEG
2483 --without-krb5 do not use krb5 (Kerberos)
2484 --without-ldap do not use LDAP
2485 --without-mpg123 do not use the mpg123 library
2486 --without-netapi do not use the Samba NetAPI library
2487 --without-openal do not use OpenAL
2488 --without-opencl do not use OpenCL
2489 --without-opengl do not use OpenGL
2490 --without-osmesa do not use the OSMesa library
2491 --without-oss do not use the OSS sound support
2492 --without-pcap do not use the Packet Capture library
2493 --without-png do not use PNG
2494 --without-pthread do not use the pthread library
2495 --without-pulse do not use PulseAudio sound support
2496 --without-sane do not use SANE (scanner support)
2497 --without-sdl do not use SDL
2498 --without-tiff do not use TIFF
2499 --without-udev do not use udev (plug and play support)
2500 --without-v4l do not use v4l1 (v4l support)
2501 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2502 --without-vulkan do not use Vulkan
2503 --without-xcomposite do not use the Xcomposite extension
2504 --without-xcursor do not use the Xcursor extension
2505 --without-xfixes do not use Xfixes for clipboard change notifications
2506 --without-xinerama do not use Xinerama (multi-monitor support)
2507 --without-xinput do not use the Xinput extension
2508 --without-xinput2 do not use the Xinput 2 extension
2509 --without-xml do not use XML
2510 --without-xrandr do not use Xrandr (resolution changes)
2511 --without-xrender do not use the Xrender extension
2512 --without-xshape do not use the Xshape extension
2513 --without-xshm do not use XShm (shared memory extension)
2514 --without-xslt do not use XSLT
2515 --without-xxf86vm do not use XFree video mode extension
2516 --without-zlib do not use Zlib (data compression)
2517 --with-wine-tools=DIR use Wine tools from directory DIR
2518 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2519 --with-x use the X Window System
2521 Some influential environment variables:
2522 CC C compiler command
2523 CFLAGS C compiler flags
2524 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2525 nonstandard directory <lib dir>
2526 LIBS libraries to pass to the linker, e.g. -l<library>
2527 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2528 you have headers in a nonstandard directory <include dir>
2529 CXX C++ compiler command
2530 CXXFLAGS C++ compiler flags
2531 CPP C preprocessor
2532 XMKMF Path to xmkmf, Makefile generator for X Window System
2533 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2534 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2535 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2536 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2537 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2538 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2539 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2540 HAL_LIBS Linker flags for hal, overriding pkg-config
2541 GNUTLS_CFLAGS
2542 C compiler flags for gnutls, overriding pkg-config
2543 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2544 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2545 SANE_LIBS Linker flags for libsane, overriding pkg-config
2546 GPHOTO2_CFLAGS
2547 C compiler flags for libgphoto2, overriding pkg-config
2548 GPHOTO2_LIBS
2549 Linker flags for libgphoto2, overriding pkg-config
2550 GPHOTO2_PORT_CFLAGS
2551 C compiler flags for libgphoto2_port, overriding pkg-config
2552 GPHOTO2_PORT_LIBS
2553 Linker flags for libgphoto2_port, overriding pkg-config
2554 LCMS2_CFLAGS
2555 C compiler flags for lcms2, overriding pkg-config
2556 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2557 FREETYPE_CFLAGS
2558 C compiler flags for freetype2, overriding pkg-config
2559 FREETYPE_LIBS
2560 Linker flags for freetype2, overriding pkg-config
2561 PULSE_CFLAGS
2562 C compiler flags for libpulse, overriding pkg-config
2563 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2564 GSTREAMER_CFLAGS
2565 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2566 gstreamer-audio-1.0, overriding pkg-config
2567 GSTREAMER_LIBS
2568 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2569 gstreamer-audio-1.0, overriding pkg-config
2570 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2571 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2572 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2573 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2574 CAPI20_CFLAGS
2575 C compiler flags for capi20, overriding pkg-config
2576 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2577 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2578 CUPS_LIBS Linker flags for cups, overriding pkg-config
2579 FONTCONFIG_CFLAGS
2580 C compiler flags for fontconfig, overriding pkg-config
2581 FONTCONFIG_LIBS
2582 Linker flags for fontconfig, overriding pkg-config
2583 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2584 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2585 GSSAPI_CFLAGS
2586 C compiler flags for krb5-gssapi, overriding pkg-config
2587 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2588 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2589 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2590 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2591 PNG_LIBS Linker flags for libpng, overriding pkg-config
2592 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2593 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2594 MPG123_CFLAGS
2595 C compiler flags for libmpg123, overriding pkg-config
2596 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2597 NETAPI_CFLAGS
2598 C compiler flags for netapi, overriding pkg-config
2599 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2600 VKD3D_CFLAGS
2601 C compiler flags for libvkd3d, overriding pkg-config
2602 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2603 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2604 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2606 Use these variables to override the choices made by `configure' or to help
2607 it to find libraries and programs with nonstandard names/locations.
2609 Report bugs to <wine-devel@winehq.org>.
2610 Wine home page: <https://www.winehq.org>.
2611 _ACEOF
2612 ac_status=$?
2615 if test "$ac_init_help" = "recursive"; then
2616 # If there are subdirs, report their specific --help.
2617 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2618 test -d "$ac_dir" ||
2619 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2620 continue
2621 ac_builddir=.
2623 case "$ac_dir" in
2624 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2626 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2627 # A ".." for each directory in $ac_dir_suffix.
2628 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2629 case $ac_top_builddir_sub in
2630 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2631 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2632 esac ;;
2633 esac
2634 ac_abs_top_builddir=$ac_pwd
2635 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2636 # for backward compatibility:
2637 ac_top_builddir=$ac_top_build_prefix
2639 case $srcdir in
2640 .) # We are building in place.
2641 ac_srcdir=.
2642 ac_top_srcdir=$ac_top_builddir_sub
2643 ac_abs_top_srcdir=$ac_pwd ;;
2644 [\\/]* | ?:[\\/]* ) # Absolute name.
2645 ac_srcdir=$srcdir$ac_dir_suffix;
2646 ac_top_srcdir=$srcdir
2647 ac_abs_top_srcdir=$srcdir ;;
2648 *) # Relative name.
2649 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2650 ac_top_srcdir=$ac_top_build_prefix$srcdir
2651 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2652 esac
2653 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2655 cd "$ac_dir" || { ac_status=$?; continue; }
2656 # Check for guested configure.
2657 if test -f "$ac_srcdir/configure.gnu"; then
2658 echo &&
2659 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2660 elif test -f "$ac_srcdir/configure"; then
2661 echo &&
2662 $SHELL "$ac_srcdir/configure" --help=recursive
2663 else
2664 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2665 fi || ac_status=$?
2666 cd "$ac_pwd" || { ac_status=$?; break; }
2667 done
2670 test -n "$ac_init_help" && exit $ac_status
2671 if $ac_init_version; then
2672 cat <<\_ACEOF
2673 Wine configure 3.9
2674 generated by GNU Autoconf 2.69
2676 Copyright (C) 2012 Free Software Foundation, Inc.
2677 This configure script is free software; the Free Software Foundation
2678 gives unlimited permission to copy, distribute and modify it.
2679 _ACEOF
2680 exit
2683 ## ------------------------ ##
2684 ## Autoconf initialization. ##
2685 ## ------------------------ ##
2687 # ac_fn_c_try_compile LINENO
2688 # --------------------------
2689 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2690 ac_fn_c_try_compile ()
2692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2693 rm -f conftest.$ac_objext
2694 if { { ac_try="$ac_compile"
2695 case "(($ac_try" in
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2698 esac
2699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2700 $as_echo "$ac_try_echo"; } >&5
2701 (eval "$ac_compile") 2>conftest.err
2702 ac_status=$?
2703 if test -s conftest.err; then
2704 grep -v '^ *+' conftest.err >conftest.er1
2705 cat conftest.er1 >&5
2706 mv -f conftest.er1 conftest.err
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; } && {
2710 test -z "$ac_c_werror_flag" ||
2711 test ! -s conftest.err
2712 } && test -s conftest.$ac_objext; then :
2713 ac_retval=0
2714 else
2715 $as_echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2718 ac_retval=1
2720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2721 as_fn_set_status $ac_retval
2723 } # ac_fn_c_try_compile
2725 # ac_fn_cxx_try_compile LINENO
2726 # ----------------------------
2727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2728 ac_fn_cxx_try_compile ()
2730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2731 rm -f conftest.$ac_objext
2732 if { { ac_try="$ac_compile"
2733 case "(($ac_try" in
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2736 esac
2737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2738 $as_echo "$ac_try_echo"; } >&5
2739 (eval "$ac_compile") 2>conftest.err
2740 ac_status=$?
2741 if test -s conftest.err; then
2742 grep -v '^ *+' conftest.err >conftest.er1
2743 cat conftest.er1 >&5
2744 mv -f conftest.er1 conftest.err
2746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747 test $ac_status = 0; } && {
2748 test -z "$ac_cxx_werror_flag" ||
2749 test ! -s conftest.err
2750 } && test -s conftest.$ac_objext; then :
2751 ac_retval=0
2752 else
2753 $as_echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.$ac_ext >&5
2756 ac_retval=1
2758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2759 as_fn_set_status $ac_retval
2761 } # ac_fn_cxx_try_compile
2763 # ac_fn_c_try_link LINENO
2764 # -----------------------
2765 # Try to link conftest.$ac_ext, and return whether this succeeded.
2766 ac_fn_c_try_link ()
2768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2769 rm -f conftest.$ac_objext conftest$ac_exeext
2770 if { { ac_try="$ac_link"
2771 case "(($ac_try" in
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2774 esac
2775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2776 $as_echo "$ac_try_echo"; } >&5
2777 (eval "$ac_link") 2>conftest.err
2778 ac_status=$?
2779 if test -s conftest.err; then
2780 grep -v '^ *+' conftest.err >conftest.er1
2781 cat conftest.er1 >&5
2782 mv -f conftest.er1 conftest.err
2784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2785 test $ac_status = 0; } && {
2786 test -z "$ac_c_werror_flag" ||
2787 test ! -s conftest.err
2788 } && test -s conftest$ac_exeext && {
2789 test "$cross_compiling" = yes ||
2790 test -x conftest$ac_exeext
2791 }; then :
2792 ac_retval=0
2793 else
2794 $as_echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.$ac_ext >&5
2797 ac_retval=1
2799 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2800 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2801 # interfere with the next link command; also delete a directory that is
2802 # left behind by Apple's compiler. We do this before executing the actions.
2803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2805 as_fn_set_status $ac_retval
2807 } # ac_fn_c_try_link
2809 # ac_fn_c_try_cpp LINENO
2810 # ----------------------
2811 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2812 ac_fn_c_try_cpp ()
2814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2815 if { { ac_try="$ac_cpp conftest.$ac_ext"
2816 case "(($ac_try" in
2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2819 esac
2820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2821 $as_echo "$ac_try_echo"; } >&5
2822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2823 ac_status=$?
2824 if test -s conftest.err; then
2825 grep -v '^ *+' conftest.err >conftest.er1
2826 cat conftest.er1 >&5
2827 mv -f conftest.er1 conftest.err
2829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2830 test $ac_status = 0; } > conftest.i && {
2831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2832 test ! -s conftest.err
2833 }; then :
2834 ac_retval=0
2835 else
2836 $as_echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.$ac_ext >&5
2839 ac_retval=1
2841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2842 as_fn_set_status $ac_retval
2844 } # ac_fn_c_try_cpp
2846 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2847 # -------------------------------------------------------
2848 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2849 # the include files in INCLUDES and setting the cache variable VAR
2850 # accordingly.
2851 ac_fn_c_check_header_mongrel ()
2853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2854 if eval \${$3+:} false; then :
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2856 $as_echo_n "checking for $2... " >&6; }
2857 if eval \${$3+:} false; then :
2858 $as_echo_n "(cached) " >&6
2860 eval ac_res=\$$3
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2862 $as_echo "$ac_res" >&6; }
2863 else
2864 # Is the header compilable?
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2866 $as_echo_n "checking $2 usability... " >&6; }
2867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2868 /* end confdefs.h. */
2870 #include <$2>
2871 _ACEOF
2872 if ac_fn_c_try_compile "$LINENO"; then :
2873 ac_header_compiler=yes
2874 else
2875 ac_header_compiler=no
2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2879 $as_echo "$ac_header_compiler" >&6; }
2881 # Is the header present?
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2883 $as_echo_n "checking $2 presence... " >&6; }
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2886 #include <$2>
2887 _ACEOF
2888 if ac_fn_c_try_cpp "$LINENO"; then :
2889 ac_header_preproc=yes
2890 else
2891 ac_header_preproc=no
2893 rm -f conftest.err conftest.i conftest.$ac_ext
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2895 $as_echo "$ac_header_preproc" >&6; }
2897 # So? What about this header?
2898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2899 yes:no: )
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2901 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2903 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2905 no:yes:* )
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2907 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2909 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2911 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2913 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2915 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2916 ( $as_echo "## ------------------------------------ ##
2917 ## Report this to wine-devel@winehq.org ##
2918 ## ------------------------------------ ##"
2919 ) | sed "s/^/$as_me: WARNING: /" >&2
2921 esac
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2923 $as_echo_n "checking for $2... " >&6; }
2924 if eval \${$3+:} false; then :
2925 $as_echo_n "(cached) " >&6
2926 else
2927 eval "$3=\$ac_header_compiler"
2929 eval ac_res=\$$3
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2931 $as_echo "$ac_res" >&6; }
2933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2935 } # ac_fn_c_check_header_mongrel
2937 # ac_fn_c_try_run LINENO
2938 # ----------------------
2939 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2940 # that executables *can* be run.
2941 ac_fn_c_try_run ()
2943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2944 if { { ac_try="$ac_link"
2945 case "(($ac_try" in
2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947 *) ac_try_echo=$ac_try;;
2948 esac
2949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2950 $as_echo "$ac_try_echo"; } >&5
2951 (eval "$ac_link") 2>&5
2952 ac_status=$?
2953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2954 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2955 { { case "(($ac_try" in
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2958 esac
2959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2960 $as_echo "$ac_try_echo"; } >&5
2961 (eval "$ac_try") 2>&5
2962 ac_status=$?
2963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2964 test $ac_status = 0; }; }; then :
2965 ac_retval=0
2966 else
2967 $as_echo "$as_me: program exited with status $ac_status" >&5
2968 $as_echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2971 ac_retval=$ac_status
2973 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2975 as_fn_set_status $ac_retval
2977 } # ac_fn_c_try_run
2979 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2980 # -------------------------------------------------------
2981 # Tests whether HEADER exists and can be compiled using the include files in
2982 # INCLUDES, setting the cache variable VAR accordingly.
2983 ac_fn_c_check_header_compile ()
2985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2987 $as_echo_n "checking for $2... " >&6; }
2988 if eval \${$3+:} false; then :
2989 $as_echo_n "(cached) " >&6
2990 else
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2994 #include <$2>
2995 _ACEOF
2996 if ac_fn_c_try_compile "$LINENO"; then :
2997 eval "$3=yes"
2998 else
2999 eval "$3=no"
3001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 eval ac_res=\$$3
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3005 $as_echo "$ac_res" >&6; }
3006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3008 } # ac_fn_c_check_header_compile
3010 # ac_fn_c_check_func LINENO FUNC VAR
3011 # ----------------------------------
3012 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3013 ac_fn_c_check_func ()
3015 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3017 $as_echo_n "checking for $2... " >&6; }
3018 if eval \${$3+:} false; then :
3019 $as_echo_n "(cached) " >&6
3020 else
3021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h. */
3023 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3025 #define $2 innocuous_$2
3027 /* System header to define __stub macros and hopefully few prototypes,
3028 which can conflict with char $2 (); below.
3029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3030 <limits.h> exists even on freestanding compilers. */
3032 #ifdef __STDC__
3033 # include <limits.h>
3034 #else
3035 # include <assert.h>
3036 #endif
3038 #undef $2
3040 /* Override any GCC internal prototype to avoid an error.
3041 Use char because int might match the return type of a GCC
3042 builtin and then its argument prototype would still apply. */
3043 #ifdef __cplusplus
3044 extern "C"
3045 #endif
3046 char $2 ();
3047 /* The GNU C library defines this for functions which it implements
3048 to always fail with ENOSYS. Some functions are actually named
3049 something starting with __ and the normal name is an alias. */
3050 #if defined __stub_$2 || defined __stub___$2
3051 choke me
3052 #endif
3055 main ()
3057 return $2 ();
3059 return 0;
3061 _ACEOF
3062 if ac_fn_c_try_link "$LINENO"; then :
3063 eval "$3=yes"
3064 else
3065 eval "$3=no"
3067 rm -f core conftest.err conftest.$ac_objext \
3068 conftest$ac_exeext conftest.$ac_ext
3070 eval ac_res=\$$3
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3072 $as_echo "$ac_res" >&6; }
3073 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3075 } # ac_fn_c_check_func
3077 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3078 # ----------------------------------------------------
3079 # Tries to find if the field MEMBER exists in type AGGR, after including
3080 # INCLUDES, setting cache variable VAR accordingly.
3081 ac_fn_c_check_member ()
3083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3085 $as_echo_n "checking for $2.$3... " >&6; }
3086 if eval \${$4+:} false; then :
3087 $as_echo_n "(cached) " >&6
3088 else
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3093 main ()
3095 static $2 ac_aggr;
3096 if (ac_aggr.$3)
3097 return 0;
3099 return 0;
3101 _ACEOF
3102 if ac_fn_c_try_compile "$LINENO"; then :
3103 eval "$4=yes"
3104 else
3105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3109 main ()
3111 static $2 ac_aggr;
3112 if (sizeof ac_aggr.$3)
3113 return 0;
3115 return 0;
3117 _ACEOF
3118 if ac_fn_c_try_compile "$LINENO"; then :
3119 eval "$4=yes"
3120 else
3121 eval "$4=no"
3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3127 eval ac_res=\$$4
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3129 $as_echo "$ac_res" >&6; }
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3132 } # ac_fn_c_check_member
3134 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3135 # -------------------------------------------
3136 # Tests whether TYPE exists after having included INCLUDES, setting cache
3137 # variable VAR accordingly.
3138 ac_fn_c_check_type ()
3140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3142 $as_echo_n "checking for $2... " >&6; }
3143 if eval \${$3+:} false; then :
3144 $as_echo_n "(cached) " >&6
3145 else
3146 eval "$3=no"
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3151 main ()
3153 if (sizeof ($2))
3154 return 0;
3156 return 0;
3158 _ACEOF
3159 if ac_fn_c_try_compile "$LINENO"; then :
3160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3161 /* end confdefs.h. */
3164 main ()
3166 if (sizeof (($2)))
3167 return 0;
3169 return 0;
3171 _ACEOF
3172 if ac_fn_c_try_compile "$LINENO"; then :
3174 else
3175 eval "$3=yes"
3177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3181 eval ac_res=\$$3
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3183 $as_echo "$ac_res" >&6; }
3184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3186 } # ac_fn_c_check_type
3187 cat >config.log <<_ACEOF
3188 This file contains any messages produced by compilers while
3189 running configure, to aid debugging if configure makes a mistake.
3191 It was created by Wine $as_me 3.9, which was
3192 generated by GNU Autoconf 2.69. Invocation command line was
3194 $ $0 $@
3196 _ACEOF
3197 exec 5>>config.log
3199 cat <<_ASUNAME
3200 ## --------- ##
3201 ## Platform. ##
3202 ## --------- ##
3204 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3205 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3206 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3207 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3208 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3210 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3211 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3213 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3214 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3215 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3216 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3217 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3218 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3219 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3221 _ASUNAME
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224 for as_dir in $PATH
3226 IFS=$as_save_IFS
3227 test -z "$as_dir" && as_dir=.
3228 $as_echo "PATH: $as_dir"
3229 done
3230 IFS=$as_save_IFS
3232 } >&5
3234 cat >&5 <<_ACEOF
3237 ## ----------- ##
3238 ## Core tests. ##
3239 ## ----------- ##
3241 _ACEOF
3244 # Keep a trace of the command line.
3245 # Strip out --no-create and --no-recursion so they do not pile up.
3246 # Strip out --silent because we don't want to record it for future runs.
3247 # Also quote any args containing shell meta-characters.
3248 # Make two passes to allow for proper duplicate-argument suppression.
3249 ac_configure_args=
3250 ac_configure_args0=
3251 ac_configure_args1=
3252 ac_must_keep_next=false
3253 for ac_pass in 1 2
3255 for ac_arg
3257 case $ac_arg in
3258 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3260 | -silent | --silent | --silen | --sile | --sil)
3261 continue ;;
3262 *\'*)
3263 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3264 esac
3265 case $ac_pass in
3266 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3268 as_fn_append ac_configure_args1 " '$ac_arg'"
3269 if test $ac_must_keep_next = true; then
3270 ac_must_keep_next=false # Got value, back to normal.
3271 else
3272 case $ac_arg in
3273 *=* | --config-cache | -C | -disable-* | --disable-* \
3274 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3275 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3276 | -with-* | --with-* | -without-* | --without-* | --x)
3277 case "$ac_configure_args0 " in
3278 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3279 esac
3281 -* ) ac_must_keep_next=true ;;
3282 esac
3284 as_fn_append ac_configure_args " '$ac_arg'"
3286 esac
3287 done
3288 done
3289 { ac_configure_args0=; unset ac_configure_args0;}
3290 { ac_configure_args1=; unset ac_configure_args1;}
3292 # When interrupted or exit'd, cleanup temporary files, and complete
3293 # config.log. We remove comments because anyway the quotes in there
3294 # would cause problems or look ugly.
3295 # WARNING: Use '\'' to represent an apostrophe within the trap.
3296 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3297 trap 'exit_status=$?
3298 # Save into config.log some information that might help in debugging.
3300 echo
3302 $as_echo "## ---------------- ##
3303 ## Cache variables. ##
3304 ## ---------------- ##"
3305 echo
3306 # The following way of writing the cache mishandles newlines in values,
3308 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3309 eval ac_val=\$$ac_var
3310 case $ac_val in #(
3311 *${as_nl}*)
3312 case $ac_var in #(
3313 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3314 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3315 esac
3316 case $ac_var in #(
3317 _ | IFS | as_nl) ;; #(
3318 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3319 *) { eval $ac_var=; unset $ac_var;} ;;
3320 esac ;;
3321 esac
3322 done
3323 (set) 2>&1 |
3324 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3325 *${as_nl}ac_space=\ *)
3326 sed -n \
3327 "s/'\''/'\''\\\\'\'''\''/g;
3328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3329 ;; #(
3331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3333 esac |
3334 sort
3336 echo
3338 $as_echo "## ----------------- ##
3339 ## Output variables. ##
3340 ## ----------------- ##"
3341 echo
3342 for ac_var in $ac_subst_vars
3344 eval ac_val=\$$ac_var
3345 case $ac_val in
3346 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3347 esac
3348 $as_echo "$ac_var='\''$ac_val'\''"
3349 done | sort
3350 echo
3352 if test -n "$ac_subst_files"; then
3353 $as_echo "## ------------------- ##
3354 ## File substitutions. ##
3355 ## ------------------- ##"
3356 echo
3357 for ac_var in $ac_subst_files
3359 eval ac_val=\$$ac_var
3360 case $ac_val in
3361 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3362 esac
3363 $as_echo "$ac_var='\''$ac_val'\''"
3364 done | sort
3365 echo
3368 if test -s confdefs.h; then
3369 $as_echo "## ----------- ##
3370 ## confdefs.h. ##
3371 ## ----------- ##"
3372 echo
3373 cat confdefs.h
3374 echo
3376 test "$ac_signal" != 0 &&
3377 $as_echo "$as_me: caught signal $ac_signal"
3378 $as_echo "$as_me: exit $exit_status"
3379 } >&5
3380 rm -f core *.core core.conftest.* &&
3381 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3382 exit $exit_status
3384 for ac_signal in 1 2 13 15; do
3385 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3386 done
3387 ac_signal=0
3389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3390 rm -f -r conftest* confdefs.h
3392 $as_echo "/* confdefs.h */" > confdefs.h
3394 # Predefined preprocessor variables.
3396 cat >>confdefs.h <<_ACEOF
3397 #define PACKAGE_NAME "$PACKAGE_NAME"
3398 _ACEOF
3400 cat >>confdefs.h <<_ACEOF
3401 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3402 _ACEOF
3404 cat >>confdefs.h <<_ACEOF
3405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3406 _ACEOF
3408 cat >>confdefs.h <<_ACEOF
3409 #define PACKAGE_STRING "$PACKAGE_STRING"
3410 _ACEOF
3412 cat >>confdefs.h <<_ACEOF
3413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3414 _ACEOF
3416 cat >>confdefs.h <<_ACEOF
3417 #define PACKAGE_URL "$PACKAGE_URL"
3418 _ACEOF
3421 # Let the site file select an alternate cache file if it wants to.
3422 # Prefer an explicitly selected file to automatically selected ones.
3423 ac_site_file1=NONE
3424 ac_site_file2=NONE
3425 if test -n "$CONFIG_SITE"; then
3426 # We do not want a PATH search for config.site.
3427 case $CONFIG_SITE in #((
3428 -*) ac_site_file1=./$CONFIG_SITE;;
3429 */*) ac_site_file1=$CONFIG_SITE;;
3430 *) ac_site_file1=./$CONFIG_SITE;;
3431 esac
3432 elif test "x$prefix" != xNONE; then
3433 ac_site_file1=$prefix/share/config.site
3434 ac_site_file2=$prefix/etc/config.site
3435 else
3436 ac_site_file1=$ac_default_prefix/share/config.site
3437 ac_site_file2=$ac_default_prefix/etc/config.site
3439 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3441 test "x$ac_site_file" = xNONE && continue
3442 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3444 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3445 sed 's/^/| /' "$ac_site_file" >&5
3446 . "$ac_site_file" \
3447 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 as_fn_error $? "failed to load site script $ac_site_file
3450 See \`config.log' for more details" "$LINENO" 5; }
3452 done
3454 if test -r "$cache_file"; then
3455 # Some versions of bash will fail to source /dev/null (special files
3456 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3457 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3459 $as_echo "$as_me: loading cache $cache_file" >&6;}
3460 case $cache_file in
3461 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3462 *) . "./$cache_file";;
3463 esac
3465 else
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3467 $as_echo "$as_me: creating cache $cache_file" >&6;}
3468 >$cache_file
3471 # Check that the precious variables saved in the cache have kept the same
3472 # value.
3473 ac_cache_corrupted=false
3474 for ac_var in $ac_precious_vars; do
3475 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3476 eval ac_new_set=\$ac_env_${ac_var}_set
3477 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3478 eval ac_new_val=\$ac_env_${ac_var}_value
3479 case $ac_old_set,$ac_new_set in
3480 set,)
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3482 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3483 ac_cache_corrupted=: ;;
3484 ,set)
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3486 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3487 ac_cache_corrupted=: ;;
3488 ,);;
3490 if test "x$ac_old_val" != "x$ac_new_val"; then
3491 # differences in whitespace do not lead to failure.
3492 ac_old_val_w=`echo x $ac_old_val`
3493 ac_new_val_w=`echo x $ac_new_val`
3494 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3496 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3497 ac_cache_corrupted=:
3498 else
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3500 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3501 eval $ac_var=\$ac_old_val
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3504 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3506 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3507 fi;;
3508 esac
3509 # Pass precious variables to config.status.
3510 if test "$ac_new_set" = set; then
3511 case $ac_new_val in
3512 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3513 *) ac_arg=$ac_var=$ac_new_val ;;
3514 esac
3515 case " $ac_configure_args " in
3516 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3517 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3518 esac
3520 done
3521 if $ac_cache_corrupted; then
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3525 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3526 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3528 ## -------------------- ##
3529 ## Main body of script. ##
3530 ## -------------------- ##
3532 ac_ext=c
3533 ac_cpp='$CPP $CPPFLAGS'
3534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3540 ac_config_headers="$ac_config_headers include/config.h"
3542 ac_aux_dir=
3543 for ac_dir in tools "$srcdir"/tools; do
3544 if test -f "$ac_dir/install-sh"; then
3545 ac_aux_dir=$ac_dir
3546 ac_install_sh="$ac_aux_dir/install-sh -c"
3547 break
3548 elif test -f "$ac_dir/install.sh"; then
3549 ac_aux_dir=$ac_dir
3550 ac_install_sh="$ac_aux_dir/install.sh -c"
3551 break
3552 elif test -f "$ac_dir/shtool"; then
3553 ac_aux_dir=$ac_dir
3554 ac_install_sh="$ac_aux_dir/shtool install -c"
3555 break
3557 done
3558 if test -z "$ac_aux_dir"; then
3559 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3562 # These three variables are undocumented and unsupported,
3563 # and are intended to be withdrawn in a future Autoconf release.
3564 # They can cause serious problems if a builder's source tree is in a directory
3565 # whose full name contains unusual characters.
3566 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3567 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3568 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3572 libwine_version="1.0"
3576 # Check whether --enable-win16 was given.
3577 if test "${enable_win16+set}" = set; then :
3578 enableval=$enable_win16;
3581 # Check whether --enable-win64 was given.
3582 if test "${enable_win64+set}" = set; then :
3583 enableval=$enable_win64;
3586 # Check whether --enable-tests was given.
3587 if test "${enable_tests+set}" = set; then :
3588 enableval=$enable_tests;
3591 # Check whether --enable-maintainer-mode was given.
3592 if test "${enable_maintainer_mode+set}" = set; then :
3593 enableval=$enable_maintainer_mode;
3598 # Check whether --with-alsa was given.
3599 if test "${with_alsa+set}" = set; then :
3600 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3604 # Check whether --with-capi was given.
3605 if test "${with_capi+set}" = set; then :
3606 withval=$with_capi;
3610 # Check whether --with-cms was given.
3611 if test "${with_cms+set}" = set; then :
3612 withval=$with_cms;
3616 # Check whether --with-coreaudio was given.
3617 if test "${with_coreaudio+set}" = set; then :
3618 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3622 # Check whether --with-cups was given.
3623 if test "${with_cups+set}" = set; then :
3624 withval=$with_cups;
3628 # Check whether --with-curses was given.
3629 if test "${with_curses+set}" = set; then :
3630 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3634 # Check whether --with-dbus was given.
3635 if test "${with_dbus+set}" = set; then :
3636 withval=$with_dbus;
3640 # Check whether --with-float-abi was given.
3641 if test "${with_float_abi+set}" = set; then :
3642 withval=$with_float_abi;
3646 # Check whether --with-fontconfig was given.
3647 if test "${with_fontconfig+set}" = set; then :
3648 withval=$with_fontconfig;
3652 # Check whether --with-freetype was given.
3653 if test "${with_freetype+set}" = set; then :
3654 withval=$with_freetype;
3658 # Check whether --with-gettext was given.
3659 if test "${with_gettext+set}" = set; then :
3660 withval=$with_gettext;
3664 # Check whether --with-gettextpo was given.
3665 if test "${with_gettextpo+set}" = set; then :
3666 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3670 # Check whether --with-gphoto was given.
3671 if test "${with_gphoto+set}" = set; then :
3672 withval=$with_gphoto;
3676 # Check whether --with-glu was given.
3677 if test "${with_glu+set}" = set; then :
3678 withval=$with_glu;
3682 # Check whether --with-gnutls was given.
3683 if test "${with_gnutls+set}" = set; then :
3684 withval=$with_gnutls;
3688 # Check whether --with-gsm was given.
3689 if test "${with_gsm+set}" = set; then :
3690 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3694 # Check whether --with-gssapi was given.
3695 if test "${with_gssapi+set}" = set; then :
3696 withval=$with_gssapi;
3700 # Check whether --with-gstreamer was given.
3701 if test "${with_gstreamer+set}" = set; then :
3702 withval=$with_gstreamer;
3706 # Check whether --with-hal was given.
3707 if test "${with_hal+set}" = set; then :
3708 withval=$with_hal;
3712 # Check whether --with-jpeg was given.
3713 if test "${with_jpeg+set}" = set; then :
3714 withval=$with_jpeg;
3718 # Check whether --with-krb5 was given.
3719 if test "${with_krb5+set}" = set; then :
3720 withval=$with_krb5;
3724 # Check whether --with-ldap was given.
3725 if test "${with_ldap+set}" = set; then :
3726 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3730 # Check whether --with-mpg123 was given.
3731 if test "${with_mpg123+set}" = set; then :
3732 withval=$with_mpg123;
3736 # Check whether --with-netapi was given.
3737 if test "${with_netapi+set}" = set; then :
3738 withval=$with_netapi;
3742 # Check whether --with-openal was given.
3743 if test "${with_openal+set}" = set; then :
3744 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3748 # Check whether --with-opencl was given.
3749 if test "${with_opencl+set}" = set; then :
3750 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3754 # Check whether --with-opengl was given.
3755 if test "${with_opengl+set}" = set; then :
3756 withval=$with_opengl;
3760 # Check whether --with-osmesa was given.
3761 if test "${with_osmesa+set}" = set; then :
3762 withval=$with_osmesa;
3766 # Check whether --with-oss was given.
3767 if test "${with_oss+set}" = set; then :
3768 withval=$with_oss;
3772 # Check whether --with-pcap was given.
3773 if test "${with_pcap+set}" = set; then :
3774 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3778 # Check whether --with-png was given.
3779 if test "${with_png+set}" = set; then :
3780 withval=$with_png;
3784 # Check whether --with-pthread was given.
3785 if test "${with_pthread+set}" = set; then :
3786 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3790 # Check whether --with-pulse was given.
3791 if test "${with_pulse+set}" = set; then :
3792 withval=$with_pulse;
3796 # Check whether --with-sane was given.
3797 if test "${with_sane+set}" = set; then :
3798 withval=$with_sane;
3802 # Check whether --with-sdl was given.
3803 if test "${with_sdl+set}" = set; then :
3804 withval=$with_sdl;
3808 # Check whether --with-tiff was given.
3809 if test "${with_tiff+set}" = set; then :
3810 withval=$with_tiff;
3814 # Check whether --with-udev was given.
3815 if test "${with_udev+set}" = set; then :
3816 withval=$with_udev;
3820 # Check whether --with-v4l was given.
3821 if test "${with_v4l+set}" = set; then :
3822 withval=$with_v4l;
3826 # Check whether --with-vkd3d was given.
3827 if test "${with_vkd3d+set}" = set; then :
3828 withval=$with_vkd3d;
3832 # Check whether --with-vulkan was given.
3833 if test "${with_vulkan+set}" = set; then :
3834 withval=$with_vulkan;
3838 # Check whether --with-xcomposite was given.
3839 if test "${with_xcomposite+set}" = set; then :
3840 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3844 # Check whether --with-xcursor was given.
3845 if test "${with_xcursor+set}" = set; then :
3846 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3850 # Check whether --with-xfixes was given.
3851 if test "${with_xfixes+set}" = set; then :
3852 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3856 # Check whether --with-xinerama was given.
3857 if test "${with_xinerama+set}" = set; then :
3858 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3862 # Check whether --with-xinput was given.
3863 if test "${with_xinput+set}" = set; then :
3864 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3868 # Check whether --with-xinput2 was given.
3869 if test "${with_xinput2+set}" = set; then :
3870 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3874 # Check whether --with-xml was given.
3875 if test "${with_xml+set}" = set; then :
3876 withval=$with_xml;
3880 # Check whether --with-xrandr was given.
3881 if test "${with_xrandr+set}" = set; then :
3882 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3886 # Check whether --with-xrender was given.
3887 if test "${with_xrender+set}" = set; then :
3888 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3892 # Check whether --with-xshape was given.
3893 if test "${with_xshape+set}" = set; then :
3894 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3898 # Check whether --with-xshm was given.
3899 if test "${with_xshm+set}" = set; then :
3900 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3904 # Check whether --with-xslt was given.
3905 if test "${with_xslt+set}" = set; then :
3906 withval=$with_xslt;
3910 # Check whether --with-xxf86vm was given.
3911 if test "${with_xxf86vm+set}" = set; then :
3912 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
3916 # Check whether --with-zlib was given.
3917 if test "${with_zlib+set}" = set; then :
3918 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3923 # Check whether --with-wine-tools was given.
3924 if test "${with_wine_tools+set}" = set; then :
3925 withval=$with_wine_tools;
3929 # Check whether --with-wine64 was given.
3930 if test "${with_wine64+set}" = set; then :
3931 withval=$with_wine64;
3935 # Make sure we can run config.sub.
3936 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3937 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3940 $as_echo_n "checking build system type... " >&6; }
3941 if ${ac_cv_build+:} false; then :
3942 $as_echo_n "(cached) " >&6
3943 else
3944 ac_build_alias=$build_alias
3945 test "x$ac_build_alias" = x &&
3946 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3947 test "x$ac_build_alias" = x &&
3948 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3949 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3950 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3954 $as_echo "$ac_cv_build" >&6; }
3955 case $ac_cv_build in
3956 *-*-*) ;;
3957 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3958 esac
3959 build=$ac_cv_build
3960 ac_save_IFS=$IFS; IFS='-'
3961 set x $ac_cv_build
3962 shift
3963 build_cpu=$1
3964 build_vendor=$2
3965 shift; shift
3966 # Remember, the first character of IFS is used to create $*,
3967 # except with old shells:
3968 build_os=$*
3969 IFS=$ac_save_IFS
3970 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3974 $as_echo_n "checking host system type... " >&6; }
3975 if ${ac_cv_host+:} false; then :
3976 $as_echo_n "(cached) " >&6
3977 else
3978 if test "x$host_alias" = x; then
3979 ac_cv_host=$ac_cv_build
3980 else
3981 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3982 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3987 $as_echo "$ac_cv_host" >&6; }
3988 case $ac_cv_host in
3989 *-*-*) ;;
3990 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3991 esac
3992 host=$ac_cv_host
3993 ac_save_IFS=$IFS; IFS='-'
3994 set x $ac_cv_host
3995 shift
3996 host_cpu=$1
3997 host_vendor=$2
3998 shift; shift
3999 # Remember, the first character of IFS is used to create $*,
4000 # except with old shells:
4001 host_os=$*
4002 IFS=$ac_save_IFS
4003 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4007 case "$srcdir" in
4008 .) ;;
4009 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4010 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4011 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4012 fi ;;
4013 esac
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4017 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4018 set x ${MAKE-make}
4019 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4020 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4021 $as_echo_n "(cached) " >&6
4022 else
4023 cat >conftest.make <<\_ACEOF
4024 SHELL = /bin/sh
4025 all:
4026 @echo '@@@%%%=$(MAKE)=@@@%%%'
4027 _ACEOF
4028 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4029 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4030 *@@@%%%=?*=@@@%%%*)
4031 eval ac_cv_prog_make_${ac_make}_set=yes;;
4033 eval ac_cv_prog_make_${ac_make}_set=no;;
4034 esac
4035 rm -f conftest.make
4037 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4039 $as_echo "yes" >&6; }
4040 SET_MAKE=
4041 else
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4043 $as_echo "no" >&6; }
4044 SET_MAKE="MAKE=${MAKE-make}"
4047 ac_ext=c
4048 ac_cpp='$CPP $CPPFLAGS'
4049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4052 if test -n "$ac_tool_prefix"; then
4053 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4054 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4056 $as_echo_n "checking for $ac_word... " >&6; }
4057 if ${ac_cv_prog_CC+:} false; then :
4058 $as_echo_n "(cached) " >&6
4059 else
4060 if test -n "$CC"; then
4061 ac_cv_prog_CC="$CC" # Let the user override the test.
4062 else
4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 for as_dir in $PATH
4066 IFS=$as_save_IFS
4067 test -z "$as_dir" && as_dir=.
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4072 break 2
4074 done
4075 done
4076 IFS=$as_save_IFS
4080 CC=$ac_cv_prog_CC
4081 if test -n "$CC"; then
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4083 $as_echo "$CC" >&6; }
4084 else
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4086 $as_echo "no" >&6; }
4091 if test -z "$ac_cv_prog_CC"; then
4092 ac_ct_CC=$CC
4093 # Extract the first word of "gcc", so it can be a program name with args.
4094 set dummy gcc; ac_word=$2
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4096 $as_echo_n "checking for $ac_word... " >&6; }
4097 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4098 $as_echo_n "(cached) " >&6
4099 else
4100 if test -n "$ac_ct_CC"; then
4101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4102 else
4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104 for as_dir in $PATH
4106 IFS=$as_save_IFS
4107 test -z "$as_dir" && as_dir=.
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110 ac_cv_prog_ac_ct_CC="gcc"
4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 break 2
4114 done
4115 done
4116 IFS=$as_save_IFS
4120 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4121 if test -n "$ac_ct_CC"; then
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4123 $as_echo "$ac_ct_CC" >&6; }
4124 else
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4126 $as_echo "no" >&6; }
4129 if test "x$ac_ct_CC" = x; then
4130 CC=""
4131 else
4132 case $cross_compiling:$ac_tool_warned in
4133 yes:)
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4136 ac_tool_warned=yes ;;
4137 esac
4138 CC=$ac_ct_CC
4140 else
4141 CC="$ac_cv_prog_CC"
4144 if test -z "$CC"; then
4145 if test -n "$ac_tool_prefix"; then
4146 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4147 set dummy ${ac_tool_prefix}cc; ac_word=$2
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4149 $as_echo_n "checking for $ac_word... " >&6; }
4150 if ${ac_cv_prog_CC+:} false; then :
4151 $as_echo_n "(cached) " >&6
4152 else
4153 if test -n "$CC"; then
4154 ac_cv_prog_CC="$CC" # Let the user override the test.
4155 else
4156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4157 for as_dir in $PATH
4159 IFS=$as_save_IFS
4160 test -z "$as_dir" && as_dir=.
4161 for ac_exec_ext in '' $ac_executable_extensions; do
4162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4163 ac_cv_prog_CC="${ac_tool_prefix}cc"
4164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4165 break 2
4167 done
4168 done
4169 IFS=$as_save_IFS
4173 CC=$ac_cv_prog_CC
4174 if test -n "$CC"; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4176 $as_echo "$CC" >&6; }
4177 else
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179 $as_echo "no" >&6; }
4185 if test -z "$CC"; then
4186 # Extract the first word of "cc", so it can be a program name with args.
4187 set dummy cc; ac_word=$2
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4189 $as_echo_n "checking for $ac_word... " >&6; }
4190 if ${ac_cv_prog_CC+:} false; then :
4191 $as_echo_n "(cached) " >&6
4192 else
4193 if test -n "$CC"; then
4194 ac_cv_prog_CC="$CC" # Let the user override the test.
4195 else
4196 ac_prog_rejected=no
4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198 for as_dir in $PATH
4200 IFS=$as_save_IFS
4201 test -z "$as_dir" && as_dir=.
4202 for ac_exec_ext in '' $ac_executable_extensions; do
4203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4204 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4205 ac_prog_rejected=yes
4206 continue
4208 ac_cv_prog_CC="cc"
4209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 break 2
4212 done
4213 done
4214 IFS=$as_save_IFS
4216 if test $ac_prog_rejected = yes; then
4217 # We found a bogon in the path, so make sure we never use it.
4218 set dummy $ac_cv_prog_CC
4219 shift
4220 if test $# != 0; then
4221 # We chose a different compiler from the bogus one.
4222 # However, it has the same basename, so the bogon will be chosen
4223 # first if we set CC to just the basename; use the full file name.
4224 shift
4225 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4230 CC=$ac_cv_prog_CC
4231 if test -n "$CC"; then
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4233 $as_echo "$CC" >&6; }
4234 else
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4236 $as_echo "no" >&6; }
4241 if test -z "$CC"; then
4242 if test -n "$ac_tool_prefix"; then
4243 for ac_prog in cl.exe
4245 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4246 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4248 $as_echo_n "checking for $ac_word... " >&6; }
4249 if ${ac_cv_prog_CC+:} false; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 if test -n "$CC"; then
4253 ac_cv_prog_CC="$CC" # Let the user override the test.
4254 else
4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 for as_dir in $PATH
4258 IFS=$as_save_IFS
4259 test -z "$as_dir" && as_dir=.
4260 for ac_exec_ext in '' $ac_executable_extensions; do
4261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 break 2
4266 done
4267 done
4268 IFS=$as_save_IFS
4272 CC=$ac_cv_prog_CC
4273 if test -n "$CC"; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4275 $as_echo "$CC" >&6; }
4276 else
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4278 $as_echo "no" >&6; }
4282 test -n "$CC" && break
4283 done
4285 if test -z "$CC"; then
4286 ac_ct_CC=$CC
4287 for ac_prog in cl.exe
4289 # Extract the first word of "$ac_prog", so it can be a program name with args.
4290 set dummy $ac_prog; ac_word=$2
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4292 $as_echo_n "checking for $ac_word... " >&6; }
4293 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4294 $as_echo_n "(cached) " >&6
4295 else
4296 if test -n "$ac_ct_CC"; then
4297 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4298 else
4299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300 for as_dir in $PATH
4302 IFS=$as_save_IFS
4303 test -z "$as_dir" && as_dir=.
4304 for ac_exec_ext in '' $ac_executable_extensions; do
4305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4306 ac_cv_prog_ac_ct_CC="$ac_prog"
4307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4308 break 2
4310 done
4311 done
4312 IFS=$as_save_IFS
4316 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4317 if test -n "$ac_ct_CC"; then
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4319 $as_echo "$ac_ct_CC" >&6; }
4320 else
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4322 $as_echo "no" >&6; }
4326 test -n "$ac_ct_CC" && break
4327 done
4329 if test "x$ac_ct_CC" = x; then
4330 CC=""
4331 else
4332 case $cross_compiling:$ac_tool_warned in
4333 yes:)
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4336 ac_tool_warned=yes ;;
4337 esac
4338 CC=$ac_ct_CC
4345 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4347 as_fn_error $? "no acceptable C compiler found in \$PATH
4348 See \`config.log' for more details" "$LINENO" 5; }
4350 # Provide some information about the compiler.
4351 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4352 set X $ac_compile
4353 ac_compiler=$2
4354 for ac_option in --version -v -V -qversion; do
4355 { { ac_try="$ac_compiler $ac_option >&5"
4356 case "(($ac_try" in
4357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4358 *) ac_try_echo=$ac_try;;
4359 esac
4360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4361 $as_echo "$ac_try_echo"; } >&5
4362 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4363 ac_status=$?
4364 if test -s conftest.err; then
4365 sed '10a\
4366 ... rest of stderr output deleted ...
4367 10q' conftest.err >conftest.er1
4368 cat conftest.er1 >&5
4370 rm -f conftest.er1 conftest.err
4371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4372 test $ac_status = 0; }
4373 done
4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4379 main ()
4383 return 0;
4385 _ACEOF
4386 ac_clean_files_save=$ac_clean_files
4387 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4388 # Try to create an executable without -o first, disregard a.out.
4389 # It will help us diagnose broken compilers, and finding out an intuition
4390 # of exeext.
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4392 $as_echo_n "checking whether the C compiler works... " >&6; }
4393 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4395 # The possible output files:
4396 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4398 ac_rmfiles=
4399 for ac_file in $ac_files
4401 case $ac_file in
4402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4403 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4404 esac
4405 done
4406 rm -f $ac_rmfiles
4408 if { { ac_try="$ac_link_default"
4409 case "(($ac_try" in
4410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4411 *) ac_try_echo=$ac_try;;
4412 esac
4413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4414 $as_echo "$ac_try_echo"; } >&5
4415 (eval "$ac_link_default") 2>&5
4416 ac_status=$?
4417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4418 test $ac_status = 0; }; then :
4419 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4420 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4421 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4422 # so that the user can short-circuit this test for compilers unknown to
4423 # Autoconf.
4424 for ac_file in $ac_files ''
4426 test -f "$ac_file" || continue
4427 case $ac_file in
4428 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4430 [ab].out )
4431 # We found the default executable, but exeext='' is most
4432 # certainly right.
4433 break;;
4434 *.* )
4435 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4436 then :; else
4437 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4439 # We set ac_cv_exeext here because the later test for it is not
4440 # safe: cross compilers may not add the suffix if given an `-o'
4441 # argument, so we may need to know it at that point already.
4442 # Even if this section looks crufty: it has the advantage of
4443 # actually working.
4444 break;;
4446 break;;
4447 esac
4448 done
4449 test "$ac_cv_exeext" = no && ac_cv_exeext=
4451 else
4452 ac_file=''
4454 if test -z "$ac_file"; then :
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4457 $as_echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4462 as_fn_error 77 "C compiler cannot create executables
4463 See \`config.log' for more details" "$LINENO" 5; }
4464 else
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4466 $as_echo "yes" >&6; }
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4469 $as_echo_n "checking for C compiler default output file name... " >&6; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4471 $as_echo "$ac_file" >&6; }
4472 ac_exeext=$ac_cv_exeext
4474 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4475 ac_clean_files=$ac_clean_files_save
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4477 $as_echo_n "checking for suffix of executables... " >&6; }
4478 if { { ac_try="$ac_link"
4479 case "(($ac_try" in
4480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4481 *) ac_try_echo=$ac_try;;
4482 esac
4483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4484 $as_echo "$ac_try_echo"; } >&5
4485 (eval "$ac_link") 2>&5
4486 ac_status=$?
4487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4488 test $ac_status = 0; }; then :
4489 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4490 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4491 # work properly (i.e., refer to `conftest.exe'), while it won't with
4492 # `rm'.
4493 for ac_file in conftest.exe conftest conftest.*; do
4494 test -f "$ac_file" || continue
4495 case $ac_file in
4496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4497 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4498 break;;
4499 * ) break;;
4500 esac
4501 done
4502 else
4503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4505 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4506 See \`config.log' for more details" "$LINENO" 5; }
4508 rm -f conftest conftest$ac_cv_exeext
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4510 $as_echo "$ac_cv_exeext" >&6; }
4512 rm -f conftest.$ac_ext
4513 EXEEXT=$ac_cv_exeext
4514 ac_exeext=$EXEEXT
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4517 #include <stdio.h>
4519 main ()
4521 FILE *f = fopen ("conftest.out", "w");
4522 return ferror (f) || fclose (f) != 0;
4525 return 0;
4527 _ACEOF
4528 ac_clean_files="$ac_clean_files conftest.out"
4529 # Check that the compiler produces executables we can run. If not, either
4530 # the compiler is broken, or we cross compile.
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4532 $as_echo_n "checking whether we are cross compiling... " >&6; }
4533 if test "$cross_compiling" != yes; then
4534 { { ac_try="$ac_link"
4535 case "(($ac_try" in
4536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4538 esac
4539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4540 $as_echo "$ac_try_echo"; } >&5
4541 (eval "$ac_link") 2>&5
4542 ac_status=$?
4543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4544 test $ac_status = 0; }
4545 if { ac_try='./conftest$ac_cv_exeext'
4546 { { case "(($ac_try" in
4547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4548 *) ac_try_echo=$ac_try;;
4549 esac
4550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4551 $as_echo "$ac_try_echo"; } >&5
4552 (eval "$ac_try") 2>&5
4553 ac_status=$?
4554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4555 test $ac_status = 0; }; }; then
4556 cross_compiling=no
4557 else
4558 if test "$cross_compiling" = maybe; then
4559 cross_compiling=yes
4560 else
4561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4563 as_fn_error $? "cannot run C compiled programs.
4564 If you meant to cross compile, use \`--host'.
4565 See \`config.log' for more details" "$LINENO" 5; }
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4570 $as_echo "$cross_compiling" >&6; }
4572 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4573 ac_clean_files=$ac_clean_files_save
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4575 $as_echo_n "checking for suffix of object files... " >&6; }
4576 if ${ac_cv_objext+:} false; then :
4577 $as_echo_n "(cached) " >&6
4578 else
4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4583 main ()
4587 return 0;
4589 _ACEOF
4590 rm -f conftest.o conftest.obj
4591 if { { ac_try="$ac_compile"
4592 case "(($ac_try" in
4593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4594 *) ac_try_echo=$ac_try;;
4595 esac
4596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4597 $as_echo "$ac_try_echo"; } >&5
4598 (eval "$ac_compile") 2>&5
4599 ac_status=$?
4600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4601 test $ac_status = 0; }; then :
4602 for ac_file in conftest.o conftest.obj conftest.*; do
4603 test -f "$ac_file" || continue;
4604 case $ac_file in
4605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4607 break;;
4608 esac
4609 done
4610 else
4611 $as_echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.$ac_ext >&5
4614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4616 as_fn_error $? "cannot compute suffix of object files: cannot compile
4617 See \`config.log' for more details" "$LINENO" 5; }
4619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4622 $as_echo "$ac_cv_objext" >&6; }
4623 OBJEXT=$ac_cv_objext
4624 ac_objext=$OBJEXT
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4626 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4627 if ${ac_cv_c_compiler_gnu+:} false; then :
4628 $as_echo_n "(cached) " >&6
4629 else
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4634 main ()
4636 #ifndef __GNUC__
4637 choke me
4638 #endif
4641 return 0;
4643 _ACEOF
4644 if ac_fn_c_try_compile "$LINENO"; then :
4645 ac_compiler_gnu=yes
4646 else
4647 ac_compiler_gnu=no
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4654 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4655 if test $ac_compiler_gnu = yes; then
4656 GCC=yes
4657 else
4658 GCC=
4660 ac_test_CFLAGS=${CFLAGS+set}
4661 ac_save_CFLAGS=$CFLAGS
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4663 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4664 if ${ac_cv_prog_cc_g+:} false; then :
4665 $as_echo_n "(cached) " >&6
4666 else
4667 ac_save_c_werror_flag=$ac_c_werror_flag
4668 ac_c_werror_flag=yes
4669 ac_cv_prog_cc_g=no
4670 CFLAGS="-g"
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4675 main ()
4679 return 0;
4681 _ACEOF
4682 if ac_fn_c_try_compile "$LINENO"; then :
4683 ac_cv_prog_cc_g=yes
4684 else
4685 CFLAGS=""
4686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4690 main ()
4694 return 0;
4696 _ACEOF
4697 if ac_fn_c_try_compile "$LINENO"; then :
4699 else
4700 ac_c_werror_flag=$ac_save_c_werror_flag
4701 CFLAGS="-g"
4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4706 main ()
4710 return 0;
4712 _ACEOF
4713 if ac_fn_c_try_compile "$LINENO"; then :
4714 ac_cv_prog_cc_g=yes
4716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4721 ac_c_werror_flag=$ac_save_c_werror_flag
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4724 $as_echo "$ac_cv_prog_cc_g" >&6; }
4725 if test "$ac_test_CFLAGS" = set; then
4726 CFLAGS=$ac_save_CFLAGS
4727 elif test $ac_cv_prog_cc_g = yes; then
4728 if test "$GCC" = yes; then
4729 CFLAGS="-g -O2"
4730 else
4731 CFLAGS="-g"
4733 else
4734 if test "$GCC" = yes; then
4735 CFLAGS="-O2"
4736 else
4737 CFLAGS=
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4741 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4742 if ${ac_cv_prog_cc_c89+:} false; then :
4743 $as_echo_n "(cached) " >&6
4744 else
4745 ac_cv_prog_cc_c89=no
4746 ac_save_CC=$CC
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4749 #include <stdarg.h>
4750 #include <stdio.h>
4751 struct stat;
4752 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4753 struct buf { int x; };
4754 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4755 static char *e (p, i)
4756 char **p;
4757 int i;
4759 return p[i];
4761 static char *f (char * (*g) (char **, int), char **p, ...)
4763 char *s;
4764 va_list v;
4765 va_start (v,p);
4766 s = g (p, va_arg (v,int));
4767 va_end (v);
4768 return s;
4771 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4772 function prototypes and stuff, but not '\xHH' hex character constants.
4773 These don't provoke an error unfortunately, instead are silently treated
4774 as 'x'. The following induces an error, until -std is added to get
4775 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4776 array size at least. It's necessary to write '\x00'==0 to get something
4777 that's true only with -std. */
4778 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4780 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4781 inside strings and character constants. */
4782 #define FOO(x) 'x'
4783 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4785 int test (int i, double x);
4786 struct s1 {int (*f) (int a);};
4787 struct s2 {int (*f) (double a);};
4788 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4789 int argc;
4790 char **argv;
4792 main ()
4794 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4796 return 0;
4798 _ACEOF
4799 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4800 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4802 CC="$ac_save_CC $ac_arg"
4803 if ac_fn_c_try_compile "$LINENO"; then :
4804 ac_cv_prog_cc_c89=$ac_arg
4806 rm -f core conftest.err conftest.$ac_objext
4807 test "x$ac_cv_prog_cc_c89" != "xno" && break
4808 done
4809 rm -f conftest.$ac_ext
4810 CC=$ac_save_CC
4813 # AC_CACHE_VAL
4814 case "x$ac_cv_prog_cc_c89" in
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4817 $as_echo "none needed" >&6; } ;;
4818 xno)
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4820 $as_echo "unsupported" >&6; } ;;
4822 CC="$CC $ac_cv_prog_cc_c89"
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4824 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4825 esac
4826 if test "x$ac_cv_prog_cc_c89" != xno; then :
4830 ac_ext=c
4831 ac_cpp='$CPP $CPPFLAGS'
4832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4836 ac_ext=cpp
4837 ac_cpp='$CXXCPP $CPPFLAGS'
4838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4841 if test -z "$CXX"; then
4842 if test -n "$CCC"; then
4843 CXX=$CCC
4844 else
4845 if test -n "$ac_tool_prefix"; then
4846 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4849 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851 $as_echo_n "checking for $ac_word... " >&6; }
4852 if ${ac_cv_prog_CXX+:} false; then :
4853 $as_echo_n "(cached) " >&6
4854 else
4855 if test -n "$CXX"; then
4856 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4857 else
4858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4859 for as_dir in $PATH
4861 IFS=$as_save_IFS
4862 test -z "$as_dir" && as_dir=.
4863 for ac_exec_ext in '' $ac_executable_extensions; do
4864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4865 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4867 break 2
4869 done
4870 done
4871 IFS=$as_save_IFS
4875 CXX=$ac_cv_prog_CXX
4876 if test -n "$CXX"; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4878 $as_echo "$CXX" >&6; }
4879 else
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 $as_echo "no" >&6; }
4885 test -n "$CXX" && break
4886 done
4888 if test -z "$CXX"; then
4889 ac_ct_CXX=$CXX
4890 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4892 # Extract the first word of "$ac_prog", so it can be a program name with args.
4893 set dummy $ac_prog; ac_word=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4897 $as_echo_n "(cached) " >&6
4898 else
4899 if test -n "$ac_ct_CXX"; then
4900 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4901 else
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 for as_dir in $PATH
4905 IFS=$as_save_IFS
4906 test -z "$as_dir" && as_dir=.
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_ac_ct_CXX="$ac_prog"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 break 2
4913 done
4914 done
4915 IFS=$as_save_IFS
4919 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4920 if test -n "$ac_ct_CXX"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4922 $as_echo "$ac_ct_CXX" >&6; }
4923 else
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4929 test -n "$ac_ct_CXX" && break
4930 done
4932 if test "x$ac_ct_CXX" = x; then
4933 CXX="g++"
4934 else
4935 case $cross_compiling:$ac_tool_warned in
4936 yes:)
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4939 ac_tool_warned=yes ;;
4940 esac
4941 CXX=$ac_ct_CXX
4947 # Provide some information about the compiler.
4948 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4949 set X $ac_compile
4950 ac_compiler=$2
4951 for ac_option in --version -v -V -qversion; do
4952 { { ac_try="$ac_compiler $ac_option >&5"
4953 case "(($ac_try" in
4954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4955 *) ac_try_echo=$ac_try;;
4956 esac
4957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4958 $as_echo "$ac_try_echo"; } >&5
4959 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4960 ac_status=$?
4961 if test -s conftest.err; then
4962 sed '10a\
4963 ... rest of stderr output deleted ...
4964 10q' conftest.err >conftest.er1
4965 cat conftest.er1 >&5
4967 rm -f conftest.er1 conftest.err
4968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4969 test $ac_status = 0; }
4970 done
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4973 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4974 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4975 $as_echo_n "(cached) " >&6
4976 else
4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4981 main ()
4983 #ifndef __GNUC__
4984 choke me
4985 #endif
4988 return 0;
4990 _ACEOF
4991 if ac_fn_cxx_try_compile "$LINENO"; then :
4992 ac_compiler_gnu=yes
4993 else
4994 ac_compiler_gnu=no
4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4997 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5001 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5002 if test $ac_compiler_gnu = yes; then
5003 GXX=yes
5004 else
5005 GXX=
5007 ac_test_CXXFLAGS=${CXXFLAGS+set}
5008 ac_save_CXXFLAGS=$CXXFLAGS
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5010 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5011 if ${ac_cv_prog_cxx_g+:} false; then :
5012 $as_echo_n "(cached) " >&6
5013 else
5014 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5015 ac_cxx_werror_flag=yes
5016 ac_cv_prog_cxx_g=no
5017 CXXFLAGS="-g"
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5022 main ()
5026 return 0;
5028 _ACEOF
5029 if ac_fn_cxx_try_compile "$LINENO"; then :
5030 ac_cv_prog_cxx_g=yes
5031 else
5032 CXXFLAGS=""
5033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5037 main ()
5041 return 0;
5043 _ACEOF
5044 if ac_fn_cxx_try_compile "$LINENO"; then :
5046 else
5047 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5048 CXXFLAGS="-g"
5049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5053 main ()
5057 return 0;
5059 _ACEOF
5060 if ac_fn_cxx_try_compile "$LINENO"; then :
5061 ac_cv_prog_cxx_g=yes
5063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5071 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5072 if test "$ac_test_CXXFLAGS" = set; then
5073 CXXFLAGS=$ac_save_CXXFLAGS
5074 elif test $ac_cv_prog_cxx_g = yes; then
5075 if test "$GXX" = yes; then
5076 CXXFLAGS="-g -O2"
5077 else
5078 CXXFLAGS="-g"
5080 else
5081 if test "$GXX" = yes; then
5082 CXXFLAGS="-O2"
5083 else
5084 CXXFLAGS=
5087 ac_ext=c
5088 ac_cpp='$CPP $CPPFLAGS'
5089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5093 if test -n "$ac_tool_prefix"; then
5094 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5095 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_CPPBIN+:} false; then :
5099 $as_echo_n "(cached) " >&6
5100 else
5101 if test -n "$CPPBIN"; then
5102 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5103 else
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 for as_dir in $PATH
5107 IFS=$as_save_IFS
5108 test -z "$as_dir" && as_dir=.
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 break 2
5115 done
5116 done
5117 IFS=$as_save_IFS
5121 CPPBIN=$ac_cv_prog_CPPBIN
5122 if test -n "$CPPBIN"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5124 $as_echo "$CPPBIN" >&6; }
5125 else
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5132 if test -z "$ac_cv_prog_CPPBIN"; then
5133 ac_ct_CPPBIN=$CPPBIN
5134 # Extract the first word of "cpp", so it can be a program name with args.
5135 set dummy cpp; ac_word=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; }
5138 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5139 $as_echo_n "(cached) " >&6
5140 else
5141 if test -n "$ac_ct_CPPBIN"; then
5142 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_ac_ct_CPPBIN="cpp"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5155 done
5156 done
5157 IFS=$as_save_IFS
5161 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5162 if test -n "$ac_ct_CPPBIN"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5164 $as_echo "$ac_ct_CPPBIN" >&6; }
5165 else
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5170 if test "x$ac_ct_CPPBIN" = x; then
5171 CPPBIN="cpp"
5172 else
5173 case $cross_compiling:$ac_tool_warned in
5174 yes:)
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5177 ac_tool_warned=yes ;;
5178 esac
5179 CPPBIN=$ac_ct_CPPBIN
5181 else
5182 CPPBIN="$ac_cv_prog_CPPBIN"
5186 cat >>confdefs.h <<_ACEOF
5187 #define EXEEXT "$ac_exeext"
5188 _ACEOF
5190 if test -n "$ac_tool_prefix"; then
5191 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5192 set dummy ${ac_tool_prefix}ld; ac_word=$2
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5194 $as_echo_n "checking for $ac_word... " >&6; }
5195 if ${ac_cv_prog_LD+:} false; then :
5196 $as_echo_n "(cached) " >&6
5197 else
5198 if test -n "$LD"; then
5199 ac_cv_prog_LD="$LD" # Let the user override the test.
5200 else
5201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202 for as_dir in $PATH
5204 IFS=$as_save_IFS
5205 test -z "$as_dir" && as_dir=.
5206 for ac_exec_ext in '' $ac_executable_extensions; do
5207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5208 ac_cv_prog_LD="${ac_tool_prefix}ld"
5209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 break 2
5212 done
5213 done
5214 IFS=$as_save_IFS
5218 LD=$ac_cv_prog_LD
5219 if test -n "$LD"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5221 $as_echo "$LD" >&6; }
5222 else
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 $as_echo "no" >&6; }
5229 if test -z "$ac_cv_prog_LD"; then
5230 ac_ct_LD=$LD
5231 # Extract the first word of "ld", so it can be a program name with args.
5232 set dummy ld; ac_word=$2
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5234 $as_echo_n "checking for $ac_word... " >&6; }
5235 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5236 $as_echo_n "(cached) " >&6
5237 else
5238 if test -n "$ac_ct_LD"; then
5239 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5240 else
5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 for as_dir in $PATH
5244 IFS=$as_save_IFS
5245 test -z "$as_dir" && as_dir=.
5246 for ac_exec_ext in '' $ac_executable_extensions; do
5247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5248 ac_cv_prog_ac_ct_LD="ld"
5249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 break 2
5252 done
5253 done
5254 IFS=$as_save_IFS
5258 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5259 if test -n "$ac_ct_LD"; then
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5261 $as_echo "$ac_ct_LD" >&6; }
5262 else
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5264 $as_echo "no" >&6; }
5267 if test "x$ac_ct_LD" = x; then
5268 LD=""
5269 else
5270 case $cross_compiling:$ac_tool_warned in
5271 yes:)
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5274 ac_tool_warned=yes ;;
5275 esac
5276 LD=$ac_ct_LD
5278 else
5279 LD="$ac_cv_prog_LD"
5283 case $host in
5284 *-darwin*)
5285 with_fontconfig=${with_fontconfig:-no}
5287 *-mingw32*|*-cygwin*)
5288 enable_win16=${enable_win16:-no}
5289 CFLAGS="$CFLAGS -D_WIN32"
5291 esac
5293 case $host in
5294 x86_64*|amd64*)
5295 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5296 then
5297 CC="$CC -m32"
5298 CXX="$CXX -m32"
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5300 $as_echo_n "checking whether $CC works... " >&6; }
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5306 main ()
5310 return 0;
5312 _ACEOF
5313 if ac_fn_c_try_link "$LINENO"; then :
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5315 $as_echo "yes" >&6; }
5316 else
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 $as_echo "no" >&6; }
5319 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5321 rm -f core conftest.err conftest.$ac_objext \
5322 conftest$ac_exeext conftest.$ac_ext
5323 host_cpu="i386"
5324 notice_platform="32-bit "
5325 TARGETFLAGS="-m32"
5327 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5328 export PKG_CONFIG_PATH
5329 enable_win16=${enable_win16:-yes}
5330 else
5331 if test "x${GCC}" = "xyes"
5332 then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5334 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5336 /* end confdefs.h. */
5337 #include <stdarg.h>
5339 main ()
5341 void func(__builtin_ms_va_list *args);
5343 return 0;
5345 _ACEOF
5346 if ac_fn_c_try_compile "$LINENO"; then :
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5348 $as_echo "yes" >&6; }
5349 else
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5352 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5356 CC="$CC -m64"
5357 CXX="$CXX -m64"
5358 host_cpu="x86_64"
5359 notice_platform="64-bit "
5360 TARGETFLAGS="-m64"
5364 arm*)
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5366 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5369 int ac_test(int i) { return i; }
5371 main ()
5373 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5375 return 0;
5377 _ACEOF
5378 if ac_fn_c_try_link "$LINENO"; then :
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5380 $as_echo "yes" >&6; }
5381 else
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 $as_echo "no" >&6; }
5384 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5386 rm -f core conftest.err conftest.$ac_objext \
5387 conftest$ac_exeext conftest.$ac_ext
5388 case $with_float_abi in
5389 soft|softfp|hard)
5390 float_abi=$with_float_abi ;;
5392 case $host_os in
5393 *eabihf)
5394 float_abi=hard ;;
5396 float_abi=softfp
5397 saved_CFLAGS=$CFLAGS
5398 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5400 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5405 main ()
5407 asm("vmrs r2,fpscr");
5409 return 0;
5411 _ACEOF
5412 if ac_fn_c_try_link "$LINENO"; then :
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5414 $as_echo "yes" >&6; }
5415 else
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417 $as_echo "no" >&6; }
5418 float_abi=soft
5419 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5421 rm -f core conftest.err conftest.$ac_objext \
5422 conftest$ac_exeext conftest.$ac_ext
5423 CFLAGS=$saved_CFLAGS
5424 esac
5426 esac
5427 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5428 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5431 aarch64*)
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5433 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5436 #include <stdarg.h>
5438 main ()
5440 void func(__builtin_ms_va_list *args);
5442 return 0;
5444 _ACEOF
5445 if ac_fn_c_try_compile "$LINENO"; then :
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5447 $as_echo "yes" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5451 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5455 i[3456789]86*)
5456 enable_win16=${enable_win16:-yes}
5458 esac
5460 enable_win16=${enable_win16:-no}
5461 enable_win64=${enable_win64:-no}
5463 enable_winetest=${enable_winetest:-$enable_tests}
5465 if test -n "$with_wine64"
5466 then
5467 if test "x$enable_win64" = "xyes"
5468 then
5469 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5470 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5472 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5473 You should create a separate build directory and run configure from there." "$LINENO" 5
5474 enable_fonts=${enable_fonts:-no}
5475 enable_server=${enable_server:-no}
5476 wine64_disable=\#
5478 elif test "x$enable_win64" = "xyes"
5479 then
5480 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5484 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5485 if ${wine_cv_toolsdir+:} false; then :
5486 $as_echo_n "(cached) " >&6
5487 else
5488 wine_cv_toolsdir="$with_wine_tools"
5489 if test -z "$with_wine_tools"; then
5490 if test "$cross_compiling" = "yes"; then
5491 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5492 elif test -n "$with_wine64"; then
5493 wine_cv_toolsdir="$with_wine64"
5496 if test -z "$wine_cv_toolsdir"; then
5497 wine_makedep=tools/makedep
5498 wine_cv_toolsdir="\$(top_builddir)"
5499 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5500 wine_makedep=$wine_cv_toolsdir/tools/makedep
5501 case "$wine_cv_toolsdir" in
5502 /*) ;;
5503 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5504 esac
5505 enable_tools=${enable_tools:-no}
5506 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5507 else
5508 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5512 $as_echo "$wine_cv_toolsdir" >&6; }
5513 TOOLSDIR=$wine_cv_toolsdir
5515 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5516 then
5517 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5521 for ac_prog in flex
5523 # Extract the first word of "$ac_prog", so it can be a program name with args.
5524 set dummy $ac_prog; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_FLEX+:} false; then :
5528 $as_echo_n "(cached) " >&6
5529 else
5530 if test -n "$FLEX"; then
5531 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5532 else
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH
5536 IFS=$as_save_IFS
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_FLEX="$ac_prog"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 break 2
5544 done
5545 done
5546 IFS=$as_save_IFS
5550 FLEX=$ac_cv_prog_FLEX
5551 if test -n "$FLEX"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5553 $as_echo "$FLEX" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5560 test -n "$FLEX" && break
5561 done
5562 test -n "$FLEX" || FLEX="none"
5564 if test "$FLEX" = "none"
5565 then
5566 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5569 $as_echo_n "checking whether flex is recent enough... " >&6; }
5570 cat >conftest.l <<EOF
5571 %top{
5572 #include "prediluvian.h"
5576 if $FLEX -t conftest.l >/dev/null 2>&5
5577 then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5579 $as_echo "yes" >&6; }
5580 else
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5583 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5586 for ac_prog in bison
5588 # Extract the first word of "$ac_prog", so it can be a program name with args.
5589 set dummy $ac_prog; ac_word=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_BISON+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 if test -n "$BISON"; then
5596 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5597 else
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $PATH
5601 IFS=$as_save_IFS
5602 test -z "$as_dir" && as_dir=.
5603 for ac_exec_ext in '' $ac_executable_extensions; do
5604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_BISON="$ac_prog"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 break 2
5609 done
5610 done
5611 IFS=$as_save_IFS
5615 BISON=$ac_cv_prog_BISON
5616 if test -n "$BISON"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5618 $as_echo "$BISON" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5625 test -n "$BISON" && break
5626 done
5627 test -n "$BISON" || BISON="none"
5629 if test "$BISON" = "none"
5630 then
5631 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5634 if test -n "$ac_tool_prefix"; then
5635 for ac_prog in ar gar
5637 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5638 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5640 $as_echo_n "checking for $ac_word... " >&6; }
5641 if ${ac_cv_prog_AR+:} false; then :
5642 $as_echo_n "(cached) " >&6
5643 else
5644 if test -n "$AR"; then
5645 ac_cv_prog_AR="$AR" # Let the user override the test.
5646 else
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 for as_dir in $PATH
5650 IFS=$as_save_IFS
5651 test -z "$as_dir" && as_dir=.
5652 for ac_exec_ext in '' $ac_executable_extensions; do
5653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5654 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 break 2
5658 done
5659 done
5660 IFS=$as_save_IFS
5664 AR=$ac_cv_prog_AR
5665 if test -n "$AR"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5667 $as_echo "$AR" >&6; }
5668 else
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5670 $as_echo "no" >&6; }
5674 test -n "$AR" && break
5675 done
5677 if test -z "$AR"; then
5678 ac_ct_AR=$AR
5679 for ac_prog in ar gar
5681 # Extract the first word of "$ac_prog", so it can be a program name with args.
5682 set dummy $ac_prog; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -n "$ac_ct_AR"; then
5689 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_ac_ct_AR="$ac_prog"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5709 if test -n "$ac_ct_AR"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5711 $as_echo "$ac_ct_AR" >&6; }
5712 else
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5718 test -n "$ac_ct_AR" && break
5719 done
5721 if test "x$ac_ct_AR" = x; then
5722 AR="ar"
5723 else
5724 case $cross_compiling:$ac_tool_warned in
5725 yes:)
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5728 ac_tool_warned=yes ;;
5729 esac
5730 AR=$ac_ct_AR
5734 if test -n "$ac_tool_prefix"; then
5735 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5736 set dummy ${ac_tool_prefix}strip; ac_word=$2
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738 $as_echo_n "checking for $ac_word... " >&6; }
5739 if ${ac_cv_prog_STRIP+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741 else
5742 if test -n "$STRIP"; then
5743 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5744 else
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 for as_dir in $PATH
5748 IFS=$as_save_IFS
5749 test -z "$as_dir" && as_dir=.
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5752 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 break 2
5756 done
5757 done
5758 IFS=$as_save_IFS
5762 STRIP=$ac_cv_prog_STRIP
5763 if test -n "$STRIP"; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5765 $as_echo "$STRIP" >&6; }
5766 else
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 $as_echo "no" >&6; }
5773 if test -z "$ac_cv_prog_STRIP"; then
5774 ac_ct_STRIP=$STRIP
5775 # Extract the first word of "strip", so it can be a program name with args.
5776 set dummy strip; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 if test -n "$ac_ct_STRIP"; then
5783 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5784 else
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 for as_dir in $PATH
5788 IFS=$as_save_IFS
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5792 ac_cv_prog_ac_ct_STRIP="strip"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 break 2
5796 done
5797 done
5798 IFS=$as_save_IFS
5802 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5803 if test -n "$ac_ct_STRIP"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5805 $as_echo "$ac_ct_STRIP" >&6; }
5806 else
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5811 if test "x$ac_ct_STRIP" = x; then
5812 STRIP="strip"
5813 else
5814 case $cross_compiling:$ac_tool_warned in
5815 yes:)
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5818 ac_tool_warned=yes ;;
5819 esac
5820 STRIP=$ac_ct_STRIP
5822 else
5823 STRIP="$ac_cv_prog_STRIP"
5826 ARFLAGS=rc
5828 if test -n "$ac_tool_prefix"; then
5829 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5830 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832 $as_echo_n "checking for $ac_word... " >&6; }
5833 if ${ac_cv_prog_RANLIB+:} false; then :
5834 $as_echo_n "(cached) " >&6
5835 else
5836 if test -n "$RANLIB"; then
5837 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5838 else
5839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 for as_dir in $PATH
5842 IFS=$as_save_IFS
5843 test -z "$as_dir" && as_dir=.
5844 for ac_exec_ext in '' $ac_executable_extensions; do
5845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5846 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5848 break 2
5850 done
5851 done
5852 IFS=$as_save_IFS
5856 RANLIB=$ac_cv_prog_RANLIB
5857 if test -n "$RANLIB"; then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5859 $as_echo "$RANLIB" >&6; }
5860 else
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5867 if test -z "$ac_cv_prog_RANLIB"; then
5868 ac_ct_RANLIB=$RANLIB
5869 # Extract the first word of "ranlib", so it can be a program name with args.
5870 set dummy ranlib; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5874 $as_echo_n "(cached) " >&6
5875 else
5876 if test -n "$ac_ct_RANLIB"; then
5877 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5878 else
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_ac_ct_RANLIB="ranlib"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5896 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5897 if test -n "$ac_ct_RANLIB"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5899 $as_echo "$ac_ct_RANLIB" >&6; }
5900 else
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5905 if test "x$ac_ct_RANLIB" = x; then
5906 RANLIB=":"
5907 else
5908 case $cross_compiling:$ac_tool_warned in
5909 yes:)
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5912 ac_tool_warned=yes ;;
5913 esac
5914 RANLIB=$ac_ct_RANLIB
5916 else
5917 RANLIB="$ac_cv_prog_RANLIB"
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5921 $as_echo_n "checking whether ln -s works... " >&6; }
5922 LN_S=$as_ln_s
5923 if test "$LN_S" = "ln -s"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5925 $as_echo "yes" >&6; }
5926 else
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5928 $as_echo "no, using $LN_S" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5932 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5933 if ${ac_cv_path_GREP+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 if test -z "$GREP"; then
5937 ac_path_GREP_found=false
5938 # Loop through the user's path and test for each of PROGNAME-LIST
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5942 IFS=$as_save_IFS
5943 test -z "$as_dir" && as_dir=.
5944 for ac_prog in grep ggrep; do
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5947 as_fn_executable_p "$ac_path_GREP" || continue
5948 # Check for GNU ac_path_GREP and select it if it is found.
5949 # Check for GNU $ac_path_GREP
5950 case `"$ac_path_GREP" --version 2>&1` in
5951 *GNU*)
5952 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5954 ac_count=0
5955 $as_echo_n 0123456789 >"conftest.in"
5956 while :
5958 cat "conftest.in" "conftest.in" >"conftest.tmp"
5959 mv "conftest.tmp" "conftest.in"
5960 cp "conftest.in" "conftest.nl"
5961 $as_echo 'GREP' >> "conftest.nl"
5962 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5963 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5964 as_fn_arith $ac_count + 1 && ac_count=$as_val
5965 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5966 # Best one so far, save it but keep looking for a better one
5967 ac_cv_path_GREP="$ac_path_GREP"
5968 ac_path_GREP_max=$ac_count
5970 # 10*(2^10) chars as input seems more than enough
5971 test $ac_count -gt 10 && break
5972 done
5973 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5974 esac
5976 $ac_path_GREP_found && break 3
5977 done
5978 done
5979 done
5980 IFS=$as_save_IFS
5981 if test -z "$ac_cv_path_GREP"; then
5982 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5984 else
5985 ac_cv_path_GREP=$GREP
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5990 $as_echo "$ac_cv_path_GREP" >&6; }
5991 GREP="$ac_cv_path_GREP"
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5995 $as_echo_n "checking for egrep... " >&6; }
5996 if ${ac_cv_path_EGREP+:} false; then :
5997 $as_echo_n "(cached) " >&6
5998 else
5999 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6000 then ac_cv_path_EGREP="$GREP -E"
6001 else
6002 if test -z "$EGREP"; then
6003 ac_path_EGREP_found=false
6004 # Loop through the user's path and test for each of PROGNAME-LIST
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_prog in egrep; do
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6013 as_fn_executable_p "$ac_path_EGREP" || continue
6014 # Check for GNU ac_path_EGREP and select it if it is found.
6015 # Check for GNU $ac_path_EGREP
6016 case `"$ac_path_EGREP" --version 2>&1` in
6017 *GNU*)
6018 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6020 ac_count=0
6021 $as_echo_n 0123456789 >"conftest.in"
6022 while :
6024 cat "conftest.in" "conftest.in" >"conftest.tmp"
6025 mv "conftest.tmp" "conftest.in"
6026 cp "conftest.in" "conftest.nl"
6027 $as_echo 'EGREP' >> "conftest.nl"
6028 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6029 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6030 as_fn_arith $ac_count + 1 && ac_count=$as_val
6031 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6032 # Best one so far, save it but keep looking for a better one
6033 ac_cv_path_EGREP="$ac_path_EGREP"
6034 ac_path_EGREP_max=$ac_count
6036 # 10*(2^10) chars as input seems more than enough
6037 test $ac_count -gt 10 && break
6038 done
6039 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6040 esac
6042 $ac_path_EGREP_found && break 3
6043 done
6044 done
6045 done
6046 IFS=$as_save_IFS
6047 if test -z "$ac_cv_path_EGREP"; then
6048 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6050 else
6051 ac_cv_path_EGREP=$EGREP
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6057 $as_echo "$ac_cv_path_EGREP" >&6; }
6058 EGREP="$ac_cv_path_EGREP"
6061 # Extract the first word of "ldconfig", so it can be a program name with args.
6062 set dummy ldconfig; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_path_LDCONFIG+:} false; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 case $LDCONFIG in
6069 [\\/]* | ?:[\\/]*)
6070 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 for as_dir in /sbin /usr/sbin $PATH
6076 IFS=$as_save_IFS
6077 test -z "$as_dir" && as_dir=.
6078 for ac_exec_ext in '' $ac_executable_extensions; do
6079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082 break 2
6084 done
6085 done
6086 IFS=$as_save_IFS
6088 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6090 esac
6092 LDCONFIG=$ac_cv_path_LDCONFIG
6093 if test -n "$LDCONFIG"; then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6095 $as_echo "$LDCONFIG" >&6; }
6096 else
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098 $as_echo "no" >&6; }
6102 for ac_prog in msgfmt
6104 # Extract the first word of "$ac_prog", so it can be a program name with args.
6105 set dummy $ac_prog; ac_word=$2
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 $as_echo_n "checking for $ac_word... " >&6; }
6108 if ${ac_cv_prog_MSGFMT+:} false; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 if test -n "$MSGFMT"; then
6112 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6113 else
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 for as_dir in $PATH
6117 IFS=$as_save_IFS
6118 test -z "$as_dir" && as_dir=.
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6121 ac_cv_prog_MSGFMT="$ac_prog"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 break 2
6125 done
6126 done
6127 IFS=$as_save_IFS
6131 MSGFMT=$ac_cv_prog_MSGFMT
6132 if test -n "$MSGFMT"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6134 $as_echo "$MSGFMT" >&6; }
6135 else
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6137 $as_echo "no" >&6; }
6141 test -n "$MSGFMT" && break
6142 done
6143 test -n "$MSGFMT" || MSGFMT="false"
6145 if ${ac_tool_prefix+:} false; then :
6146 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6147 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 $as_echo_n "checking for $ac_word... " >&6; }
6150 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 if test -n "$PKG_CONFIG"; then
6154 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6155 else
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 for as_dir in $PATH
6159 IFS=$as_save_IFS
6160 test -z "$as_dir" && as_dir=.
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6163 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6165 break 2
6167 done
6168 done
6169 IFS=$as_save_IFS
6173 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6174 if test -n "$PKG_CONFIG"; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6176 $as_echo "$PKG_CONFIG" >&6; }
6177 else
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179 $as_echo "no" >&6; }
6184 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6185 if test "x$cross_compiling" = xyes; then :
6187 else
6188 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6189 # Extract the first word of "pkg-config", so it can be a program name with args.
6190 set dummy pkg-config; ac_word=$2
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6192 $as_echo_n "checking for $ac_word... " >&6; }
6193 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6194 $as_echo_n "(cached) " >&6
6195 else
6196 if test -n "$PKG_CONFIG"; then
6197 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6198 else
6199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 for as_dir in $PATH
6202 IFS=$as_save_IFS
6203 test -z "$as_dir" && as_dir=.
6204 for ac_exec_ext in '' $ac_executable_extensions; do
6205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6206 ac_cv_prog_PKG_CONFIG="pkg-config"
6207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 break 2
6210 done
6211 done
6212 IFS=$as_save_IFS
6216 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6217 if test -n "$PKG_CONFIG"; then
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6219 $as_echo "$PKG_CONFIG" >&6; }
6220 else
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6222 $as_echo "no" >&6; }
6227 else
6228 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6231 if test "x$enable_maintainer_mode" != "xyes"
6232 then
6233 FONTFORGE=""
6234 RSVG=""
6235 CONVERT=""
6236 ICOTOOL=""
6237 else
6238 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6239 for ac_prog in fontforge
6241 # Extract the first word of "$ac_prog", so it can be a program name with args.
6242 set dummy $ac_prog; ac_word=$2
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244 $as_echo_n "checking for $ac_word... " >&6; }
6245 if ${ac_cv_prog_FONTFORGE+:} false; then :
6246 $as_echo_n "(cached) " >&6
6247 else
6248 if test -n "$FONTFORGE"; then
6249 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6250 else
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 for as_dir in $PATH
6254 IFS=$as_save_IFS
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6258 ac_cv_prog_FONTFORGE="$ac_prog"
6259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6260 break 2
6262 done
6263 done
6264 IFS=$as_save_IFS
6268 FONTFORGE=$ac_cv_prog_FONTFORGE
6269 if test -n "$FONTFORGE"; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6271 $as_echo "$FONTFORGE" >&6; }
6272 else
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6274 $as_echo "no" >&6; }
6278 test -n "$FONTFORGE" && break
6279 done
6280 test -n "$FONTFORGE" || FONTFORGE="false"
6282 for ac_prog in rsvg-convert rsvg
6284 # Extract the first word of "$ac_prog", so it can be a program name with args.
6285 set dummy $ac_prog; ac_word=$2
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287 $as_echo_n "checking for $ac_word... " >&6; }
6288 if ${ac_cv_prog_RSVG+:} false; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 if test -n "$RSVG"; then
6292 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6293 else
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6295 for as_dir in $PATH
6297 IFS=$as_save_IFS
6298 test -z "$as_dir" && as_dir=.
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6301 ac_cv_prog_RSVG="$ac_prog"
6302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303 break 2
6305 done
6306 done
6307 IFS=$as_save_IFS
6311 RSVG=$ac_cv_prog_RSVG
6312 if test -n "$RSVG"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6314 $as_echo "$RSVG" >&6; }
6315 else
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6321 test -n "$RSVG" && break
6322 done
6323 test -n "$RSVG" || RSVG="false"
6325 for ac_prog in convert
6327 # Extract the first word of "$ac_prog", so it can be a program name with args.
6328 set dummy $ac_prog; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; }
6331 if ${ac_cv_prog_CONVERT+:} false; then :
6332 $as_echo_n "(cached) " >&6
6333 else
6334 if test -n "$CONVERT"; then
6335 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6336 else
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 for as_dir in $PATH
6340 IFS=$as_save_IFS
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344 ac_cv_prog_CONVERT="$ac_prog"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346 break 2
6348 done
6349 done
6350 IFS=$as_save_IFS
6354 CONVERT=$ac_cv_prog_CONVERT
6355 if test -n "$CONVERT"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6357 $as_echo "$CONVERT" >&6; }
6358 else
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
6364 test -n "$CONVERT" && break
6365 done
6366 test -n "$CONVERT" || CONVERT="false"
6368 for ac_prog in icotool
6370 # Extract the first word of "$ac_prog", so it can be a program name with args.
6371 set dummy $ac_prog; ac_word=$2
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6373 $as_echo_n "checking for $ac_word... " >&6; }
6374 if ${ac_cv_prog_ICOTOOL+:} false; then :
6375 $as_echo_n "(cached) " >&6
6376 else
6377 if test -n "$ICOTOOL"; then
6378 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6379 else
6380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6381 for as_dir in $PATH
6383 IFS=$as_save_IFS
6384 test -z "$as_dir" && as_dir=.
6385 for ac_exec_ext in '' $ac_executable_extensions; do
6386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6387 ac_cv_prog_ICOTOOL="$ac_prog"
6388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6389 break 2
6391 done
6392 done
6393 IFS=$as_save_IFS
6397 ICOTOOL=$ac_cv_prog_ICOTOOL
6398 if test -n "$ICOTOOL"; then
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6400 $as_echo "$ICOTOOL" >&6; }
6401 else
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6403 $as_echo "no" >&6; }
6407 test -n "$ICOTOOL" && break
6408 done
6409 test -n "$ICOTOOL" || ICOTOOL="false"
6411 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6412 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6414 if test "$CONVERT" = false
6415 then
6416 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6417 else
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6419 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6420 convert_version=`convert --version | head -n1`
6421 if test "x$convert_version" != "x"
6422 then
6423 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6424 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6425 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6426 then
6427 CONVERT=false
6430 if test "$CONVERT" = false
6431 then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6433 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6434 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6435 else
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6437 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6441 if test "$ICOTOOL" = false
6442 then
6443 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6444 else
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6446 $as_echo_n "checking for recent enough icotool... " >&6; }
6447 icotool_version=`icotool --version | head -n1`
6448 if test "x$icotool_version" != "x"
6449 then
6450 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6451 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6452 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6453 then
6454 ICOTOOL=false
6455 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6458 if test "$ICOTOOL" = false
6459 then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6461 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6462 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6465 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6469 with_gettext=yes
6470 with_gettextpo=yes
6471 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6474 test "x$with_gettext" != xno || MSGFMT=false
6475 if test "$MSGFMT" != "false"
6476 then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6478 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6479 cat >conftest.po <<EOF
6480 # comment
6481 msgctxt "ctxt"
6482 msgid "id"
6483 msgstr "str"
6485 if $MSGFMT -o /dev/null conftest.po 2>&5
6486 then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6488 $as_echo "yes" >&6; }
6489 else
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491 $as_echo "no" >&6; }
6492 MSGFMT=false
6495 if test "$MSGFMT" = false; then :
6496 case "x$with_gettext" in
6497 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6498 xno) ;;
6499 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6500 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6501 esac
6502 enable_po=${enable_po:-no}
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6507 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6508 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 ac_check_lib_save_LIBS=$LIBS
6512 LIBS="-li386 $LIBS"
6513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6514 /* end confdefs.h. */
6516 /* Override any GCC internal prototype to avoid an error.
6517 Use char because int might match the return type of a GCC
6518 builtin and then its argument prototype would still apply. */
6519 #ifdef __cplusplus
6520 extern "C"
6521 #endif
6522 char i386_set_ldt ();
6524 main ()
6526 return i386_set_ldt ();
6528 return 0;
6530 _ACEOF
6531 if ac_fn_c_try_link "$LINENO"; then :
6532 ac_cv_lib_i386_i386_set_ldt=yes
6533 else
6534 ac_cv_lib_i386_i386_set_ldt=no
6536 rm -f core conftest.err conftest.$ac_objext \
6537 conftest$ac_exeext conftest.$ac_ext
6538 LIBS=$ac_check_lib_save_LIBS
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6541 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6542 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6543 cat >>confdefs.h <<_ACEOF
6544 #define HAVE_LIBI386 1
6545 _ACEOF
6547 LIBS="-li386 $LIBS"
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6552 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6553 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6554 $as_echo_n "(cached) " >&6
6555 else
6556 ac_check_lib_save_LIBS=$LIBS
6557 LIBS="-lossaudio $LIBS"
6558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6559 /* end confdefs.h. */
6561 /* Override any GCC internal prototype to avoid an error.
6562 Use char because int might match the return type of a GCC
6563 builtin and then its argument prototype would still apply. */
6564 #ifdef __cplusplus
6565 extern "C"
6566 #endif
6567 char _oss_ioctl ();
6569 main ()
6571 return _oss_ioctl ();
6573 return 0;
6575 _ACEOF
6576 if ac_fn_c_try_link "$LINENO"; then :
6577 ac_cv_lib_ossaudio__oss_ioctl=yes
6578 else
6579 ac_cv_lib_ossaudio__oss_ioctl=no
6581 rm -f core conftest.err conftest.$ac_objext \
6582 conftest$ac_exeext conftest.$ac_ext
6583 LIBS=$ac_check_lib_save_LIBS
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6586 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6587 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6588 cat >>confdefs.h <<_ACEOF
6589 #define HAVE_LIBOSSAUDIO 1
6590 _ACEOF
6592 LIBS="-lossaudio $LIBS"
6597 OPENGL_LIBS=""
6601 # Check whether --enable-largefile was given.
6602 if test "${enable_largefile+set}" = set; then :
6603 enableval=$enable_largefile;
6606 if test "$enable_largefile" != no; then
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6609 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6610 if ${ac_cv_sys_largefile_CC+:} false; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 ac_cv_sys_largefile_CC=no
6614 if test "$GCC" != yes; then
6615 ac_save_CC=$CC
6616 while :; do
6617 # IRIX 6.2 and later do not support large files by default,
6618 # so use the C compiler's -n32 option if that helps.
6619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6620 /* end confdefs.h. */
6621 #include <sys/types.h>
6622 /* Check that off_t can represent 2**63 - 1 correctly.
6623 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6624 since some C++ compilers masquerading as C compilers
6625 incorrectly reject 9223372036854775807. */
6626 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6627 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6628 && LARGE_OFF_T % 2147483647 == 1)
6629 ? 1 : -1];
6631 main ()
6635 return 0;
6637 _ACEOF
6638 if ac_fn_c_try_compile "$LINENO"; then :
6639 break
6641 rm -f core conftest.err conftest.$ac_objext
6642 CC="$CC -n32"
6643 if ac_fn_c_try_compile "$LINENO"; then :
6644 ac_cv_sys_largefile_CC=' -n32'; break
6646 rm -f core conftest.err conftest.$ac_objext
6647 break
6648 done
6649 CC=$ac_save_CC
6650 rm -f conftest.$ac_ext
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6654 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6655 if test "$ac_cv_sys_largefile_CC" != no; then
6656 CC=$CC$ac_cv_sys_largefile_CC
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6660 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6661 if ${ac_cv_sys_file_offset_bits+:} false; then :
6662 $as_echo_n "(cached) " >&6
6663 else
6664 while :; do
6665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6667 #include <sys/types.h>
6668 /* Check that off_t can represent 2**63 - 1 correctly.
6669 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6670 since some C++ compilers masquerading as C compilers
6671 incorrectly reject 9223372036854775807. */
6672 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6673 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6674 && LARGE_OFF_T % 2147483647 == 1)
6675 ? 1 : -1];
6677 main ()
6681 return 0;
6683 _ACEOF
6684 if ac_fn_c_try_compile "$LINENO"; then :
6685 ac_cv_sys_file_offset_bits=no; break
6687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6689 /* end confdefs.h. */
6690 #define _FILE_OFFSET_BITS 64
6691 #include <sys/types.h>
6692 /* Check that off_t can represent 2**63 - 1 correctly.
6693 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6694 since some C++ compilers masquerading as C compilers
6695 incorrectly reject 9223372036854775807. */
6696 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6697 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6698 && LARGE_OFF_T % 2147483647 == 1)
6699 ? 1 : -1];
6701 main ()
6705 return 0;
6707 _ACEOF
6708 if ac_fn_c_try_compile "$LINENO"; then :
6709 ac_cv_sys_file_offset_bits=64; break
6711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6712 ac_cv_sys_file_offset_bits=unknown
6713 break
6714 done
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6717 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6718 case $ac_cv_sys_file_offset_bits in #(
6719 no | unknown) ;;
6721 cat >>confdefs.h <<_ACEOF
6722 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6723 _ACEOF
6725 esac
6726 rm -rf conftest*
6727 if test $ac_cv_sys_file_offset_bits = unknown; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6729 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6730 if ${ac_cv_sys_large_files+:} false; then :
6731 $as_echo_n "(cached) " >&6
6732 else
6733 while :; do
6734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6735 /* end confdefs.h. */
6736 #include <sys/types.h>
6737 /* Check that off_t can represent 2**63 - 1 correctly.
6738 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6739 since some C++ compilers masquerading as C compilers
6740 incorrectly reject 9223372036854775807. */
6741 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6742 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6743 && LARGE_OFF_T % 2147483647 == 1)
6744 ? 1 : -1];
6746 main ()
6750 return 0;
6752 _ACEOF
6753 if ac_fn_c_try_compile "$LINENO"; then :
6754 ac_cv_sys_large_files=no; break
6756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6758 /* end confdefs.h. */
6759 #define _LARGE_FILES 1
6760 #include <sys/types.h>
6761 /* Check that off_t can represent 2**63 - 1 correctly.
6762 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6763 since some C++ compilers masquerading as C compilers
6764 incorrectly reject 9223372036854775807. */
6765 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6766 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6767 && LARGE_OFF_T % 2147483647 == 1)
6768 ? 1 : -1];
6770 main ()
6774 return 0;
6776 _ACEOF
6777 if ac_fn_c_try_compile "$LINENO"; then :
6778 ac_cv_sys_large_files=1; break
6780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6781 ac_cv_sys_large_files=unknown
6782 break
6783 done
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6786 $as_echo "$ac_cv_sys_large_files" >&6; }
6787 case $ac_cv_sys_large_files in #(
6788 no | unknown) ;;
6790 cat >>confdefs.h <<_ACEOF
6791 #define _LARGE_FILES $ac_cv_sys_large_files
6792 _ACEOF
6794 esac
6795 rm -rf conftest*
6802 ac_ext=c
6803 ac_cpp='$CPP $CPPFLAGS'
6804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6808 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6809 # On Suns, sometimes $CPP names a directory.
6810 if test -n "$CPP" && test -d "$CPP"; then
6811 CPP=
6813 if test -z "$CPP"; then
6814 if ${ac_cv_prog_CPP+:} false; then :
6815 $as_echo_n "(cached) " >&6
6816 else
6817 # Double quotes because CPP needs to be expanded
6818 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6820 ac_preproc_ok=false
6821 for ac_c_preproc_warn_flag in '' yes
6823 # Use a header file that comes with gcc, so configuring glibc
6824 # with a fresh cross-compiler works.
6825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6826 # <limits.h> exists even on freestanding compilers.
6827 # On the NeXT, cc -E runs the code through the compiler's parser,
6828 # not just through cpp. "Syntax error" is here to catch this case.
6829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6830 /* end confdefs.h. */
6831 #ifdef __STDC__
6832 # include <limits.h>
6833 #else
6834 # include <assert.h>
6835 #endif
6836 Syntax error
6837 _ACEOF
6838 if ac_fn_c_try_cpp "$LINENO"; then :
6840 else
6841 # Broken: fails on valid input.
6842 continue
6844 rm -f conftest.err conftest.i conftest.$ac_ext
6846 # OK, works on sane cases. Now check whether nonexistent headers
6847 # can be detected and how.
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6850 #include <ac_nonexistent.h>
6851 _ACEOF
6852 if ac_fn_c_try_cpp "$LINENO"; then :
6853 # Broken: success on invalid input.
6854 continue
6855 else
6856 # Passes both tests.
6857 ac_preproc_ok=:
6858 break
6860 rm -f conftest.err conftest.i conftest.$ac_ext
6862 done
6863 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6864 rm -f conftest.i conftest.err conftest.$ac_ext
6865 if $ac_preproc_ok; then :
6866 break
6869 done
6870 ac_cv_prog_CPP=$CPP
6873 CPP=$ac_cv_prog_CPP
6874 else
6875 ac_cv_prog_CPP=$CPP
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6878 $as_echo "$CPP" >&6; }
6879 ac_preproc_ok=false
6880 for ac_c_preproc_warn_flag in '' yes
6882 # Use a header file that comes with gcc, so configuring glibc
6883 # with a fresh cross-compiler works.
6884 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6885 # <limits.h> exists even on freestanding compilers.
6886 # On the NeXT, cc -E runs the code through the compiler's parser,
6887 # not just through cpp. "Syntax error" is here to catch this case.
6888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h. */
6890 #ifdef __STDC__
6891 # include <limits.h>
6892 #else
6893 # include <assert.h>
6894 #endif
6895 Syntax error
6896 _ACEOF
6897 if ac_fn_c_try_cpp "$LINENO"; then :
6899 else
6900 # Broken: fails on valid input.
6901 continue
6903 rm -f conftest.err conftest.i conftest.$ac_ext
6905 # OK, works on sane cases. Now check whether nonexistent headers
6906 # can be detected and how.
6907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6908 /* end confdefs.h. */
6909 #include <ac_nonexistent.h>
6910 _ACEOF
6911 if ac_fn_c_try_cpp "$LINENO"; then :
6912 # Broken: success on invalid input.
6913 continue
6914 else
6915 # Passes both tests.
6916 ac_preproc_ok=:
6917 break
6919 rm -f conftest.err conftest.i conftest.$ac_ext
6921 done
6922 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6923 rm -f conftest.i conftest.err conftest.$ac_ext
6924 if $ac_preproc_ok; then :
6926 else
6927 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6929 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6930 See \`config.log' for more details" "$LINENO" 5; }
6933 ac_ext=c
6934 ac_cpp='$CPP $CPPFLAGS'
6935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6941 $as_echo_n "checking for ANSI C header files... " >&6; }
6942 if ${ac_cv_header_stdc+:} false; then :
6943 $as_echo_n "(cached) " >&6
6944 else
6945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6947 #include <stdlib.h>
6948 #include <stdarg.h>
6949 #include <string.h>
6950 #include <float.h>
6953 main ()
6957 return 0;
6959 _ACEOF
6960 if ac_fn_c_try_compile "$LINENO"; then :
6961 ac_cv_header_stdc=yes
6962 else
6963 ac_cv_header_stdc=no
6965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6967 if test $ac_cv_header_stdc = yes; then
6968 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6970 /* end confdefs.h. */
6971 #include <string.h>
6973 _ACEOF
6974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6975 $EGREP "memchr" >/dev/null 2>&1; then :
6977 else
6978 ac_cv_header_stdc=no
6980 rm -f conftest*
6984 if test $ac_cv_header_stdc = yes; then
6985 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6987 /* end confdefs.h. */
6988 #include <stdlib.h>
6990 _ACEOF
6991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6992 $EGREP "free" >/dev/null 2>&1; then :
6994 else
6995 ac_cv_header_stdc=no
6997 rm -f conftest*
7001 if test $ac_cv_header_stdc = yes; then
7002 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7003 if test "$cross_compiling" = yes; then :
7005 else
7006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7007 /* end confdefs.h. */
7008 #include <ctype.h>
7009 #include <stdlib.h>
7010 #if ((' ' & 0x0FF) == 0x020)
7011 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7012 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7013 #else
7014 # define ISLOWER(c) \
7015 (('a' <= (c) && (c) <= 'i') \
7016 || ('j' <= (c) && (c) <= 'r') \
7017 || ('s' <= (c) && (c) <= 'z'))
7018 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7019 #endif
7021 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7023 main ()
7025 int i;
7026 for (i = 0; i < 256; i++)
7027 if (XOR (islower (i), ISLOWER (i))
7028 || toupper (i) != TOUPPER (i))
7029 return 2;
7030 return 0;
7032 _ACEOF
7033 if ac_fn_c_try_run "$LINENO"; then :
7035 else
7036 ac_cv_header_stdc=no
7038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7039 conftest.$ac_objext conftest.beam conftest.$ac_ext
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7045 $as_echo "$ac_cv_header_stdc" >&6; }
7046 if test $ac_cv_header_stdc = yes; then
7048 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7052 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7053 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7054 inttypes.h stdint.h unistd.h
7055 do :
7056 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7057 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7059 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7060 cat >>confdefs.h <<_ACEOF
7061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7062 _ACEOF
7066 done
7069 for ac_header in \
7070 AL/al.h \
7071 ApplicationServices/ApplicationServices.h \
7072 AudioToolbox/AudioConverter.h \
7073 AudioUnit/AudioUnit.h \
7074 AudioUnit/AudioComponent.h \
7075 CL/cl.h \
7076 Carbon/Carbon.h \
7077 CommonCrypto/CommonCryptor.h \
7078 CoreAudio/CoreAudio.h \
7079 CoreServices/CoreServices.h \
7080 DiskArbitration/DiskArbitration.h \
7081 EGL/egl.h \
7082 IOKit/IOKitLib.h \
7083 IOKit/hid/IOHIDLib.h \
7084 OpenAL/al.h \
7085 OpenCL/opencl.h \
7086 QuickTime/ImageCompression.h \
7087 Security/Security.h \
7088 alias.h \
7089 alsa/asoundlib.h \
7090 arpa/inet.h \
7091 arpa/nameser.h \
7092 asm/types.h \
7093 asm/user.h \
7094 curses.h \
7095 direct.h \
7096 dirent.h \
7097 dlfcn.h \
7098 elf.h \
7099 float.h \
7100 fnmatch.h \
7101 getopt.h \
7102 gettext-po.h \
7103 grp.h \
7104 gsm.h \
7105 gsm/gsm.h \
7106 ieeefp.h \
7107 inet/mib2.h \
7108 io.h \
7109 kstat.h \
7110 libproc.h \
7111 link.h \
7112 linux/cdrom.h \
7113 linux/compiler.h \
7114 linux/filter.h \
7115 linux/hdreg.h \
7116 linux/hidraw.h \
7117 linux/input.h \
7118 linux/ioctl.h \
7119 linux/joystick.h \
7120 linux/major.h \
7121 linux/param.h \
7122 linux/serial.h \
7123 linux/types.h \
7124 linux/ucdrom.h \
7125 lwp.h \
7126 mach-o/nlist.h \
7127 mach-o/loader.h \
7128 mach/mach.h \
7129 mach/machine.h \
7130 machine/cpu.h \
7131 machine/limits.h \
7132 machine/sysarch.h \
7133 mntent.h \
7134 ncurses.h \
7135 netdb.h \
7136 netinet/in.h \
7137 netinet/in_systm.h \
7138 netinet/tcp.h \
7139 netinet/tcp_fsm.h \
7140 pcap/pcap.h \
7141 poll.h \
7142 port.h \
7143 process.h \
7144 pthread.h \
7145 pwd.h \
7146 sched.h \
7147 scsi/scsi.h \
7148 scsi/scsi_ioctl.h \
7149 scsi/sg.h \
7150 stdbool.h \
7151 stdint.h \
7152 stropts.h \
7153 sys/asoundlib.h \
7154 sys/attr.h \
7155 sys/auxv.h \
7156 sys/cdio.h \
7157 sys/elf32.h \
7158 sys/epoll.h \
7159 sys/event.h \
7160 sys/exec_elf.h \
7161 sys/filio.h \
7162 sys/inotify.h \
7163 sys/ioctl.h \
7164 sys/ipc.h \
7165 sys/limits.h \
7166 sys/link.h \
7167 sys/mman.h \
7168 sys/modem.h \
7169 sys/msg.h \
7170 sys/mtio.h \
7171 sys/param.h \
7172 sys/poll.h \
7173 sys/prctl.h \
7174 sys/protosw.h \
7175 sys/ptrace.h \
7176 sys/queue.h \
7177 sys/resource.h \
7178 sys/scsiio.h \
7179 sys/shm.h \
7180 sys/signal.h \
7181 sys/socket.h \
7182 sys/socketvar.h \
7183 sys/sockio.h \
7184 sys/statvfs.h \
7185 sys/strtio.h \
7186 sys/syscall.h \
7187 sys/sysinfo.h \
7188 sys/tihdr.h \
7189 sys/time.h \
7190 sys/timeout.h \
7191 sys/times.h \
7192 sys/uio.h \
7193 sys/user.h \
7194 sys/utsname.h \
7195 sys/vnode.h \
7196 sys/wait.h \
7197 syscall.h \
7198 termios.h \
7199 unistd.h \
7200 utime.h \
7201 valgrind/memcheck.h \
7202 valgrind/valgrind.h \
7203 zlib.h
7205 do :
7206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7207 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7208 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7209 cat >>confdefs.h <<_ACEOF
7210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7211 _ACEOF
7215 done
7217 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7218 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7220 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7225 if test $ac_cv_header_sys_mkdev_h = no; then
7226 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7227 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7229 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7236 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7237 if ${ac_cv_header_stat_broken+:} false; then :
7238 $as_echo_n "(cached) " >&6
7239 else
7240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7242 #include <sys/types.h>
7243 #include <sys/stat.h>
7245 #if defined S_ISBLK && defined S_IFDIR
7246 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7247 #endif
7249 #if defined S_ISBLK && defined S_IFCHR
7250 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7251 #endif
7253 #if defined S_ISLNK && defined S_IFREG
7254 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7255 #endif
7257 #if defined S_ISSOCK && defined S_IFREG
7258 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7259 #endif
7261 _ACEOF
7262 if ac_fn_c_try_compile "$LINENO"; then :
7263 ac_cv_header_stat_broken=no
7264 else
7265 ac_cv_header_stat_broken=yes
7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7270 $as_echo "$ac_cv_header_stat_broken" >&6; }
7271 if test $ac_cv_header_stat_broken = yes; then
7273 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7279 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7280 do :
7281 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7282 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7283 #ifdef HAVE_SYS_PARAM_H
7284 # include <sys/param.h>
7285 #endif
7287 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7288 cat >>confdefs.h <<_ACEOF
7289 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7290 _ACEOF
7294 done
7297 for ac_header in \
7298 netinet/ip.h \
7299 net/if.h \
7300 net/if_arp.h \
7301 net/if_dl.h \
7302 net/if_types.h \
7303 net/route.h \
7304 netinet/if_ether.h \
7305 netinet/if_inarp.h \
7306 netinet/in_pcb.h \
7307 netinet/ip_icmp.h \
7308 netinet/ip_var.h \
7309 netinet/udp.h \
7310 netipx/ipx.h \
7311 sys/un.h \
7313 do :
7314 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7315 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7316 #ifdef HAVE_SYS_SOCKET_H
7317 # include <sys/socket.h>
7318 #endif
7319 #ifdef HAVE_SYS_SOCKETVAR_H
7320 # include <sys/socketvar.h>
7321 #endif
7322 #ifdef HAVE_NET_ROUTE_H
7323 # include <net/route.h>
7324 #endif
7325 #ifdef HAVE_NETINET_IN_H
7326 # include <netinet/in.h>
7327 #endif
7328 #ifdef HAVE_NETINET_IN_SYSTM_H
7329 # include <netinet/in_systm.h>
7330 #endif
7331 #ifdef HAVE_NET_IF_H
7332 # include <net/if.h>
7333 #endif
7334 #ifdef HAVE_NETINET_IP_H
7335 # include <netinet/ip.h>
7336 #endif
7338 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7339 cat >>confdefs.h <<_ACEOF
7340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7341 _ACEOF
7345 done
7348 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7349 do :
7350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7351 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7352 #ifdef HAVE_ALIAS_H
7353 # include <alias.h>
7354 #endif
7355 #ifdef HAVE_SYS_SOCKET_H
7356 # include <sys/socket.h>
7357 #endif
7358 #ifdef HAVE_SYS_SOCKETVAR_H
7359 # include <sys/socketvar.h>
7360 #endif
7361 #ifdef HAVE_SYS_TIMEOUT_H
7362 # include <sys/timeout.h>
7363 #endif
7364 #ifdef HAVE_NETINET_IN_H
7365 # include <netinet/in.h>
7366 #endif
7367 #ifdef HAVE_NETINET_IN_SYSTM_H
7368 # include <netinet/in_systm.h>
7369 #endif
7370 #ifdef HAVE_NETINET_IP_H
7371 # include <netinet/ip.h>
7372 #endif
7373 #ifdef HAVE_NETINET_IP_VAR_H
7374 # include <netinet/ip_var.h>
7375 #endif
7376 #ifdef HAVE_NETINET_IP_ICMP_H
7377 # include <netinet/ip_icmp.h>
7378 #endif
7379 #ifdef HAVE_NETINET_UDP_H
7380 # include <netinet/udp.h>
7381 #endif
7382 #ifdef HAVE_NETINET_TCP_H
7383 # include <netinet/tcp.h>
7384 #endif
7385 #ifdef HAVE_NETINET_TCP_TIMER_H
7386 #include <netinet/tcp_timer.h>
7387 #endif
7389 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7390 cat >>confdefs.h <<_ACEOF
7391 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7392 _ACEOF
7396 done
7399 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7400 do :
7401 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7402 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7403 #ifdef HAVE_ASM_TYPES_H
7404 # include <asm/types.h>
7405 #endif
7406 #ifdef HAVE_SYS_SOCKET_H
7407 # include <sys/socket.h>
7408 #endif
7409 #ifdef HAVE_LINUX_TYPES_H
7410 # include <linux/types.h>
7411 #endif
7413 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7414 cat >>confdefs.h <<_ACEOF
7415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7416 _ACEOF
7420 done
7423 for ac_header in mach-o/dyld_images.h
7424 do :
7425 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7426 # include <stdbool.h>
7427 #endif
7428 #ifdef HAVE_STDINT_H
7429 # include <stdint.h>
7430 #endif
7432 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7433 cat >>confdefs.h <<_ACEOF
7434 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7435 _ACEOF
7439 done
7442 for ac_header in resolv.h
7443 do :
7444 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7445 #ifdef HAVE_SYS_SOCKET_H
7446 # include <sys/socket.h>
7447 #endif
7448 #ifdef HAVE_NETINET_IN_H
7449 # include <netinet/in.h>
7450 #endif
7451 #ifdef HAVE_ARPA_NAMESER_H
7452 # include <arpa/nameser.h>
7453 #endif
7455 if test "x$ac_cv_header_resolv_h" = xyes; then :
7456 cat >>confdefs.h <<_ACEOF
7457 #define HAVE_RESOLV_H 1
7458 _ACEOF
7462 done
7465 for ac_header in ifaddrs.h
7466 do :
7467 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7469 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7470 cat >>confdefs.h <<_ACEOF
7471 #define HAVE_IFADDRS_H 1
7472 _ACEOF
7476 done
7479 for ac_header in sys/ucontext.h
7480 do :
7481 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7483 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7484 cat >>confdefs.h <<_ACEOF
7485 #define HAVE_SYS_UCONTEXT_H 1
7486 _ACEOF
7490 done
7493 for ac_header in sys/thr.h
7494 do :
7495 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7496 #ifdef HAVE_SYS_UCONTEXT_H
7497 #include <sys/ucontext.h>
7498 #endif
7500 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7501 cat >>confdefs.h <<_ACEOF
7502 #define HAVE_SYS_THR_H 1
7503 _ACEOF
7507 done
7510 for ac_header in pthread_np.h
7511 do :
7512 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7513 #include <pthread.h>
7514 #endif
7516 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7517 cat >>confdefs.h <<_ACEOF
7518 #define HAVE_PTHREAD_NP_H 1
7519 _ACEOF
7523 done
7526 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7527 do :
7528 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7529 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7530 #include <sys/time.h>
7531 #endif
7532 #include <sys/types.h>
7533 #ifdef HAVE_ASM_TYPES_H
7534 #include <asm/types.h>
7535 #endif
7537 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7538 cat >>confdefs.h <<_ACEOF
7539 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7540 _ACEOF
7544 done
7547 for ac_header in libprocstat.h
7548 do :
7549 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7550 #include <sys/param.h>
7551 #endif
7552 #ifdef HAVE_SYS_QUEUE_H
7553 #include <sys/queue.h>
7554 #endif
7555 #ifdef HAVE_SYS_SOCKET_H
7556 #include <sys/socket.h>
7557 #endif
7559 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7560 cat >>confdefs.h <<_ACEOF
7561 #define HAVE_LIBPROCSTAT_H 1
7562 _ACEOF
7566 done
7570 DLLFLAGS="-D_REENTRANT"
7572 LDRPATH_INSTALL=""
7574 LDRPATH_LOCAL=""
7576 LDEXECFLAGS=""
7578 WINELOADER_LDFLAGS=""
7580 LIBEXT="so"
7581 DLLEXT=".so"
7582 IMPLIBEXT="def"
7583 # Extract the first word of "ldd", so it can be a program name with args.
7584 set dummy ldd; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_path_LDD+:} false; then :
7588 $as_echo_n "(cached) " >&6
7589 else
7590 case $LDD in
7591 [\\/]* | ?:[\\/]*)
7592 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 as_dummy="/sbin:/usr/sbin:$PATH"
7597 for as_dir in $as_dummy
7599 IFS=$as_save_IFS
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7605 break 2
7607 done
7608 done
7609 IFS=$as_save_IFS
7611 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7613 esac
7615 LDD=$ac_cv_path_LDD
7616 if test -n "$LDD"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7618 $as_echo "$LDD" >&6; }
7619 else
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7625 if test -n "$ac_tool_prefix"; then
7626 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7627 set dummy ${ac_tool_prefix}otool; ac_word=$2
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629 $as_echo_n "checking for $ac_word... " >&6; }
7630 if ${ac_cv_prog_OTOOL+:} false; then :
7631 $as_echo_n "(cached) " >&6
7632 else
7633 if test -n "$OTOOL"; then
7634 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7635 else
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637 for as_dir in $PATH
7639 IFS=$as_save_IFS
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7643 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645 break 2
7647 done
7648 done
7649 IFS=$as_save_IFS
7653 OTOOL=$ac_cv_prog_OTOOL
7654 if test -n "$OTOOL"; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7656 $as_echo "$OTOOL" >&6; }
7657 else
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659 $as_echo "no" >&6; }
7664 if test -z "$ac_cv_prog_OTOOL"; then
7665 ac_ct_OTOOL=$OTOOL
7666 # Extract the first word of "otool", so it can be a program name with args.
7667 set dummy otool; ac_word=$2
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7669 $as_echo_n "checking for $ac_word... " >&6; }
7670 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7671 $as_echo_n "(cached) " >&6
7672 else
7673 if test -n "$ac_ct_OTOOL"; then
7674 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7675 else
7676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 for as_dir in $PATH
7679 IFS=$as_save_IFS
7680 test -z "$as_dir" && as_dir=.
7681 for ac_exec_ext in '' $ac_executable_extensions; do
7682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7683 ac_cv_prog_ac_ct_OTOOL="otool"
7684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7685 break 2
7687 done
7688 done
7689 IFS=$as_save_IFS
7693 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7694 if test -n "$ac_ct_OTOOL"; then
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7696 $as_echo "$ac_ct_OTOOL" >&6; }
7697 else
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7699 $as_echo "no" >&6; }
7702 if test "x$ac_ct_OTOOL" = x; then
7703 OTOOL="otool"
7704 else
7705 case $cross_compiling:$ac_tool_warned in
7706 yes:)
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7709 ac_tool_warned=yes ;;
7710 esac
7711 OTOOL=$ac_ct_OTOOL
7713 else
7714 OTOOL="$ac_cv_prog_OTOOL"
7717 if test -n "$ac_tool_prefix"; then
7718 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7719 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7721 $as_echo_n "checking for $ac_word... " >&6; }
7722 if ${ac_cv_prog_READELF+:} false; then :
7723 $as_echo_n "(cached) " >&6
7724 else
7725 if test -n "$READELF"; then
7726 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7727 else
7728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 for as_dir in $PATH
7731 IFS=$as_save_IFS
7732 test -z "$as_dir" && as_dir=.
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7735 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7737 break 2
7739 done
7740 done
7741 IFS=$as_save_IFS
7745 READELF=$ac_cv_prog_READELF
7746 if test -n "$READELF"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7748 $as_echo "$READELF" >&6; }
7749 else
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 $as_echo "no" >&6; }
7756 if test -z "$ac_cv_prog_READELF"; then
7757 ac_ct_READELF=$READELF
7758 # Extract the first word of "readelf", so it can be a program name with args.
7759 set dummy readelf; ac_word=$2
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7761 $as_echo_n "checking for $ac_word... " >&6; }
7762 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7763 $as_echo_n "(cached) " >&6
7764 else
7765 if test -n "$ac_ct_READELF"; then
7766 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7767 else
7768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 for as_dir in $PATH
7771 IFS=$as_save_IFS
7772 test -z "$as_dir" && as_dir=.
7773 for ac_exec_ext in '' $ac_executable_extensions; do
7774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7775 ac_cv_prog_ac_ct_READELF="readelf"
7776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7777 break 2
7779 done
7780 done
7781 IFS=$as_save_IFS
7785 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7786 if test -n "$ac_ct_READELF"; then
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7788 $as_echo "$ac_ct_READELF" >&6; }
7789 else
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7791 $as_echo "no" >&6; }
7794 if test "x$ac_ct_READELF" = x; then
7795 READELF="true"
7796 else
7797 case $cross_compiling:$ac_tool_warned in
7798 yes:)
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7801 ac_tool_warned=yes ;;
7802 esac
7803 READELF=$ac_ct_READELF
7805 else
7806 READELF="$ac_cv_prog_READELF"
7809 wine_rules_file=conf$$rules.make
7810 rm -f $wine_rules_file
7811 SUBDIRS=""
7813 DISABLED_SUBDIRS=""
7815 CONFIGURE_TARGETS=""
7818 wine_fn_append_file ()
7820 as_fn_append $1 " \\$as_nl $2"
7823 wine_fn_append_rule ()
7825 $as_echo "$1" >>$wine_rules_file
7828 wine_fn_config_makefile ()
7830 wine_fn_append_file SUBDIRS $1
7831 if eval test \"x\$"$2"\" = x"no"; then :
7832 wine_fn_append_file DISABLED_SUBDIRS $1
7836 wine_fn_config_symlink ()
7838 ac_links=$@
7839 wine_fn_append_rule \
7840 "$ac_links:
7841 @./config.status \$@"
7842 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7845 wine_binary="wine"
7846 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7847 WINELOADER_PROGRAMS="$wine_binary"
7849 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7851 case $host_os in
7852 cygwin*|mingw32*)
7853 if test -n "$ac_tool_prefix"; then
7854 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7855 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7857 $as_echo_n "checking for $ac_word... " >&6; }
7858 if ${ac_cv_prog_DLLTOOL+:} false; then :
7859 $as_echo_n "(cached) " >&6
7860 else
7861 if test -n "$DLLTOOL"; then
7862 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7863 else
7864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 for as_dir in $PATH
7867 IFS=$as_save_IFS
7868 test -z "$as_dir" && as_dir=.
7869 for ac_exec_ext in '' $ac_executable_extensions; do
7870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 break 2
7875 done
7876 done
7877 IFS=$as_save_IFS
7881 DLLTOOL=$ac_cv_prog_DLLTOOL
7882 if test -n "$DLLTOOL"; then
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7884 $as_echo "$DLLTOOL" >&6; }
7885 else
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887 $as_echo "no" >&6; }
7892 if test -z "$ac_cv_prog_DLLTOOL"; then
7893 ac_ct_DLLTOOL=$DLLTOOL
7894 # Extract the first word of "dlltool", so it can be a program name with args.
7895 set dummy dlltool; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7897 $as_echo_n "checking for $ac_word... " >&6; }
7898 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7899 $as_echo_n "(cached) " >&6
7900 else
7901 if test -n "$ac_ct_DLLTOOL"; then
7902 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7903 else
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 for as_dir in $PATH
7907 IFS=$as_save_IFS
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7911 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 break 2
7915 done
7916 done
7917 IFS=$as_save_IFS
7921 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7922 if test -n "$ac_ct_DLLTOOL"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7924 $as_echo "$ac_ct_DLLTOOL" >&6; }
7925 else
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927 $as_echo "no" >&6; }
7930 if test "x$ac_ct_DLLTOOL" = x; then
7931 DLLTOOL="false"
7932 else
7933 case $cross_compiling:$ac_tool_warned in
7934 yes:)
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7937 ac_tool_warned=yes ;;
7938 esac
7939 DLLTOOL=$ac_ct_DLLTOOL
7941 else
7942 DLLTOOL="$ac_cv_prog_DLLTOOL"
7945 LIBEXT="dll"
7946 DLLEXT=""
7947 IMPLIBEXT="a"
7948 enable_iphlpapi=${enable_iphlpapi:-no}
7949 enable_kernel32=${enable_kernel32:-no}
7950 enable_msvcrt=${enable_msvcrt:-no}
7951 enable_ntdll=${enable_ntdll:-no}
7952 enable_ws2_32=${enable_ws2_32:-no}
7953 enable_loader=${enable_loader:-no}
7954 enable_server=${enable_server:-no}
7955 with_x=${with_x:-no}
7956 with_pthread=${with_pthread:-no}
7958 crtlibs=""
7959 case $host_os in
7960 mingw32*)
7961 crtlibs="-lmsvcrt"
7962 SOCKET_LIBS="-lws2_32"
7964 esac
7966 LIBWINE_SHAREDLIB="libwine.dll"
7968 LIBWINE_IMPORTLIB="libwine.a"
7970 LIBWINE_INSTALL_LIB="libwine.dll"
7972 LIBWINE_INSTALL_DEV="libwine.a"
7974 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7976 LIBWINE_DEPENDS="wine.def"
7980 darwin*|macosx*)
7981 for ac_header in libunwind.h
7982 do :
7983 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7985 cat >>confdefs.h <<_ACEOF
7986 #define HAVE_LIBUNWIND_H 1
7987 _ACEOF
7991 done
7993 LIBEXT="dylib"
7994 DLLFLAGS="$DLLFLAGS -fPIC"
7995 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7996 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7997 COREFOUNDATION_LIBS="-framework CoreFoundation"
7999 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8001 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8003 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8005 CORESERVICES_LIBS="-framework CoreServices"
8007 APPKIT_LIBS="-framework AppKit"
8009 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8011 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8012 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 ac_wine_try_cflags_saved=$CFLAGS
8016 CFLAGS="$CFLAGS -Wl,-no_pie"
8017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8018 /* end confdefs.h. */
8019 int main(int argc, char **argv) { return 0; }
8020 _ACEOF
8021 if ac_fn_c_try_link "$LINENO"; then :
8022 ac_cv_cflags__Wl__no_pie=yes
8023 else
8024 ac_cv_cflags__Wl__no_pie=no
8026 rm -f core conftest.err conftest.$ac_objext \
8027 conftest$ac_exeext conftest.$ac_ext
8028 CFLAGS=$ac_wine_try_cflags_saved
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8031 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8032 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8033 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8035 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8036 then
8037 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8040 if test "$ac_cv_header_Security_Security_h" = "yes"
8041 then
8042 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8044 ac_save_LIBS="$LIBS"
8045 LIBS="$LIBS $SECURITY_LIBS"
8046 for ac_func in SSLCopyPeerCertificates
8047 do :
8048 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8049 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8050 cat >>confdefs.h <<_ACEOF
8051 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8052 _ACEOF
8055 done
8057 LIBS="$ac_save_LIBS"
8058 with_gnutls=${with_gnutls:-no}
8060 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8061 then
8062 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8063 then
8064 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8066 else
8067 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8070 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8071 ac_save_LIBS="$LIBS"
8072 LIBS="$LIBS $COREAUDIO_LIBS"
8073 for ac_func in AUGraphAddNode
8074 do :
8075 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8076 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8077 cat >>confdefs.h <<_ACEOF
8078 #define HAVE_AUGRAPHADDNODE 1
8079 _ACEOF
8082 done
8084 LIBS="$ac_save_LIBS"
8086 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8087 then
8088 OPENAL_LIBS="-framework OpenAL"
8091 cat >>confdefs.h <<_ACEOF
8092 #define HAVE_OPENAL 1
8093 _ACEOF
8095 ac_cv_lib_openal=yes
8097 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8098 then
8099 OPENCL_LIBS="-framework OpenCL"
8101 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8103 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8104 then
8105 ac_save_LIBS="$LIBS"
8106 LIBS="$LIBS $IOKIT_LIBS"
8107 for ac_func in IOHIDManagerCreate
8108 do :
8109 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8110 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8111 cat >>confdefs.h <<_ACEOF
8112 #define HAVE_IOHIDMANAGERCREATE 1
8113 _ACEOF
8116 done
8118 LIBS="$ac_save_LIBS"
8120 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8121 then
8122 ac_save_LIBS="$LIBS"
8123 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8125 $as_echo_n "checking for the QuickTime framework... " >&6; }
8126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8127 /* end confdefs.h. */
8128 #include <QuickTime/ImageCompression.h>
8130 main ()
8132 CodecManagerVersion(NULL);
8134 return 0;
8136 _ACEOF
8137 if ac_fn_c_try_link "$LINENO"; then :
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8139 $as_echo "yes" >&6; }
8140 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8142 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8143 else
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145 $as_echo "no" >&6; }
8146 ac_cv_header_QuickTime_ImageCompression_h=no
8148 rm -f core conftest.err conftest.$ac_objext \
8149 conftest$ac_exeext conftest.$ac_ext
8150 LIBS="$ac_save_LIBS"
8152 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8153 then
8154 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8156 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8157 then
8158 CARBON_LIBS="-framework Carbon"
8162 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8163 then
8164 ac_save_LIBS="$LIBS"
8165 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8166 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8167 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8168 enable_winemac_drv=${enable_winemac_drv:-yes}
8171 LIBS="$ac_save_LIBS"
8174 if test "x$enable_win16" = "xyes"
8175 then
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8177 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8178 if test "$cross_compiling" = yes; then :
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8180 $as_echo "cross-compiling, assuming yes" >&6; }
8181 else
8182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */
8184 asm(".text\n"
8185 "bad:\tnop;nop\n"
8186 "good:\tnop;nop\n\t"
8187 ".globl _testfunc\n"
8188 "_testfunc:\tcallw good");
8189 extern void testfunc();
8191 main ()
8193 unsigned short *p = (unsigned short *)testfunc;
8194 return p[0] != 0xe866 || p[1] != 0xfffa
8196 return 0;
8198 _ACEOF
8199 if ac_fn_c_try_run "$LINENO"; then :
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8201 $as_echo "yes" >&6; }
8202 else
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 $as_echo "no" >&6; }
8205 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
8207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8208 conftest.$ac_objext conftest.beam conftest.$ac_ext
8213 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8215 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8217 LIBWINE_INSTALL_DEV="libwine.dylib"
8219 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8221 WINELOADER_DEPENDS="wine_info.plist"
8225 linux-android*)
8226 DLLFLAGS="$DLLFLAGS -fPIC"
8227 LDEXECFLAGS="-Wl,-pie"
8228 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8230 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8231 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8232 $as_echo_n "(cached) " >&6
8233 else
8234 ac_wine_try_cflags_saved=$CFLAGS
8235 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8238 int main(int argc, char **argv) { return 0; }
8239 _ACEOF
8240 if ac_fn_c_try_link "$LINENO"; then :
8241 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8242 else
8243 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8245 rm -f core conftest.err conftest.$ac_objext \
8246 conftest$ac_exeext conftest.$ac_ext
8247 CFLAGS=$ac_wine_try_cflags_saved
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8250 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8251 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8252 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8254 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8256 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8257 if eval \${$as_ac_var+:} false; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 ac_wine_try_cflags_saved=$CFLAGS
8261 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8263 /* end confdefs.h. */
8264 int main(int argc, char **argv) { return 0; }
8265 _ACEOF
8266 if ac_fn_c_try_link "$LINENO"; then :
8267 eval "$as_ac_var=yes"
8268 else
8269 eval "$as_ac_var=no"
8271 rm -f core conftest.err conftest.$ac_objext \
8272 conftest$ac_exeext conftest.$ac_ext
8273 CFLAGS=$ac_wine_try_cflags_saved
8275 eval ac_res=\$$as_ac_var
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8277 $as_echo "$ac_res" >&6; }
8278 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8279 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8280 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8281 else
8282 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8284 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8285 if eval \${$as_ac_var+:} false; then :
8286 $as_echo_n "(cached) " >&6
8287 else
8288 ac_wine_try_cflags_saved=$CFLAGS
8289 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8291 /* end confdefs.h. */
8292 int main(int argc, char **argv) { return 0; }
8293 _ACEOF
8294 if ac_fn_c_try_link "$LINENO"; then :
8295 eval "$as_ac_var=yes"
8296 else
8297 eval "$as_ac_var=no"
8299 rm -f core conftest.err conftest.$ac_objext \
8300 conftest$ac_exeext conftest.$ac_ext
8301 CFLAGS=$ac_wine_try_cflags_saved
8303 eval ac_res=\$$as_ac_var
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8305 $as_echo "$ac_res" >&6; }
8306 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8307 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8308 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8312 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8313 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 ac_wine_try_cflags_saved=$CFLAGS
8317 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8319 /* end confdefs.h. */
8320 int main(int argc, char **argv) { return 0; }
8321 _ACEOF
8322 if ac_fn_c_try_link "$LINENO"; then :
8323 ac_cv_cflags__Wl___enable_new_dtags=yes
8324 else
8325 ac_cv_cflags__Wl___enable_new_dtags=no
8327 rm -f core conftest.err conftest.$ac_objext \
8328 conftest$ac_exeext conftest.$ac_ext
8329 CFLAGS=$ac_wine_try_cflags_saved
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8332 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8333 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8334 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8337 LIBWINE_SHAREDLIB="libwine.so"
8339 LIBWINE_INSTALL_LIB="libwine.so"
8341 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8345 $as_echo_n "checking for -lEGL... " >&6; }
8346 if ${ac_cv_lib_soname_EGL+:} false; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 ac_check_soname_save_LIBS=$LIBS
8350 LIBS="-lEGL $LIBS"
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8354 /* Override any GCC internal prototype to avoid an error.
8355 Use char because int might match the return type of a GCC
8356 builtin and then its argument prototype would still apply. */
8357 #ifdef __cplusplus
8358 extern "C"
8359 #endif
8360 char eglGetProcAddress ();
8362 main ()
8364 return eglGetProcAddress ();
8366 return 0;
8368 _ACEOF
8369 if ac_fn_c_try_link "$LINENO"; then :
8370 case "$LIBEXT" in
8371 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8372 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'` ;;
8373 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8374 if ${ac_cv_lib_soname_EGL:+false} :; then :
8375 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8376 fi ;;
8377 esac
8379 rm -f core conftest.err conftest.$ac_objext \
8380 conftest$ac_exeext conftest.$ac_ext
8381 LIBS=$ac_check_soname_save_LIBS
8383 if ${ac_cv_lib_soname_EGL:+false} :; then :
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8385 $as_echo "not found" >&6; }
8387 else
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8389 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8391 cat >>confdefs.h <<_ACEOF
8392 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8393 _ACEOF
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8398 $as_echo_n "checking for -lGLESv2... " >&6; }
8399 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8400 $as_echo_n "(cached) " >&6
8401 else
8402 ac_check_soname_save_LIBS=$LIBS
8403 LIBS="-lGLESv2 $LIBS"
8404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8407 /* Override any GCC internal prototype to avoid an error.
8408 Use char because int might match the return type of a GCC
8409 builtin and then its argument prototype would still apply. */
8410 #ifdef __cplusplus
8411 extern "C"
8412 #endif
8413 char glFlush ();
8415 main ()
8417 return glFlush ();
8419 return 0;
8421 _ACEOF
8422 if ac_fn_c_try_link "$LINENO"; then :
8423 case "$LIBEXT" in
8424 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8425 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'` ;;
8426 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8427 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8428 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8429 fi ;;
8430 esac
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 LIBS=$ac_check_soname_save_LIBS
8436 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8438 $as_echo "not found" >&6; }
8440 else
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8442 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8444 cat >>confdefs.h <<_ACEOF
8445 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8446 _ACEOF
8451 if test "x$exec_prefix" = xNONE
8452 then
8453 case $host_cpu in
8454 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8455 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8456 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8457 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8458 esac
8463 DLLFLAGS="$DLLFLAGS -fPIC"
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8465 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8466 if ${ac_cv_c_dll_gnuelf+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 ac_wine_try_cflags_saved=$CFLAGS
8470 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8473 void myfunc() {}
8474 _ACEOF
8475 if ac_fn_c_try_link "$LINENO"; then :
8476 ac_cv_c_dll_gnuelf="yes"
8477 else
8478 ac_cv_c_dll_gnuelf="no"
8480 rm -f core conftest.err conftest.$ac_objext \
8481 conftest$ac_exeext conftest.$ac_ext
8482 CFLAGS=$ac_wine_try_cflags_saved
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8485 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8486 if test "$ac_cv_c_dll_gnuelf" = "yes"
8487 then
8488 LIBWINE_LDFLAGS="-shared"
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8490 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8491 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8492 $as_echo_n "(cached) " >&6
8493 else
8494 ac_wine_try_cflags_saved=$CFLAGS
8495 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8498 int main(int argc, char **argv) { return 0; }
8499 _ACEOF
8500 if ac_fn_c_try_link "$LINENO"; then :
8501 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8502 else
8503 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8505 rm -f core conftest.err conftest.$ac_objext \
8506 conftest$ac_exeext conftest.$ac_ext
8507 CFLAGS=$ac_wine_try_cflags_saved
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8510 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8511 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8512 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8513 else
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8515 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8516 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 ac_wine_try_cflags_saved=$CFLAGS
8520 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8523 int main(int argc, char **argv) { return 0; }
8524 _ACEOF
8525 if ac_fn_c_try_link "$LINENO"; then :
8526 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8527 else
8528 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8530 rm -f core conftest.err conftest.$ac_objext \
8531 conftest$ac_exeext conftest.$ac_ext
8532 CFLAGS=$ac_wine_try_cflags_saved
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8535 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8536 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8537 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8541 echo '{ global: *; };' >conftest.map
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8543 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8544 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8545 $as_echo_n "(cached) " >&6
8546 else
8547 ac_wine_try_cflags_saved=$CFLAGS
8548 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8551 int main(int argc, char **argv) { return 0; }
8552 _ACEOF
8553 if ac_fn_c_try_link "$LINENO"; then :
8554 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8555 else
8556 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8558 rm -f core conftest.err conftest.$ac_objext \
8559 conftest$ac_exeext conftest.$ac_ext
8560 CFLAGS=$ac_wine_try_cflags_saved
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8563 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8564 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8565 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8567 rm -f conftest.map
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8570 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8571 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8572 $as_echo_n "(cached) " >&6
8573 else
8574 ac_wine_try_cflags_saved=$CFLAGS
8575 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8578 int main(int argc, char **argv) { return 0; }
8579 _ACEOF
8580 if ac_fn_c_try_link "$LINENO"; then :
8581 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8582 else
8583 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8585 rm -f core conftest.err conftest.$ac_objext \
8586 conftest$ac_exeext conftest.$ac_ext
8587 CFLAGS=$ac_wine_try_cflags_saved
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8590 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8591 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8592 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8595 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8597 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8598 if eval \${$as_ac_var+:} false; then :
8599 $as_echo_n "(cached) " >&6
8600 else
8601 ac_wine_try_cflags_saved=$CFLAGS
8602 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8605 int main(int argc, char **argv) { return 0; }
8606 _ACEOF
8607 if ac_fn_c_try_link "$LINENO"; then :
8608 eval "$as_ac_var=yes"
8609 else
8610 eval "$as_ac_var=no"
8612 rm -f core conftest.err conftest.$ac_objext \
8613 conftest$ac_exeext conftest.$ac_ext
8614 CFLAGS=$ac_wine_try_cflags_saved
8616 eval ac_res=\$$as_ac_var
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8618 $as_echo "$ac_res" >&6; }
8619 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8620 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8621 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8622 else
8623 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8625 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8626 if eval \${$as_ac_var+:} false; then :
8627 $as_echo_n "(cached) " >&6
8628 else
8629 ac_wine_try_cflags_saved=$CFLAGS
8630 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8633 int main(int argc, char **argv) { return 0; }
8634 _ACEOF
8635 if ac_fn_c_try_link "$LINENO"; then :
8636 eval "$as_ac_var=yes"
8637 else
8638 eval "$as_ac_var=no"
8640 rm -f core conftest.err conftest.$ac_objext \
8641 conftest$ac_exeext conftest.$ac_ext
8642 CFLAGS=$ac_wine_try_cflags_saved
8644 eval ac_res=\$$as_ac_var
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8646 $as_echo "$ac_res" >&6; }
8647 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8648 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8649 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8654 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8655 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8656 $as_echo_n "(cached) " >&6
8657 else
8658 ac_wine_try_cflags_saved=$CFLAGS
8659 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8662 int main(int argc, char **argv) { return 0; }
8663 _ACEOF
8664 if ac_fn_c_try_link "$LINENO"; then :
8665 ac_cv_cflags__Wl___enable_new_dtags=yes
8666 else
8667 ac_cv_cflags__Wl___enable_new_dtags=no
8669 rm -f core conftest.err conftest.$ac_objext \
8670 conftest$ac_exeext conftest.$ac_ext
8671 CFLAGS=$ac_wine_try_cflags_saved
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8674 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8675 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8676 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8679 case $host_cpu in
8680 *i[3456789]86* | x86_64 | *aarch64*)
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8682 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8683 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8684 $as_echo_n "(cached) " >&6
8685 else
8686 ac_wine_try_cflags_saved=$CFLAGS
8687 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h. */
8690 int main(int argc, char **argv) { return 0; }
8691 _ACEOF
8692 if ac_fn_c_try_link "$LINENO"; then :
8693 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8694 else
8695 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8697 rm -f core conftest.err conftest.$ac_objext \
8698 conftest$ac_exeext conftest.$ac_ext
8699 CFLAGS=$ac_wine_try_cflags_saved
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8702 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8703 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8704 case $host_os in
8705 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8706 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8707 esac
8708 else
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8710 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8711 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8712 $as_echo_n "(cached) " >&6
8713 else
8714 ac_wine_try_cflags_saved=$CFLAGS
8715 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8717 /* end confdefs.h. */
8718 int main(int argc, char **argv) { return 0; }
8719 _ACEOF
8720 if ac_fn_c_try_link "$LINENO"; then :
8721 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8722 else
8723 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8725 rm -f core conftest.err conftest.$ac_objext \
8726 conftest$ac_exeext conftest.$ac_ext
8727 CFLAGS=$ac_wine_try_cflags_saved
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8730 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8731 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8732 case $host_os in
8733 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8734 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8735 esac
8737 # Extract the first word of "prelink", so it can be a program name with args.
8738 set dummy prelink; ac_word=$2
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8740 $as_echo_n "checking for $ac_word... " >&6; }
8741 if ${ac_cv_path_PRELINK+:} false; then :
8742 $as_echo_n "(cached) " >&6
8743 else
8744 case $PRELINK in
8745 [\\/]* | ?:[\\/]*)
8746 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8750 for as_dir in /sbin /usr/sbin $PATH
8752 IFS=$as_save_IFS
8753 test -z "$as_dir" && as_dir=.
8754 for ac_exec_ext in '' $ac_executable_extensions; do
8755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8756 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8758 break 2
8760 done
8761 done
8762 IFS=$as_save_IFS
8764 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8766 esac
8768 PRELINK=$ac_cv_path_PRELINK
8769 if test -n "$PRELINK"; then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8771 $as_echo "$PRELINK" >&6; }
8772 else
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8774 $as_echo "no" >&6; }
8778 if test "x$PRELINK" = xfalse
8779 then
8780 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8784 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8785 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8786 $as_echo_n "(cached) " >&6
8787 else
8788 ac_wine_try_cflags_saved=$CFLAGS
8789 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8791 /* end confdefs.h. */
8792 int main(int argc, char **argv) { return 0; }
8793 _ACEOF
8794 if ac_fn_c_try_link "$LINENO"; then :
8795 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8796 else
8797 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8799 rm -f core conftest.err conftest.$ac_objext \
8800 conftest$ac_exeext conftest.$ac_ext
8801 CFLAGS=$ac_wine_try_cflags_saved
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8804 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8805 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8806 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8809 esac
8811 else
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8813 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8814 if ${ac_cv_c_dll_unixware+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8821 void myfunc() {}
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 ac_cv_c_dll_unixware="yes"
8825 else
8826 ac_cv_c_dll_unixware="no"
8828 rm -f core conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830 CFLAGS=$ac_wine_try_cflags_saved
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8833 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8834 if test "$ac_cv_c_dll_unixware" = "yes"
8835 then
8836 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8839 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8841 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8843 LIBWINE_INSTALL_DEV="libwine.so"
8845 LIBWINE_DEPENDS="wine.map"
8848 esac
8850 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8851 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8852 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8853 enable_winemac_drv=${enable_winemac_drv:-no}
8854 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8856 CROSSTARGET=""
8858 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8859 then
8860 case "$host_cpu" in
8861 aarch64*)
8862 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
8863 arm*)
8864 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8865 i[3456789]86*)
8866 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
8867 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8868 mingw32-gcc" ;;
8869 x86_64)
8870 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
8871 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8873 ac_prefix_list="" ;;
8874 esac
8875 for ac_prog in $ac_prefix_list
8877 # Extract the first word of "$ac_prog", so it can be a program name with args.
8878 set dummy $ac_prog; ac_word=$2
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8880 $as_echo_n "checking for $ac_word... " >&6; }
8881 if ${ac_cv_prog_CROSSCC+:} false; then :
8882 $as_echo_n "(cached) " >&6
8883 else
8884 if test -n "$CROSSCC"; then
8885 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8886 else
8887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8888 for as_dir in $PATH
8890 IFS=$as_save_IFS
8891 test -z "$as_dir" && as_dir=.
8892 for ac_exec_ext in '' $ac_executable_extensions; do
8893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8894 ac_cv_prog_CROSSCC="$ac_prog"
8895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8896 break 2
8898 done
8899 done
8900 IFS=$as_save_IFS
8904 CROSSCC=$ac_cv_prog_CROSSCC
8905 if test -n "$CROSSCC"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8907 $as_echo "$CROSSCC" >&6; }
8908 else
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8910 $as_echo "no" >&6; }
8914 test -n "$CROSSCC" && break
8915 done
8916 test -n "$CROSSCC" || CROSSCC="false"
8918 if test "$CROSSCC" != "false"
8919 then
8920 ac_save_CC="$CC"
8921 CC="$CROSSCC"
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8923 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8925 /* end confdefs.h. */
8928 main ()
8932 return 0;
8934 _ACEOF
8935 if ac_fn_c_try_compile "$LINENO"; then :
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8937 $as_echo "yes" >&6; }
8938 set x $CROSSCC
8939 shift
8940 while test $# -ge 1
8942 case "$1" in
8943 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8944 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8945 esac
8946 shift
8947 done
8948 else
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8950 $as_echo "no" >&6; }
8952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8953 CC="$ac_save_CC"
8954 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8960 if test "$ac_cv_header_pthread_h" = "yes"
8961 then
8962 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8963 if test "x$ac_cv_func_pthread_create" = xyes; then :
8965 else
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8967 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8968 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 ac_check_lib_save_LIBS=$LIBS
8972 LIBS="-lpthread $LIBS"
8973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8974 /* end confdefs.h. */
8976 /* Override any GCC internal prototype to avoid an error.
8977 Use char because int might match the return type of a GCC
8978 builtin and then its argument prototype would still apply. */
8979 #ifdef __cplusplus
8980 extern "C"
8981 #endif
8982 char pthread_create ();
8984 main ()
8986 return pthread_create ();
8988 return 0;
8990 _ACEOF
8991 if ac_fn_c_try_link "$LINENO"; then :
8992 ac_cv_lib_pthread_pthread_create=yes
8993 else
8994 ac_cv_lib_pthread_pthread_create=no
8996 rm -f core conftest.err conftest.$ac_objext \
8997 conftest$ac_exeext conftest.$ac_ext
8998 LIBS=$ac_check_lib_save_LIBS
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9001 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9002 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9003 PTHREAD_LIBS="-lpthread"
9010 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9011 case "x$with_pthread" in
9012 xno) ;;
9013 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9014 Wine cannot support threads without libpthread.
9015 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9016 esac
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9022 $as_echo_n "checking for X... " >&6; }
9025 # Check whether --with-x was given.
9026 if test "${with_x+set}" = set; then :
9027 withval=$with_x;
9030 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9031 if test "x$with_x" = xno; then
9032 # The user explicitly disabled X.
9033 have_x=disabled
9034 else
9035 case $x_includes,$x_libraries in #(
9036 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9037 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9038 $as_echo_n "(cached) " >&6
9039 else
9040 # One or both of the vars are not set, and there is no cached value.
9041 ac_x_includes=no ac_x_libraries=no
9042 rm -f -r conftest.dir
9043 if mkdir conftest.dir; then
9044 cd conftest.dir
9045 cat >Imakefile <<'_ACEOF'
9046 incroot:
9047 @echo incroot='${INCROOT}'
9048 usrlibdir:
9049 @echo usrlibdir='${USRLIBDIR}'
9050 libdir:
9051 @echo libdir='${LIBDIR}'
9052 _ACEOF
9053 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9054 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9055 for ac_var in incroot usrlibdir libdir; do
9056 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9057 done
9058 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9059 for ac_extension in a so sl dylib la dll; do
9060 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9061 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9062 ac_im_usrlibdir=$ac_im_libdir; break
9064 done
9065 # Screen out bogus values from the imake configuration. They are
9066 # bogus both because they are the default anyway, and because
9067 # using them would break gcc on systems where it needs fixed includes.
9068 case $ac_im_incroot in
9069 /usr/include) ac_x_includes= ;;
9070 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9071 esac
9072 case $ac_im_usrlibdir in
9073 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9074 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9075 esac
9077 cd ..
9078 rm -f -r conftest.dir
9081 # Standard set of common directories for X headers.
9082 # Check X11 before X11Rn because it is often a symlink to the current release.
9083 ac_x_header_dirs='
9084 /usr/X11/include
9085 /usr/X11R7/include
9086 /usr/X11R6/include
9087 /usr/X11R5/include
9088 /usr/X11R4/include
9090 /usr/include/X11
9091 /usr/include/X11R7
9092 /usr/include/X11R6
9093 /usr/include/X11R5
9094 /usr/include/X11R4
9096 /usr/local/X11/include
9097 /usr/local/X11R7/include
9098 /usr/local/X11R6/include
9099 /usr/local/X11R5/include
9100 /usr/local/X11R4/include
9102 /usr/local/include/X11
9103 /usr/local/include/X11R7
9104 /usr/local/include/X11R6
9105 /usr/local/include/X11R5
9106 /usr/local/include/X11R4
9108 /usr/X386/include
9109 /usr/x386/include
9110 /usr/XFree86/include/X11
9112 /usr/include
9113 /usr/local/include
9114 /usr/unsupported/include
9115 /usr/athena/include
9116 /usr/local/x11r5/include
9117 /usr/lpp/Xamples/include
9119 /usr/openwin/include
9120 /usr/openwin/share/include'
9122 if test "$ac_x_includes" = no; then
9123 # Guess where to find include files, by looking for Xlib.h.
9124 # First, try using that file with no special directory specified.
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9127 #include <X11/Xlib.h>
9128 _ACEOF
9129 if ac_fn_c_try_cpp "$LINENO"; then :
9130 # We can compile using X headers with no special include directory.
9131 ac_x_includes=
9132 else
9133 for ac_dir in $ac_x_header_dirs; do
9134 if test -r "$ac_dir/X11/Xlib.h"; then
9135 ac_x_includes=$ac_dir
9136 break
9138 done
9140 rm -f conftest.err conftest.i conftest.$ac_ext
9141 fi # $ac_x_includes = no
9143 if test "$ac_x_libraries" = no; then
9144 # Check for the libraries.
9145 # See if we find them without any special options.
9146 # Don't add to $LIBS permanently.
9147 ac_save_LIBS=$LIBS
9148 LIBS="-lX11 $LIBS"
9149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9151 #include <X11/Xlib.h>
9153 main ()
9155 XrmInitialize ()
9157 return 0;
9159 _ACEOF
9160 if ac_fn_c_try_link "$LINENO"; then :
9161 LIBS=$ac_save_LIBS
9162 # We can link X programs with no special library path.
9163 ac_x_libraries=
9164 else
9165 LIBS=$ac_save_LIBS
9166 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9168 # Don't even attempt the hair of trying to link an X program!
9169 for ac_extension in a so sl dylib la dll; do
9170 if test -r "$ac_dir/libX11.$ac_extension"; then
9171 ac_x_libraries=$ac_dir
9172 break 2
9174 done
9175 done
9177 rm -f core conftest.err conftest.$ac_objext \
9178 conftest$ac_exeext conftest.$ac_ext
9179 fi # $ac_x_libraries = no
9181 case $ac_x_includes,$ac_x_libraries in #(
9182 no,* | *,no | *\'*)
9183 # Didn't find X, or a directory has "'" in its name.
9184 ac_cv_have_x="have_x=no";; #(
9186 # Record where we found X for the cache.
9187 ac_cv_have_x="have_x=yes\
9188 ac_x_includes='$ac_x_includes'\
9189 ac_x_libraries='$ac_x_libraries'"
9190 esac
9192 ;; #(
9193 *) have_x=yes;;
9194 esac
9195 eval "$ac_cv_have_x"
9196 fi # $with_x != no
9198 if test "$have_x" != yes; then
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9200 $as_echo "$have_x" >&6; }
9201 no_x=yes
9202 else
9203 # If each of the values was on the command line, it overrides each guess.
9204 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9205 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9206 # Update the cache value to reflect the command line values.
9207 ac_cv_have_x="have_x=yes\
9208 ac_x_includes='$x_includes'\
9209 ac_x_libraries='$x_libraries'"
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9211 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9214 if test "$no_x" = yes; then
9215 # Not all programs may use this symbol, but it does not hurt to define it.
9217 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9219 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9220 else
9221 if test -n "$x_includes"; then
9222 X_CFLAGS="$X_CFLAGS -I$x_includes"
9225 # It would also be nice to do this for all -L options, not just this one.
9226 if test -n "$x_libraries"; then
9227 X_LIBS="$X_LIBS -L$x_libraries"
9228 # For Solaris; some versions of Sun CC require a space after -R and
9229 # others require no space. Words are not sufficient . . . .
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9231 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9232 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9233 ac_xsave_c_werror_flag=$ac_c_werror_flag
9234 ac_c_werror_flag=yes
9235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9236 /* end confdefs.h. */
9239 main ()
9243 return 0;
9245 _ACEOF
9246 if ac_fn_c_try_link "$LINENO"; then :
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9248 $as_echo "no" >&6; }
9249 X_LIBS="$X_LIBS -R$x_libraries"
9250 else
9251 LIBS="$ac_xsave_LIBS -R $x_libraries"
9252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9253 /* end confdefs.h. */
9256 main ()
9260 return 0;
9262 _ACEOF
9263 if ac_fn_c_try_link "$LINENO"; then :
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9265 $as_echo "yes" >&6; }
9266 X_LIBS="$X_LIBS -R $x_libraries"
9267 else
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9269 $as_echo "neither works" >&6; }
9271 rm -f core conftest.err conftest.$ac_objext \
9272 conftest$ac_exeext conftest.$ac_ext
9274 rm -f core conftest.err conftest.$ac_objext \
9275 conftest$ac_exeext conftest.$ac_ext
9276 ac_c_werror_flag=$ac_xsave_c_werror_flag
9277 LIBS=$ac_xsave_LIBS
9280 # Check for system-dependent libraries X programs must link with.
9281 # Do this before checking for the system-independent R6 libraries
9282 # (-lICE), since we may need -lsocket or whatever for X linking.
9284 if test "$ISC" = yes; then
9285 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9286 else
9287 # Martyn Johnson says this is needed for Ultrix, if the X
9288 # libraries were built with DECnet support. And Karl Berry says
9289 # the Alpha needs dnet_stub (dnet does not exist).
9290 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h. */
9294 /* Override any GCC internal prototype to avoid an error.
9295 Use char because int might match the return type of a GCC
9296 builtin and then its argument prototype would still apply. */
9297 #ifdef __cplusplus
9298 extern "C"
9299 #endif
9300 char XOpenDisplay ();
9302 main ()
9304 return XOpenDisplay ();
9306 return 0;
9308 _ACEOF
9309 if ac_fn_c_try_link "$LINENO"; then :
9311 else
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9313 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9314 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9315 $as_echo_n "(cached) " >&6
9316 else
9317 ac_check_lib_save_LIBS=$LIBS
9318 LIBS="-ldnet $LIBS"
9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9322 /* Override any GCC internal prototype to avoid an error.
9323 Use char because int might match the return type of a GCC
9324 builtin and then its argument prototype would still apply. */
9325 #ifdef __cplusplus
9326 extern "C"
9327 #endif
9328 char dnet_ntoa ();
9330 main ()
9332 return dnet_ntoa ();
9334 return 0;
9336 _ACEOF
9337 if ac_fn_c_try_link "$LINENO"; then :
9338 ac_cv_lib_dnet_dnet_ntoa=yes
9339 else
9340 ac_cv_lib_dnet_dnet_ntoa=no
9342 rm -f core conftest.err conftest.$ac_objext \
9343 conftest$ac_exeext conftest.$ac_ext
9344 LIBS=$ac_check_lib_save_LIBS
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9347 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9348 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9349 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9352 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9354 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9355 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9356 $as_echo_n "(cached) " >&6
9357 else
9358 ac_check_lib_save_LIBS=$LIBS
9359 LIBS="-ldnet_stub $LIBS"
9360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h. */
9363 /* Override any GCC internal prototype to avoid an error.
9364 Use char because int might match the return type of a GCC
9365 builtin and then its argument prototype would still apply. */
9366 #ifdef __cplusplus
9367 extern "C"
9368 #endif
9369 char dnet_ntoa ();
9371 main ()
9373 return dnet_ntoa ();
9375 return 0;
9377 _ACEOF
9378 if ac_fn_c_try_link "$LINENO"; then :
9379 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9380 else
9381 ac_cv_lib_dnet_stub_dnet_ntoa=no
9383 rm -f core conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 LIBS=$ac_check_lib_save_LIBS
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9388 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9389 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9390 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9395 rm -f core conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9397 LIBS="$ac_xsave_LIBS"
9399 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9400 # to get the SysV transport functions.
9401 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9402 # needs -lnsl.
9403 # The nsl library prevents programs from opening the X display
9404 # on Irix 5.2, according to T.E. Dickey.
9405 # The functions gethostbyname, getservbyname, and inet_addr are
9406 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9407 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9408 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9412 if test $ac_cv_func_gethostbyname = no; then
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9414 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9415 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9416 $as_echo_n "(cached) " >&6
9417 else
9418 ac_check_lib_save_LIBS=$LIBS
9419 LIBS="-lnsl $LIBS"
9420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9423 /* Override any GCC internal prototype to avoid an error.
9424 Use char because int might match the return type of a GCC
9425 builtin and then its argument prototype would still apply. */
9426 #ifdef __cplusplus
9427 extern "C"
9428 #endif
9429 char gethostbyname ();
9431 main ()
9433 return gethostbyname ();
9435 return 0;
9437 _ACEOF
9438 if ac_fn_c_try_link "$LINENO"; then :
9439 ac_cv_lib_nsl_gethostbyname=yes
9440 else
9441 ac_cv_lib_nsl_gethostbyname=no
9443 rm -f core conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9445 LIBS=$ac_check_lib_save_LIBS
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9448 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9449 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9453 if test $ac_cv_lib_nsl_gethostbyname = no; then
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9455 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9456 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9457 $as_echo_n "(cached) " >&6
9458 else
9459 ac_check_lib_save_LIBS=$LIBS
9460 LIBS="-lbsd $LIBS"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9464 /* Override any GCC internal prototype to avoid an error.
9465 Use char because int might match the return type of a GCC
9466 builtin and then its argument prototype would still apply. */
9467 #ifdef __cplusplus
9468 extern "C"
9469 #endif
9470 char gethostbyname ();
9472 main ()
9474 return gethostbyname ();
9476 return 0;
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"; then :
9480 ac_cv_lib_bsd_gethostbyname=yes
9481 else
9482 ac_cv_lib_bsd_gethostbyname=no
9484 rm -f core conftest.err conftest.$ac_objext \
9485 conftest$ac_exeext conftest.$ac_ext
9486 LIBS=$ac_check_lib_save_LIBS
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9489 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9490 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9491 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9497 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9498 # socket/setsockopt and other routines are undefined under SCO ODT
9499 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9500 # on later versions), says Simon Leinen: it contains gethostby*
9501 # variants that don't use the name server (or something). -lsocket
9502 # must be given before -lnsl if both are needed. We assume that
9503 # if connect needs -lnsl, so does gethostbyname.
9504 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9505 if test "x$ac_cv_func_connect" = xyes; then :
9509 if test $ac_cv_func_connect = no; then
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9511 $as_echo_n "checking for connect in -lsocket... " >&6; }
9512 if ${ac_cv_lib_socket_connect+:} false; then :
9513 $as_echo_n "(cached) " >&6
9514 else
9515 ac_check_lib_save_LIBS=$LIBS
9516 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9520 /* Override any GCC internal prototype to avoid an error.
9521 Use char because int might match the return type of a GCC
9522 builtin and then its argument prototype would still apply. */
9523 #ifdef __cplusplus
9524 extern "C"
9525 #endif
9526 char connect ();
9528 main ()
9530 return connect ();
9532 return 0;
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536 ac_cv_lib_socket_connect=yes
9537 else
9538 ac_cv_lib_socket_connect=no
9540 rm -f core conftest.err conftest.$ac_objext \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS=$ac_check_lib_save_LIBS
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9545 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9546 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9547 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9552 # Guillermo Gomez says -lposix is necessary on A/UX.
9553 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9554 if test "x$ac_cv_func_remove" = xyes; then :
9558 if test $ac_cv_func_remove = no; then
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9560 $as_echo_n "checking for remove in -lposix... " >&6; }
9561 if ${ac_cv_lib_posix_remove+:} false; then :
9562 $as_echo_n "(cached) " >&6
9563 else
9564 ac_check_lib_save_LIBS=$LIBS
9565 LIBS="-lposix $LIBS"
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9569 /* Override any GCC internal prototype to avoid an error.
9570 Use char because int might match the return type of a GCC
9571 builtin and then its argument prototype would still apply. */
9572 #ifdef __cplusplus
9573 extern "C"
9574 #endif
9575 char remove ();
9577 main ()
9579 return remove ();
9581 return 0;
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9585 ac_cv_lib_posix_remove=yes
9586 else
9587 ac_cv_lib_posix_remove=no
9589 rm -f core conftest.err conftest.$ac_objext \
9590 conftest$ac_exeext conftest.$ac_ext
9591 LIBS=$ac_check_lib_save_LIBS
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9594 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9595 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9596 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9601 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9602 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9603 if test "x$ac_cv_func_shmat" = xyes; then :
9607 if test $ac_cv_func_shmat = no; then
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9609 $as_echo_n "checking for shmat in -lipc... " >&6; }
9610 if ${ac_cv_lib_ipc_shmat+:} false; then :
9611 $as_echo_n "(cached) " >&6
9612 else
9613 ac_check_lib_save_LIBS=$LIBS
9614 LIBS="-lipc $LIBS"
9615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h. */
9618 /* Override any GCC internal prototype to avoid an error.
9619 Use char because int might match the return type of a GCC
9620 builtin and then its argument prototype would still apply. */
9621 #ifdef __cplusplus
9622 extern "C"
9623 #endif
9624 char shmat ();
9626 main ()
9628 return shmat ();
9630 return 0;
9632 _ACEOF
9633 if ac_fn_c_try_link "$LINENO"; then :
9634 ac_cv_lib_ipc_shmat=yes
9635 else
9636 ac_cv_lib_ipc_shmat=no
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 LIBS=$ac_check_lib_save_LIBS
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9643 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9644 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9645 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9651 # Check for libraries that X11R6 Xt/Xaw programs need.
9652 ac_save_LDFLAGS=$LDFLAGS
9653 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9654 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9655 # check for ICE first), but we must link in the order -lSM -lICE or
9656 # we get undefined symbols. So assume we have SM if we have ICE.
9657 # These have to be linked with before -lX11, unlike the other
9658 # libraries we check for below, so use a different variable.
9659 # John Interrante, Karl Berry
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9661 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9662 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9663 $as_echo_n "(cached) " >&6
9664 else
9665 ac_check_lib_save_LIBS=$LIBS
9666 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9673 #ifdef __cplusplus
9674 extern "C"
9675 #endif
9676 char IceConnectionNumber ();
9678 main ()
9680 return IceConnectionNumber ();
9682 return 0;
9684 _ACEOF
9685 if ac_fn_c_try_link "$LINENO"; then :
9686 ac_cv_lib_ICE_IceConnectionNumber=yes
9687 else
9688 ac_cv_lib_ICE_IceConnectionNumber=no
9690 rm -f core conftest.err conftest.$ac_objext \
9691 conftest$ac_exeext conftest.$ac_ext
9692 LIBS=$ac_check_lib_save_LIBS
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9695 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9696 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9697 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9700 LDFLAGS=$ac_save_LDFLAGS
9705 if test "$have_x" = "yes"
9706 then
9707 ac_save_CPPFLAGS="$CPPFLAGS"
9708 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9711 $as_echo_n "checking for -lX11... " >&6; }
9712 if ${ac_cv_lib_soname_X11+:} false; then :
9713 $as_echo_n "(cached) " >&6
9714 else
9715 ac_check_soname_save_LIBS=$LIBS
9716 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9720 /* Override any GCC internal prototype to avoid an error.
9721 Use char because int might match the return type of a GCC
9722 builtin and then its argument prototype would still apply. */
9723 #ifdef __cplusplus
9724 extern "C"
9725 #endif
9726 char XCreateWindow ();
9728 main ()
9730 return XCreateWindow ();
9732 return 0;
9734 _ACEOF
9735 if ac_fn_c_try_link "$LINENO"; then :
9736 case "$LIBEXT" in
9737 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9738 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'` ;;
9739 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9740 if ${ac_cv_lib_soname_X11:+false} :; then :
9741 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9742 fi ;;
9743 esac
9745 rm -f core conftest.err conftest.$ac_objext \
9746 conftest$ac_exeext conftest.$ac_ext
9747 LIBS=$ac_check_soname_save_LIBS
9749 if ${ac_cv_lib_soname_X11:+false} :; then :
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9751 $as_echo "not found" >&6; }
9753 else
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9755 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9757 cat >>confdefs.h <<_ACEOF
9758 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9759 _ACEOF
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9764 $as_echo_n "checking for -lXext... " >&6; }
9765 if ${ac_cv_lib_soname_Xext+:} false; then :
9766 $as_echo_n "(cached) " >&6
9767 else
9768 ac_check_soname_save_LIBS=$LIBS
9769 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9773 /* Override any GCC internal prototype to avoid an error.
9774 Use char because int might match the return type of a GCC
9775 builtin and then its argument prototype would still apply. */
9776 #ifdef __cplusplus
9777 extern "C"
9778 #endif
9779 char XextCreateExtension ();
9781 main ()
9783 return XextCreateExtension ();
9785 return 0;
9787 _ACEOF
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 case "$LIBEXT" in
9790 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9791 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'` ;;
9792 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9793 if ${ac_cv_lib_soname_Xext:+false} :; then :
9794 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9795 fi ;;
9796 esac
9798 rm -f core conftest.err conftest.$ac_objext \
9799 conftest$ac_exeext conftest.$ac_ext
9800 LIBS=$ac_check_soname_save_LIBS
9802 if ${ac_cv_lib_soname_Xext:+false} :; then :
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9804 $as_echo "not found" >&6; }
9806 else
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9808 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9810 cat >>confdefs.h <<_ACEOF
9811 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9812 _ACEOF
9814 X_LIBS="$X_LIBS -lXext"
9816 X_LIBS="$X_LIBS -lX11"
9818 for ac_header in X11/Xlib.h \
9819 X11/XKBlib.h \
9820 X11/Xutil.h \
9821 X11/Xcursor/Xcursor.h \
9822 X11/extensions/shape.h \
9823 X11/extensions/XInput.h \
9824 X11/extensions/XInput2.h \
9825 X11/extensions/XShm.h \
9826 X11/extensions/Xcomposite.h \
9827 X11/extensions/Xfixes.h \
9828 X11/extensions/Xinerama.h \
9829 X11/extensions/Xrandr.h \
9830 X11/extensions/Xrender.h \
9831 X11/extensions/xf86vmode.h \
9832 X11/extensions/xf86vmproto.h
9833 do :
9834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9835 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9836 # include <X11/Xlib.h>
9837 #endif
9838 #ifdef HAVE_X11_XUTIL_H
9839 # include <X11/Xutil.h>
9840 #endif
9842 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9843 cat >>confdefs.h <<_ACEOF
9844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9845 _ACEOF
9849 done
9852 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9853 then
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9855 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9856 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9857 $as_echo_n "(cached) " >&6
9858 else
9859 ac_check_lib_save_LIBS=$LIBS
9860 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9864 /* Override any GCC internal prototype to avoid an error.
9865 Use char because int might match the return type of a GCC
9866 builtin and then its argument prototype would still apply. */
9867 #ifdef __cplusplus
9868 extern "C"
9869 #endif
9870 char XkbQueryExtension ();
9872 main ()
9874 return XkbQueryExtension ();
9876 return 0;
9878 _ACEOF
9879 if ac_fn_c_try_link "$LINENO"; then :
9880 ac_cv_lib_X11_XkbQueryExtension=yes
9881 else
9882 ac_cv_lib_X11_XkbQueryExtension=no
9884 rm -f core conftest.err conftest.$ac_objext \
9885 conftest$ac_exeext conftest.$ac_ext
9886 LIBS=$ac_check_lib_save_LIBS
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9889 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9890 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9892 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9898 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9899 then
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9901 $as_echo_n "checking for -lXcursor... " >&6; }
9902 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9903 $as_echo_n "(cached) " >&6
9904 else
9905 ac_check_soname_save_LIBS=$LIBS
9906 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9910 /* Override any GCC internal prototype to avoid an error.
9911 Use char because int might match the return type of a GCC
9912 builtin and then its argument prototype would still apply. */
9913 #ifdef __cplusplus
9914 extern "C"
9915 #endif
9916 char XcursorImageLoadCursor ();
9918 main ()
9920 return XcursorImageLoadCursor ();
9922 return 0;
9924 _ACEOF
9925 if ac_fn_c_try_link "$LINENO"; then :
9926 case "$LIBEXT" in
9927 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9928 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'` ;;
9929 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9930 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9931 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9932 fi ;;
9933 esac
9935 rm -f core conftest.err conftest.$ac_objext \
9936 conftest$ac_exeext conftest.$ac_ext
9937 LIBS=$ac_check_soname_save_LIBS
9939 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9941 $as_echo "not found" >&6; }
9943 else
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9945 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9947 cat >>confdefs.h <<_ACEOF
9948 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9949 _ACEOF
9954 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9955 case "x$with_xcursor" in
9956 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9957 xno) ;;
9958 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9959 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9960 esac
9964 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9965 then
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9967 $as_echo_n "checking for -lXi... " >&6; }
9968 if ${ac_cv_lib_soname_Xi+:} false; then :
9969 $as_echo_n "(cached) " >&6
9970 else
9971 ac_check_soname_save_LIBS=$LIBS
9972 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9976 /* Override any GCC internal prototype to avoid an error.
9977 Use char because int might match the return type of a GCC
9978 builtin and then its argument prototype would still apply. */
9979 #ifdef __cplusplus
9980 extern "C"
9981 #endif
9982 char XOpenDevice ();
9984 main ()
9986 return XOpenDevice ();
9988 return 0;
9990 _ACEOF
9991 if ac_fn_c_try_link "$LINENO"; then :
9992 case "$LIBEXT" in
9993 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9994 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'` ;;
9995 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9996 if ${ac_cv_lib_soname_Xi:+false} :; then :
9997 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9998 fi ;;
9999 esac
10001 rm -f core conftest.err conftest.$ac_objext \
10002 conftest$ac_exeext conftest.$ac_ext
10003 LIBS=$ac_check_soname_save_LIBS
10005 if ${ac_cv_lib_soname_Xi:+false} :; then :
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10007 $as_echo "not found" >&6; }
10009 else
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10011 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10013 cat >>confdefs.h <<_ACEOF
10014 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10015 _ACEOF
10020 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10021 case "x$with_xinput" in
10022 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10023 xno) ;;
10024 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10025 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10026 esac
10030 if test "x$ac_cv_lib_soname_Xi" != x
10031 then
10032 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10033 case "x$with_xinput2" in
10034 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10035 xno) ;;
10036 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10037 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10038 esac
10043 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10044 then
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10046 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10047 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10048 $as_echo_n "(cached) " >&6
10049 else
10050 ac_check_lib_save_LIBS=$LIBS
10051 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10055 /* Override any GCC internal prototype to avoid an error.
10056 Use char because int might match the return type of a GCC
10057 builtin and then its argument prototype would still apply. */
10058 #ifdef __cplusplus
10059 extern "C"
10060 #endif
10061 char XShmQueryExtension ();
10063 main ()
10065 return XShmQueryExtension ();
10067 return 0;
10069 _ACEOF
10070 if ac_fn_c_try_link "$LINENO"; then :
10071 ac_cv_lib_Xext_XShmQueryExtension=yes
10072 else
10073 ac_cv_lib_Xext_XShmQueryExtension=no
10075 rm -f core conftest.err conftest.$ac_objext \
10076 conftest$ac_exeext conftest.$ac_ext
10077 LIBS=$ac_check_lib_save_LIBS
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10080 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10081 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10083 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10088 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10089 case "x$with_xshm" in
10090 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10091 xno) ;;
10092 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10093 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10094 esac
10098 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10099 then
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10101 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10102 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10103 $as_echo_n "(cached) " >&6
10104 else
10105 ac_check_lib_save_LIBS=$LIBS
10106 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10110 /* Override any GCC internal prototype to avoid an error.
10111 Use char because int might match the return type of a GCC
10112 builtin and then its argument prototype would still apply. */
10113 #ifdef __cplusplus
10114 extern "C"
10115 #endif
10116 char XShapeQueryExtension ();
10118 main ()
10120 return XShapeQueryExtension ();
10122 return 0;
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"; then :
10126 ac_cv_lib_Xext_XShapeQueryExtension=yes
10127 else
10128 ac_cv_lib_Xext_XShapeQueryExtension=no
10130 rm -f core conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 LIBS=$ac_check_lib_save_LIBS
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10135 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10136 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10138 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10143 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10144 case "x$with_xshape" in
10145 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10146 xno) ;;
10147 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10148 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10149 esac
10153 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10154 then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10156 $as_echo_n "checking for -lXxf86vm... " >&6; }
10157 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 ac_check_soname_save_LIBS=$LIBS
10161 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10165 /* Override any GCC internal prototype to avoid an error.
10166 Use char because int might match the return type of a GCC
10167 builtin and then its argument prototype would still apply. */
10168 #ifdef __cplusplus
10169 extern "C"
10170 #endif
10171 char XF86VidModeQueryExtension ();
10173 main ()
10175 return XF86VidModeQueryExtension ();
10177 return 0;
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"; then :
10181 case "$LIBEXT" in
10182 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10183 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'` ;;
10184 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10185 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10186 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10187 fi ;;
10188 esac
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 LIBS=$ac_check_soname_save_LIBS
10194 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10196 $as_echo "not found" >&6; }
10198 else
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10200 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10202 cat >>confdefs.h <<_ACEOF
10203 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10204 _ACEOF
10209 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10210 case "x$with_xxf86vm" in
10211 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10212 xno) ;;
10213 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10214 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10215 esac
10219 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10220 then
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10222 $as_echo_n "checking for -lXrender... " >&6; }
10223 if ${ac_cv_lib_soname_Xrender+:} false; then :
10224 $as_echo_n "(cached) " >&6
10225 else
10226 ac_check_soname_save_LIBS=$LIBS
10227 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10231 /* Override any GCC internal prototype to avoid an error.
10232 Use char because int might match the return type of a GCC
10233 builtin and then its argument prototype would still apply. */
10234 #ifdef __cplusplus
10235 extern "C"
10236 #endif
10237 char XRenderQueryExtension ();
10239 main ()
10241 return XRenderQueryExtension ();
10243 return 0;
10245 _ACEOF
10246 if ac_fn_c_try_link "$LINENO"; then :
10247 case "$LIBEXT" in
10248 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10249 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'` ;;
10250 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10251 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10252 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10253 fi ;;
10254 esac
10256 rm -f core conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 LIBS=$ac_check_soname_save_LIBS
10260 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10262 $as_echo "not found" >&6; }
10264 else
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10266 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10268 cat >>confdefs.h <<_ACEOF
10269 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10270 _ACEOF
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10273 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10274 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10275 $as_echo_n "(cached) " >&6
10276 else
10277 ac_check_lib_save_LIBS=$LIBS
10278 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10282 /* Override any GCC internal prototype to avoid an error.
10283 Use char because int might match the return type of a GCC
10284 builtin and then its argument prototype would still apply. */
10285 #ifdef __cplusplus
10286 extern "C"
10287 #endif
10288 char XRenderSetPictureTransform ();
10290 main ()
10292 return XRenderSetPictureTransform ();
10294 return 0;
10296 _ACEOF
10297 if ac_fn_c_try_link "$LINENO"; then :
10298 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10299 else
10300 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10302 rm -f core conftest.err conftest.$ac_objext \
10303 conftest$ac_exeext conftest.$ac_ext
10304 LIBS=$ac_check_lib_save_LIBS
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10307 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10308 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10310 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10315 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10316 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10317 $as_echo_n "(cached) " >&6
10318 else
10319 ac_check_lib_save_LIBS=$LIBS
10320 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10324 /* Override any GCC internal prototype to avoid an error.
10325 Use char because int might match the return type of a GCC
10326 builtin and then its argument prototype would still apply. */
10327 #ifdef __cplusplus
10328 extern "C"
10329 #endif
10330 char XRenderCreateLinearGradient ();
10332 main ()
10334 return XRenderCreateLinearGradient ();
10336 return 0;
10338 _ACEOF
10339 if ac_fn_c_try_link "$LINENO"; then :
10340 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10341 else
10342 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10344 rm -f core conftest.err conftest.$ac_objext \
10345 conftest$ac_exeext conftest.$ac_ext
10346 LIBS=$ac_check_lib_save_LIBS
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10349 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10350 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10352 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10359 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10360 case "x$with_xrender" in
10361 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10362 xno) ;;
10363 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10364 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10365 esac
10369 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10370 then
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10373 #include <X11/Xlib.h>
10374 #include <X11/extensions/Xrandr.h>
10376 main ()
10378 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10380 return 0;
10382 _ACEOF
10383 if ac_fn_c_try_compile "$LINENO"; then :
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10385 $as_echo_n "checking for -lXrandr... " >&6; }
10386 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10387 $as_echo_n "(cached) " >&6
10388 else
10389 ac_check_soname_save_LIBS=$LIBS
10390 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10394 /* Override any GCC internal prototype to avoid an error.
10395 Use char because int might match the return type of a GCC
10396 builtin and then its argument prototype would still apply. */
10397 #ifdef __cplusplus
10398 extern "C"
10399 #endif
10400 char XRRQueryExtension ();
10402 main ()
10404 return XRRQueryExtension ();
10406 return 0;
10408 _ACEOF
10409 if ac_fn_c_try_link "$LINENO"; then :
10410 case "$LIBEXT" in
10411 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10412 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'` ;;
10413 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10414 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10415 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10416 fi ;;
10417 esac
10419 rm -f core conftest.err conftest.$ac_objext \
10420 conftest$ac_exeext conftest.$ac_ext
10421 LIBS=$ac_check_soname_save_LIBS
10423 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10425 $as_echo "not found" >&6; }
10427 else
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10429 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10431 cat >>confdefs.h <<_ACEOF
10432 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10433 _ACEOF
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10437 #include <X11/Xlib.h>
10438 #include <X11/extensions/Xrandr.h>
10440 main ()
10442 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10444 return 0;
10446 _ACEOF
10447 if ac_fn_c_try_compile "$LINENO"; then :
10449 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10457 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10458 case "x$with_xrandr" in
10459 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10460 xno) ;;
10461 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10462 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10463 esac
10467 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10468 then
10469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10471 #include <X11/Xlib.h>
10472 #include <X11/extensions/Xfixes.h>
10474 main ()
10476 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10478 return 0;
10480 _ACEOF
10481 if ac_fn_c_try_compile "$LINENO"; then :
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10483 $as_echo_n "checking for -lXfixes... " >&6; }
10484 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10485 $as_echo_n "(cached) " >&6
10486 else
10487 ac_check_soname_save_LIBS=$LIBS
10488 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10490 /* end confdefs.h. */
10492 /* Override any GCC internal prototype to avoid an error.
10493 Use char because int might match the return type of a GCC
10494 builtin and then its argument prototype would still apply. */
10495 #ifdef __cplusplus
10496 extern "C"
10497 #endif
10498 char XFixesQueryVersion ();
10500 main ()
10502 return XFixesQueryVersion ();
10504 return 0;
10506 _ACEOF
10507 if ac_fn_c_try_link "$LINENO"; then :
10508 case "$LIBEXT" in
10509 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10510 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'` ;;
10511 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10512 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10513 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10514 fi ;;
10515 esac
10517 rm -f core conftest.err conftest.$ac_objext \
10518 conftest$ac_exeext conftest.$ac_ext
10519 LIBS=$ac_check_soname_save_LIBS
10521 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10523 $as_echo "not found" >&6; }
10525 else
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10527 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10529 cat >>confdefs.h <<_ACEOF
10530 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10531 _ACEOF
10536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10538 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10539 case "x$with_xfixes" in
10540 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10541 xno) ;;
10542 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10543 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10544 esac
10548 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10549 then
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10552 #include <X11/Xlib.h>
10553 #include <X11/extensions/Xinerama.h>
10555 main ()
10557 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10559 return 0;
10561 _ACEOF
10562 if ac_fn_c_try_compile "$LINENO"; then :
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10564 $as_echo_n "checking for -lXinerama... " >&6; }
10565 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10566 $as_echo_n "(cached) " >&6
10567 else
10568 ac_check_soname_save_LIBS=$LIBS
10569 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10573 /* Override any GCC internal prototype to avoid an error.
10574 Use char because int might match the return type of a GCC
10575 builtin and then its argument prototype would still apply. */
10576 #ifdef __cplusplus
10577 extern "C"
10578 #endif
10579 char XineramaQueryScreens ();
10581 main ()
10583 return XineramaQueryScreens ();
10585 return 0;
10587 _ACEOF
10588 if ac_fn_c_try_link "$LINENO"; then :
10589 case "$LIBEXT" in
10590 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10591 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'` ;;
10592 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10593 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10594 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10595 fi ;;
10596 esac
10598 rm -f core conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10600 LIBS=$ac_check_soname_save_LIBS
10602 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10604 $as_echo "not found" >&6; }
10606 else
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10608 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10610 cat >>confdefs.h <<_ACEOF
10611 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10612 _ACEOF
10617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10619 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10620 case "x$with_xinerama" in
10621 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10622 xno) ;;
10623 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10624 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10625 esac
10629 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10630 then
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10632 $as_echo_n "checking for -lXcomposite... " >&6; }
10633 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10634 $as_echo_n "(cached) " >&6
10635 else
10636 ac_check_soname_save_LIBS=$LIBS
10637 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10641 /* Override any GCC internal prototype to avoid an error.
10642 Use char because int might match the return type of a GCC
10643 builtin and then its argument prototype would still apply. */
10644 #ifdef __cplusplus
10645 extern "C"
10646 #endif
10647 char XCompositeRedirectWindow ();
10649 main ()
10651 return XCompositeRedirectWindow ();
10653 return 0;
10655 _ACEOF
10656 if ac_fn_c_try_link "$LINENO"; then :
10657 case "$LIBEXT" in
10658 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10659 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'` ;;
10660 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10661 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10662 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10663 fi ;;
10664 esac
10666 rm -f core conftest.err conftest.$ac_objext \
10667 conftest$ac_exeext conftest.$ac_ext
10668 LIBS=$ac_check_soname_save_LIBS
10670 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10672 $as_echo "not found" >&6; }
10674 else
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10676 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10678 cat >>confdefs.h <<_ACEOF
10679 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10680 _ACEOF
10685 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10686 case "x$with_xcomposite" in
10687 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10688 xno) ;;
10689 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10690 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10691 esac
10695 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10696 #include <X11/Xlib.h>
10697 #endif
10699 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10701 cat >>confdefs.h <<_ACEOF
10702 #define HAVE_XICCALLBACK_CALLBACK 1
10703 _ACEOF
10707 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10708 #include <X11/Xlib.h>
10709 #endif
10711 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10713 cat >>confdefs.h <<_ACEOF
10714 #define HAVE_XEVENT_XCOOKIE 1
10715 _ACEOF
10722 opengl_msg=""
10723 if test "x$with_opengl" != "xno"
10724 then
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10726 $as_echo_n "checking for -lGL... " >&6; }
10727 if ${ac_cv_lib_soname_GL+:} false; then :
10728 $as_echo_n "(cached) " >&6
10729 else
10730 ac_check_soname_save_LIBS=$LIBS
10731 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10735 /* Override any GCC internal prototype to avoid an error.
10736 Use char because int might match the return type of a GCC
10737 builtin and then its argument prototype would still apply. */
10738 #ifdef __cplusplus
10739 extern "C"
10740 #endif
10741 char glXCreateContext ();
10743 main ()
10745 return glXCreateContext ();
10747 return 0;
10749 _ACEOF
10750 if ac_fn_c_try_link "$LINENO"; then :
10751 case "$LIBEXT" in
10752 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10753 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'` ;;
10754 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10755 if ${ac_cv_lib_soname_GL:+false} :; then :
10756 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10757 fi ;;
10758 esac
10760 rm -f core conftest.err conftest.$ac_objext \
10761 conftest$ac_exeext conftest.$ac_ext
10762 LIBS=$ac_check_soname_save_LIBS
10764 if ${ac_cv_lib_soname_GL:+false} :; then :
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10766 $as_echo "not found" >&6; }
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10768 $as_echo_n "checking for -lGL... " >&6; }
10769 if ${ac_cv_lib_soname_GL+:} false; then :
10770 $as_echo_n "(cached) " >&6
10771 else
10772 ac_check_soname_save_LIBS=$LIBS
10773 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"
10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10780 #ifdef __cplusplus
10781 extern "C"
10782 #endif
10783 char glXCreateContext ();
10785 main ()
10787 return glXCreateContext ();
10789 return 0;
10791 _ACEOF
10792 if ac_fn_c_try_link "$LINENO"; then :
10793 case "$LIBEXT" in
10794 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10795 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'` ;;
10796 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10797 if ${ac_cv_lib_soname_GL:+false} :; then :
10798 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10799 fi ;;
10800 esac
10802 rm -f core conftest.err conftest.$ac_objext \
10803 conftest$ac_exeext conftest.$ac_ext
10804 LIBS=$ac_check_soname_save_LIBS
10806 if ${ac_cv_lib_soname_GL:+false} :; then :
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10808 $as_echo "not found" >&6; }
10809 if test -f /usr/X11R6/lib/libGL.a
10810 then
10811 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10812 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10813 else
10814 opengl_msg="No OpenGL library found on this system."
10816 else
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10818 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10820 cat >>confdefs.h <<_ACEOF
10821 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10822 _ACEOF
10824 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"
10826 else
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10828 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10830 cat >>confdefs.h <<_ACEOF
10831 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10832 _ACEOF
10834 OPENGL_LIBS="-lGL"
10836 if test "x$with_glu" != "xno"
10837 then
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10839 $as_echo_n "checking for -lGLU... " >&6; }
10840 if ${ac_cv_lib_soname_GLU+:} false; then :
10841 $as_echo_n "(cached) " >&6
10842 else
10843 ac_check_soname_save_LIBS=$LIBS
10844 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10848 /* Override any GCC internal prototype to avoid an error.
10849 Use char because int might match the return type of a GCC
10850 builtin and then its argument prototype would still apply. */
10851 #ifdef __cplusplus
10852 extern "C"
10853 #endif
10854 char gluLookAt ();
10856 main ()
10858 return gluLookAt ();
10860 return 0;
10862 _ACEOF
10863 if ac_fn_c_try_link "$LINENO"; then :
10864 case "$LIBEXT" in
10865 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10866 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'` ;;
10867 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10868 if ${ac_cv_lib_soname_GLU:+false} :; then :
10869 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10870 fi ;;
10871 esac
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LIBS=$ac_check_soname_save_LIBS
10877 if ${ac_cv_lib_soname_GLU:+false} :; then :
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10879 $as_echo "not found" >&6; }
10881 else
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10883 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10885 cat >>confdefs.h <<_ACEOF
10886 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10887 _ACEOF
10891 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10892 case "x$with_glu" in
10893 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10894 xno) ;;
10895 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10896 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10897 esac
10902 if test "x$with_osmesa" != "xno"
10903 then
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10905 $as_echo_n "checking for -lOSMesa... " >&6; }
10906 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10907 $as_echo_n "(cached) " >&6
10908 else
10909 ac_check_soname_save_LIBS=$LIBS
10910 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h. */
10914 /* Override any GCC internal prototype to avoid an error.
10915 Use char because int might match the return type of a GCC
10916 builtin and then its argument prototype would still apply. */
10917 #ifdef __cplusplus
10918 extern "C"
10919 #endif
10920 char OSMesaGetProcAddress ();
10922 main ()
10924 return OSMesaGetProcAddress ();
10926 return 0;
10928 _ACEOF
10929 if ac_fn_c_try_link "$LINENO"; then :
10930 case "$LIBEXT" in
10931 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10932 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'` ;;
10933 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10934 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10935 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10936 fi ;;
10937 esac
10939 rm -f core conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LIBS=$ac_check_soname_save_LIBS
10943 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10945 $as_echo "not found" >&6; }
10947 else
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10949 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10951 cat >>confdefs.h <<_ACEOF
10952 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10953 _ACEOF
10957 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10958 case "x$with_osmesa" in
10959 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10960 xno) ;;
10961 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10962 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10963 esac
10968 if test -n "$opengl_msg"; then :
10969 case "x$with_opengl" in
10970 x) as_fn_append wine_warnings "|$opengl_msg
10971 OpenGL and Direct3D won't be supported." ;;
10972 xno) ;;
10973 *) as_fn_error $? "$opengl_msg
10974 OpenGL and Direct3D won't be supported.
10975 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10976 esac
10980 CPPFLAGS="$ac_save_CPPFLAGS"
10981 else
10982 X_CFLAGS=""
10983 X_LIBS=""
10986 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10987 then
10988 if test "x$X_LIBS" = "x"; then :
10989 case "x$with_x" in
10990 xno) ;;
10991 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10992 without X support, which probably isn't what you want. You will need
10993 to install ${notice_platform}development packages of Xlib at the very least.
10994 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10995 esac
10996 enable_winex11_drv=${enable_winex11_drv:-no}
10998 else
10999 if test "x$X_LIBS" = "x"; then :
11000 case "x$with_x" in
11001 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11002 xno) ;;
11003 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11004 This is an error since --with-x was requested." "$LINENO" 5 ;;
11005 esac
11006 enable_winex11_drv=${enable_winex11_drv:-no}
11010 if test "$ac_cv_header_CL_cl_h" = "yes"
11011 then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11013 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11014 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11015 $as_echo_n "(cached) " >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-lOpenCL $LIBS"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11022 /* Override any GCC internal prototype to avoid an error.
11023 Use char because int might match the return type of a GCC
11024 builtin and then its argument prototype would still apply. */
11025 #ifdef __cplusplus
11026 extern "C"
11027 #endif
11028 char clGetPlatformInfo ();
11030 main ()
11032 return clGetPlatformInfo ();
11034 return 0;
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"; then :
11038 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11039 else
11040 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_lib_save_LIBS
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11047 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11048 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11049 OPENCL_LIBS="-lOpenCL"
11054 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11055 case "x$with_opencl" in
11056 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11057 xno) ;;
11058 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11059 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11060 esac
11061 enable_opencl=${enable_opencl:-no}
11064 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11065 then
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11067 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11068 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 ac_check_lib_save_LIBS=$LIBS
11072 LIBS="-lpcap $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char pcap_create ();
11084 main ()
11086 return pcap_create ();
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 ac_cv_lib_pcap_pcap_create=yes
11093 else
11094 ac_cv_lib_pcap_pcap_create=no
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LIBS=$ac_check_lib_save_LIBS
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11101 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11102 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11103 PCAP_LIBS="-lpcap"
11108 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11109 case "x$with_pcap" in
11110 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11111 xno) ;;
11112 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11113 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11114 esac
11115 enable_wpcap=${enable_wpcap:-no}
11119 if test "x$with_xml" != "xno"
11120 then
11121 if ${XML2_CFLAGS:+false} :; then :
11122 if ${PKG_CONFIG+:} false; then :
11123 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11126 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11127 if ${XML2_LIBS:+false} :; then :
11128 if ${PKG_CONFIG+:} false; then :
11129 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11132 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11133 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11134 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11135 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11136 ac_save_CPPFLAGS=$CPPFLAGS
11137 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11138 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11139 do :
11140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11141 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11143 cat >>confdefs.h <<_ACEOF
11144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11145 _ACEOF
11149 done
11151 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"
11152 then
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11154 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11155 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11156 $as_echo_n "(cached) " >&6
11157 else
11158 ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lxml2 $XML2_LIBS $LIBS"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11166 #ifdef __cplusplus
11167 extern "C"
11168 #endif
11169 char xmlParseMemory ();
11171 main ()
11173 return xmlParseMemory ();
11175 return 0;
11177 _ACEOF
11178 if ac_fn_c_try_link "$LINENO"; then :
11179 ac_cv_lib_xml2_xmlParseMemory=yes
11180 else
11181 ac_cv_lib_xml2_xmlParseMemory=no
11183 rm -f core conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11185 LIBS=$ac_check_lib_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11188 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11189 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11191 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11193 else
11194 XML2_LIBS=""
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11198 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11199 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11200 $as_echo_n "(cached) " >&6
11201 else
11202 ac_check_lib_save_LIBS=$LIBS
11203 LIBS="-lxml2 $XML2_LIBS $LIBS"
11204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11207 /* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11210 #ifdef __cplusplus
11211 extern "C"
11212 #endif
11213 char xmlReadMemory ();
11215 main ()
11217 return xmlReadMemory ();
11219 return 0;
11221 _ACEOF
11222 if ac_fn_c_try_link "$LINENO"; then :
11223 ac_cv_lib_xml2_xmlReadMemory=yes
11224 else
11225 ac_cv_lib_xml2_xmlReadMemory=no
11227 rm -f core conftest.err conftest.$ac_objext \
11228 conftest$ac_exeext conftest.$ac_ext
11229 LIBS=$ac_check_lib_save_LIBS
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11232 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11233 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11235 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11240 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11241 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11242 $as_echo_n "(cached) " >&6
11243 else
11244 ac_check_lib_save_LIBS=$LIBS
11245 LIBS="-lxml2 $XML2_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 xmlNewDocPI ();
11257 main ()
11259 return xmlNewDocPI ();
11261 return 0;
11263 _ACEOF
11264 if ac_fn_c_try_link "$LINENO"; then :
11265 ac_cv_lib_xml2_xmlNewDocPI=yes
11266 else
11267 ac_cv_lib_xml2_xmlNewDocPI=no
11269 rm -f core conftest.err conftest.$ac_objext \
11270 conftest$ac_exeext conftest.$ac_ext
11271 LIBS=$ac_check_lib_save_LIBS
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11274 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11275 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11277 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11282 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11283 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11284 $as_echo_n "(cached) " >&6
11285 else
11286 ac_check_lib_save_LIBS=$LIBS
11287 LIBS="-lxml2 $XML2_LIBS $LIBS"
11288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11291 /* Override any GCC internal prototype to avoid an error.
11292 Use char because int might match the return type of a GCC
11293 builtin and then its argument prototype would still apply. */
11294 #ifdef __cplusplus
11295 extern "C"
11296 #endif
11297 char xmlSchemaSetParserStructuredErrors ();
11299 main ()
11301 return xmlSchemaSetParserStructuredErrors ();
11303 return 0;
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"; then :
11307 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11308 else
11309 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11311 rm -f core conftest.err conftest.$ac_objext \
11312 conftest$ac_exeext conftest.$ac_ext
11313 LIBS=$ac_check_lib_save_LIBS
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11316 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11317 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11319 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11324 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11325 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11326 $as_echo_n "(cached) " >&6
11327 else
11328 ac_check_lib_save_LIBS=$LIBS
11329 LIBS="-lxml2 $XML2_LIBS $LIBS"
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11333 /* Override any GCC internal prototype to avoid an error.
11334 Use char because int might match the return type of a GCC
11335 builtin and then its argument prototype would still apply. */
11336 #ifdef __cplusplus
11337 extern "C"
11338 #endif
11339 char xmlSchemaSetValidStructuredErrors ();
11341 main ()
11343 return xmlSchemaSetValidStructuredErrors ();
11345 return 0;
11347 _ACEOF
11348 if ac_fn_c_try_link "$LINENO"; then :
11349 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11350 else
11351 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11353 rm -f core conftest.err conftest.$ac_objext \
11354 conftest$ac_exeext conftest.$ac_ext
11355 LIBS=$ac_check_lib_save_LIBS
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11358 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11359 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11361 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11366 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11367 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11368 $as_echo_n "(cached) " >&6
11369 else
11370 ac_check_lib_save_LIBS=$LIBS
11371 LIBS="-lxml2 $XML2_LIBS $LIBS"
11372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11375 /* Override any GCC internal prototype to avoid an error.
11376 Use char because int might match the return type of a GCC
11377 builtin and then its argument prototype would still apply. */
11378 #ifdef __cplusplus
11379 extern "C"
11380 #endif
11381 char xmlFirstElementChild ();
11383 main ()
11385 return xmlFirstElementChild ();
11387 return 0;
11389 _ACEOF
11390 if ac_fn_c_try_link "$LINENO"; then :
11391 ac_cv_lib_xml2_xmlFirstElementChild=yes
11392 else
11393 ac_cv_lib_xml2_xmlFirstElementChild=no
11395 rm -f core conftest.err conftest.$ac_objext \
11396 conftest$ac_exeext conftest.$ac_ext
11397 LIBS=$ac_check_lib_save_LIBS
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11400 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11401 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11403 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11407 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11409 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11411 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11415 else
11416 XML2_CFLAGS=""
11417 XML2_LIBS=""
11419 CPPFLAGS=$ac_save_CPPFLAGS
11420 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11421 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11424 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11425 case "x$with_xml" in
11426 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11427 xno) ;;
11428 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11429 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11430 esac
11434 if test "x$with_xslt" != "xno"
11435 then
11436 if ${XSLT_CFLAGS:+false} :; then :
11437 if ${PKG_CONFIG+:} false; then :
11438 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11441 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11442 if ${XSLT_LIBS:+false} :; then :
11443 if ${PKG_CONFIG+:} false; then :
11444 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11447 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11448 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11449 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11450 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11451 ac_save_CPPFLAGS=$CPPFLAGS
11452 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11453 for ac_header in libxslt/pattern.h libxslt/transform.h
11454 do :
11455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11456 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11457 # include <libxslt/pattern.h>
11458 #endif
11460 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11461 cat >>confdefs.h <<_ACEOF
11462 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11463 _ACEOF
11467 done
11469 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11470 then
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11472 $as_echo_n "checking for -lxslt... " >&6; }
11473 if ${ac_cv_lib_soname_xslt+:} false; then :
11474 $as_echo_n "(cached) " >&6
11475 else
11476 ac_check_soname_save_LIBS=$LIBS
11477 LIBS="-lxslt $XSLT_LIBS $LIBS"
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11484 #ifdef __cplusplus
11485 extern "C"
11486 #endif
11487 char xsltCompilePattern ();
11489 main ()
11491 return xsltCompilePattern ();
11493 return 0;
11495 _ACEOF
11496 if ac_fn_c_try_link "$LINENO"; then :
11497 case "$LIBEXT" in
11498 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11499 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'` ;;
11500 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11501 if ${ac_cv_lib_soname_xslt:+false} :; then :
11502 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11503 fi ;;
11504 esac
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_soname_save_LIBS
11510 if ${ac_cv_lib_soname_xslt:+false} :; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11512 $as_echo "not found" >&6; }
11514 else
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11516 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11518 cat >>confdefs.h <<_ACEOF
11519 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11520 _ACEOF
11524 else
11525 XSLT_CFLAGS=""
11527 CPPFLAGS=$ac_save_CPPFLAGS
11528 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11529 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11532 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11533 case "x$with_xslt" in
11534 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11535 xno) ;;
11536 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11537 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11538 esac
11542 if test "x$with_dbus" != "xno"
11543 then
11544 if ${DBUS_CFLAGS:+false} :; then :
11545 if ${PKG_CONFIG+:} false; then :
11546 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11550 if ${DBUS_LIBS:+false} :; then :
11551 if ${PKG_CONFIG+:} false; then :
11552 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11557 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11558 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11559 ac_save_CPPFLAGS=$CPPFLAGS
11560 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11561 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11562 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11564 $as_echo_n "checking for -ldbus-1... " >&6; }
11565 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11566 $as_echo_n "(cached) " >&6
11567 else
11568 ac_check_soname_save_LIBS=$LIBS
11569 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11576 #ifdef __cplusplus
11577 extern "C"
11578 #endif
11579 char dbus_connection_close ();
11581 main ()
11583 return dbus_connection_close ();
11585 return 0;
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"; then :
11589 case "$LIBEXT" in
11590 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11591 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'` ;;
11592 *) 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'`
11593 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11594 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11595 fi ;;
11596 esac
11598 rm -f core conftest.err conftest.$ac_objext \
11599 conftest$ac_exeext conftest.$ac_ext
11600 LIBS=$ac_check_soname_save_LIBS
11602 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11604 $as_echo "not found" >&6; }
11605 DBUS_CFLAGS=""
11606 else
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11608 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11610 cat >>confdefs.h <<_ACEOF
11611 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11612 _ACEOF
11616 else
11617 DBUS_CFLAGS=""
11621 CPPFLAGS=$ac_save_CPPFLAGS
11622 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11623 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11626 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11627 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11628 case "x$with_dbus" in
11629 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11630 xno) ;;
11631 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11632 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11633 esac
11637 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11638 then
11639 if ${HAL_CFLAGS:+false} :; then :
11640 if ${PKG_CONFIG+:} false; then :
11641 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11645 if ${HAL_LIBS:+false} :; then :
11646 if ${PKG_CONFIG+:} false; then :
11647 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11651 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11652 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11653 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11654 ac_save_CPPFLAGS=$CPPFLAGS
11655 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11656 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11657 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11659 $as_echo_n "checking for -lhal... " >&6; }
11660 if ${ac_cv_lib_soname_hal+:} false; then :
11661 $as_echo_n "(cached) " >&6
11662 else
11663 ac_check_soname_save_LIBS=$LIBS
11664 LIBS="-lhal $HAL_LIBS $LIBS"
11665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11666 /* end confdefs.h. */
11668 /* Override any GCC internal prototype to avoid an error.
11669 Use char because int might match the return type of a GCC
11670 builtin and then its argument prototype would still apply. */
11671 #ifdef __cplusplus
11672 extern "C"
11673 #endif
11674 char libhal_ctx_new ();
11676 main ()
11678 return libhal_ctx_new ();
11680 return 0;
11682 _ACEOF
11683 if ac_fn_c_try_link "$LINENO"; then :
11684 case "$LIBEXT" in
11685 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11686 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'` ;;
11687 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11688 if ${ac_cv_lib_soname_hal:+false} :; then :
11689 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11690 fi ;;
11691 esac
11693 rm -f core conftest.err conftest.$ac_objext \
11694 conftest$ac_exeext conftest.$ac_ext
11695 LIBS=$ac_check_soname_save_LIBS
11697 if ${ac_cv_lib_soname_hal:+false} :; then :
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11699 $as_echo "not found" >&6; }
11700 HAL_CFLAGS=""
11701 else
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11703 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11705 cat >>confdefs.h <<_ACEOF
11706 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11707 _ACEOF
11711 else
11712 HAL_CFLAGS=""
11716 CPPFLAGS=$ac_save_CPPFLAGS
11717 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11718 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11720 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11721 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11722 case "x$with_hal" in
11723 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11724 xno) ;;
11725 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11726 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11727 esac
11732 if test "x$with_gnutls" != "xno"
11733 then
11734 if ${GNUTLS_CFLAGS:+false} :; then :
11735 if ${PKG_CONFIG+:} false; then :
11736 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11740 if ${GNUTLS_LIBS:+false} :; then :
11741 if ${PKG_CONFIG+:} false; then :
11742 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11747 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11748 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11749 ac_save_CPPFLAGS=$CPPFLAGS
11750 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11751 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11752 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11754 /* end confdefs.h. */
11755 #include <gnutls/gnutls.h>
11756 #include <gnutls/crypto.h>
11758 main ()
11760 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11762 return 0;
11764 _ACEOF
11765 if ac_fn_c_try_compile "$LINENO"; then :
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11767 $as_echo_n "checking for -lgnutls... " >&6; }
11768 if ${ac_cv_lib_soname_gnutls+:} false; then :
11769 $as_echo_n "(cached) " >&6
11770 else
11771 ac_check_soname_save_LIBS=$LIBS
11772 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h. */
11776 /* Override any GCC internal prototype to avoid an error.
11777 Use char because int might match the return type of a GCC
11778 builtin and then its argument prototype would still apply. */
11779 #ifdef __cplusplus
11780 extern "C"
11781 #endif
11782 char gnutls_global_init ();
11784 main ()
11786 return gnutls_global_init ();
11788 return 0;
11790 _ACEOF
11791 if ac_fn_c_try_link "$LINENO"; then :
11792 case "$LIBEXT" in
11793 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11794 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'` ;;
11795 *) 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'`
11796 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11797 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'`
11798 fi ;;
11799 esac
11801 rm -f core conftest.err conftest.$ac_objext \
11802 conftest$ac_exeext conftest.$ac_ext
11803 LIBS=$ac_check_soname_save_LIBS
11805 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11807 $as_echo "not found" >&6; }
11808 GNUTLS_CFLAGS=""
11809 else
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11811 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11813 cat >>confdefs.h <<_ACEOF
11814 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11815 _ACEOF
11819 ac_wine_check_funcs_save_LIBS="$LIBS"
11820 LIBS="$LIBS $GNUTLS_LIBS"
11821 for ac_func in gnutls_cipher_init
11822 do :
11823 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11824 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11825 cat >>confdefs.h <<_ACEOF
11826 #define HAVE_GNUTLS_CIPHER_INIT 1
11827 _ACEOF
11829 else
11830 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11832 done
11834 LIBS="$ac_wine_check_funcs_save_LIBS"
11836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11837 else
11838 GNUTLS_CFLAGS=""
11842 CPPFLAGS=$ac_save_CPPFLAGS
11843 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11844 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11847 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11848 case "x$with_gnutls" in
11849 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11850 xno) ;;
11851 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11852 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11853 esac
11857 CURSES_LIBS=""
11858 if test "$ac_cv_header_ncurses_h" = "yes"
11859 then
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11861 $as_echo_n "checking for -lncurses... " >&6; }
11862 if ${ac_cv_lib_soname_ncurses+:} false; then :
11863 $as_echo_n "(cached) " >&6
11864 else
11865 ac_check_soname_save_LIBS=$LIBS
11866 LIBS="-lncurses $LIBS"
11867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11868 /* end confdefs.h. */
11870 /* Override any GCC internal prototype to avoid an error.
11871 Use char because int might match the return type of a GCC
11872 builtin and then its argument prototype would still apply. */
11873 #ifdef __cplusplus
11874 extern "C"
11875 #endif
11876 char waddch ();
11878 main ()
11880 return waddch ();
11882 return 0;
11884 _ACEOF
11885 if ac_fn_c_try_link "$LINENO"; then :
11886 case "$LIBEXT" in
11887 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11888 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'` ;;
11889 *) 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'`
11890 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11891 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11892 fi ;;
11893 esac
11895 rm -f core conftest.err conftest.$ac_objext \
11896 conftest$ac_exeext conftest.$ac_ext
11897 LIBS=$ac_check_soname_save_LIBS
11899 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11901 $as_echo "not found" >&6; }
11903 else
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11905 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11907 cat >>confdefs.h <<_ACEOF
11908 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11909 _ACEOF
11911 CURSES_LIBS="-lncurses"
11913 elif test "$ac_cv_header_curses_h" = "yes"
11914 then
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11916 $as_echo_n "checking for -lcurses... " >&6; }
11917 if ${ac_cv_lib_soname_curses+:} false; then :
11918 $as_echo_n "(cached) " >&6
11919 else
11920 ac_check_soname_save_LIBS=$LIBS
11921 LIBS="-lcurses $LIBS"
11922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h. */
11925 /* Override any GCC internal prototype to avoid an error.
11926 Use char because int might match the return type of a GCC
11927 builtin and then its argument prototype would still apply. */
11928 #ifdef __cplusplus
11929 extern "C"
11930 #endif
11931 char waddch ();
11933 main ()
11935 return waddch ();
11937 return 0;
11939 _ACEOF
11940 if ac_fn_c_try_link "$LINENO"; then :
11941 case "$LIBEXT" in
11942 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11943 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'` ;;
11944 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11945 if ${ac_cv_lib_soname_curses:+false} :; then :
11946 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11947 fi ;;
11948 esac
11950 rm -f core conftest.err conftest.$ac_objext \
11951 conftest$ac_exeext conftest.$ac_ext
11952 LIBS=$ac_check_soname_save_LIBS
11954 if ${ac_cv_lib_soname_curses:+false} :; then :
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11956 $as_echo "not found" >&6; }
11958 else
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11960 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11962 cat >>confdefs.h <<_ACEOF
11963 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11964 _ACEOF
11966 CURSES_LIBS="-lcurses"
11969 ac_save_LIBS="$LIBS"
11970 LIBS="$LIBS $CURSES_LIBS"
11971 for ac_func in mousemask
11972 do :
11973 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11974 if test "x$ac_cv_func_mousemask" = xyes; then :
11975 cat >>confdefs.h <<_ACEOF
11976 #define HAVE_MOUSEMASK 1
11977 _ACEOF
11980 done
11982 LIBS="$ac_save_LIBS"
11983 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11984 case "x$with_curses" in
11985 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11986 xno) ;;
11987 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11988 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11989 esac
11993 if test "x$with_sane" != "xno"
11994 then
11995 if ${SANE_CFLAGS:+false} :; then :
11996 if ${PKG_CONFIG+:} false; then :
11997 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12000 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12001 if ${SANE_LIBS:+false} :; then :
12002 if ${PKG_CONFIG+:} false; then :
12003 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12006 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12008 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12009 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12010 ac_save_CPPFLAGS=$CPPFLAGS
12011 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12012 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12013 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12015 $as_echo_n "checking for -lsane... " >&6; }
12016 if ${ac_cv_lib_soname_sane+:} false; then :
12017 $as_echo_n "(cached) " >&6
12018 else
12019 ac_check_soname_save_LIBS=$LIBS
12020 LIBS="-lsane $SANE_LIBS $LIBS"
12021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12022 /* end confdefs.h. */
12024 /* Override any GCC internal prototype to avoid an error.
12025 Use char because int might match the return type of a GCC
12026 builtin and then its argument prototype would still apply. */
12027 #ifdef __cplusplus
12028 extern "C"
12029 #endif
12030 char sane_init ();
12032 main ()
12034 return sane_init ();
12036 return 0;
12038 _ACEOF
12039 if ac_fn_c_try_link "$LINENO"; then :
12040 case "$LIBEXT" in
12041 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12042 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'` ;;
12043 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12044 if ${ac_cv_lib_soname_sane:+false} :; then :
12045 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12046 fi ;;
12047 esac
12049 rm -f core conftest.err conftest.$ac_objext \
12050 conftest$ac_exeext conftest.$ac_ext
12051 LIBS=$ac_check_soname_save_LIBS
12053 if ${ac_cv_lib_soname_sane:+false} :; then :
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12055 $as_echo "not found" >&6; }
12056 SANE_CFLAGS=""
12057 else
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12059 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12061 cat >>confdefs.h <<_ACEOF
12062 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12063 _ACEOF
12067 else
12068 SANE_CFLAGS=""
12072 CPPFLAGS=$ac_save_CPPFLAGS
12073 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12074 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12077 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12078 case "x$with_sane" in
12079 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12080 xno) ;;
12081 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12082 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12083 esac
12087 if test "x$with_v4l" != "xno"
12088 then
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12090 $as_echo_n "checking for -lv4l1... " >&6; }
12091 if ${ac_cv_lib_soname_v4l1+:} false; then :
12092 $as_echo_n "(cached) " >&6
12093 else
12094 ac_check_soname_save_LIBS=$LIBS
12095 LIBS="-lv4l1 $LIBS"
12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12099 /* Override any GCC internal prototype to avoid an error.
12100 Use char because int might match the return type of a GCC
12101 builtin and then its argument prototype would still apply. */
12102 #ifdef __cplusplus
12103 extern "C"
12104 #endif
12105 char v4l1_open ();
12107 main ()
12109 return v4l1_open ();
12111 return 0;
12113 _ACEOF
12114 if ac_fn_c_try_link "$LINENO"; then :
12115 case "$LIBEXT" in
12116 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12117 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'` ;;
12118 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12119 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12120 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12121 fi ;;
12122 esac
12124 rm -f core conftest.err conftest.$ac_objext \
12125 conftest$ac_exeext conftest.$ac_ext
12126 LIBS=$ac_check_soname_save_LIBS
12128 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12130 $as_echo "not found" >&6; }
12132 else
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12134 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12136 cat >>confdefs.h <<_ACEOF
12137 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12138 _ACEOF
12143 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12144 case "x$with_v4l" in
12145 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12146 xno) ;;
12147 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12148 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12149 esac
12153 if test "x$with_gphoto" != "xno"
12154 then
12155 if ${GPHOTO2_CFLAGS:+false} :; then :
12156 if ${PKG_CONFIG+:} false; then :
12157 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12160 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12161 if ${GPHOTO2_LIBS:+false} :; then :
12162 if ${PKG_CONFIG+:} false; then :
12163 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12166 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12167 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12168 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12169 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12170 ac_save_CPPFLAGS=$CPPFLAGS
12171 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12172 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12173 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12175 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12176 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12177 $as_echo_n "(cached) " >&6
12178 else
12179 ac_check_lib_save_LIBS=$LIBS
12180 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12187 #ifdef __cplusplus
12188 extern "C"
12189 #endif
12190 char gp_camera_new ();
12192 main ()
12194 return gp_camera_new ();
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_link "$LINENO"; then :
12200 ac_cv_lib_gphoto2_gp_camera_new=yes
12201 else
12202 ac_cv_lib_gphoto2_gp_camera_new=no
12204 rm -f core conftest.err conftest.$ac_objext \
12205 conftest$ac_exeext conftest.$ac_ext
12206 LIBS=$ac_check_lib_save_LIBS
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12209 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12210 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12212 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12214 else
12215 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12218 else
12219 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12223 CPPFLAGS=$ac_save_CPPFLAGS
12224 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12225 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12227 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12228 if ${PKG_CONFIG+:} false; then :
12229 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12232 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12233 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12234 if ${PKG_CONFIG+:} false; then :
12235 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12238 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12239 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12240 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12241 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12242 ac_save_CPPFLAGS=$CPPFLAGS
12243 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12244 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12245 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12247 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12248 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12249 $as_echo_n "(cached) " >&6
12250 else
12251 ac_check_lib_save_LIBS=$LIBS
12252 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12256 /* Override any GCC internal prototype to avoid an error.
12257 Use char because int might match the return type of a GCC
12258 builtin and then its argument prototype would still apply. */
12259 #ifdef __cplusplus
12260 extern "C"
12261 #endif
12262 char gp_port_info_list_new ();
12264 main ()
12266 return gp_port_info_list_new ();
12268 return 0;
12270 _ACEOF
12271 if ac_fn_c_try_link "$LINENO"; then :
12272 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12273 else
12274 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12276 rm -f core conftest.err conftest.$ac_objext \
12277 conftest$ac_exeext conftest.$ac_ext
12278 LIBS=$ac_check_lib_save_LIBS
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12281 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12282 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12284 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12286 else
12287 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12290 else
12291 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12295 CPPFLAGS=$ac_save_CPPFLAGS
12296 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12297 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12300 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12301 case "x$with_gphoto" in
12302 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12303 xno) ;;
12304 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12305 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12306 esac
12309 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12310 case "x$with_gphoto" in
12311 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12312 xno) ;;
12313 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12314 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12315 esac
12320 if test "$ac_cv_header_resolv_h" = "yes"
12321 then
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12323 $as_echo_n "checking for resolver library... " >&6; }
12324 if ${ac_cv_have_resolv+:} false; then :
12325 $as_echo_n "(cached) " >&6
12326 else
12327 ac_save_LIBS="$LIBS"
12328 for lib in '' -lresolv
12330 LIBS="$lib $ac_save_LIBS"
12331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12332 /* end confdefs.h. */
12333 #ifdef HAVE_NETINET_IN_H
12334 #include <netinet/in.h>
12335 #endif
12336 #include <resolv.h>
12338 main ()
12340 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12342 return 0;
12344 _ACEOF
12345 if ac_fn_c_try_link "$LINENO"; then :
12346 ac_cv_have_resolv=${lib:-"none required"}
12347 else
12348 ac_cv_have_resolv="not found"
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 test "x$ac_cv_have_resolv" = "xnot found" || break
12353 done
12354 LIBS="$ac_save_LIBS"
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12357 $as_echo "$ac_cv_have_resolv" >&6; }
12359 case "$ac_cv_have_resolv" in
12360 "not found") ;;
12361 "none required")
12363 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12366 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12368 RESOLV_LIBS=$ac_cv_have_resolv
12370 esac
12373 if test "x$with_cms" != "xno"
12374 then
12375 if ${LCMS2_CFLAGS:+false} :; then :
12376 if ${PKG_CONFIG+:} false; then :
12377 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12381 if ${LCMS2_LIBS:+false} :; then :
12382 if ${PKG_CONFIG+:} false; then :
12383 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12387 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12388 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12389 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12390 ac_save_CPPFLAGS=$CPPFLAGS
12391 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12392 for ac_header in lcms2.h
12393 do :
12394 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12395 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12396 cat >>confdefs.h <<_ACEOF
12397 #define HAVE_LCMS2_H 1
12398 _ACEOF
12402 done
12404 if test "$ac_cv_header_lcms2_h" = "yes"
12405 then
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12407 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12408 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12409 $as_echo_n "(cached) " >&6
12410 else
12411 ac_check_lib_save_LIBS=$LIBS
12412 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12416 /* Override any GCC internal prototype to avoid an error.
12417 Use char because int might match the return type of a GCC
12418 builtin and then its argument prototype would still apply. */
12419 #ifdef __cplusplus
12420 extern "C"
12421 #endif
12422 char cmsOpenProfileFromFile ();
12424 main ()
12426 return cmsOpenProfileFromFile ();
12428 return 0;
12430 _ACEOF
12431 if ac_fn_c_try_link "$LINENO"; then :
12432 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12433 else
12434 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12436 rm -f core conftest.err conftest.$ac_objext \
12437 conftest$ac_exeext conftest.$ac_ext
12438 LIBS=$ac_check_lib_save_LIBS
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12441 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12442 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12444 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12446 else
12447 LCMS2_LIBS=""
12450 else
12451 LCMS2_CFLAGS=""
12452 LCMS2_LIBS=""
12454 CPPFLAGS=$ac_save_CPPFLAGS
12455 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12456 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12459 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12460 case "x$with_cms" in
12461 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12462 xno) ;;
12463 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12464 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12465 esac
12469 if test "x$with_freetype" != "xno"
12470 then
12471 if ${FREETYPE_CFLAGS:+false} :; then :
12472 if ${PKG_CONFIG+:} false; then :
12473 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12476 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12477 if ${FREETYPE_LIBS:+false} :; then :
12478 if ${PKG_CONFIG+:} false; then :
12479 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12482 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12483 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12484 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12485 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12486 ac_save_CPPFLAGS=$CPPFLAGS
12487 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12488 for ac_header in ft2build.h
12489 do :
12490 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12491 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12492 cat >>confdefs.h <<_ACEOF
12493 #define HAVE_FT2BUILD_H 1
12494 _ACEOF
12498 done
12500 if test "$ac_cv_header_ft2build_h" = "yes"
12501 then
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12503 $as_echo_n "checking for -lfreetype... " >&6; }
12504 if ${ac_cv_lib_soname_freetype+:} false; then :
12505 $as_echo_n "(cached) " >&6
12506 else
12507 ac_check_soname_save_LIBS=$LIBS
12508 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12510 /* end confdefs.h. */
12512 /* Override any GCC internal prototype to avoid an error.
12513 Use char because int might match the return type of a GCC
12514 builtin and then its argument prototype would still apply. */
12515 #ifdef __cplusplus
12516 extern "C"
12517 #endif
12518 char FT_Init_FreeType ();
12520 main ()
12522 return FT_Init_FreeType ();
12524 return 0;
12526 _ACEOF
12527 if ac_fn_c_try_link "$LINENO"; then :
12528 case "$LIBEXT" in
12529 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12530 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'` ;;
12531 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12532 if ${ac_cv_lib_soname_freetype:+false} :; then :
12533 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12534 fi ;;
12535 esac
12537 rm -f core conftest.err conftest.$ac_objext \
12538 conftest$ac_exeext conftest.$ac_ext
12539 LIBS=$ac_check_soname_save_LIBS
12541 if ${ac_cv_lib_soname_freetype:+false} :; then :
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12543 $as_echo "not found" >&6; }
12544 FREETYPE_LIBS=""
12545 else
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12547 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12549 cat >>confdefs.h <<_ACEOF
12550 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12551 _ACEOF
12554 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12556 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12557 #include FT_MODULE_H
12559 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12561 cat >>confdefs.h <<_ACEOF
12562 #define HAVE_FT_TRUETYPEENGINETYPE 1
12563 _ACEOF
12569 else
12570 FREETYPE_CFLAGS=""
12571 FREETYPE_LIBS=""
12573 CPPFLAGS=$ac_save_CPPFLAGS
12574 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12575 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12578 if test "x$ac_cv_lib_soname_freetype" = x; then :
12579 case "x$with_freetype" in
12580 xno) ;;
12581 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12582 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12583 esac
12584 enable_fonts=${enable_fonts:-no}
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12588 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12589 if ${ac_cv_c_ppdev+:} false; then :
12590 $as_echo_n "(cached) " >&6
12591 else
12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12594 #ifdef HAVE_SYS_IOCTL_H
12595 # include <sys/ioctl.h>
12596 #endif
12597 #include <linux/ppdev.h>
12599 main ()
12601 ioctl (1,PPCLAIM,0)
12603 return 0;
12605 _ACEOF
12606 if ac_fn_c_try_compile "$LINENO"; then :
12607 ac_cv_c_ppdev="yes"
12608 else
12609 ac_cv_c_ppdev="no"
12611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12614 $as_echo "$ac_cv_c_ppdev" >&6; }
12615 if test "$ac_cv_c_ppdev" = "yes"
12616 then
12618 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12622 ac_wine_check_funcs_save_LIBS="$LIBS"
12623 LIBS="$LIBS $PTHREAD_LIBS"
12624 for ac_func in \
12625 pthread_attr_get_np \
12626 pthread_getattr_np \
12627 pthread_getthreadid_np \
12628 pthread_get_stackaddr_np \
12629 pthread_get_stacksize_np
12630 do :
12631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12633 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12634 cat >>confdefs.h <<_ACEOF
12635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12636 _ACEOF
12639 done
12641 LIBS="$ac_wine_check_funcs_save_LIBS"
12643 if test "$ac_cv_header_zlib_h" = "yes"
12644 then
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12646 $as_echo_n "checking for inflate in -lz... " >&6; }
12647 if ${ac_cv_lib_z_inflate+:} false; then :
12648 $as_echo_n "(cached) " >&6
12649 else
12650 ac_check_lib_save_LIBS=$LIBS
12651 LIBS="-lz $LIBS"
12652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12655 /* Override any GCC internal prototype to avoid an error.
12656 Use char because int might match the return type of a GCC
12657 builtin and then its argument prototype would still apply. */
12658 #ifdef __cplusplus
12659 extern "C"
12660 #endif
12661 char inflate ();
12663 main ()
12665 return inflate ();
12667 return 0;
12669 _ACEOF
12670 if ac_fn_c_try_link "$LINENO"; then :
12671 ac_cv_lib_z_inflate=yes
12672 else
12673 ac_cv_lib_z_inflate=no
12675 rm -f core conftest.err conftest.$ac_objext \
12676 conftest$ac_exeext conftest.$ac_ext
12677 LIBS=$ac_check_lib_save_LIBS
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12680 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12681 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12683 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12685 Z_LIBS="-lz"
12690 if test "x$Z_LIBS" = "x"; then :
12691 case "x$with_zlib" in
12692 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12693 xno) ;;
12694 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12695 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12696 esac
12700 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12701 then
12702 if test "$ac_cv_header_gettext_po_h" = "yes"
12703 then
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12705 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12706 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12707 $as_echo_n "(cached) " >&6
12708 else
12709 ac_check_lib_save_LIBS=$LIBS
12710 LIBS="-lgettextpo $LIBS"
12711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12714 /* Override any GCC internal prototype to avoid an error.
12715 Use char because int might match the return type of a GCC
12716 builtin and then its argument prototype would still apply. */
12717 #ifdef __cplusplus
12718 extern "C"
12719 #endif
12720 char po_message_msgctxt ();
12722 main ()
12724 return po_message_msgctxt ();
12726 return 0;
12728 _ACEOF
12729 if ac_fn_c_try_link "$LINENO"; then :
12730 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12731 else
12732 ac_cv_lib_gettextpo_po_message_msgctxt=no
12734 rm -f core conftest.err conftest.$ac_objext \
12735 conftest$ac_exeext conftest.$ac_ext
12736 LIBS=$ac_check_lib_save_LIBS
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12739 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12740 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12742 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12744 GETTEXTPO_LIBS="-lgettextpo"
12749 if test "x$GETTEXTPO_LIBS" = "x"; then :
12750 case "x$with_gettextpo" in
12751 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12752 xno) ;;
12753 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12754 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12755 esac
12758 if test "$srcdir" != .; then :
12759 case "x$with_gettextpo" in
12760 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12761 xno) ;;
12762 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12763 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12764 esac
12769 if test "x$with_pulse" != "xno";
12770 then
12771 if ${PULSE_CFLAGS:+false} :; then :
12772 if ${PKG_CONFIG+:} false; then :
12773 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12777 if ${PULSE_LIBS:+false} :; then :
12778 if ${PKG_CONFIG+:} false; then :
12779 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12784 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12785 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12786 ac_save_CPPFLAGS=$CPPFLAGS
12787 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12788 for ac_header in pulse/pulseaudio.h
12789 do :
12790 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12791 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12792 cat >>confdefs.h <<_ACEOF
12793 #define HAVE_PULSE_PULSEAUDIO_H 1
12794 _ACEOF
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12796 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12797 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12798 $as_echo_n "(cached) " >&6
12799 else
12800 ac_check_lib_save_LIBS=$LIBS
12801 LIBS="-lpulse $PULSE_LIBS $LIBS"
12802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12803 /* end confdefs.h. */
12805 /* Override any GCC internal prototype to avoid an error.
12806 Use char because int might match the return type of a GCC
12807 builtin and then its argument prototype would still apply. */
12808 #ifdef __cplusplus
12809 extern "C"
12810 #endif
12811 char pa_stream_is_corked ();
12813 main ()
12815 return pa_stream_is_corked ();
12817 return 0;
12819 _ACEOF
12820 if ac_fn_c_try_link "$LINENO"; then :
12821 ac_cv_lib_pulse_pa_stream_is_corked=yes
12822 else
12823 ac_cv_lib_pulse_pa_stream_is_corked=no
12825 rm -f core conftest.err conftest.$ac_objext \
12826 conftest$ac_exeext conftest.$ac_ext
12827 LIBS=$ac_check_lib_save_LIBS
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12830 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12831 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12833 else
12834 PULSE_LIBS=""
12837 else
12838 PULSE_LIBS=""
12841 done
12843 CPPFLAGS=$ac_save_CPPFLAGS
12844 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12845 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12848 if test -z "$PULSE_LIBS"; then :
12849 case "x$with_pulse" in
12850 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12851 xno) ;;
12852 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12853 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12854 esac
12855 enable_winepulse_drv=${enable_winepulse_drv:-no}
12858 if test "x$with_gstreamer" != "xno"
12859 then
12860 if ${GSTREAMER_CFLAGS:+false} :; then :
12861 if ${PKG_CONFIG+:} false; then :
12862 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12866 if ${GSTREAMER_LIBS:+false} :; then :
12867 if ${PKG_CONFIG+:} false; then :
12868 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12873 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12874 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12875 ac_save_CPPFLAGS=$CPPFLAGS
12876 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12877 ac_gst_incl=""
12878 for i in $GSTREAMER_CFLAGS
12880 case "$i" in
12881 -I*) ac_gst_incl="$ac_gst_incl $i";;
12882 esac
12883 done
12884 GSTREAMER_CFLAGS=$ac_gst_incl
12885 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12886 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12887 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12889 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12892 #include <gst/gst.h>
12894 main ()
12896 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12898 return 0;
12900 _ACEOF
12901 if ac_fn_c_try_compile "$LINENO"; then :
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12903 $as_echo "yes" >&6; }
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12905 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12906 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12907 $as_echo_n "(cached) " >&6
12908 else
12909 ac_check_lib_save_LIBS=$LIBS
12910 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12914 /* Override any GCC internal prototype to avoid an error.
12915 Use char because int might match the return type of a GCC
12916 builtin and then its argument prototype would still apply. */
12917 #ifdef __cplusplus
12918 extern "C"
12919 #endif
12920 char gst_pad_new ();
12922 main ()
12924 return gst_pad_new ();
12926 return 0;
12928 _ACEOF
12929 if ac_fn_c_try_link "$LINENO"; then :
12930 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12931 else
12932 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12934 rm -f core conftest.err conftest.$ac_objext \
12935 conftest$ac_exeext conftest.$ac_ext
12936 LIBS=$ac_check_lib_save_LIBS
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12939 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12940 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12944 else
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12946 $as_echo "no" >&6; }
12947 ac_glib2_broken=yes
12948 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12954 CPPFLAGS=$ac_save_CPPFLAGS
12955 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12956 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12959 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 :
12960 case "x$with_gstreamer" in
12961 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12962 xno) ;;
12963 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12964 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12965 esac
12968 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12970 ALSA_LIBS=""
12972 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12973 then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12975 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12976 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_lib_save_LIBS=$LIBS
12980 LIBS="-lasound $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char snd_pcm_hw_params_get_access_mask ();
12992 main ()
12994 return snd_pcm_hw_params_get_access_mask ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13001 else
13002 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13004 rm -f core conftest.err conftest.$ac_objext \
13005 conftest$ac_exeext conftest.$ac_ext
13006 LIBS=$ac_check_lib_save_LIBS
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13009 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13010 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13013 #ifdef HAVE_ALSA_ASOUNDLIB_H
13014 #include <alsa/asoundlib.h>
13015 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13016 #include <sys/asoundlib.h>
13017 #endif
13019 main ()
13021 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13023 return 0;
13025 _ACEOF
13026 if ac_fn_c_try_compile "$LINENO"; then :
13027 ALSA_LIBS="-lasound"
13029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13033 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13035 if test "x$with_oss" != xno
13036 then
13037 ac_save_CPPFLAGS="$CPPFLAGS"
13038 if test -f /etc/oss.conf
13039 then
13040 . /etc/oss.conf
13042 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13043 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13044 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13045 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13046 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13048 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13050 cat >>confdefs.h <<_ACEOF
13051 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13052 _ACEOF
13054 OSS4_CFLAGS="$ac_oss_incl"
13061 CPPFLAGS="$ac_save_CPPFLAGS"
13063 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13064 case "x$with_oss" in
13065 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13066 xno) ;;
13067 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13068 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13069 esac
13070 enable_wineoss_drv=${enable_wineoss_drv:-no}
13073 if test "x$with_udev" != "xno"
13074 then
13075 if ${UDEV_CFLAGS:+false} :; then :
13076 if ${PKG_CONFIG+:} false; then :
13077 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13081 if ${UDEV_LIBS:+false} :; then :
13082 if ${PKG_CONFIG+:} false; then :
13083 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13087 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13088 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13089 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13090 ac_save_CPPFLAGS=$CPPFLAGS
13091 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13092 for ac_header in libudev.h
13093 do :
13094 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13095 if test "x$ac_cv_header_libudev_h" = xyes; then :
13096 cat >>confdefs.h <<_ACEOF
13097 #define HAVE_LIBUDEV_H 1
13098 _ACEOF
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13100 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13101 if ${ac_cv_lib_udev_udev_new+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_lib_save_LIBS=$LIBS
13105 LIBS="-ludev $UDEV_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char udev_new ();
13117 main ()
13119 return udev_new ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 ac_cv_lib_udev_udev_new=yes
13126 else
13127 ac_cv_lib_udev_udev_new=no
13129 rm -f core conftest.err conftest.$ac_objext \
13130 conftest$ac_exeext conftest.$ac_ext
13131 LIBS=$ac_check_lib_save_LIBS
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13134 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13135 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13137 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13139 else
13140 UDEV_LIBS=""
13143 else
13144 UDEV_LIBS=""
13147 done
13149 CPPFLAGS=$ac_save_CPPFLAGS
13150 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13151 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13154 if test "x$UDEV_LIBS" = "x"; then :
13155 case "x$with_udev" in
13156 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13157 xno) ;;
13158 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13159 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13160 esac
13164 if test "x$with_sdl" != "xno"
13165 then
13166 if ${SDL2_CFLAGS:+false} :; then :
13167 if ${PKG_CONFIG+:} false; then :
13168 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13172 if ${SDL2_LIBS:+false} :; then :
13173 if ${PKG_CONFIG+:} false; then :
13174 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13178 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13179 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13180 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13181 ac_save_CPPFLAGS=$CPPFLAGS
13182 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13183 for ac_header in SDL2/SDL.h
13184 do :
13185 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13186 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13187 cat >>confdefs.h <<_ACEOF
13188 #define HAVE_SDL2_SDL_H 1
13189 _ACEOF
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13191 $as_echo_n "checking for -lSDL2... " >&6; }
13192 if ${ac_cv_lib_soname_SDL2+:} false; then :
13193 $as_echo_n "(cached) " >&6
13194 else
13195 ac_check_soname_save_LIBS=$LIBS
13196 LIBS="-lSDL2 $LIBS"
13197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13198 /* end confdefs.h. */
13200 /* Override any GCC internal prototype to avoid an error.
13201 Use char because int might match the return type of a GCC
13202 builtin and then its argument prototype would still apply. */
13203 #ifdef __cplusplus
13204 extern "C"
13205 #endif
13206 char SDL_Init ();
13208 main ()
13210 return SDL_Init ();
13212 return 0;
13214 _ACEOF
13215 if ac_fn_c_try_link "$LINENO"; then :
13216 case "$LIBEXT" in
13217 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13218 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'` ;;
13219 *) 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'`
13220 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13221 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13222 fi ;;
13223 esac
13225 rm -f core conftest.err conftest.$ac_objext \
13226 conftest$ac_exeext conftest.$ac_ext
13227 LIBS=$ac_check_soname_save_LIBS
13229 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13231 $as_echo "not found" >&6; }
13233 else
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13235 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13237 cat >>confdefs.h <<_ACEOF
13238 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13239 _ACEOF
13245 done
13247 CPPFLAGS=$ac_save_CPPFLAGS
13248 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13249 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13252 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13253 case "x$with_sdl" in
13254 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13255 xno) ;;
13256 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13257 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13258 esac
13262 if test "x$with_capi" != "xno"
13263 then
13264 if ${CAPI20_CFLAGS:+false} :; then :
13265 if ${PKG_CONFIG+:} false; then :
13266 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13270 if ${CAPI20_LIBS:+false} :; then :
13271 if ${PKG_CONFIG+:} false; then :
13272 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13277 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13278 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13279 ac_save_CPPFLAGS=$CPPFLAGS
13280 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13281 for ac_header in capi20.h linux/capi.h
13282 do :
13283 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13284 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13286 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13287 cat >>confdefs.h <<_ACEOF
13288 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13289 _ACEOF
13293 done
13295 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13296 then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13298 $as_echo_n "checking for -lcapi20... " >&6; }
13299 if ${ac_cv_lib_soname_capi20+:} false; then :
13300 $as_echo_n "(cached) " >&6
13301 else
13302 ac_check_soname_save_LIBS=$LIBS
13303 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13307 /* Override any GCC internal prototype to avoid an error.
13308 Use char because int might match the return type of a GCC
13309 builtin and then its argument prototype would still apply. */
13310 #ifdef __cplusplus
13311 extern "C"
13312 #endif
13313 char capi20_register ();
13315 main ()
13317 return capi20_register ();
13319 return 0;
13321 _ACEOF
13322 if ac_fn_c_try_link "$LINENO"; then :
13323 case "$LIBEXT" in
13324 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13325 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'` ;;
13326 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13327 if ${ac_cv_lib_soname_capi20:+false} :; then :
13328 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13329 fi ;;
13330 esac
13332 rm -f core conftest.err conftest.$ac_objext \
13333 conftest$ac_exeext conftest.$ac_ext
13334 LIBS=$ac_check_soname_save_LIBS
13336 if ${ac_cv_lib_soname_capi20:+false} :; then :
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13338 $as_echo "not found" >&6; }
13340 else
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13342 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13344 cat >>confdefs.h <<_ACEOF
13345 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13346 _ACEOF
13351 CPPFLAGS=$ac_save_CPPFLAGS
13352 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13353 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13356 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13357 case "x$with_capi" in
13358 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13359 xno) ;;
13360 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13361 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13362 esac
13366 if test "x$with_cups" != "xno"
13367 then
13368 if ${CUPS_CFLAGS:+false} :; then :
13369 if ${PKG_CONFIG+:} false; then :
13370 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13373 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13374 if ${CUPS_LIBS:+false} :; then :
13375 if ${PKG_CONFIG+:} false; then :
13376 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13379 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13380 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13381 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13382 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13383 ac_save_CPPFLAGS=$CPPFLAGS
13384 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13385 for ac_header in cups/cups.h cups/ppd.h
13386 do :
13387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13388 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13389 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13390 cat >>confdefs.h <<_ACEOF
13391 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13392 _ACEOF
13396 done
13398 if test "$ac_cv_header_cups_cups_h" = "yes"
13399 then
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13401 $as_echo_n "checking for -lcups... " >&6; }
13402 if ${ac_cv_lib_soname_cups+:} false; then :
13403 $as_echo_n "(cached) " >&6
13404 else
13405 ac_check_soname_save_LIBS=$LIBS
13406 LIBS="-lcups $CUPS_LIBS $LIBS"
13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13410 /* Override any GCC internal prototype to avoid an error.
13411 Use char because int might match the return type of a GCC
13412 builtin and then its argument prototype would still apply. */
13413 #ifdef __cplusplus
13414 extern "C"
13415 #endif
13416 char cupsGetDefault ();
13418 main ()
13420 return cupsGetDefault ();
13422 return 0;
13424 _ACEOF
13425 if ac_fn_c_try_link "$LINENO"; then :
13426 case "$LIBEXT" in
13427 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13428 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'` ;;
13429 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13430 if ${ac_cv_lib_soname_cups:+false} :; then :
13431 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13432 fi ;;
13433 esac
13435 rm -f core conftest.err conftest.$ac_objext \
13436 conftest$ac_exeext conftest.$ac_ext
13437 LIBS=$ac_check_soname_save_LIBS
13439 if ${ac_cv_lib_soname_cups:+false} :; then :
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13441 $as_echo "not found" >&6; }
13442 CUPS_LIBS=""
13443 else
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13445 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13447 cat >>confdefs.h <<_ACEOF
13448 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13449 _ACEOF
13453 else
13454 CUPS_CFLAGS=""
13455 CUPS_LIBS=""
13457 CPPFLAGS=$ac_save_CPPFLAGS
13458 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13459 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13462 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13463 case "x$with_cups" in
13464 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13465 xno) ;;
13466 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13467 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13468 esac
13472 if test "x$with_fontconfig" != "xno"
13473 then
13474 if ${FONTCONFIG_CFLAGS:+false} :; then :
13475 if ${PKG_CONFIG+:} false; then :
13476 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13479 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13480 if ${FONTCONFIG_LIBS:+false} :; then :
13481 if ${PKG_CONFIG+:} false; then :
13482 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13485 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13487 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13488 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13489 ac_save_CPPFLAGS=$CPPFLAGS
13490 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13491 for ac_header in fontconfig/fontconfig.h
13492 do :
13493 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13494 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13495 cat >>confdefs.h <<_ACEOF
13496 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13497 _ACEOF
13501 done
13503 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13504 then
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13506 $as_echo_n "checking for -lfontconfig... " >&6; }
13507 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13508 $as_echo_n "(cached) " >&6
13509 else
13510 ac_check_soname_save_LIBS=$LIBS
13511 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13513 /* end confdefs.h. */
13515 /* Override any GCC internal prototype to avoid an error.
13516 Use char because int might match the return type of a GCC
13517 builtin and then its argument prototype would still apply. */
13518 #ifdef __cplusplus
13519 extern "C"
13520 #endif
13521 char FcInit ();
13523 main ()
13525 return FcInit ();
13527 return 0;
13529 _ACEOF
13530 if ac_fn_c_try_link "$LINENO"; then :
13531 case "$LIBEXT" in
13532 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13533 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'` ;;
13534 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13535 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13536 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13537 fi ;;
13538 esac
13540 rm -f core conftest.err conftest.$ac_objext \
13541 conftest$ac_exeext conftest.$ac_ext
13542 LIBS=$ac_check_soname_save_LIBS
13544 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13546 $as_echo "not found" >&6; }
13547 FONTCONFIG_CFLAGS=""
13548 else
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13550 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13552 cat >>confdefs.h <<_ACEOF
13553 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13554 _ACEOF
13558 else
13559 FONTCONFIG_CFLAGS=""
13561 CPPFLAGS=$ac_save_CPPFLAGS
13562 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13563 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13566 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13567 case "x$with_fontconfig" in
13568 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13569 xno) ;;
13570 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13571 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13572 esac
13576 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13577 then
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13579 $as_echo_n "checking for -lgsm... " >&6; }
13580 if ${ac_cv_lib_soname_gsm+:} false; then :
13581 $as_echo_n "(cached) " >&6
13582 else
13583 ac_check_soname_save_LIBS=$LIBS
13584 LIBS="-lgsm $LIBS"
13585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13588 /* Override any GCC internal prototype to avoid an error.
13589 Use char because int might match the return type of a GCC
13590 builtin and then its argument prototype would still apply. */
13591 #ifdef __cplusplus
13592 extern "C"
13593 #endif
13594 char gsm_create ();
13596 main ()
13598 return gsm_create ();
13600 return 0;
13602 _ACEOF
13603 if ac_fn_c_try_link "$LINENO"; then :
13604 case "$LIBEXT" in
13605 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13606 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'` ;;
13607 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13608 if ${ac_cv_lib_soname_gsm:+false} :; then :
13609 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13610 fi ;;
13611 esac
13613 rm -f core conftest.err conftest.$ac_objext \
13614 conftest$ac_exeext conftest.$ac_ext
13615 LIBS=$ac_check_soname_save_LIBS
13617 if ${ac_cv_lib_soname_gsm:+false} :; then :
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13619 $as_echo "not found" >&6; }
13621 else
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13623 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13625 cat >>confdefs.h <<_ACEOF
13626 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13627 _ACEOF
13632 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13633 case "x$with_gsm" in
13634 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13635 xno) ;;
13636 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13637 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13638 esac
13642 if test "x$with_krb5" != "xno"
13643 then
13644 if ${KRB5_CFLAGS:+false} :; then :
13645 if ${PKG_CONFIG+:} false; then :
13646 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13649 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13650 if ${KRB5_LIBS:+false} :; then :
13651 if ${PKG_CONFIG+:} false; then :
13652 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13655 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13657 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13658 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13659 ac_save_CPPFLAGS=$CPPFLAGS
13660 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13661 for ac_header in krb5/krb5.h
13662 do :
13663 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13664 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13665 cat >>confdefs.h <<_ACEOF
13666 #define HAVE_KRB5_KRB5_H 1
13667 _ACEOF
13671 done
13673 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13674 then
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13676 $as_echo_n "checking for -lkrb5... " >&6; }
13677 if ${ac_cv_lib_soname_krb5+:} false; then :
13678 $as_echo_n "(cached) " >&6
13679 else
13680 ac_check_soname_save_LIBS=$LIBS
13681 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13685 /* Override any GCC internal prototype to avoid an error.
13686 Use char because int might match the return type of a GCC
13687 builtin and then its argument prototype would still apply. */
13688 #ifdef __cplusplus
13689 extern "C"
13690 #endif
13691 char krb5_is_config_principal ();
13693 main ()
13695 return krb5_is_config_principal ();
13697 return 0;
13699 _ACEOF
13700 if ac_fn_c_try_link "$LINENO"; then :
13701 case "$LIBEXT" in
13702 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13703 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'` ;;
13704 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13705 if ${ac_cv_lib_soname_krb5:+false} :; then :
13706 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13707 fi ;;
13708 esac
13710 rm -f core conftest.err conftest.$ac_objext \
13711 conftest$ac_exeext conftest.$ac_ext
13712 LIBS=$ac_check_soname_save_LIBS
13714 if ${ac_cv_lib_soname_krb5:+false} :; then :
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13716 $as_echo "not found" >&6; }
13717 KRB5_CFLAGS=""
13718 else
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13720 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13722 cat >>confdefs.h <<_ACEOF
13723 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13724 _ACEOF
13728 else
13729 KRB5_CFLAGS=""
13731 CPPFLAGS=$ac_save_CPPFLAGS
13732 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13733 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13735 else
13736 with_gssapi=${with_gssapi:-no}
13738 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13739 case "x$with_krb5" in
13740 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
13741 xno) ;;
13742 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
13743 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13744 esac
13748 if test "x$with_gssapi" != "xno"
13749 then
13750 if ${GSSAPI_CFLAGS:+false} :; then :
13751 if ${PKG_CONFIG+:} false; then :
13752 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13755 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13756 if ${GSSAPI_LIBS:+false} :; then :
13757 if ${PKG_CONFIG+:} false; then :
13758 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13761 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13763 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13764 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13765 ac_save_CPPFLAGS=$CPPFLAGS
13766 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13767 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13768 do :
13769 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13770 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13771 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13772 cat >>confdefs.h <<_ACEOF
13773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13774 _ACEOF
13778 done
13780 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13781 then
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13783 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13784 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13785 $as_echo_n "(cached) " >&6
13786 else
13787 ac_check_soname_save_LIBS=$LIBS
13788 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13792 /* Override any GCC internal prototype to avoid an error.
13793 Use char because int might match the return type of a GCC
13794 builtin and then its argument prototype would still apply. */
13795 #ifdef __cplusplus
13796 extern "C"
13797 #endif
13798 char gss_init_sec_context ();
13800 main ()
13802 return gss_init_sec_context ();
13804 return 0;
13806 _ACEOF
13807 if ac_fn_c_try_link "$LINENO"; then :
13808 case "$LIBEXT" in
13809 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13810 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'` ;;
13811 *) 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'`
13812 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13813 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13814 fi ;;
13815 esac
13817 rm -f core conftest.err conftest.$ac_objext \
13818 conftest$ac_exeext conftest.$ac_ext
13819 LIBS=$ac_check_soname_save_LIBS
13821 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13823 $as_echo "not found" >&6; }
13824 GSSAPI_CFLAGS=""
13825 else
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13827 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13829 cat >>confdefs.h <<_ACEOF
13830 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13831 _ACEOF
13835 else
13836 GSSAPI_CFLAGS=""
13838 CPPFLAGS=$ac_save_CPPFLAGS
13839 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13840 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13843 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13844 case "x$with_gssapi" in
13845 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13846 xno) ;;
13847 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13848 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13849 esac
13853 if test "x$with_jpeg" != "xno"
13854 then
13855 if ${JPEG_CFLAGS:+false} :; then :
13856 if ${PKG_CONFIG+:} false; then :
13857 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13861 if ${JPEG_LIBS:+false} :; then :
13862 if ${PKG_CONFIG+:} false; then :
13863 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13868 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13869 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13870 ac_save_CPPFLAGS=$CPPFLAGS
13871 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13872 for ac_header in jpeglib.h
13873 do :
13874 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13875 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13876 cat >>confdefs.h <<_ACEOF
13877 #define HAVE_JPEGLIB_H 1
13878 _ACEOF
13882 done
13884 if test "$ac_cv_header_jpeglib_h" = "yes"
13885 then
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13887 $as_echo_n "checking for -ljpeg... " >&6; }
13888 if ${ac_cv_lib_soname_jpeg+:} false; then :
13889 $as_echo_n "(cached) " >&6
13890 else
13891 ac_check_soname_save_LIBS=$LIBS
13892 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13896 /* Override any GCC internal prototype to avoid an error.
13897 Use char because int might match the return type of a GCC
13898 builtin and then its argument prototype would still apply. */
13899 #ifdef __cplusplus
13900 extern "C"
13901 #endif
13902 char jpeg_start_decompress ();
13904 main ()
13906 return jpeg_start_decompress ();
13908 return 0;
13910 _ACEOF
13911 if ac_fn_c_try_link "$LINENO"; then :
13912 case "$LIBEXT" in
13913 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13914 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'` ;;
13915 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13916 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13917 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13918 fi ;;
13919 esac
13921 rm -f core conftest.err conftest.$ac_objext \
13922 conftest$ac_exeext conftest.$ac_ext
13923 LIBS=$ac_check_soname_save_LIBS
13925 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13927 $as_echo "not found" >&6; }
13928 JPEG_CFLAGS=""
13929 else
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13931 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13933 cat >>confdefs.h <<_ACEOF
13934 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13935 _ACEOF
13939 else
13940 JPEG_CFLAGS=""
13942 CPPFLAGS=$ac_save_CPPFLAGS
13943 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13944 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13947 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13948 case "x$with_jpeg" in
13949 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13950 xno) ;;
13951 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13952 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13953 esac
13957 if test "x$with_png" != "xno"
13958 then
13959 if ${PNG_CFLAGS:+false} :; then :
13960 if ${PKG_CONFIG+:} false; then :
13961 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13964 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13965 if ${PNG_LIBS:+false} :; then :
13966 if ${PKG_CONFIG+:} false; then :
13967 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13970 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13972 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13973 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13974 ac_save_CPPFLAGS=$CPPFLAGS
13975 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13976 for ac_header in png.h
13977 do :
13978 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13979 if test "x$ac_cv_header_png_h" = xyes; then :
13980 cat >>confdefs.h <<_ACEOF
13981 #define HAVE_PNG_H 1
13982 _ACEOF
13986 done
13988 if test "$ac_cv_header_png_h" = "yes"
13989 then
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13991 $as_echo_n "checking for -lpng... " >&6; }
13992 if ${ac_cv_lib_soname_png+:} false; then :
13993 $as_echo_n "(cached) " >&6
13994 else
13995 ac_check_soname_save_LIBS=$LIBS
13996 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
14000 /* Override any GCC internal prototype to avoid an error.
14001 Use char because int might match the return type of a GCC
14002 builtin and then its argument prototype would still apply. */
14003 #ifdef __cplusplus
14004 extern "C"
14005 #endif
14006 char png_create_read_struct ();
14008 main ()
14010 return png_create_read_struct ();
14012 return 0;
14014 _ACEOF
14015 if ac_fn_c_try_link "$LINENO"; then :
14016 case "$LIBEXT" in
14017 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14018 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'` ;;
14019 *) 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'`
14020 if ${ac_cv_lib_soname_png:+false} :; then :
14021 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14022 fi ;;
14023 esac
14025 rm -f core conftest.err conftest.$ac_objext \
14026 conftest$ac_exeext conftest.$ac_ext
14027 LIBS=$ac_check_soname_save_LIBS
14029 if ${ac_cv_lib_soname_png:+false} :; then :
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14031 $as_echo "not found" >&6; }
14032 PNG_CFLAGS=""
14033 else
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14035 $as_echo "$ac_cv_lib_soname_png" >&6; }
14037 cat >>confdefs.h <<_ACEOF
14038 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14039 _ACEOF
14043 else
14044 PNG_CFLAGS=""
14046 CPPFLAGS=$ac_save_CPPFLAGS
14047 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14048 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14051 if test "x$ac_cv_lib_soname_png" = "x"; then :
14052 case "x$with_png" in
14053 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14054 xno) ;;
14055 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14056 This is an error since --with-png was requested." "$LINENO" 5 ;;
14057 esac
14061 if test "x$with_tiff" != "xno"
14062 then
14063 if ${TIFF_CFLAGS:+false} :; then :
14064 if ${PKG_CONFIG+:} false; then :
14065 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14069 if ${TIFF_LIBS:+false} :; then :
14070 if ${PKG_CONFIG+:} false; then :
14071 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14076 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14077 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14078 ac_save_CPPFLAGS=$CPPFLAGS
14079 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14080 for ac_header in tiffio.h
14081 do :
14082 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14083 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14084 cat >>confdefs.h <<_ACEOF
14085 #define HAVE_TIFFIO_H 1
14086 _ACEOF
14090 done
14092 if test "$ac_cv_header_tiffio_h" = "yes"
14093 then
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14095 $as_echo_n "checking for -ltiff... " >&6; }
14096 if ${ac_cv_lib_soname_tiff+:} false; then :
14097 $as_echo_n "(cached) " >&6
14098 else
14099 ac_check_soname_save_LIBS=$LIBS
14100 LIBS="-ltiff $TIFF_LIBS $LIBS"
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14104 /* Override any GCC internal prototype to avoid an error.
14105 Use char because int might match the return type of a GCC
14106 builtin and then its argument prototype would still apply. */
14107 #ifdef __cplusplus
14108 extern "C"
14109 #endif
14110 char TIFFClientOpen ();
14112 main ()
14114 return TIFFClientOpen ();
14116 return 0;
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"; then :
14120 case "$LIBEXT" in
14121 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14122 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'` ;;
14123 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14124 if ${ac_cv_lib_soname_tiff:+false} :; then :
14125 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14126 fi ;;
14127 esac
14129 rm -f core conftest.err conftest.$ac_objext \
14130 conftest$ac_exeext conftest.$ac_ext
14131 LIBS=$ac_check_soname_save_LIBS
14133 if ${ac_cv_lib_soname_tiff:+false} :; then :
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14135 $as_echo "not found" >&6; }
14137 else
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14139 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14141 cat >>confdefs.h <<_ACEOF
14142 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14143 _ACEOF
14148 CPPFLAGS=$ac_save_CPPFLAGS
14149 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14150 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14153 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14154 case "x$with_tiff" in
14155 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14156 xno) ;;
14157 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14158 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14159 esac
14163 if test "x$with_mpg123" != "xno"
14164 then
14165 if ${MPG123_CFLAGS:+false} :; then :
14166 if ${PKG_CONFIG+:} false; then :
14167 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14171 if ${MPG123_LIBS:+false} :; then :
14172 if ${PKG_CONFIG+:} false; then :
14173 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14177 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14178 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14179 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14180 ac_save_CPPFLAGS=$CPPFLAGS
14181 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14182 for ac_header in mpg123.h
14183 do :
14184 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14185 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14186 cat >>confdefs.h <<_ACEOF
14187 #define HAVE_MPG123_H 1
14188 _ACEOF
14192 done
14194 if test "$ac_cv_header_mpg123_h" = "yes"
14195 then
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14197 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14198 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14199 $as_echo_n "(cached) " >&6
14200 else
14201 ac_check_lib_save_LIBS=$LIBS
14202 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14206 /* Override any GCC internal prototype to avoid an error.
14207 Use char because int might match the return type of a GCC
14208 builtin and then its argument prototype would still apply. */
14209 #ifdef __cplusplus
14210 extern "C"
14211 #endif
14212 char mpg123_feed ();
14214 main ()
14216 return mpg123_feed ();
14218 return 0;
14220 _ACEOF
14221 if ac_fn_c_try_link "$LINENO"; then :
14222 ac_cv_lib_mpg123_mpg123_feed=yes
14223 else
14224 ac_cv_lib_mpg123_mpg123_feed=no
14226 rm -f core conftest.err conftest.$ac_objext \
14227 conftest$ac_exeext conftest.$ac_ext
14228 LIBS=$ac_check_lib_save_LIBS
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14231 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14232 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14234 else
14235 MPG123_LIBS=""
14238 else
14239 MPG123_CFLAGS=""
14240 MPG123_LIBS=""
14242 CPPFLAGS=$ac_save_CPPFLAGS
14243 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14244 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14247 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14248 case "x$with_mpg123" in
14249 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14250 xno) ;;
14251 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14252 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14253 esac
14254 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14256 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14258 if test "$ac_cv_header_AL_al_h" = "yes"
14259 then
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14261 $as_echo_n "checking for -lopenal... " >&6; }
14262 if ${ac_cv_lib_soname_openal+:} false; then :
14263 $as_echo_n "(cached) " >&6
14264 else
14265 ac_check_soname_save_LIBS=$LIBS
14266 LIBS="-lopenal $LIBS"
14267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14268 /* end confdefs.h. */
14270 /* Override any GCC internal prototype to avoid an error.
14271 Use char because int might match the return type of a GCC
14272 builtin and then its argument prototype would still apply. */
14273 #ifdef __cplusplus
14274 extern "C"
14275 #endif
14276 char alGetSource3i ();
14278 main ()
14280 return alGetSource3i ();
14282 return 0;
14284 _ACEOF
14285 if ac_fn_c_try_link "$LINENO"; then :
14286 case "$LIBEXT" in
14287 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14288 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'` ;;
14289 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14290 if ${ac_cv_lib_soname_openal:+false} :; then :
14291 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14292 fi ;;
14293 esac
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 LIBS=$ac_check_soname_save_LIBS
14299 if ${ac_cv_lib_soname_openal:+false} :; then :
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14301 $as_echo "not found" >&6; }
14303 else
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14305 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14307 cat >>confdefs.h <<_ACEOF
14308 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14309 _ACEOF
14311 OPENAL_LIBS="-lopenal"
14313 ac_cv_lib_openal=yes
14315 cat >>confdefs.h <<_ACEOF
14316 #define HAVE_OPENAL 1
14317 _ACEOF
14321 if test "x$ac_cv_lib_openal" != xyes; then :
14322 case "x$with_openal" in
14323 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14324 xno) ;;
14325 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14326 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14327 esac
14328 enable_openal32=${enable_openal32:-no}
14331 if test "x$ac_cv_lib_openal" = xyes
14332 then
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14334 $as_echo_n "checking for openal-soft... " >&6; }
14335 if ${ac_cv_have_openalsoft+:} false; then :
14336 $as_echo_n "(cached) " >&6
14337 else
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14340 #include <AL/al.h>
14341 #include <AL/alc.h>
14342 #include <AL/alext.h>
14343 LPALCRENDERSAMPLESSOFT x;
14345 main ()
14349 return 0;
14351 _ACEOF
14352 if ac_fn_c_try_compile "$LINENO"; then :
14353 ac_cv_have_openalsoft=yes
14354 else
14355 ac_cv_have_openalsoft=no
14357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14360 $as_echo "$ac_cv_have_openalsoft" >&6; }
14362 if test "x$ac_cv_have_openalsoft" != xyes
14363 then
14364 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14365 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14366 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14367 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14368 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14369 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14370 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14371 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14372 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14373 enable_xapofx1_1=${enable_xapofx1_1:-no}
14374 enable_xapofx1_2=${enable_xapofx1_2:-no}
14375 enable_xapofx1_3=${enable_xapofx1_3:-no}
14376 enable_xapofx1_4=${enable_xapofx1_4:-no}
14377 enable_xapofx1_5=${enable_xapofx1_5:-no}
14378 enable_xaudio2_0=${enable_xaudio2_0:-no}
14379 enable_xaudio2_1=${enable_xaudio2_1:-no}
14380 enable_xaudio2_2=${enable_xaudio2_2:-no}
14381 enable_xaudio2_3=${enable_xaudio2_3:-no}
14382 enable_xaudio2_4=${enable_xaudio2_4:-no}
14383 enable_xaudio2_5=${enable_xaudio2_5:-no}
14384 enable_xaudio2_6=${enable_xaudio2_6:-no}
14385 enable_xaudio2_7=${enable_xaudio2_7:-no}
14386 enable_xaudio2_8=${enable_xaudio2_8:-no}
14387 enable_xaudio2_9=${enable_xaudio2_9:-no}
14390 if test "$ac_cv_header_kstat_h" = "yes"
14391 then
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14393 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14394 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14395 $as_echo_n "(cached) " >&6
14396 else
14397 ac_check_lib_save_LIBS=$LIBS
14398 LIBS="-lkstat $LIBS"
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14402 /* Override any GCC internal prototype to avoid an error.
14403 Use char because int might match the return type of a GCC
14404 builtin and then its argument prototype would still apply. */
14405 #ifdef __cplusplus
14406 extern "C"
14407 #endif
14408 char kstat_open ();
14410 main ()
14412 return kstat_open ();
14414 return 0;
14416 _ACEOF
14417 if ac_fn_c_try_link "$LINENO"; then :
14418 ac_cv_lib_kstat_kstat_open=yes
14419 else
14420 ac_cv_lib_kstat_kstat_open=no
14422 rm -f core conftest.err conftest.$ac_objext \
14423 conftest$ac_exeext conftest.$ac_ext
14424 LIBS=$ac_check_lib_save_LIBS
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14427 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14428 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14430 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14432 KSTAT_LIBS="-lkstat"
14438 if test "$ac_cv_header_libprocstat_h" = "yes"
14439 then
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14441 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14442 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14443 $as_echo_n "(cached) " >&6
14444 else
14445 ac_check_lib_save_LIBS=$LIBS
14446 LIBS="-lprocstat $LIBS"
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14450 /* Override any GCC internal prototype to avoid an error.
14451 Use char because int might match the return type of a GCC
14452 builtin and then its argument prototype would still apply. */
14453 #ifdef __cplusplus
14454 extern "C"
14455 #endif
14456 char procstat_open_sysctl ();
14458 main ()
14460 return procstat_open_sysctl ();
14462 return 0;
14464 _ACEOF
14465 if ac_fn_c_try_link "$LINENO"; then :
14466 ac_cv_lib_procstat_procstat_open_sysctl=yes
14467 else
14468 ac_cv_lib_procstat_procstat_open_sysctl=no
14470 rm -f core conftest.err conftest.$ac_objext \
14471 conftest$ac_exeext conftest.$ac_ext
14472 LIBS=$ac_check_lib_save_LIBS
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14475 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14476 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14478 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14480 PROCSTAT_LIBS="-lprocstat"
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14487 $as_echo_n "checking for -lodbc... " >&6; }
14488 if ${ac_cv_lib_soname_odbc+:} false; then :
14489 $as_echo_n "(cached) " >&6
14490 else
14491 ac_check_soname_save_LIBS=$LIBS
14492 LIBS="-lodbc $LIBS"
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14496 /* Override any GCC internal prototype to avoid an error.
14497 Use char because int might match the return type of a GCC
14498 builtin and then its argument prototype would still apply. */
14499 #ifdef __cplusplus
14500 extern "C"
14501 #endif
14502 char SQLConnect ();
14504 main ()
14506 return SQLConnect ();
14508 return 0;
14510 _ACEOF
14511 if ac_fn_c_try_link "$LINENO"; then :
14512 case "$LIBEXT" in
14513 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14514 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'` ;;
14515 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14516 if ${ac_cv_lib_soname_odbc:+false} :; then :
14517 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14518 fi ;;
14519 esac
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 LIBS=$ac_check_soname_save_LIBS
14525 if ${ac_cv_lib_soname_odbc:+false} :; then :
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14527 $as_echo "not found" >&6; }
14528 cat >>confdefs.h <<_ACEOF
14529 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14530 _ACEOF
14532 else
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14534 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14536 cat >>confdefs.h <<_ACEOF
14537 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14538 _ACEOF
14543 if test "x$with_netapi" != "xno"
14544 then
14545 if ${NETAPI_CFLAGS:+false} :; then :
14546 if ${PKG_CONFIG+:} false; then :
14547 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14551 if ${NETAPI_LIBS:+false} :; then :
14552 if ${PKG_CONFIG+:} false; then :
14553 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14558 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14559 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14560 ac_save_CPPFLAGS=$CPPFLAGS
14561 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14563 $as_echo_n "checking for -lnetapi... " >&6; }
14564 if ${ac_cv_lib_soname_netapi+:} false; then :
14565 $as_echo_n "(cached) " >&6
14566 else
14567 ac_check_soname_save_LIBS=$LIBS
14568 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14572 /* Override any GCC internal prototype to avoid an error.
14573 Use char because int might match the return type of a GCC
14574 builtin and then its argument prototype would still apply. */
14575 #ifdef __cplusplus
14576 extern "C"
14577 #endif
14578 char libnetapi_init ();
14580 main ()
14582 return libnetapi_init ();
14584 return 0;
14586 _ACEOF
14587 if ac_fn_c_try_link "$LINENO"; then :
14588 case "$LIBEXT" in
14589 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14590 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'` ;;
14591 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14592 if ${ac_cv_lib_soname_netapi:+false} :; then :
14593 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14594 fi ;;
14595 esac
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14599 LIBS=$ac_check_soname_save_LIBS
14601 if ${ac_cv_lib_soname_netapi:+false} :; then :
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14603 $as_echo "not found" >&6; }
14604 cat >>confdefs.h <<_ACEOF
14605 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14606 _ACEOF
14608 else
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14610 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14612 cat >>confdefs.h <<_ACEOF
14613 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14614 _ACEOF
14618 CPPFLAGS=$ac_save_CPPFLAGS
14619 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14620 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14624 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14625 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14626 then
14627 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14630 if test "x$with_vulkan" != "xno"
14631 then
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14633 $as_echo_n "checking for -lvulkan... " >&6; }
14634 if ${ac_cv_lib_soname_vulkan+:} false; then :
14635 $as_echo_n "(cached) " >&6
14636 else
14637 ac_check_soname_save_LIBS=$LIBS
14638 LIBS="-lvulkan $LIBS"
14639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14640 /* end confdefs.h. */
14642 /* Override any GCC internal prototype to avoid an error.
14643 Use char because int might match the return type of a GCC
14644 builtin and then its argument prototype would still apply. */
14645 #ifdef __cplusplus
14646 extern "C"
14647 #endif
14648 char vkGetInstanceProcAddr ();
14650 main ()
14652 return vkGetInstanceProcAddr ();
14654 return 0;
14656 _ACEOF
14657 if ac_fn_c_try_link "$LINENO"; then :
14658 case "$LIBEXT" in
14659 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14660 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'` ;;
14661 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14662 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14663 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14664 fi ;;
14665 esac
14667 rm -f core conftest.err conftest.$ac_objext \
14668 conftest$ac_exeext conftest.$ac_ext
14669 LIBS=$ac_check_soname_save_LIBS
14671 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14673 $as_echo "not found" >&6; }
14675 else
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14677 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14679 cat >>confdefs.h <<_ACEOF
14680 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14681 _ACEOF
14686 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14687 case "x$with_vulkan" in
14688 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14689 xno) ;;
14690 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14691 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14692 esac
14696 if test "x$with_vkd3d" != "xno"
14697 then
14698 if ${VKD3D_CFLAGS:+false} :; then :
14699 if ${PKG_CONFIG+:} false; then :
14700 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
14704 if ${VKD3D_LIBS:+false} :; then :
14705 if ${PKG_CONFIG+:} false; then :
14706 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
14711 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
14712 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
14713 ac_save_CPPFLAGS=$CPPFLAGS
14714 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
14716 $as_echo_n "checking for -lvkd3d... " >&6; }
14717 if ${ac_cv_lib_soname_vkd3d+:} false; then :
14718 $as_echo_n "(cached) " >&6
14719 else
14720 ac_check_soname_save_LIBS=$LIBS
14721 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14725 /* Override any GCC internal prototype to avoid an error.
14726 Use char because int might match the return type of a GCC
14727 builtin and then its argument prototype would still apply. */
14728 #ifdef __cplusplus
14729 extern "C"
14730 #endif
14731 char vkd3d_create_device ();
14733 main ()
14735 return vkd3d_create_device ();
14737 return 0;
14739 _ACEOF
14740 if ac_fn_c_try_link "$LINENO"; then :
14741 case "$LIBEXT" in
14742 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14743 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'` ;;
14744 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14745 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
14746 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14747 fi ;;
14748 esac
14750 rm -f core conftest.err conftest.$ac_objext \
14751 conftest$ac_exeext conftest.$ac_ext
14752 LIBS=$ac_check_soname_save_LIBS
14754 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14756 $as_echo "not found" >&6; }
14758 else
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
14760 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
14762 cat >>confdefs.h <<_ACEOF
14763 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
14764 _ACEOF
14768 CPPFLAGS=$ac_save_CPPFLAGS
14769 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14770 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14773 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
14774 case "x$with_vkd3d" in
14775 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
14776 xno) ;;
14777 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
14778 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
14779 esac
14782 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
14785 EXTRACFLAGS=""
14787 if test "x${GCC}" = "xyes"
14788 then
14789 EXTRACFLAGS="-Wall -pipe"
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14792 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14793 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 if test "$cross_compiling" = yes; then :
14797 ac_cv_c_gcc_strength_bug="no"
14798 else
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14801 int L[4] = {0,1,2,3};
14803 main ()
14805 static int Array[3];
14806 unsigned int B = 3;
14807 int i;
14808 for(i=0; i<B; i++) Array[i] = i - 3;
14809 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14810 L[i] = 4;
14811 return (Array[1] != -2 || L[2] != 3)
14813 return 0;
14815 _ACEOF
14816 if ac_fn_c_try_run "$LINENO"; then :
14817 ac_cv_c_gcc_strength_bug="no"
14818 else
14819 ac_cv_c_gcc_strength_bug="yes"
14821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14822 conftest.$ac_objext conftest.beam conftest.$ac_ext
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14827 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14828 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14829 then
14830 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14834 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14835 if ${ac_cv_cflags__fno_builtin+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 ac_wine_try_cflags_saved=$CFLAGS
14839 CFLAGS="$CFLAGS -fno-builtin"
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 int main(int argc, char **argv) { return 0; }
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"; then :
14845 ac_cv_cflags__fno_builtin=yes
14846 else
14847 ac_cv_cflags__fno_builtin=no
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14851 CFLAGS=$ac_wine_try_cflags_saved
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14854 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14855 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14856 BUILTINFLAG="-fno-builtin"
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14860 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14861 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14862 $as_echo_n "(cached) " >&6
14863 else
14864 ac_wine_try_cflags_saved=$CFLAGS
14865 CFLAGS="$CFLAGS -fno-strict-aliasing"
14866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14868 int main(int argc, char **argv) { return 0; }
14869 _ACEOF
14870 if ac_fn_c_try_link "$LINENO"; then :
14871 ac_cv_cflags__fno_strict_aliasing=yes
14872 else
14873 ac_cv_cflags__fno_strict_aliasing=no
14875 rm -f core conftest.err conftest.$ac_objext \
14876 conftest$ac_exeext conftest.$ac_ext
14877 CFLAGS=$ac_wine_try_cflags_saved
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14880 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14881 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14882 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14885 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14886 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14887 $as_echo_n "(cached) " >&6
14888 else
14889 ac_wine_try_cflags_saved=$CFLAGS
14890 CFLAGS="$CFLAGS -fexcess-precision=standard"
14891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14893 int main(int argc, char **argv) { return 0; }
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"; then :
14896 ac_cv_cflags__fexcess_precision_standard=yes
14897 else
14898 ac_cv_cflags__fexcess_precision_standard=no
14900 rm -f core conftest.err conftest.$ac_objext \
14901 conftest$ac_exeext conftest.$ac_ext
14902 CFLAGS=$ac_wine_try_cflags_saved
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14905 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14906 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14907 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14910 saved_CFLAGS=$CFLAGS
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14912 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14913 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14914 $as_echo_n "(cached) " >&6
14915 else
14916 ac_wine_try_cflags_saved=$CFLAGS
14917 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14919 /* end confdefs.h. */
14920 int main(int argc, char **argv) { return 0; }
14921 _ACEOF
14922 if ac_fn_c_try_link "$LINENO"; then :
14923 ac_cv_cflags__Werror_unknown_warning_option=yes
14924 else
14925 ac_cv_cflags__Werror_unknown_warning_option=no
14927 rm -f core conftest.err conftest.$ac_objext \
14928 conftest$ac_exeext conftest.$ac_ext
14929 CFLAGS=$ac_wine_try_cflags_saved
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14932 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14933 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14934 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14937 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14938 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14939 $as_echo_n "(cached) " >&6
14940 else
14941 ac_wine_try_cflags_saved=$CFLAGS
14942 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14945 int main(int argc, char **argv) { return 0; }
14946 _ACEOF
14947 if ac_fn_c_try_link "$LINENO"; then :
14948 ac_cv_cflags__Wdeclaration_after_statement=yes
14949 else
14950 ac_cv_cflags__Wdeclaration_after_statement=no
14952 rm -f core conftest.err conftest.$ac_objext \
14953 conftest$ac_exeext conftest.$ac_ext
14954 CFLAGS=$ac_wine_try_cflags_saved
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14957 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14958 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14959 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14962 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14963 if ${ac_cv_cflags__Wempty_body+:} false; then :
14964 $as_echo_n "(cached) " >&6
14965 else
14966 ac_wine_try_cflags_saved=$CFLAGS
14967 CFLAGS="$CFLAGS -Wempty-body"
14968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14970 int main(int argc, char **argv) { return 0; }
14971 _ACEOF
14972 if ac_fn_c_try_link "$LINENO"; then :
14973 ac_cv_cflags__Wempty_body=yes
14974 else
14975 ac_cv_cflags__Wempty_body=no
14977 rm -f core conftest.err conftest.$ac_objext \
14978 conftest$ac_exeext conftest.$ac_ext
14979 CFLAGS=$ac_wine_try_cflags_saved
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14982 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14983 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14984 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14987 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14988 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14989 $as_echo_n "(cached) " >&6
14990 else
14991 ac_wine_try_cflags_saved=$CFLAGS
14992 CFLAGS="$CFLAGS -Wignored-qualifiers"
14993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14994 /* end confdefs.h. */
14995 int main(int argc, char **argv) { return 0; }
14996 _ACEOF
14997 if ac_fn_c_try_link "$LINENO"; then :
14998 ac_cv_cflags__Wignored_qualifiers=yes
14999 else
15000 ac_cv_cflags__Wignored_qualifiers=no
15002 rm -f core conftest.err conftest.$ac_objext \
15003 conftest$ac_exeext conftest.$ac_ext
15004 CFLAGS=$ac_wine_try_cflags_saved
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15007 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15008 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15009 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15012 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15013 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15014 $as_echo_n "(cached) " >&6
15015 else
15016 ac_wine_try_cflags_saved=$CFLAGS
15017 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15020 int main(int argc, char **argv) { return 0; }
15021 _ACEOF
15022 if ac_fn_c_try_link "$LINENO"; then :
15023 ac_cv_cflags__Wpacked_not_aligned=yes
15024 else
15025 ac_cv_cflags__Wpacked_not_aligned=no
15027 rm -f core conftest.err conftest.$ac_objext \
15028 conftest$ac_exeext conftest.$ac_ext
15029 CFLAGS=$ac_wine_try_cflags_saved
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15032 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15033 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15034 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15037 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15038 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15039 $as_echo_n "(cached) " >&6
15040 else
15041 ac_wine_try_cflags_saved=$CFLAGS
15042 CFLAGS="$CFLAGS -Wpragma-pack"
15043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15045 int main(int argc, char **argv) { return 0; }
15046 _ACEOF
15047 if ac_fn_c_try_link "$LINENO"; then :
15048 ac_cv_cflags__Wpragma_pack=yes
15049 else
15050 ac_cv_cflags__Wpragma_pack=no
15052 rm -f core conftest.err conftest.$ac_objext \
15053 conftest$ac_exeext conftest.$ac_ext
15054 CFLAGS=$ac_wine_try_cflags_saved
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15057 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15058 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15059 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15062 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15063 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15064 $as_echo_n "(cached) " >&6
15065 else
15066 ac_wine_try_cflags_saved=$CFLAGS
15067 CFLAGS="$CFLAGS -Wshift-overflow=2"
15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15070 int main(int argc, char **argv) { return 0; }
15071 _ACEOF
15072 if ac_fn_c_try_link "$LINENO"; then :
15073 ac_cv_cflags__Wshift_overflow_2=yes
15074 else
15075 ac_cv_cflags__Wshift_overflow_2=no
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15079 CFLAGS=$ac_wine_try_cflags_saved
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15082 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15083 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15084 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15087 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15088 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15089 $as_echo_n "(cached) " >&6
15090 else
15091 ac_wine_try_cflags_saved=$CFLAGS
15092 CFLAGS="$CFLAGS -Wstrict-prototypes"
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15095 int main(int argc, char **argv) { return 0; }
15096 _ACEOF
15097 if ac_fn_c_try_link "$LINENO"; then :
15098 ac_cv_cflags__Wstrict_prototypes=yes
15099 else
15100 ac_cv_cflags__Wstrict_prototypes=no
15102 rm -f core conftest.err conftest.$ac_objext \
15103 conftest$ac_exeext conftest.$ac_ext
15104 CFLAGS=$ac_wine_try_cflags_saved
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15107 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15108 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15109 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15112 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15113 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15114 $as_echo_n "(cached) " >&6
15115 else
15116 ac_wine_try_cflags_saved=$CFLAGS
15117 CFLAGS="$CFLAGS -Wtype-limits"
15118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15120 int main(int argc, char **argv) { return 0; }
15121 _ACEOF
15122 if ac_fn_c_try_link "$LINENO"; then :
15123 ac_cv_cflags__Wtype_limits=yes
15124 else
15125 ac_cv_cflags__Wtype_limits=no
15127 rm -f core conftest.err conftest.$ac_objext \
15128 conftest$ac_exeext conftest.$ac_ext
15129 CFLAGS=$ac_wine_try_cflags_saved
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15132 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15133 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15134 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15137 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15138 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15139 $as_echo_n "(cached) " >&6
15140 else
15141 ac_wine_try_cflags_saved=$CFLAGS
15142 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15144 /* end confdefs.h. */
15145 int main(int argc, char **argv) { return 0; }
15146 _ACEOF
15147 if ac_fn_c_try_link "$LINENO"; then :
15148 ac_cv_cflags__Wunused_but_set_parameter=yes
15149 else
15150 ac_cv_cflags__Wunused_but_set_parameter=no
15152 rm -f core conftest.err conftest.$ac_objext \
15153 conftest$ac_exeext conftest.$ac_ext
15154 CFLAGS=$ac_wine_try_cflags_saved
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15157 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15158 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15159 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15162 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15163 if ${ac_cv_cflags__Wvla+:} false; then :
15164 $as_echo_n "(cached) " >&6
15165 else
15166 ac_wine_try_cflags_saved=$CFLAGS
15167 CFLAGS="$CFLAGS -Wvla"
15168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15170 int main(int argc, char **argv) { return 0; }
15171 _ACEOF
15172 if ac_fn_c_try_link "$LINENO"; then :
15173 ac_cv_cflags__Wvla=yes
15174 else
15175 ac_cv_cflags__Wvla=no
15177 rm -f core conftest.err conftest.$ac_objext \
15178 conftest$ac_exeext conftest.$ac_ext
15179 CFLAGS=$ac_wine_try_cflags_saved
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15182 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15183 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15184 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15187 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15188 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15189 $as_echo_n "(cached) " >&6
15190 else
15191 ac_wine_try_cflags_saved=$CFLAGS
15192 CFLAGS="$CFLAGS -Wwrite-strings"
15193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15195 int main(int argc, char **argv) { return 0; }
15196 _ACEOF
15197 if ac_fn_c_try_link "$LINENO"; then :
15198 ac_cv_cflags__Wwrite_strings=yes
15199 else
15200 ac_cv_cflags__Wwrite_strings=no
15202 rm -f core conftest.err conftest.$ac_objext \
15203 conftest$ac_exeext conftest.$ac_ext
15204 CFLAGS=$ac_wine_try_cflags_saved
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15207 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15208 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15209 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15213 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15214 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15217 ac_wine_try_cflags_saved=$CFLAGS
15218 CFLAGS="$CFLAGS -Wpointer-arith"
15219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15220 /* end confdefs.h. */
15221 int main(int argc, char **argv) { return 0; }
15222 _ACEOF
15223 if ac_fn_c_try_link "$LINENO"; then :
15224 ac_cv_cflags__Wpointer_arith=yes
15225 else
15226 ac_cv_cflags__Wpointer_arith=no
15228 rm -f core conftest.err conftest.$ac_objext \
15229 conftest$ac_exeext conftest.$ac_ext
15230 CFLAGS=$ac_wine_try_cflags_saved
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15233 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15234 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15235 saved_string_h_CFLAGS=$CFLAGS
15236 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15238 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15239 if ${ac_cv_c_string_h_warnings+:} false; then :
15240 $as_echo_n "(cached) " >&6
15241 else
15242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15244 #include <string.h>
15246 main ()
15250 return 0;
15252 _ACEOF
15253 if ac_fn_c_try_compile "$LINENO"; then :
15254 ac_cv_c_string_h_warnings=no
15255 else
15256 ac_cv_c_string_h_warnings=yes
15258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15261 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15262 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15263 CFLAGS=$saved_string_h_CFLAGS
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15267 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15268 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15271 ac_wine_try_cflags_saved=$CFLAGS
15272 CFLAGS="$CFLAGS -Wlogical-op"
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15275 int main(int argc, char **argv) { return 0; }
15276 _ACEOF
15277 if ac_fn_c_try_link "$LINENO"; then :
15278 ac_cv_cflags__Wlogical_op=yes
15279 else
15280 ac_cv_cflags__Wlogical_op=no
15282 rm -f core conftest.err conftest.$ac_objext \
15283 conftest$ac_exeext conftest.$ac_ext
15284 CFLAGS=$ac_wine_try_cflags_saved
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15287 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15288 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15289 saved_string_h_CFLAGS=$CFLAGS
15290 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15292 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15293 if ${ac_cv_c_logicalop_noisy+:} false; then :
15294 $as_echo_n "(cached) " >&6
15295 else
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15298 #include <string.h>
15299 char*f(const char *h,char n) {return strchr(h,n);}
15301 main ()
15305 return 0;
15307 _ACEOF
15308 if ac_fn_c_try_compile "$LINENO"; then :
15309 ac_cv_c_logicalop_noisy=no
15310 else
15311 ac_cv_c_logicalop_noisy=yes
15313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15316 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15317 CFLAGS=$saved_string_h_CFLAGS
15318 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15321 CFLAGS=$saved_CFLAGS
15323 for ac_flag in $CFLAGS; do
15324 case $ac_flag in
15325 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15326 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15327 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15328 $as_echo_n "(cached) " >&6
15329 else
15330 ac_wine_try_cflags_saved=$CFLAGS
15331 CFLAGS="$CFLAGS -gdwarf-2"
15332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15333 /* end confdefs.h. */
15334 int main(int argc, char **argv) { return 0; }
15335 _ACEOF
15336 if ac_fn_c_try_link "$LINENO"; then :
15337 ac_cv_cflags__gdwarf_2=yes
15338 else
15339 ac_cv_cflags__gdwarf_2=no
15341 rm -f core conftest.err conftest.$ac_objext \
15342 conftest$ac_exeext conftest.$ac_ext
15343 CFLAGS=$ac_wine_try_cflags_saved
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15346 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15347 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15348 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15351 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15352 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15353 $as_echo_n "(cached) " >&6
15354 else
15355 ac_wine_try_cflags_saved=$CFLAGS
15356 CFLAGS="$CFLAGS -gstrict-dwarf"
15357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358 /* end confdefs.h. */
15359 int main(int argc, char **argv) { return 0; }
15360 _ACEOF
15361 if ac_fn_c_try_link "$LINENO"; then :
15362 ac_cv_cflags__gstrict_dwarf=yes
15363 else
15364 ac_cv_cflags__gstrict_dwarf=no
15366 rm -f core conftest.err conftest.$ac_objext \
15367 conftest$ac_exeext conftest.$ac_ext
15368 CFLAGS=$ac_wine_try_cflags_saved
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15371 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15372 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15373 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15374 fi ;;
15375 esac
15376 done
15378 case $host_cpu in
15379 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15380 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15381 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15382 $as_echo_n "(cached) " >&6
15383 else
15384 ac_wine_try_cflags_saved=$CFLAGS
15385 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15388 int main(int argc, char **argv) { return 0; }
15389 _ACEOF
15390 if ac_fn_c_try_link "$LINENO"; then :
15391 ac_cv_cflags__fno_omit_frame_pointer=yes
15392 else
15393 ac_cv_cflags__fno_omit_frame_pointer=no
15395 rm -f core conftest.err conftest.$ac_objext \
15396 conftest$ac_exeext conftest.$ac_ext
15397 CFLAGS=$ac_wine_try_cflags_saved
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15400 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15401 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15402 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15403 fi ;;
15404 esac
15406 case $host in
15407 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15408 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15409 if ${ac_cv_cflags__Wno_format+:} false; then :
15410 $as_echo_n "(cached) " >&6
15411 else
15412 ac_wine_try_cflags_saved=$CFLAGS
15413 CFLAGS="$CFLAGS -Wno-format"
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15416 int main(int argc, char **argv) { return 0; }
15417 _ACEOF
15418 if ac_fn_c_try_link "$LINENO"; then :
15419 ac_cv_cflags__Wno_format=yes
15420 else
15421 ac_cv_cflags__Wno_format=no
15423 rm -f core conftest.err conftest.$ac_objext \
15424 conftest$ac_exeext conftest.$ac_ext
15425 CFLAGS=$ac_wine_try_cflags_saved
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15428 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15429 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15430 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15431 fi ;;
15432 esac
15434 if test "x$enable_maintainer_mode" = "xyes"
15435 then
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15437 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15438 if ${ac_cv_cflags__Werror+:} false; then :
15439 $as_echo_n "(cached) " >&6
15440 else
15441 ac_wine_try_cflags_saved=$CFLAGS
15442 CFLAGS="$CFLAGS -Werror"
15443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */
15445 int main(int argc, char **argv) { return 0; }
15446 _ACEOF
15447 if ac_fn_c_try_link "$LINENO"; then :
15448 ac_cv_cflags__Werror=yes
15449 else
15450 ac_cv_cflags__Werror=no
15452 rm -f core conftest.err conftest.$ac_objext \
15453 conftest$ac_exeext conftest.$ac_ext
15454 CFLAGS=$ac_wine_try_cflags_saved
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15457 $as_echo "$ac_cv_cflags__Werror" >&6; }
15458 if test "x$ac_cv_cflags__Werror" = xyes; then :
15459 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15463 saved_CFLAGS="$CFLAGS"
15464 CFLAGS="$CFLAGS -Werror"
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15466 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15467 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15468 $as_echo_n "(cached) " >&6
15469 else
15470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15471 /* end confdefs.h. */
15472 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15474 main ()
15478 return 0;
15480 _ACEOF
15481 if ac_fn_c_try_compile "$LINENO"; then :
15482 ac_cv_have_ms_hook_prologue="yes"
15483 else
15484 ac_cv_have_ms_hook_prologue="no"
15486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15489 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15490 CFLAGS="$saved_CFLAGS"
15491 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15492 then
15494 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15496 else
15497 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15504 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15505 if ${ac_cv_c_fortify_enabled+:} false; then :
15506 $as_echo_n "(cached) " >&6
15507 else
15508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15509 /* end confdefs.h. */
15510 #include <string.h>
15512 main ()
15514 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15515 #error Fortify enabled
15516 #endif
15518 return 0;
15520 _ACEOF
15521 if ac_fn_c_try_compile "$LINENO"; then :
15522 ac_cv_c_fortify_enabled=no
15523 else
15524 ac_cv_c_fortify_enabled=yes
15526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15529 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15530 if test "$ac_cv_c_fortify_enabled" = yes
15531 then
15532 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15537 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15538 if ${ac_cv_c_extern_prefix+:} false; then :
15539 $as_echo_n "(cached) " >&6
15540 else
15541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15542 /* end confdefs.h. */
15543 extern int ac_test;
15545 main ()
15547 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15549 return 0;
15551 _ACEOF
15552 if ac_fn_c_try_link "$LINENO"; then :
15553 ac_cv_c_extern_prefix="yes"
15554 else
15555 ac_cv_c_extern_prefix="no"
15557 rm -f core conftest.err conftest.$ac_objext \
15558 conftest$ac_exeext conftest.$ac_ext
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15561 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15563 case $host_cpu in
15564 *i[3456789]86*)
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15566 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15567 if ${ac_cv_c_stdcall_suffix+:} false; then :
15568 $as_echo_n "(cached) " >&6
15569 else
15570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15571 /* end confdefs.h. */
15572 #ifndef _MSC_VER
15573 #define __stdcall __attribute__((__stdcall__))
15574 #endif
15575 int __stdcall ac_test(int i) { return i; }
15577 main ()
15579 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15581 return 0;
15583 _ACEOF
15584 if ac_fn_c_try_link "$LINENO"; then :
15585 ac_cv_c_stdcall_suffix="yes"
15586 else
15587 ac_cv_c_stdcall_suffix="no"
15589 rm -f core conftest.err conftest.$ac_objext \
15590 conftest$ac_exeext conftest.$ac_ext
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15593 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15594 *) ac_cv_c_stdcall_suffix="no" ;;
15595 esac
15598 if test "$ac_cv_c_extern_prefix" = "yes"
15599 then
15600 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15602 asm_name_prefix="_"
15603 else
15604 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15606 asm_name_prefix=""
15610 if test "$ac_cv_c_stdcall_suffix" = "yes"
15611 then
15612 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15614 else
15615 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15621 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15622 if ${ac_cv_asm_func_def+:} false; then :
15623 $as_echo_n "(cached) " >&6
15624 else
15625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h. */
15629 main ()
15631 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15633 return 0;
15635 _ACEOF
15636 if ac_fn_c_try_link "$LINENO"; then :
15637 ac_cv_asm_func_def=".def"
15638 else
15639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15640 /* end confdefs.h. */
15643 main ()
15645 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15647 return 0;
15649 _ACEOF
15650 if ac_fn_c_try_link "$LINENO"; then :
15651 ac_cv_asm_func_def=".type @function"
15652 else
15653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15654 /* end confdefs.h. */
15657 main ()
15659 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15661 return 0;
15663 _ACEOF
15664 if ac_fn_c_try_link "$LINENO"; then :
15665 ac_cv_asm_func_def=".type 2"
15666 else
15667 ac_cv_asm_func_def="unknown"
15669 rm -f core conftest.err conftest.$ac_objext \
15670 conftest$ac_exeext conftest.$ac_ext
15672 rm -f core conftest.err conftest.$ac_objext \
15673 conftest$ac_exeext conftest.$ac_ext
15675 rm -f core conftest.err conftest.$ac_objext \
15676 conftest$ac_exeext conftest.$ac_ext
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15679 $as_echo "$ac_cv_asm_func_def" >&6; }
15682 case "$ac_cv_asm_func_def" in
15683 ".def")
15684 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15686 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15687 ".type @function")
15688 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15690 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15691 ".type 2")
15692 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15694 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15696 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15698 asm_func_header="" ;;
15699 esac
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15702 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15703 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15704 $as_echo_n "(cached) " >&6
15705 else
15706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15707 /* end confdefs.h. */
15708 asm(".text\n\t.long 0");
15710 main ()
15714 return 0;
15716 _ACEOF
15717 if ac_fn_c_try_compile "$LINENO"; then :
15718 ac_cv_c_asm_outside_funcs="yes"
15719 else
15720 ac_cv_c_asm_outside_funcs="no"
15722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15725 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15728 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15729 if ${ac_cv_c_dot_previous+:} false; then :
15730 $as_echo_n "(cached) " >&6
15731 else
15732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15733 /* end confdefs.h. */
15736 main ()
15738 asm(".text\nac_test:\t.long 0\n\t.previous");
15740 return 0;
15742 _ACEOF
15743 if ac_fn_c_try_link "$LINENO"; then :
15744 ac_cv_c_dot_previous="yes"
15745 else
15746 ac_cv_c_dot_previous="no"
15748 rm -f core conftest.err conftest.$ac_objext \
15749 conftest$ac_exeext conftest.$ac_ext
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15752 $as_echo "$ac_cv_c_dot_previous" >&6; }
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15755 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15756 if ${ac_cv_c_cfi_support+:} false; then :
15757 $as_echo_n "(cached) " >&6
15758 else
15759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15760 /* end confdefs.h. */
15761 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15763 main ()
15767 return 0;
15769 _ACEOF
15770 if ac_fn_c_try_compile "$LINENO"; then :
15771 ac_cv_c_cfi_support="yes"
15772 else
15773 ac_cv_c_cfi_support="no"
15775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15778 $as_echo "$ac_cv_c_cfi_support" >&6; }
15780 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15781 asm_func_trailer=""
15782 if test "$ac_cv_c_dot_previous" = "yes"
15783 then
15784 asm_func_trailer="\\n\\t.previous"
15786 if test "$ac_cv_c_cfi_support" = "yes"
15787 then
15788 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15789 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15791 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15793 UNWINDFLAGS=-fasynchronous-unwind-tables
15795 else
15796 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15798 if test "x$enable_win64" = "xyes"
15799 then
15800 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15804 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15807 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15808 then
15809 cat >>confdefs.h <<_ACEOF
15810 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15811 _ACEOF
15813 else
15814 cat >>confdefs.h <<_ACEOF
15815 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15816 _ACEOF
15820 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15823 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15827 case $build_os in
15828 cygwin*|mingw32*) TOOLSEXT=".exe"
15830 esac
15832 case $host_os in
15833 linux*)
15834 case $host_cpu in
15835 *i[3456789]86*|x86_64*|*aarch64*)
15836 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15837 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15839 esac
15841 esac
15844 ac_save_CFLAGS="$CFLAGS"
15845 CFLAGS="$CFLAGS $BUILTINFLAG"
15846 for ac_func in \
15847 __res_get_state \
15848 __res_getservers \
15849 _finite \
15850 _isnan \
15851 _pclose \
15852 _popen \
15853 _snprintf \
15854 _spawnvp \
15855 _strdup \
15856 _stricmp \
15857 _strnicmp \
15858 _strtoi64 \
15859 _strtoui64 \
15860 _vsnprintf \
15861 asctime_r \
15862 chsize \
15863 dlopen \
15864 epoll_create \
15865 ffs \
15866 finitef \
15867 fnmatch \
15868 fork \
15869 fpclass \
15870 fstatfs \
15871 fstatvfs \
15872 ftruncate \
15873 futimens \
15874 futimes \
15875 futimesat \
15876 getattrlist \
15877 getauxval \
15878 getifaddrs \
15879 getopt_long_only \
15880 getpwuid \
15881 gettimeofday \
15882 getuid \
15883 isnanf \
15884 kqueue \
15885 lstat \
15886 memmove \
15887 mmap \
15888 pclose \
15889 pipe2 \
15890 poll \
15891 popen \
15892 port_create \
15893 prctl \
15894 pread \
15895 proc_pidinfo \
15896 pwrite \
15897 readdir \
15898 readlink \
15899 sched_yield \
15900 select \
15901 setproctitle \
15902 setprogname \
15903 setrlimit \
15904 settimeofday \
15905 sigaltstack \
15906 sigprocmask \
15907 snprintf \
15908 statfs \
15909 statvfs \
15910 strcasecmp \
15911 strdup \
15912 strerror \
15913 strncasecmp \
15914 strnlen \
15915 strtold \
15916 strtoll \
15917 strtoull \
15918 symlink \
15919 sysinfo \
15920 tcdrain \
15921 thr_kill2 \
15922 timegm \
15923 usleep \
15924 vsnprintf
15926 do :
15927 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15929 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15930 cat >>confdefs.h <<_ACEOF
15931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15932 _ACEOF
15935 done
15937 CFLAGS="$ac_save_CFLAGS"
15939 if test "$ac_cv_func_dlopen" = no
15940 then
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15942 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15943 if ${ac_cv_lib_dl_dlopen+:} false; then :
15944 $as_echo_n "(cached) " >&6
15945 else
15946 ac_check_lib_save_LIBS=$LIBS
15947 LIBS="-ldl $LIBS"
15948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15949 /* end confdefs.h. */
15951 /* Override any GCC internal prototype to avoid an error.
15952 Use char because int might match the return type of a GCC
15953 builtin and then its argument prototype would still apply. */
15954 #ifdef __cplusplus
15955 extern "C"
15956 #endif
15957 char dlopen ();
15959 main ()
15961 return dlopen ();
15963 return 0;
15965 _ACEOF
15966 if ac_fn_c_try_link "$LINENO"; then :
15967 ac_cv_lib_dl_dlopen=yes
15968 else
15969 ac_cv_lib_dl_dlopen=no
15971 rm -f core conftest.err conftest.$ac_objext \
15972 conftest$ac_exeext conftest.$ac_ext
15973 LIBS=$ac_check_lib_save_LIBS
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15976 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15977 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15978 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15979 DL_LIBS="-ldl"
15984 ac_wine_check_funcs_save_LIBS="$LIBS"
15985 LIBS="$LIBS $DL_LIBS"
15986 for ac_func in dladdr
15987 do :
15988 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15989 if test "x$ac_cv_func_dladdr" = xyes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_DLADDR 1
15992 _ACEOF
15995 done
15997 LIBS="$ac_wine_check_funcs_save_LIBS"
15999 if test "$ac_cv_func_poll" = no
16000 then
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16002 $as_echo_n "checking for poll in -lpoll... " >&6; }
16003 if ${ac_cv_lib_poll_poll+:} false; then :
16004 $as_echo_n "(cached) " >&6
16005 else
16006 ac_check_lib_save_LIBS=$LIBS
16007 LIBS="-lpoll $LIBS"
16008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16009 /* end confdefs.h. */
16011 /* Override any GCC internal prototype to avoid an error.
16012 Use char because int might match the return type of a GCC
16013 builtin and then its argument prototype would still apply. */
16014 #ifdef __cplusplus
16015 extern "C"
16016 #endif
16017 char poll ();
16019 main ()
16021 return poll ();
16023 return 0;
16025 _ACEOF
16026 if ac_fn_c_try_link "$LINENO"; then :
16027 ac_cv_lib_poll_poll=yes
16028 else
16029 ac_cv_lib_poll_poll=no
16031 rm -f core conftest.err conftest.$ac_objext \
16032 conftest$ac_exeext conftest.$ac_ext
16033 LIBS=$ac_check_lib_save_LIBS
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16036 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16037 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16038 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16039 POLL_LIBS="-lpoll"
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16046 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16047 if ${ac_cv_search_gethostbyname+:} false; then :
16048 $as_echo_n "(cached) " >&6
16049 else
16050 ac_func_search_save_LIBS=$LIBS
16051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16052 /* end confdefs.h. */
16054 /* Override any GCC internal prototype to avoid an error.
16055 Use char because int might match the return type of a GCC
16056 builtin and then its argument prototype would still apply. */
16057 #ifdef __cplusplus
16058 extern "C"
16059 #endif
16060 char gethostbyname ();
16062 main ()
16064 return gethostbyname ();
16066 return 0;
16068 _ACEOF
16069 for ac_lib in '' nsl; do
16070 if test -z "$ac_lib"; then
16071 ac_res="none required"
16072 else
16073 ac_res=-l$ac_lib
16074 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16076 if ac_fn_c_try_link "$LINENO"; then :
16077 ac_cv_search_gethostbyname=$ac_res
16079 rm -f core conftest.err conftest.$ac_objext \
16080 conftest$ac_exeext
16081 if ${ac_cv_search_gethostbyname+:} false; then :
16082 break
16084 done
16085 if ${ac_cv_search_gethostbyname+:} false; then :
16087 else
16088 ac_cv_search_gethostbyname=no
16090 rm conftest.$ac_ext
16091 LIBS=$ac_func_search_save_LIBS
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16094 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16095 ac_res=$ac_cv_search_gethostbyname
16096 if test "$ac_res" != no; then :
16097 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16103 $as_echo_n "checking for library containing connect... " >&6; }
16104 if ${ac_cv_search_connect+:} false; then :
16105 $as_echo_n "(cached) " >&6
16106 else
16107 ac_func_search_save_LIBS=$LIBS
16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16111 /* Override any GCC internal prototype to avoid an error.
16112 Use char because int might match the return type of a GCC
16113 builtin and then its argument prototype would still apply. */
16114 #ifdef __cplusplus
16115 extern "C"
16116 #endif
16117 char connect ();
16119 main ()
16121 return connect ();
16123 return 0;
16125 _ACEOF
16126 for ac_lib in '' socket; do
16127 if test -z "$ac_lib"; then
16128 ac_res="none required"
16129 else
16130 ac_res=-l$ac_lib
16131 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16133 if ac_fn_c_try_link "$LINENO"; then :
16134 ac_cv_search_connect=$ac_res
16136 rm -f core conftest.err conftest.$ac_objext \
16137 conftest$ac_exeext
16138 if ${ac_cv_search_connect+:} false; then :
16139 break
16141 done
16142 if ${ac_cv_search_connect+:} false; then :
16144 else
16145 ac_cv_search_connect=no
16147 rm conftest.$ac_ext
16148 LIBS=$ac_func_search_save_LIBS
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16151 $as_echo "$ac_cv_search_connect" >&6; }
16152 ac_res=$ac_cv_search_connect
16153 if test "$ac_res" != no; then :
16154 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16160 $as_echo_n "checking for library containing inet_aton... " >&6; }
16161 if ${ac_cv_search_inet_aton+:} false; then :
16162 $as_echo_n "(cached) " >&6
16163 else
16164 ac_func_search_save_LIBS=$LIBS
16165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166 /* end confdefs.h. */
16168 /* Override any GCC internal prototype to avoid an error.
16169 Use char because int might match the return type of a GCC
16170 builtin and then its argument prototype would still apply. */
16171 #ifdef __cplusplus
16172 extern "C"
16173 #endif
16174 char inet_aton ();
16176 main ()
16178 return inet_aton ();
16180 return 0;
16182 _ACEOF
16183 for ac_lib in '' resolv; do
16184 if test -z "$ac_lib"; then
16185 ac_res="none required"
16186 else
16187 ac_res=-l$ac_lib
16188 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16190 if ac_fn_c_try_link "$LINENO"; then :
16191 ac_cv_search_inet_aton=$ac_res
16193 rm -f core conftest.err conftest.$ac_objext \
16194 conftest$ac_exeext
16195 if ${ac_cv_search_inet_aton+:} false; then :
16196 break
16198 done
16199 if ${ac_cv_search_inet_aton+:} false; then :
16201 else
16202 ac_cv_search_inet_aton=no
16204 rm conftest.$ac_ext
16205 LIBS=$ac_func_search_save_LIBS
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16208 $as_echo "$ac_cv_search_inet_aton" >&6; }
16209 ac_res=$ac_cv_search_inet_aton
16210 if test "$ac_res" != no; then :
16211 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16216 for ac_func in \
16217 getaddrinfo \
16218 getnameinfo \
16219 getnetbyname \
16220 getprotobyname \
16221 getprotobynumber \
16222 getservbyport \
16223 inet_addr \
16224 inet_network \
16225 inet_ntop \
16226 inet_pton \
16227 sendmsg \
16228 socketpair \
16230 do :
16231 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16232 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16233 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16234 cat >>confdefs.h <<_ACEOF
16235 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16236 _ACEOF
16239 done
16242 ac_save_LIBS=$LIBS
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16244 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16245 if ${ac_cv_search_clock_gettime+:} false; then :
16246 $as_echo_n "(cached) " >&6
16247 else
16248 ac_func_search_save_LIBS=$LIBS
16249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16250 /* end confdefs.h. */
16252 /* Override any GCC internal prototype to avoid an error.
16253 Use char because int might match the return type of a GCC
16254 builtin and then its argument prototype would still apply. */
16255 #ifdef __cplusplus
16256 extern "C"
16257 #endif
16258 char clock_gettime ();
16260 main ()
16262 return clock_gettime ();
16264 return 0;
16266 _ACEOF
16267 for ac_lib in '' rt; do
16268 if test -z "$ac_lib"; then
16269 ac_res="none required"
16270 else
16271 ac_res=-l$ac_lib
16272 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16274 if ac_fn_c_try_link "$LINENO"; then :
16275 ac_cv_search_clock_gettime=$ac_res
16277 rm -f core conftest.err conftest.$ac_objext \
16278 conftest$ac_exeext
16279 if ${ac_cv_search_clock_gettime+:} false; then :
16280 break
16282 done
16283 if ${ac_cv_search_clock_gettime+:} false; then :
16285 else
16286 ac_cv_search_clock_gettime=no
16288 rm conftest.$ac_ext
16289 LIBS=$ac_func_search_save_LIBS
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16292 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16293 ac_res=$ac_cv_search_clock_gettime
16294 if test "$ac_res" != no; then :
16295 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16297 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16299 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16303 LIBS=$ac_save_LIBS
16305 if test "x$with_ldap" != "xno"
16306 then
16307 if ${LDAP_CFLAGS:+false} :; then :
16308 if ${PKG_CONFIG+:} false; then :
16309 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16313 if ${LDAP_LIBS:+false} :; then :
16314 if ${PKG_CONFIG+:} false; then :
16315 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16319 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16320 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16321 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16322 ac_save_CPPFLAGS=$CPPFLAGS
16323 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16324 for ac_header in ldap.h lber.h
16325 do :
16326 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16327 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16328 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16329 cat >>confdefs.h <<_ACEOF
16330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16331 _ACEOF
16335 done
16337 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16338 then
16339 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16341 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16343 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16344 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16345 $as_echo_n "(cached) " >&6
16346 else
16347 ac_check_lib_save_LIBS=$LIBS
16348 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16350 /* end confdefs.h. */
16352 /* Override any GCC internal prototype to avoid an error.
16353 Use char because int might match the return type of a GCC
16354 builtin and then its argument prototype would still apply. */
16355 #ifdef __cplusplus
16356 extern "C"
16357 #endif
16358 char ldap_initialize ();
16360 main ()
16362 return ldap_initialize ();
16364 return 0;
16366 _ACEOF
16367 if ac_fn_c_try_link "$LINENO"; then :
16368 ac_cv_lib_ldap_r_ldap_initialize=yes
16369 else
16370 ac_cv_lib_ldap_r_ldap_initialize=no
16372 rm -f core conftest.err conftest.$ac_objext \
16373 conftest$ac_exeext conftest.$ac_ext
16374 LIBS=$ac_check_lib_save_LIBS
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16377 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16378 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16380 $as_echo_n "checking for ber_init in -llber... " >&6; }
16381 if ${ac_cv_lib_lber_ber_init+:} false; then :
16382 $as_echo_n "(cached) " >&6
16383 else
16384 ac_check_lib_save_LIBS=$LIBS
16385 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16389 /* Override any GCC internal prototype to avoid an error.
16390 Use char because int might match the return type of a GCC
16391 builtin and then its argument prototype would still apply. */
16392 #ifdef __cplusplus
16393 extern "C"
16394 #endif
16395 char ber_init ();
16397 main ()
16399 return ber_init ();
16401 return 0;
16403 _ACEOF
16404 if ac_fn_c_try_link "$LINENO"; then :
16405 ac_cv_lib_lber_ber_init=yes
16406 else
16407 ac_cv_lib_lber_ber_init=no
16409 rm -f core conftest.err conftest.$ac_objext \
16410 conftest$ac_exeext conftest.$ac_ext
16411 LIBS=$ac_check_lib_save_LIBS
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16414 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16415 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16417 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16419 else
16420 LDAP_LIBS=""
16423 else
16424 LDAP_LIBS=""
16427 else
16428 LDAP_LIBS=""
16431 ac_wine_check_funcs_save_LIBS="$LIBS"
16432 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16433 for ac_func in \
16434 ldap_count_references \
16435 ldap_first_reference \
16436 ldap_next_reference \
16437 ldap_parse_reference \
16438 ldap_parse_sort_control \
16439 ldap_parse_sortresponse_control \
16440 ldap_parse_vlv_control \
16441 ldap_parse_vlvresponse_control
16442 do :
16443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16445 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16446 cat >>confdefs.h <<_ACEOF
16447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16448 _ACEOF
16451 done
16453 LIBS="$ac_wine_check_funcs_save_LIBS"
16454 else
16455 LDAP_LIBS=""
16457 CPPFLAGS=$ac_save_CPPFLAGS
16458 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16459 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16462 if test "x$LDAP_LIBS" = "x"; then :
16463 case "x$with_ldap" in
16464 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16465 xno) ;;
16466 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16467 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16468 esac
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16473 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16474 if ${wine_cv_one_arg_mkdir+:} false; then :
16475 $as_echo_n "(cached) " >&6
16476 else
16477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h. */
16479 #include <sys/stat.h>
16481 main ()
16483 mkdir("foo");
16485 return 0;
16487 _ACEOF
16488 if ac_fn_c_try_compile "$LINENO"; then :
16489 wine_cv_one_arg_mkdir=yes
16490 else
16491 wine_cv_one_arg_mkdir=no
16493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16496 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16497 if test "$wine_cv_one_arg_mkdir" = "yes"
16498 then
16500 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16505 $as_echo_n "checking for sched_setaffinity... " >&6; }
16506 if ${wine_cv_have_sched_setaffinity+:} false; then :
16507 $as_echo_n "(cached) " >&6
16508 else
16509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16511 #define _GNU_SOURCE
16512 #include <sched.h>
16514 main ()
16516 sched_setaffinity(0, 0, 0);
16518 return 0;
16520 _ACEOF
16521 if ac_fn_c_try_link "$LINENO"; then :
16522 wine_cv_have_sched_setaffinity=yes
16523 else
16524 wine_cv_have_sched_setaffinity=no
16526 rm -f core conftest.err conftest.$ac_objext \
16527 conftest$ac_exeext conftest.$ac_ext
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16530 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16531 if test "$wine_cv_have_sched_setaffinity" = "yes"
16532 then
16534 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16539 $as_echo_n "checking for fallocate... " >&6; }
16540 if ${wine_cv_have_fallocate+:} false; then :
16541 $as_echo_n "(cached) " >&6
16542 else
16543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16544 /* end confdefs.h. */
16545 #define _GNU_SOURCE
16546 #include <fcntl.h>
16548 main ()
16550 fallocate(-1, 0, 0, 0);
16552 return 0;
16554 _ACEOF
16555 if ac_fn_c_try_link "$LINENO"; then :
16556 wine_cv_have_fallocate=yes
16557 else
16558 wine_cv_have_fallocate=no
16560 rm -f core conftest.err conftest.$ac_objext \
16561 conftest$ac_exeext conftest.$ac_ext
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16564 $as_echo "$wine_cv_have_fallocate" >&6; }
16565 if test "$wine_cv_have_fallocate" = "yes"
16566 then
16568 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16574 $as_echo_n "checking for inline... " >&6; }
16575 if ${ac_cv_c_inline+:} false; then :
16576 $as_echo_n "(cached) " >&6
16577 else
16578 ac_cv_c_inline=no
16579 for ac_kw in inline __inline__ __inline; do
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16582 #ifndef __cplusplus
16583 typedef int foo_t;
16584 static $ac_kw foo_t static_foo () {return 0; }
16585 $ac_kw foo_t foo () {return 0; }
16586 #endif
16588 _ACEOF
16589 if ac_fn_c_try_compile "$LINENO"; then :
16590 ac_cv_c_inline=$ac_kw
16592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16593 test "$ac_cv_c_inline" != no && break
16594 done
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16598 $as_echo "$ac_cv_c_inline" >&6; }
16600 case $ac_cv_c_inline in
16601 inline | yes) ;;
16603 case $ac_cv_c_inline in
16604 no) ac_val=;;
16605 *) ac_val=$ac_cv_c_inline;;
16606 esac
16607 cat >>confdefs.h <<_ACEOF
16608 #ifndef __cplusplus
16609 #define inline $ac_val
16610 #endif
16611 _ACEOF
16613 esac
16615 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16616 if test "x$ac_cv_type_mode_t" = xyes; then :
16618 cat >>confdefs.h <<_ACEOF
16619 #define HAVE_MODE_T 1
16620 _ACEOF
16624 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16625 if test "x$ac_cv_type_off_t" = xyes; then :
16627 cat >>confdefs.h <<_ACEOF
16628 #define HAVE_OFF_T 1
16629 _ACEOF
16633 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16634 if test "x$ac_cv_type_pid_t" = xyes; then :
16636 cat >>confdefs.h <<_ACEOF
16637 #define HAVE_PID_T 1
16638 _ACEOF
16642 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16643 if test "x$ac_cv_type_size_t" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_SIZE_T 1
16647 _ACEOF
16651 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16652 if test "x$ac_cv_type_ssize_t" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_SSIZE_T 1
16656 _ACEOF
16660 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16661 if test "x$ac_cv_type_long_long" = xyes; then :
16663 cat >>confdefs.h <<_ACEOF
16664 #define HAVE_LONG_LONG 1
16665 _ACEOF
16669 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16670 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16672 cat >>confdefs.h <<_ACEOF
16673 #define HAVE_FSBLKCNT_T 1
16674 _ACEOF
16678 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16679 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16681 cat >>confdefs.h <<_ACEOF
16682 #define HAVE_FSFILCNT_T 1
16683 _ACEOF
16688 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16689 #include <signal.h>
16691 if test "x$ac_cv_type_sigset_t" = xyes; then :
16693 cat >>confdefs.h <<_ACEOF
16694 #define HAVE_SIGSET_T 1
16695 _ACEOF
16700 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16702 if test "x$ac_cv_type_request_sense" = xyes; then :
16704 cat >>confdefs.h <<_ACEOF
16705 #define HAVE_REQUEST_SENSE 1
16706 _ACEOF
16712 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16713 #ifdef HAVE_SYS_SOCKET_H
16714 #include <sys/socket.h>
16715 #endif
16716 #ifdef HAVE_SYS_SOCKETVAR_H
16717 #include <sys/socketvar.h>
16718 #endif
16719 #ifdef HAVE_NET_ROUTE_H
16720 #include <net/route.h>
16721 #endif
16722 #ifdef HAVE_NETINET_IN_H
16723 #include <netinet/in.h>
16724 #endif
16725 #ifdef HAVE_NETINET_IN_SYSTM_H
16726 #include <netinet/in_systm.h>
16727 #endif
16728 #ifdef HAVE_NETINET_IP_H
16729 #include <netinet/ip.h>
16730 #endif
16731 #ifdef HAVE_NETINET_IN_PCB_H
16732 #include <netinet/in_pcb.h>
16733 #endif
16735 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16737 cat >>confdefs.h <<_ACEOF
16738 #define HAVE_STRUCT_XINPGEN 1
16739 _ACEOF
16745 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16746 #include <link.h>
16747 #endif
16748 #ifdef HAVE_SYS_LINK_H
16749 #include <sys/link.h>
16750 #endif
16752 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16754 cat >>confdefs.h <<_ACEOF
16755 #define HAVE_STRUCT_R_DEBUG 1
16756 _ACEOF
16760 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16761 #include <link.h>
16762 #endif
16763 #ifdef HAVE_SYS_LINK_H
16764 #include <sys/link.h>
16765 #endif
16767 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16769 cat >>confdefs.h <<_ACEOF
16770 #define HAVE_STRUCT_LINK_MAP 1
16771 _ACEOF
16777 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16778 #include <linux/input.h>
16779 #endif
16781 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16783 cat >>confdefs.h <<_ACEOF
16784 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16785 _ACEOF
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16792 $as_echo_n "checking for if_nameindex... " >&6; }
16793 if ${wine_cv_have_if_nameindex+:} false; then :
16794 $as_echo_n "(cached) " >&6
16795 else
16796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16797 /* end confdefs.h. */
16798 #ifdef HAVE_SYS_TYPES_H
16799 #include <sys/types.h>
16800 #endif
16801 #ifdef HAVE_SYS_SOCKET_H
16802 #include <sys/socket.h>
16803 #endif
16804 #ifdef HAVE_NET_IF_H
16805 # include <net/if.h>
16806 #endif
16808 main ()
16810 struct if_nameindex *p = if_nameindex(); return p->if_index;
16812 return 0;
16814 _ACEOF
16815 if ac_fn_c_try_link "$LINENO"; then :
16816 wine_cv_have_if_nameindex=yes
16817 else
16818 wine_cv_have_if_nameindex=no
16820 rm -f core conftest.err conftest.$ac_objext \
16821 conftest$ac_exeext conftest.$ac_ext
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16824 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16825 if test "$wine_cv_have_if_nameindex" = "yes"
16826 then
16828 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16833 $as_echo_n "checking for sigaddset... " >&6; }
16834 if ${wine_cv_have_sigaddset+:} false; then :
16835 $as_echo_n "(cached) " >&6
16836 else
16837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16839 #include <signal.h>
16841 main ()
16843 sigset_t set; sigaddset(&set,SIGTERM);
16845 return 0;
16847 _ACEOF
16848 if ac_fn_c_try_link "$LINENO"; then :
16849 wine_cv_have_sigaddset=yes
16850 else
16851 wine_cv_have_sigaddset=no
16853 rm -f core conftest.err conftest.$ac_objext \
16854 conftest$ac_exeext conftest.$ac_ext
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16857 $as_echo "$wine_cv_have_sigaddset" >&6; }
16858 if test "$wine_cv_have_sigaddset" = "yes"
16859 then
16861 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16867 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16868 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16869 $as_echo_n "(cached) " >&6
16870 else
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 #include <netdb.h>
16875 main ()
16878 char *name=0;
16879 struct hostent he;
16880 struct hostent *result;
16881 char *buf=0;
16882 int bufsize=0;
16883 int errnr;
16884 char *addr=0;
16885 int addrlen=0;
16886 int addrtype=0;
16887 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16888 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16891 return 0;
16893 _ACEOF
16894 if ac_fn_c_try_link "$LINENO"; then :
16895 wine_cv_linux_gethostbyname_r_6=yes
16896 else
16897 wine_cv_linux_gethostbyname_r_6=no
16900 rm -f core conftest.err conftest.$ac_objext \
16901 conftest$ac_exeext conftest.$ac_ext
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16905 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16906 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16907 then
16909 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16913 if test "$ac_cv_header_linux_joystick_h" = "yes"
16914 then
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16916 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16917 if ${wine_cv_linux_joystick_22_api+:} false; then :
16918 $as_echo_n "(cached) " >&6
16919 else
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16923 #include <sys/ioctl.h>
16924 #include <sys/types.h>
16925 #include <linux/joystick.h>
16927 struct js_event blub;
16928 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16929 #error "no 2.2 header"
16930 #endif
16933 main ()
16935 /*empty*/
16937 return 0;
16939 _ACEOF
16940 if ac_fn_c_try_compile "$LINENO"; then :
16941 wine_cv_linux_joystick_22_api=yes
16942 else
16943 wine_cv_linux_joystick_22_api=no
16945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16949 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16950 if test "$wine_cv_linux_joystick_22_api" = "yes"
16951 then
16953 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16959 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16960 #ifdef HAVE_SYS_PARAM_H
16961 # include <sys/param.h>
16962 #endif
16963 #ifdef HAVE_SYS_MOUNT_H
16964 # include <sys/mount.h>
16965 #endif
16966 #ifdef HAVE_SYS_VFS_H
16967 # include <sys/vfs.h>
16968 #endif
16969 #ifdef HAVE_SYS_STATFS_H
16970 # include <sys/statfs.h>
16971 #endif
16973 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16975 cat >>confdefs.h <<_ACEOF
16976 #define HAVE_STRUCT_STATFS_F_BFREE 1
16977 _ACEOF
16981 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16982 #ifdef HAVE_SYS_PARAM_H
16983 # include <sys/param.h>
16984 #endif
16985 #ifdef HAVE_SYS_MOUNT_H
16986 # include <sys/mount.h>
16987 #endif
16988 #ifdef HAVE_SYS_VFS_H
16989 # include <sys/vfs.h>
16990 #endif
16991 #ifdef HAVE_SYS_STATFS_H
16992 # include <sys/statfs.h>
16993 #endif
16995 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16999 _ACEOF
17003 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17004 #ifdef HAVE_SYS_PARAM_H
17005 # include <sys/param.h>
17006 #endif
17007 #ifdef HAVE_SYS_MOUNT_H
17008 # include <sys/mount.h>
17009 #endif
17010 #ifdef HAVE_SYS_VFS_H
17011 # include <sys/vfs.h>
17012 #endif
17013 #ifdef HAVE_SYS_STATFS_H
17014 # include <sys/statfs.h>
17015 #endif
17017 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17019 cat >>confdefs.h <<_ACEOF
17020 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17021 _ACEOF
17025 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17026 #ifdef HAVE_SYS_PARAM_H
17027 # include <sys/param.h>
17028 #endif
17029 #ifdef HAVE_SYS_MOUNT_H
17030 # include <sys/mount.h>
17031 #endif
17032 #ifdef HAVE_SYS_VFS_H
17033 # include <sys/vfs.h>
17034 #endif
17035 #ifdef HAVE_SYS_STATFS_H
17036 # include <sys/statfs.h>
17037 #endif
17039 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17041 cat >>confdefs.h <<_ACEOF
17042 #define HAVE_STRUCT_STATFS_F_FFREE 1
17043 _ACEOF
17047 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17048 #ifdef HAVE_SYS_PARAM_H
17049 # include <sys/param.h>
17050 #endif
17051 #ifdef HAVE_SYS_MOUNT_H
17052 # include <sys/mount.h>
17053 #endif
17054 #ifdef HAVE_SYS_VFS_H
17055 # include <sys/vfs.h>
17056 #endif
17057 #ifdef HAVE_SYS_STATFS_H
17058 # include <sys/statfs.h>
17059 #endif
17061 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17063 cat >>confdefs.h <<_ACEOF
17064 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17065 _ACEOF
17069 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17070 #ifdef HAVE_SYS_PARAM_H
17071 # include <sys/param.h>
17072 #endif
17073 #ifdef HAVE_SYS_MOUNT_H
17074 # include <sys/mount.h>
17075 #endif
17076 #ifdef HAVE_SYS_VFS_H
17077 # include <sys/vfs.h>
17078 #endif
17079 #ifdef HAVE_SYS_STATFS_H
17080 # include <sys/statfs.h>
17081 #endif
17083 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17085 cat >>confdefs.h <<_ACEOF
17086 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17087 _ACEOF
17093 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17094 #include <sys/statvfs.h>
17095 #endif
17097 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17099 cat >>confdefs.h <<_ACEOF
17100 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17101 _ACEOF
17107 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17108 #include <dirent.h>
17109 #endif
17111 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17113 cat >>confdefs.h <<_ACEOF
17114 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17115 _ACEOF
17121 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17122 #ifdef HAVE_SYS_SOCKET_H
17123 # include <sys/socket.h>
17124 #endif
17125 #ifdef HAVE_SYS_UN_H
17126 # include <sys/un.h>
17127 #endif
17129 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17131 cat >>confdefs.h <<_ACEOF
17132 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17133 _ACEOF
17137 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17138 #ifdef HAVE_SYS_SOCKET_H
17139 # include <sys/socket.h>
17140 #endif
17141 #ifdef HAVE_SYS_UN_H
17142 # include <sys/un.h>
17143 #endif
17145 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17147 cat >>confdefs.h <<_ACEOF
17148 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17149 _ACEOF
17153 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17154 #ifdef HAVE_SYS_SOCKET_H
17155 # include <sys/socket.h>
17156 #endif
17157 #ifdef HAVE_SYS_UN_H
17158 # include <sys/un.h>
17159 #endif
17161 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17163 cat >>confdefs.h <<_ACEOF
17164 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17165 _ACEOF
17171 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17172 #ifdef HAVE_SCSI_SG_H
17173 #include <scsi/sg.h>
17174 #endif
17176 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17178 cat >>confdefs.h <<_ACEOF
17179 #define HAVE_SCSIREQ_T_CMD 1
17180 _ACEOF
17184 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>
17185 #ifdef HAVE_SCSI_SG_H
17186 #include <scsi/sg.h>
17187 #endif
17189 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17191 cat >>confdefs.h <<_ACEOF
17192 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17193 _ACEOF
17199 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17201 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17203 cat >>confdefs.h <<_ACEOF
17204 #define HAVE_SIGINFO_T_SI_FD 1
17205 _ACEOF
17211 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17212 #ifdef HAVE_SYS_MTIO_H
17213 #include <sys/mtio.h>
17214 #endif
17216 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17218 cat >>confdefs.h <<_ACEOF
17219 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17220 _ACEOF
17224 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17225 #ifdef HAVE_SYS_MTIO_H
17226 #include <sys/mtio.h>
17227 #endif
17229 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17231 cat >>confdefs.h <<_ACEOF
17232 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17233 _ACEOF
17237 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17238 #ifdef HAVE_SYS_MTIO_H
17239 #include <sys/mtio.h>
17240 #endif
17242 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17244 cat >>confdefs.h <<_ACEOF
17245 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17246 _ACEOF
17252 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17253 #include <getopt.h>
17254 #endif
17256 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17258 cat >>confdefs.h <<_ACEOF
17259 #define HAVE_STRUCT_OPTION_NAME 1
17260 _ACEOF
17266 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17267 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17269 cat >>confdefs.h <<_ACEOF
17270 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17271 _ACEOF
17275 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17276 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17278 cat >>confdefs.h <<_ACEOF
17279 #define HAVE_STRUCT_STAT_ST_MTIM 1
17280 _ACEOF
17284 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17285 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17287 cat >>confdefs.h <<_ACEOF
17288 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17289 _ACEOF
17293 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17294 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17296 cat >>confdefs.h <<_ACEOF
17297 #define HAVE_STRUCT_STAT_ST_CTIM 1
17298 _ACEOF
17302 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17303 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17305 cat >>confdefs.h <<_ACEOF
17306 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17307 _ACEOF
17311 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17312 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17314 cat >>confdefs.h <<_ACEOF
17315 #define HAVE_STRUCT_STAT_ST_ATIM 1
17316 _ACEOF
17320 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17321 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17323 cat >>confdefs.h <<_ACEOF
17324 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17325 _ACEOF
17329 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17330 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17332 cat >>confdefs.h <<_ACEOF
17333 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17334 _ACEOF
17338 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17339 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17341 cat >>confdefs.h <<_ACEOF
17342 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17343 _ACEOF
17347 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17348 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17350 cat >>confdefs.h <<_ACEOF
17351 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17352 _ACEOF
17356 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17357 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17359 cat >>confdefs.h <<_ACEOF
17360 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17361 _ACEOF
17365 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17366 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17368 cat >>confdefs.h <<_ACEOF
17369 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17370 _ACEOF
17376 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
17377 #include <sys/types.h>
17378 #endif
17379 #ifdef HAVE_NETINET_IN_H
17380 #include <netinet/in.h>
17381 #endif
17383 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17385 cat >>confdefs.h <<_ACEOF
17386 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17387 _ACEOF
17393 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17394 #include <sys/types.h>
17395 #endif
17396 #ifdef HAVE_NETINET_IN_H
17397 #include <netinet/in.h>
17398 #endif
17399 #ifdef HAVE_RESOLV_H
17400 #include <resolv.h>
17401 #endif
17403 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17405 cat >>confdefs.h <<_ACEOF
17406 #define HAVE_STRUCT___RES_STATE 1
17407 _ACEOF
17413 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
17414 #include <resolv.h>
17415 #endif
17417 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17419 cat >>confdefs.h <<_ACEOF
17420 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17421 _ACEOF
17427 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17428 #include <sys/types.h>
17429 #endif
17430 #ifdef HAVE_NETINET_IN_H
17431 # include <netinet/in.h>
17432 #endif
17433 #ifdef HAVE_ARPA_NAMESER_H
17434 # include <arpa/nameser.h>
17435 #endif
17437 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17439 cat >>confdefs.h <<_ACEOF
17440 #define HAVE_NS_MSG__MSG_PTR 1
17441 _ACEOF
17447 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17448 #include <sys/types.h>
17449 #endif
17450 #ifdef HAVE_NETINET_IN_H
17451 #include <netinet/in.h>
17452 #endif
17453 #ifdef HAVE_NETINET_IP_H
17454 #include <netinet/ip.h>
17455 #endif
17456 #ifdef HAVE_NETINET_IP_ICMP_H
17457 #include <netinet/ip_icmp.h>
17458 #endif
17459 #ifdef HAVE_NETINET_ICMP_VAR_H
17460 #include <netinet/icmp_var.h>
17461 #endif
17463 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17465 cat >>confdefs.h <<_ACEOF
17466 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17467 _ACEOF
17473 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17474 #include <sys/types.h>
17475 #endif
17476 #ifdef HAVE_ALIAS_H
17477 #include <alias.h>
17478 #endif
17479 #ifdef HAVE_SYS_SOCKET_H
17480 #include <sys/socket.h>
17481 #endif
17482 #ifdef HAVE_SYS_SOCKETVAR_H
17483 #include <sys/socketvar.h>
17484 #endif
17485 #ifdef HAVE_SYS_TIMEOUT_H
17486 #include <sys/timeout.h>
17487 #endif
17488 #ifdef HAVE_NETINET_IN_H
17489 #include <netinet/in.h>
17490 #endif
17491 #ifdef HAVE_NETINET_IN_SYSTM_H
17492 #include <netinet/in_systm.h>
17493 #endif
17494 #ifdef HAVE_NETINET_IP_H
17495 #include <netinet/ip.h>
17496 #endif
17497 #ifdef HAVE_NETINET_IP_VAR_H
17498 #include <netinet/ip_var.h>
17499 #endif
17500 #ifdef HAVE_NETINET_IP_ICMP_H
17501 #include <netinet/ip_icmp.h>
17502 #endif
17503 #ifdef HAVE_NETINET_ICMP_VAR_H
17504 #include <netinet/icmp_var.h>
17505 #endif
17507 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17509 cat >>confdefs.h <<_ACEOF
17510 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17511 _ACEOF
17517 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17518 #include <sys/types.h>
17519 #endif
17520 #ifdef HAVE_SYS_SOCKETVAR_H
17521 #include <sys/socketvar.h>
17522 #endif
17523 #ifdef HAVE_NETINET_IN_H
17524 #include <netinet/in.h>
17525 #endif
17526 #ifdef HAVE_NETINET_IP_VAR_H
17527 #include <netinet/ip_var.h>
17528 #endif
17530 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17532 cat >>confdefs.h <<_ACEOF
17533 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17534 _ACEOF
17540 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
17541 #include <netinet/ip_var.h>
17542 #endif
17544 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17546 cat >>confdefs.h <<_ACEOF
17547 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17548 _ACEOF
17554 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17555 #include <sys/types.h>
17556 #endif
17557 #ifdef HAVE_SYS_SOCKETVAR_H
17558 #include <sys/socketvar.h>
17559 #endif
17560 #ifdef HAVE_NETINET_IN_H
17561 #include <netinet/in.h>
17562 #endif
17563 #ifdef HAVE_NETINET_TCP_H
17564 #include <netinet/tcp.h>
17565 #endif
17566 #ifdef HAVE_NETINET_TCP_VAR_H
17567 #include <netinet/tcp_var.h>
17568 #endif
17570 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17572 cat >>confdefs.h <<_ACEOF
17573 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17574 _ACEOF
17580 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
17581 #include <netinet/tcp_var.h>
17582 #endif
17584 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17586 cat >>confdefs.h <<_ACEOF
17587 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17588 _ACEOF
17594 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17595 #include <sys/types.h>
17596 #endif
17597 #ifdef HAVE_NETINET_IN_H
17598 #include <netinet/in.h>
17599 #endif
17600 #ifdef HAVE_NETINET_IP_VAR_H
17601 #include <netinet/ip_var.h>
17602 #endif
17603 #ifdef HAVE_NETINET_UDP_H
17604 #include <netinet/udp.h>
17605 #endif
17606 #ifdef HAVE_NETINET_UDP_VAR_H
17607 #include <netinet/udp_var.h>
17608 #endif
17610 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17612 cat >>confdefs.h <<_ACEOF
17613 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17614 _ACEOF
17620 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17621 #include <sys/types.h>
17622 #endif
17623 #ifdef HAVE_NET_IF_H
17624 # include <net/if.h>
17625 #endif
17627 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17629 cat >>confdefs.h <<_ACEOF
17630 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17631 _ACEOF
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17638 $as_echo_n "checking for timezone variable... " >&6; }
17639 if ${ac_cv_have_timezone+:} false; then :
17640 $as_echo_n "(cached) " >&6
17641 else
17642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17644 #include <time.h>
17646 main ()
17648 timezone = 1
17650 return 0;
17652 _ACEOF
17653 if ac_fn_c_try_link "$LINENO"; then :
17654 ac_cv_have_timezone="yes"
17655 else
17656 ac_cv_have_timezone="no"
17658 rm -f core conftest.err conftest.$ac_objext \
17659 conftest$ac_exeext conftest.$ac_ext
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17662 $as_echo "$ac_cv_have_timezone" >&6; }
17663 if test "$ac_cv_have_timezone" = "yes"
17664 then
17666 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17670 $as_echo_n "checking for daylight variable... " >&6; }
17671 if ${ac_cv_have_daylight+:} false; then :
17672 $as_echo_n "(cached) " >&6
17673 else
17674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17676 #include <time.h>
17678 main ()
17680 daylight = 1
17682 return 0;
17684 _ACEOF
17685 if ac_fn_c_try_link "$LINENO"; then :
17686 ac_cv_have_daylight="yes"
17687 else
17688 ac_cv_have_daylight="no"
17690 rm -f core conftest.err conftest.$ac_objext \
17691 conftest$ac_exeext conftest.$ac_ext
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17694 $as_echo "$ac_cv_have_daylight" >&6; }
17695 if test "$ac_cv_have_daylight" = "yes"
17696 then
17698 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17702 ac_save_LIBS="$LIBS"
17703 LIBS="$LIBS -lm"
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17705 $as_echo_n "checking for isfinite... " >&6; }
17706 if ${ac_cv_have_isfinite+:} false; then :
17707 $as_echo_n "(cached) " >&6
17708 else
17709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17710 /* end confdefs.h. */
17711 #define _GNU_SOURCE
17712 #include <math.h>
17714 main ()
17716 float f = 0.0; return isfinite(f)
17718 return 0;
17720 _ACEOF
17721 if ac_fn_c_try_link "$LINENO"; then :
17722 ac_cv_have_isfinite="yes"
17723 else
17724 ac_cv_have_isfinite="no"
17726 rm -f core conftest.err conftest.$ac_objext \
17727 conftest$ac_exeext conftest.$ac_ext
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17730 $as_echo "$ac_cv_have_isfinite" >&6; }
17731 if test "$ac_cv_have_isfinite" = "yes"
17732 then
17734 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17739 $as_echo_n "checking for isinf... " >&6; }
17740 if ${ac_cv_have_isinf+:} false; then :
17741 $as_echo_n "(cached) " >&6
17742 else
17743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17745 #include <math.h>
17747 main ()
17749 float f = 0.0; return isinf(f)
17751 return 0;
17753 _ACEOF
17754 if ac_fn_c_try_link "$LINENO"; then :
17755 ac_cv_have_isinf="yes"
17756 else
17757 ac_cv_have_isinf="no"
17759 rm -f core conftest.err conftest.$ac_objext \
17760 conftest$ac_exeext conftest.$ac_ext
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17763 $as_echo "$ac_cv_have_isinf" >&6; }
17764 if test "$ac_cv_have_isinf" = "yes"
17765 then
17767 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17772 $as_echo_n "checking for isnan... " >&6; }
17773 if ${ac_cv_have_isnan+:} false; then :
17774 $as_echo_n "(cached) " >&6
17775 else
17776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17777 /* end confdefs.h. */
17778 #include <math.h>
17780 main ()
17782 float f = 0.0; return isnan(f)
17784 return 0;
17786 _ACEOF
17787 if ac_fn_c_try_link "$LINENO"; then :
17788 ac_cv_have_isnan="yes"
17789 else
17790 ac_cv_have_isnan="no"
17792 rm -f core conftest.err conftest.$ac_objext \
17793 conftest$ac_exeext conftest.$ac_ext
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17796 $as_echo "$ac_cv_have_isnan" >&6; }
17797 if test "$ac_cv_have_isnan" = "yes"
17798 then
17800 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17804 for ac_func in \
17805 acosh \
17806 acoshf \
17807 asinh \
17808 asinhf \
17809 atanh \
17810 atanhf \
17811 cbrt \
17812 cbrtf \
17813 erf \
17814 erfc \
17815 erfcf \
17816 erff \
17817 exp2 \
17818 exp2f \
17819 expm1 \
17820 expm1f \
17821 j0 \
17822 j1 \
17823 jn \
17824 lgamma \
17825 lgammaf \
17826 llrint \
17827 llrintf \
17828 llround \
17829 llroundf \
17830 log1p \
17831 log1pf \
17832 log2 \
17833 log2f \
17834 lrint \
17835 lrintf \
17836 lround \
17837 lroundf \
17838 nearbyint \
17839 nearbyintf \
17840 powl \
17841 remainder \
17842 remainderf \
17843 rint \
17844 rintf \
17845 round \
17846 roundf \
17847 trunc \
17848 truncf \
17849 y0 \
17850 y1 \
17853 do :
17854 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17856 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17857 cat >>confdefs.h <<_ACEOF
17858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17859 _ACEOF
17862 done
17864 LIBS="$ac_save_LIBS"
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17867 $as_echo_n "checking for __builtin_clz... " >&6; }
17868 if ${ac_cv_have___builtin_clz+:} false; then :
17869 $as_echo_n "(cached) " >&6
17870 else
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17875 main ()
17877 return __builtin_clz(1)
17879 return 0;
17881 _ACEOF
17882 if ac_fn_c_try_link "$LINENO"; then :
17883 ac_cv_have___builtin_clz="yes"
17884 else
17885 ac_cv_have___builtin_clz="no"
17887 rm -f core conftest.err conftest.$ac_objext \
17888 conftest$ac_exeext conftest.$ac_ext
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17891 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17892 if test "$ac_cv_have___builtin_clz" = "yes"
17893 then
17895 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17900 $as_echo_n "checking for __builtin_popcount... " >&6; }
17901 if ${ac_cv_have___builtin_popcount+:} false; then :
17902 $as_echo_n "(cached) " >&6
17903 else
17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h. */
17908 main ()
17910 return __builtin_popcount(1)
17912 return 0;
17914 _ACEOF
17915 if ac_fn_c_try_link "$LINENO"; then :
17916 ac_cv_have___builtin_popcount="yes"
17917 else
17918 ac_cv_have___builtin_popcount="no"
17920 rm -f core conftest.err conftest.$ac_objext \
17921 conftest$ac_exeext conftest.$ac_ext
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17924 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17925 if test "$ac_cv_have___builtin_popcount" = "yes"
17926 then
17928 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17933 $as_echo_n "checking for __clear_cache... " >&6; }
17934 if ${ac_cv_have___clear_cache+:} false; then :
17935 $as_echo_n "(cached) " >&6
17936 else
17937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17938 /* end confdefs.h. */
17941 main ()
17943 __clear_cache((void*)0, (void*)0); return 0;
17945 return 0;
17947 _ACEOF
17948 if ac_fn_c_try_link "$LINENO"; then :
17949 ac_cv_have___clear_cache="yes"
17950 else
17951 ac_cv_have___clear_cache="no"
17953 rm -f core conftest.err conftest.$ac_objext \
17954 conftest$ac_exeext conftest.$ac_ext
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17957 $as_echo "$ac_cv_have___clear_cache" >&6; }
17958 if test "$ac_cv_have___clear_cache" = "yes"
17959 then
17961 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17966 case $host_cpu in
17967 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17968 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17969 if ${ac_cv_cpp_def___i386__+:} false; then :
17970 $as_echo_n "(cached) " >&6
17971 else
17972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17973 /* end confdefs.h. */
17974 #ifndef __i386__
17976 #endif
17977 _ACEOF
17978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17979 $EGREP "yes" >/dev/null 2>&1; then :
17980 ac_cv_cpp_def___i386__=yes
17981 else
17982 ac_cv_cpp_def___i386__=no
17984 rm -f conftest*
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17988 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17989 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17990 CFLAGS="$CFLAGS -D__i386__"
17991 LINTFLAGS="$LINTFLAGS -D__i386__"
17992 fi ;;
17993 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17994 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17995 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17996 $as_echo_n "(cached) " >&6
17997 else
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h. */
18000 #ifndef __x86_64__
18002 #endif
18003 _ACEOF
18004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18005 $EGREP "yes" >/dev/null 2>&1; then :
18006 ac_cv_cpp_def___x86_64__=yes
18007 else
18008 ac_cv_cpp_def___x86_64__=no
18010 rm -f conftest*
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18014 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18015 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18016 CFLAGS="$CFLAGS -D__x86_64__"
18017 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18018 fi ;;
18019 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18020 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18021 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18022 $as_echo_n "(cached) " >&6
18023 else
18024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18025 /* end confdefs.h. */
18026 #ifndef __sparc64__
18028 #endif
18029 _ACEOF
18030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18031 $EGREP "yes" >/dev/null 2>&1; then :
18032 ac_cv_cpp_def___sparc64__=yes
18033 else
18034 ac_cv_cpp_def___sparc64__=no
18036 rm -f conftest*
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18040 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18041 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18042 CFLAGS="$CFLAGS -D__sparc64__"
18043 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18044 fi ;;
18045 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18046 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18047 if ${ac_cv_cpp_def___sparc__+:} false; then :
18048 $as_echo_n "(cached) " >&6
18049 else
18050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18051 /* end confdefs.h. */
18052 #ifndef __sparc__
18054 #endif
18055 _ACEOF
18056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18057 $EGREP "yes" >/dev/null 2>&1; then :
18058 ac_cv_cpp_def___sparc__=yes
18059 else
18060 ac_cv_cpp_def___sparc__=no
18062 rm -f conftest*
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18066 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18067 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18068 CFLAGS="$CFLAGS -D__sparc__"
18069 LINTFLAGS="$LINTFLAGS -D__sparc__"
18070 fi ;;
18071 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18072 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18073 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18074 $as_echo_n "(cached) " >&6
18075 else
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h. */
18078 #ifndef __powerpc64__
18080 #endif
18081 _ACEOF
18082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18083 $EGREP "yes" >/dev/null 2>&1; then :
18084 ac_cv_cpp_def___powerpc64__=yes
18085 else
18086 ac_cv_cpp_def___powerpc64__=no
18088 rm -f conftest*
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18092 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18093 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18094 CFLAGS="$CFLAGS -D__powerpc64__"
18095 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18096 fi ;;
18097 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18098 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18099 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18100 $as_echo_n "(cached) " >&6
18101 else
18102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18103 /* end confdefs.h. */
18104 #ifndef __powerpc__
18106 #endif
18107 _ACEOF
18108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18109 $EGREP "yes" >/dev/null 2>&1; then :
18110 ac_cv_cpp_def___powerpc__=yes
18111 else
18112 ac_cv_cpp_def___powerpc__=no
18114 rm -f conftest*
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18118 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18119 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18120 CFLAGS="$CFLAGS -D__powerpc__"
18121 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18122 fi ;;
18123 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18124 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18125 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18126 $as_echo_n "(cached) " >&6
18127 else
18128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18129 /* end confdefs.h. */
18130 #ifndef __aarch64__
18132 #endif
18133 _ACEOF
18134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18135 $EGREP "yes" >/dev/null 2>&1; then :
18136 ac_cv_cpp_def___aarch64__=yes
18137 else
18138 ac_cv_cpp_def___aarch64__=no
18140 rm -f conftest*
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18144 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18145 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18146 CFLAGS="$CFLAGS -D__aarch64__"
18147 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18148 fi ;;
18149 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18150 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18151 if ${ac_cv_cpp_def___arm__+:} false; then :
18152 $as_echo_n "(cached) " >&6
18153 else
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #ifndef __arm__
18158 #endif
18159 _ACEOF
18160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18161 $EGREP "yes" >/dev/null 2>&1; then :
18162 ac_cv_cpp_def___arm__=yes
18163 else
18164 ac_cv_cpp_def___arm__=no
18166 rm -f conftest*
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18170 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18171 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18172 CFLAGS="$CFLAGS -D__arm__"
18173 LINTFLAGS="$LINTFLAGS -D__arm__"
18174 fi ;;
18175 esac
18177 case $host_vendor in
18178 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18179 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18180 if ${ac_cv_cpp_def___sun__+:} false; then :
18181 $as_echo_n "(cached) " >&6
18182 else
18183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18184 /* end confdefs.h. */
18185 #ifndef __sun__
18187 #endif
18188 _ACEOF
18189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18190 $EGREP "yes" >/dev/null 2>&1; then :
18191 ac_cv_cpp_def___sun__=yes
18192 else
18193 ac_cv_cpp_def___sun__=no
18195 rm -f conftest*
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18199 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18200 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18201 CFLAGS="$CFLAGS -D__sun__"
18202 LINTFLAGS="$LINTFLAGS -D__sun__"
18203 fi ;;
18204 esac
18210 ac_config_commands="$ac_config_commands include/stamp-h"
18212 $as_echo_n "creating Makefile rules..." >&6
18214 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18215 SOCKET_LIBS = $SOCKET_LIBS
18216 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18217 IOKIT_LIBS = $IOKIT_LIBS
18218 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18219 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18220 CORESERVICES_LIBS = $CORESERVICES_LIBS
18221 APPKIT_LIBS = $APPKIT_LIBS
18222 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18223 SECURITY_LIBS = $SECURITY_LIBS
18224 COREAUDIO_LIBS = $COREAUDIO_LIBS
18225 OPENAL_LIBS = $OPENAL_LIBS
18226 OPENCL_LIBS = $OPENCL_LIBS
18227 QUICKTIME_LIBS = $QUICKTIME_LIBS
18228 CARBON_LIBS = $CARBON_LIBS
18229 PTHREAD_LIBS = $PTHREAD_LIBS
18230 X_CFLAGS = $X_CFLAGS
18231 X_PRE_LIBS = $X_PRE_LIBS
18232 X_LIBS = $X_LIBS
18233 X_EXTRA_LIBS = $X_EXTRA_LIBS
18234 PCAP_LIBS = $PCAP_LIBS
18235 XML2_CFLAGS = $XML2_CFLAGS
18236 XML2_LIBS = $XML2_LIBS
18237 XSLT_CFLAGS = $XSLT_CFLAGS
18238 XSLT_LIBS = $XSLT_LIBS
18239 DBUS_CFLAGS = $DBUS_CFLAGS
18240 DBUS_LIBS = $DBUS_LIBS
18241 HAL_CFLAGS = $HAL_CFLAGS
18242 HAL_LIBS = $HAL_LIBS
18243 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18244 GNUTLS_LIBS = $GNUTLS_LIBS
18245 SANE_CFLAGS = $SANE_CFLAGS
18246 SANE_LIBS = $SANE_LIBS
18247 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18248 GPHOTO2_LIBS = $GPHOTO2_LIBS
18249 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18250 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18251 RESOLV_LIBS = $RESOLV_LIBS
18252 LCMS2_CFLAGS = $LCMS2_CFLAGS
18253 LCMS2_LIBS = $LCMS2_LIBS
18254 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18255 FREETYPE_LIBS = $FREETYPE_LIBS
18256 Z_LIBS = $Z_LIBS
18257 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18258 PULSE_CFLAGS = $PULSE_CFLAGS
18259 PULSE_LIBS = $PULSE_LIBS
18260 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18261 GSTREAMER_LIBS = $GSTREAMER_LIBS
18262 ALSA_LIBS = $ALSA_LIBS
18263 OSS4_CFLAGS = $OSS4_CFLAGS
18264 UDEV_CFLAGS = $UDEV_CFLAGS
18265 UDEV_LIBS = $UDEV_LIBS
18266 SDL2_CFLAGS = $SDL2_CFLAGS
18267 SDL2_LIBS = $SDL2_LIBS
18268 CAPI20_CFLAGS = $CAPI20_CFLAGS
18269 CAPI20_LIBS = $CAPI20_LIBS
18270 CUPS_CFLAGS = $CUPS_CFLAGS
18271 CUPS_LIBS = $CUPS_LIBS
18272 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18273 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18274 KRB5_CFLAGS = $KRB5_CFLAGS
18275 KRB5_LIBS = $KRB5_LIBS
18276 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18277 GSSAPI_LIBS = $GSSAPI_LIBS
18278 JPEG_CFLAGS = $JPEG_CFLAGS
18279 JPEG_LIBS = $JPEG_LIBS
18280 PNG_CFLAGS = $PNG_CFLAGS
18281 PNG_LIBS = $PNG_LIBS
18282 TIFF_CFLAGS = $TIFF_CFLAGS
18283 TIFF_LIBS = $TIFF_LIBS
18284 MPG123_CFLAGS = $MPG123_CFLAGS
18285 MPG123_LIBS = $MPG123_LIBS
18286 KSTAT_LIBS = $KSTAT_LIBS
18287 PROCSTAT_LIBS = $PROCSTAT_LIBS
18288 NETAPI_CFLAGS = $NETAPI_CFLAGS
18289 NETAPI_LIBS = $NETAPI_LIBS
18290 VKD3D_CFLAGS = $VKD3D_CFLAGS
18291 VKD3D_LIBS = $VKD3D_LIBS
18292 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18293 DL_LIBS = $DL_LIBS
18294 POLL_LIBS = $POLL_LIBS
18295 RT_LIBS = $RT_LIBS
18296 LDAP_CFLAGS = $LDAP_CFLAGS
18297 LDAP_LIBS = $LDAP_LIBS
18302 wine_fn_append_rule "
18303 # Rules automatically generated by configure
18305 .INIT: Makefile
18306 .MAKEFILEDEPS:
18307 all: Makefile
18308 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18309 @./config.status Make.tmp Makefile
18310 depend: \$(MAKEDEP) dummy
18311 \$(MAKEDEP)"
18313 if test "x$enable_fonts" != xno; then
18314 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18315 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18316 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18317 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18318 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18319 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18321 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18322 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18323 ac_config_links="$ac_config_links wine:tools/winewrapper"
18324 wine_fn_config_symlink wine
18325 if test "x$enable_win64" != xno; then
18326 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18327 wine_fn_config_symlink wine64
18330 wine_fn_config_makefile dlls/acledit enable_acledit
18331 wine_fn_config_makefile dlls/aclui enable_aclui
18332 wine_fn_config_makefile dlls/activeds enable_activeds
18333 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18334 wine_fn_config_makefile dlls/adsiid enable_adsiid
18335 wine_fn_config_makefile dlls/adsldp enable_adsldp
18336 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18337 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18338 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18339 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18340 wine_fn_config_makefile dlls/advpack enable_advpack
18341 wine_fn_config_makefile dlls/advpack/tests enable_tests
18342 wine_fn_config_makefile dlls/amstream enable_amstream
18343 wine_fn_config_makefile dlls/amstream/tests enable_tests
18344 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18346 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18347 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18349 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18354 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18361 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18363 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18365 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18367 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18368 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18369 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18370 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18371 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18372 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18373 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18374 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18375 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18376 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18377 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18378 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18380 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18381 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18383 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18384 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18385 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18386 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18387 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18388 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18389 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18390 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18391 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18392 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18393 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18394 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18395 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18396 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18397 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18398 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18399 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18400 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18401 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18402 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18403 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18404 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18405 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18406 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18407 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18408 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18409 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18410 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18411 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18412 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18413 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18414 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18415 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18416 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18417 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18418 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18419 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18420 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18421 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18422 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18423 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18424 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18425 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18426 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18427 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18428 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18429 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18430 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18431 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18432 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18433 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18434 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18435 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18436 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18437 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18438 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18439 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18440 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18441 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18442 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18443 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18444 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18445 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18446 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18447 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18448 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18449 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18450 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18451 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18452 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18453 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18454 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18455 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18456 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18457 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18458 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18459 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18460 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18461 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18462 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18463 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18464 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18465 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18466 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18467 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18468 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18469 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18470 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18471 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18472 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18473 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18474 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18475 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18476 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18477 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18478 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18479 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18480 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18481 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18482 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18483 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18484 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18485 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18486 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18487 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18488 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18489 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18490 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18491 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18492 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18493 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18494 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18495 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18496 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18497 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18498 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18499 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18500 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18501 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18502 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18503 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18504 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18505 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18506 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18507 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18508 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18509 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18510 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18511 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18512 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18513 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18514 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18515 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18516 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18517 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18518 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18519 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18520 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18521 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18522 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18523 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18524 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18525 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18526 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18527 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18528 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18529 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18530 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18531 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18532 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18533 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18534 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18535 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18536 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18537 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18538 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18539 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18540 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18541 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18542 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18543 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18544 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18545 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18546 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18547 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18548 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18549 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18550 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18551 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18552 wine_fn_config_makefile dlls/apphelp enable_apphelp
18553 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18554 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18555 wine_fn_config_makefile dlls/atl enable_atl
18556 wine_fn_config_makefile dlls/atl/tests enable_tests
18557 wine_fn_config_makefile dlls/atl100 enable_atl100
18558 wine_fn_config_makefile dlls/atl100/tests enable_tests
18559 wine_fn_config_makefile dlls/atl110 enable_atl110
18560 wine_fn_config_makefile dlls/atl80 enable_atl80
18561 wine_fn_config_makefile dlls/atl80/tests enable_tests
18562 wine_fn_config_makefile dlls/atl90 enable_atl90
18563 wine_fn_config_makefile dlls/atmlib enable_atmlib
18564 wine_fn_config_makefile dlls/authz enable_authz
18565 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18566 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18567 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18568 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18569 wine_fn_config_makefile dlls/avrt enable_avrt
18570 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18571 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18572 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18573 wine_fn_config_makefile dlls/browseui enable_browseui
18574 wine_fn_config_makefile dlls/browseui/tests enable_tests
18575 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18576 wine_fn_config_makefile dlls/cabinet enable_cabinet
18577 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18578 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18579 wine_fn_config_makefile dlls/cards enable_cards
18580 wine_fn_config_makefile dlls/cdosys enable_cdosys
18581 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18582 wine_fn_config_makefile dlls/clusapi enable_clusapi
18583 wine_fn_config_makefile dlls/combase enable_combase
18584 wine_fn_config_makefile dlls/combase/tests enable_tests
18585 wine_fn_config_makefile dlls/comcat enable_comcat
18586 wine_fn_config_makefile dlls/comcat/tests enable_tests
18587 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18588 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18589 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18590 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18591 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18592 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18593 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18594 wine_fn_config_makefile dlls/compstui enable_compstui
18595 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18596 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18597 wine_fn_config_makefile dlls/connect enable_connect
18598 wine_fn_config_makefile dlls/credui enable_credui
18599 wine_fn_config_makefile dlls/credui/tests enable_tests
18600 wine_fn_config_makefile dlls/crtdll enable_crtdll
18601 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18602 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18603 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18604 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18605 wine_fn_config_makefile dlls/cryptext enable_cryptext
18606 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18607 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18608 wine_fn_config_makefile dlls/cryptui enable_cryptui
18609 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18610 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18611 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18612 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18613 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18614 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18615 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18616 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18617 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18618 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18619 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18620 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18621 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18622 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18623 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18624 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18625 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18626 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18627 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18628 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18629 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18630 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18631 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18632 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18633 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18634 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18635 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18636 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18637 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18638 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18639 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18640 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18641 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18642 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18643 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18644 wine_fn_config_makefile dlls/d3dim enable_d3dim
18645 wine_fn_config_makefile dlls/d3drm enable_d3drm
18646 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18647 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18648 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18649 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18650 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18651 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18652 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18653 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18654 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18655 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18656 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18657 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18658 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18659 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18660 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18661 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18662 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18663 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18664 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18665 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18666 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18667 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18668 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18669 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18670 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18671 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18672 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18673 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18674 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18675 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18676 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18677 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18678 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18679 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18680 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18681 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18682 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18683 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18684 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18685 wine_fn_config_makefile dlls/davclnt enable_davclnt
18686 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18687 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18688 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18689 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18690 wine_fn_config_makefile dlls/ddraw enable_ddraw
18691 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18692 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18693 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18694 wine_fn_config_makefile dlls/devenum enable_devenum
18695 wine_fn_config_makefile dlls/devenum/tests enable_tests
18696 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18697 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18698 wine_fn_config_makefile dlls/difxapi enable_difxapi
18699 wine_fn_config_makefile dlls/dinput enable_dinput
18700 wine_fn_config_makefile dlls/dinput/tests enable_tests
18701 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18702 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18703 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18704 wine_fn_config_makefile dlls/dispex enable_dispex
18705 wine_fn_config_makefile dlls/dispex/tests enable_tests
18706 wine_fn_config_makefile dlls/display.drv16 enable_win16
18707 wine_fn_config_makefile dlls/dmband enable_dmband
18708 wine_fn_config_makefile dlls/dmband/tests enable_tests
18709 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18710 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18711 wine_fn_config_makefile dlls/dmime enable_dmime
18712 wine_fn_config_makefile dlls/dmime/tests enable_tests
18713 wine_fn_config_makefile dlls/dmloader enable_dmloader
18714 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18715 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
18716 wine_fn_config_makefile dlls/dmscript enable_dmscript
18717 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18718 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18719 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18720 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18721 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18722 wine_fn_config_makefile dlls/dmusic enable_dmusic
18723 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18724 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18725 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18726 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18727 wine_fn_config_makefile dlls/dplay enable_dplay
18728 wine_fn_config_makefile dlls/dplayx enable_dplayx
18729 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18730 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18731 wine_fn_config_makefile dlls/dpnet enable_dpnet
18732 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18733 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18734 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18735 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18736 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18737 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18738 wine_fn_config_makefile dlls/drmclien enable_drmclien
18739 wine_fn_config_makefile dlls/dsound enable_dsound
18740 wine_fn_config_makefile dlls/dsound/tests enable_tests
18741 wine_fn_config_makefile dlls/dsquery enable_dsquery
18742 wine_fn_config_makefile dlls/dssenh enable_dssenh
18743 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18744 wine_fn_config_makefile dlls/dswave enable_dswave
18745 wine_fn_config_makefile dlls/dswave/tests enable_tests
18746 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18747 wine_fn_config_makefile dlls/dwrite enable_dwrite
18748 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18749 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18750 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18751 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18752 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18753 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18754 wine_fn_config_makefile dlls/dxgi enable_dxgi
18755 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18756 wine_fn_config_makefile dlls/dxguid enable_dxguid
18757 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18758 wine_fn_config_makefile dlls/esent enable_esent
18759 wine_fn_config_makefile dlls/evr enable_evr
18760 wine_fn_config_makefile dlls/evr/tests enable_tests
18761 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18762 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18763 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18764 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18765 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18766 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18767 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18768 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18769 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18770 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18771 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18772 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18773 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18774 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18775 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18776 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18777 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18778 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18779 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18780 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18781 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18782 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18783 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18784 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18785 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18786 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18787 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18788 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18789 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18790 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18791 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18792 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
18793 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18794 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18795 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18796 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18797 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18798 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18799 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18800 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
18801 wine_fn_config_makefile dlls/faultrep enable_faultrep
18802 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18803 wine_fn_config_makefile dlls/feclient enable_feclient
18804 wine_fn_config_makefile dlls/fltlib enable_fltlib
18805 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18806 wine_fn_config_makefile dlls/fntcache enable_fntcache
18807 wine_fn_config_makefile dlls/fontsub enable_fontsub
18808 wine_fn_config_makefile dlls/fusion enable_fusion
18809 wine_fn_config_makefile dlls/fusion/tests enable_tests
18810 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18811 wine_fn_config_makefile dlls/gameux enable_gameux
18812 wine_fn_config_makefile dlls/gameux/tests enable_tests
18813 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18814 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18815 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18816 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18817 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18818 wine_fn_config_makefile dlls/glu32 enable_glu32
18819 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18820 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18821 wine_fn_config_makefile dlls/hal enable_hal
18822 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18823 wine_fn_config_makefile dlls/hid enable_hid
18824 wine_fn_config_makefile dlls/hid/tests enable_tests
18825 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18826 wine_fn_config_makefile dlls/hlink enable_hlink
18827 wine_fn_config_makefile dlls/hlink/tests enable_tests
18828 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18829 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18830 wine_fn_config_makefile dlls/httpapi enable_httpapi
18831 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18832 wine_fn_config_makefile dlls/iccvid enable_iccvid
18833 wine_fn_config_makefile dlls/icmp enable_icmp
18834 wine_fn_config_makefile dlls/ieframe enable_ieframe
18835 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18836 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18837 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18838 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18839 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18840 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18841 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18842 wine_fn_config_makefile dlls/imm32 enable_imm32
18843 wine_fn_config_makefile dlls/imm32/tests enable_tests
18844 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18845 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18846 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18847 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18848 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18849 wine_fn_config_makefile dlls/infosoft enable_infosoft
18850 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18851 wine_fn_config_makefile dlls/initpki enable_initpki
18852 wine_fn_config_makefile dlls/inkobj enable_inkobj
18853 wine_fn_config_makefile dlls/inseng enable_inseng
18854 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18855 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18856 wine_fn_config_makefile dlls/iprop enable_iprop
18857 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18858 wine_fn_config_makefile dlls/itircl enable_itircl
18859 wine_fn_config_makefile dlls/itss enable_itss
18860 wine_fn_config_makefile dlls/itss/tests enable_tests
18861 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18862 wine_fn_config_makefile dlls/jscript enable_jscript
18863 wine_fn_config_makefile dlls/jscript/tests enable_tests
18864 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18865 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18866 wine_fn_config_makefile dlls/kerberos enable_kerberos
18867 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18868 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18869 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18870 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18871 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18872 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18873 wine_fn_config_makefile dlls/ksuser enable_ksuser
18874 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18875 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18876 wine_fn_config_makefile dlls/loadperf enable_loadperf
18877 wine_fn_config_makefile dlls/localspl enable_localspl
18878 wine_fn_config_makefile dlls/localspl/tests enable_tests
18879 wine_fn_config_makefile dlls/localui enable_localui
18880 wine_fn_config_makefile dlls/localui/tests enable_tests
18881 wine_fn_config_makefile dlls/lz32 enable_lz32
18882 wine_fn_config_makefile dlls/lz32/tests enable_tests
18883 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18884 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18885 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18886 wine_fn_config_makefile dlls/mapistub enable_mapistub
18887 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18888 wine_fn_config_makefile dlls/mcicda enable_mcicda
18889 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18890 wine_fn_config_makefile dlls/mciseq enable_mciseq
18891 wine_fn_config_makefile dlls/mciwave enable_mciwave
18892 wine_fn_config_makefile dlls/mf enable_mf
18893 wine_fn_config_makefile dlls/mf/tests enable_tests
18894 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18895 wine_fn_config_makefile dlls/mfplat enable_mfplat
18896 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18897 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18898 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18899 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18900 wine_fn_config_makefile dlls/midimap enable_midimap
18901 wine_fn_config_makefile dlls/mlang enable_mlang
18902 wine_fn_config_makefile dlls/mlang/tests enable_tests
18903 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18904 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18905 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18906 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18907 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18908 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18909 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18910 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18911 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18912 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
18913 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
18914 wine_fn_config_makefile dlls/mpr enable_mpr
18915 wine_fn_config_makefile dlls/mpr/tests enable_tests
18916 wine_fn_config_makefile dlls/mprapi enable_mprapi
18917 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18918 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18919 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18920 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18921 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18922 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18923 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18924 wine_fn_config_makefile dlls/mscms enable_mscms
18925 wine_fn_config_makefile dlls/mscms/tests enable_tests
18926 wine_fn_config_makefile dlls/mscoree enable_mscoree
18927 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18928 wine_fn_config_makefile dlls/msctf enable_msctf
18929 wine_fn_config_makefile dlls/msctf/tests enable_tests
18930 wine_fn_config_makefile dlls/msctfp enable_msctfp
18931 wine_fn_config_makefile dlls/msdaps enable_msdaps
18932 wine_fn_config_makefile dlls/msdelta enable_msdelta
18933 wine_fn_config_makefile dlls/msdmo enable_msdmo
18934 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18935 wine_fn_config_makefile dlls/msdrm enable_msdrm
18936 wine_fn_config_makefile dlls/msftedit enable_msftedit
18937 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18938 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18939 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18940 wine_fn_config_makefile dlls/mshtml enable_mshtml
18941 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18942 wine_fn_config_makefile dlls/msi enable_msi
18943 wine_fn_config_makefile dlls/msi/tests enable_tests
18944 wine_fn_config_makefile dlls/msident enable_msident
18945 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18946 wine_fn_config_makefile dlls/msimsg enable_msimsg
18947 wine_fn_config_makefile dlls/msimtf enable_msimtf
18948 wine_fn_config_makefile dlls/msisip enable_msisip
18949 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18950 wine_fn_config_makefile dlls/msls31 enable_msls31
18951 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18952 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18953 wine_fn_config_makefile dlls/msports enable_msports
18954 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18955 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18956 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18957 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18958 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18959 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18960 wine_fn_config_makefile dlls/mstask enable_mstask
18961 wine_fn_config_makefile dlls/mstask/tests enable_tests
18962 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18963 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18964 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18965 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18966 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18967 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18968 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18969 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18970 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18971 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18972 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18973 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18974 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18975 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18976 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18977 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18978 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18979 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18980 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18981 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18982 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18983 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18984 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18985 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
18986 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18987 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18988 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18989 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18990 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18991 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18992 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18993 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18994 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18995 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18996 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18997 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18998 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18999 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19000 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19001 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19002 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19003 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19004 wine_fn_config_makefile dlls/mswsock enable_mswsock
19005 wine_fn_config_makefile dlls/msxml enable_msxml
19006 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19007 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19008 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19009 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19010 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19011 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19012 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19013 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19014 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19015 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19016 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19017 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19018 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19019 wine_fn_config_makefile dlls/netprofm enable_netprofm
19020 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19021 wine_fn_config_makefile dlls/newdev enable_newdev
19022 wine_fn_config_makefile dlls/ninput enable_ninput
19023 wine_fn_config_makefile dlls/normaliz enable_normaliz
19024 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19025 wine_fn_config_makefile dlls/npptools enable_npptools
19026 wine_fn_config_makefile dlls/ntdll enable_ntdll
19027 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19028 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19029 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19030 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19031 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19032 wine_fn_config_makefile dlls/ntprint enable_ntprint
19033 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19034 wine_fn_config_makefile dlls/objsel enable_objsel
19035 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19036 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19037 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19038 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19039 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19040 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19041 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19042 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19043 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19044 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19045 wine_fn_config_makefile dlls/ole32 enable_ole32
19046 wine_fn_config_makefile dlls/ole32/tests enable_tests
19047 wine_fn_config_makefile dlls/oleacc enable_oleacc
19048 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19049 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19050 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19051 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19052 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19053 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19054 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19055 wine_fn_config_makefile dlls/oledlg enable_oledlg
19056 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19057 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19058 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19059 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19060 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19061 wine_fn_config_makefile dlls/openal32 enable_openal32
19062 wine_fn_config_makefile dlls/opencl enable_opencl
19063 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19064 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19065 wine_fn_config_makefile dlls/packager enable_packager
19066 wine_fn_config_makefile dlls/packager/tests enable_tests
19067 wine_fn_config_makefile dlls/pdh enable_pdh
19068 wine_fn_config_makefile dlls/pdh/tests enable_tests
19069 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19070 wine_fn_config_makefile dlls/pidgen enable_pidgen
19071 wine_fn_config_makefile dlls/powrprof enable_powrprof
19072 wine_fn_config_makefile dlls/printui enable_printui
19073 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19074 wine_fn_config_makefile dlls/propsys enable_propsys
19075 wine_fn_config_makefile dlls/propsys/tests enable_tests
19076 wine_fn_config_makefile dlls/psapi enable_psapi
19077 wine_fn_config_makefile dlls/psapi/tests enable_tests
19078 wine_fn_config_makefile dlls/pstorec enable_pstorec
19079 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19080 wine_fn_config_makefile dlls/qcap enable_qcap
19081 wine_fn_config_makefile dlls/qcap/tests enable_tests
19082 wine_fn_config_makefile dlls/qedit enable_qedit
19083 wine_fn_config_makefile dlls/qedit/tests enable_tests
19084 wine_fn_config_makefile dlls/qmgr enable_qmgr
19085 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19086 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19087 wine_fn_config_makefile dlls/quartz enable_quartz
19088 wine_fn_config_makefile dlls/quartz/tests enable_tests
19089 wine_fn_config_makefile dlls/query enable_query
19090 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19091 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19092 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19093 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19094 wine_fn_config_makefile dlls/regapi enable_regapi
19095 wine_fn_config_makefile dlls/resutils enable_resutils
19096 wine_fn_config_makefile dlls/riched20 enable_riched20
19097 wine_fn_config_makefile dlls/riched20/tests enable_tests
19098 wine_fn_config_makefile dlls/riched32 enable_riched32
19099 wine_fn_config_makefile dlls/riched32/tests enable_tests
19100 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19101 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19102 wine_fn_config_makefile dlls/rsabase enable_rsabase
19103 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19104 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19105 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19106 wine_fn_config_makefile dlls/rtutils enable_rtutils
19107 wine_fn_config_makefile dlls/samlib enable_samlib
19108 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19109 wine_fn_config_makefile dlls/sapi enable_sapi
19110 wine_fn_config_makefile dlls/sapi/tests enable_tests
19111 wine_fn_config_makefile dlls/sas enable_sas
19112 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19113 wine_fn_config_makefile dlls/sccbase enable_sccbase
19114 wine_fn_config_makefile dlls/schannel enable_schannel
19115 wine_fn_config_makefile dlls/schannel/tests enable_tests
19116 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19117 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19118 wine_fn_config_makefile dlls/scrobj enable_scrobj
19119 wine_fn_config_makefile dlls/scrrun enable_scrrun
19120 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19121 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19122 wine_fn_config_makefile dlls/secur32 enable_secur32
19123 wine_fn_config_makefile dlls/secur32/tests enable_tests
19124 wine_fn_config_makefile dlls/security enable_security
19125 wine_fn_config_makefile dlls/sensapi enable_sensapi
19126 wine_fn_config_makefile dlls/serialui enable_serialui
19127 wine_fn_config_makefile dlls/serialui/tests enable_tests
19128 wine_fn_config_makefile dlls/setupapi enable_setupapi
19129 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19130 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19131 wine_fn_config_makefile dlls/sfc enable_sfc
19132 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19133 wine_fn_config_makefile dlls/shcore enable_shcore
19134 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19135 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19136 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19137 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19138 wine_fn_config_makefile dlls/shell32 enable_shell32
19139 wine_fn_config_makefile dlls/shell32/tests enable_tests
19140 wine_fn_config_makefile dlls/shfolder enable_shfolder
19141 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19142 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19143 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19144 wine_fn_config_makefile dlls/slc enable_slc
19145 wine_fn_config_makefile dlls/slc/tests enable_tests
19146 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19147 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19148 wine_fn_config_makefile dlls/softpub enable_softpub
19149 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19150 wine_fn_config_makefile dlls/spoolss enable_spoolss
19151 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19152 wine_fn_config_makefile dlls/srclient enable_srclient
19153 wine_fn_config_makefile dlls/sspicli enable_sspicli
19154 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19155 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19156 wine_fn_config_makefile dlls/sti enable_sti
19157 wine_fn_config_makefile dlls/sti/tests enable_tests
19158 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19159 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19160 wine_fn_config_makefile dlls/strmbase enable_strmbase
19161 wine_fn_config_makefile dlls/strmdll enable_strmdll
19162 wine_fn_config_makefile dlls/strmiids enable_strmiids
19163 wine_fn_config_makefile dlls/svrapi enable_svrapi
19164 wine_fn_config_makefile dlls/sxs enable_sxs
19165 wine_fn_config_makefile dlls/sxs/tests enable_tests
19166 wine_fn_config_makefile dlls/system.drv16 enable_win16
19167 wine_fn_config_makefile dlls/t2embed enable_t2embed
19168 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19169 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19170 wine_fn_config_makefile dlls/taskschd enable_taskschd
19171 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19172 wine_fn_config_makefile dlls/tdh enable_tdh
19173 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19174 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19175 wine_fn_config_makefile dlls/traffic enable_traffic
19176 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19177 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19178 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19179 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19180 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19181 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19182 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19183 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19184 wine_fn_config_makefile dlls/unicows enable_unicows
19185 wine_fn_config_makefile dlls/updspapi enable_updspapi
19186 wine_fn_config_makefile dlls/url enable_url
19187 wine_fn_config_makefile dlls/urlmon enable_urlmon
19188 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19189 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19190 wine_fn_config_makefile dlls/user.exe16 enable_win16
19191 wine_fn_config_makefile dlls/user32 enable_user32
19192 wine_fn_config_makefile dlls/user32/tests enable_tests
19193 wine_fn_config_makefile dlls/userenv enable_userenv
19194 wine_fn_config_makefile dlls/userenv/tests enable_tests
19195 wine_fn_config_makefile dlls/usp10 enable_usp10
19196 wine_fn_config_makefile dlls/usp10/tests enable_tests
19197 wine_fn_config_makefile dlls/uuid enable_uuid
19198 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19199 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19200 wine_fn_config_makefile dlls/vbscript enable_vbscript
19201 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19202 wine_fn_config_makefile dlls/vcomp enable_vcomp
19203 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19204 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19205 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19206 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19207 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19208 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19209 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19210 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19211 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19212 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19213 wine_fn_config_makefile dlls/version enable_version
19214 wine_fn_config_makefile dlls/version/tests enable_tests
19215 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19216 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19217 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19218 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19219 wine_fn_config_makefile dlls/vssapi enable_vssapi
19220 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19221 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19222 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19223 wine_fn_config_makefile dlls/w32skrnl enable_win16
19224 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19225 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19226 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19227 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19228 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19229 wine_fn_config_makefile dlls/wdscore enable_wdscore
19230 wine_fn_config_makefile dlls/webservices enable_webservices
19231 wine_fn_config_makefile dlls/webservices/tests enable_tests
19232 wine_fn_config_makefile dlls/wer enable_wer
19233 wine_fn_config_makefile dlls/wer/tests enable_tests
19234 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19235 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19236 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19237 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19238 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19239 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19240 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19241 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19242 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19243 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19244 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19245 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19246 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19247 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19248 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19249 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19250 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19251 wine_fn_config_makefile dlls/wined3d enable_wined3d
19252 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19253 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19254 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19255 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19256 wine_fn_config_makefile dlls/winemapi enable_winemapi
19257 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19258 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19259 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19260 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19261 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19262 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19263 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19264 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19265 wine_fn_config_makefile dlls/wing32 enable_wing32
19266 wine_fn_config_makefile dlls/winhttp enable_winhttp
19267 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19268 wine_fn_config_makefile dlls/wininet enable_wininet
19269 wine_fn_config_makefile dlls/wininet/tests enable_tests
19270 wine_fn_config_makefile dlls/winmm enable_winmm
19271 wine_fn_config_makefile dlls/winmm/tests enable_tests
19272 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19273 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19274 wine_fn_config_makefile dlls/winscard enable_winscard
19275 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19276 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19277 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19278 wine_fn_config_makefile dlls/winsta enable_winsta
19279 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19280 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19281 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19282 wine_fn_config_makefile dlls/wintrust enable_wintrust
19283 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19284 wine_fn_config_makefile dlls/winusb enable_winusb
19285 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19286 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19287 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19288 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19289 wine_fn_config_makefile dlls/wmasf enable_wmasf
19290 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19291 wine_fn_config_makefile dlls/wmi enable_wmi
19292 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19293 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19294 wine_fn_config_makefile dlls/wmp enable_wmp
19295 wine_fn_config_makefile dlls/wmp/tests enable_tests
19296 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19297 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19298 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19299 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19300 wine_fn_config_makefile dlls/wow32 enable_win16
19301 wine_fn_config_makefile dlls/wpc enable_wpc
19302 wine_fn_config_makefile dlls/wpc/tests enable_tests
19303 wine_fn_config_makefile dlls/wpcap enable_wpcap
19304 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19305 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19306 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19307 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19308 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19309 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19310 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19311 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19312 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19313 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19314 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19315 wine_fn_config_makefile dlls/wuapi enable_wuapi
19316 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19317 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19318 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19319 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19320 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19321 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19322 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19323 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19324 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19325 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19326 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19327 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19328 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19329 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19330 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19331 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19332 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19333 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19334 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19335 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19336 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19337 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19338 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19339 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19340 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19341 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19342 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19343 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19344 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19345 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19346 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19347 wine_fn_config_makefile dlls/xmllite enable_xmllite
19348 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19349 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19350 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19351 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19352 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19353 wine_fn_config_makefile include enable_include
19354 wine_fn_config_makefile libs/port enable_port
19355 wine_fn_config_makefile libs/wine enable_wine
19356 wine_fn_config_makefile libs/wpp enable_wpp
19357 wine_fn_config_makefile loader enable_loader
19358 wine_fn_config_makefile po enable_po
19359 wine_fn_config_makefile programs/arp enable_arp
19360 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19361 wine_fn_config_makefile programs/attrib enable_attrib
19362 wine_fn_config_makefile programs/cabarc enable_cabarc
19363 wine_fn_config_makefile programs/cacls enable_cacls
19364 wine_fn_config_makefile programs/clock enable_clock
19365 wine_fn_config_makefile programs/cmd enable_cmd
19366 wine_fn_config_makefile programs/cmd/tests enable_tests
19367 wine_fn_config_makefile programs/conhost enable_conhost
19368 wine_fn_config_makefile programs/control enable_control
19369 wine_fn_config_makefile programs/cscript enable_cscript
19370 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19371 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19372 wine_fn_config_makefile programs/eject enable_eject
19373 wine_fn_config_makefile programs/expand enable_expand
19374 wine_fn_config_makefile programs/explorer enable_explorer
19375 wine_fn_config_makefile programs/extrac32 enable_extrac32
19376 wine_fn_config_makefile programs/findstr enable_findstr
19377 wine_fn_config_makefile programs/fsutil enable_fsutil
19378 wine_fn_config_makefile programs/hh enable_hh
19379 wine_fn_config_makefile programs/hostname enable_hostname
19380 wine_fn_config_makefile programs/icacls enable_icacls
19381 wine_fn_config_makefile programs/icinfo enable_icinfo
19382 wine_fn_config_makefile programs/iexplore enable_iexplore
19383 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19384 wine_fn_config_makefile programs/lodctr enable_lodctr
19385 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19386 wine_fn_config_makefile programs/mshta enable_mshta
19387 wine_fn_config_makefile programs/msiexec enable_msiexec
19388 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19389 wine_fn_config_makefile programs/net enable_net
19390 wine_fn_config_makefile programs/netsh enable_netsh
19391 wine_fn_config_makefile programs/netstat enable_netstat
19392 wine_fn_config_makefile programs/ngen enable_ngen
19393 wine_fn_config_makefile programs/notepad enable_notepad
19394 wine_fn_config_makefile programs/oleview enable_oleview
19395 wine_fn_config_makefile programs/ping enable_ping
19396 wine_fn_config_makefile programs/plugplay enable_plugplay
19397 wine_fn_config_makefile programs/powershell enable_powershell
19398 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19399 wine_fn_config_makefile programs/progman enable_progman
19400 wine_fn_config_makefile programs/reg enable_reg
19401 wine_fn_config_makefile programs/reg/tests enable_tests
19402 wine_fn_config_makefile programs/regasm enable_regasm
19403 wine_fn_config_makefile programs/regedit enable_regedit
19404 wine_fn_config_makefile programs/regedit/tests enable_tests
19405 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19406 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19407 wine_fn_config_makefile programs/rpcss enable_rpcss
19408 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19409 wine_fn_config_makefile programs/rundll32 enable_rundll32
19410 wine_fn_config_makefile programs/sc enable_sc
19411 wine_fn_config_makefile programs/schtasks enable_schtasks
19412 wine_fn_config_makefile programs/schtasks/tests enable_tests
19413 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19414 wine_fn_config_makefile programs/secedit enable_secedit
19415 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19416 wine_fn_config_makefile programs/services enable_services
19417 wine_fn_config_makefile programs/services/tests enable_tests
19418 wine_fn_config_makefile programs/shutdown enable_shutdown
19419 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19420 wine_fn_config_makefile programs/start enable_start
19421 wine_fn_config_makefile programs/subst enable_subst
19422 wine_fn_config_makefile programs/svchost enable_svchost
19423 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19424 wine_fn_config_makefile programs/taskkill enable_taskkill
19425 wine_fn_config_makefile programs/tasklist enable_tasklist
19426 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19427 wine_fn_config_makefile programs/termsv enable_termsv
19428 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19429 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19430 wine_fn_config_makefile programs/view enable_view
19431 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19432 wine_fn_config_makefile programs/wineboot enable_wineboot
19433 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19434 wine_fn_config_makefile programs/winecfg enable_winecfg
19435 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19436 wine_fn_config_makefile programs/winedbg enable_winedbg
19437 wine_fn_config_makefile programs/winedevice enable_winedevice
19438 wine_fn_config_makefile programs/winefile enable_winefile
19439 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19440 wine_fn_config_makefile programs/winemine enable_winemine
19441 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19442 wine_fn_config_makefile programs/winepath enable_winepath
19443 wine_fn_config_makefile programs/winetest enable_winetest
19444 wine_fn_config_makefile programs/winevdm enable_win16
19445 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19446 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19447 wine_fn_config_makefile programs/winmgmt enable_winmgmt
19448 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19449 wine_fn_config_makefile programs/winver enable_winver
19450 wine_fn_config_makefile programs/wmic enable_wmic
19451 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19452 wine_fn_config_makefile programs/wordpad enable_wordpad
19453 wine_fn_config_makefile programs/write enable_write
19454 wine_fn_config_makefile programs/wscript enable_wscript
19455 wine_fn_config_makefile programs/wscript/tests enable_tests
19456 wine_fn_config_makefile programs/wusa enable_wusa
19457 wine_fn_config_makefile programs/xcopy enable_xcopy
19458 wine_fn_config_makefile programs/xcopy/tests enable_tests
19459 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19460 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19461 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19462 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19463 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19464 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19465 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19466 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19467 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19468 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19471 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19472 wine_fn_append_file CONFIGURE_TARGETS "tags"
19473 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19474 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19475 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19476 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19477 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19478 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19480 if test "x$enable_tools" != xno
19481 then
19482 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19483 ac_config_commands="$ac_config_commands tools/makedep"
19487 ac_config_commands="$ac_config_commands Makefile"
19490 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19494 if test "x$enable_maintainer_mode" = xyes
19495 then
19496 wine_fn_append_rule "configure: configure.ac aclocal.m4
19497 autoconf --warnings=all
19498 include/config.h.in: include/stamp-h.in
19499 include/stamp-h.in: configure.ac aclocal.m4
19500 autoheader --warnings=all
19501 @echo timestamp > \$@"
19504 if test "x$enable_tools" != xno
19505 then
19506 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19507 @./config.status tools/makedep
19508 Makefile: tools/makedep$ac_exeext
19509 fonts: tools/sfnt2fon
19510 include: tools tools/widl"
19511 else
19512 wine_fn_append_rule "\$(MAKEDEP):
19513 @echo \"You need to run make in $TOOLSDIR first\" && false"
19516 if test -n "$with_wine64"
19517 then
19518 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19519 fonts server:
19520 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19521 $with_wine64/loader/wine:
19522 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19523 $with_wine64/loader/wine-preloader:
19524 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19525 clean::
19526 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19527 else
19528 WINELOADER_INSTALL="wine.inf l_intl.nls"
19530 case $host_os in
19531 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19532 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19533 esac
19536 $as_echo " done" >&6
19537 cat >confcache <<\_ACEOF
19538 # This file is a shell script that caches the results of configure
19539 # tests run on this system so they can be shared between configure
19540 # scripts and configure runs, see configure's option --config-cache.
19541 # It is not useful on other systems. If it contains results you don't
19542 # want to keep, you may remove or edit it.
19544 # config.status only pays attention to the cache file if you give it
19545 # the --recheck option to rerun configure.
19547 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19549 # following values.
19551 _ACEOF
19553 # The following way of writing the cache mishandles newlines in values,
19554 # but we know of no workaround that is simple, portable, and efficient.
19555 # So, we kill variables containing newlines.
19556 # Ultrix sh set writes to stderr and can't be redirected directly,
19557 # and sets the high bit in the cache file unless we assign to the vars.
19559 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19560 eval ac_val=\$$ac_var
19561 case $ac_val in #(
19562 *${as_nl}*)
19563 case $ac_var in #(
19564 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19565 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19566 esac
19567 case $ac_var in #(
19568 _ | IFS | as_nl) ;; #(
19569 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19570 *) { eval $ac_var=; unset $ac_var;} ;;
19571 esac ;;
19572 esac
19573 done
19575 (set) 2>&1 |
19576 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19577 *${as_nl}ac_space=\ *)
19578 # `set' does not quote correctly, so add quotes: double-quote
19579 # substitution turns \\\\ into \\, and sed turns \\ into \.
19580 sed -n \
19581 "s/'/'\\\\''/g;
19582 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19583 ;; #(
19585 # `set' quotes correctly as required by POSIX, so do not add quotes.
19586 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19588 esac |
19589 sort
19591 sed '
19592 /^ac_cv_env_/b end
19593 t clear
19594 :clear
19595 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19596 t end
19597 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19598 :end' >>confcache
19599 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19600 if test -w "$cache_file"; then
19601 if test "x$cache_file" != "x/dev/null"; then
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19603 $as_echo "$as_me: updating cache $cache_file" >&6;}
19604 if test ! -f "$cache_file" || test -h "$cache_file"; then
19605 cat confcache >"$cache_file"
19606 else
19607 case $cache_file in #(
19608 */* | ?:*)
19609 mv -f confcache "$cache_file"$$ &&
19610 mv -f "$cache_file"$$ "$cache_file" ;; #(
19612 mv -f confcache "$cache_file" ;;
19613 esac
19616 else
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19618 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19621 rm -f confcache
19623 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19624 # Let make expand exec_prefix.
19625 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19627 DEFS=-DHAVE_CONFIG_H
19629 ac_libobjs=
19630 ac_ltlibobjs=
19632 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19633 # 1. Remove the extension, and $U if already installed.
19634 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19635 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19636 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19637 # will be set to the directory where LIBOBJS objects are built.
19638 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19639 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19640 done
19641 LIBOBJS=$ac_libobjs
19643 LTLIBOBJS=$ac_ltlibobjs
19647 : "${CONFIG_STATUS=./config.status}"
19648 ac_write_fail=0
19649 ac_clean_files_save=$ac_clean_files
19650 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19652 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19653 as_write_fail=0
19654 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19655 #! $SHELL
19656 # Generated by $as_me.
19657 # Run this file to recreate the current configuration.
19658 # Compiler output produced by configure, useful for debugging
19659 # configure, is in config.log if it exists.
19661 debug=false
19662 ac_cs_recheck=false
19663 ac_cs_silent=false
19665 SHELL=\${CONFIG_SHELL-$SHELL}
19666 export SHELL
19667 _ASEOF
19668 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19669 ## -------------------- ##
19670 ## M4sh Initialization. ##
19671 ## -------------------- ##
19673 # Be more Bourne compatible
19674 DUALCASE=1; export DUALCASE # for MKS sh
19675 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19676 emulate sh
19677 NULLCMD=:
19678 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19679 # is contrary to our usage. Disable this feature.
19680 alias -g '${1+"$@"}'='"$@"'
19681 setopt NO_GLOB_SUBST
19682 else
19683 case `(set -o) 2>/dev/null` in #(
19684 *posix*) :
19685 set -o posix ;; #(
19686 *) :
19688 esac
19692 as_nl='
19694 export as_nl
19695 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19696 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19697 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19698 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19699 # Prefer a ksh shell builtin over an external printf program on Solaris,
19700 # but without wasting forks for bash or zsh.
19701 if test -z "$BASH_VERSION$ZSH_VERSION" \
19702 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19703 as_echo='print -r --'
19704 as_echo_n='print -rn --'
19705 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19706 as_echo='printf %s\n'
19707 as_echo_n='printf %s'
19708 else
19709 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19710 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19711 as_echo_n='/usr/ucb/echo -n'
19712 else
19713 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19714 as_echo_n_body='eval
19715 arg=$1;
19716 case $arg in #(
19717 *"$as_nl"*)
19718 expr "X$arg" : "X\\(.*\\)$as_nl";
19719 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19720 esac;
19721 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19723 export as_echo_n_body
19724 as_echo_n='sh -c $as_echo_n_body as_echo'
19726 export as_echo_body
19727 as_echo='sh -c $as_echo_body as_echo'
19730 # The user is always right.
19731 if test "${PATH_SEPARATOR+set}" != set; then
19732 PATH_SEPARATOR=:
19733 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19734 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19735 PATH_SEPARATOR=';'
19740 # IFS
19741 # We need space, tab and new line, in precisely that order. Quoting is
19742 # there to prevent editors from complaining about space-tab.
19743 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19744 # splitting by setting IFS to empty value.)
19745 IFS=" "" $as_nl"
19747 # Find who we are. Look in the path if we contain no directory separator.
19748 as_myself=
19749 case $0 in #((
19750 *[\\/]* ) as_myself=$0 ;;
19751 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19752 for as_dir in $PATH
19754 IFS=$as_save_IFS
19755 test -z "$as_dir" && as_dir=.
19756 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19757 done
19758 IFS=$as_save_IFS
19761 esac
19762 # We did not find ourselves, most probably we were run as `sh COMMAND'
19763 # in which case we are not to be found in the path.
19764 if test "x$as_myself" = x; then
19765 as_myself=$0
19767 if test ! -f "$as_myself"; then
19768 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19769 exit 1
19772 # Unset variables that we do not need and which cause bugs (e.g. in
19773 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19774 # suppresses any "Segmentation fault" message there. '((' could
19775 # trigger a bug in pdksh 5.2.14.
19776 for as_var in BASH_ENV ENV MAIL MAILPATH
19777 do eval test x\${$as_var+set} = xset \
19778 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19779 done
19780 PS1='$ '
19781 PS2='> '
19782 PS4='+ '
19784 # NLS nuisances.
19785 LC_ALL=C
19786 export LC_ALL
19787 LANGUAGE=C
19788 export LANGUAGE
19790 # CDPATH.
19791 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19794 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19795 # ----------------------------------------
19796 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19797 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19798 # script with STATUS, using 1 if that was 0.
19799 as_fn_error ()
19801 as_status=$1; test $as_status -eq 0 && as_status=1
19802 if test "$4"; then
19803 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19804 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19806 $as_echo "$as_me: error: $2" >&2
19807 as_fn_exit $as_status
19808 } # as_fn_error
19811 # as_fn_set_status STATUS
19812 # -----------------------
19813 # Set $? to STATUS, without forking.
19814 as_fn_set_status ()
19816 return $1
19817 } # as_fn_set_status
19819 # as_fn_exit STATUS
19820 # -----------------
19821 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19822 as_fn_exit ()
19824 set +e
19825 as_fn_set_status $1
19826 exit $1
19827 } # as_fn_exit
19829 # as_fn_unset VAR
19830 # ---------------
19831 # Portably unset VAR.
19832 as_fn_unset ()
19834 { eval $1=; unset $1;}
19836 as_unset=as_fn_unset
19837 # as_fn_append VAR VALUE
19838 # ----------------------
19839 # Append the text in VALUE to the end of the definition contained in VAR. Take
19840 # advantage of any shell optimizations that allow amortized linear growth over
19841 # repeated appends, instead of the typical quadratic growth present in naive
19842 # implementations.
19843 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19844 eval 'as_fn_append ()
19846 eval $1+=\$2
19848 else
19849 as_fn_append ()
19851 eval $1=\$$1\$2
19853 fi # as_fn_append
19855 # as_fn_arith ARG...
19856 # ------------------
19857 # Perform arithmetic evaluation on the ARGs, and store the result in the
19858 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19859 # must be portable across $(()) and expr.
19860 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19861 eval 'as_fn_arith ()
19863 as_val=$(( $* ))
19865 else
19866 as_fn_arith ()
19868 as_val=`expr "$@" || test $? -eq 1`
19870 fi # as_fn_arith
19873 if expr a : '\(a\)' >/dev/null 2>&1 &&
19874 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19875 as_expr=expr
19876 else
19877 as_expr=false
19880 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19881 as_basename=basename
19882 else
19883 as_basename=false
19886 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19887 as_dirname=dirname
19888 else
19889 as_dirname=false
19892 as_me=`$as_basename -- "$0" ||
19893 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19894 X"$0" : 'X\(//\)$' \| \
19895 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19896 $as_echo X/"$0" |
19897 sed '/^.*\/\([^/][^/]*\)\/*$/{
19898 s//\1/
19901 /^X\/\(\/\/\)$/{
19902 s//\1/
19905 /^X\/\(\/\).*/{
19906 s//\1/
19909 s/.*/./; q'`
19911 # Avoid depending upon Character Ranges.
19912 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19913 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19914 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19915 as_cr_digits='0123456789'
19916 as_cr_alnum=$as_cr_Letters$as_cr_digits
19918 ECHO_C= ECHO_N= ECHO_T=
19919 case `echo -n x` in #(((((
19920 -n*)
19921 case `echo 'xy\c'` in
19922 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19923 xy) ECHO_C='\c';;
19924 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19925 ECHO_T=' ';;
19926 esac;;
19928 ECHO_N='-n';;
19929 esac
19931 rm -f conf$$ conf$$.exe conf$$.file
19932 if test -d conf$$.dir; then
19933 rm -f conf$$.dir/conf$$.file
19934 else
19935 rm -f conf$$.dir
19936 mkdir conf$$.dir 2>/dev/null
19938 if (echo >conf$$.file) 2>/dev/null; then
19939 if ln -s conf$$.file conf$$ 2>/dev/null; then
19940 as_ln_s='ln -s'
19941 # ... but there are two gotchas:
19942 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19943 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19944 # In both cases, we have to default to `cp -pR'.
19945 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19946 as_ln_s='cp -pR'
19947 elif ln conf$$.file conf$$ 2>/dev/null; then
19948 as_ln_s=ln
19949 else
19950 as_ln_s='cp -pR'
19952 else
19953 as_ln_s='cp -pR'
19955 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19956 rmdir conf$$.dir 2>/dev/null
19959 # as_fn_mkdir_p
19960 # -------------
19961 # Create "$as_dir" as a directory, including parents if necessary.
19962 as_fn_mkdir_p ()
19965 case $as_dir in #(
19966 -*) as_dir=./$as_dir;;
19967 esac
19968 test -d "$as_dir" || eval $as_mkdir_p || {
19969 as_dirs=
19970 while :; do
19971 case $as_dir in #(
19972 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19973 *) as_qdir=$as_dir;;
19974 esac
19975 as_dirs="'$as_qdir' $as_dirs"
19976 as_dir=`$as_dirname -- "$as_dir" ||
19977 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19978 X"$as_dir" : 'X\(//\)[^/]' \| \
19979 X"$as_dir" : 'X\(//\)$' \| \
19980 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19981 $as_echo X"$as_dir" |
19982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19983 s//\1/
19986 /^X\(\/\/\)[^/].*/{
19987 s//\1/
19990 /^X\(\/\/\)$/{
19991 s//\1/
19994 /^X\(\/\).*/{
19995 s//\1/
19998 s/.*/./; q'`
19999 test -d "$as_dir" && break
20000 done
20001 test -z "$as_dirs" || eval "mkdir $as_dirs"
20002 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20005 } # as_fn_mkdir_p
20006 if mkdir -p . 2>/dev/null; then
20007 as_mkdir_p='mkdir -p "$as_dir"'
20008 else
20009 test -d ./-p && rmdir ./-p
20010 as_mkdir_p=false
20014 # as_fn_executable_p FILE
20015 # -----------------------
20016 # Test if FILE is an executable regular file.
20017 as_fn_executable_p ()
20019 test -f "$1" && test -x "$1"
20020 } # as_fn_executable_p
20021 as_test_x='test -x'
20022 as_executable_p=as_fn_executable_p
20024 # Sed expression to map a string onto a valid CPP name.
20025 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20027 # Sed expression to map a string onto a valid variable name.
20028 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20031 exec 6>&1
20032 ## ----------------------------------- ##
20033 ## Main body of $CONFIG_STATUS script. ##
20034 ## ----------------------------------- ##
20035 _ASEOF
20036 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20039 # Save the log message, to keep $0 and so on meaningful, and to
20040 # report actual input values of CONFIG_FILES etc. instead of their
20041 # values after options handling.
20042 ac_log="
20043 This file was extended by Wine $as_me 3.9, which was
20044 generated by GNU Autoconf 2.69. Invocation command line was
20046 CONFIG_FILES = $CONFIG_FILES
20047 CONFIG_HEADERS = $CONFIG_HEADERS
20048 CONFIG_LINKS = $CONFIG_LINKS
20049 CONFIG_COMMANDS = $CONFIG_COMMANDS
20050 $ $0 $@
20052 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20055 _ACEOF
20057 case $ac_config_files in *"
20058 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20059 esac
20061 case $ac_config_headers in *"
20062 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20063 esac
20066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20067 # Files that config.status was made for.
20068 config_files="$ac_config_files"
20069 config_headers="$ac_config_headers"
20070 config_links="$ac_config_links"
20071 config_commands="$ac_config_commands"
20073 _ACEOF
20075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20076 ac_cs_usage="\
20077 \`$as_me' instantiates files and other configuration actions
20078 from templates according to the current configuration. Unless the files
20079 and actions are specified as TAGs, all are instantiated by default.
20081 Usage: $0 [OPTION]... [TAG]...
20083 -h, --help print this help, then exit
20084 -V, --version print version number and configuration settings, then exit
20085 --config print configuration, then exit
20086 -q, --quiet, --silent
20087 do not print progress messages
20088 -d, --debug don't remove temporary files
20089 --recheck update $as_me by reconfiguring in the same conditions
20090 --file=FILE[:TEMPLATE]
20091 instantiate the configuration file FILE
20092 --header=FILE[:TEMPLATE]
20093 instantiate the configuration header FILE
20095 Configuration files:
20096 $config_files
20098 Configuration headers:
20099 $config_headers
20101 Configuration links:
20102 $config_links
20104 Configuration commands:
20105 $config_commands
20107 Report bugs to <wine-devel@winehq.org>.
20108 Wine home page: <https://www.winehq.org>."
20110 _ACEOF
20111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20112 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20113 ac_cs_version="\\
20114 Wine config.status 3.9
20115 configured by $0, generated by GNU Autoconf 2.69,
20116 with options \\"\$ac_cs_config\\"
20118 Copyright (C) 2012 Free Software Foundation, Inc.
20119 This config.status script is free software; the Free Software Foundation
20120 gives unlimited permission to copy, distribute and modify it."
20122 ac_pwd='$ac_pwd'
20123 srcdir='$srcdir'
20124 test -n "\$AWK" || AWK=awk
20125 _ACEOF
20127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20128 # The default lists apply if the user does not specify any file.
20129 ac_need_defaults=:
20130 while test $# != 0
20132 case $1 in
20133 --*=?*)
20134 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20135 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20136 ac_shift=:
20138 --*=)
20139 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20140 ac_optarg=
20141 ac_shift=:
20144 ac_option=$1
20145 ac_optarg=$2
20146 ac_shift=shift
20148 esac
20150 case $ac_option in
20151 # Handling of the options.
20152 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20153 ac_cs_recheck=: ;;
20154 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20155 $as_echo "$ac_cs_version"; exit ;;
20156 --config | --confi | --conf | --con | --co | --c )
20157 $as_echo "$ac_cs_config"; exit ;;
20158 --debug | --debu | --deb | --de | --d | -d )
20159 debug=: ;;
20160 --file | --fil | --fi | --f )
20161 $ac_shift
20162 case $ac_optarg in
20163 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20164 '') as_fn_error $? "missing file argument" ;;
20165 esac
20166 as_fn_append CONFIG_FILES " '$ac_optarg'"
20167 ac_need_defaults=false;;
20168 --header | --heade | --head | --hea )
20169 $ac_shift
20170 case $ac_optarg in
20171 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20172 esac
20173 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20174 ac_need_defaults=false;;
20175 --he | --h)
20176 # Conflict between --help and --header
20177 as_fn_error $? "ambiguous option: \`$1'
20178 Try \`$0 --help' for more information.";;
20179 --help | --hel | -h )
20180 $as_echo "$ac_cs_usage"; exit ;;
20181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20182 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20183 ac_cs_silent=: ;;
20185 # This is an error.
20186 -*) as_fn_error $? "unrecognized option: \`$1'
20187 Try \`$0 --help' for more information." ;;
20189 *) as_fn_append ac_config_targets " $1"
20190 ac_need_defaults=false ;;
20192 esac
20193 shift
20194 done
20196 ac_configure_extra_args=
20198 if $ac_cs_silent; then
20199 exec 6>/dev/null
20200 ac_configure_extra_args="$ac_configure_extra_args --silent"
20203 _ACEOF
20204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20205 if \$ac_cs_recheck; then
20206 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20207 shift
20208 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20209 CONFIG_SHELL='$SHELL'
20210 export CONFIG_SHELL
20211 exec "\$@"
20214 _ACEOF
20215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20216 exec 5>>config.log
20218 echo
20219 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20220 ## Running $as_me. ##
20221 _ASBOX
20222 $as_echo "$ac_log"
20223 } >&5
20225 _ACEOF
20226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20228 # INIT-COMMANDS
20230 wine_fn_output_makedep ()
20232 as_dir=tools; as_fn_mkdir_p
20233 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20235 wine_fn_output_makefile ()
20237 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20238 `cat $wine_rules_file`
20239 _WINE_EOF
20240 as_fn_error $? "could not create Makefile" "$LINENO" 5
20243 _ACEOF
20245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20247 # Handling of arguments.
20248 for ac_config_target in $ac_config_targets
20250 case $ac_config_target in
20251 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20252 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20253 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20254 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20255 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20256 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20257 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20258 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20259 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20260 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20261 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20262 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20263 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20265 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20266 esac
20267 done
20270 # If the user did not use the arguments to specify the items to instantiate,
20271 # then the envvar interface is used. Set only those that are not.
20272 # We use the long form for the default assignment because of an extremely
20273 # bizarre bug on SunOS 4.1.3.
20274 if $ac_need_defaults; then
20275 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20276 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20277 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20278 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20281 # Have a temporary directory for convenience. Make it in the build tree
20282 # simply because there is no reason against having it here, and in addition,
20283 # creating and moving files from /tmp can sometimes cause problems.
20284 # Hook for its removal unless debugging.
20285 # Note that there is a small window in which the directory will not be cleaned:
20286 # after its creation but before its name has been assigned to `$tmp'.
20287 $debug ||
20289 tmp= ac_tmp=
20290 trap 'exit_status=$?
20291 : "${ac_tmp:=$tmp}"
20292 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20294 trap 'as_fn_exit 1' 1 2 13 15
20296 # Create a (secure) tmp directory for tmp files.
20299 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20300 test -d "$tmp"
20301 } ||
20303 tmp=./conf$$-$RANDOM
20304 (umask 077 && mkdir "$tmp")
20305 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20306 ac_tmp=$tmp
20308 # Set up the scripts for CONFIG_FILES section.
20309 # No need to generate them if there are no CONFIG_FILES.
20310 # This happens for instance with `./config.status config.h'.
20311 if test -n "$CONFIG_FILES"; then
20314 ac_cr=`echo X | tr X '\015'`
20315 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20316 # But we know of no other shell where ac_cr would be empty at this
20317 # point, so we can use a bashism as a fallback.
20318 if test "x$ac_cr" = x; then
20319 eval ac_cr=\$\'\\r\'
20321 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20322 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20323 ac_cs_awk_cr='\\r'
20324 else
20325 ac_cs_awk_cr=$ac_cr
20328 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20329 _ACEOF
20333 echo "cat >conf$$subs.awk <<_ACEOF" &&
20334 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20335 echo "_ACEOF"
20336 } >conf$$subs.sh ||
20337 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20338 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20339 ac_delim='%!_!# '
20340 for ac_last_try in false false false false false :; do
20341 . ./conf$$subs.sh ||
20342 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20344 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20345 if test $ac_delim_n = $ac_delim_num; then
20346 break
20347 elif $ac_last_try; then
20348 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20349 else
20350 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20352 done
20353 rm -f conf$$subs.sh
20355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20356 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20357 _ACEOF
20358 sed -n '
20360 s/^/S["/; s/!.*/"]=/
20363 s/^[^!]*!//
20364 :repl
20365 t repl
20366 s/'"$ac_delim"'$//
20367 t delim
20370 s/\(.\{148\}\)..*/\1/
20371 t more1
20372 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20375 b repl
20376 :more1
20377 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20380 s/.\{148\}//
20381 t nl
20382 :delim
20384 s/\(.\{148\}\)..*/\1/
20385 t more2
20386 s/["\\]/\\&/g; s/^/"/; s/$/"/
20389 :more2
20390 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20393 s/.\{148\}//
20394 t delim
20395 ' <conf$$subs.awk | sed '
20396 /^[^""]/{
20398 s/\n//
20400 ' >>$CONFIG_STATUS || ac_write_fail=1
20401 rm -f conf$$subs.awk
20402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20403 _ACAWK
20404 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20405 for (key in S) S_is_set[key] = 1
20406 FS = "\a"
20410 line = $ 0
20411 nfields = split(line, field, "@")
20412 substed = 0
20413 len = length(field[1])
20414 for (i = 2; i < nfields; i++) {
20415 key = field[i]
20416 keylen = length(key)
20417 if (S_is_set[key]) {
20418 value = S[key]
20419 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20420 len += length(value) + length(field[++i])
20421 substed = 1
20422 } else
20423 len += 1 + keylen
20426 print line
20429 _ACAWK
20430 _ACEOF
20431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20432 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20433 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20434 else
20436 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20437 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20438 _ACEOF
20440 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20441 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20442 # trailing colons and then remove the whole line if VPATH becomes empty
20443 # (actually we leave an empty line to preserve line numbers).
20444 if test "x$srcdir" = x.; then
20445 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20447 s///
20448 s/^/:/
20449 s/[ ]*$/:/
20450 s/:\$(srcdir):/:/g
20451 s/:\${srcdir}:/:/g
20452 s/:@srcdir@:/:/g
20453 s/^:*//
20454 s/:*$//
20456 s/\(=[ ]*\).*/\1/
20458 s/\n//
20459 s/^[^=]*=[ ]*$//
20463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20464 fi # test -n "$CONFIG_FILES"
20466 # Set up the scripts for CONFIG_HEADERS section.
20467 # No need to generate them if there are no CONFIG_HEADERS.
20468 # This happens for instance with `./config.status Makefile'.
20469 if test -n "$CONFIG_HEADERS"; then
20470 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20471 BEGIN {
20472 _ACEOF
20474 # Transform confdefs.h into an awk script `defines.awk', embedded as
20475 # here-document in config.status, that substitutes the proper values into
20476 # config.h.in to produce config.h.
20478 # Create a delimiter string that does not exist in confdefs.h, to ease
20479 # handling of long lines.
20480 ac_delim='%!_!# '
20481 for ac_last_try in false false :; do
20482 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20483 if test -z "$ac_tt"; then
20484 break
20485 elif $ac_last_try; then
20486 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20487 else
20488 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20490 done
20492 # For the awk script, D is an array of macro values keyed by name,
20493 # likewise P contains macro parameters if any. Preserve backslash
20494 # newline sequences.
20496 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20497 sed -n '
20498 s/.\{148\}/&'"$ac_delim"'/g
20499 t rset
20500 :rset
20501 s/^[ ]*#[ ]*define[ ][ ]*/ /
20502 t def
20504 :def
20505 s/\\$//
20506 t bsnl
20507 s/["\\]/\\&/g
20508 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20509 D["\1"]=" \3"/p
20510 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20512 :bsnl
20513 s/["\\]/\\&/g
20514 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20515 D["\1"]=" \3\\\\\\n"\\/p
20516 t cont
20517 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20518 t cont
20520 :cont
20522 s/.\{148\}/&'"$ac_delim"'/g
20523 t clear
20524 :clear
20525 s/\\$//
20526 t bsnlc
20527 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20529 :bsnlc
20530 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20531 b cont
20532 ' <confdefs.h | sed '
20533 s/'"$ac_delim"'/"\\\
20534 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20537 for (key in D) D_is_set[key] = 1
20538 FS = "\a"
20540 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20541 line = \$ 0
20542 split(line, arg, " ")
20543 if (arg[1] == "#") {
20544 defundef = arg[2]
20545 mac1 = arg[3]
20546 } else {
20547 defundef = substr(arg[1], 2)
20548 mac1 = arg[2]
20550 split(mac1, mac2, "(") #)
20551 macro = mac2[1]
20552 prefix = substr(line, 1, index(line, defundef) - 1)
20553 if (D_is_set[macro]) {
20554 # Preserve the white space surrounding the "#".
20555 print prefix "define", macro P[macro] D[macro]
20556 next
20557 } else {
20558 # Replace #undef with comments. This is necessary, for example,
20559 # in the case of _POSIX_SOURCE, which is predefined and required
20560 # on some systems where configure will not decide to define it.
20561 if (defundef == "undef") {
20562 print "/*", prefix defundef, macro, "*/"
20563 next
20567 { print }
20568 _ACAWK
20569 _ACEOF
20570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20571 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20572 fi # test -n "$CONFIG_HEADERS"
20575 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20576 shift
20577 for ac_tag
20579 case $ac_tag in
20580 :[FHLC]) ac_mode=$ac_tag; continue;;
20581 esac
20582 case $ac_mode$ac_tag in
20583 :[FHL]*:*);;
20584 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20585 :[FH]-) ac_tag=-:-;;
20586 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20587 esac
20588 ac_save_IFS=$IFS
20589 IFS=:
20590 set x $ac_tag
20591 IFS=$ac_save_IFS
20592 shift
20593 ac_file=$1
20594 shift
20596 case $ac_mode in
20597 :L) ac_source=$1;;
20598 :[FH])
20599 ac_file_inputs=
20600 for ac_f
20602 case $ac_f in
20603 -) ac_f="$ac_tmp/stdin";;
20604 *) # Look for the file first in the build tree, then in the source tree
20605 # (if the path is not absolute). The absolute path cannot be DOS-style,
20606 # because $ac_f cannot contain `:'.
20607 test -f "$ac_f" ||
20608 case $ac_f in
20609 [\\/$]*) false;;
20610 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20611 esac ||
20612 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20613 esac
20614 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20615 as_fn_append ac_file_inputs " '$ac_f'"
20616 done
20618 # Let's still pretend it is `configure' which instantiates (i.e., don't
20619 # use $as_me), people would be surprised to read:
20620 # /* config.h. Generated by config.status. */
20621 configure_input='Generated from '`
20622 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20623 `' by configure.'
20624 if test x"$ac_file" != x-; then
20625 configure_input="$ac_file. $configure_input"
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20627 $as_echo "$as_me: creating $ac_file" >&6;}
20629 # Neutralize special characters interpreted by sed in replacement strings.
20630 case $configure_input in #(
20631 *\&* | *\|* | *\\* )
20632 ac_sed_conf_input=`$as_echo "$configure_input" |
20633 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20634 *) ac_sed_conf_input=$configure_input;;
20635 esac
20637 case $ac_tag in
20638 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20639 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20640 esac
20642 esac
20644 ac_dir=`$as_dirname -- "$ac_file" ||
20645 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20646 X"$ac_file" : 'X\(//\)[^/]' \| \
20647 X"$ac_file" : 'X\(//\)$' \| \
20648 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20649 $as_echo X"$ac_file" |
20650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20651 s//\1/
20654 /^X\(\/\/\)[^/].*/{
20655 s//\1/
20658 /^X\(\/\/\)$/{
20659 s//\1/
20662 /^X\(\/\).*/{
20663 s//\1/
20666 s/.*/./; q'`
20667 as_dir="$ac_dir"; as_fn_mkdir_p
20668 ac_builddir=.
20670 case "$ac_dir" in
20671 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20673 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20674 # A ".." for each directory in $ac_dir_suffix.
20675 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20676 case $ac_top_builddir_sub in
20677 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20678 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20679 esac ;;
20680 esac
20681 ac_abs_top_builddir=$ac_pwd
20682 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20683 # for backward compatibility:
20684 ac_top_builddir=$ac_top_build_prefix
20686 case $srcdir in
20687 .) # We are building in place.
20688 ac_srcdir=.
20689 ac_top_srcdir=$ac_top_builddir_sub
20690 ac_abs_top_srcdir=$ac_pwd ;;
20691 [\\/]* | ?:[\\/]* ) # Absolute name.
20692 ac_srcdir=$srcdir$ac_dir_suffix;
20693 ac_top_srcdir=$srcdir
20694 ac_abs_top_srcdir=$srcdir ;;
20695 *) # Relative name.
20696 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20697 ac_top_srcdir=$ac_top_build_prefix$srcdir
20698 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20699 esac
20700 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20703 case $ac_mode in
20706 # CONFIG_FILE
20709 _ACEOF
20711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20712 # If the template does not know about datarootdir, expand it.
20713 # FIXME: This hack should be removed a few years after 2.60.
20714 ac_datarootdir_hack=; ac_datarootdir_seen=
20715 ac_sed_dataroot='
20716 /datarootdir/ {
20720 /@datadir@/p
20721 /@docdir@/p
20722 /@infodir@/p
20723 /@localedir@/p
20724 /@mandir@/p'
20725 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20726 *datarootdir*) ac_datarootdir_seen=yes;;
20727 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20729 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20730 _ACEOF
20731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20732 ac_datarootdir_hack='
20733 s&@datadir@&$datadir&g
20734 s&@docdir@&$docdir&g
20735 s&@infodir@&$infodir&g
20736 s&@localedir@&$localedir&g
20737 s&@mandir@&$mandir&g
20738 s&\\\${datarootdir}&$datarootdir&g' ;;
20739 esac
20740 _ACEOF
20742 # Neutralize VPATH when `$srcdir' = `.'.
20743 # Shell code in configure.ac might set extrasub.
20744 # FIXME: do we really want to maintain this feature?
20745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20746 ac_sed_extra="$ac_vpsub
20747 $extrasub
20748 _ACEOF
20749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20751 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20752 s|@configure_input@|$ac_sed_conf_input|;t t
20753 s&@top_builddir@&$ac_top_builddir_sub&;t t
20754 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20755 s&@srcdir@&$ac_srcdir&;t t
20756 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20757 s&@top_srcdir@&$ac_top_srcdir&;t t
20758 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20759 s&@builddir@&$ac_builddir&;t t
20760 s&@abs_builddir@&$ac_abs_builddir&;t t
20761 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20762 $ac_datarootdir_hack
20764 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20765 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20767 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20768 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20769 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20770 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20772 which seems to be undefined. Please make sure it is defined" >&5
20773 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20774 which seems to be undefined. Please make sure it is defined" >&2;}
20776 rm -f "$ac_tmp/stdin"
20777 case $ac_file in
20778 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20779 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20780 esac \
20781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20785 # CONFIG_HEADER
20787 if test x"$ac_file" != x-; then
20789 $as_echo "/* $configure_input */" \
20790 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20791 } >"$ac_tmp/config.h" \
20792 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20793 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20795 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20796 else
20797 rm -f "$ac_file"
20798 mv "$ac_tmp/config.h" "$ac_file" \
20799 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20801 else
20802 $as_echo "/* $configure_input */" \
20803 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20804 || as_fn_error $? "could not create -" "$LINENO" 5
20809 # CONFIG_LINK
20812 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20814 else
20815 # Prefer the file from the source tree if names are identical.
20816 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20817 ac_source=$srcdir/$ac_source
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20821 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20823 if test ! -r "$ac_source"; then
20824 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20826 rm -f "$ac_file"
20828 # Try a relative symlink, then a hard link, then a copy.
20829 case $ac_source in
20830 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20831 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20832 esac
20833 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20834 ln "$ac_source" "$ac_file" 2>/dev/null ||
20835 cp -p "$ac_source" "$ac_file" ||
20836 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20839 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20840 $as_echo "$as_me: executing $ac_file commands" >&6;}
20842 esac
20845 case $ac_file$ac_mode in
20846 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20847 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20848 "Makefile":C) wine_fn_output_makefile Makefile ;;
20850 esac
20851 done # for ac_tag
20854 as_fn_exit 0
20855 _ACEOF
20856 ac_clean_files=$ac_clean_files_save
20858 test $ac_write_fail = 0 ||
20859 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20862 # configure is writing to config.log, and then calls config.status.
20863 # config.status does its own redirection, appending to config.log.
20864 # Unfortunately, on DOS this fails, as config.log is still kept open
20865 # by configure, so config.status won't be able to write to it; its
20866 # output is simply discarded. So we exec the FD to /dev/null,
20867 # effectively closing config.log, so it can be properly (re)opened and
20868 # appended to by config.status. When coming back to configure, we
20869 # need to make the FD available again.
20870 if test "$no_create" != yes; then
20871 ac_cs_success=:
20872 ac_config_status_args=
20873 test "$silent" = yes &&
20874 ac_config_status_args="$ac_config_status_args --quiet"
20875 exec 5>/dev/null
20876 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20877 exec 5>>config.log
20878 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20879 # would make configure fail if this is the last instruction.
20880 $ac_cs_success || as_fn_exit 1
20882 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20884 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20888 if test "$no_create" = "yes"
20889 then
20890 exit 0
20893 ac_save_IFS="$IFS"
20894 if test "x$wine_notices" != x; then
20895 echo >&6
20896 IFS="|"
20897 for msg in $wine_notices; do
20898 IFS="$ac_save_IFS"
20899 if ${msg:+false} :; then :
20901 else
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20903 $as_echo "$as_me: $msg" >&6;}
20905 done
20907 IFS="|"
20908 for msg in $wine_warnings; do
20909 IFS="$ac_save_IFS"
20910 if ${msg:+false} :; then :
20912 else
20913 echo >&2
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20915 $as_echo "$as_me: WARNING: $msg" >&2;}
20917 done
20918 IFS="$ac_save_IFS"
20920 $as_echo "
20921 $as_me: Finished. Do '${ac_make}' to compile Wine.
20922 " >&6