oleaut32: Fix argument order with instance and VARIANT return type.
[wine.git] / configure
blob92be30980f6e3075bb0efd0287bc656d165ab324
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.20.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.20'
584 PACKAGE_STRING='Wine 3.20'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 VKD3D_LIBS
640 VKD3D_CFLAGS
641 NETAPI_LIBS
642 NETAPI_CFLAGS
643 PROCSTAT_LIBS
644 KSTAT_LIBS
645 MPG123_LIBS
646 MPG123_CFLAGS
647 TIFF_LIBS
648 TIFF_CFLAGS
649 PNG_LIBS
650 PNG_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_CFLAGS
668 ALSA_LIBS
669 GSTREAMER_LIBS
670 GSTREAMER_CFLAGS
671 PULSE_LIBS
672 PULSE_CFLAGS
673 GETTEXTPO_LIBS
674 Z_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 SANE_LIBS
685 SANE_CFLAGS
686 GNUTLS_LIBS
687 GNUTLS_CFLAGS
688 HAL_LIBS
689 HAL_CFLAGS
690 DBUS_LIBS
691 DBUS_CFLAGS
692 XSLT_LIBS
693 XSLT_CFLAGS
694 XML2_LIBS
695 XML2_CFLAGS
696 PCAP_LIBS
697 X_EXTRA_LIBS
698 X_LIBS
699 X_PRE_LIBS
700 X_CFLAGS
701 XMKMF
702 PTHREAD_LIBS
703 CROSSCFLAGS
704 CROSSCC
705 CROSSTARGET
706 PRELINK
707 WINELOADER_DEPENDS
708 METAL_LIBS
709 CARBON_LIBS
710 QUICKTIME_LIBS
711 OPENCL_LIBS
712 OPENAL_LIBS
713 COREAUDIO_LIBS
714 SECURITY_LIBS
715 DISKARBITRATION_LIBS
716 APPKIT_LIBS
717 CORESERVICES_LIBS
718 APPLICATIONSERVICES_LIBS
719 FORCEFEEDBACK_LIBS
720 IOKIT_LIBS
721 COREFOUNDATION_LIBS
722 OBJCPP
723 ac_ct_OBJC
724 OBJCFLAGS
725 OBJC
726 LIBWINE_DEPENDS
727 LIBWINE_LDFLAGS
728 LIBWINE_INSTALL_DEV
729 LIBWINE_INSTALL_LIB
730 LIBWINE_IMPORTLIB
731 LIBWINE_SHAREDLIB
732 DLLTOOL
733 WINELOADER_PROGRAMS
734 CONFIGURE_TARGETS
735 DISABLED_SUBDIRS
736 SUBDIRS
737 READELF
738 OTOOL
740 WINELOADER_LDFLAGS
741 LDEXECFLAGS
742 LDRPATH_LOCAL
743 LDRPATH_INSTALL
744 DLLFLAGS
746 OPENGL_LIBS
747 ICOTOOL
748 CONVERT
749 RSVG
750 FONTFORGE
751 PKG_CONFIG
752 MSGFMT
753 LDCONFIG
754 EGREP
755 GREP
756 LN_S
757 RANLIB
758 ARFLAGS
759 STRIP
760 ac_ct_AR
762 BISON
763 FLEX
764 TOOLSDIR
765 wine64_disable
766 WIDLFLAGS
767 TARGETFLAGS
769 CPPBIN
770 ac_ct_CXX
771 CXXFLAGS
773 OBJEXT
774 EXEEXT
775 ac_ct_CC
776 CPPFLAGS
777 LDFLAGS
778 CFLAGS
780 SET_MAKE
781 host_os
782 host_vendor
783 host_cpu
784 host
785 build_os
786 build_vendor
787 build_cpu
788 build
789 target_alias
790 host_alias
791 build_alias
792 LIBS
793 ECHO_T
794 ECHO_N
795 ECHO_C
796 DEFS
797 mandir
798 localedir
799 libdir
800 psdir
801 pdfdir
802 dvidir
803 htmldir
804 infodir
805 docdir
806 oldincludedir
807 includedir
808 runstatedir
809 localstatedir
810 sharedstatedir
811 sysconfdir
812 datadir
813 datarootdir
814 libexecdir
815 sbindir
816 bindir
817 program_transform_name
818 prefix
819 exec_prefix
820 PACKAGE_URL
821 PACKAGE_BUGREPORT
822 PACKAGE_STRING
823 PACKAGE_VERSION
824 PACKAGE_TARNAME
825 PACKAGE_NAME
826 PATH_SEPARATOR
827 SHELL'
828 ac_subst_files=''
829 ac_user_opts='
830 enable_option_checking
831 enable_win16
832 enable_win64
833 enable_tests
834 enable_maintainer_mode
835 with_alsa
836 with_capi
837 with_cms
838 with_coreaudio
839 with_cups
840 with_curses
841 with_dbus
842 with_float_abi
843 with_fontconfig
844 with_freetype
845 with_gettext
846 with_gettextpo
847 with_gphoto
848 with_glu
849 with_gnutls
850 with_gsm
851 with_gssapi
852 with_gstreamer
853 with_hal
854 with_jpeg
855 with_krb5
856 with_ldap
857 with_mpg123
858 with_netapi
859 with_openal
860 with_opencl
861 with_opengl
862 with_osmesa
863 with_oss
864 with_pcap
865 with_png
866 with_pthread
867 with_pulse
868 with_sane
869 with_sdl
870 with_tiff
871 with_udev
872 with_v4l
873 with_vkd3d
874 with_vulkan
875 with_xcomposite
876 with_xcursor
877 with_xfixes
878 with_xinerama
879 with_xinput
880 with_xinput2
881 with_xml
882 with_xrandr
883 with_xrender
884 with_xshape
885 with_xshm
886 with_xslt
887 with_xxf86vm
888 with_zlib
889 with_wine_tools
890 with_wine64
891 enable_largefile
892 with_x
893 enable_acledit
894 enable_aclui
895 enable_activeds
896 enable_actxprxy
897 enable_adsiid
898 enable_adsldp
899 enable_adsldpc
900 enable_advapi32
901 enable_advpack
902 enable_amstream
903 enable_api_ms_win_appmodel_identity_l1_1_0
904 enable_api_ms_win_appmodel_runtime_l1_1_1
905 enable_api_ms_win_appmodel_runtime_l1_1_2
906 enable_api_ms_win_core_apiquery_l1_1_0
907 enable_api_ms_win_core_appcompat_l1_1_1
908 enable_api_ms_win_core_appinit_l1_1_0
909 enable_api_ms_win_core_atoms_l1_1_0
910 enable_api_ms_win_core_bem_l1_1_0
911 enable_api_ms_win_core_com_l1_1_0
912 enable_api_ms_win_core_com_l1_1_1
913 enable_api_ms_win_core_com_private_l1_1_0
914 enable_api_ms_win_core_comm_l1_1_0
915 enable_api_ms_win_core_console_l1_1_0
916 enable_api_ms_win_core_console_l2_1_0
917 enable_api_ms_win_core_crt_l1_1_0
918 enable_api_ms_win_core_crt_l2_1_0
919 enable_api_ms_win_core_datetime_l1_1_0
920 enable_api_ms_win_core_datetime_l1_1_1
921 enable_api_ms_win_core_debug_l1_1_0
922 enable_api_ms_win_core_debug_l1_1_1
923 enable_api_ms_win_core_delayload_l1_1_0
924 enable_api_ms_win_core_delayload_l1_1_1
925 enable_api_ms_win_core_errorhandling_l1_1_0
926 enable_api_ms_win_core_errorhandling_l1_1_1
927 enable_api_ms_win_core_errorhandling_l1_1_2
928 enable_api_ms_win_core_errorhandling_l1_1_3
929 enable_api_ms_win_core_fibers_l1_1_0
930 enable_api_ms_win_core_fibers_l1_1_1
931 enable_api_ms_win_core_file_l1_1_0
932 enable_api_ms_win_core_file_l1_2_0
933 enable_api_ms_win_core_file_l1_2_1
934 enable_api_ms_win_core_file_l1_2_2
935 enable_api_ms_win_core_file_l2_1_0
936 enable_api_ms_win_core_file_l2_1_1
937 enable_api_ms_win_core_file_l2_1_2
938 enable_api_ms_win_core_handle_l1_1_0
939 enable_api_ms_win_core_heap_l1_1_0
940 enable_api_ms_win_core_heap_l1_2_0
941 enable_api_ms_win_core_heap_l2_1_0
942 enable_api_ms_win_core_heap_obsolete_l1_1_0
943 enable_api_ms_win_core_interlocked_l1_1_0
944 enable_api_ms_win_core_interlocked_l1_2_0
945 enable_api_ms_win_core_io_l1_1_0
946 enable_api_ms_win_core_io_l1_1_1
947 enable_api_ms_win_core_job_l1_1_0
948 enable_api_ms_win_core_job_l2_1_0
949 enable_api_ms_win_core_kernel32_legacy_l1_1_0
950 enable_api_ms_win_core_kernel32_legacy_l1_1_1
951 enable_api_ms_win_core_kernel32_private_l1_1_1
952 enable_api_ms_win_core_largeinteger_l1_1_0
953 enable_api_ms_win_core_libraryloader_l1_1_0
954 enable_api_ms_win_core_libraryloader_l1_1_1
955 enable_api_ms_win_core_libraryloader_l1_2_0
956 enable_api_ms_win_core_libraryloader_l1_2_1
957 enable_api_ms_win_core_libraryloader_l1_2_2
958 enable_api_ms_win_core_localization_l1_1_0
959 enable_api_ms_win_core_localization_l1_2_0
960 enable_api_ms_win_core_localization_l1_2_1
961 enable_api_ms_win_core_localization_l2_1_0
962 enable_api_ms_win_core_localization_obsolete_l1_1_0
963 enable_api_ms_win_core_localization_obsolete_l1_2_0
964 enable_api_ms_win_core_localization_obsolete_l1_3_0
965 enable_api_ms_win_core_localization_private_l1_1_0
966 enable_api_ms_win_core_localregistry_l1_1_0
967 enable_api_ms_win_core_memory_l1_1_0
968 enable_api_ms_win_core_memory_l1_1_1
969 enable_api_ms_win_core_memory_l1_1_2
970 enable_api_ms_win_core_misc_l1_1_0
971 enable_api_ms_win_core_namedpipe_l1_1_0
972 enable_api_ms_win_core_namedpipe_l1_2_0
973 enable_api_ms_win_core_namespace_l1_1_0
974 enable_api_ms_win_core_normalization_l1_1_0
975 enable_api_ms_win_core_path_l1_1_0
976 enable_api_ms_win_core_privateprofile_l1_1_1
977 enable_api_ms_win_core_processenvironment_l1_1_0
978 enable_api_ms_win_core_processenvironment_l1_2_0
979 enable_api_ms_win_core_processthreads_l1_1_0
980 enable_api_ms_win_core_processthreads_l1_1_1
981 enable_api_ms_win_core_processthreads_l1_1_2
982 enable_api_ms_win_core_processthreads_l1_1_3
983 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
984 enable_api_ms_win_core_profile_l1_1_0
985 enable_api_ms_win_core_psapi_ansi_l1_1_0
986 enable_api_ms_win_core_psapi_l1_1_0
987 enable_api_ms_win_core_psapi_obsolete_l1_1_0
988 enable_api_ms_win_core_quirks_l1_1_0
989 enable_api_ms_win_core_realtime_l1_1_0
990 enable_api_ms_win_core_registry_l1_1_0
991 enable_api_ms_win_core_registry_l2_1_0
992 enable_api_ms_win_core_registryuserspecific_l1_1_0
993 enable_api_ms_win_core_rtlsupport_l1_1_0
994 enable_api_ms_win_core_rtlsupport_l1_2_0
995 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
996 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
997 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
998 enable_api_ms_win_core_shutdown_l1_1_0
999 enable_api_ms_win_core_sidebyside_l1_1_0
1000 enable_api_ms_win_core_string_l1_1_0
1001 enable_api_ms_win_core_string_l2_1_0
1002 enable_api_ms_win_core_string_obsolete_l1_1_0
1003 enable_api_ms_win_core_stringansi_l1_1_0
1004 enable_api_ms_win_core_stringloader_l1_1_1
1005 enable_api_ms_win_core_synch_ansi_l1_1_0
1006 enable_api_ms_win_core_synch_l1_1_0
1007 enable_api_ms_win_core_synch_l1_2_0
1008 enable_api_ms_win_core_synch_l1_2_1
1009 enable_api_ms_win_core_sysinfo_l1_1_0
1010 enable_api_ms_win_core_sysinfo_l1_2_0
1011 enable_api_ms_win_core_sysinfo_l1_2_1
1012 enable_api_ms_win_core_threadpool_l1_1_0
1013 enable_api_ms_win_core_threadpool_l1_2_0
1014 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1015 enable_api_ms_win_core_threadpool_private_l1_1_0
1016 enable_api_ms_win_core_timezone_l1_1_0
1017 enable_api_ms_win_core_toolhelp_l1_1_0
1018 enable_api_ms_win_core_url_l1_1_0
1019 enable_api_ms_win_core_util_l1_1_0
1020 enable_api_ms_win_core_version_l1_1_0
1021 enable_api_ms_win_core_version_l1_1_1
1022 enable_api_ms_win_core_version_private_l1_1_0
1023 enable_api_ms_win_core_versionansi_l1_1_0
1024 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1025 enable_api_ms_win_core_winrt_error_l1_1_0
1026 enable_api_ms_win_core_winrt_error_l1_1_1
1027 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1028 enable_api_ms_win_core_winrt_l1_1_0
1029 enable_api_ms_win_core_winrt_registration_l1_1_0
1030 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1031 enable_api_ms_win_core_winrt_string_l1_1_0
1032 enable_api_ms_win_core_winrt_string_l1_1_1
1033 enable_api_ms_win_core_wow64_l1_1_0
1034 enable_api_ms_win_core_wow64_l1_1_1
1035 enable_api_ms_win_core_xstate_l1_1_0
1036 enable_api_ms_win_core_xstate_l2_1_0
1037 enable_api_ms_win_crt_conio_l1_1_0
1038 enable_api_ms_win_crt_convert_l1_1_0
1039 enable_api_ms_win_crt_environment_l1_1_0
1040 enable_api_ms_win_crt_filesystem_l1_1_0
1041 enable_api_ms_win_crt_heap_l1_1_0
1042 enable_api_ms_win_crt_locale_l1_1_0
1043 enable_api_ms_win_crt_math_l1_1_0
1044 enable_api_ms_win_crt_multibyte_l1_1_0
1045 enable_api_ms_win_crt_private_l1_1_0
1046 enable_api_ms_win_crt_process_l1_1_0
1047 enable_api_ms_win_crt_runtime_l1_1_0
1048 enable_api_ms_win_crt_stdio_l1_1_0
1049 enable_api_ms_win_crt_string_l1_1_0
1050 enable_api_ms_win_crt_time_l1_1_0
1051 enable_api_ms_win_crt_utility_l1_1_0
1052 enable_api_ms_win_devices_config_l1_1_0
1053 enable_api_ms_win_devices_config_l1_1_1
1054 enable_api_ms_win_devices_query_l1_1_1
1055 enable_api_ms_win_downlevel_advapi32_l1_1_0
1056 enable_api_ms_win_downlevel_advapi32_l2_1_0
1057 enable_api_ms_win_downlevel_normaliz_l1_1_0
1058 enable_api_ms_win_downlevel_ole32_l1_1_0
1059 enable_api_ms_win_downlevel_shell32_l1_1_0
1060 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1061 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1062 enable_api_ms_win_downlevel_user32_l1_1_0
1063 enable_api_ms_win_downlevel_version_l1_1_0
1064 enable_api_ms_win_dx_d3dkmt_l1_1_0
1065 enable_api_ms_win_eventing_classicprovider_l1_1_0
1066 enable_api_ms_win_eventing_consumer_l1_1_0
1067 enable_api_ms_win_eventing_controller_l1_1_0
1068 enable_api_ms_win_eventing_legacy_l1_1_0
1069 enable_api_ms_win_eventing_provider_l1_1_0
1070 enable_api_ms_win_eventlog_legacy_l1_1_0
1071 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1072 enable_api_ms_win_mm_joystick_l1_1_0
1073 enable_api_ms_win_mm_misc_l1_1_1
1074 enable_api_ms_win_mm_mme_l1_1_0
1075 enable_api_ms_win_mm_time_l1_1_0
1076 enable_api_ms_win_ntuser_dc_access_l1_1_0
1077 enable_api_ms_win_ntuser_rectangle_l1_1_0
1078 enable_api_ms_win_ntuser_sysparams_l1_1_0
1079 enable_api_ms_win_perf_legacy_l1_1_0
1080 enable_api_ms_win_power_base_l1_1_0
1081 enable_api_ms_win_power_setting_l1_1_0
1082 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1085 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1086 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1087 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1089 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1090 enable_api_ms_win_security_audit_l1_1_1
1091 enable_api_ms_win_security_base_l1_1_0
1092 enable_api_ms_win_security_base_l1_2_0
1093 enable_api_ms_win_security_base_private_l1_1_1
1094 enable_api_ms_win_security_credentials_l1_1_0
1095 enable_api_ms_win_security_cryptoapi_l1_1_0
1096 enable_api_ms_win_security_grouppolicy_l1_1_0
1097 enable_api_ms_win_security_lsalookup_l1_1_0
1098 enable_api_ms_win_security_lsalookup_l1_1_1
1099 enable_api_ms_win_security_lsalookup_l2_1_0
1100 enable_api_ms_win_security_lsalookup_l2_1_1
1101 enable_api_ms_win_security_lsapolicy_l1_1_0
1102 enable_api_ms_win_security_provider_l1_1_0
1103 enable_api_ms_win_security_sddl_l1_1_0
1104 enable_api_ms_win_security_systemfunctions_l1_1_0
1105 enable_api_ms_win_service_core_l1_1_0
1106 enable_api_ms_win_service_core_l1_1_1
1107 enable_api_ms_win_service_management_l1_1_0
1108 enable_api_ms_win_service_management_l2_1_0
1109 enable_api_ms_win_service_private_l1_1_1
1110 enable_api_ms_win_service_winsvc_l1_1_0
1111 enable_api_ms_win_service_winsvc_l1_2_0
1112 enable_api_ms_win_shcore_obsolete_l1_1_0
1113 enable_api_ms_win_shcore_scaling_l1_1_1
1114 enable_api_ms_win_shcore_stream_l1_1_0
1115 enable_api_ms_win_shcore_thread_l1_1_0
1116 enable_api_ms_win_shell_shellcom_l1_1_0
1117 enable_api_ms_win_shell_shellfolders_l1_1_0
1118 enable_apphelp
1119 enable_appwiz_cpl
1120 enable_atl
1121 enable_atl100
1122 enable_atl110
1123 enable_atl80
1124 enable_atl90
1125 enable_atmlib
1126 enable_authz
1127 enable_avicap32
1128 enable_avifil32
1129 enable_avrt
1130 enable_bcrypt
1131 enable_bluetoothapis
1132 enable_browseui
1133 enable_bthprops_cpl
1134 enable_cabinet
1135 enable_capi2032
1136 enable_cards
1137 enable_cdosys
1138 enable_cfgmgr32
1139 enable_clusapi
1140 enable_combase
1141 enable_comcat
1142 enable_comctl32
1143 enable_comdlg32
1144 enable_compstui
1145 enable_comsvcs
1146 enable_concrt140
1147 enable_connect
1148 enable_credui
1149 enable_crtdll
1150 enable_crypt32
1151 enable_cryptdlg
1152 enable_cryptdll
1153 enable_cryptext
1154 enable_cryptnet
1155 enable_cryptui
1156 enable_ctapi32
1157 enable_ctl3d32
1158 enable_d2d1
1159 enable_d3d10
1160 enable_d3d10_1
1161 enable_d3d10core
1162 enable_d3d11
1163 enable_d3d12
1164 enable_d3d8
1165 enable_d3d9
1166 enable_d3dcompiler_33
1167 enable_d3dcompiler_34
1168 enable_d3dcompiler_35
1169 enable_d3dcompiler_36
1170 enable_d3dcompiler_37
1171 enable_d3dcompiler_38
1172 enable_d3dcompiler_39
1173 enable_d3dcompiler_40
1174 enable_d3dcompiler_41
1175 enable_d3dcompiler_42
1176 enable_d3dcompiler_43
1177 enable_d3dcompiler_46
1178 enable_d3dcompiler_47
1179 enable_d3dim
1180 enable_d3drm
1181 enable_d3dx10_33
1182 enable_d3dx10_34
1183 enable_d3dx10_35
1184 enable_d3dx10_36
1185 enable_d3dx10_37
1186 enable_d3dx10_38
1187 enable_d3dx10_39
1188 enable_d3dx10_40
1189 enable_d3dx10_41
1190 enable_d3dx10_42
1191 enable_d3dx10_43
1192 enable_d3dx11_42
1193 enable_d3dx11_43
1194 enable_d3dx9_24
1195 enable_d3dx9_25
1196 enable_d3dx9_26
1197 enable_d3dx9_27
1198 enable_d3dx9_28
1199 enable_d3dx9_29
1200 enable_d3dx9_30
1201 enable_d3dx9_31
1202 enable_d3dx9_32
1203 enable_d3dx9_33
1204 enable_d3dx9_34
1205 enable_d3dx9_35
1206 enable_d3dx9_36
1207 enable_d3dx9_37
1208 enable_d3dx9_38
1209 enable_d3dx9_39
1210 enable_d3dx9_40
1211 enable_d3dx9_41
1212 enable_d3dx9_42
1213 enable_d3dx9_43
1214 enable_d3dxof
1215 enable_davclnt
1216 enable_dbgeng
1217 enable_dbghelp
1218 enable_dciman32
1219 enable_ddraw
1220 enable_ddrawex
1221 enable_devenum
1222 enable_dhcpcsvc
1223 enable_dhtmled_ocx
1224 enable_difxapi
1225 enable_dinput
1226 enable_dinput8
1227 enable_dispex
1228 enable_dmband
1229 enable_dmcompos
1230 enable_dmime
1231 enable_dmloader
1232 enable_dmoguids
1233 enable_dmscript
1234 enable_dmstyle
1235 enable_dmsynth
1236 enable_dmusic
1237 enable_dmusic32
1238 enable_dnsapi
1239 enable_dplay
1240 enable_dplayx
1241 enable_dpnaddr
1242 enable_dpnet
1243 enable_dpnhpast
1244 enable_dpnlobby
1245 enable_dpvoice
1246 enable_dpwsockx
1247 enable_drmclien
1248 enable_dsound
1249 enable_dsquery
1250 enable_dssenh
1251 enable_dswave
1252 enable_dwmapi
1253 enable_dwrite
1254 enable_dx8vb
1255 enable_dxdiagn
1256 enable_dxerr8
1257 enable_dxerr9
1258 enable_dxgi
1259 enable_dxguid
1260 enable_dxva2
1261 enable_esent
1262 enable_evr
1263 enable_explorerframe
1264 enable_ext_ms_win_authz_context_l1_1_0
1265 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1266 enable_ext_ms_win_dwmapi_ext_l1_1_0
1267 enable_ext_ms_win_gdi_dc_create_l1_1_1
1268 enable_ext_ms_win_gdi_dc_l1_2_0
1269 enable_ext_ms_win_gdi_devcaps_l1_1_0
1270 enable_ext_ms_win_gdi_draw_l1_1_1
1271 enable_ext_ms_win_gdi_render_l1_1_0
1272 enable_ext_ms_win_kernel32_package_current_l1_1_0
1273 enable_ext_ms_win_kernel32_package_l1_1_1
1274 enable_ext_ms_win_ntuser_draw_l1_1_0
1275 enable_ext_ms_win_ntuser_gui_l1_3_0
1276 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1277 enable_ext_ms_win_ntuser_message_l1_1_1
1278 enable_ext_ms_win_ntuser_misc_l1_5_1
1279 enable_ext_ms_win_ntuser_mouse_l1_1_0
1280 enable_ext_ms_win_ntuser_private_l1_1_1
1281 enable_ext_ms_win_ntuser_private_l1_3_1
1282 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1283 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1284 enable_ext_ms_win_ntuser_window_l1_1_1
1285 enable_ext_ms_win_ntuser_window_l1_1_4
1286 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1287 enable_ext_ms_win_oleacc_l1_1_0
1288 enable_ext_ms_win_ras_rasapi32_l1_1_0
1289 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1290 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1291 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1293 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1294 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1295 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1296 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1297 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1298 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1299 enable_ext_ms_win_security_credui_l1_1_0
1300 enable_ext_ms_win_security_cryptui_l1_1_0
1301 enable_ext_ms_win_uxtheme_themes_l1_1_0
1302 enable_faultrep
1303 enable_feclient
1304 enable_fltlib
1305 enable_fltmgr_sys
1306 enable_fntcache
1307 enable_fontsub
1308 enable_fusion
1309 enable_fwpuclnt
1310 enable_gameux
1311 enable_gdi32
1312 enable_gdiplus
1313 enable_glu32
1314 enable_gphoto2_ds
1315 enable_gpkcsp
1316 enable_hal
1317 enable_hhctrl_ocx
1318 enable_hid
1319 enable_hidclass_sys
1320 enable_hlink
1321 enable_hnetcfg
1322 enable_httpapi
1323 enable_iccvid
1324 enable_icmp
1325 enable_ieframe
1326 enable_ieproxy
1327 enable_imaadp32_acm
1328 enable_imagehlp
1329 enable_imm32
1330 enable_inetcomm
1331 enable_inetcpl_cpl
1332 enable_inetmib1
1333 enable_infosoft
1334 enable_initpki
1335 enable_inkobj
1336 enable_inseng
1337 enable_iphlpapi
1338 enable_iprop
1339 enable_irprops_cpl
1340 enable_itircl
1341 enable_itss
1342 enable_joy_cpl
1343 enable_jscript
1344 enable_jsproxy
1345 enable_kerberos
1346 enable_kernel32
1347 enable_kernelbase
1348 enable_ksuser
1349 enable_ktmw32
1350 enable_l3codeca_acm
1351 enable_loadperf
1352 enable_localspl
1353 enable_localui
1354 enable_lz32
1355 enable_mapi32
1356 enable_mapistub
1357 enable_mciavi32
1358 enable_mcicda
1359 enable_mciqtz32
1360 enable_mciseq
1361 enable_mciwave
1362 enable_mf
1363 enable_mf3216
1364 enable_mfplat
1365 enable_mfreadwrite
1366 enable_mfuuid
1367 enable_mgmtapi
1368 enable_midimap
1369 enable_mlang
1370 enable_mmcndmgr
1371 enable_mmdevapi
1372 enable_mountmgr_sys
1373 enable_mp3dmod
1374 enable_mpr
1375 enable_mprapi
1376 enable_msacm32_drv
1377 enable_msacm32
1378 enable_msadp32_acm
1379 enable_msasn1
1380 enable_mscat32
1381 enable_mscms
1382 enable_mscoree
1383 enable_msctf
1384 enable_msctfp
1385 enable_msdaps
1386 enable_msdelta
1387 enable_msdmo
1388 enable_msdrm
1389 enable_msftedit
1390 enable_msg711_acm
1391 enable_msgsm32_acm
1392 enable_mshtml_tlb
1393 enable_mshtml
1394 enable_msi
1395 enable_msident
1396 enable_msimg32
1397 enable_msimsg
1398 enable_msimtf
1399 enable_msisip
1400 enable_msisys_ocx
1401 enable_msls31
1402 enable_msnet32
1403 enable_mspatcha
1404 enable_msports
1405 enable_msrle32
1406 enable_msscript_ocx
1407 enable_mssign32
1408 enable_mssip32
1409 enable_mstask
1410 enable_msvcirt
1411 enable_msvcm80
1412 enable_msvcm90
1413 enable_msvcp100
1414 enable_msvcp110
1415 enable_msvcp120
1416 enable_msvcp120_app
1417 enable_msvcp140
1418 enable_msvcp60
1419 enable_msvcp70
1420 enable_msvcp71
1421 enable_msvcp80
1422 enable_msvcp90
1423 enable_msvcr100
1424 enable_msvcr110
1425 enable_msvcr120
1426 enable_msvcr120_app
1427 enable_msvcr70
1428 enable_msvcr71
1429 enable_msvcr80
1430 enable_msvcr90
1431 enable_msvcrt
1432 enable_msvcrt20
1433 enable_msvcrt40
1434 enable_msvcrtd
1435 enable_msvfw32
1436 enable_msvidc32
1437 enable_mswsock
1438 enable_msxml
1439 enable_msxml2
1440 enable_msxml3
1441 enable_msxml4
1442 enable_msxml6
1443 enable_mtxdm
1444 enable_ncrypt
1445 enable_nddeapi
1446 enable_ndis_sys
1447 enable_netapi32
1448 enable_netcfgx
1449 enable_netprofm
1450 enable_newdev
1451 enable_ninput
1452 enable_normaliz
1453 enable_npmshtml
1454 enable_npptools
1455 enable_ntdll
1456 enable_ntdsapi
1457 enable_ntoskrnl_exe
1458 enable_ntprint
1459 enable_objsel
1460 enable_odbc32
1461 enable_odbccp32
1462 enable_odbccu32
1463 enable_ole32
1464 enable_oleacc
1465 enable_oleaut32
1466 enable_olecli32
1467 enable_oledb32
1468 enable_oledlg
1469 enable_olepro32
1470 enable_olesvr32
1471 enable_olethk32
1472 enable_opcservices
1473 enable_openal32
1474 enable_opencl
1475 enable_opengl32
1476 enable_packager
1477 enable_pdh
1478 enable_photometadatahandler
1479 enable_pidgen
1480 enable_powrprof
1481 enable_printui
1482 enable_prntvpt
1483 enable_propsys
1484 enable_psapi
1485 enable_pstorec
1486 enable_qcap
1487 enable_qedit
1488 enable_qmgr
1489 enable_qmgrprxy
1490 enable_quartz
1491 enable_query
1492 enable_qwave
1493 enable_rasapi32
1494 enable_rasdlg
1495 enable_regapi
1496 enable_resutils
1497 enable_riched20
1498 enable_riched32
1499 enable_rpcrt4
1500 enable_rsabase
1501 enable_rsaenh
1502 enable_rstrtmgr
1503 enable_rtutils
1504 enable_samlib
1505 enable_sane_ds
1506 enable_sapi
1507 enable_sas
1508 enable_scarddlg
1509 enable_sccbase
1510 enable_schannel
1511 enable_schedsvc
1512 enable_scrobj
1513 enable_scrrun
1514 enable_scsiport_sys
1515 enable_secur32
1516 enable_security
1517 enable_sensapi
1518 enable_serialui
1519 enable_setupapi
1520 enable_sfc
1521 enable_sfc_os
1522 enable_shcore
1523 enable_shdoclc
1524 enable_shdocvw
1525 enable_shell32
1526 enable_shfolder
1527 enable_shlwapi
1528 enable_slbcsp
1529 enable_slc
1530 enable_snmpapi
1531 enable_softpub
1532 enable_spoolss
1533 enable_srclient
1534 enable_sspicli
1535 enable_stdole2_tlb
1536 enable_stdole32_tlb
1537 enable_sti
1538 enable_strmbase
1539 enable_strmdll
1540 enable_strmiids
1541 enable_svrapi
1542 enable_sxs
1543 enable_t2embed
1544 enable_tapi32
1545 enable_taskschd
1546 enable_tdh
1547 enable_tdi_sys
1548 enable_traffic
1549 enable_twain_32
1550 enable_ucrtbase
1551 enable_uiautomationcore
1552 enable_uiribbon
1553 enable_unicows
1554 enable_updspapi
1555 enable_url
1556 enable_urlmon
1557 enable_usbd_sys
1558 enable_user32
1559 enable_userenv
1560 enable_usp10
1561 enable_uuid
1562 enable_uxtheme
1563 enable_vbscript
1564 enable_vcomp
1565 enable_vcomp100
1566 enable_vcomp110
1567 enable_vcomp120
1568 enable_vcomp140
1569 enable_vcomp90
1570 enable_vcruntime140
1571 enable_vdmdbg
1572 enable_version
1573 enable_virtdisk
1574 enable_vssapi
1575 enable_vulkan_1
1576 enable_wbemdisp
1577 enable_wbemprox
1578 enable_wdscore
1579 enable_webservices
1580 enable_wer
1581 enable_wevtapi
1582 enable_wiaservc
1583 enable_wimgapi
1584 enable_windowscodecs
1585 enable_windowscodecsext
1586 enable_winealsa_drv
1587 enable_wineandroid_drv
1588 enable_winebus_sys
1589 enable_winecoreaudio_drv
1590 enable_winecrt0
1591 enable_wined3d
1592 enable_winegstreamer
1593 enable_winehid_sys
1594 enable_winejoystick_drv
1595 enable_winemac_drv
1596 enable_winemapi
1597 enable_wineoss_drv
1598 enable_wineps_drv
1599 enable_winepulse_drv
1600 enable_wineqtdecoder
1601 enable_winevulkan
1602 enable_winex11_drv
1603 enable_wing32
1604 enable_winhttp
1605 enable_wininet
1606 enable_winmm
1607 enable_winnls32
1608 enable_winscard
1609 enable_winspool_drv
1610 enable_winsta
1611 enable_wintab32
1612 enable_wintrust
1613 enable_winusb
1614 enable_wlanapi
1615 enable_wldap32
1616 enable_wmasf
1617 enable_wmcodecdspuuid
1618 enable_wmi
1619 enable_wmiutils
1620 enable_wmp
1621 enable_wmphoto
1622 enable_wmvcore
1623 enable_wnaspi32
1624 enable_wpc
1625 enable_wpcap
1626 enable_ws2_32
1627 enable_wsdapi
1628 enable_wshom_ocx
1629 enable_wsnmp32
1630 enable_wsock32
1631 enable_wtsapi32
1632 enable_wuapi
1633 enable_wuaueng
1634 enable_x3daudio1_0
1635 enable_x3daudio1_1
1636 enable_x3daudio1_2
1637 enable_x3daudio1_3
1638 enable_x3daudio1_4
1639 enable_x3daudio1_5
1640 enable_x3daudio1_6
1641 enable_x3daudio1_7
1642 enable_xapofx1_1
1643 enable_xapofx1_2
1644 enable_xapofx1_3
1645 enable_xapofx1_4
1646 enable_xapofx1_5
1647 enable_xaudio2_0
1648 enable_xaudio2_1
1649 enable_xaudio2_2
1650 enable_xaudio2_3
1651 enable_xaudio2_4
1652 enable_xaudio2_5
1653 enable_xaudio2_6
1654 enable_xaudio2_7
1655 enable_xaudio2_8
1656 enable_xaudio2_9
1657 enable_xinput1_1
1658 enable_xinput1_2
1659 enable_xinput1_3
1660 enable_xinput1_4
1661 enable_xinput9_1_0
1662 enable_xmllite
1663 enable_xolehlp
1664 enable_xpsprint
1665 enable_xpssvcs
1666 enable_fonts
1667 enable_include
1668 enable_port
1669 enable_wine
1670 enable_wpp
1671 enable_loader
1672 enable_po
1673 enable_arp
1674 enable_aspnet_regiis
1675 enable_attrib
1676 enable_cabarc
1677 enable_cacls
1678 enable_clock
1679 enable_cmd
1680 enable_conhost
1681 enable_control
1682 enable_cscript
1683 enable_dism
1684 enable_dpnsvr
1685 enable_dxdiag
1686 enable_eject
1687 enable_expand
1688 enable_explorer
1689 enable_extrac32
1690 enable_fc
1691 enable_find
1692 enable_findstr
1693 enable_fsutil
1694 enable_hh
1695 enable_hostname
1696 enable_icacls
1697 enable_icinfo
1698 enable_iexplore
1699 enable_ipconfig
1700 enable_lodctr
1701 enable_mofcomp
1702 enable_mshta
1703 enable_msiexec
1704 enable_msinfo32
1705 enable_net
1706 enable_netsh
1707 enable_netstat
1708 enable_ngen
1709 enable_notepad
1710 enable_oleview
1711 enable_ping
1712 enable_plugplay
1713 enable_powershell
1714 enable_presentationfontcache
1715 enable_progman
1716 enable_reg
1717 enable_regasm
1718 enable_regedit
1719 enable_regsvcs
1720 enable_regsvr32
1721 enable_rpcss
1722 enable_rundll32
1723 enable_sc
1724 enable_schtasks
1725 enable_sdbinst
1726 enable_secedit
1727 enable_servicemodelreg
1728 enable_services
1729 enable_shutdown
1730 enable_spoolsv
1731 enable_start
1732 enable_subst
1733 enable_svchost
1734 enable_systeminfo
1735 enable_taskkill
1736 enable_tasklist
1737 enable_taskmgr
1738 enable_termsv
1739 enable_uninstaller
1740 enable_unlodctr
1741 enable_view
1742 enable_wevtutil
1743 enable_wineboot
1744 enable_winebrowser
1745 enable_winecfg
1746 enable_wineconsole
1747 enable_winedbg
1748 enable_winedevice
1749 enable_winefile
1750 enable_winemenubuilder
1751 enable_winemine
1752 enable_winemsibuilder
1753 enable_winepath
1754 enable_winetest
1755 enable_winhlp32
1756 enable_winmgmt
1757 enable_winver
1758 enable_wmic
1759 enable_wmplayer
1760 enable_wordpad
1761 enable_write
1762 enable_wscript
1763 enable_wusa
1764 enable_xcopy
1765 enable_server
1766 enable_tools
1767 enable_sfnt2fon
1768 enable_widl
1769 enable_winebuild
1770 enable_winedump
1771 enable_winegcc
1772 enable_winemaker
1773 enable_wmc
1774 enable_wrc
1776 ac_precious_vars='build_alias
1777 host_alias
1778 target_alias
1780 CFLAGS
1781 LDFLAGS
1782 LIBS
1783 CPPFLAGS
1785 CXXFLAGS
1788 OBJC
1789 OBJCFLAGS
1790 OBJCPP
1791 XMKMF
1792 XML2_CFLAGS
1793 XML2_LIBS
1794 XSLT_CFLAGS
1795 XSLT_LIBS
1796 DBUS_CFLAGS
1797 DBUS_LIBS
1798 HAL_CFLAGS
1799 HAL_LIBS
1800 GNUTLS_CFLAGS
1801 GNUTLS_LIBS
1802 SANE_CFLAGS
1803 SANE_LIBS
1804 GPHOTO2_CFLAGS
1805 GPHOTO2_LIBS
1806 GPHOTO2_PORT_CFLAGS
1807 GPHOTO2_PORT_LIBS
1808 LCMS2_CFLAGS
1809 LCMS2_LIBS
1810 FREETYPE_CFLAGS
1811 FREETYPE_LIBS
1812 PULSE_CFLAGS
1813 PULSE_LIBS
1814 GSTREAMER_CFLAGS
1815 GSTREAMER_LIBS
1816 UDEV_CFLAGS
1817 UDEV_LIBS
1818 SDL2_CFLAGS
1819 SDL2_LIBS
1820 CAPI20_CFLAGS
1821 CAPI20_LIBS
1822 CUPS_CFLAGS
1823 CUPS_LIBS
1824 FONTCONFIG_CFLAGS
1825 FONTCONFIG_LIBS
1826 KRB5_CFLAGS
1827 KRB5_LIBS
1828 GSSAPI_CFLAGS
1829 GSSAPI_LIBS
1830 JPEG_CFLAGS
1831 JPEG_LIBS
1832 PNG_CFLAGS
1833 PNG_LIBS
1834 TIFF_CFLAGS
1835 TIFF_LIBS
1836 MPG123_CFLAGS
1837 MPG123_LIBS
1838 NETAPI_CFLAGS
1839 NETAPI_LIBS
1840 VKD3D_CFLAGS
1841 VKD3D_LIBS
1842 LDAP_CFLAGS
1843 LDAP_LIBS'
1846 # Initialize some variables set by options.
1847 ac_init_help=
1848 ac_init_version=false
1849 ac_unrecognized_opts=
1850 ac_unrecognized_sep=
1851 # The variables have the same names as the options, with
1852 # dashes changed to underlines.
1853 cache_file=/dev/null
1854 exec_prefix=NONE
1855 no_create=
1856 no_recursion=
1857 prefix=NONE
1858 program_prefix=NONE
1859 program_suffix=NONE
1860 program_transform_name=s,x,x,
1861 silent=
1862 site=
1863 srcdir=
1864 verbose=
1865 x_includes=NONE
1866 x_libraries=NONE
1868 # Installation directory options.
1869 # These are left unexpanded so users can "make install exec_prefix=/foo"
1870 # and all the variables that are supposed to be based on exec_prefix
1871 # by default will actually change.
1872 # Use braces instead of parens because sh, perl, etc. also accept them.
1873 # (The list follows the same order as the GNU Coding Standards.)
1874 bindir='${exec_prefix}/bin'
1875 sbindir='${exec_prefix}/sbin'
1876 libexecdir='${exec_prefix}/libexec'
1877 datarootdir='${prefix}/share'
1878 datadir='${datarootdir}'
1879 sysconfdir='${prefix}/etc'
1880 sharedstatedir='${prefix}/com'
1881 localstatedir='${prefix}/var'
1882 runstatedir='${localstatedir}/run'
1883 includedir='${prefix}/include'
1884 oldincludedir='/usr/include'
1885 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1886 infodir='${datarootdir}/info'
1887 htmldir='${docdir}'
1888 dvidir='${docdir}'
1889 pdfdir='${docdir}'
1890 psdir='${docdir}'
1891 libdir='${exec_prefix}/lib'
1892 localedir='${datarootdir}/locale'
1893 mandir='${datarootdir}/man'
1895 ac_prev=
1896 ac_dashdash=
1897 for ac_option
1899 # If the previous option needs an argument, assign it.
1900 if test -n "$ac_prev"; then
1901 eval $ac_prev=\$ac_option
1902 ac_prev=
1903 continue
1906 case $ac_option in
1907 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1908 *=) ac_optarg= ;;
1909 *) ac_optarg=yes ;;
1910 esac
1912 # Accept the important Cygnus configure options, so we can diagnose typos.
1914 case $ac_dashdash$ac_option in
1916 ac_dashdash=yes ;;
1918 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1919 ac_prev=bindir ;;
1920 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1921 bindir=$ac_optarg ;;
1923 -build | --build | --buil | --bui | --bu)
1924 ac_prev=build_alias ;;
1925 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1926 build_alias=$ac_optarg ;;
1928 -cache-file | --cache-file | --cache-fil | --cache-fi \
1929 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1930 ac_prev=cache_file ;;
1931 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1932 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1933 cache_file=$ac_optarg ;;
1935 --config-cache | -C)
1936 cache_file=config.cache ;;
1938 -datadir | --datadir | --datadi | --datad)
1939 ac_prev=datadir ;;
1940 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1941 datadir=$ac_optarg ;;
1943 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1944 | --dataroo | --dataro | --datar)
1945 ac_prev=datarootdir ;;
1946 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1947 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1948 datarootdir=$ac_optarg ;;
1950 -disable-* | --disable-*)
1951 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1952 # Reject names that are not valid shell variable names.
1953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1954 as_fn_error $? "invalid feature name: $ac_useropt"
1955 ac_useropt_orig=$ac_useropt
1956 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1957 case $ac_user_opts in
1959 "enable_$ac_useropt"
1960 "*) ;;
1961 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1962 ac_unrecognized_sep=', ';;
1963 esac
1964 eval enable_$ac_useropt=no ;;
1966 -docdir | --docdir | --docdi | --doc | --do)
1967 ac_prev=docdir ;;
1968 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1969 docdir=$ac_optarg ;;
1971 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1972 ac_prev=dvidir ;;
1973 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1974 dvidir=$ac_optarg ;;
1976 -enable-* | --enable-*)
1977 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1978 # Reject names that are not valid shell variable names.
1979 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1980 as_fn_error $? "invalid feature name: $ac_useropt"
1981 ac_useropt_orig=$ac_useropt
1982 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1983 case $ac_user_opts in
1985 "enable_$ac_useropt"
1986 "*) ;;
1987 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1988 ac_unrecognized_sep=', ';;
1989 esac
1990 eval enable_$ac_useropt=\$ac_optarg ;;
1992 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1993 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1994 | --exec | --exe | --ex)
1995 ac_prev=exec_prefix ;;
1996 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1997 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1998 | --exec=* | --exe=* | --ex=*)
1999 exec_prefix=$ac_optarg ;;
2001 -gas | --gas | --ga | --g)
2002 # Obsolete; use --with-gas.
2003 with_gas=yes ;;
2005 -help | --help | --hel | --he | -h)
2006 ac_init_help=long ;;
2007 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2008 ac_init_help=recursive ;;
2009 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2010 ac_init_help=short ;;
2012 -host | --host | --hos | --ho)
2013 ac_prev=host_alias ;;
2014 -host=* | --host=* | --hos=* | --ho=*)
2015 host_alias=$ac_optarg ;;
2017 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2018 ac_prev=htmldir ;;
2019 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2020 | --ht=*)
2021 htmldir=$ac_optarg ;;
2023 -includedir | --includedir | --includedi | --included | --include \
2024 | --includ | --inclu | --incl | --inc)
2025 ac_prev=includedir ;;
2026 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2027 | --includ=* | --inclu=* | --incl=* | --inc=*)
2028 includedir=$ac_optarg ;;
2030 -infodir | --infodir | --infodi | --infod | --info | --inf)
2031 ac_prev=infodir ;;
2032 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2033 infodir=$ac_optarg ;;
2035 -libdir | --libdir | --libdi | --libd)
2036 ac_prev=libdir ;;
2037 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2038 libdir=$ac_optarg ;;
2040 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2041 | --libexe | --libex | --libe)
2042 ac_prev=libexecdir ;;
2043 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2044 | --libexe=* | --libex=* | --libe=*)
2045 libexecdir=$ac_optarg ;;
2047 -localedir | --localedir | --localedi | --localed | --locale)
2048 ac_prev=localedir ;;
2049 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2050 localedir=$ac_optarg ;;
2052 -localstatedir | --localstatedir | --localstatedi | --localstated \
2053 | --localstate | --localstat | --localsta | --localst | --locals)
2054 ac_prev=localstatedir ;;
2055 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2056 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2057 localstatedir=$ac_optarg ;;
2059 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2060 ac_prev=mandir ;;
2061 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2062 mandir=$ac_optarg ;;
2064 -nfp | --nfp | --nf)
2065 # Obsolete; use --without-fp.
2066 with_fp=no ;;
2068 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2069 | --no-cr | --no-c | -n)
2070 no_create=yes ;;
2072 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2073 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2074 no_recursion=yes ;;
2076 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2077 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2078 | --oldin | --oldi | --old | --ol | --o)
2079 ac_prev=oldincludedir ;;
2080 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2081 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2082 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2083 oldincludedir=$ac_optarg ;;
2085 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2086 ac_prev=prefix ;;
2087 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2088 prefix=$ac_optarg ;;
2090 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2091 | --program-pre | --program-pr | --program-p)
2092 ac_prev=program_prefix ;;
2093 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2094 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2095 program_prefix=$ac_optarg ;;
2097 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2098 | --program-suf | --program-su | --program-s)
2099 ac_prev=program_suffix ;;
2100 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2101 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2102 program_suffix=$ac_optarg ;;
2104 -program-transform-name | --program-transform-name \
2105 | --program-transform-nam | --program-transform-na \
2106 | --program-transform-n | --program-transform- \
2107 | --program-transform | --program-transfor \
2108 | --program-transfo | --program-transf \
2109 | --program-trans | --program-tran \
2110 | --progr-tra | --program-tr | --program-t)
2111 ac_prev=program_transform_name ;;
2112 -program-transform-name=* | --program-transform-name=* \
2113 | --program-transform-nam=* | --program-transform-na=* \
2114 | --program-transform-n=* | --program-transform-=* \
2115 | --program-transform=* | --program-transfor=* \
2116 | --program-transfo=* | --program-transf=* \
2117 | --program-trans=* | --program-tran=* \
2118 | --progr-tra=* | --program-tr=* | --program-t=*)
2119 program_transform_name=$ac_optarg ;;
2121 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2122 ac_prev=pdfdir ;;
2123 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2124 pdfdir=$ac_optarg ;;
2126 -psdir | --psdir | --psdi | --psd | --ps)
2127 ac_prev=psdir ;;
2128 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2129 psdir=$ac_optarg ;;
2131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2132 | -silent | --silent | --silen | --sile | --sil)
2133 silent=yes ;;
2135 -runstatedir | --runstatedir | --runstatedi | --runstated \
2136 | --runstate | --runstat | --runsta | --runst | --runs \
2137 | --run | --ru | --r)
2138 ac_prev=runstatedir ;;
2139 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2140 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2141 | --run=* | --ru=* | --r=*)
2142 runstatedir=$ac_optarg ;;
2144 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2145 ac_prev=sbindir ;;
2146 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2147 | --sbi=* | --sb=*)
2148 sbindir=$ac_optarg ;;
2150 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2151 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2152 | --sharedst | --shareds | --shared | --share | --shar \
2153 | --sha | --sh)
2154 ac_prev=sharedstatedir ;;
2155 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2156 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2157 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2158 | --sha=* | --sh=*)
2159 sharedstatedir=$ac_optarg ;;
2161 -site | --site | --sit)
2162 ac_prev=site ;;
2163 -site=* | --site=* | --sit=*)
2164 site=$ac_optarg ;;
2166 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2167 ac_prev=srcdir ;;
2168 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2169 srcdir=$ac_optarg ;;
2171 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2172 | --syscon | --sysco | --sysc | --sys | --sy)
2173 ac_prev=sysconfdir ;;
2174 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2175 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2176 sysconfdir=$ac_optarg ;;
2178 -target | --target | --targe | --targ | --tar | --ta | --t)
2179 ac_prev=target_alias ;;
2180 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2181 target_alias=$ac_optarg ;;
2183 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2184 verbose=yes ;;
2186 -version | --version | --versio | --versi | --vers | -V)
2187 ac_init_version=: ;;
2189 -with-* | --with-*)
2190 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2191 # Reject names that are not valid shell variable names.
2192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2193 as_fn_error $? "invalid package name: $ac_useropt"
2194 ac_useropt_orig=$ac_useropt
2195 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2196 case $ac_user_opts in
2198 "with_$ac_useropt"
2199 "*) ;;
2200 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2201 ac_unrecognized_sep=', ';;
2202 esac
2203 eval with_$ac_useropt=\$ac_optarg ;;
2205 -without-* | --without-*)
2206 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2207 # Reject names that are not valid shell variable names.
2208 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2209 as_fn_error $? "invalid package name: $ac_useropt"
2210 ac_useropt_orig=$ac_useropt
2211 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2212 case $ac_user_opts in
2214 "with_$ac_useropt"
2215 "*) ;;
2216 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2217 ac_unrecognized_sep=', ';;
2218 esac
2219 eval with_$ac_useropt=no ;;
2221 --x)
2222 # Obsolete; use --with-x.
2223 with_x=yes ;;
2225 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2226 | --x-incl | --x-inc | --x-in | --x-i)
2227 ac_prev=x_includes ;;
2228 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2229 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2230 x_includes=$ac_optarg ;;
2232 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2233 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2234 ac_prev=x_libraries ;;
2235 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2236 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2237 x_libraries=$ac_optarg ;;
2239 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2240 Try \`$0 --help' for more information"
2243 *=*)
2244 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2245 # Reject names that are not valid shell variable names.
2246 case $ac_envvar in #(
2247 '' | [0-9]* | *[!_$as_cr_alnum]* )
2248 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2249 esac
2250 eval $ac_envvar=\$ac_optarg
2251 export $ac_envvar ;;
2254 # FIXME: should be removed in autoconf 3.0.
2255 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2256 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2257 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2258 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2261 esac
2262 done
2264 if test -n "$ac_prev"; then
2265 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2266 as_fn_error $? "missing argument to $ac_option"
2269 if test -n "$ac_unrecognized_opts"; then
2270 case $enable_option_checking in
2271 no) ;;
2272 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2273 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2274 esac
2277 # Check all directory arguments for consistency.
2278 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2279 datadir sysconfdir sharedstatedir localstatedir includedir \
2280 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2281 libdir localedir mandir runstatedir
2283 eval ac_val=\$$ac_var
2284 # Remove trailing slashes.
2285 case $ac_val in
2286 */ )
2287 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2288 eval $ac_var=\$ac_val;;
2289 esac
2290 # Be sure to have absolute directory names.
2291 case $ac_val in
2292 [\\/$]* | ?:[\\/]* ) continue;;
2293 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2294 esac
2295 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2296 done
2298 # There might be people who depend on the old broken behavior: `$host'
2299 # used to hold the argument of --host etc.
2300 # FIXME: To remove some day.
2301 build=$build_alias
2302 host=$host_alias
2303 target=$target_alias
2305 # FIXME: To remove some day.
2306 if test "x$host_alias" != x; then
2307 if test "x$build_alias" = x; then
2308 cross_compiling=maybe
2309 elif test "x$build_alias" != "x$host_alias"; then
2310 cross_compiling=yes
2314 ac_tool_prefix=
2315 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2317 test "$silent" = yes && exec 6>/dev/null
2320 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2321 ac_ls_di=`ls -di .` &&
2322 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2323 as_fn_error $? "working directory cannot be determined"
2324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2325 as_fn_error $? "pwd does not report name of working directory"
2328 # Find the source files, if location was not specified.
2329 if test -z "$srcdir"; then
2330 ac_srcdir_defaulted=yes
2331 # Try the directory containing this script, then the parent directory.
2332 ac_confdir=`$as_dirname -- "$as_myself" ||
2333 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2334 X"$as_myself" : 'X\(//\)[^/]' \| \
2335 X"$as_myself" : 'X\(//\)$' \| \
2336 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2337 $as_echo X"$as_myself" |
2338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2339 s//\1/
2342 /^X\(\/\/\)[^/].*/{
2343 s//\1/
2346 /^X\(\/\/\)$/{
2347 s//\1/
2350 /^X\(\/\).*/{
2351 s//\1/
2354 s/.*/./; q'`
2355 srcdir=$ac_confdir
2356 if test ! -r "$srcdir/$ac_unique_file"; then
2357 srcdir=..
2359 else
2360 ac_srcdir_defaulted=no
2362 if test ! -r "$srcdir/$ac_unique_file"; then
2363 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2364 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2366 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2367 ac_abs_confdir=`(
2368 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2369 pwd)`
2370 # When building in place, set srcdir=.
2371 if test "$ac_abs_confdir" = "$ac_pwd"; then
2372 srcdir=.
2374 # Remove unnecessary trailing slashes from srcdir.
2375 # Double slashes in file names in object file debugging info
2376 # mess up M-x gdb in Emacs.
2377 case $srcdir in
2378 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2379 esac
2380 for ac_var in $ac_precious_vars; do
2381 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2382 eval ac_env_${ac_var}_value=\$${ac_var}
2383 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2384 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2385 done
2388 # Report the --help message.
2390 if test "$ac_init_help" = "long"; then
2391 # Omit some internal or obsolete options to make the list less imposing.
2392 # This message is too long to be a string in the A/UX 3.1 sh.
2393 cat <<_ACEOF
2394 \`configure' configures Wine 3.20 to adapt to many kinds of systems.
2396 Usage: $0 [OPTION]... [VAR=VALUE]...
2398 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2399 VAR=VALUE. See below for descriptions of some of the useful variables.
2401 Defaults for the options are specified in brackets.
2403 Configuration:
2404 -h, --help display this help and exit
2405 --help=short display options specific to this package
2406 --help=recursive display the short help of all the included packages
2407 -V, --version display version information and exit
2408 -q, --quiet, --silent do not print \`checking ...' messages
2409 --cache-file=FILE cache test results in FILE [disabled]
2410 -C, --config-cache alias for \`--cache-file=config.cache'
2411 -n, --no-create do not create output files
2412 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2414 Installation directories:
2415 --prefix=PREFIX install architecture-independent files in PREFIX
2416 [$ac_default_prefix]
2417 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2418 [PREFIX]
2420 By default, \`make install' will install all the files in
2421 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2422 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2423 for instance \`--prefix=\$HOME'.
2425 For better control, use the options below.
2427 Fine tuning of the installation directories:
2428 --bindir=DIR user executables [EPREFIX/bin]
2429 --sbindir=DIR system admin executables [EPREFIX/sbin]
2430 --libexecdir=DIR program executables [EPREFIX/libexec]
2431 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2432 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2433 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2434 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2435 --libdir=DIR object code libraries [EPREFIX/lib]
2436 --includedir=DIR C header files [PREFIX/include]
2437 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2438 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2439 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2440 --infodir=DIR info documentation [DATAROOTDIR/info]
2441 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2442 --mandir=DIR man documentation [DATAROOTDIR/man]
2443 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2444 --htmldir=DIR html documentation [DOCDIR]
2445 --dvidir=DIR dvi documentation [DOCDIR]
2446 --pdfdir=DIR pdf documentation [DOCDIR]
2447 --psdir=DIR ps documentation [DOCDIR]
2448 _ACEOF
2450 cat <<\_ACEOF
2452 X features:
2453 --x-includes=DIR X include files are in DIR
2454 --x-libraries=DIR X library files are in DIR
2456 System types:
2457 --build=BUILD configure for building on BUILD [guessed]
2458 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2459 _ACEOF
2462 if test -n "$ac_init_help"; then
2463 case $ac_init_help in
2464 short | recursive ) echo "Configuration of Wine 3.20:";;
2465 esac
2466 cat <<\_ACEOF
2468 Optional Features:
2469 --disable-option-checking ignore unrecognized --enable/--with options
2470 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2471 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2472 --disable-win16 do not include Win16 support
2473 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2474 binaries)
2475 --disable-tests do not build the regression tests
2476 --enable-maintainer-mode
2477 enable maintainer-specific build rules
2478 --disable-largefile omit support for large files
2480 Optional Packages:
2481 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2482 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2483 --without-alsa do not use the Alsa sound support
2484 --without-capi do not use CAPI (ISDN support)
2485 --without-cms do not use CMS (color management support)
2486 --without-coreaudio do not use the CoreAudio sound support
2487 --without-cups do not use CUPS
2488 --without-curses do not use (n)curses
2489 --without-dbus do not use DBus (dynamic device support)
2490 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2491 --without-fontconfig do not use fontconfig
2492 --without-freetype do not use the FreeType library
2493 --without-gettext do not use gettext
2494 --with-gettextpo use the GetTextPO library to rebuild po files
2495 --without-gphoto do not use gphoto (Digital Camera support)
2496 --without-glu do not use the GLU library
2497 --without-gnutls do not use GnuTLS (schannel support)
2498 --without-gsm do not use libgsm (GSM 06.10 codec support)
2499 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2500 --without-gstreamer do not use GStreamer (codecs support)
2501 --without-hal do not use HAL (dynamic device support)
2502 --without-jpeg do not use JPEG
2503 --without-krb5 do not use krb5 (Kerberos)
2504 --without-ldap do not use LDAP
2505 --without-mpg123 do not use the mpg123 library
2506 --without-netapi do not use the Samba NetAPI library
2507 --without-openal do not use OpenAL
2508 --without-opencl do not use OpenCL
2509 --without-opengl do not use OpenGL
2510 --without-osmesa do not use the OSMesa library
2511 --without-oss do not use the OSS sound support
2512 --without-pcap do not use the Packet Capture library
2513 --without-png do not use PNG
2514 --without-pthread do not use the pthread library
2515 --without-pulse do not use PulseAudio sound support
2516 --without-sane do not use SANE (scanner support)
2517 --without-sdl do not use SDL
2518 --without-tiff do not use TIFF
2519 --without-udev do not use udev (plug and play support)
2520 --without-v4l do not use v4l1 (v4l support)
2521 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2522 --without-vulkan do not use Vulkan
2523 --without-xcomposite do not use the Xcomposite extension
2524 --without-xcursor do not use the Xcursor extension
2525 --without-xfixes do not use Xfixes for clipboard change notifications
2526 --without-xinerama do not use Xinerama (multi-monitor support)
2527 --without-xinput do not use the Xinput extension
2528 --without-xinput2 do not use the Xinput 2 extension
2529 --without-xml do not use XML
2530 --without-xrandr do not use Xrandr (resolution changes)
2531 --without-xrender do not use the Xrender extension
2532 --without-xshape do not use the Xshape extension
2533 --without-xshm do not use XShm (shared memory extension)
2534 --without-xslt do not use XSLT
2535 --without-xxf86vm do not use XFree video mode extension
2536 --without-zlib do not use Zlib (data compression)
2537 --with-wine-tools=DIR use Wine tools from directory DIR
2538 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2539 --with-x use the X Window System
2541 Some influential environment variables:
2542 CC C compiler command
2543 CFLAGS C compiler flags
2544 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2545 nonstandard directory <lib dir>
2546 LIBS libraries to pass to the linker, e.g. -l<library>
2547 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2548 you have headers in a nonstandard directory <include dir>
2549 CXX C++ compiler command
2550 CXXFLAGS C++ compiler flags
2551 CPP C preprocessor
2552 OBJC Objective C compiler command
2553 OBJCFLAGS Objective C compiler flags
2554 OBJCPP Objective C preprocessor
2555 XMKMF Path to xmkmf, Makefile generator for X Window System
2556 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2557 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2558 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2559 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2560 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2561 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2562 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2563 HAL_LIBS Linker flags for hal, overriding pkg-config
2564 GNUTLS_CFLAGS
2565 C compiler flags for gnutls, overriding pkg-config
2566 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2567 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2568 SANE_LIBS Linker flags for libsane, overriding pkg-config
2569 GPHOTO2_CFLAGS
2570 C compiler flags for libgphoto2, overriding pkg-config
2571 GPHOTO2_LIBS
2572 Linker flags for libgphoto2, overriding pkg-config
2573 GPHOTO2_PORT_CFLAGS
2574 C compiler flags for libgphoto2_port, overriding pkg-config
2575 GPHOTO2_PORT_LIBS
2576 Linker flags for libgphoto2_port, overriding pkg-config
2577 LCMS2_CFLAGS
2578 C compiler flags for lcms2, overriding pkg-config
2579 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2580 FREETYPE_CFLAGS
2581 C compiler flags for freetype2, overriding pkg-config
2582 FREETYPE_LIBS
2583 Linker flags for freetype2, overriding pkg-config
2584 PULSE_CFLAGS
2585 C compiler flags for libpulse, overriding pkg-config
2586 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2587 GSTREAMER_CFLAGS
2588 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2589 gstreamer-audio-1.0, overriding pkg-config
2590 GSTREAMER_LIBS
2591 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2592 gstreamer-audio-1.0, overriding pkg-config
2593 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2594 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2595 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2596 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2597 CAPI20_CFLAGS
2598 C compiler flags for capi20, overriding pkg-config
2599 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2600 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2601 CUPS_LIBS Linker flags for cups, overriding pkg-config
2602 FONTCONFIG_CFLAGS
2603 C compiler flags for fontconfig, overriding pkg-config
2604 FONTCONFIG_LIBS
2605 Linker flags for fontconfig, overriding pkg-config
2606 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2607 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2608 GSSAPI_CFLAGS
2609 C compiler flags for krb5-gssapi, overriding pkg-config
2610 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2611 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2612 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2613 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2614 PNG_LIBS Linker flags for libpng, overriding pkg-config
2615 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2616 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2617 MPG123_CFLAGS
2618 C compiler flags for libmpg123, overriding pkg-config
2619 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2620 NETAPI_CFLAGS
2621 C compiler flags for netapi, overriding pkg-config
2622 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2623 VKD3D_CFLAGS
2624 C compiler flags for libvkd3d, overriding pkg-config
2625 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2626 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2627 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2629 Use these variables to override the choices made by `configure' or to help
2630 it to find libraries and programs with nonstandard names/locations.
2632 Report bugs to <wine-devel@winehq.org>.
2633 Wine home page: <https://www.winehq.org>.
2634 _ACEOF
2635 ac_status=$?
2638 if test "$ac_init_help" = "recursive"; then
2639 # If there are subdirs, report their specific --help.
2640 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2641 test -d "$ac_dir" ||
2642 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2643 continue
2644 ac_builddir=.
2646 case "$ac_dir" in
2647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2649 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2650 # A ".." for each directory in $ac_dir_suffix.
2651 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2652 case $ac_top_builddir_sub in
2653 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2654 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2655 esac ;;
2656 esac
2657 ac_abs_top_builddir=$ac_pwd
2658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2659 # for backward compatibility:
2660 ac_top_builddir=$ac_top_build_prefix
2662 case $srcdir in
2663 .) # We are building in place.
2664 ac_srcdir=.
2665 ac_top_srcdir=$ac_top_builddir_sub
2666 ac_abs_top_srcdir=$ac_pwd ;;
2667 [\\/]* | ?:[\\/]* ) # Absolute name.
2668 ac_srcdir=$srcdir$ac_dir_suffix;
2669 ac_top_srcdir=$srcdir
2670 ac_abs_top_srcdir=$srcdir ;;
2671 *) # Relative name.
2672 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2673 ac_top_srcdir=$ac_top_build_prefix$srcdir
2674 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2675 esac
2676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2678 cd "$ac_dir" || { ac_status=$?; continue; }
2679 # Check for guested configure.
2680 if test -f "$ac_srcdir/configure.gnu"; then
2681 echo &&
2682 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2683 elif test -f "$ac_srcdir/configure"; then
2684 echo &&
2685 $SHELL "$ac_srcdir/configure" --help=recursive
2686 else
2687 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2688 fi || ac_status=$?
2689 cd "$ac_pwd" || { ac_status=$?; break; }
2690 done
2693 test -n "$ac_init_help" && exit $ac_status
2694 if $ac_init_version; then
2695 cat <<\_ACEOF
2696 Wine configure 3.20
2697 generated by GNU Autoconf 2.69
2699 Copyright (C) 2012 Free Software Foundation, Inc.
2700 This configure script is free software; the Free Software Foundation
2701 gives unlimited permission to copy, distribute and modify it.
2702 _ACEOF
2703 exit
2706 ## ------------------------ ##
2707 ## Autoconf initialization. ##
2708 ## ------------------------ ##
2710 # ac_fn_c_try_compile LINENO
2711 # --------------------------
2712 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2713 ac_fn_c_try_compile ()
2715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2716 rm -f conftest.$ac_objext
2717 if { { ac_try="$ac_compile"
2718 case "(($ac_try" in
2719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2720 *) ac_try_echo=$ac_try;;
2721 esac
2722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2723 $as_echo "$ac_try_echo"; } >&5
2724 (eval "$ac_compile") 2>conftest.err
2725 ac_status=$?
2726 if test -s conftest.err; then
2727 grep -v '^ *+' conftest.err >conftest.er1
2728 cat conftest.er1 >&5
2729 mv -f conftest.er1 conftest.err
2731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2732 test $ac_status = 0; } && {
2733 test -z "$ac_c_werror_flag" ||
2734 test ! -s conftest.err
2735 } && test -s conftest.$ac_objext; then :
2736 ac_retval=0
2737 else
2738 $as_echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.$ac_ext >&5
2741 ac_retval=1
2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2744 as_fn_set_status $ac_retval
2746 } # ac_fn_c_try_compile
2748 # ac_fn_cxx_try_compile LINENO
2749 # ----------------------------
2750 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2751 ac_fn_cxx_try_compile ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 rm -f conftest.$ac_objext
2755 if { { ac_try="$ac_compile"
2756 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762 (eval "$ac_compile") 2>conftest.err
2763 ac_status=$?
2764 if test -s conftest.err; then
2765 grep -v '^ *+' conftest.err >conftest.er1
2766 cat conftest.er1 >&5
2767 mv -f conftest.er1 conftest.err
2769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2770 test $ac_status = 0; } && {
2771 test -z "$ac_cxx_werror_flag" ||
2772 test ! -s conftest.err
2773 } && test -s conftest.$ac_objext; then :
2774 ac_retval=0
2775 else
2776 $as_echo "$as_me: failed program was:" >&5
2777 sed 's/^/| /' conftest.$ac_ext >&5
2779 ac_retval=1
2781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2782 as_fn_set_status $ac_retval
2784 } # ac_fn_cxx_try_compile
2786 # ac_fn_c_try_link LINENO
2787 # -----------------------
2788 # Try to link conftest.$ac_ext, and return whether this succeeded.
2789 ac_fn_c_try_link ()
2791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792 rm -f conftest.$ac_objext conftest$ac_exeext
2793 if { { ac_try="$ac_link"
2794 case "(($ac_try" in
2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2797 esac
2798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2799 $as_echo "$ac_try_echo"; } >&5
2800 (eval "$ac_link") 2>conftest.err
2801 ac_status=$?
2802 if test -s conftest.err; then
2803 grep -v '^ *+' conftest.err >conftest.er1
2804 cat conftest.er1 >&5
2805 mv -f conftest.er1 conftest.err
2807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; } && {
2809 test -z "$ac_c_werror_flag" ||
2810 test ! -s conftest.err
2811 } && test -s conftest$ac_exeext && {
2812 test "$cross_compiling" = yes ||
2813 test -x conftest$ac_exeext
2814 }; then :
2815 ac_retval=0
2816 else
2817 $as_echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.$ac_ext >&5
2820 ac_retval=1
2822 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2823 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2824 # interfere with the next link command; also delete a directory that is
2825 # left behind by Apple's compiler. We do this before executing the actions.
2826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 as_fn_set_status $ac_retval
2830 } # ac_fn_c_try_link
2832 # ac_fn_c_try_cpp LINENO
2833 # ----------------------
2834 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2835 ac_fn_c_try_cpp ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 if { { ac_try="$ac_cpp conftest.$ac_ext"
2839 case "(($ac_try" in
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2842 esac
2843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844 $as_echo "$ac_try_echo"; } >&5
2845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2846 ac_status=$?
2847 if test -s conftest.err; then
2848 grep -v '^ *+' conftest.err >conftest.er1
2849 cat conftest.er1 >&5
2850 mv -f conftest.er1 conftest.err
2852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2853 test $ac_status = 0; } > conftest.i && {
2854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2855 test ! -s conftest.err
2856 }; then :
2857 ac_retval=0
2858 else
2859 $as_echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 ac_retval=1
2864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2865 as_fn_set_status $ac_retval
2867 } # ac_fn_c_try_cpp
2869 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2870 # -------------------------------------------------------
2871 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2872 # the include files in INCLUDES and setting the cache variable VAR
2873 # accordingly.
2874 ac_fn_c_check_header_mongrel ()
2876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2877 if eval \${$3+:} false; then :
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2879 $as_echo_n "checking for $2... " >&6; }
2880 if eval \${$3+:} false; then :
2881 $as_echo_n "(cached) " >&6
2883 eval ac_res=\$$3
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2885 $as_echo "$ac_res" >&6; }
2886 else
2887 # Is the header compilable?
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2889 $as_echo_n "checking $2 usability... " >&6; }
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2893 #include <$2>
2894 _ACEOF
2895 if ac_fn_c_try_compile "$LINENO"; then :
2896 ac_header_compiler=yes
2897 else
2898 ac_header_compiler=no
2900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2902 $as_echo "$ac_header_compiler" >&6; }
2904 # Is the header present?
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2906 $as_echo_n "checking $2 presence... " >&6; }
2907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2908 /* end confdefs.h. */
2909 #include <$2>
2910 _ACEOF
2911 if ac_fn_c_try_cpp "$LINENO"; then :
2912 ac_header_preproc=yes
2913 else
2914 ac_header_preproc=no
2916 rm -f conftest.err conftest.i conftest.$ac_ext
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2918 $as_echo "$ac_header_preproc" >&6; }
2920 # So? What about this header?
2921 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2922 yes:no: )
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2924 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2926 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2928 no:yes:* )
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2930 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2932 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2934 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2936 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2938 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2939 ( $as_echo "## ------------------------------------ ##
2940 ## Report this to wine-devel@winehq.org ##
2941 ## ------------------------------------ ##"
2942 ) | sed "s/^/$as_me: WARNING: /" >&2
2944 esac
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2946 $as_echo_n "checking for $2... " >&6; }
2947 if eval \${$3+:} false; then :
2948 $as_echo_n "(cached) " >&6
2949 else
2950 eval "$3=\$ac_header_compiler"
2952 eval ac_res=\$$3
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2954 $as_echo "$ac_res" >&6; }
2956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2958 } # ac_fn_c_check_header_mongrel
2960 # ac_fn_c_try_run LINENO
2961 # ----------------------
2962 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2963 # that executables *can* be run.
2964 ac_fn_c_try_run ()
2966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2967 if { { ac_try="$ac_link"
2968 case "(($ac_try" in
2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970 *) ac_try_echo=$ac_try;;
2971 esac
2972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2973 $as_echo "$ac_try_echo"; } >&5
2974 (eval "$ac_link") 2>&5
2975 ac_status=$?
2976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2977 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2978 { { case "(($ac_try" in
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2981 esac
2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 $as_echo "$ac_try_echo"; } >&5
2984 (eval "$ac_try") 2>&5
2985 ac_status=$?
2986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2987 test $ac_status = 0; }; }; then :
2988 ac_retval=0
2989 else
2990 $as_echo "$as_me: program exited with status $ac_status" >&5
2991 $as_echo "$as_me: failed program was:" >&5
2992 sed 's/^/| /' conftest.$ac_ext >&5
2994 ac_retval=$ac_status
2996 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2998 as_fn_set_status $ac_retval
3000 } # ac_fn_c_try_run
3002 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3003 # -------------------------------------------------------
3004 # Tests whether HEADER exists and can be compiled using the include files in
3005 # INCLUDES, setting the cache variable VAR accordingly.
3006 ac_fn_c_check_header_compile ()
3008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3010 $as_echo_n "checking for $2... " >&6; }
3011 if eval \${$3+:} false; then :
3012 $as_echo_n "(cached) " >&6
3013 else
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3017 #include <$2>
3018 _ACEOF
3019 if ac_fn_c_try_compile "$LINENO"; then :
3020 eval "$3=yes"
3021 else
3022 eval "$3=no"
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026 eval ac_res=\$$3
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3028 $as_echo "$ac_res" >&6; }
3029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3031 } # ac_fn_c_check_header_compile
3033 # ac_fn_objc_try_compile LINENO
3034 # -----------------------------
3035 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3036 ac_fn_objc_try_compile ()
3038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3039 rm -f conftest.$ac_objext
3040 if { { ac_try="$ac_compile"
3041 case "(($ac_try" in
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3044 esac
3045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3046 $as_echo "$ac_try_echo"; } >&5
3047 (eval "$ac_compile") 2>conftest.err
3048 ac_status=$?
3049 if test -s conftest.err; then
3050 grep -v '^ *+' conftest.err >conftest.er1
3051 cat conftest.er1 >&5
3052 mv -f conftest.er1 conftest.err
3054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3055 test $ac_status = 0; } && {
3056 test -z "$ac_objc_werror_flag" ||
3057 test ! -s conftest.err
3058 } && test -s conftest.$ac_objext; then :
3059 ac_retval=0
3060 else
3061 $as_echo "$as_me: failed program was:" >&5
3062 sed 's/^/| /' conftest.$ac_ext >&5
3064 ac_retval=1
3066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3067 as_fn_set_status $ac_retval
3069 } # ac_fn_objc_try_compile
3071 # ac_fn_objc_try_cpp LINENO
3072 # -------------------------
3073 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3074 ac_fn_objc_try_cpp ()
3076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3077 if { { ac_try="$ac_cpp conftest.$ac_ext"
3078 case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3081 esac
3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3085 ac_status=$?
3086 if test -s conftest.err; then
3087 grep -v '^ *+' conftest.err >conftest.er1
3088 cat conftest.er1 >&5
3089 mv -f conftest.er1 conftest.err
3091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3092 test $ac_status = 0; } > conftest.i && {
3093 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3094 test ! -s conftest.err
3095 }; then :
3096 ac_retval=0
3097 else
3098 $as_echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3101 ac_retval=1
3103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3104 as_fn_set_status $ac_retval
3106 } # ac_fn_objc_try_cpp
3108 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3109 # ----------------------------------------------------------
3110 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3111 # the include files in INCLUDES and setting the cache variable VAR
3112 # accordingly.
3113 ac_fn_objc_check_header_mongrel ()
3115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3116 if eval \${$3+:} false; then :
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3118 $as_echo_n "checking for $2... " >&6; }
3119 if eval \${$3+:} false; then :
3120 $as_echo_n "(cached) " >&6
3122 eval ac_res=\$$3
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3124 $as_echo "$ac_res" >&6; }
3125 else
3126 # Is the header compilable?
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3128 $as_echo_n "checking $2 usability... " >&6; }
3129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3130 /* end confdefs.h. */
3132 #include <$2>
3133 _ACEOF
3134 if ac_fn_objc_try_compile "$LINENO"; then :
3135 ac_header_compiler=yes
3136 else
3137 ac_header_compiler=no
3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3141 $as_echo "$ac_header_compiler" >&6; }
3143 # Is the header present?
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3145 $as_echo_n "checking $2 presence... " >&6; }
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3148 #include <$2>
3149 _ACEOF
3150 if ac_fn_objc_try_cpp "$LINENO"; then :
3151 ac_header_preproc=yes
3152 else
3153 ac_header_preproc=no
3155 rm -f conftest.err conftest.i conftest.$ac_ext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3157 $as_echo "$ac_header_preproc" >&6; }
3159 # So? What about this header?
3160 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3161 yes:no: )
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3163 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3165 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3167 no:yes:* )
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3169 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3171 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3173 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3175 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3177 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3178 ( $as_echo "## ------------------------------------ ##
3179 ## Report this to wine-devel@winehq.org ##
3180 ## ------------------------------------ ##"
3181 ) | sed "s/^/$as_me: WARNING: /" >&2
3183 esac
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3185 $as_echo_n "checking for $2... " >&6; }
3186 if eval \${$3+:} false; then :
3187 $as_echo_n "(cached) " >&6
3188 else
3189 eval "$3=\$ac_header_compiler"
3191 eval ac_res=\$$3
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3193 $as_echo "$ac_res" >&6; }
3195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3197 } # ac_fn_objc_check_header_mongrel
3199 # ac_fn_c_check_func LINENO FUNC VAR
3200 # ----------------------------------
3201 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3202 ac_fn_c_check_func ()
3204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3206 $as_echo_n "checking for $2... " >&6; }
3207 if eval \${$3+:} false; then :
3208 $as_echo_n "(cached) " >&6
3209 else
3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3211 /* end confdefs.h. */
3212 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3214 #define $2 innocuous_$2
3216 /* System header to define __stub macros and hopefully few prototypes,
3217 which can conflict with char $2 (); below.
3218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3219 <limits.h> exists even on freestanding compilers. */
3221 #ifdef __STDC__
3222 # include <limits.h>
3223 #else
3224 # include <assert.h>
3225 #endif
3227 #undef $2
3229 /* Override any GCC internal prototype to avoid an error.
3230 Use char because int might match the return type of a GCC
3231 builtin and then its argument prototype would still apply. */
3232 #ifdef __cplusplus
3233 extern "C"
3234 #endif
3235 char $2 ();
3236 /* The GNU C library defines this for functions which it implements
3237 to always fail with ENOSYS. Some functions are actually named
3238 something starting with __ and the normal name is an alias. */
3239 #if defined __stub_$2 || defined __stub___$2
3240 choke me
3241 #endif
3244 main ()
3246 return $2 ();
3248 return 0;
3250 _ACEOF
3251 if ac_fn_c_try_link "$LINENO"; then :
3252 eval "$3=yes"
3253 else
3254 eval "$3=no"
3256 rm -f core conftest.err conftest.$ac_objext \
3257 conftest$ac_exeext conftest.$ac_ext
3259 eval ac_res=\$$3
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3261 $as_echo "$ac_res" >&6; }
3262 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3264 } # ac_fn_c_check_func
3266 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3267 # ----------------------------------------------------
3268 # Tries to find if the field MEMBER exists in type AGGR, after including
3269 # INCLUDES, setting cache variable VAR accordingly.
3270 ac_fn_c_check_member ()
3272 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3274 $as_echo_n "checking for $2.$3... " >&6; }
3275 if eval \${$4+:} false; then :
3276 $as_echo_n "(cached) " >&6
3277 else
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3282 main ()
3284 static $2 ac_aggr;
3285 if (ac_aggr.$3)
3286 return 0;
3288 return 0;
3290 _ACEOF
3291 if ac_fn_c_try_compile "$LINENO"; then :
3292 eval "$4=yes"
3293 else
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3298 main ()
3300 static $2 ac_aggr;
3301 if (sizeof ac_aggr.$3)
3302 return 0;
3304 return 0;
3306 _ACEOF
3307 if ac_fn_c_try_compile "$LINENO"; then :
3308 eval "$4=yes"
3309 else
3310 eval "$4=no"
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 eval ac_res=\$$4
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3318 $as_echo "$ac_res" >&6; }
3319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3321 } # ac_fn_c_check_member
3323 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3324 # -------------------------------------------
3325 # Tests whether TYPE exists after having included INCLUDES, setting cache
3326 # variable VAR accordingly.
3327 ac_fn_c_check_type ()
3329 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3331 $as_echo_n "checking for $2... " >&6; }
3332 if eval \${$3+:} false; then :
3333 $as_echo_n "(cached) " >&6
3334 else
3335 eval "$3=no"
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3340 main ()
3342 if (sizeof ($2))
3343 return 0;
3345 return 0;
3347 _ACEOF
3348 if ac_fn_c_try_compile "$LINENO"; then :
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3353 main ()
3355 if (sizeof (($2)))
3356 return 0;
3358 return 0;
3360 _ACEOF
3361 if ac_fn_c_try_compile "$LINENO"; then :
3363 else
3364 eval "$3=yes"
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 eval ac_res=\$$3
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3372 $as_echo "$ac_res" >&6; }
3373 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3375 } # ac_fn_c_check_type
3376 cat >config.log <<_ACEOF
3377 This file contains any messages produced by compilers while
3378 running configure, to aid debugging if configure makes a mistake.
3380 It was created by Wine $as_me 3.20, which was
3381 generated by GNU Autoconf 2.69. Invocation command line was
3383 $ $0 $@
3385 _ACEOF
3386 exec 5>>config.log
3388 cat <<_ASUNAME
3389 ## --------- ##
3390 ## Platform. ##
3391 ## --------- ##
3393 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3394 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3395 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3396 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3397 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3399 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3400 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3402 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3403 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3404 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3405 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3406 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3407 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3408 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3410 _ASUNAME
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH
3415 IFS=$as_save_IFS
3416 test -z "$as_dir" && as_dir=.
3417 $as_echo "PATH: $as_dir"
3418 done
3419 IFS=$as_save_IFS
3421 } >&5
3423 cat >&5 <<_ACEOF
3426 ## ----------- ##
3427 ## Core tests. ##
3428 ## ----------- ##
3430 _ACEOF
3433 # Keep a trace of the command line.
3434 # Strip out --no-create and --no-recursion so they do not pile up.
3435 # Strip out --silent because we don't want to record it for future runs.
3436 # Also quote any args containing shell meta-characters.
3437 # Make two passes to allow for proper duplicate-argument suppression.
3438 ac_configure_args=
3439 ac_configure_args0=
3440 ac_configure_args1=
3441 ac_must_keep_next=false
3442 for ac_pass in 1 2
3444 for ac_arg
3446 case $ac_arg in
3447 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3448 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3449 | -silent | --silent | --silen | --sile | --sil)
3450 continue ;;
3451 *\'*)
3452 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3453 esac
3454 case $ac_pass in
3455 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3457 as_fn_append ac_configure_args1 " '$ac_arg'"
3458 if test $ac_must_keep_next = true; then
3459 ac_must_keep_next=false # Got value, back to normal.
3460 else
3461 case $ac_arg in
3462 *=* | --config-cache | -C | -disable-* | --disable-* \
3463 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3464 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3465 | -with-* | --with-* | -without-* | --without-* | --x)
3466 case "$ac_configure_args0 " in
3467 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3468 esac
3470 -* ) ac_must_keep_next=true ;;
3471 esac
3473 as_fn_append ac_configure_args " '$ac_arg'"
3475 esac
3476 done
3477 done
3478 { ac_configure_args0=; unset ac_configure_args0;}
3479 { ac_configure_args1=; unset ac_configure_args1;}
3481 # When interrupted or exit'd, cleanup temporary files, and complete
3482 # config.log. We remove comments because anyway the quotes in there
3483 # would cause problems or look ugly.
3484 # WARNING: Use '\'' to represent an apostrophe within the trap.
3485 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3486 trap 'exit_status=$?
3487 # Save into config.log some information that might help in debugging.
3489 echo
3491 $as_echo "## ---------------- ##
3492 ## Cache variables. ##
3493 ## ---------------- ##"
3494 echo
3495 # The following way of writing the cache mishandles newlines in values,
3497 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3498 eval ac_val=\$$ac_var
3499 case $ac_val in #(
3500 *${as_nl}*)
3501 case $ac_var in #(
3502 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3503 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3504 esac
3505 case $ac_var in #(
3506 _ | IFS | as_nl) ;; #(
3507 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3508 *) { eval $ac_var=; unset $ac_var;} ;;
3509 esac ;;
3510 esac
3511 done
3512 (set) 2>&1 |
3513 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3514 *${as_nl}ac_space=\ *)
3515 sed -n \
3516 "s/'\''/'\''\\\\'\'''\''/g;
3517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3518 ;; #(
3520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3522 esac |
3523 sort
3525 echo
3527 $as_echo "## ----------------- ##
3528 ## Output variables. ##
3529 ## ----------------- ##"
3530 echo
3531 for ac_var in $ac_subst_vars
3533 eval ac_val=\$$ac_var
3534 case $ac_val in
3535 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3536 esac
3537 $as_echo "$ac_var='\''$ac_val'\''"
3538 done | sort
3539 echo
3541 if test -n "$ac_subst_files"; then
3542 $as_echo "## ------------------- ##
3543 ## File substitutions. ##
3544 ## ------------------- ##"
3545 echo
3546 for ac_var in $ac_subst_files
3548 eval ac_val=\$$ac_var
3549 case $ac_val in
3550 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3551 esac
3552 $as_echo "$ac_var='\''$ac_val'\''"
3553 done | sort
3554 echo
3557 if test -s confdefs.h; then
3558 $as_echo "## ----------- ##
3559 ## confdefs.h. ##
3560 ## ----------- ##"
3561 echo
3562 cat confdefs.h
3563 echo
3565 test "$ac_signal" != 0 &&
3566 $as_echo "$as_me: caught signal $ac_signal"
3567 $as_echo "$as_me: exit $exit_status"
3568 } >&5
3569 rm -f core *.core core.conftest.* &&
3570 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3571 exit $exit_status
3573 for ac_signal in 1 2 13 15; do
3574 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3575 done
3576 ac_signal=0
3578 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3579 rm -f -r conftest* confdefs.h
3581 $as_echo "/* confdefs.h */" > confdefs.h
3583 # Predefined preprocessor variables.
3585 cat >>confdefs.h <<_ACEOF
3586 #define PACKAGE_NAME "$PACKAGE_NAME"
3587 _ACEOF
3589 cat >>confdefs.h <<_ACEOF
3590 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3591 _ACEOF
3593 cat >>confdefs.h <<_ACEOF
3594 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3595 _ACEOF
3597 cat >>confdefs.h <<_ACEOF
3598 #define PACKAGE_STRING "$PACKAGE_STRING"
3599 _ACEOF
3601 cat >>confdefs.h <<_ACEOF
3602 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3603 _ACEOF
3605 cat >>confdefs.h <<_ACEOF
3606 #define PACKAGE_URL "$PACKAGE_URL"
3607 _ACEOF
3610 # Let the site file select an alternate cache file if it wants to.
3611 # Prefer an explicitly selected file to automatically selected ones.
3612 ac_site_file1=NONE
3613 ac_site_file2=NONE
3614 if test -n "$CONFIG_SITE"; then
3615 # We do not want a PATH search for config.site.
3616 case $CONFIG_SITE in #((
3617 -*) ac_site_file1=./$CONFIG_SITE;;
3618 */*) ac_site_file1=$CONFIG_SITE;;
3619 *) ac_site_file1=./$CONFIG_SITE;;
3620 esac
3621 elif test "x$prefix" != xNONE; then
3622 ac_site_file1=$prefix/share/config.site
3623 ac_site_file2=$prefix/etc/config.site
3624 else
3625 ac_site_file1=$ac_default_prefix/share/config.site
3626 ac_site_file2=$ac_default_prefix/etc/config.site
3628 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3630 test "x$ac_site_file" = xNONE && continue
3631 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3633 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3634 sed 's/^/| /' "$ac_site_file" >&5
3635 . "$ac_site_file" \
3636 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3638 as_fn_error $? "failed to load site script $ac_site_file
3639 See \`config.log' for more details" "$LINENO" 5; }
3641 done
3643 if test -r "$cache_file"; then
3644 # Some versions of bash will fail to source /dev/null (special files
3645 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3646 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3648 $as_echo "$as_me: loading cache $cache_file" >&6;}
3649 case $cache_file in
3650 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3651 *) . "./$cache_file";;
3652 esac
3654 else
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3656 $as_echo "$as_me: creating cache $cache_file" >&6;}
3657 >$cache_file
3660 # Check that the precious variables saved in the cache have kept the same
3661 # value.
3662 ac_cache_corrupted=false
3663 for ac_var in $ac_precious_vars; do
3664 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3665 eval ac_new_set=\$ac_env_${ac_var}_set
3666 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3667 eval ac_new_val=\$ac_env_${ac_var}_value
3668 case $ac_old_set,$ac_new_set in
3669 set,)
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3671 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3672 ac_cache_corrupted=: ;;
3673 ,set)
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3675 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3676 ac_cache_corrupted=: ;;
3677 ,);;
3679 if test "x$ac_old_val" != "x$ac_new_val"; then
3680 # differences in whitespace do not lead to failure.
3681 ac_old_val_w=`echo x $ac_old_val`
3682 ac_new_val_w=`echo x $ac_new_val`
3683 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3685 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3686 ac_cache_corrupted=:
3687 else
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3689 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3690 eval $ac_var=\$ac_old_val
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3693 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3695 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3696 fi;;
3697 esac
3698 # Pass precious variables to config.status.
3699 if test "$ac_new_set" = set; then
3700 case $ac_new_val in
3701 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3702 *) ac_arg=$ac_var=$ac_new_val ;;
3703 esac
3704 case " $ac_configure_args " in
3705 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3706 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3707 esac
3709 done
3710 if $ac_cache_corrupted; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3714 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3715 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3717 ## -------------------- ##
3718 ## Main body of script. ##
3719 ## -------------------- ##
3721 ac_ext=c
3722 ac_cpp='$CPP $CPPFLAGS'
3723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3729 ac_config_headers="$ac_config_headers include/config.h"
3731 ac_aux_dir=
3732 for ac_dir in tools "$srcdir"/tools; do
3733 if test -f "$ac_dir/install-sh"; then
3734 ac_aux_dir=$ac_dir
3735 ac_install_sh="$ac_aux_dir/install-sh -c"
3736 break
3737 elif test -f "$ac_dir/install.sh"; then
3738 ac_aux_dir=$ac_dir
3739 ac_install_sh="$ac_aux_dir/install.sh -c"
3740 break
3741 elif test -f "$ac_dir/shtool"; then
3742 ac_aux_dir=$ac_dir
3743 ac_install_sh="$ac_aux_dir/shtool install -c"
3744 break
3746 done
3747 if test -z "$ac_aux_dir"; then
3748 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3751 # These three variables are undocumented and unsupported,
3752 # and are intended to be withdrawn in a future Autoconf release.
3753 # They can cause serious problems if a builder's source tree is in a directory
3754 # whose full name contains unusual characters.
3755 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3756 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3757 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3761 libwine_version="1.0"
3765 # Check whether --enable-win16 was given.
3766 if test "${enable_win16+set}" = set; then :
3767 enableval=$enable_win16;
3770 # Check whether --enable-win64 was given.
3771 if test "${enable_win64+set}" = set; then :
3772 enableval=$enable_win64;
3775 # Check whether --enable-tests was given.
3776 if test "${enable_tests+set}" = set; then :
3777 enableval=$enable_tests;
3780 # Check whether --enable-maintainer-mode was given.
3781 if test "${enable_maintainer_mode+set}" = set; then :
3782 enableval=$enable_maintainer_mode;
3787 # Check whether --with-alsa was given.
3788 if test "${with_alsa+set}" = set; then :
3789 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3793 # Check whether --with-capi was given.
3794 if test "${with_capi+set}" = set; then :
3795 withval=$with_capi;
3799 # Check whether --with-cms was given.
3800 if test "${with_cms+set}" = set; then :
3801 withval=$with_cms;
3805 # Check whether --with-coreaudio was given.
3806 if test "${with_coreaudio+set}" = set; then :
3807 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3811 # Check whether --with-cups was given.
3812 if test "${with_cups+set}" = set; then :
3813 withval=$with_cups;
3817 # Check whether --with-curses was given.
3818 if test "${with_curses+set}" = set; then :
3819 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3823 # Check whether --with-dbus was given.
3824 if test "${with_dbus+set}" = set; then :
3825 withval=$with_dbus;
3829 # Check whether --with-float-abi was given.
3830 if test "${with_float_abi+set}" = set; then :
3831 withval=$with_float_abi;
3835 # Check whether --with-fontconfig was given.
3836 if test "${with_fontconfig+set}" = set; then :
3837 withval=$with_fontconfig;
3841 # Check whether --with-freetype was given.
3842 if test "${with_freetype+set}" = set; then :
3843 withval=$with_freetype;
3847 # Check whether --with-gettext was given.
3848 if test "${with_gettext+set}" = set; then :
3849 withval=$with_gettext;
3853 # Check whether --with-gettextpo was given.
3854 if test "${with_gettextpo+set}" = set; then :
3855 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3859 # Check whether --with-gphoto was given.
3860 if test "${with_gphoto+set}" = set; then :
3861 withval=$with_gphoto;
3865 # Check whether --with-glu was given.
3866 if test "${with_glu+set}" = set; then :
3867 withval=$with_glu;
3871 # Check whether --with-gnutls was given.
3872 if test "${with_gnutls+set}" = set; then :
3873 withval=$with_gnutls;
3877 # Check whether --with-gsm was given.
3878 if test "${with_gsm+set}" = set; then :
3879 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3883 # Check whether --with-gssapi was given.
3884 if test "${with_gssapi+set}" = set; then :
3885 withval=$with_gssapi;
3889 # Check whether --with-gstreamer was given.
3890 if test "${with_gstreamer+set}" = set; then :
3891 withval=$with_gstreamer;
3895 # Check whether --with-hal was given.
3896 if test "${with_hal+set}" = set; then :
3897 withval=$with_hal;
3901 # Check whether --with-jpeg was given.
3902 if test "${with_jpeg+set}" = set; then :
3903 withval=$with_jpeg;
3907 # Check whether --with-krb5 was given.
3908 if test "${with_krb5+set}" = set; then :
3909 withval=$with_krb5;
3913 # Check whether --with-ldap was given.
3914 if test "${with_ldap+set}" = set; then :
3915 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3919 # Check whether --with-mpg123 was given.
3920 if test "${with_mpg123+set}" = set; then :
3921 withval=$with_mpg123;
3925 # Check whether --with-netapi was given.
3926 if test "${with_netapi+set}" = set; then :
3927 withval=$with_netapi;
3931 # Check whether --with-openal was given.
3932 if test "${with_openal+set}" = set; then :
3933 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3937 # Check whether --with-opencl was given.
3938 if test "${with_opencl+set}" = set; then :
3939 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3943 # Check whether --with-opengl was given.
3944 if test "${with_opengl+set}" = set; then :
3945 withval=$with_opengl;
3949 # Check whether --with-osmesa was given.
3950 if test "${with_osmesa+set}" = set; then :
3951 withval=$with_osmesa;
3955 # Check whether --with-oss was given.
3956 if test "${with_oss+set}" = set; then :
3957 withval=$with_oss;
3961 # Check whether --with-pcap was given.
3962 if test "${with_pcap+set}" = set; then :
3963 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3967 # Check whether --with-png was given.
3968 if test "${with_png+set}" = set; then :
3969 withval=$with_png;
3973 # Check whether --with-pthread was given.
3974 if test "${with_pthread+set}" = set; then :
3975 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3979 # Check whether --with-pulse was given.
3980 if test "${with_pulse+set}" = set; then :
3981 withval=$with_pulse;
3985 # Check whether --with-sane was given.
3986 if test "${with_sane+set}" = set; then :
3987 withval=$with_sane;
3991 # Check whether --with-sdl was given.
3992 if test "${with_sdl+set}" = set; then :
3993 withval=$with_sdl;
3997 # Check whether --with-tiff was given.
3998 if test "${with_tiff+set}" = set; then :
3999 withval=$with_tiff;
4003 # Check whether --with-udev was given.
4004 if test "${with_udev+set}" = set; then :
4005 withval=$with_udev;
4009 # Check whether --with-v4l was given.
4010 if test "${with_v4l+set}" = set; then :
4011 withval=$with_v4l;
4015 # Check whether --with-vkd3d was given.
4016 if test "${with_vkd3d+set}" = set; then :
4017 withval=$with_vkd3d;
4021 # Check whether --with-vulkan was given.
4022 if test "${with_vulkan+set}" = set; then :
4023 withval=$with_vulkan;
4027 # Check whether --with-xcomposite was given.
4028 if test "${with_xcomposite+set}" = set; then :
4029 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4033 # Check whether --with-xcursor was given.
4034 if test "${with_xcursor+set}" = set; then :
4035 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4039 # Check whether --with-xfixes was given.
4040 if test "${with_xfixes+set}" = set; then :
4041 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4045 # Check whether --with-xinerama was given.
4046 if test "${with_xinerama+set}" = set; then :
4047 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4051 # Check whether --with-xinput was given.
4052 if test "${with_xinput+set}" = set; then :
4053 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4057 # Check whether --with-xinput2 was given.
4058 if test "${with_xinput2+set}" = set; then :
4059 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4063 # Check whether --with-xml was given.
4064 if test "${with_xml+set}" = set; then :
4065 withval=$with_xml;
4069 # Check whether --with-xrandr was given.
4070 if test "${with_xrandr+set}" = set; then :
4071 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4075 # Check whether --with-xrender was given.
4076 if test "${with_xrender+set}" = set; then :
4077 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4081 # Check whether --with-xshape was given.
4082 if test "${with_xshape+set}" = set; then :
4083 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4087 # Check whether --with-xshm was given.
4088 if test "${with_xshm+set}" = set; then :
4089 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4093 # Check whether --with-xslt was given.
4094 if test "${with_xslt+set}" = set; then :
4095 withval=$with_xslt;
4099 # Check whether --with-xxf86vm was given.
4100 if test "${with_xxf86vm+set}" = set; then :
4101 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
4105 # Check whether --with-zlib was given.
4106 if test "${with_zlib+set}" = set; then :
4107 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4112 # Check whether --with-wine-tools was given.
4113 if test "${with_wine_tools+set}" = set; then :
4114 withval=$with_wine_tools;
4118 # Check whether --with-wine64 was given.
4119 if test "${with_wine64+set}" = set; then :
4120 withval=$with_wine64;
4124 # Make sure we can run config.sub.
4125 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4126 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4129 $as_echo_n "checking build system type... " >&6; }
4130 if ${ac_cv_build+:} false; then :
4131 $as_echo_n "(cached) " >&6
4132 else
4133 ac_build_alias=$build_alias
4134 test "x$ac_build_alias" = x &&
4135 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4136 test "x$ac_build_alias" = x &&
4137 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4138 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4139 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4143 $as_echo "$ac_cv_build" >&6; }
4144 case $ac_cv_build in
4145 *-*-*) ;;
4146 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4147 esac
4148 build=$ac_cv_build
4149 ac_save_IFS=$IFS; IFS='-'
4150 set x $ac_cv_build
4151 shift
4152 build_cpu=$1
4153 build_vendor=$2
4154 shift; shift
4155 # Remember, the first character of IFS is used to create $*,
4156 # except with old shells:
4157 build_os=$*
4158 IFS=$ac_save_IFS
4159 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4163 $as_echo_n "checking host system type... " >&6; }
4164 if ${ac_cv_host+:} false; then :
4165 $as_echo_n "(cached) " >&6
4166 else
4167 if test "x$host_alias" = x; then
4168 ac_cv_host=$ac_cv_build
4169 else
4170 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4171 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4176 $as_echo "$ac_cv_host" >&6; }
4177 case $ac_cv_host in
4178 *-*-*) ;;
4179 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4180 esac
4181 host=$ac_cv_host
4182 ac_save_IFS=$IFS; IFS='-'
4183 set x $ac_cv_host
4184 shift
4185 host_cpu=$1
4186 host_vendor=$2
4187 shift; shift
4188 # Remember, the first character of IFS is used to create $*,
4189 # except with old shells:
4190 host_os=$*
4191 IFS=$ac_save_IFS
4192 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4196 case "$srcdir" in
4197 .) ;;
4198 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4199 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4200 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4201 fi ;;
4202 esac
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4206 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4207 set x ${MAKE-make}
4208 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4209 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4210 $as_echo_n "(cached) " >&6
4211 else
4212 cat >conftest.make <<\_ACEOF
4213 SHELL = /bin/sh
4214 all:
4215 @echo '@@@%%%=$(MAKE)=@@@%%%'
4216 _ACEOF
4217 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4218 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4219 *@@@%%%=?*=@@@%%%*)
4220 eval ac_cv_prog_make_${ac_make}_set=yes;;
4222 eval ac_cv_prog_make_${ac_make}_set=no;;
4223 esac
4224 rm -f conftest.make
4226 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4228 $as_echo "yes" >&6; }
4229 SET_MAKE=
4230 else
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4233 SET_MAKE="MAKE=${MAKE-make}"
4236 ac_ext=c
4237 ac_cpp='$CPP $CPPFLAGS'
4238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4241 if test -n "$ac_tool_prefix"; then
4242 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4243 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4245 $as_echo_n "checking for $ac_word... " >&6; }
4246 if ${ac_cv_prog_CC+:} false; then :
4247 $as_echo_n "(cached) " >&6
4248 else
4249 if test -n "$CC"; then
4250 ac_cv_prog_CC="$CC" # Let the user override the test.
4251 else
4252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4253 for as_dir in $PATH
4255 IFS=$as_save_IFS
4256 test -z "$as_dir" && as_dir=.
4257 for ac_exec_ext in '' $ac_executable_extensions; do
4258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4259 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4261 break 2
4263 done
4264 done
4265 IFS=$as_save_IFS
4269 CC=$ac_cv_prog_CC
4270 if test -n "$CC"; then
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4272 $as_echo "$CC" >&6; }
4273 else
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4275 $as_echo "no" >&6; }
4280 if test -z "$ac_cv_prog_CC"; then
4281 ac_ct_CC=$CC
4282 # Extract the first word of "gcc", so it can be a program name with args.
4283 set dummy gcc; ac_word=$2
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4285 $as_echo_n "checking for $ac_word... " >&6; }
4286 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4287 $as_echo_n "(cached) " >&6
4288 else
4289 if test -n "$ac_ct_CC"; then
4290 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4291 else
4292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4293 for as_dir in $PATH
4295 IFS=$as_save_IFS
4296 test -z "$as_dir" && as_dir=.
4297 for ac_exec_ext in '' $ac_executable_extensions; do
4298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4299 ac_cv_prog_ac_ct_CC="gcc"
4300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4301 break 2
4303 done
4304 done
4305 IFS=$as_save_IFS
4309 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4310 if test -n "$ac_ct_CC"; then
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4312 $as_echo "$ac_ct_CC" >&6; }
4313 else
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4315 $as_echo "no" >&6; }
4318 if test "x$ac_ct_CC" = x; then
4319 CC=""
4320 else
4321 case $cross_compiling:$ac_tool_warned in
4322 yes:)
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4325 ac_tool_warned=yes ;;
4326 esac
4327 CC=$ac_ct_CC
4329 else
4330 CC="$ac_cv_prog_CC"
4333 if test -z "$CC"; then
4334 if test -n "$ac_tool_prefix"; then
4335 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4336 set dummy ${ac_tool_prefix}cc; ac_word=$2
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338 $as_echo_n "checking for $ac_word... " >&6; }
4339 if ${ac_cv_prog_CC+:} false; then :
4340 $as_echo_n "(cached) " >&6
4341 else
4342 if test -n "$CC"; then
4343 ac_cv_prog_CC="$CC" # Let the user override the test.
4344 else
4345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346 for as_dir in $PATH
4348 IFS=$as_save_IFS
4349 test -z "$as_dir" && as_dir=.
4350 for ac_exec_ext in '' $ac_executable_extensions; do
4351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4352 ac_cv_prog_CC="${ac_tool_prefix}cc"
4353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 break 2
4356 done
4357 done
4358 IFS=$as_save_IFS
4362 CC=$ac_cv_prog_CC
4363 if test -n "$CC"; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4365 $as_echo "$CC" >&6; }
4366 else
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4374 if test -z "$CC"; then
4375 # Extract the first word of "cc", so it can be a program name with args.
4376 set dummy cc; ac_word=$2
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4378 $as_echo_n "checking for $ac_word... " >&6; }
4379 if ${ac_cv_prog_CC+:} false; then :
4380 $as_echo_n "(cached) " >&6
4381 else
4382 if test -n "$CC"; then
4383 ac_cv_prog_CC="$CC" # Let the user override the test.
4384 else
4385 ac_prog_rejected=no
4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 for as_dir in $PATH
4389 IFS=$as_save_IFS
4390 test -z "$as_dir" && as_dir=.
4391 for ac_exec_ext in '' $ac_executable_extensions; do
4392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4393 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4394 ac_prog_rejected=yes
4395 continue
4397 ac_cv_prog_CC="cc"
4398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 break 2
4401 done
4402 done
4403 IFS=$as_save_IFS
4405 if test $ac_prog_rejected = yes; then
4406 # We found a bogon in the path, so make sure we never use it.
4407 set dummy $ac_cv_prog_CC
4408 shift
4409 if test $# != 0; then
4410 # We chose a different compiler from the bogus one.
4411 # However, it has the same basename, so the bogon will be chosen
4412 # first if we set CC to just the basename; use the full file name.
4413 shift
4414 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4419 CC=$ac_cv_prog_CC
4420 if test -n "$CC"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4422 $as_echo "$CC" >&6; }
4423 else
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4430 if test -z "$CC"; then
4431 if test -n "$ac_tool_prefix"; then
4432 for ac_prog in cl.exe
4434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if ${ac_cv_prog_CC+:} false; then :
4439 $as_echo_n "(cached) " >&6
4440 else
4441 if test -n "$CC"; then
4442 ac_cv_prog_CC="$CC" # Let the user override the test.
4443 else
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4447 IFS=$as_save_IFS
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4451 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 break 2
4455 done
4456 done
4457 IFS=$as_save_IFS
4461 CC=$ac_cv_prog_CC
4462 if test -n "$CC"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4464 $as_echo "$CC" >&6; }
4465 else
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4471 test -n "$CC" && break
4472 done
4474 if test -z "$CC"; then
4475 ac_ct_CC=$CC
4476 for ac_prog in cl.exe
4478 # Extract the first word of "$ac_prog", so it can be a program name with args.
4479 set dummy $ac_prog; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$ac_ct_CC"; then
4486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_ac_ct_CC="$ac_prog"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4505 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4506 if test -n "$ac_ct_CC"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4508 $as_echo "$ac_ct_CC" >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4515 test -n "$ac_ct_CC" && break
4516 done
4518 if test "x$ac_ct_CC" = x; then
4519 CC=""
4520 else
4521 case $cross_compiling:$ac_tool_warned in
4522 yes:)
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4526 esac
4527 CC=$ac_ct_CC
4534 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4536 as_fn_error $? "no acceptable C compiler found in \$PATH
4537 See \`config.log' for more details" "$LINENO" 5; }
4539 # Provide some information about the compiler.
4540 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4541 set X $ac_compile
4542 ac_compiler=$2
4543 for ac_option in --version -v -V -qversion; do
4544 { { ac_try="$ac_compiler $ac_option >&5"
4545 case "(($ac_try" in
4546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4547 *) ac_try_echo=$ac_try;;
4548 esac
4549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4550 $as_echo "$ac_try_echo"; } >&5
4551 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4552 ac_status=$?
4553 if test -s conftest.err; then
4554 sed '10a\
4555 ... rest of stderr output deleted ...
4556 10q' conftest.err >conftest.er1
4557 cat conftest.er1 >&5
4559 rm -f conftest.er1 conftest.err
4560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4561 test $ac_status = 0; }
4562 done
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4568 main ()
4572 return 0;
4574 _ACEOF
4575 ac_clean_files_save=$ac_clean_files
4576 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4577 # Try to create an executable without -o first, disregard a.out.
4578 # It will help us diagnose broken compilers, and finding out an intuition
4579 # of exeext.
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4581 $as_echo_n "checking whether the C compiler works... " >&6; }
4582 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4584 # The possible output files:
4585 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4587 ac_rmfiles=
4588 for ac_file in $ac_files
4590 case $ac_file in
4591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4592 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4593 esac
4594 done
4595 rm -f $ac_rmfiles
4597 if { { ac_try="$ac_link_default"
4598 case "(($ac_try" in
4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4601 esac
4602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4603 $as_echo "$ac_try_echo"; } >&5
4604 (eval "$ac_link_default") 2>&5
4605 ac_status=$?
4606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4607 test $ac_status = 0; }; then :
4608 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4609 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4610 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4611 # so that the user can short-circuit this test for compilers unknown to
4612 # Autoconf.
4613 for ac_file in $ac_files ''
4615 test -f "$ac_file" || continue
4616 case $ac_file in
4617 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4619 [ab].out )
4620 # We found the default executable, but exeext='' is most
4621 # certainly right.
4622 break;;
4623 *.* )
4624 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4625 then :; else
4626 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4628 # We set ac_cv_exeext here because the later test for it is not
4629 # safe: cross compilers may not add the suffix if given an `-o'
4630 # argument, so we may need to know it at that point already.
4631 # Even if this section looks crufty: it has the advantage of
4632 # actually working.
4633 break;;
4635 break;;
4636 esac
4637 done
4638 test "$ac_cv_exeext" = no && ac_cv_exeext=
4640 else
4641 ac_file=''
4643 if test -z "$ac_file"; then :
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 $as_echo "no" >&6; }
4646 $as_echo "$as_me: failed program was:" >&5
4647 sed 's/^/| /' conftest.$ac_ext >&5
4649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4651 as_fn_error 77 "C compiler cannot create executables
4652 See \`config.log' for more details" "$LINENO" 5; }
4653 else
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4655 $as_echo "yes" >&6; }
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4658 $as_echo_n "checking for C compiler default output file name... " >&6; }
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4660 $as_echo "$ac_file" >&6; }
4661 ac_exeext=$ac_cv_exeext
4663 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4664 ac_clean_files=$ac_clean_files_save
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4666 $as_echo_n "checking for suffix of executables... " >&6; }
4667 if { { ac_try="$ac_link"
4668 case "(($ac_try" in
4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4670 *) ac_try_echo=$ac_try;;
4671 esac
4672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4673 $as_echo "$ac_try_echo"; } >&5
4674 (eval "$ac_link") 2>&5
4675 ac_status=$?
4676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4677 test $ac_status = 0; }; then :
4678 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4679 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4680 # work properly (i.e., refer to `conftest.exe'), while it won't with
4681 # `rm'.
4682 for ac_file in conftest.exe conftest conftest.*; do
4683 test -f "$ac_file" || continue
4684 case $ac_file in
4685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4686 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4687 break;;
4688 * ) break;;
4689 esac
4690 done
4691 else
4692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4694 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4695 See \`config.log' for more details" "$LINENO" 5; }
4697 rm -f conftest conftest$ac_cv_exeext
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4699 $as_echo "$ac_cv_exeext" >&6; }
4701 rm -f conftest.$ac_ext
4702 EXEEXT=$ac_cv_exeext
4703 ac_exeext=$EXEEXT
4704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4705 /* end confdefs.h. */
4706 #include <stdio.h>
4708 main ()
4710 FILE *f = fopen ("conftest.out", "w");
4711 return ferror (f) || fclose (f) != 0;
4714 return 0;
4716 _ACEOF
4717 ac_clean_files="$ac_clean_files conftest.out"
4718 # Check that the compiler produces executables we can run. If not, either
4719 # the compiler is broken, or we cross compile.
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4721 $as_echo_n "checking whether we are cross compiling... " >&6; }
4722 if test "$cross_compiling" != yes; then
4723 { { ac_try="$ac_link"
4724 case "(($ac_try" in
4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4726 *) ac_try_echo=$ac_try;;
4727 esac
4728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4729 $as_echo "$ac_try_echo"; } >&5
4730 (eval "$ac_link") 2>&5
4731 ac_status=$?
4732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4733 test $ac_status = 0; }
4734 if { ac_try='./conftest$ac_cv_exeext'
4735 { { case "(($ac_try" in
4736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4737 *) ac_try_echo=$ac_try;;
4738 esac
4739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4740 $as_echo "$ac_try_echo"; } >&5
4741 (eval "$ac_try") 2>&5
4742 ac_status=$?
4743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4744 test $ac_status = 0; }; }; then
4745 cross_compiling=no
4746 else
4747 if test "$cross_compiling" = maybe; then
4748 cross_compiling=yes
4749 else
4750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4752 as_fn_error $? "cannot run C compiled programs.
4753 If you meant to cross compile, use \`--host'.
4754 See \`config.log' for more details" "$LINENO" 5; }
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4759 $as_echo "$cross_compiling" >&6; }
4761 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4762 ac_clean_files=$ac_clean_files_save
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4764 $as_echo_n "checking for suffix of object files... " >&6; }
4765 if ${ac_cv_objext+:} false; then :
4766 $as_echo_n "(cached) " >&6
4767 else
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4772 main ()
4776 return 0;
4778 _ACEOF
4779 rm -f conftest.o conftest.obj
4780 if { { ac_try="$ac_compile"
4781 case "(($ac_try" in
4782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4783 *) ac_try_echo=$ac_try;;
4784 esac
4785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4786 $as_echo "$ac_try_echo"; } >&5
4787 (eval "$ac_compile") 2>&5
4788 ac_status=$?
4789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4790 test $ac_status = 0; }; then :
4791 for ac_file in conftest.o conftest.obj conftest.*; do
4792 test -f "$ac_file" || continue;
4793 case $ac_file in
4794 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4795 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4796 break;;
4797 esac
4798 done
4799 else
4800 $as_echo "$as_me: failed program was:" >&5
4801 sed 's/^/| /' conftest.$ac_ext >&5
4803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4805 as_fn_error $? "cannot compute suffix of object files: cannot compile
4806 See \`config.log' for more details" "$LINENO" 5; }
4808 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4811 $as_echo "$ac_cv_objext" >&6; }
4812 OBJEXT=$ac_cv_objext
4813 ac_objext=$OBJEXT
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4815 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4816 if ${ac_cv_c_compiler_gnu+:} false; then :
4817 $as_echo_n "(cached) " >&6
4818 else
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4823 main ()
4825 #ifndef __GNUC__
4826 choke me
4827 #endif
4830 return 0;
4832 _ACEOF
4833 if ac_fn_c_try_compile "$LINENO"; then :
4834 ac_compiler_gnu=yes
4835 else
4836 ac_compiler_gnu=no
4838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4839 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4843 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4844 if test $ac_compiler_gnu = yes; then
4845 GCC=yes
4846 else
4847 GCC=
4849 ac_test_CFLAGS=${CFLAGS+set}
4850 ac_save_CFLAGS=$CFLAGS
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4852 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4853 if ${ac_cv_prog_cc_g+:} false; then :
4854 $as_echo_n "(cached) " >&6
4855 else
4856 ac_save_c_werror_flag=$ac_c_werror_flag
4857 ac_c_werror_flag=yes
4858 ac_cv_prog_cc_g=no
4859 CFLAGS="-g"
4860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4861 /* end confdefs.h. */
4864 main ()
4868 return 0;
4870 _ACEOF
4871 if ac_fn_c_try_compile "$LINENO"; then :
4872 ac_cv_prog_cc_g=yes
4873 else
4874 CFLAGS=""
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4879 main ()
4883 return 0;
4885 _ACEOF
4886 if ac_fn_c_try_compile "$LINENO"; then :
4888 else
4889 ac_c_werror_flag=$ac_save_c_werror_flag
4890 CFLAGS="-g"
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h. */
4895 main ()
4899 return 0;
4901 _ACEOF
4902 if ac_fn_c_try_compile "$LINENO"; then :
4903 ac_cv_prog_cc_g=yes
4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4910 ac_c_werror_flag=$ac_save_c_werror_flag
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4913 $as_echo "$ac_cv_prog_cc_g" >&6; }
4914 if test "$ac_test_CFLAGS" = set; then
4915 CFLAGS=$ac_save_CFLAGS
4916 elif test $ac_cv_prog_cc_g = yes; then
4917 if test "$GCC" = yes; then
4918 CFLAGS="-g -O2"
4919 else
4920 CFLAGS="-g"
4922 else
4923 if test "$GCC" = yes; then
4924 CFLAGS="-O2"
4925 else
4926 CFLAGS=
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4930 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4931 if ${ac_cv_prog_cc_c89+:} false; then :
4932 $as_echo_n "(cached) " >&6
4933 else
4934 ac_cv_prog_cc_c89=no
4935 ac_save_CC=$CC
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4938 #include <stdarg.h>
4939 #include <stdio.h>
4940 struct stat;
4941 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4942 struct buf { int x; };
4943 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4944 static char *e (p, i)
4945 char **p;
4946 int i;
4948 return p[i];
4950 static char *f (char * (*g) (char **, int), char **p, ...)
4952 char *s;
4953 va_list v;
4954 va_start (v,p);
4955 s = g (p, va_arg (v,int));
4956 va_end (v);
4957 return s;
4960 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4961 function prototypes and stuff, but not '\xHH' hex character constants.
4962 These don't provoke an error unfortunately, instead are silently treated
4963 as 'x'. The following induces an error, until -std is added to get
4964 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4965 array size at least. It's necessary to write '\x00'==0 to get something
4966 that's true only with -std. */
4967 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4969 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4970 inside strings and character constants. */
4971 #define FOO(x) 'x'
4972 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4974 int test (int i, double x);
4975 struct s1 {int (*f) (int a);};
4976 struct s2 {int (*f) (double a);};
4977 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4978 int argc;
4979 char **argv;
4981 main ()
4983 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4985 return 0;
4987 _ACEOF
4988 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4989 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4991 CC="$ac_save_CC $ac_arg"
4992 if ac_fn_c_try_compile "$LINENO"; then :
4993 ac_cv_prog_cc_c89=$ac_arg
4995 rm -f core conftest.err conftest.$ac_objext
4996 test "x$ac_cv_prog_cc_c89" != "xno" && break
4997 done
4998 rm -f conftest.$ac_ext
4999 CC=$ac_save_CC
5002 # AC_CACHE_VAL
5003 case "x$ac_cv_prog_cc_c89" in
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5006 $as_echo "none needed" >&6; } ;;
5007 xno)
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5009 $as_echo "unsupported" >&6; } ;;
5011 CC="$CC $ac_cv_prog_cc_c89"
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5013 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5014 esac
5015 if test "x$ac_cv_prog_cc_c89" != xno; then :
5019 ac_ext=c
5020 ac_cpp='$CPP $CPPFLAGS'
5021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5025 ac_ext=cpp
5026 ac_cpp='$CXXCPP $CPPFLAGS'
5027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5030 if test -z "$CXX"; then
5031 if test -n "$CCC"; then
5032 CXX=$CCC
5033 else
5034 if test -n "$ac_tool_prefix"; then
5035 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5037 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5038 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if ${ac_cv_prog_CXX+:} false; then :
5042 $as_echo_n "(cached) " >&6
5043 else
5044 if test -n "$CXX"; then
5045 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5046 else
5047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 for as_dir in $PATH
5050 IFS=$as_save_IFS
5051 test -z "$as_dir" && as_dir=.
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 break 2
5058 done
5059 done
5060 IFS=$as_save_IFS
5064 CXX=$ac_cv_prog_CXX
5065 if test -n "$CXX"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5067 $as_echo "$CXX" >&6; }
5068 else
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5074 test -n "$CXX" && break
5075 done
5077 if test -z "$CXX"; then
5078 ac_ct_CXX=$CXX
5079 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5081 # Extract the first word of "$ac_prog", so it can be a program name with args.
5082 set dummy $ac_prog; ac_word=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5086 $as_echo_n "(cached) " >&6
5087 else
5088 if test -n "$ac_ct_CXX"; then
5089 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5090 else
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5094 IFS=$as_save_IFS
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5098 ac_cv_prog_ac_ct_CXX="$ac_prog"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 break 2
5102 done
5103 done
5104 IFS=$as_save_IFS
5108 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5109 if test -n "$ac_ct_CXX"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5111 $as_echo "$ac_ct_CXX" >&6; }
5112 else
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5118 test -n "$ac_ct_CXX" && break
5119 done
5121 if test "x$ac_ct_CXX" = x; then
5122 CXX="g++"
5123 else
5124 case $cross_compiling:$ac_tool_warned in
5125 yes:)
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5128 ac_tool_warned=yes ;;
5129 esac
5130 CXX=$ac_ct_CXX
5136 # Provide some information about the compiler.
5137 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5138 set X $ac_compile
5139 ac_compiler=$2
5140 for ac_option in --version -v -V -qversion; do
5141 { { ac_try="$ac_compiler $ac_option >&5"
5142 case "(($ac_try" in
5143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5144 *) ac_try_echo=$ac_try;;
5145 esac
5146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5147 $as_echo "$ac_try_echo"; } >&5
5148 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5149 ac_status=$?
5150 if test -s conftest.err; then
5151 sed '10a\
5152 ... rest of stderr output deleted ...
5153 10q' conftest.err >conftest.er1
5154 cat conftest.er1 >&5
5156 rm -f conftest.er1 conftest.err
5157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5158 test $ac_status = 0; }
5159 done
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5162 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5163 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5164 $as_echo_n "(cached) " >&6
5165 else
5166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5170 main ()
5172 #ifndef __GNUC__
5173 choke me
5174 #endif
5177 return 0;
5179 _ACEOF
5180 if ac_fn_cxx_try_compile "$LINENO"; then :
5181 ac_compiler_gnu=yes
5182 else
5183 ac_compiler_gnu=no
5185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5186 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5190 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5191 if test $ac_compiler_gnu = yes; then
5192 GXX=yes
5193 else
5194 GXX=
5196 ac_test_CXXFLAGS=${CXXFLAGS+set}
5197 ac_save_CXXFLAGS=$CXXFLAGS
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5199 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5200 if ${ac_cv_prog_cxx_g+:} false; then :
5201 $as_echo_n "(cached) " >&6
5202 else
5203 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5204 ac_cxx_werror_flag=yes
5205 ac_cv_prog_cxx_g=no
5206 CXXFLAGS="-g"
5207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5208 /* end confdefs.h. */
5211 main ()
5215 return 0;
5217 _ACEOF
5218 if ac_fn_cxx_try_compile "$LINENO"; then :
5219 ac_cv_prog_cxx_g=yes
5220 else
5221 CXXFLAGS=""
5222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5223 /* end confdefs.h. */
5226 main ()
5230 return 0;
5232 _ACEOF
5233 if ac_fn_cxx_try_compile "$LINENO"; then :
5235 else
5236 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5237 CXXFLAGS="-g"
5238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5239 /* end confdefs.h. */
5242 main ()
5246 return 0;
5248 _ACEOF
5249 if ac_fn_cxx_try_compile "$LINENO"; then :
5250 ac_cv_prog_cxx_g=yes
5252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5257 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5260 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5261 if test "$ac_test_CXXFLAGS" = set; then
5262 CXXFLAGS=$ac_save_CXXFLAGS
5263 elif test $ac_cv_prog_cxx_g = yes; then
5264 if test "$GXX" = yes; then
5265 CXXFLAGS="-g -O2"
5266 else
5267 CXXFLAGS="-g"
5269 else
5270 if test "$GXX" = yes; then
5271 CXXFLAGS="-O2"
5272 else
5273 CXXFLAGS=
5276 ac_ext=c
5277 ac_cpp='$CPP $CPPFLAGS'
5278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5282 if test -n "$ac_tool_prefix"; then
5283 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5284 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_CPPBIN+:} false; then :
5288 $as_echo_n "(cached) " >&6
5289 else
5290 if test -n "$CPPBIN"; then
5291 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5292 else
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 for as_dir in $PATH
5296 IFS=$as_save_IFS
5297 test -z "$as_dir" && as_dir=.
5298 for ac_exec_ext in '' $ac_executable_extensions; do
5299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5300 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5302 break 2
5304 done
5305 done
5306 IFS=$as_save_IFS
5310 CPPBIN=$ac_cv_prog_CPPBIN
5311 if test -n "$CPPBIN"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5313 $as_echo "$CPPBIN" >&6; }
5314 else
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5321 if test -z "$ac_cv_prog_CPPBIN"; then
5322 ac_ct_CPPBIN=$CPPBIN
5323 # Extract the first word of "cpp", so it can be a program name with args.
5324 set dummy cpp; ac_word=$2
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326 $as_echo_n "checking for $ac_word... " >&6; }
5327 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5328 $as_echo_n "(cached) " >&6
5329 else
5330 if test -n "$ac_ct_CPPBIN"; then
5331 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5332 else
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 for as_dir in $PATH
5336 IFS=$as_save_IFS
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340 ac_cv_prog_ac_ct_CPPBIN="cpp"
5341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342 break 2
5344 done
5345 done
5346 IFS=$as_save_IFS
5350 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5351 if test -n "$ac_ct_CPPBIN"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5353 $as_echo "$ac_ct_CPPBIN" >&6; }
5354 else
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5359 if test "x$ac_ct_CPPBIN" = x; then
5360 CPPBIN="cpp"
5361 else
5362 case $cross_compiling:$ac_tool_warned in
5363 yes:)
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5366 ac_tool_warned=yes ;;
5367 esac
5368 CPPBIN=$ac_ct_CPPBIN
5370 else
5371 CPPBIN="$ac_cv_prog_CPPBIN"
5375 cat >>confdefs.h <<_ACEOF
5376 #define EXEEXT "$ac_exeext"
5377 _ACEOF
5379 if test -n "$ac_tool_prefix"; then
5380 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5381 set dummy ${ac_tool_prefix}ld; ac_word=$2
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5383 $as_echo_n "checking for $ac_word... " >&6; }
5384 if ${ac_cv_prog_LD+:} false; then :
5385 $as_echo_n "(cached) " >&6
5386 else
5387 if test -n "$LD"; then
5388 ac_cv_prog_LD="$LD" # Let the user override the test.
5389 else
5390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5391 for as_dir in $PATH
5393 IFS=$as_save_IFS
5394 test -z "$as_dir" && as_dir=.
5395 for ac_exec_ext in '' $ac_executable_extensions; do
5396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5397 ac_cv_prog_LD="${ac_tool_prefix}ld"
5398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5399 break 2
5401 done
5402 done
5403 IFS=$as_save_IFS
5407 LD=$ac_cv_prog_LD
5408 if test -n "$LD"; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5410 $as_echo "$LD" >&6; }
5411 else
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5413 $as_echo "no" >&6; }
5418 if test -z "$ac_cv_prog_LD"; then
5419 ac_ct_LD=$LD
5420 # Extract the first word of "ld", so it can be a program name with args.
5421 set dummy ld; ac_word=$2
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5423 $as_echo_n "checking for $ac_word... " >&6; }
5424 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5425 $as_echo_n "(cached) " >&6
5426 else
5427 if test -n "$ac_ct_LD"; then
5428 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5429 else
5430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5431 for as_dir in $PATH
5433 IFS=$as_save_IFS
5434 test -z "$as_dir" && as_dir=.
5435 for ac_exec_ext in '' $ac_executable_extensions; do
5436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5437 ac_cv_prog_ac_ct_LD="ld"
5438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 break 2
5441 done
5442 done
5443 IFS=$as_save_IFS
5447 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5448 if test -n "$ac_ct_LD"; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5450 $as_echo "$ac_ct_LD" >&6; }
5451 else
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 $as_echo "no" >&6; }
5456 if test "x$ac_ct_LD" = x; then
5457 LD=""
5458 else
5459 case $cross_compiling:$ac_tool_warned in
5460 yes:)
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5463 ac_tool_warned=yes ;;
5464 esac
5465 LD=$ac_ct_LD
5467 else
5468 LD="$ac_cv_prog_LD"
5472 case $host in
5473 *-darwin*)
5474 with_fontconfig=${with_fontconfig:-no}
5476 *-mingw32*|*-cygwin*)
5477 enable_win16=${enable_win16:-no}
5478 CFLAGS="$CFLAGS -D_WIN32"
5480 esac
5482 case $host in
5483 x86_64*|amd64*)
5484 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5485 then
5486 CC="$CC -m32"
5487 CXX="$CXX -m32"
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5489 $as_echo_n "checking whether $CC works... " >&6; }
5491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5492 /* end confdefs.h. */
5495 main ()
5499 return 0;
5501 _ACEOF
5502 if ac_fn_c_try_link "$LINENO"; then :
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5504 $as_echo "yes" >&6; }
5505 else
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5508 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5510 rm -f core conftest.err conftest.$ac_objext \
5511 conftest$ac_exeext conftest.$ac_ext
5512 host_cpu="i386"
5513 notice_platform="32-bit "
5514 TARGETFLAGS="-m32"
5516 WIDLFLAGS="--win32"
5518 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5519 export PKG_CONFIG_PATH
5520 enable_win16=${enable_win16:-yes}
5521 else
5522 if test "x${GCC}" = "xyes"
5523 then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5525 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5527 /* end confdefs.h. */
5528 #include <stdarg.h>
5530 main ()
5532 void func(__builtin_ms_va_list *args);
5534 return 0;
5536 _ACEOF
5537 if ac_fn_c_try_compile "$LINENO"; then :
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5539 $as_echo "yes" >&6; }
5540 else
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5543 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5547 CC="$CC -m64"
5548 CXX="$CXX -m64"
5549 host_cpu="x86_64"
5550 notice_platform="64-bit "
5551 TARGETFLAGS="-m64"
5553 WIDLFLAGS="--win64"
5557 arm*)
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5559 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5561 /* end confdefs.h. */
5562 int ac_test(int i) { return i; }
5564 main ()
5566 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5568 return 0;
5570 _ACEOF
5571 if ac_fn_c_try_link "$LINENO"; then :
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5573 $as_echo "yes" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5577 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5579 rm -f core conftest.err conftest.$ac_objext \
5580 conftest$ac_exeext conftest.$ac_ext
5581 case $with_float_abi in
5582 soft|softfp|hard)
5583 float_abi=$with_float_abi ;;
5585 case $host_os in
5586 *eabihf)
5587 float_abi=hard ;;
5589 float_abi=softfp
5590 saved_CFLAGS=$CFLAGS
5591 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5593 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5598 main ()
5600 asm("vmrs r2,fpscr");
5602 return 0;
5604 _ACEOF
5605 if ac_fn_c_try_link "$LINENO"; then :
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5607 $as_echo "yes" >&6; }
5608 else
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5611 float_abi=soft
5612 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5614 rm -f core conftest.err conftest.$ac_objext \
5615 conftest$ac_exeext conftest.$ac_ext
5616 CFLAGS=$saved_CFLAGS
5617 esac
5619 esac
5620 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5621 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5623 WIDLFLAGS="--win32"
5626 aarch64*)
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5628 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5630 /* end confdefs.h. */
5631 #include <stdarg.h>
5633 main ()
5635 void func(__builtin_ms_va_list *args);
5637 return 0;
5639 _ACEOF
5640 if ac_fn_c_try_compile "$LINENO"; then :
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5642 $as_echo "yes" >&6; }
5643 else
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 $as_echo "no" >&6; }
5646 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5649 WIDLFLAGS="--win64"
5652 i[3456789]86*)
5653 enable_win16=${enable_win16:-yes}
5654 WIDLFLAGS="--win32"
5657 esac
5659 enable_win16=${enable_win16:-no}
5660 enable_win64=${enable_win64:-no}
5662 enable_winetest=${enable_winetest:-$enable_tests}
5664 if test -n "$with_wine64"
5665 then
5666 if test "x$enable_win64" = "xyes"
5667 then
5668 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5669 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5671 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5672 You should create a separate build directory and run configure from there." "$LINENO" 5
5673 enable_fonts=${enable_fonts:-no}
5674 enable_server=${enable_server:-no}
5675 wine64_disable=\#
5677 elif test "x$enable_win64" = "xyes"
5678 then
5679 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5683 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5684 if ${wine_cv_toolsdir+:} false; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 wine_cv_toolsdir="$with_wine_tools"
5688 if test -z "$with_wine_tools"; then
5689 if test "$cross_compiling" = "yes"; then
5690 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5691 elif test -n "$with_wine64"; then
5692 wine_cv_toolsdir="$with_wine64"
5695 if test -z "$wine_cv_toolsdir"; then
5696 wine_makedep=tools/makedep
5697 wine_cv_toolsdir="\$(top_builddir)"
5698 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5699 wine_makedep=$wine_cv_toolsdir/tools/makedep
5700 case "$wine_cv_toolsdir" in
5701 /*) ;;
5702 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5703 esac
5704 enable_tools=${enable_tools:-no}
5705 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5706 else
5707 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5711 $as_echo "$wine_cv_toolsdir" >&6; }
5712 TOOLSDIR=$wine_cv_toolsdir
5714 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5715 then
5716 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5720 for ac_prog in flex
5722 # Extract the first word of "$ac_prog", so it can be a program name with args.
5723 set dummy $ac_prog; ac_word=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725 $as_echo_n "checking for $ac_word... " >&6; }
5726 if ${ac_cv_prog_FLEX+:} false; then :
5727 $as_echo_n "(cached) " >&6
5728 else
5729 if test -n "$FLEX"; then
5730 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5731 else
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 for as_dir in $PATH
5735 IFS=$as_save_IFS
5736 test -z "$as_dir" && as_dir=.
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_FLEX="$ac_prog"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 break 2
5743 done
5744 done
5745 IFS=$as_save_IFS
5749 FLEX=$ac_cv_prog_FLEX
5750 if test -n "$FLEX"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5752 $as_echo "$FLEX" >&6; }
5753 else
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755 $as_echo "no" >&6; }
5759 test -n "$FLEX" && break
5760 done
5761 test -n "$FLEX" || FLEX="none"
5763 if test "$FLEX" = "none"
5764 then
5765 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5768 $as_echo_n "checking whether flex is recent enough... " >&6; }
5769 cat >conftest.l <<EOF
5770 %top{
5771 #include "prediluvian.h"
5775 if $FLEX -t conftest.l >/dev/null 2>&5
5776 then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5778 $as_echo "yes" >&6; }
5779 else
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5782 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5785 for ac_prog in bison
5787 # Extract the first word of "$ac_prog", so it can be a program name with args.
5788 set dummy $ac_prog; ac_word=$2
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5790 $as_echo_n "checking for $ac_word... " >&6; }
5791 if ${ac_cv_prog_BISON+:} false; then :
5792 $as_echo_n "(cached) " >&6
5793 else
5794 if test -n "$BISON"; then
5795 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5796 else
5797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5798 for as_dir in $PATH
5800 IFS=$as_save_IFS
5801 test -z "$as_dir" && as_dir=.
5802 for ac_exec_ext in '' $ac_executable_extensions; do
5803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5804 ac_cv_prog_BISON="$ac_prog"
5805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 break 2
5808 done
5809 done
5810 IFS=$as_save_IFS
5814 BISON=$ac_cv_prog_BISON
5815 if test -n "$BISON"; then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5817 $as_echo "$BISON" >&6; }
5818 else
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820 $as_echo "no" >&6; }
5824 test -n "$BISON" && break
5825 done
5826 test -n "$BISON" || BISON="none"
5828 if test "$BISON" = "none"
5829 then
5830 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5833 if test -n "$ac_tool_prefix"; then
5834 for ac_prog in ar gar
5836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5839 $as_echo_n "checking for $ac_word... " >&6; }
5840 if ${ac_cv_prog_AR+:} false; then :
5841 $as_echo_n "(cached) " >&6
5842 else
5843 if test -n "$AR"; then
5844 ac_cv_prog_AR="$AR" # Let the user override the test.
5845 else
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 for as_dir in $PATH
5849 IFS=$as_save_IFS
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 break 2
5857 done
5858 done
5859 IFS=$as_save_IFS
5863 AR=$ac_cv_prog_AR
5864 if test -n "$AR"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5866 $as_echo "$AR" >&6; }
5867 else
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5873 test -n "$AR" && break
5874 done
5876 if test -z "$AR"; then
5877 ac_ct_AR=$AR
5878 for ac_prog in ar gar
5880 # Extract the first word of "$ac_prog", so it can be a program name with args.
5881 set dummy $ac_prog; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5887 if test -n "$ac_ct_AR"; then
5888 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5889 else
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 for as_dir in $PATH
5893 IFS=$as_save_IFS
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_ac_ct_AR="$ac_prog"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 break 2
5901 done
5902 done
5903 IFS=$as_save_IFS
5907 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5908 if test -n "$ac_ct_AR"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5910 $as_echo "$ac_ct_AR" >&6; }
5911 else
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5917 test -n "$ac_ct_AR" && break
5918 done
5920 if test "x$ac_ct_AR" = x; then
5921 AR="ar"
5922 else
5923 case $cross_compiling:$ac_tool_warned in
5924 yes:)
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5927 ac_tool_warned=yes ;;
5928 esac
5929 AR=$ac_ct_AR
5933 if test -n "$ac_tool_prefix"; then
5934 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5935 set dummy ${ac_tool_prefix}strip; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_STRIP+:} false; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 if test -n "$STRIP"; then
5942 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5943 else
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH
5947 IFS=$as_save_IFS
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5951 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953 break 2
5955 done
5956 done
5957 IFS=$as_save_IFS
5961 STRIP=$ac_cv_prog_STRIP
5962 if test -n "$STRIP"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5964 $as_echo "$STRIP" >&6; }
5965 else
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5972 if test -z "$ac_cv_prog_STRIP"; then
5973 ac_ct_STRIP=$STRIP
5974 # Extract the first word of "strip", so it can be a program name with args.
5975 set dummy strip; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 if test -n "$ac_ct_STRIP"; then
5982 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5983 else
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 for as_dir in $PATH
5987 IFS=$as_save_IFS
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_ac_ct_STRIP="strip"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 break 2
5995 done
5996 done
5997 IFS=$as_save_IFS
6001 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6002 if test -n "$ac_ct_STRIP"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6004 $as_echo "$ac_ct_STRIP" >&6; }
6005 else
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6010 if test "x$ac_ct_STRIP" = x; then
6011 STRIP="strip"
6012 else
6013 case $cross_compiling:$ac_tool_warned in
6014 yes:)
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6017 ac_tool_warned=yes ;;
6018 esac
6019 STRIP=$ac_ct_STRIP
6021 else
6022 STRIP="$ac_cv_prog_STRIP"
6025 ARFLAGS=rc
6027 if test -n "$ac_tool_prefix"; then
6028 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6029 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if ${ac_cv_prog_RANLIB+:} false; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 if test -n "$RANLIB"; then
6036 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6037 else
6038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 for as_dir in $PATH
6041 IFS=$as_save_IFS
6042 test -z "$as_dir" && as_dir=.
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6047 break 2
6049 done
6050 done
6051 IFS=$as_save_IFS
6055 RANLIB=$ac_cv_prog_RANLIB
6056 if test -n "$RANLIB"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6058 $as_echo "$RANLIB" >&6; }
6059 else
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6066 if test -z "$ac_cv_prog_RANLIB"; then
6067 ac_ct_RANLIB=$RANLIB
6068 # Extract the first word of "ranlib", so it can be a program name with args.
6069 set dummy ranlib; ac_word=$2
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071 $as_echo_n "checking for $ac_word... " >&6; }
6072 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6073 $as_echo_n "(cached) " >&6
6074 else
6075 if test -n "$ac_ct_RANLIB"; then
6076 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6077 else
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 for as_dir in $PATH
6081 IFS=$as_save_IFS
6082 test -z "$as_dir" && as_dir=.
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_ac_ct_RANLIB="ranlib"
6086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6087 break 2
6089 done
6090 done
6091 IFS=$as_save_IFS
6095 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6096 if test -n "$ac_ct_RANLIB"; then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6098 $as_echo "$ac_ct_RANLIB" >&6; }
6099 else
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 $as_echo "no" >&6; }
6104 if test "x$ac_ct_RANLIB" = x; then
6105 RANLIB=":"
6106 else
6107 case $cross_compiling:$ac_tool_warned in
6108 yes:)
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6111 ac_tool_warned=yes ;;
6112 esac
6113 RANLIB=$ac_ct_RANLIB
6115 else
6116 RANLIB="$ac_cv_prog_RANLIB"
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6120 $as_echo_n "checking whether ln -s works... " >&6; }
6121 LN_S=$as_ln_s
6122 if test "$LN_S" = "ln -s"; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6124 $as_echo "yes" >&6; }
6125 else
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6127 $as_echo "no, using $LN_S" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6131 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6132 if ${ac_cv_path_GREP+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 if test -z "$GREP"; then
6136 ac_path_GREP_found=false
6137 # Loop through the user's path and test for each of PROGNAME-LIST
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_prog in grep ggrep; do
6144 for ac_exec_ext in '' $ac_executable_extensions; do
6145 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6146 as_fn_executable_p "$ac_path_GREP" || continue
6147 # Check for GNU ac_path_GREP and select it if it is found.
6148 # Check for GNU $ac_path_GREP
6149 case `"$ac_path_GREP" --version 2>&1` in
6150 *GNU*)
6151 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6153 ac_count=0
6154 $as_echo_n 0123456789 >"conftest.in"
6155 while :
6157 cat "conftest.in" "conftest.in" >"conftest.tmp"
6158 mv "conftest.tmp" "conftest.in"
6159 cp "conftest.in" "conftest.nl"
6160 $as_echo 'GREP' >> "conftest.nl"
6161 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6162 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6163 as_fn_arith $ac_count + 1 && ac_count=$as_val
6164 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6165 # Best one so far, save it but keep looking for a better one
6166 ac_cv_path_GREP="$ac_path_GREP"
6167 ac_path_GREP_max=$ac_count
6169 # 10*(2^10) chars as input seems more than enough
6170 test $ac_count -gt 10 && break
6171 done
6172 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6173 esac
6175 $ac_path_GREP_found && break 3
6176 done
6177 done
6178 done
6179 IFS=$as_save_IFS
6180 if test -z "$ac_cv_path_GREP"; then
6181 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6183 else
6184 ac_cv_path_GREP=$GREP
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6189 $as_echo "$ac_cv_path_GREP" >&6; }
6190 GREP="$ac_cv_path_GREP"
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6194 $as_echo_n "checking for egrep... " >&6; }
6195 if ${ac_cv_path_EGREP+:} false; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6199 then ac_cv_path_EGREP="$GREP -E"
6200 else
6201 if test -z "$EGREP"; then
6202 ac_path_EGREP_found=false
6203 # Loop through the user's path and test for each of PROGNAME-LIST
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6207 IFS=$as_save_IFS
6208 test -z "$as_dir" && as_dir=.
6209 for ac_prog in egrep; do
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6212 as_fn_executable_p "$ac_path_EGREP" || continue
6213 # Check for GNU ac_path_EGREP and select it if it is found.
6214 # Check for GNU $ac_path_EGREP
6215 case `"$ac_path_EGREP" --version 2>&1` in
6216 *GNU*)
6217 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6219 ac_count=0
6220 $as_echo_n 0123456789 >"conftest.in"
6221 while :
6223 cat "conftest.in" "conftest.in" >"conftest.tmp"
6224 mv "conftest.tmp" "conftest.in"
6225 cp "conftest.in" "conftest.nl"
6226 $as_echo 'EGREP' >> "conftest.nl"
6227 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6228 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6229 as_fn_arith $ac_count + 1 && ac_count=$as_val
6230 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6231 # Best one so far, save it but keep looking for a better one
6232 ac_cv_path_EGREP="$ac_path_EGREP"
6233 ac_path_EGREP_max=$ac_count
6235 # 10*(2^10) chars as input seems more than enough
6236 test $ac_count -gt 10 && break
6237 done
6238 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6239 esac
6241 $ac_path_EGREP_found && break 3
6242 done
6243 done
6244 done
6245 IFS=$as_save_IFS
6246 if test -z "$ac_cv_path_EGREP"; then
6247 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6249 else
6250 ac_cv_path_EGREP=$EGREP
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6256 $as_echo "$ac_cv_path_EGREP" >&6; }
6257 EGREP="$ac_cv_path_EGREP"
6260 # Extract the first word of "ldconfig", so it can be a program name with args.
6261 set dummy ldconfig; ac_word=$2
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6263 $as_echo_n "checking for $ac_word... " >&6; }
6264 if ${ac_cv_path_LDCONFIG+:} false; then :
6265 $as_echo_n "(cached) " >&6
6266 else
6267 case $LDCONFIG in
6268 [\\/]* | ?:[\\/]*)
6269 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 for as_dir in /sbin /usr/sbin $PATH
6275 IFS=$as_save_IFS
6276 test -z "$as_dir" && as_dir=.
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6279 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6281 break 2
6283 done
6284 done
6285 IFS=$as_save_IFS
6287 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6289 esac
6291 LDCONFIG=$ac_cv_path_LDCONFIG
6292 if test -n "$LDCONFIG"; then
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6294 $as_echo "$LDCONFIG" >&6; }
6295 else
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6297 $as_echo "no" >&6; }
6301 for ac_prog in msgfmt
6303 # Extract the first word of "$ac_prog", so it can be a program name with args.
6304 set dummy $ac_prog; ac_word=$2
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306 $as_echo_n "checking for $ac_word... " >&6; }
6307 if ${ac_cv_prog_MSGFMT+:} false; then :
6308 $as_echo_n "(cached) " >&6
6309 else
6310 if test -n "$MSGFMT"; then
6311 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6312 else
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 for as_dir in $PATH
6316 IFS=$as_save_IFS
6317 test -z "$as_dir" && as_dir=.
6318 for ac_exec_ext in '' $ac_executable_extensions; do
6319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6320 ac_cv_prog_MSGFMT="$ac_prog"
6321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322 break 2
6324 done
6325 done
6326 IFS=$as_save_IFS
6330 MSGFMT=$ac_cv_prog_MSGFMT
6331 if test -n "$MSGFMT"; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6333 $as_echo "$MSGFMT" >&6; }
6334 else
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6336 $as_echo "no" >&6; }
6340 test -n "$MSGFMT" && break
6341 done
6342 test -n "$MSGFMT" || MSGFMT="false"
6344 if ${ac_tool_prefix+:} false; then :
6345 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6346 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6348 $as_echo_n "checking for $ac_word... " >&6; }
6349 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6350 $as_echo_n "(cached) " >&6
6351 else
6352 if test -n "$PKG_CONFIG"; then
6353 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6354 else
6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356 for as_dir in $PATH
6358 IFS=$as_save_IFS
6359 test -z "$as_dir" && as_dir=.
6360 for ac_exec_ext in '' $ac_executable_extensions; do
6361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6362 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6364 break 2
6366 done
6367 done
6368 IFS=$as_save_IFS
6372 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6373 if test -n "$PKG_CONFIG"; then
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6375 $as_echo "$PKG_CONFIG" >&6; }
6376 else
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6378 $as_echo "no" >&6; }
6383 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6384 if test "x$cross_compiling" = xyes; then :
6386 else
6387 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6388 # Extract the first word of "pkg-config", so it can be a program name with args.
6389 set dummy pkg-config; ac_word=$2
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391 $as_echo_n "checking for $ac_word... " >&6; }
6392 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6393 $as_echo_n "(cached) " >&6
6394 else
6395 if test -n "$PKG_CONFIG"; then
6396 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6397 else
6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6399 for as_dir in $PATH
6401 IFS=$as_save_IFS
6402 test -z "$as_dir" && as_dir=.
6403 for ac_exec_ext in '' $ac_executable_extensions; do
6404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6405 ac_cv_prog_PKG_CONFIG="pkg-config"
6406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407 break 2
6409 done
6410 done
6411 IFS=$as_save_IFS
6415 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6416 if test -n "$PKG_CONFIG"; then
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6418 $as_echo "$PKG_CONFIG" >&6; }
6419 else
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6421 $as_echo "no" >&6; }
6426 else
6427 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6430 if test "x$enable_maintainer_mode" != "xyes"
6431 then
6432 FONTFORGE=""
6433 RSVG=""
6434 CONVERT=""
6435 ICOTOOL=""
6436 else
6437 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6438 for ac_prog in fontforge
6440 # Extract the first word of "$ac_prog", so it can be a program name with args.
6441 set dummy $ac_prog; ac_word=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443 $as_echo_n "checking for $ac_word... " >&6; }
6444 if ${ac_cv_prog_FONTFORGE+:} false; then :
6445 $as_echo_n "(cached) " >&6
6446 else
6447 if test -n "$FONTFORGE"; then
6448 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6449 else
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 for as_dir in $PATH
6453 IFS=$as_save_IFS
6454 test -z "$as_dir" && as_dir=.
6455 for ac_exec_ext in '' $ac_executable_extensions; do
6456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6457 ac_cv_prog_FONTFORGE="$ac_prog"
6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 break 2
6461 done
6462 done
6463 IFS=$as_save_IFS
6467 FONTFORGE=$ac_cv_prog_FONTFORGE
6468 if test -n "$FONTFORGE"; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6470 $as_echo "$FONTFORGE" >&6; }
6471 else
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473 $as_echo "no" >&6; }
6477 test -n "$FONTFORGE" && break
6478 done
6479 test -n "$FONTFORGE" || FONTFORGE="false"
6481 for ac_prog in rsvg-convert rsvg
6483 # Extract the first word of "$ac_prog", so it can be a program name with args.
6484 set dummy $ac_prog; ac_word=$2
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6486 $as_echo_n "checking for $ac_word... " >&6; }
6487 if ${ac_cv_prog_RSVG+:} false; then :
6488 $as_echo_n "(cached) " >&6
6489 else
6490 if test -n "$RSVG"; then
6491 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6492 else
6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 for as_dir in $PATH
6496 IFS=$as_save_IFS
6497 test -z "$as_dir" && as_dir=.
6498 for ac_exec_ext in '' $ac_executable_extensions; do
6499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6500 ac_cv_prog_RSVG="$ac_prog"
6501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6502 break 2
6504 done
6505 done
6506 IFS=$as_save_IFS
6510 RSVG=$ac_cv_prog_RSVG
6511 if test -n "$RSVG"; then
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6513 $as_echo "$RSVG" >&6; }
6514 else
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6516 $as_echo "no" >&6; }
6520 test -n "$RSVG" && break
6521 done
6522 test -n "$RSVG" || RSVG="false"
6524 for ac_prog in convert
6526 # Extract the first word of "$ac_prog", so it can be a program name with args.
6527 set dummy $ac_prog; ac_word=$2
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 $as_echo_n "checking for $ac_word... " >&6; }
6530 if ${ac_cv_prog_CONVERT+:} false; then :
6531 $as_echo_n "(cached) " >&6
6532 else
6533 if test -n "$CONVERT"; then
6534 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6535 else
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537 for as_dir in $PATH
6539 IFS=$as_save_IFS
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6543 ac_cv_prog_CONVERT="$ac_prog"
6544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 break 2
6547 done
6548 done
6549 IFS=$as_save_IFS
6553 CONVERT=$ac_cv_prog_CONVERT
6554 if test -n "$CONVERT"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6556 $as_echo "$CONVERT" >&6; }
6557 else
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 $as_echo "no" >&6; }
6563 test -n "$CONVERT" && break
6564 done
6565 test -n "$CONVERT" || CONVERT="false"
6567 for ac_prog in icotool
6569 # Extract the first word of "$ac_prog", so it can be a program name with args.
6570 set dummy $ac_prog; ac_word=$2
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 $as_echo_n "checking for $ac_word... " >&6; }
6573 if ${ac_cv_prog_ICOTOOL+:} false; then :
6574 $as_echo_n "(cached) " >&6
6575 else
6576 if test -n "$ICOTOOL"; then
6577 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6578 else
6579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6580 for as_dir in $PATH
6582 IFS=$as_save_IFS
6583 test -z "$as_dir" && as_dir=.
6584 for ac_exec_ext in '' $ac_executable_extensions; do
6585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6586 ac_cv_prog_ICOTOOL="$ac_prog"
6587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6588 break 2
6590 done
6591 done
6592 IFS=$as_save_IFS
6596 ICOTOOL=$ac_cv_prog_ICOTOOL
6597 if test -n "$ICOTOOL"; then
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6599 $as_echo "$ICOTOOL" >&6; }
6600 else
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 $as_echo "no" >&6; }
6606 test -n "$ICOTOOL" && break
6607 done
6608 test -n "$ICOTOOL" || ICOTOOL="false"
6610 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6611 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6613 if test "$CONVERT" = false
6614 then
6615 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6616 else
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6618 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6619 convert_version=`convert --version | head -n1`
6620 if test "x$convert_version" != "x"
6621 then
6622 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6623 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6624 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6625 then
6626 CONVERT=false
6629 if test "$CONVERT" = false
6630 then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6632 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6633 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6634 else
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6636 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6640 if test "$ICOTOOL" = false
6641 then
6642 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6643 else
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6645 $as_echo_n "checking for recent enough icotool... " >&6; }
6646 icotool_version=`icotool --version | head -n1`
6647 if test "x$icotool_version" != "x"
6648 then
6649 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6650 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6651 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6652 then
6653 ICOTOOL=false
6654 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6657 if test "$ICOTOOL" = false
6658 then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6660 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6661 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6662 else
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6664 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6668 with_gettext=yes
6669 with_gettextpo=yes
6670 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6673 test "x$with_gettext" != xno || MSGFMT=false
6674 if test "$MSGFMT" != "false"
6675 then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6677 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6678 cat >conftest.po <<EOF
6679 # comment
6680 msgctxt "ctxt"
6681 msgid "id"
6682 msgstr "str"
6684 if $MSGFMT -o /dev/null conftest.po 2>&5
6685 then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6687 $as_echo "yes" >&6; }
6688 else
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6691 MSGFMT=false
6694 if test "$MSGFMT" = false; then :
6695 case "x$with_gettext" in
6696 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6697 xno) ;;
6698 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6699 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6700 esac
6701 enable_po=${enable_po:-no}
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6706 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6707 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6708 $as_echo_n "(cached) " >&6
6709 else
6710 ac_check_lib_save_LIBS=$LIBS
6711 LIBS="-li386 $LIBS"
6712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6713 /* end confdefs.h. */
6715 /* Override any GCC internal prototype to avoid an error.
6716 Use char because int might match the return type of a GCC
6717 builtin and then its argument prototype would still apply. */
6718 #ifdef __cplusplus
6719 extern "C"
6720 #endif
6721 char i386_set_ldt ();
6723 main ()
6725 return i386_set_ldt ();
6727 return 0;
6729 _ACEOF
6730 if ac_fn_c_try_link "$LINENO"; then :
6731 ac_cv_lib_i386_i386_set_ldt=yes
6732 else
6733 ac_cv_lib_i386_i386_set_ldt=no
6735 rm -f core conftest.err conftest.$ac_objext \
6736 conftest$ac_exeext conftest.$ac_ext
6737 LIBS=$ac_check_lib_save_LIBS
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6740 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6741 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6742 cat >>confdefs.h <<_ACEOF
6743 #define HAVE_LIBI386 1
6744 _ACEOF
6746 LIBS="-li386 $LIBS"
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6751 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6752 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6753 $as_echo_n "(cached) " >&6
6754 else
6755 ac_check_lib_save_LIBS=$LIBS
6756 LIBS="-lossaudio $LIBS"
6757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6758 /* end confdefs.h. */
6760 /* Override any GCC internal prototype to avoid an error.
6761 Use char because int might match the return type of a GCC
6762 builtin and then its argument prototype would still apply. */
6763 #ifdef __cplusplus
6764 extern "C"
6765 #endif
6766 char _oss_ioctl ();
6768 main ()
6770 return _oss_ioctl ();
6772 return 0;
6774 _ACEOF
6775 if ac_fn_c_try_link "$LINENO"; then :
6776 ac_cv_lib_ossaudio__oss_ioctl=yes
6777 else
6778 ac_cv_lib_ossaudio__oss_ioctl=no
6780 rm -f core conftest.err conftest.$ac_objext \
6781 conftest$ac_exeext conftest.$ac_ext
6782 LIBS=$ac_check_lib_save_LIBS
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6785 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6786 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6787 cat >>confdefs.h <<_ACEOF
6788 #define HAVE_LIBOSSAUDIO 1
6789 _ACEOF
6791 LIBS="-lossaudio $LIBS"
6796 OPENGL_LIBS=""
6800 # Check whether --enable-largefile was given.
6801 if test "${enable_largefile+set}" = set; then :
6802 enableval=$enable_largefile;
6805 if test "$enable_largefile" != no; then
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6808 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6809 if ${ac_cv_sys_largefile_CC+:} false; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6812 ac_cv_sys_largefile_CC=no
6813 if test "$GCC" != yes; then
6814 ac_save_CC=$CC
6815 while :; do
6816 # IRIX 6.2 and later do not support large files by default,
6817 # so use the C compiler's -n32 option if that helps.
6818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6819 /* end confdefs.h. */
6820 #include <sys/types.h>
6821 /* Check that off_t can represent 2**63 - 1 correctly.
6822 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6823 since some C++ compilers masquerading as C compilers
6824 incorrectly reject 9223372036854775807. */
6825 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6826 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6827 && LARGE_OFF_T % 2147483647 == 1)
6828 ? 1 : -1];
6830 main ()
6834 return 0;
6836 _ACEOF
6837 if ac_fn_c_try_compile "$LINENO"; then :
6838 break
6840 rm -f core conftest.err conftest.$ac_objext
6841 CC="$CC -n32"
6842 if ac_fn_c_try_compile "$LINENO"; then :
6843 ac_cv_sys_largefile_CC=' -n32'; break
6845 rm -f core conftest.err conftest.$ac_objext
6846 break
6847 done
6848 CC=$ac_save_CC
6849 rm -f conftest.$ac_ext
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6853 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6854 if test "$ac_cv_sys_largefile_CC" != no; then
6855 CC=$CC$ac_cv_sys_largefile_CC
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6859 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6860 if ${ac_cv_sys_file_offset_bits+:} false; then :
6861 $as_echo_n "(cached) " >&6
6862 else
6863 while :; do
6864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6865 /* end confdefs.h. */
6866 #include <sys/types.h>
6867 /* Check that off_t can represent 2**63 - 1 correctly.
6868 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6869 since some C++ compilers masquerading as C compilers
6870 incorrectly reject 9223372036854775807. */
6871 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6872 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6873 && LARGE_OFF_T % 2147483647 == 1)
6874 ? 1 : -1];
6876 main ()
6880 return 0;
6882 _ACEOF
6883 if ac_fn_c_try_compile "$LINENO"; then :
6884 ac_cv_sys_file_offset_bits=no; break
6886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6888 /* end confdefs.h. */
6889 #define _FILE_OFFSET_BITS 64
6890 #include <sys/types.h>
6891 /* Check that off_t can represent 2**63 - 1 correctly.
6892 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6893 since some C++ compilers masquerading as C compilers
6894 incorrectly reject 9223372036854775807. */
6895 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6896 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6897 && LARGE_OFF_T % 2147483647 == 1)
6898 ? 1 : -1];
6900 main ()
6904 return 0;
6906 _ACEOF
6907 if ac_fn_c_try_compile "$LINENO"; then :
6908 ac_cv_sys_file_offset_bits=64; break
6910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911 ac_cv_sys_file_offset_bits=unknown
6912 break
6913 done
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6916 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6917 case $ac_cv_sys_file_offset_bits in #(
6918 no | unknown) ;;
6920 cat >>confdefs.h <<_ACEOF
6921 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6922 _ACEOF
6924 esac
6925 rm -rf conftest*
6926 if test $ac_cv_sys_file_offset_bits = unknown; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6928 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6929 if ${ac_cv_sys_large_files+:} false; then :
6930 $as_echo_n "(cached) " >&6
6931 else
6932 while :; do
6933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6934 /* end confdefs.h. */
6935 #include <sys/types.h>
6936 /* Check that off_t can represent 2**63 - 1 correctly.
6937 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6938 since some C++ compilers masquerading as C compilers
6939 incorrectly reject 9223372036854775807. */
6940 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6941 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6942 && LARGE_OFF_T % 2147483647 == 1)
6943 ? 1 : -1];
6945 main ()
6949 return 0;
6951 _ACEOF
6952 if ac_fn_c_try_compile "$LINENO"; then :
6953 ac_cv_sys_large_files=no; break
6955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6958 #define _LARGE_FILES 1
6959 #include <sys/types.h>
6960 /* Check that off_t can represent 2**63 - 1 correctly.
6961 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6962 since some C++ compilers masquerading as C compilers
6963 incorrectly reject 9223372036854775807. */
6964 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6965 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6966 && LARGE_OFF_T % 2147483647 == 1)
6967 ? 1 : -1];
6969 main ()
6973 return 0;
6975 _ACEOF
6976 if ac_fn_c_try_compile "$LINENO"; then :
6977 ac_cv_sys_large_files=1; break
6979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6980 ac_cv_sys_large_files=unknown
6981 break
6982 done
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6985 $as_echo "$ac_cv_sys_large_files" >&6; }
6986 case $ac_cv_sys_large_files in #(
6987 no | unknown) ;;
6989 cat >>confdefs.h <<_ACEOF
6990 #define _LARGE_FILES $ac_cv_sys_large_files
6991 _ACEOF
6993 esac
6994 rm -rf conftest*
7001 ac_ext=c
7002 ac_cpp='$CPP $CPPFLAGS'
7003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7007 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7008 # On Suns, sometimes $CPP names a directory.
7009 if test -n "$CPP" && test -d "$CPP"; then
7010 CPP=
7012 if test -z "$CPP"; then
7013 if ${ac_cv_prog_CPP+:} false; then :
7014 $as_echo_n "(cached) " >&6
7015 else
7016 # Double quotes because CPP needs to be expanded
7017 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7019 ac_preproc_ok=false
7020 for ac_c_preproc_warn_flag in '' yes
7022 # Use a header file that comes with gcc, so configuring glibc
7023 # with a fresh cross-compiler works.
7024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7025 # <limits.h> exists even on freestanding compilers.
7026 # On the NeXT, cc -E runs the code through the compiler's parser,
7027 # not just through cpp. "Syntax error" is here to catch this case.
7028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7029 /* end confdefs.h. */
7030 #ifdef __STDC__
7031 # include <limits.h>
7032 #else
7033 # include <assert.h>
7034 #endif
7035 Syntax error
7036 _ACEOF
7037 if ac_fn_c_try_cpp "$LINENO"; then :
7039 else
7040 # Broken: fails on valid input.
7041 continue
7043 rm -f conftest.err conftest.i conftest.$ac_ext
7045 # OK, works on sane cases. Now check whether nonexistent headers
7046 # can be detected and how.
7047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h. */
7049 #include <ac_nonexistent.h>
7050 _ACEOF
7051 if ac_fn_c_try_cpp "$LINENO"; then :
7052 # Broken: success on invalid input.
7053 continue
7054 else
7055 # Passes both tests.
7056 ac_preproc_ok=:
7057 break
7059 rm -f conftest.err conftest.i conftest.$ac_ext
7061 done
7062 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7063 rm -f conftest.i conftest.err conftest.$ac_ext
7064 if $ac_preproc_ok; then :
7065 break
7068 done
7069 ac_cv_prog_CPP=$CPP
7072 CPP=$ac_cv_prog_CPP
7073 else
7074 ac_cv_prog_CPP=$CPP
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7077 $as_echo "$CPP" >&6; }
7078 ac_preproc_ok=false
7079 for ac_c_preproc_warn_flag in '' yes
7081 # Use a header file that comes with gcc, so configuring glibc
7082 # with a fresh cross-compiler works.
7083 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7084 # <limits.h> exists even on freestanding compilers.
7085 # On the NeXT, cc -E runs the code through the compiler's parser,
7086 # not just through cpp. "Syntax error" is here to catch this case.
7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7089 #ifdef __STDC__
7090 # include <limits.h>
7091 #else
7092 # include <assert.h>
7093 #endif
7094 Syntax error
7095 _ACEOF
7096 if ac_fn_c_try_cpp "$LINENO"; then :
7098 else
7099 # Broken: fails on valid input.
7100 continue
7102 rm -f conftest.err conftest.i conftest.$ac_ext
7104 # OK, works on sane cases. Now check whether nonexistent headers
7105 # can be detected and how.
7106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7107 /* end confdefs.h. */
7108 #include <ac_nonexistent.h>
7109 _ACEOF
7110 if ac_fn_c_try_cpp "$LINENO"; then :
7111 # Broken: success on invalid input.
7112 continue
7113 else
7114 # Passes both tests.
7115 ac_preproc_ok=:
7116 break
7118 rm -f conftest.err conftest.i conftest.$ac_ext
7120 done
7121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7122 rm -f conftest.i conftest.err conftest.$ac_ext
7123 if $ac_preproc_ok; then :
7125 else
7126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7128 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7129 See \`config.log' for more details" "$LINENO" 5; }
7132 ac_ext=c
7133 ac_cpp='$CPP $CPPFLAGS'
7134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7140 $as_echo_n "checking for ANSI C header files... " >&6; }
7141 if ${ac_cv_header_stdc+:} false; then :
7142 $as_echo_n "(cached) " >&6
7143 else
7144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7146 #include <stdlib.h>
7147 #include <stdarg.h>
7148 #include <string.h>
7149 #include <float.h>
7152 main ()
7156 return 0;
7158 _ACEOF
7159 if ac_fn_c_try_compile "$LINENO"; then :
7160 ac_cv_header_stdc=yes
7161 else
7162 ac_cv_header_stdc=no
7164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7166 if test $ac_cv_header_stdc = yes; then
7167 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7170 #include <string.h>
7172 _ACEOF
7173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7174 $EGREP "memchr" >/dev/null 2>&1; then :
7176 else
7177 ac_cv_header_stdc=no
7179 rm -f conftest*
7183 if test $ac_cv_header_stdc = yes; then
7184 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7186 /* end confdefs.h. */
7187 #include <stdlib.h>
7189 _ACEOF
7190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7191 $EGREP "free" >/dev/null 2>&1; then :
7193 else
7194 ac_cv_header_stdc=no
7196 rm -f conftest*
7200 if test $ac_cv_header_stdc = yes; then
7201 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7202 if test "$cross_compiling" = yes; then :
7204 else
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7207 #include <ctype.h>
7208 #include <stdlib.h>
7209 #if ((' ' & 0x0FF) == 0x020)
7210 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7211 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7212 #else
7213 # define ISLOWER(c) \
7214 (('a' <= (c) && (c) <= 'i') \
7215 || ('j' <= (c) && (c) <= 'r') \
7216 || ('s' <= (c) && (c) <= 'z'))
7217 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7218 #endif
7220 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7222 main ()
7224 int i;
7225 for (i = 0; i < 256; i++)
7226 if (XOR (islower (i), ISLOWER (i))
7227 || toupper (i) != TOUPPER (i))
7228 return 2;
7229 return 0;
7231 _ACEOF
7232 if ac_fn_c_try_run "$LINENO"; then :
7234 else
7235 ac_cv_header_stdc=no
7237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7238 conftest.$ac_objext conftest.beam conftest.$ac_ext
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7244 $as_echo "$ac_cv_header_stdc" >&6; }
7245 if test $ac_cv_header_stdc = yes; then
7247 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7251 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7252 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7253 inttypes.h stdint.h unistd.h
7254 do :
7255 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7256 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7258 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7259 cat >>confdefs.h <<_ACEOF
7260 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7261 _ACEOF
7265 done
7268 for ac_header in \
7269 AL/al.h \
7270 ApplicationServices/ApplicationServices.h \
7271 AudioToolbox/AudioConverter.h \
7272 AudioUnit/AudioUnit.h \
7273 AudioUnit/AudioComponent.h \
7274 CL/cl.h \
7275 Carbon/Carbon.h \
7276 CommonCrypto/CommonCryptor.h \
7277 CoreAudio/CoreAudio.h \
7278 CoreServices/CoreServices.h \
7279 DiskArbitration/DiskArbitration.h \
7280 EGL/egl.h \
7281 IOKit/IOKitLib.h \
7282 IOKit/hid/IOHIDLib.h \
7283 OpenAL/al.h \
7284 OpenCL/opencl.h \
7285 QuickTime/ImageCompression.h \
7286 Security/Security.h \
7287 alias.h \
7288 alsa/asoundlib.h \
7289 arpa/inet.h \
7290 arpa/nameser.h \
7291 asm/types.h \
7292 asm/user.h \
7293 curses.h \
7294 direct.h \
7295 dirent.h \
7296 dlfcn.h \
7297 elf.h \
7298 float.h \
7299 fnmatch.h \
7300 getopt.h \
7301 gettext-po.h \
7302 grp.h \
7303 gsm.h \
7304 gsm/gsm.h \
7305 ieeefp.h \
7306 inet/mib2.h \
7307 io.h \
7308 kstat.h \
7309 libproc.h \
7310 link.h \
7311 linux/cdrom.h \
7312 linux/compiler.h \
7313 linux/filter.h \
7314 linux/hdreg.h \
7315 linux/hidraw.h \
7316 linux/input.h \
7317 linux/ioctl.h \
7318 linux/joystick.h \
7319 linux/major.h \
7320 linux/param.h \
7321 linux/serial.h \
7322 linux/types.h \
7323 linux/ucdrom.h \
7324 lwp.h \
7325 mach-o/nlist.h \
7326 mach-o/loader.h \
7327 mach/mach.h \
7328 mach/machine.h \
7329 machine/cpu.h \
7330 machine/limits.h \
7331 machine/sysarch.h \
7332 mntent.h \
7333 ncurses.h \
7334 netdb.h \
7335 netinet/in.h \
7336 netinet/in_systm.h \
7337 netinet/tcp.h \
7338 netinet/tcp_fsm.h \
7339 pcap/pcap.h \
7340 poll.h \
7341 port.h \
7342 process.h \
7343 pthread.h \
7344 pwd.h \
7345 sched.h \
7346 scsi/scsi.h \
7347 scsi/scsi_ioctl.h \
7348 scsi/sg.h \
7349 stdbool.h \
7350 stdint.h \
7351 stropts.h \
7352 sys/asoundlib.h \
7353 sys/attr.h \
7354 sys/auxv.h \
7355 sys/cdio.h \
7356 sys/elf32.h \
7357 sys/epoll.h \
7358 sys/event.h \
7359 sys/exec_elf.h \
7360 sys/filio.h \
7361 sys/inotify.h \
7362 sys/ioctl.h \
7363 sys/ipc.h \
7364 sys/limits.h \
7365 sys/link.h \
7366 sys/mman.h \
7367 sys/modem.h \
7368 sys/msg.h \
7369 sys/mtio.h \
7370 sys/param.h \
7371 sys/poll.h \
7372 sys/prctl.h \
7373 sys/protosw.h \
7374 sys/ptrace.h \
7375 sys/queue.h \
7376 sys/resource.h \
7377 sys/scsiio.h \
7378 sys/shm.h \
7379 sys/signal.h \
7380 sys/socket.h \
7381 sys/socketvar.h \
7382 sys/sockio.h \
7383 sys/statvfs.h \
7384 sys/strtio.h \
7385 sys/syscall.h \
7386 sys/sysinfo.h \
7387 sys/tihdr.h \
7388 sys/time.h \
7389 sys/timeout.h \
7390 sys/times.h \
7391 sys/uio.h \
7392 sys/user.h \
7393 sys/utsname.h \
7394 sys/vnode.h \
7395 sys/wait.h \
7396 syscall.h \
7397 termios.h \
7398 unistd.h \
7399 utime.h \
7400 valgrind/memcheck.h \
7401 valgrind/valgrind.h \
7402 zlib.h
7404 do :
7405 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7407 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7408 cat >>confdefs.h <<_ACEOF
7409 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7410 _ACEOF
7414 done
7416 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7417 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7419 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7424 if test $ac_cv_header_sys_mkdev_h = no; then
7425 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7426 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7428 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7435 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7436 if ${ac_cv_header_stat_broken+:} false; then :
7437 $as_echo_n "(cached) " >&6
7438 else
7439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7440 /* end confdefs.h. */
7441 #include <sys/types.h>
7442 #include <sys/stat.h>
7444 #if defined S_ISBLK && defined S_IFDIR
7445 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7446 #endif
7448 #if defined S_ISBLK && defined S_IFCHR
7449 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7450 #endif
7452 #if defined S_ISLNK && defined S_IFREG
7453 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7454 #endif
7456 #if defined S_ISSOCK && defined S_IFREG
7457 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7458 #endif
7460 _ACEOF
7461 if ac_fn_c_try_compile "$LINENO"; then :
7462 ac_cv_header_stat_broken=no
7463 else
7464 ac_cv_header_stat_broken=yes
7466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7469 $as_echo "$ac_cv_header_stat_broken" >&6; }
7470 if test $ac_cv_header_stat_broken = yes; then
7472 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7478 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7479 do :
7480 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7481 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7482 #ifdef HAVE_SYS_PARAM_H
7483 # include <sys/param.h>
7484 #endif
7486 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7487 cat >>confdefs.h <<_ACEOF
7488 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7489 _ACEOF
7493 done
7496 for ac_header in \
7497 netinet/ip.h \
7498 net/if.h \
7499 net/if_arp.h \
7500 net/if_dl.h \
7501 net/if_types.h \
7502 net/route.h \
7503 netinet/if_ether.h \
7504 netinet/if_inarp.h \
7505 netinet/in_pcb.h \
7506 netinet/ip_icmp.h \
7507 netinet/ip_var.h \
7508 netinet/udp.h \
7509 netipx/ipx.h \
7510 sys/un.h \
7512 do :
7513 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7514 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7515 #ifdef HAVE_SYS_SOCKET_H
7516 # include <sys/socket.h>
7517 #endif
7518 #ifdef HAVE_SYS_SOCKETVAR_H
7519 # include <sys/socketvar.h>
7520 #endif
7521 #ifdef HAVE_NET_ROUTE_H
7522 # include <net/route.h>
7523 #endif
7524 #ifdef HAVE_NETINET_IN_H
7525 # include <netinet/in.h>
7526 #endif
7527 #ifdef HAVE_NETINET_IN_SYSTM_H
7528 # include <netinet/in_systm.h>
7529 #endif
7530 #ifdef HAVE_NET_IF_H
7531 # include <net/if.h>
7532 #endif
7533 #ifdef HAVE_NETINET_IP_H
7534 # include <netinet/ip.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 netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7548 do :
7549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7550 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7551 #ifdef HAVE_ALIAS_H
7552 # include <alias.h>
7553 #endif
7554 #ifdef HAVE_SYS_SOCKET_H
7555 # include <sys/socket.h>
7556 #endif
7557 #ifdef HAVE_SYS_SOCKETVAR_H
7558 # include <sys/socketvar.h>
7559 #endif
7560 #ifdef HAVE_SYS_TIMEOUT_H
7561 # include <sys/timeout.h>
7562 #endif
7563 #ifdef HAVE_NETINET_IN_H
7564 # include <netinet/in.h>
7565 #endif
7566 #ifdef HAVE_NETINET_IN_SYSTM_H
7567 # include <netinet/in_systm.h>
7568 #endif
7569 #ifdef HAVE_NETINET_IP_H
7570 # include <netinet/ip.h>
7571 #endif
7572 #ifdef HAVE_NETINET_IP_VAR_H
7573 # include <netinet/ip_var.h>
7574 #endif
7575 #ifdef HAVE_NETINET_IP_ICMP_H
7576 # include <netinet/ip_icmp.h>
7577 #endif
7578 #ifdef HAVE_NETINET_UDP_H
7579 # include <netinet/udp.h>
7580 #endif
7581 #ifdef HAVE_NETINET_TCP_H
7582 # include <netinet/tcp.h>
7583 #endif
7584 #ifdef HAVE_NETINET_TCP_TIMER_H
7585 #include <netinet/tcp_timer.h>
7586 #endif
7588 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7589 cat >>confdefs.h <<_ACEOF
7590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7591 _ACEOF
7595 done
7598 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7599 do :
7600 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7601 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7602 #ifdef HAVE_ASM_TYPES_H
7603 # include <asm/types.h>
7604 #endif
7605 #ifdef HAVE_SYS_SOCKET_H
7606 # include <sys/socket.h>
7607 #endif
7608 #ifdef HAVE_LINUX_TYPES_H
7609 # include <linux/types.h>
7610 #endif
7612 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7613 cat >>confdefs.h <<_ACEOF
7614 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7615 _ACEOF
7619 done
7622 for ac_header in mach-o/dyld_images.h
7623 do :
7624 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7625 # include <stdbool.h>
7626 #endif
7627 #ifdef HAVE_STDINT_H
7628 # include <stdint.h>
7629 #endif
7631 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7632 cat >>confdefs.h <<_ACEOF
7633 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7634 _ACEOF
7638 done
7641 for ac_header in resolv.h
7642 do :
7643 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7644 #ifdef HAVE_SYS_SOCKET_H
7645 # include <sys/socket.h>
7646 #endif
7647 #ifdef HAVE_NETINET_IN_H
7648 # include <netinet/in.h>
7649 #endif
7650 #ifdef HAVE_ARPA_NAMESER_H
7651 # include <arpa/nameser.h>
7652 #endif
7654 if test "x$ac_cv_header_resolv_h" = xyes; then :
7655 cat >>confdefs.h <<_ACEOF
7656 #define HAVE_RESOLV_H 1
7657 _ACEOF
7661 done
7664 for ac_header in ifaddrs.h
7665 do :
7666 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7668 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7669 cat >>confdefs.h <<_ACEOF
7670 #define HAVE_IFADDRS_H 1
7671 _ACEOF
7675 done
7678 for ac_header in sys/ucontext.h
7679 do :
7680 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7682 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7683 cat >>confdefs.h <<_ACEOF
7684 #define HAVE_SYS_UCONTEXT_H 1
7685 _ACEOF
7689 done
7692 for ac_header in sys/thr.h
7693 do :
7694 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7695 #ifdef HAVE_SYS_UCONTEXT_H
7696 #include <sys/ucontext.h>
7697 #endif
7699 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7700 cat >>confdefs.h <<_ACEOF
7701 #define HAVE_SYS_THR_H 1
7702 _ACEOF
7706 done
7709 for ac_header in pthread_np.h
7710 do :
7711 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7712 #include <pthread.h>
7713 #endif
7715 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7716 cat >>confdefs.h <<_ACEOF
7717 #define HAVE_PTHREAD_NP_H 1
7718 _ACEOF
7722 done
7725 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7726 do :
7727 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7728 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7729 #include <sys/time.h>
7730 #endif
7731 #include <sys/types.h>
7732 #ifdef HAVE_ASM_TYPES_H
7733 #include <asm/types.h>
7734 #endif
7736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7737 cat >>confdefs.h <<_ACEOF
7738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7739 _ACEOF
7743 done
7746 for ac_header in libprocstat.h
7747 do :
7748 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7749 #include <sys/param.h>
7750 #endif
7751 #ifdef HAVE_SYS_QUEUE_H
7752 #include <sys/queue.h>
7753 #endif
7754 #ifdef HAVE_SYS_SOCKET_H
7755 #include <sys/socket.h>
7756 #endif
7758 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7759 cat >>confdefs.h <<_ACEOF
7760 #define HAVE_LIBPROCSTAT_H 1
7761 _ACEOF
7765 done
7769 DLLFLAGS="-D_REENTRANT"
7771 LDRPATH_INSTALL=""
7773 LDRPATH_LOCAL=""
7775 LDEXECFLAGS=""
7777 WINELOADER_LDFLAGS=""
7779 LIBEXT="so"
7780 DLLEXT=".so"
7781 IMPLIBEXT="def"
7782 # Extract the first word of "ldd", so it can be a program name with args.
7783 set dummy ldd; ac_word=$2
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7785 $as_echo_n "checking for $ac_word... " >&6; }
7786 if ${ac_cv_path_LDD+:} false; then :
7787 $as_echo_n "(cached) " >&6
7788 else
7789 case $LDD in
7790 [\\/]* | ?:[\\/]*)
7791 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7795 as_dummy="/sbin:/usr/sbin:$PATH"
7796 for as_dir in $as_dummy
7798 IFS=$as_save_IFS
7799 test -z "$as_dir" && as_dir=.
7800 for ac_exec_ext in '' $ac_executable_extensions; do
7801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7802 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7804 break 2
7806 done
7807 done
7808 IFS=$as_save_IFS
7810 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7812 esac
7814 LDD=$ac_cv_path_LDD
7815 if test -n "$LDD"; then
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7817 $as_echo "$LDD" >&6; }
7818 else
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7820 $as_echo "no" >&6; }
7824 if test -n "$ac_tool_prefix"; then
7825 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7826 set dummy ${ac_tool_prefix}otool; ac_word=$2
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7828 $as_echo_n "checking for $ac_word... " >&6; }
7829 if ${ac_cv_prog_OTOOL+:} false; then :
7830 $as_echo_n "(cached) " >&6
7831 else
7832 if test -n "$OTOOL"; then
7833 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7834 else
7835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7836 for as_dir in $PATH
7838 IFS=$as_save_IFS
7839 test -z "$as_dir" && as_dir=.
7840 for ac_exec_ext in '' $ac_executable_extensions; do
7841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7842 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7844 break 2
7846 done
7847 done
7848 IFS=$as_save_IFS
7852 OTOOL=$ac_cv_prog_OTOOL
7853 if test -n "$OTOOL"; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7855 $as_echo "$OTOOL" >&6; }
7856 else
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7858 $as_echo "no" >&6; }
7863 if test -z "$ac_cv_prog_OTOOL"; then
7864 ac_ct_OTOOL=$OTOOL
7865 # Extract the first word of "otool", so it can be a program name with args.
7866 set dummy otool; ac_word=$2
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7868 $as_echo_n "checking for $ac_word... " >&6; }
7869 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7870 $as_echo_n "(cached) " >&6
7871 else
7872 if test -n "$ac_ct_OTOOL"; then
7873 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7874 else
7875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7876 for as_dir in $PATH
7878 IFS=$as_save_IFS
7879 test -z "$as_dir" && as_dir=.
7880 for ac_exec_ext in '' $ac_executable_extensions; do
7881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7882 ac_cv_prog_ac_ct_OTOOL="otool"
7883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7884 break 2
7886 done
7887 done
7888 IFS=$as_save_IFS
7892 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7893 if test -n "$ac_ct_OTOOL"; then
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7895 $as_echo "$ac_ct_OTOOL" >&6; }
7896 else
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7898 $as_echo "no" >&6; }
7901 if test "x$ac_ct_OTOOL" = x; then
7902 OTOOL="otool"
7903 else
7904 case $cross_compiling:$ac_tool_warned in
7905 yes:)
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7908 ac_tool_warned=yes ;;
7909 esac
7910 OTOOL=$ac_ct_OTOOL
7912 else
7913 OTOOL="$ac_cv_prog_OTOOL"
7916 if test -n "$ac_tool_prefix"; then
7917 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7918 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if ${ac_cv_prog_READELF+:} false; then :
7922 $as_echo_n "(cached) " >&6
7923 else
7924 if test -n "$READELF"; then
7925 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7926 else
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 for as_dir in $PATH
7930 IFS=$as_save_IFS
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 break 2
7938 done
7939 done
7940 IFS=$as_save_IFS
7944 READELF=$ac_cv_prog_READELF
7945 if test -n "$READELF"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7947 $as_echo "$READELF" >&6; }
7948 else
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7955 if test -z "$ac_cv_prog_READELF"; then
7956 ac_ct_READELF=$READELF
7957 # Extract the first word of "readelf", so it can be a program name with args.
7958 set dummy readelf; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7960 $as_echo_n "checking for $ac_word... " >&6; }
7961 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7962 $as_echo_n "(cached) " >&6
7963 else
7964 if test -n "$ac_ct_READELF"; then
7965 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7966 else
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 for as_dir in $PATH
7970 IFS=$as_save_IFS
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_ac_ct_READELF="readelf"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 break 2
7978 done
7979 done
7980 IFS=$as_save_IFS
7984 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7985 if test -n "$ac_ct_READELF"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7987 $as_echo "$ac_ct_READELF" >&6; }
7988 else
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7993 if test "x$ac_ct_READELF" = x; then
7994 READELF="true"
7995 else
7996 case $cross_compiling:$ac_tool_warned in
7997 yes:)
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8000 ac_tool_warned=yes ;;
8001 esac
8002 READELF=$ac_ct_READELF
8004 else
8005 READELF="$ac_cv_prog_READELF"
8008 wine_rules_file=conf$$rules.make
8009 rm -f $wine_rules_file
8010 SUBDIRS=""
8012 DISABLED_SUBDIRS=""
8014 CONFIGURE_TARGETS=""
8017 wine_fn_append_file ()
8019 as_fn_append $1 " \\$as_nl $2"
8022 wine_fn_append_rule ()
8024 $as_echo "$1" >>$wine_rules_file
8027 wine_fn_config_makefile ()
8029 wine_fn_append_file SUBDIRS $1
8030 if eval test \"x\$"$2"\" = x"no"; then :
8031 wine_fn_append_file DISABLED_SUBDIRS $1
8035 wine_fn_config_symlink ()
8037 ac_links=$@
8038 wine_fn_append_rule \
8039 "$ac_links:
8040 @./config.status \$@"
8041 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8044 wine_binary="wine"
8045 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8046 WINELOADER_PROGRAMS="$wine_binary"
8048 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8050 case $host_os in
8051 cygwin*|mingw32*)
8052 if test -n "$ac_tool_prefix"; then
8053 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8054 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8056 $as_echo_n "checking for $ac_word... " >&6; }
8057 if ${ac_cv_prog_DLLTOOL+:} false; then :
8058 $as_echo_n "(cached) " >&6
8059 else
8060 if test -n "$DLLTOOL"; then
8061 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8062 else
8063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8064 for as_dir in $PATH
8066 IFS=$as_save_IFS
8067 test -z "$as_dir" && as_dir=.
8068 for ac_exec_ext in '' $ac_executable_extensions; do
8069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8070 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8072 break 2
8074 done
8075 done
8076 IFS=$as_save_IFS
8080 DLLTOOL=$ac_cv_prog_DLLTOOL
8081 if test -n "$DLLTOOL"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8083 $as_echo "$DLLTOOL" >&6; }
8084 else
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8086 $as_echo "no" >&6; }
8091 if test -z "$ac_cv_prog_DLLTOOL"; then
8092 ac_ct_DLLTOOL=$DLLTOOL
8093 # Extract the first word of "dlltool", so it can be a program name with args.
8094 set dummy dlltool; ac_word=$2
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8096 $as_echo_n "checking for $ac_word... " >&6; }
8097 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8098 $as_echo_n "(cached) " >&6
8099 else
8100 if test -n "$ac_ct_DLLTOOL"; then
8101 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8102 else
8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104 for as_dir in $PATH
8106 IFS=$as_save_IFS
8107 test -z "$as_dir" && as_dir=.
8108 for ac_exec_ext in '' $ac_executable_extensions; do
8109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8110 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8112 break 2
8114 done
8115 done
8116 IFS=$as_save_IFS
8120 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8121 if test -n "$ac_ct_DLLTOOL"; then
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8123 $as_echo "$ac_ct_DLLTOOL" >&6; }
8124 else
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8126 $as_echo "no" >&6; }
8129 if test "x$ac_ct_DLLTOOL" = x; then
8130 DLLTOOL="false"
8131 else
8132 case $cross_compiling:$ac_tool_warned in
8133 yes:)
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8136 ac_tool_warned=yes ;;
8137 esac
8138 DLLTOOL=$ac_ct_DLLTOOL
8140 else
8141 DLLTOOL="$ac_cv_prog_DLLTOOL"
8144 LIBEXT="dll"
8145 DLLEXT=""
8146 IMPLIBEXT="a"
8147 enable_iphlpapi=${enable_iphlpapi:-no}
8148 enable_kernel32=${enable_kernel32:-no}
8149 enable_msvcrt=${enable_msvcrt:-no}
8150 enable_ntdll=${enable_ntdll:-no}
8151 enable_ws2_32=${enable_ws2_32:-no}
8152 enable_loader=${enable_loader:-no}
8153 enable_server=${enable_server:-no}
8154 with_x=${with_x:-no}
8155 with_pthread=${with_pthread:-no}
8157 crtlibs=""
8158 case $host_os in
8159 mingw32*)
8160 crtlibs="-lmsvcrt" ;;
8161 esac
8163 LIBWINE_SHAREDLIB="libwine.dll"
8165 LIBWINE_IMPORTLIB="libwine.a"
8167 LIBWINE_INSTALL_LIB="libwine.dll"
8169 LIBWINE_INSTALL_DEV="libwine.a"
8171 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8173 LIBWINE_DEPENDS="wine.def"
8177 darwin*|macosx*)
8178 for ac_header in libunwind.h
8179 do :
8180 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8182 cat >>confdefs.h <<_ACEOF
8183 #define HAVE_LIBUNWIND_H 1
8184 _ACEOF
8188 done
8190 ac_ext=m
8191 ac_cpp='$OBJCPP $CPPFLAGS'
8192 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8193 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8194 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8196 ac_ext=m
8197 ac_cpp='$OBJCPP $CPPFLAGS'
8198 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8199 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8200 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8201 if test -n "$ac_tool_prefix"; then
8202 for ac_prog in gcc objcc objc cc CC
8204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8207 $as_echo_n "checking for $ac_word... " >&6; }
8208 if ${ac_cv_prog_OBJC+:} false; then :
8209 $as_echo_n "(cached) " >&6
8210 else
8211 if test -n "$OBJC"; then
8212 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8213 else
8214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8215 for as_dir in $PATH
8217 IFS=$as_save_IFS
8218 test -z "$as_dir" && as_dir=.
8219 for ac_exec_ext in '' $ac_executable_extensions; do
8220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8221 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8223 break 2
8225 done
8226 done
8227 IFS=$as_save_IFS
8231 OBJC=$ac_cv_prog_OBJC
8232 if test -n "$OBJC"; then
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8234 $as_echo "$OBJC" >&6; }
8235 else
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8237 $as_echo "no" >&6; }
8241 test -n "$OBJC" && break
8242 done
8244 if test -z "$OBJC"; then
8245 ac_ct_OBJC=$OBJC
8246 for ac_prog in gcc objcc objc cc CC
8248 # Extract the first word of "$ac_prog", so it can be a program name with args.
8249 set dummy $ac_prog; ac_word=$2
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8251 $as_echo_n "checking for $ac_word... " >&6; }
8252 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 if test -n "$ac_ct_OBJC"; then
8256 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8257 else
8258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8259 for as_dir in $PATH
8261 IFS=$as_save_IFS
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8265 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8267 break 2
8269 done
8270 done
8271 IFS=$as_save_IFS
8275 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8276 if test -n "$ac_ct_OBJC"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8278 $as_echo "$ac_ct_OBJC" >&6; }
8279 else
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281 $as_echo "no" >&6; }
8285 test -n "$ac_ct_OBJC" && break
8286 done
8288 if test "x$ac_ct_OBJC" = x; then
8289 OBJC="gcc"
8290 else
8291 case $cross_compiling:$ac_tool_warned in
8292 yes:)
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8295 ac_tool_warned=yes ;;
8296 esac
8297 OBJC=$ac_ct_OBJC
8301 # Provide some information about the compiler.
8302 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8303 set X $ac_compile
8304 ac_compiler=$2
8305 for ac_option in --version -v -V -qversion; do
8306 { { ac_try="$ac_compiler $ac_option >&5"
8307 case "(($ac_try" in
8308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8309 *) ac_try_echo=$ac_try;;
8310 esac
8311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8312 $as_echo "$ac_try_echo"; } >&5
8313 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8314 ac_status=$?
8315 if test -s conftest.err; then
8316 sed '10a\
8317 ... rest of stderr output deleted ...
8318 10q' conftest.err >conftest.er1
8319 cat conftest.er1 >&5
8321 rm -f conftest.er1 conftest.err
8322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8323 test $ac_status = 0; }
8324 done
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8327 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8328 if ${ac_cv_objc_compiler_gnu+:} false; then :
8329 $as_echo_n "(cached) " >&6
8330 else
8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8335 main ()
8337 #ifndef __GNUC__
8338 choke me
8339 #endif
8342 return 0;
8344 _ACEOF
8345 if ac_fn_objc_try_compile "$LINENO"; then :
8346 ac_compiler_gnu=yes
8347 else
8348 ac_compiler_gnu=no
8350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8351 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8355 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8356 if test $ac_compiler_gnu = yes; then
8357 GOBJC=yes
8358 else
8359 GOBJC=
8361 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8362 ac_save_OBJCFLAGS=$OBJCFLAGS
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8364 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8365 if ${ac_cv_prog_objc_g+:} false; then :
8366 $as_echo_n "(cached) " >&6
8367 else
8368 ac_save_objc_werror_flag=$ac_objc_werror_flag
8369 ac_objc_werror_flag=yes
8370 ac_cv_prog_objc_g=no
8371 OBJCFLAGS="-g"
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8376 main ()
8380 return 0;
8382 _ACEOF
8383 if ac_fn_objc_try_compile "$LINENO"; then :
8384 ac_cv_prog_objc_g=yes
8385 else
8386 OBJCFLAGS=""
8387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8388 /* end confdefs.h. */
8391 main ()
8395 return 0;
8397 _ACEOF
8398 if ac_fn_objc_try_compile "$LINENO"; then :
8400 else
8401 ac_objc_werror_flag=$ac_save_objc_werror_flag
8402 OBJCFLAGS="-g"
8403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8407 main ()
8411 return 0;
8413 _ACEOF
8414 if ac_fn_objc_try_compile "$LINENO"; then :
8415 ac_cv_prog_objc_g=yes
8417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8422 ac_objc_werror_flag=$ac_save_objc_werror_flag
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8425 $as_echo "$ac_cv_prog_objc_g" >&6; }
8426 if test "$ac_test_OBJCFLAGS" = set; then
8427 OBJCFLAGS=$ac_save_OBJCFLAGS
8428 elif test $ac_cv_prog_objc_g = yes; then
8429 if test "$GOBJC" = yes; then
8430 OBJCFLAGS="-g -O2"
8431 else
8432 OBJCFLAGS="-g"
8434 else
8435 if test "$GOBJC" = yes; then
8436 OBJCFLAGS="-O2"
8437 else
8438 OBJCFLAGS=
8441 ac_ext=m
8442 ac_cpp='$OBJCPP $CPPFLAGS'
8443 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8444 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8445 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8448 ac_ext=m
8449 ac_cpp='$OBJCPP $CPPFLAGS'
8450 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8451 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8452 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8454 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8455 if test -z "$OBJCPP"; then
8456 if ${ac_cv_prog_OBJCPP+:} false; then :
8457 $as_echo_n "(cached) " >&6
8458 else
8459 # Double quotes because OBJCPP needs to be expanded
8460 for OBJCPP in "$OBJC -E" "/lib/cpp"
8462 ac_preproc_ok=false
8463 for ac_objc_preproc_warn_flag in '' yes
8465 # Use a header file that comes with gcc, so configuring glibc
8466 # with a fresh cross-compiler works.
8467 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8468 # <limits.h> exists even on freestanding compilers.
8469 # On the NeXT, cc -E runs the code through the compiler's parser,
8470 # not just through cpp. "Syntax error" is here to catch this case.
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8473 #ifdef __STDC__
8474 # include <limits.h>
8475 #else
8476 # include <assert.h>
8477 #endif
8478 Syntax error
8479 _ACEOF
8480 if ac_fn_objc_try_cpp "$LINENO"; then :
8482 else
8483 # Broken: fails on valid input.
8484 continue
8486 rm -f conftest.err conftest.i conftest.$ac_ext
8488 # OK, works on sane cases. Now check whether nonexistent headers
8489 # can be detected and how.
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8492 #include <ac_nonexistent.h>
8493 _ACEOF
8494 if ac_fn_objc_try_cpp "$LINENO"; then :
8495 # Broken: success on invalid input.
8496 continue
8497 else
8498 # Passes both tests.
8499 ac_preproc_ok=:
8500 break
8502 rm -f conftest.err conftest.i conftest.$ac_ext
8504 done
8505 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8506 rm -f conftest.i conftest.err conftest.$ac_ext
8507 if $ac_preproc_ok; then :
8508 break
8511 done
8512 ac_cv_prog_OBJCPP=$OBJCPP
8515 OBJCPP=$ac_cv_prog_OBJCPP
8516 else
8517 ac_cv_prog_OBJCPP=$OBJCPP
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8520 $as_echo "$OBJCPP" >&6; }
8521 ac_preproc_ok=false
8522 for ac_objc_preproc_warn_flag in '' yes
8524 # Use a header file that comes with gcc, so configuring glibc
8525 # with a fresh cross-compiler works.
8526 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8527 # <limits.h> exists even on freestanding compilers.
8528 # On the NeXT, cc -E runs the code through the compiler's parser,
8529 # not just through cpp. "Syntax error" is here to catch this case.
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 #ifdef __STDC__
8533 # include <limits.h>
8534 #else
8535 # include <assert.h>
8536 #endif
8537 Syntax error
8538 _ACEOF
8539 if ac_fn_objc_try_cpp "$LINENO"; then :
8541 else
8542 # Broken: fails on valid input.
8543 continue
8545 rm -f conftest.err conftest.i conftest.$ac_ext
8547 # OK, works on sane cases. Now check whether nonexistent headers
8548 # can be detected and how.
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8551 #include <ac_nonexistent.h>
8552 _ACEOF
8553 if ac_fn_objc_try_cpp "$LINENO"; then :
8554 # Broken: success on invalid input.
8555 continue
8556 else
8557 # Passes both tests.
8558 ac_preproc_ok=:
8559 break
8561 rm -f conftest.err conftest.i conftest.$ac_ext
8563 done
8564 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8565 rm -f conftest.i conftest.err conftest.$ac_ext
8566 if $ac_preproc_ok; then :
8568 else
8569 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8571 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8572 See \`config.log' for more details" "$LINENO" 5; }
8575 ac_ext=m
8576 ac_cpp='$OBJCPP $CPPFLAGS'
8577 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8578 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8579 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8582 for ac_header in Metal/Metal.h
8583 do :
8584 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8585 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8586 cat >>confdefs.h <<_ACEOF
8587 #define HAVE_METAL_METAL_H 1
8588 _ACEOF
8592 done
8594 ac_ext=c
8595 ac_cpp='$CPP $CPPFLAGS'
8596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8600 LIBEXT="dylib"
8601 DLLFLAGS="$DLLFLAGS -fPIC"
8602 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8603 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8604 COREFOUNDATION_LIBS="-framework CoreFoundation"
8606 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8608 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8610 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8612 CORESERVICES_LIBS="-framework CoreServices"
8614 APPKIT_LIBS="-framework AppKit"
8616 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8618 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8619 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8620 $as_echo_n "(cached) " >&6
8621 else
8622 ac_wine_try_cflags_saved=$CFLAGS
8623 CFLAGS="$CFLAGS -Wl,-no_pie"
8624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 int main(int argc, char **argv) { return 0; }
8627 _ACEOF
8628 if ac_fn_c_try_link "$LINENO"; then :
8629 ac_cv_cflags__Wl__no_pie=yes
8630 else
8631 ac_cv_cflags__Wl__no_pie=no
8633 rm -f core conftest.err conftest.$ac_objext \
8634 conftest$ac_exeext conftest.$ac_ext
8635 CFLAGS=$ac_wine_try_cflags_saved
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8638 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8639 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8640 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8642 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8643 then
8644 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8647 if test "$ac_cv_header_Security_Security_h" = "yes"
8648 then
8649 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8651 ac_save_LIBS="$LIBS"
8652 LIBS="$LIBS $SECURITY_LIBS"
8653 for ac_func in SSLCopyPeerCertificates
8654 do :
8655 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8656 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8657 cat >>confdefs.h <<_ACEOF
8658 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8659 _ACEOF
8662 done
8664 LIBS="$ac_save_LIBS"
8666 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8667 then
8668 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8669 then
8670 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8672 else
8673 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8676 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8677 ac_save_LIBS="$LIBS"
8678 LIBS="$LIBS $COREAUDIO_LIBS"
8679 for ac_func in AUGraphAddNode
8680 do :
8681 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8682 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8683 cat >>confdefs.h <<_ACEOF
8684 #define HAVE_AUGRAPHADDNODE 1
8685 _ACEOF
8688 done
8690 LIBS="$ac_save_LIBS"
8692 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8693 then
8694 OPENAL_LIBS="-framework OpenAL"
8697 cat >>confdefs.h <<_ACEOF
8698 #define HAVE_OPENAL 1
8699 _ACEOF
8701 ac_cv_lib_openal=yes
8703 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8704 then
8705 OPENCL_LIBS="-framework OpenCL"
8707 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8709 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8710 then
8711 ac_save_LIBS="$LIBS"
8712 LIBS="$LIBS $IOKIT_LIBS"
8713 for ac_func in IOHIDManagerCreate
8714 do :
8715 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8716 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8717 cat >>confdefs.h <<_ACEOF
8718 #define HAVE_IOHIDMANAGERCREATE 1
8719 _ACEOF
8722 done
8724 LIBS="$ac_save_LIBS"
8726 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8727 then
8728 ac_save_LIBS="$LIBS"
8729 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8731 $as_echo_n "checking for the QuickTime framework... " >&6; }
8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 #include <QuickTime/ImageCompression.h>
8736 main ()
8738 CodecManagerVersion(NULL);
8740 return 0;
8742 _ACEOF
8743 if ac_fn_c_try_link "$LINENO"; then :
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8745 $as_echo "yes" >&6; }
8746 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8748 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8749 else
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8751 $as_echo "no" >&6; }
8752 ac_cv_header_QuickTime_ImageCompression_h=no
8754 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 LIBS="$ac_save_LIBS"
8758 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8759 then
8760 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8762 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8763 then
8764 CARBON_LIBS="-framework Carbon"
8767 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8768 then
8769 METAL_LIBS="-framework Metal -framework QuartzCore"
8773 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8774 then
8775 ac_save_LIBS="$LIBS"
8776 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8777 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8778 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8779 enable_winemac_drv=${enable_winemac_drv:-yes}
8782 LIBS="$ac_save_LIBS"
8785 if test "x$enable_win16" = "xyes"
8786 then
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8788 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8789 if test "$cross_compiling" = yes; then :
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8791 $as_echo "cross-compiling, assuming yes" >&6; }
8792 else
8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8794 /* end confdefs.h. */
8795 asm(".text\n"
8796 "bad:\tnop;nop\n"
8797 "good:\tnop;nop\n\t"
8798 ".globl _testfunc\n"
8799 "_testfunc:\tcallw good");
8800 extern void testfunc();
8802 main ()
8804 unsigned short *p = (unsigned short *)testfunc;
8805 return p[0] != 0xe866 || p[1] != 0xfffa
8807 return 0;
8809 _ACEOF
8810 if ac_fn_c_try_run "$LINENO"; then :
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8812 $as_echo "yes" >&6; }
8813 else
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8815 $as_echo "no" >&6; }
8816 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
8818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8819 conftest.$ac_objext conftest.beam conftest.$ac_ext
8824 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8826 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8828 LIBWINE_INSTALL_DEV="libwine.dylib"
8830 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8832 WINELOADER_DEPENDS="wine_info.plist"
8836 linux-android*)
8837 DLLFLAGS="$DLLFLAGS -fPIC"
8838 LDEXECFLAGS="-Wl,-pie"
8839 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8841 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8842 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8843 $as_echo_n "(cached) " >&6
8844 else
8845 ac_wine_try_cflags_saved=$CFLAGS
8846 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8848 /* end confdefs.h. */
8849 int main(int argc, char **argv) { return 0; }
8850 _ACEOF
8851 if ac_fn_c_try_link "$LINENO"; then :
8852 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8853 else
8854 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8856 rm -f core conftest.err conftest.$ac_objext \
8857 conftest$ac_exeext conftest.$ac_ext
8858 CFLAGS=$ac_wine_try_cflags_saved
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8861 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8862 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8863 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8865 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8867 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8868 if eval \${$as_ac_var+:} false; then :
8869 $as_echo_n "(cached) " >&6
8870 else
8871 ac_wine_try_cflags_saved=$CFLAGS
8872 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8875 int main(int argc, char **argv) { return 0; }
8876 _ACEOF
8877 if ac_fn_c_try_link "$LINENO"; then :
8878 eval "$as_ac_var=yes"
8879 else
8880 eval "$as_ac_var=no"
8882 rm -f core conftest.err conftest.$ac_objext \
8883 conftest$ac_exeext conftest.$ac_ext
8884 CFLAGS=$ac_wine_try_cflags_saved
8886 eval ac_res=\$$as_ac_var
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8888 $as_echo "$ac_res" >&6; }
8889 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8890 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8891 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8892 else
8893 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8895 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8896 if eval \${$as_ac_var+:} false; then :
8897 $as_echo_n "(cached) " >&6
8898 else
8899 ac_wine_try_cflags_saved=$CFLAGS
8900 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8903 int main(int argc, char **argv) { return 0; }
8904 _ACEOF
8905 if ac_fn_c_try_link "$LINENO"; then :
8906 eval "$as_ac_var=yes"
8907 else
8908 eval "$as_ac_var=no"
8910 rm -f core conftest.err conftest.$ac_objext \
8911 conftest$ac_exeext conftest.$ac_ext
8912 CFLAGS=$ac_wine_try_cflags_saved
8914 eval ac_res=\$$as_ac_var
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8916 $as_echo "$ac_res" >&6; }
8917 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8918 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8919 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8923 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8924 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8925 $as_echo_n "(cached) " >&6
8926 else
8927 ac_wine_try_cflags_saved=$CFLAGS
8928 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8930 /* end confdefs.h. */
8931 int main(int argc, char **argv) { return 0; }
8932 _ACEOF
8933 if ac_fn_c_try_link "$LINENO"; then :
8934 ac_cv_cflags__Wl___enable_new_dtags=yes
8935 else
8936 ac_cv_cflags__Wl___enable_new_dtags=no
8938 rm -f core conftest.err conftest.$ac_objext \
8939 conftest$ac_exeext conftest.$ac_ext
8940 CFLAGS=$ac_wine_try_cflags_saved
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8943 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8944 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8945 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8948 LIBWINE_SHAREDLIB="libwine.so"
8950 LIBWINE_INSTALL_LIB="libwine.so"
8952 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8956 $as_echo_n "checking for -lEGL... " >&6; }
8957 if ${ac_cv_lib_soname_EGL+:} false; then :
8958 $as_echo_n "(cached) " >&6
8959 else
8960 ac_check_soname_save_LIBS=$LIBS
8961 LIBS="-lEGL $LIBS"
8962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8963 /* end confdefs.h. */
8965 /* Override any GCC internal prototype to avoid an error.
8966 Use char because int might match the return type of a GCC
8967 builtin and then its argument prototype would still apply. */
8968 #ifdef __cplusplus
8969 extern "C"
8970 #endif
8971 char eglGetProcAddress ();
8973 main ()
8975 return eglGetProcAddress ();
8977 return 0;
8979 _ACEOF
8980 if ac_fn_c_try_link "$LINENO"; then :
8981 case "$LIBEXT" in
8982 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8983 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'` ;;
8984 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8985 if ${ac_cv_lib_soname_EGL:+false} :; then :
8986 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8987 fi ;;
8988 esac
8990 rm -f core conftest.err conftest.$ac_objext \
8991 conftest$ac_exeext conftest.$ac_ext
8992 LIBS=$ac_check_soname_save_LIBS
8994 if ${ac_cv_lib_soname_EGL:+false} :; then :
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8996 $as_echo "not found" >&6; }
8998 else
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9000 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9002 cat >>confdefs.h <<_ACEOF
9003 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9004 _ACEOF
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9009 $as_echo_n "checking for -lGLESv2... " >&6; }
9010 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9011 $as_echo_n "(cached) " >&6
9012 else
9013 ac_check_soname_save_LIBS=$LIBS
9014 LIBS="-lGLESv2 $LIBS"
9015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9018 /* Override any GCC internal prototype to avoid an error.
9019 Use char because int might match the return type of a GCC
9020 builtin and then its argument prototype would still apply. */
9021 #ifdef __cplusplus
9022 extern "C"
9023 #endif
9024 char glFlush ();
9026 main ()
9028 return glFlush ();
9030 return 0;
9032 _ACEOF
9033 if ac_fn_c_try_link "$LINENO"; then :
9034 case "$LIBEXT" in
9035 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9036 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'` ;;
9037 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9038 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9039 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9040 fi ;;
9041 esac
9043 rm -f core conftest.err conftest.$ac_objext \
9044 conftest$ac_exeext conftest.$ac_ext
9045 LIBS=$ac_check_soname_save_LIBS
9047 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9049 $as_echo "not found" >&6; }
9051 else
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9053 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9055 cat >>confdefs.h <<_ACEOF
9056 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9057 _ACEOF
9062 if test "x$exec_prefix" = xNONE
9063 then
9064 case $host_cpu in
9065 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9066 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9067 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9068 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9069 esac
9074 DLLFLAGS="$DLLFLAGS -fPIC"
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9076 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9077 if ${ac_cv_c_dll_gnuelf+:} false; then :
9078 $as_echo_n "(cached) " >&6
9079 else
9080 ac_wine_try_cflags_saved=$CFLAGS
9081 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9084 void myfunc() {}
9085 _ACEOF
9086 if ac_fn_c_try_link "$LINENO"; then :
9087 ac_cv_c_dll_gnuelf="yes"
9088 else
9089 ac_cv_c_dll_gnuelf="no"
9091 rm -f core conftest.err conftest.$ac_objext \
9092 conftest$ac_exeext conftest.$ac_ext
9093 CFLAGS=$ac_wine_try_cflags_saved
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9096 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9097 if test "$ac_cv_c_dll_gnuelf" = "yes"
9098 then
9099 LIBWINE_LDFLAGS="-shared"
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9101 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9102 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9103 $as_echo_n "(cached) " >&6
9104 else
9105 ac_wine_try_cflags_saved=$CFLAGS
9106 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9108 /* end confdefs.h. */
9109 int main(int argc, char **argv) { return 0; }
9110 _ACEOF
9111 if ac_fn_c_try_link "$LINENO"; then :
9112 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9113 else
9114 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9116 rm -f core conftest.err conftest.$ac_objext \
9117 conftest$ac_exeext conftest.$ac_ext
9118 CFLAGS=$ac_wine_try_cflags_saved
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9121 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9122 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9123 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9124 else
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9126 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9127 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9128 $as_echo_n "(cached) " >&6
9129 else
9130 ac_wine_try_cflags_saved=$CFLAGS
9131 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9134 int main(int argc, char **argv) { return 0; }
9135 _ACEOF
9136 if ac_fn_c_try_link "$LINENO"; then :
9137 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9138 else
9139 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9141 rm -f core conftest.err conftest.$ac_objext \
9142 conftest$ac_exeext conftest.$ac_ext
9143 CFLAGS=$ac_wine_try_cflags_saved
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9146 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9147 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9148 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9152 echo '{ global: *; };' >conftest.map
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9154 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9155 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9156 $as_echo_n "(cached) " >&6
9157 else
9158 ac_wine_try_cflags_saved=$CFLAGS
9159 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9162 int main(int argc, char **argv) { return 0; }
9163 _ACEOF
9164 if ac_fn_c_try_link "$LINENO"; then :
9165 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9166 else
9167 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9169 rm -f core conftest.err conftest.$ac_objext \
9170 conftest$ac_exeext conftest.$ac_ext
9171 CFLAGS=$ac_wine_try_cflags_saved
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9174 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9175 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9176 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9178 rm -f conftest.map
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9181 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9182 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9183 $as_echo_n "(cached) " >&6
9184 else
9185 ac_wine_try_cflags_saved=$CFLAGS
9186 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9189 int main(int argc, char **argv) { return 0; }
9190 _ACEOF
9191 if ac_fn_c_try_link "$LINENO"; then :
9192 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9193 else
9194 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9198 CFLAGS=$ac_wine_try_cflags_saved
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9201 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9202 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9203 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9206 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9208 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9209 if eval \${$as_ac_var+:} false; then :
9210 $as_echo_n "(cached) " >&6
9211 else
9212 ac_wine_try_cflags_saved=$CFLAGS
9213 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9216 int main(int argc, char **argv) { return 0; }
9217 _ACEOF
9218 if ac_fn_c_try_link "$LINENO"; then :
9219 eval "$as_ac_var=yes"
9220 else
9221 eval "$as_ac_var=no"
9223 rm -f core conftest.err conftest.$ac_objext \
9224 conftest$ac_exeext conftest.$ac_ext
9225 CFLAGS=$ac_wine_try_cflags_saved
9227 eval ac_res=\$$as_ac_var
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9229 $as_echo "$ac_res" >&6; }
9230 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9231 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9232 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9233 else
9234 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9236 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9237 if eval \${$as_ac_var+:} false; then :
9238 $as_echo_n "(cached) " >&6
9239 else
9240 ac_wine_try_cflags_saved=$CFLAGS
9241 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9244 int main(int argc, char **argv) { return 0; }
9245 _ACEOF
9246 if ac_fn_c_try_link "$LINENO"; then :
9247 eval "$as_ac_var=yes"
9248 else
9249 eval "$as_ac_var=no"
9251 rm -f core conftest.err conftest.$ac_objext \
9252 conftest$ac_exeext conftest.$ac_ext
9253 CFLAGS=$ac_wine_try_cflags_saved
9255 eval ac_res=\$$as_ac_var
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9257 $as_echo "$ac_res" >&6; }
9258 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9259 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9260 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9265 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9266 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9267 $as_echo_n "(cached) " >&6
9268 else
9269 ac_wine_try_cflags_saved=$CFLAGS
9270 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9272 /* end confdefs.h. */
9273 int main(int argc, char **argv) { return 0; }
9274 _ACEOF
9275 if ac_fn_c_try_link "$LINENO"; then :
9276 ac_cv_cflags__Wl___enable_new_dtags=yes
9277 else
9278 ac_cv_cflags__Wl___enable_new_dtags=no
9280 rm -f core conftest.err conftest.$ac_objext \
9281 conftest$ac_exeext conftest.$ac_ext
9282 CFLAGS=$ac_wine_try_cflags_saved
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9285 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9286 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9287 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9290 case $host_cpu in
9291 *i[3456789]86* | x86_64 | *aarch64*)
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9293 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9294 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9295 $as_echo_n "(cached) " >&6
9296 else
9297 ac_wine_try_cflags_saved=$CFLAGS
9298 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9300 /* end confdefs.h. */
9301 int main(int argc, char **argv) { return 0; }
9302 _ACEOF
9303 if ac_fn_c_try_link "$LINENO"; then :
9304 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9305 else
9306 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9308 rm -f core conftest.err conftest.$ac_objext \
9309 conftest$ac_exeext conftest.$ac_ext
9310 CFLAGS=$ac_wine_try_cflags_saved
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9313 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9314 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9315 case $host_os in
9316 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9317 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9318 esac
9319 else
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9321 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9322 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9323 $as_echo_n "(cached) " >&6
9324 else
9325 ac_wine_try_cflags_saved=$CFLAGS
9326 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9329 int main(int argc, char **argv) { return 0; }
9330 _ACEOF
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9333 else
9334 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 CFLAGS=$ac_wine_try_cflags_saved
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9341 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9342 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9343 case $host_os in
9344 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9345 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9346 esac
9348 # Extract the first word of "prelink", so it can be a program name with args.
9349 set dummy prelink; ac_word=$2
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9351 $as_echo_n "checking for $ac_word... " >&6; }
9352 if ${ac_cv_path_PRELINK+:} false; then :
9353 $as_echo_n "(cached) " >&6
9354 else
9355 case $PRELINK in
9356 [\\/]* | ?:[\\/]*)
9357 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361 for as_dir in /sbin /usr/sbin $PATH
9363 IFS=$as_save_IFS
9364 test -z "$as_dir" && as_dir=.
9365 for ac_exec_ext in '' $ac_executable_extensions; do
9366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9367 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9369 break 2
9371 done
9372 done
9373 IFS=$as_save_IFS
9375 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9377 esac
9379 PRELINK=$ac_cv_path_PRELINK
9380 if test -n "$PRELINK"; then
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9382 $as_echo "$PRELINK" >&6; }
9383 else
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9385 $as_echo "no" >&6; }
9389 if test "x$PRELINK" = xfalse
9390 then
9391 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9395 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9396 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9397 $as_echo_n "(cached) " >&6
9398 else
9399 ac_wine_try_cflags_saved=$CFLAGS
9400 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9403 int main(int argc, char **argv) { return 0; }
9404 _ACEOF
9405 if ac_fn_c_try_link "$LINENO"; then :
9406 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9407 else
9408 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9410 rm -f core conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9412 CFLAGS=$ac_wine_try_cflags_saved
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9415 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9416 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9417 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9420 esac
9422 else
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9424 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9425 if ${ac_cv_c_dll_unixware+:} false; then :
9426 $as_echo_n "(cached) " >&6
9427 else
9428 ac_wine_try_cflags_saved=$CFLAGS
9429 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9432 void myfunc() {}
9433 _ACEOF
9434 if ac_fn_c_try_link "$LINENO"; then :
9435 ac_cv_c_dll_unixware="yes"
9436 else
9437 ac_cv_c_dll_unixware="no"
9439 rm -f core conftest.err conftest.$ac_objext \
9440 conftest$ac_exeext conftest.$ac_ext
9441 CFLAGS=$ac_wine_try_cflags_saved
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9444 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9445 if test "$ac_cv_c_dll_unixware" = "yes"
9446 then
9447 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9450 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9452 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9454 LIBWINE_INSTALL_DEV="libwine.so"
9456 LIBWINE_DEPENDS="wine.map"
9459 esac
9461 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9462 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9463 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9464 enable_winemac_drv=${enable_winemac_drv:-no}
9465 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9467 CROSSTARGET=""
9469 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9470 then
9471 case "$host_cpu" in
9472 aarch64*)
9473 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9474 arm*)
9475 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9476 i[3456789]86*)
9477 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
9478 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9479 mingw32-gcc" ;;
9480 x86_64)
9481 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
9482 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9484 ac_prefix_list="" ;;
9485 esac
9486 for ac_prog in $ac_prefix_list
9488 # Extract the first word of "$ac_prog", so it can be a program name with args.
9489 set dummy $ac_prog; ac_word=$2
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9491 $as_echo_n "checking for $ac_word... " >&6; }
9492 if ${ac_cv_prog_CROSSCC+:} false; then :
9493 $as_echo_n "(cached) " >&6
9494 else
9495 if test -n "$CROSSCC"; then
9496 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9497 else
9498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9499 for as_dir in $PATH
9501 IFS=$as_save_IFS
9502 test -z "$as_dir" && as_dir=.
9503 for ac_exec_ext in '' $ac_executable_extensions; do
9504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9505 ac_cv_prog_CROSSCC="$ac_prog"
9506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9507 break 2
9509 done
9510 done
9511 IFS=$as_save_IFS
9515 CROSSCC=$ac_cv_prog_CROSSCC
9516 if test -n "$CROSSCC"; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9518 $as_echo "$CROSSCC" >&6; }
9519 else
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9521 $as_echo "no" >&6; }
9525 test -n "$CROSSCC" && break
9526 done
9527 test -n "$CROSSCC" || CROSSCC="false"
9529 if test "$CROSSCC" != "false"
9530 then
9531 ac_save_CC="$CC"
9532 CC="$CROSSCC"
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9534 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9539 main ()
9543 return 0;
9545 _ACEOF
9546 if ac_fn_c_try_compile "$LINENO"; then :
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9548 $as_echo "yes" >&6; }
9549 set x $CROSSCC
9550 shift
9551 while test $# -ge 1
9553 case "$1" in
9554 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9555 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9556 esac
9557 shift
9558 done
9559 else
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9561 $as_echo "no" >&6; }
9563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9564 CC="$ac_save_CC"
9565 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9571 if test "$ac_cv_header_pthread_h" = "yes"
9572 then
9573 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9574 if test "x$ac_cv_func_pthread_create" = xyes; then :
9576 else
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9578 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9579 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9580 $as_echo_n "(cached) " >&6
9581 else
9582 ac_check_lib_save_LIBS=$LIBS
9583 LIBS="-lpthread $LIBS"
9584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9587 /* Override any GCC internal prototype to avoid an error.
9588 Use char because int might match the return type of a GCC
9589 builtin and then its argument prototype would still apply. */
9590 #ifdef __cplusplus
9591 extern "C"
9592 #endif
9593 char pthread_create ();
9595 main ()
9597 return pthread_create ();
9599 return 0;
9601 _ACEOF
9602 if ac_fn_c_try_link "$LINENO"; then :
9603 ac_cv_lib_pthread_pthread_create=yes
9604 else
9605 ac_cv_lib_pthread_pthread_create=no
9607 rm -f core conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9609 LIBS=$ac_check_lib_save_LIBS
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9612 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9613 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9614 PTHREAD_LIBS="-lpthread"
9621 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9622 case "x$with_pthread" in
9623 xno) ;;
9624 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9625 Wine cannot support threads without libpthread.
9626 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9627 esac
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9633 $as_echo_n "checking for X... " >&6; }
9636 # Check whether --with-x was given.
9637 if test "${with_x+set}" = set; then :
9638 withval=$with_x;
9641 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9642 if test "x$with_x" = xno; then
9643 # The user explicitly disabled X.
9644 have_x=disabled
9645 else
9646 case $x_includes,$x_libraries in #(
9647 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9648 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9649 $as_echo_n "(cached) " >&6
9650 else
9651 # One or both of the vars are not set, and there is no cached value.
9652 ac_x_includes=no ac_x_libraries=no
9653 rm -f -r conftest.dir
9654 if mkdir conftest.dir; then
9655 cd conftest.dir
9656 cat >Imakefile <<'_ACEOF'
9657 incroot:
9658 @echo incroot='${INCROOT}'
9659 usrlibdir:
9660 @echo usrlibdir='${USRLIBDIR}'
9661 libdir:
9662 @echo libdir='${LIBDIR}'
9663 _ACEOF
9664 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9665 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9666 for ac_var in incroot usrlibdir libdir; do
9667 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9668 done
9669 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9670 for ac_extension in a so sl dylib la dll; do
9671 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9672 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9673 ac_im_usrlibdir=$ac_im_libdir; break
9675 done
9676 # Screen out bogus values from the imake configuration. They are
9677 # bogus both because they are the default anyway, and because
9678 # using them would break gcc on systems where it needs fixed includes.
9679 case $ac_im_incroot in
9680 /usr/include) ac_x_includes= ;;
9681 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9682 esac
9683 case $ac_im_usrlibdir in
9684 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9685 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9686 esac
9688 cd ..
9689 rm -f -r conftest.dir
9692 # Standard set of common directories for X headers.
9693 # Check X11 before X11Rn because it is often a symlink to the current release.
9694 ac_x_header_dirs='
9695 /usr/X11/include
9696 /usr/X11R7/include
9697 /usr/X11R6/include
9698 /usr/X11R5/include
9699 /usr/X11R4/include
9701 /usr/include/X11
9702 /usr/include/X11R7
9703 /usr/include/X11R6
9704 /usr/include/X11R5
9705 /usr/include/X11R4
9707 /usr/local/X11/include
9708 /usr/local/X11R7/include
9709 /usr/local/X11R6/include
9710 /usr/local/X11R5/include
9711 /usr/local/X11R4/include
9713 /usr/local/include/X11
9714 /usr/local/include/X11R7
9715 /usr/local/include/X11R6
9716 /usr/local/include/X11R5
9717 /usr/local/include/X11R4
9719 /usr/X386/include
9720 /usr/x386/include
9721 /usr/XFree86/include/X11
9723 /usr/include
9724 /usr/local/include
9725 /usr/unsupported/include
9726 /usr/athena/include
9727 /usr/local/x11r5/include
9728 /usr/lpp/Xamples/include
9730 /usr/openwin/include
9731 /usr/openwin/share/include'
9733 if test "$ac_x_includes" = no; then
9734 # Guess where to find include files, by looking for Xlib.h.
9735 # First, try using that file with no special directory specified.
9736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9738 #include <X11/Xlib.h>
9739 _ACEOF
9740 if ac_fn_c_try_cpp "$LINENO"; then :
9741 # We can compile using X headers with no special include directory.
9742 ac_x_includes=
9743 else
9744 for ac_dir in $ac_x_header_dirs; do
9745 if test -r "$ac_dir/X11/Xlib.h"; then
9746 ac_x_includes=$ac_dir
9747 break
9749 done
9751 rm -f conftest.err conftest.i conftest.$ac_ext
9752 fi # $ac_x_includes = no
9754 if test "$ac_x_libraries" = no; then
9755 # Check for the libraries.
9756 # See if we find them without any special options.
9757 # Don't add to $LIBS permanently.
9758 ac_save_LIBS=$LIBS
9759 LIBS="-lX11 $LIBS"
9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9762 #include <X11/Xlib.h>
9764 main ()
9766 XrmInitialize ()
9768 return 0;
9770 _ACEOF
9771 if ac_fn_c_try_link "$LINENO"; then :
9772 LIBS=$ac_save_LIBS
9773 # We can link X programs with no special library path.
9774 ac_x_libraries=
9775 else
9776 LIBS=$ac_save_LIBS
9777 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9779 # Don't even attempt the hair of trying to link an X program!
9780 for ac_extension in a so sl dylib la dll; do
9781 if test -r "$ac_dir/libX11.$ac_extension"; then
9782 ac_x_libraries=$ac_dir
9783 break 2
9785 done
9786 done
9788 rm -f core conftest.err conftest.$ac_objext \
9789 conftest$ac_exeext conftest.$ac_ext
9790 fi # $ac_x_libraries = no
9792 case $ac_x_includes,$ac_x_libraries in #(
9793 no,* | *,no | *\'*)
9794 # Didn't find X, or a directory has "'" in its name.
9795 ac_cv_have_x="have_x=no";; #(
9797 # Record where we found X for the cache.
9798 ac_cv_have_x="have_x=yes\
9799 ac_x_includes='$ac_x_includes'\
9800 ac_x_libraries='$ac_x_libraries'"
9801 esac
9803 ;; #(
9804 *) have_x=yes;;
9805 esac
9806 eval "$ac_cv_have_x"
9807 fi # $with_x != no
9809 if test "$have_x" != yes; then
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9811 $as_echo "$have_x" >&6; }
9812 no_x=yes
9813 else
9814 # If each of the values was on the command line, it overrides each guess.
9815 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9816 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9817 # Update the cache value to reflect the command line values.
9818 ac_cv_have_x="have_x=yes\
9819 ac_x_includes='$x_includes'\
9820 ac_x_libraries='$x_libraries'"
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9822 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9825 if test "$no_x" = yes; then
9826 # Not all programs may use this symbol, but it does not hurt to define it.
9828 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9830 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9831 else
9832 if test -n "$x_includes"; then
9833 X_CFLAGS="$X_CFLAGS -I$x_includes"
9836 # It would also be nice to do this for all -L options, not just this one.
9837 if test -n "$x_libraries"; then
9838 X_LIBS="$X_LIBS -L$x_libraries"
9839 # For Solaris; some versions of Sun CC require a space after -R and
9840 # others require no space. Words are not sufficient . . . .
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9842 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9843 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9844 ac_xsave_c_werror_flag=$ac_c_werror_flag
9845 ac_c_werror_flag=yes
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9850 main ()
9854 return 0;
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9859 $as_echo "no" >&6; }
9860 X_LIBS="$X_LIBS -R$x_libraries"
9861 else
9862 LIBS="$ac_xsave_LIBS -R $x_libraries"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9867 main ()
9871 return 0;
9873 _ACEOF
9874 if ac_fn_c_try_link "$LINENO"; then :
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9876 $as_echo "yes" >&6; }
9877 X_LIBS="$X_LIBS -R $x_libraries"
9878 else
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9880 $as_echo "neither works" >&6; }
9882 rm -f core conftest.err conftest.$ac_objext \
9883 conftest$ac_exeext conftest.$ac_ext
9885 rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9887 ac_c_werror_flag=$ac_xsave_c_werror_flag
9888 LIBS=$ac_xsave_LIBS
9891 # Check for system-dependent libraries X programs must link with.
9892 # Do this before checking for the system-independent R6 libraries
9893 # (-lICE), since we may need -lsocket or whatever for X linking.
9895 if test "$ISC" = yes; then
9896 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9897 else
9898 # Martyn Johnson says this is needed for Ultrix, if the X
9899 # libraries were built with DECnet support. And Karl Berry says
9900 # the Alpha needs dnet_stub (dnet does not exist).
9901 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9905 /* Override any GCC internal prototype to avoid an error.
9906 Use char because int might match the return type of a GCC
9907 builtin and then its argument prototype would still apply. */
9908 #ifdef __cplusplus
9909 extern "C"
9910 #endif
9911 char XOpenDisplay ();
9913 main ()
9915 return XOpenDisplay ();
9917 return 0;
9919 _ACEOF
9920 if ac_fn_c_try_link "$LINENO"; then :
9922 else
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9924 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9925 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9926 $as_echo_n "(cached) " >&6
9927 else
9928 ac_check_lib_save_LIBS=$LIBS
9929 LIBS="-ldnet $LIBS"
9930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931 /* end confdefs.h. */
9933 /* Override any GCC internal prototype to avoid an error.
9934 Use char because int might match the return type of a GCC
9935 builtin and then its argument prototype would still apply. */
9936 #ifdef __cplusplus
9937 extern "C"
9938 #endif
9939 char dnet_ntoa ();
9941 main ()
9943 return dnet_ntoa ();
9945 return 0;
9947 _ACEOF
9948 if ac_fn_c_try_link "$LINENO"; then :
9949 ac_cv_lib_dnet_dnet_ntoa=yes
9950 else
9951 ac_cv_lib_dnet_dnet_ntoa=no
9953 rm -f core conftest.err conftest.$ac_objext \
9954 conftest$ac_exeext conftest.$ac_ext
9955 LIBS=$ac_check_lib_save_LIBS
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9958 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9959 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9960 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9963 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9965 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9966 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9967 $as_echo_n "(cached) " >&6
9968 else
9969 ac_check_lib_save_LIBS=$LIBS
9970 LIBS="-ldnet_stub $LIBS"
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9974 /* Override any GCC internal prototype to avoid an error.
9975 Use char because int might match the return type of a GCC
9976 builtin and then its argument prototype would still apply. */
9977 #ifdef __cplusplus
9978 extern "C"
9979 #endif
9980 char dnet_ntoa ();
9982 main ()
9984 return dnet_ntoa ();
9986 return 0;
9988 _ACEOF
9989 if ac_fn_c_try_link "$LINENO"; then :
9990 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9991 else
9992 ac_cv_lib_dnet_stub_dnet_ntoa=no
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 LIBS=$ac_check_lib_save_LIBS
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9999 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10000 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10001 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 LIBS="$ac_xsave_LIBS"
10010 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10011 # to get the SysV transport functions.
10012 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10013 # needs -lnsl.
10014 # The nsl library prevents programs from opening the X display
10015 # on Irix 5.2, according to T.E. Dickey.
10016 # The functions gethostbyname, getservbyname, and inet_addr are
10017 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10018 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10019 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10023 if test $ac_cv_func_gethostbyname = no; then
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10025 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10026 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10027 $as_echo_n "(cached) " >&6
10028 else
10029 ac_check_lib_save_LIBS=$LIBS
10030 LIBS="-lnsl $LIBS"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10037 #ifdef __cplusplus
10038 extern "C"
10039 #endif
10040 char gethostbyname ();
10042 main ()
10044 return gethostbyname ();
10046 return 0;
10048 _ACEOF
10049 if ac_fn_c_try_link "$LINENO"; then :
10050 ac_cv_lib_nsl_gethostbyname=yes
10051 else
10052 ac_cv_lib_nsl_gethostbyname=no
10054 rm -f core conftest.err conftest.$ac_objext \
10055 conftest$ac_exeext conftest.$ac_ext
10056 LIBS=$ac_check_lib_save_LIBS
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10059 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10060 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10061 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10064 if test $ac_cv_lib_nsl_gethostbyname = no; then
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10066 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10067 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10068 $as_echo_n "(cached) " >&6
10069 else
10070 ac_check_lib_save_LIBS=$LIBS
10071 LIBS="-lbsd $LIBS"
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10075 /* Override any GCC internal prototype to avoid an error.
10076 Use char because int might match the return type of a GCC
10077 builtin and then its argument prototype would still apply. */
10078 #ifdef __cplusplus
10079 extern "C"
10080 #endif
10081 char gethostbyname ();
10083 main ()
10085 return gethostbyname ();
10087 return 0;
10089 _ACEOF
10090 if ac_fn_c_try_link "$LINENO"; then :
10091 ac_cv_lib_bsd_gethostbyname=yes
10092 else
10093 ac_cv_lib_bsd_gethostbyname=no
10095 rm -f core conftest.err conftest.$ac_objext \
10096 conftest$ac_exeext conftest.$ac_ext
10097 LIBS=$ac_check_lib_save_LIBS
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10100 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10101 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10102 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10108 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10109 # socket/setsockopt and other routines are undefined under SCO ODT
10110 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10111 # on later versions), says Simon Leinen: it contains gethostby*
10112 # variants that don't use the name server (or something). -lsocket
10113 # must be given before -lnsl if both are needed. We assume that
10114 # if connect needs -lnsl, so does gethostbyname.
10115 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10116 if test "x$ac_cv_func_connect" = xyes; then :
10120 if test $ac_cv_func_connect = no; then
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10122 $as_echo_n "checking for connect in -lsocket... " >&6; }
10123 if ${ac_cv_lib_socket_connect+:} false; then :
10124 $as_echo_n "(cached) " >&6
10125 else
10126 ac_check_lib_save_LIBS=$LIBS
10127 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10131 /* Override any GCC internal prototype to avoid an error.
10132 Use char because int might match the return type of a GCC
10133 builtin and then its argument prototype would still apply. */
10134 #ifdef __cplusplus
10135 extern "C"
10136 #endif
10137 char connect ();
10139 main ()
10141 return connect ();
10143 return 0;
10145 _ACEOF
10146 if ac_fn_c_try_link "$LINENO"; then :
10147 ac_cv_lib_socket_connect=yes
10148 else
10149 ac_cv_lib_socket_connect=no
10151 rm -f core conftest.err conftest.$ac_objext \
10152 conftest$ac_exeext conftest.$ac_ext
10153 LIBS=$ac_check_lib_save_LIBS
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10156 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10157 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10158 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10163 # Guillermo Gomez says -lposix is necessary on A/UX.
10164 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10165 if test "x$ac_cv_func_remove" = xyes; then :
10169 if test $ac_cv_func_remove = no; then
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10171 $as_echo_n "checking for remove in -lposix... " >&6; }
10172 if ${ac_cv_lib_posix_remove+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 ac_check_lib_save_LIBS=$LIBS
10176 LIBS="-lposix $LIBS"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10180 /* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10183 #ifdef __cplusplus
10184 extern "C"
10185 #endif
10186 char remove ();
10188 main ()
10190 return remove ();
10192 return 0;
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"; then :
10196 ac_cv_lib_posix_remove=yes
10197 else
10198 ac_cv_lib_posix_remove=no
10200 rm -f core conftest.err conftest.$ac_objext \
10201 conftest$ac_exeext conftest.$ac_ext
10202 LIBS=$ac_check_lib_save_LIBS
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10205 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10206 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10212 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10213 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10214 if test "x$ac_cv_func_shmat" = xyes; then :
10218 if test $ac_cv_func_shmat = no; then
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10220 $as_echo_n "checking for shmat in -lipc... " >&6; }
10221 if ${ac_cv_lib_ipc_shmat+:} false; then :
10222 $as_echo_n "(cached) " >&6
10223 else
10224 ac_check_lib_save_LIBS=$LIBS
10225 LIBS="-lipc $LIBS"
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10229 /* Override any GCC internal prototype to avoid an error.
10230 Use char because int might match the return type of a GCC
10231 builtin and then its argument prototype would still apply. */
10232 #ifdef __cplusplus
10233 extern "C"
10234 #endif
10235 char shmat ();
10237 main ()
10239 return shmat ();
10241 return 0;
10243 _ACEOF
10244 if ac_fn_c_try_link "$LINENO"; then :
10245 ac_cv_lib_ipc_shmat=yes
10246 else
10247 ac_cv_lib_ipc_shmat=no
10249 rm -f core conftest.err conftest.$ac_objext \
10250 conftest$ac_exeext conftest.$ac_ext
10251 LIBS=$ac_check_lib_save_LIBS
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10254 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10255 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10256 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10262 # Check for libraries that X11R6 Xt/Xaw programs need.
10263 ac_save_LDFLAGS=$LDFLAGS
10264 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10265 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10266 # check for ICE first), but we must link in the order -lSM -lICE or
10267 # we get undefined symbols. So assume we have SM if we have ICE.
10268 # These have to be linked with before -lX11, unlike the other
10269 # libraries we check for below, so use a different variable.
10270 # John Interrante, Karl Berry
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10272 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10273 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_check_lib_save_LIBS=$LIBS
10277 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10281 /* Override any GCC internal prototype to avoid an error.
10282 Use char because int might match the return type of a GCC
10283 builtin and then its argument prototype would still apply. */
10284 #ifdef __cplusplus
10285 extern "C"
10286 #endif
10287 char IceConnectionNumber ();
10289 main ()
10291 return IceConnectionNumber ();
10293 return 0;
10295 _ACEOF
10296 if ac_fn_c_try_link "$LINENO"; then :
10297 ac_cv_lib_ICE_IceConnectionNumber=yes
10298 else
10299 ac_cv_lib_ICE_IceConnectionNumber=no
10301 rm -f core conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10303 LIBS=$ac_check_lib_save_LIBS
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10306 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10307 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10308 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10311 LDFLAGS=$ac_save_LDFLAGS
10316 if test "$have_x" = "yes"
10317 then
10318 ac_save_CPPFLAGS="$CPPFLAGS"
10319 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10322 $as_echo_n "checking for -lX11... " >&6; }
10323 if ${ac_cv_lib_soname_X11+:} false; then :
10324 $as_echo_n "(cached) " >&6
10325 else
10326 ac_check_soname_save_LIBS=$LIBS
10327 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10331 /* Override any GCC internal prototype to avoid an error.
10332 Use char because int might match the return type of a GCC
10333 builtin and then its argument prototype would still apply. */
10334 #ifdef __cplusplus
10335 extern "C"
10336 #endif
10337 char XCreateWindow ();
10339 main ()
10341 return XCreateWindow ();
10343 return 0;
10345 _ACEOF
10346 if ac_fn_c_try_link "$LINENO"; then :
10347 case "$LIBEXT" in
10348 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10349 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'` ;;
10350 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10351 if ${ac_cv_lib_soname_X11:+false} :; then :
10352 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10353 fi ;;
10354 esac
10356 rm -f core conftest.err conftest.$ac_objext \
10357 conftest$ac_exeext conftest.$ac_ext
10358 LIBS=$ac_check_soname_save_LIBS
10360 if ${ac_cv_lib_soname_X11:+false} :; then :
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10362 $as_echo "not found" >&6; }
10364 else
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10366 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10368 cat >>confdefs.h <<_ACEOF
10369 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10370 _ACEOF
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10375 $as_echo_n "checking for -lXext... " >&6; }
10376 if ${ac_cv_lib_soname_Xext+:} false; then :
10377 $as_echo_n "(cached) " >&6
10378 else
10379 ac_check_soname_save_LIBS=$LIBS
10380 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10384 /* Override any GCC internal prototype to avoid an error.
10385 Use char because int might match the return type of a GCC
10386 builtin and then its argument prototype would still apply. */
10387 #ifdef __cplusplus
10388 extern "C"
10389 #endif
10390 char XextCreateExtension ();
10392 main ()
10394 return XextCreateExtension ();
10396 return 0;
10398 _ACEOF
10399 if ac_fn_c_try_link "$LINENO"; then :
10400 case "$LIBEXT" in
10401 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10402 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'` ;;
10403 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10404 if ${ac_cv_lib_soname_Xext:+false} :; then :
10405 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10406 fi ;;
10407 esac
10409 rm -f core conftest.err conftest.$ac_objext \
10410 conftest$ac_exeext conftest.$ac_ext
10411 LIBS=$ac_check_soname_save_LIBS
10413 if ${ac_cv_lib_soname_Xext:+false} :; then :
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10415 $as_echo "not found" >&6; }
10417 else
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10419 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10421 cat >>confdefs.h <<_ACEOF
10422 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10423 _ACEOF
10425 X_LIBS="$X_LIBS -lXext"
10427 X_LIBS="$X_LIBS -lX11"
10429 for ac_header in X11/Xlib.h \
10430 X11/XKBlib.h \
10431 X11/Xutil.h \
10432 X11/Xcursor/Xcursor.h \
10433 X11/extensions/shape.h \
10434 X11/extensions/XInput.h \
10435 X11/extensions/XInput2.h \
10436 X11/extensions/XShm.h \
10437 X11/extensions/Xcomposite.h \
10438 X11/extensions/Xfixes.h \
10439 X11/extensions/Xinerama.h \
10440 X11/extensions/Xrandr.h \
10441 X11/extensions/Xrender.h \
10442 X11/extensions/xf86vmode.h \
10443 X11/extensions/xf86vmproto.h
10444 do :
10445 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10446 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10447 # include <X11/Xlib.h>
10448 #endif
10449 #ifdef HAVE_X11_XUTIL_H
10450 # include <X11/Xutil.h>
10451 #endif
10453 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10454 cat >>confdefs.h <<_ACEOF
10455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10456 _ACEOF
10460 done
10463 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10464 then
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10466 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10467 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10468 $as_echo_n "(cached) " >&6
10469 else
10470 ac_check_lib_save_LIBS=$LIBS
10471 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10475 /* Override any GCC internal prototype to avoid an error.
10476 Use char because int might match the return type of a GCC
10477 builtin and then its argument prototype would still apply. */
10478 #ifdef __cplusplus
10479 extern "C"
10480 #endif
10481 char XkbQueryExtension ();
10483 main ()
10485 return XkbQueryExtension ();
10487 return 0;
10489 _ACEOF
10490 if ac_fn_c_try_link "$LINENO"; then :
10491 ac_cv_lib_X11_XkbQueryExtension=yes
10492 else
10493 ac_cv_lib_X11_XkbQueryExtension=no
10495 rm -f core conftest.err conftest.$ac_objext \
10496 conftest$ac_exeext conftest.$ac_ext
10497 LIBS=$ac_check_lib_save_LIBS
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10500 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10501 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10503 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10509 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10510 then
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10512 $as_echo_n "checking for -lXcursor... " >&6; }
10513 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 ac_check_soname_save_LIBS=$LIBS
10517 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10524 #ifdef __cplusplus
10525 extern "C"
10526 #endif
10527 char XcursorImageLoadCursor ();
10529 main ()
10531 return XcursorImageLoadCursor ();
10533 return 0;
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 case "$LIBEXT" in
10538 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10539 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'` ;;
10540 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10541 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10542 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10543 fi ;;
10544 esac
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LIBS=$ac_check_soname_save_LIBS
10550 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10552 $as_echo "not found" >&6; }
10554 else
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10556 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10558 cat >>confdefs.h <<_ACEOF
10559 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10560 _ACEOF
10565 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10566 case "x$with_xcursor" in
10567 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10568 xno) ;;
10569 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10570 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10571 esac
10575 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10576 then
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10578 $as_echo_n "checking for -lXi... " >&6; }
10579 if ${ac_cv_lib_soname_Xi+:} false; then :
10580 $as_echo_n "(cached) " >&6
10581 else
10582 ac_check_soname_save_LIBS=$LIBS
10583 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10585 /* end confdefs.h. */
10587 /* Override any GCC internal prototype to avoid an error.
10588 Use char because int might match the return type of a GCC
10589 builtin and then its argument prototype would still apply. */
10590 #ifdef __cplusplus
10591 extern "C"
10592 #endif
10593 char XOpenDevice ();
10595 main ()
10597 return XOpenDevice ();
10599 return 0;
10601 _ACEOF
10602 if ac_fn_c_try_link "$LINENO"; then :
10603 case "$LIBEXT" in
10604 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10605 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'` ;;
10606 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10607 if ${ac_cv_lib_soname_Xi:+false} :; then :
10608 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10609 fi ;;
10610 esac
10612 rm -f core conftest.err conftest.$ac_objext \
10613 conftest$ac_exeext conftest.$ac_ext
10614 LIBS=$ac_check_soname_save_LIBS
10616 if ${ac_cv_lib_soname_Xi:+false} :; then :
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10618 $as_echo "not found" >&6; }
10620 else
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10622 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10624 cat >>confdefs.h <<_ACEOF
10625 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10626 _ACEOF
10631 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10632 case "x$with_xinput" in
10633 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10634 xno) ;;
10635 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10636 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10637 esac
10641 if test "x$ac_cv_lib_soname_Xi" != x
10642 then
10643 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10644 case "x$with_xinput2" in
10645 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10646 xno) ;;
10647 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10648 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10649 esac
10654 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10655 then
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10657 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10658 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10659 $as_echo_n "(cached) " >&6
10660 else
10661 ac_check_lib_save_LIBS=$LIBS
10662 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10666 /* Override any GCC internal prototype to avoid an error.
10667 Use char because int might match the return type of a GCC
10668 builtin and then its argument prototype would still apply. */
10669 #ifdef __cplusplus
10670 extern "C"
10671 #endif
10672 char XShmQueryExtension ();
10674 main ()
10676 return XShmQueryExtension ();
10678 return 0;
10680 _ACEOF
10681 if ac_fn_c_try_link "$LINENO"; then :
10682 ac_cv_lib_Xext_XShmQueryExtension=yes
10683 else
10684 ac_cv_lib_Xext_XShmQueryExtension=no
10686 rm -f core conftest.err conftest.$ac_objext \
10687 conftest$ac_exeext conftest.$ac_ext
10688 LIBS=$ac_check_lib_save_LIBS
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10691 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10692 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10694 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10699 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10700 case "x$with_xshm" in
10701 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10702 xno) ;;
10703 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10704 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10705 esac
10709 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10710 then
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10712 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10713 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10714 $as_echo_n "(cached) " >&6
10715 else
10716 ac_check_lib_save_LIBS=$LIBS
10717 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10721 /* Override any GCC internal prototype to avoid an error.
10722 Use char because int might match the return type of a GCC
10723 builtin and then its argument prototype would still apply. */
10724 #ifdef __cplusplus
10725 extern "C"
10726 #endif
10727 char XShapeQueryExtension ();
10729 main ()
10731 return XShapeQueryExtension ();
10733 return 0;
10735 _ACEOF
10736 if ac_fn_c_try_link "$LINENO"; then :
10737 ac_cv_lib_Xext_XShapeQueryExtension=yes
10738 else
10739 ac_cv_lib_Xext_XShapeQueryExtension=no
10741 rm -f core conftest.err conftest.$ac_objext \
10742 conftest$ac_exeext conftest.$ac_ext
10743 LIBS=$ac_check_lib_save_LIBS
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10746 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10747 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10749 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10754 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10755 case "x$with_xshape" in
10756 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10757 xno) ;;
10758 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10759 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10760 esac
10764 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10765 then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10767 $as_echo_n "checking for -lXxf86vm... " >&6; }
10768 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10769 $as_echo_n "(cached) " >&6
10770 else
10771 ac_check_soname_save_LIBS=$LIBS
10772 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10776 /* Override any GCC internal prototype to avoid an error.
10777 Use char because int might match the return type of a GCC
10778 builtin and then its argument prototype would still apply. */
10779 #ifdef __cplusplus
10780 extern "C"
10781 #endif
10782 char XF86VidModeQueryExtension ();
10784 main ()
10786 return XF86VidModeQueryExtension ();
10788 return 0;
10790 _ACEOF
10791 if ac_fn_c_try_link "$LINENO"; then :
10792 case "$LIBEXT" in
10793 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10794 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'` ;;
10795 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10796 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10797 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10798 fi ;;
10799 esac
10801 rm -f core conftest.err conftest.$ac_objext \
10802 conftest$ac_exeext conftest.$ac_ext
10803 LIBS=$ac_check_soname_save_LIBS
10805 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10807 $as_echo "not found" >&6; }
10809 else
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10811 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10813 cat >>confdefs.h <<_ACEOF
10814 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10815 _ACEOF
10820 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10821 case "x$with_xxf86vm" in
10822 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10823 xno) ;;
10824 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10825 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10826 esac
10830 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10831 then
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10833 $as_echo_n "checking for -lXrender... " >&6; }
10834 if ${ac_cv_lib_soname_Xrender+:} false; then :
10835 $as_echo_n "(cached) " >&6
10836 else
10837 ac_check_soname_save_LIBS=$LIBS
10838 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10842 /* Override any GCC internal prototype to avoid an error.
10843 Use char because int might match the return type of a GCC
10844 builtin and then its argument prototype would still apply. */
10845 #ifdef __cplusplus
10846 extern "C"
10847 #endif
10848 char XRenderQueryExtension ();
10850 main ()
10852 return XRenderQueryExtension ();
10854 return 0;
10856 _ACEOF
10857 if ac_fn_c_try_link "$LINENO"; then :
10858 case "$LIBEXT" in
10859 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10860 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'` ;;
10861 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10862 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10863 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10864 fi ;;
10865 esac
10867 rm -f core conftest.err conftest.$ac_objext \
10868 conftest$ac_exeext conftest.$ac_ext
10869 LIBS=$ac_check_soname_save_LIBS
10871 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10873 $as_echo "not found" >&6; }
10875 else
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10877 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10879 cat >>confdefs.h <<_ACEOF
10880 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10881 _ACEOF
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10884 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10885 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10886 $as_echo_n "(cached) " >&6
10887 else
10888 ac_check_lib_save_LIBS=$LIBS
10889 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10893 /* Override any GCC internal prototype to avoid an error.
10894 Use char because int might match the return type of a GCC
10895 builtin and then its argument prototype would still apply. */
10896 #ifdef __cplusplus
10897 extern "C"
10898 #endif
10899 char XRenderSetPictureTransform ();
10901 main ()
10903 return XRenderSetPictureTransform ();
10905 return 0;
10907 _ACEOF
10908 if ac_fn_c_try_link "$LINENO"; then :
10909 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10910 else
10911 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10913 rm -f core conftest.err conftest.$ac_objext \
10914 conftest$ac_exeext conftest.$ac_ext
10915 LIBS=$ac_check_lib_save_LIBS
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10918 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10919 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10921 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10926 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10927 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10928 $as_echo_n "(cached) " >&6
10929 else
10930 ac_check_lib_save_LIBS=$LIBS
10931 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10933 /* end confdefs.h. */
10935 /* Override any GCC internal prototype to avoid an error.
10936 Use char because int might match the return type of a GCC
10937 builtin and then its argument prototype would still apply. */
10938 #ifdef __cplusplus
10939 extern "C"
10940 #endif
10941 char XRenderCreateLinearGradient ();
10943 main ()
10945 return XRenderCreateLinearGradient ();
10947 return 0;
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"; then :
10951 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10952 else
10953 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10955 rm -f core conftest.err conftest.$ac_objext \
10956 conftest$ac_exeext conftest.$ac_ext
10957 LIBS=$ac_check_lib_save_LIBS
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10960 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10961 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10963 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10970 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10971 case "x$with_xrender" in
10972 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10973 xno) ;;
10974 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10975 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10976 esac
10980 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10981 then
10982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10984 #include <X11/Xlib.h>
10985 #include <X11/extensions/Xrandr.h>
10987 main ()
10989 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10991 return 0;
10993 _ACEOF
10994 if ac_fn_c_try_compile "$LINENO"; then :
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10996 $as_echo_n "checking for -lXrandr... " >&6; }
10997 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10998 $as_echo_n "(cached) " >&6
10999 else
11000 ac_check_soname_save_LIBS=$LIBS
11001 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11005 /* Override any GCC internal prototype to avoid an error.
11006 Use char because int might match the return type of a GCC
11007 builtin and then its argument prototype would still apply. */
11008 #ifdef __cplusplus
11009 extern "C"
11010 #endif
11011 char XRRQueryExtension ();
11013 main ()
11015 return XRRQueryExtension ();
11017 return 0;
11019 _ACEOF
11020 if ac_fn_c_try_link "$LINENO"; then :
11021 case "$LIBEXT" in
11022 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11023 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'` ;;
11024 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11025 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11026 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11027 fi ;;
11028 esac
11030 rm -f core conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 LIBS=$ac_check_soname_save_LIBS
11034 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11036 $as_echo "not found" >&6; }
11038 else
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11040 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11042 cat >>confdefs.h <<_ACEOF
11043 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11044 _ACEOF
11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11048 #include <X11/Xlib.h>
11049 #include <X11/extensions/Xrandr.h>
11051 main ()
11053 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11055 return 0;
11057 _ACEOF
11058 if ac_fn_c_try_compile "$LINENO"; then :
11060 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11068 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11069 case "x$with_xrandr" in
11070 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11071 xno) ;;
11072 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11073 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11074 esac
11078 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11079 then
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11082 #include <X11/Xlib.h>
11083 #include <X11/extensions/Xfixes.h>
11085 main ()
11087 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11089 return 0;
11091 _ACEOF
11092 if ac_fn_c_try_compile "$LINENO"; then :
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11094 $as_echo_n "checking for -lXfixes... " >&6; }
11095 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11096 $as_echo_n "(cached) " >&6
11097 else
11098 ac_check_soname_save_LIBS=$LIBS
11099 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char XFixesQueryVersion ();
11111 main ()
11113 return XFixesQueryVersion ();
11115 return 0;
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119 case "$LIBEXT" in
11120 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11121 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'` ;;
11122 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11123 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11124 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11125 fi ;;
11126 esac
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_soname_save_LIBS
11132 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11134 $as_echo "not found" >&6; }
11136 else
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11138 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11140 cat >>confdefs.h <<_ACEOF
11141 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11142 _ACEOF
11147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11149 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11150 case "x$with_xfixes" in
11151 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11152 xno) ;;
11153 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11154 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11155 esac
11159 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11160 then
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11163 #include <X11/Xlib.h>
11164 #include <X11/extensions/Xinerama.h>
11166 main ()
11168 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11170 return 0;
11172 _ACEOF
11173 if ac_fn_c_try_compile "$LINENO"; then :
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11175 $as_echo_n "checking for -lXinerama... " >&6; }
11176 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11177 $as_echo_n "(cached) " >&6
11178 else
11179 ac_check_soname_save_LIBS=$LIBS
11180 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11184 /* Override any GCC internal prototype to avoid an error.
11185 Use char because int might match the return type of a GCC
11186 builtin and then its argument prototype would still apply. */
11187 #ifdef __cplusplus
11188 extern "C"
11189 #endif
11190 char XineramaQueryScreens ();
11192 main ()
11194 return XineramaQueryScreens ();
11196 return 0;
11198 _ACEOF
11199 if ac_fn_c_try_link "$LINENO"; then :
11200 case "$LIBEXT" in
11201 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11202 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'` ;;
11203 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11204 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11205 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11206 fi ;;
11207 esac
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS=$ac_check_soname_save_LIBS
11213 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11215 $as_echo "not found" >&6; }
11217 else
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11219 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11221 cat >>confdefs.h <<_ACEOF
11222 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11223 _ACEOF
11228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11230 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11231 case "x$with_xinerama" in
11232 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11233 xno) ;;
11234 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11235 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11236 esac
11240 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11241 then
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11243 $as_echo_n "checking for -lXcomposite... " >&6; }
11244 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11245 $as_echo_n "(cached) " >&6
11246 else
11247 ac_check_soname_save_LIBS=$LIBS
11248 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11252 /* Override any GCC internal prototype to avoid an error.
11253 Use char because int might match the return type of a GCC
11254 builtin and then its argument prototype would still apply. */
11255 #ifdef __cplusplus
11256 extern "C"
11257 #endif
11258 char XCompositeRedirectWindow ();
11260 main ()
11262 return XCompositeRedirectWindow ();
11264 return 0;
11266 _ACEOF
11267 if ac_fn_c_try_link "$LINENO"; then :
11268 case "$LIBEXT" in
11269 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11270 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'` ;;
11271 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11272 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11273 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11274 fi ;;
11275 esac
11277 rm -f core conftest.err conftest.$ac_objext \
11278 conftest$ac_exeext conftest.$ac_ext
11279 LIBS=$ac_check_soname_save_LIBS
11281 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11283 $as_echo "not found" >&6; }
11285 else
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11287 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11289 cat >>confdefs.h <<_ACEOF
11290 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11291 _ACEOF
11296 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11297 case "x$with_xcomposite" in
11298 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11299 xno) ;;
11300 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11301 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11302 esac
11306 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11307 #include <X11/Xlib.h>
11308 #endif
11310 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11312 cat >>confdefs.h <<_ACEOF
11313 #define HAVE_XICCALLBACK_CALLBACK 1
11314 _ACEOF
11318 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11319 #include <X11/Xlib.h>
11320 #endif
11322 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11324 cat >>confdefs.h <<_ACEOF
11325 #define HAVE_XEVENT_XCOOKIE 1
11326 _ACEOF
11333 opengl_msg=""
11334 if test "x$with_opengl" != "xno"
11335 then
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11337 $as_echo_n "checking for -lGL... " >&6; }
11338 if ${ac_cv_lib_soname_GL+:} false; then :
11339 $as_echo_n "(cached) " >&6
11340 else
11341 ac_check_soname_save_LIBS=$LIBS
11342 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11346 /* Override any GCC internal prototype to avoid an error.
11347 Use char because int might match the return type of a GCC
11348 builtin and then its argument prototype would still apply. */
11349 #ifdef __cplusplus
11350 extern "C"
11351 #endif
11352 char glXCreateContext ();
11354 main ()
11356 return glXCreateContext ();
11358 return 0;
11360 _ACEOF
11361 if ac_fn_c_try_link "$LINENO"; then :
11362 case "$LIBEXT" in
11363 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11364 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'` ;;
11365 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11366 if ${ac_cv_lib_soname_GL:+false} :; then :
11367 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11368 fi ;;
11369 esac
11371 rm -f core conftest.err conftest.$ac_objext \
11372 conftest$ac_exeext conftest.$ac_ext
11373 LIBS=$ac_check_soname_save_LIBS
11375 if ${ac_cv_lib_soname_GL:+false} :; then :
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11377 $as_echo "not found" >&6; }
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11379 $as_echo_n "checking for -lGL... " >&6; }
11380 if ${ac_cv_lib_soname_GL+:} false; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_soname_save_LIBS=$LIBS
11384 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"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11391 #ifdef __cplusplus
11392 extern "C"
11393 #endif
11394 char glXCreateContext ();
11396 main ()
11398 return glXCreateContext ();
11400 return 0;
11402 _ACEOF
11403 if ac_fn_c_try_link "$LINENO"; then :
11404 case "$LIBEXT" in
11405 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11406 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'` ;;
11407 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11408 if ${ac_cv_lib_soname_GL:+false} :; then :
11409 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11410 fi ;;
11411 esac
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_soname_save_LIBS
11417 if ${ac_cv_lib_soname_GL:+false} :; then :
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11419 $as_echo "not found" >&6; }
11420 if test -f /usr/X11R6/lib/libGL.a
11421 then
11422 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11423 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11424 else
11425 opengl_msg="No OpenGL library found on this system."
11427 else
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11429 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11431 cat >>confdefs.h <<_ACEOF
11432 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11433 _ACEOF
11435 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"
11437 else
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11439 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11441 cat >>confdefs.h <<_ACEOF
11442 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11443 _ACEOF
11445 OPENGL_LIBS="-lGL"
11447 if test "x$with_glu" != "xno"
11448 then
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11450 $as_echo_n "checking for -lGLU... " >&6; }
11451 if ${ac_cv_lib_soname_GLU+:} false; then :
11452 $as_echo_n "(cached) " >&6
11453 else
11454 ac_check_soname_save_LIBS=$LIBS
11455 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11457 /* end confdefs.h. */
11459 /* Override any GCC internal prototype to avoid an error.
11460 Use char because int might match the return type of a GCC
11461 builtin and then its argument prototype would still apply. */
11462 #ifdef __cplusplus
11463 extern "C"
11464 #endif
11465 char gluLookAt ();
11467 main ()
11469 return gluLookAt ();
11471 return 0;
11473 _ACEOF
11474 if ac_fn_c_try_link "$LINENO"; then :
11475 case "$LIBEXT" in
11476 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11477 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'` ;;
11478 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11479 if ${ac_cv_lib_soname_GLU:+false} :; then :
11480 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11481 fi ;;
11482 esac
11484 rm -f core conftest.err conftest.$ac_objext \
11485 conftest$ac_exeext conftest.$ac_ext
11486 LIBS=$ac_check_soname_save_LIBS
11488 if ${ac_cv_lib_soname_GLU:+false} :; then :
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11490 $as_echo "not found" >&6; }
11492 else
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11494 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11496 cat >>confdefs.h <<_ACEOF
11497 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11498 _ACEOF
11502 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11503 case "x$with_glu" in
11504 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11505 xno) ;;
11506 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11507 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11508 esac
11513 if test "x$with_osmesa" != "xno"
11514 then
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11516 $as_echo_n "checking for -lOSMesa... " >&6; }
11517 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11518 $as_echo_n "(cached) " >&6
11519 else
11520 ac_check_soname_save_LIBS=$LIBS
11521 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11525 /* Override any GCC internal prototype to avoid an error.
11526 Use char because int might match the return type of a GCC
11527 builtin and then its argument prototype would still apply. */
11528 #ifdef __cplusplus
11529 extern "C"
11530 #endif
11531 char OSMesaGetProcAddress ();
11533 main ()
11535 return OSMesaGetProcAddress ();
11537 return 0;
11539 _ACEOF
11540 if ac_fn_c_try_link "$LINENO"; then :
11541 case "$LIBEXT" in
11542 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11543 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'` ;;
11544 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11545 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11546 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11547 fi ;;
11548 esac
11550 rm -f core conftest.err conftest.$ac_objext \
11551 conftest$ac_exeext conftest.$ac_ext
11552 LIBS=$ac_check_soname_save_LIBS
11554 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11556 $as_echo "not found" >&6; }
11558 else
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11560 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11562 cat >>confdefs.h <<_ACEOF
11563 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11564 _ACEOF
11568 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11569 case "x$with_osmesa" in
11570 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11571 xno) ;;
11572 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11573 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11574 esac
11579 if test -n "$opengl_msg"; then :
11580 case "x$with_opengl" in
11581 x) as_fn_append wine_warnings "|$opengl_msg
11582 OpenGL and Direct3D won't be supported." ;;
11583 xno) ;;
11584 *) as_fn_error $? "$opengl_msg
11585 OpenGL and Direct3D won't be supported.
11586 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11587 esac
11591 CPPFLAGS="$ac_save_CPPFLAGS"
11592 else
11593 X_CFLAGS=""
11594 X_LIBS=""
11597 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11598 then
11599 if test "x$X_LIBS" = "x"; then :
11600 case "x$with_x" in
11601 xno) ;;
11602 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11603 without X support, which probably isn't what you want. You will need
11604 to install ${notice_platform}development packages of Xlib at the very least.
11605 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11606 esac
11607 enable_winex11_drv=${enable_winex11_drv:-no}
11609 else
11610 if test "x$X_LIBS" = "x"; then :
11611 case "x$with_x" in
11612 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11613 xno) ;;
11614 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11615 This is an error since --with-x was requested." "$LINENO" 5 ;;
11616 esac
11617 enable_winex11_drv=${enable_winex11_drv:-no}
11621 if test "$ac_cv_header_CL_cl_h" = "yes"
11622 then
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11624 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11625 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11626 $as_echo_n "(cached) " >&6
11627 else
11628 ac_check_lib_save_LIBS=$LIBS
11629 LIBS="-lOpenCL $LIBS"
11630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11631 /* end confdefs.h. */
11633 /* Override any GCC internal prototype to avoid an error.
11634 Use char because int might match the return type of a GCC
11635 builtin and then its argument prototype would still apply. */
11636 #ifdef __cplusplus
11637 extern "C"
11638 #endif
11639 char clGetPlatformInfo ();
11641 main ()
11643 return clGetPlatformInfo ();
11645 return 0;
11647 _ACEOF
11648 if ac_fn_c_try_link "$LINENO"; then :
11649 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11650 else
11651 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11653 rm -f core conftest.err conftest.$ac_objext \
11654 conftest$ac_exeext conftest.$ac_ext
11655 LIBS=$ac_check_lib_save_LIBS
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11658 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11659 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11660 OPENCL_LIBS="-lOpenCL"
11665 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11666 case "x$with_opencl" in
11667 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11668 xno) ;;
11669 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11670 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11671 esac
11672 enable_opencl=${enable_opencl:-no}
11675 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11676 then
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11678 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11679 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11680 $as_echo_n "(cached) " >&6
11681 else
11682 ac_check_lib_save_LIBS=$LIBS
11683 LIBS="-lpcap $LIBS"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11690 #ifdef __cplusplus
11691 extern "C"
11692 #endif
11693 char pcap_create ();
11695 main ()
11697 return pcap_create ();
11699 return 0;
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11703 ac_cv_lib_pcap_pcap_create=yes
11704 else
11705 ac_cv_lib_pcap_pcap_create=no
11707 rm -f core conftest.err conftest.$ac_objext \
11708 conftest$ac_exeext conftest.$ac_ext
11709 LIBS=$ac_check_lib_save_LIBS
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11712 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11713 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11714 PCAP_LIBS="-lpcap"
11719 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11720 case "x$with_pcap" in
11721 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11722 xno) ;;
11723 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11724 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11725 esac
11726 enable_wpcap=${enable_wpcap:-no}
11730 if test "x$with_xml" != "xno"
11731 then
11732 if ${XML2_CFLAGS:+false} :; then :
11733 if ${PKG_CONFIG+:} false; then :
11734 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11737 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11738 if ${XML2_LIBS:+false} :; then :
11739 if ${PKG_CONFIG+:} false; then :
11740 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11743 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11744 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11745 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11746 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11747 ac_save_CPPFLAGS=$CPPFLAGS
11748 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11749 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11750 do :
11751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11752 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11753 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11754 cat >>confdefs.h <<_ACEOF
11755 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11756 _ACEOF
11760 done
11762 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"
11763 then
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11765 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11766 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11767 $as_echo_n "(cached) " >&6
11768 else
11769 ac_check_lib_save_LIBS=$LIBS
11770 LIBS="-lxml2 $XML2_LIBS $LIBS"
11771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11772 /* end confdefs.h. */
11774 /* Override any GCC internal prototype to avoid an error.
11775 Use char because int might match the return type of a GCC
11776 builtin and then its argument prototype would still apply. */
11777 #ifdef __cplusplus
11778 extern "C"
11779 #endif
11780 char xmlParseMemory ();
11782 main ()
11784 return xmlParseMemory ();
11786 return 0;
11788 _ACEOF
11789 if ac_fn_c_try_link "$LINENO"; then :
11790 ac_cv_lib_xml2_xmlParseMemory=yes
11791 else
11792 ac_cv_lib_xml2_xmlParseMemory=no
11794 rm -f core conftest.err conftest.$ac_objext \
11795 conftest$ac_exeext conftest.$ac_ext
11796 LIBS=$ac_check_lib_save_LIBS
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11799 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11800 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11802 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11804 else
11805 XML2_LIBS=""
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11809 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11810 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11811 $as_echo_n "(cached) " >&6
11812 else
11813 ac_check_lib_save_LIBS=$LIBS
11814 LIBS="-lxml2 $XML2_LIBS $LIBS"
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11821 #ifdef __cplusplus
11822 extern "C"
11823 #endif
11824 char xmlReadMemory ();
11826 main ()
11828 return xmlReadMemory ();
11830 return 0;
11832 _ACEOF
11833 if ac_fn_c_try_link "$LINENO"; then :
11834 ac_cv_lib_xml2_xmlReadMemory=yes
11835 else
11836 ac_cv_lib_xml2_xmlReadMemory=no
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_lib_save_LIBS
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11843 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11844 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11846 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11851 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11852 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11853 $as_echo_n "(cached) " >&6
11854 else
11855 ac_check_lib_save_LIBS=$LIBS
11856 LIBS="-lxml2 $XML2_LIBS $LIBS"
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11860 /* Override any GCC internal prototype to avoid an error.
11861 Use char because int might match the return type of a GCC
11862 builtin and then its argument prototype would still apply. */
11863 #ifdef __cplusplus
11864 extern "C"
11865 #endif
11866 char xmlNewDocPI ();
11868 main ()
11870 return xmlNewDocPI ();
11872 return 0;
11874 _ACEOF
11875 if ac_fn_c_try_link "$LINENO"; then :
11876 ac_cv_lib_xml2_xmlNewDocPI=yes
11877 else
11878 ac_cv_lib_xml2_xmlNewDocPI=no
11880 rm -f core conftest.err conftest.$ac_objext \
11881 conftest$ac_exeext conftest.$ac_ext
11882 LIBS=$ac_check_lib_save_LIBS
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11885 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11886 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11888 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11893 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11894 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11895 $as_echo_n "(cached) " >&6
11896 else
11897 ac_check_lib_save_LIBS=$LIBS
11898 LIBS="-lxml2 $XML2_LIBS $LIBS"
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11905 #ifdef __cplusplus
11906 extern "C"
11907 #endif
11908 char xmlSchemaSetParserStructuredErrors ();
11910 main ()
11912 return xmlSchemaSetParserStructuredErrors ();
11914 return 0;
11916 _ACEOF
11917 if ac_fn_c_try_link "$LINENO"; then :
11918 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11919 else
11920 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11922 rm -f core conftest.err conftest.$ac_objext \
11923 conftest$ac_exeext conftest.$ac_ext
11924 LIBS=$ac_check_lib_save_LIBS
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11927 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11928 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11930 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11935 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11936 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11937 $as_echo_n "(cached) " >&6
11938 else
11939 ac_check_lib_save_LIBS=$LIBS
11940 LIBS="-lxml2 $XML2_LIBS $LIBS"
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11947 #ifdef __cplusplus
11948 extern "C"
11949 #endif
11950 char xmlSchemaSetValidStructuredErrors ();
11952 main ()
11954 return xmlSchemaSetValidStructuredErrors ();
11956 return 0;
11958 _ACEOF
11959 if ac_fn_c_try_link "$LINENO"; then :
11960 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11961 else
11962 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11964 rm -f core conftest.err conftest.$ac_objext \
11965 conftest$ac_exeext conftest.$ac_ext
11966 LIBS=$ac_check_lib_save_LIBS
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11969 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11970 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11972 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11977 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11978 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11979 $as_echo_n "(cached) " >&6
11980 else
11981 ac_check_lib_save_LIBS=$LIBS
11982 LIBS="-lxml2 $XML2_LIBS $LIBS"
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11986 /* Override any GCC internal prototype to avoid an error.
11987 Use char because int might match the return type of a GCC
11988 builtin and then its argument prototype would still apply. */
11989 #ifdef __cplusplus
11990 extern "C"
11991 #endif
11992 char xmlFirstElementChild ();
11994 main ()
11996 return xmlFirstElementChild ();
11998 return 0;
12000 _ACEOF
12001 if ac_fn_c_try_link "$LINENO"; then :
12002 ac_cv_lib_xml2_xmlFirstElementChild=yes
12003 else
12004 ac_cv_lib_xml2_xmlFirstElementChild=no
12006 rm -f core conftest.err conftest.$ac_objext \
12007 conftest$ac_exeext conftest.$ac_ext
12008 LIBS=$ac_check_lib_save_LIBS
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12011 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12012 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12014 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12018 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12020 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12022 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12026 else
12027 XML2_CFLAGS=""
12028 XML2_LIBS=""
12030 CPPFLAGS=$ac_save_CPPFLAGS
12031 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12032 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12035 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12036 case "x$with_xml" in
12037 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12038 xno) ;;
12039 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12040 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12041 esac
12045 if test "x$with_xslt" != "xno"
12046 then
12047 if ${XSLT_CFLAGS:+false} :; then :
12048 if ${PKG_CONFIG+:} false; then :
12049 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12052 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12053 if ${XSLT_LIBS:+false} :; then :
12054 if ${PKG_CONFIG+:} false; then :
12055 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12058 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12059 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12060 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12061 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12062 ac_save_CPPFLAGS=$CPPFLAGS
12063 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12064 for ac_header in libxslt/pattern.h libxslt/transform.h
12065 do :
12066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12067 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12068 # include <libxslt/pattern.h>
12069 #endif
12071 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12072 cat >>confdefs.h <<_ACEOF
12073 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12074 _ACEOF
12078 done
12080 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12081 then
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12083 $as_echo_n "checking for -lxslt... " >&6; }
12084 if ${ac_cv_lib_soname_xslt+:} false; then :
12085 $as_echo_n "(cached) " >&6
12086 else
12087 ac_check_soname_save_LIBS=$LIBS
12088 LIBS="-lxslt $XSLT_LIBS $LIBS"
12089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12090 /* end confdefs.h. */
12092 /* Override any GCC internal prototype to avoid an error.
12093 Use char because int might match the return type of a GCC
12094 builtin and then its argument prototype would still apply. */
12095 #ifdef __cplusplus
12096 extern "C"
12097 #endif
12098 char xsltCompilePattern ();
12100 main ()
12102 return xsltCompilePattern ();
12104 return 0;
12106 _ACEOF
12107 if ac_fn_c_try_link "$LINENO"; then :
12108 case "$LIBEXT" in
12109 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12110 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'` ;;
12111 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12112 if ${ac_cv_lib_soname_xslt:+false} :; then :
12113 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12114 fi ;;
12115 esac
12117 rm -f core conftest.err conftest.$ac_objext \
12118 conftest$ac_exeext conftest.$ac_ext
12119 LIBS=$ac_check_soname_save_LIBS
12121 if ${ac_cv_lib_soname_xslt:+false} :; then :
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12123 $as_echo "not found" >&6; }
12125 else
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12127 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12129 cat >>confdefs.h <<_ACEOF
12130 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12131 _ACEOF
12135 else
12136 XSLT_CFLAGS=""
12138 CPPFLAGS=$ac_save_CPPFLAGS
12139 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12140 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12143 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12144 case "x$with_xslt" in
12145 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12146 xno) ;;
12147 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12148 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12149 esac
12153 if test "x$with_dbus" != "xno"
12154 then
12155 if ${DBUS_CFLAGS:+false} :; then :
12156 if ${PKG_CONFIG+:} false; then :
12157 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12161 if ${DBUS_LIBS:+false} :; then :
12162 if ${PKG_CONFIG+:} false; then :
12163 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12168 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12169 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12170 ac_save_CPPFLAGS=$CPPFLAGS
12171 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12172 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12173 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12175 $as_echo_n "checking for -ldbus-1... " >&6; }
12176 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12177 $as_echo_n "(cached) " >&6
12178 else
12179 ac_check_soname_save_LIBS=$LIBS
12180 LIBS="-ldbus-1 $DBUS_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 dbus_connection_close ();
12192 main ()
12194 return dbus_connection_close ();
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_link "$LINENO"; then :
12200 case "$LIBEXT" in
12201 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12202 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'` ;;
12203 *) 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'`
12204 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12205 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12206 fi ;;
12207 esac
12209 rm -f core conftest.err conftest.$ac_objext \
12210 conftest$ac_exeext conftest.$ac_ext
12211 LIBS=$ac_check_soname_save_LIBS
12213 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12215 $as_echo "not found" >&6; }
12216 DBUS_CFLAGS=""
12217 else
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12219 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12221 cat >>confdefs.h <<_ACEOF
12222 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12223 _ACEOF
12227 else
12228 DBUS_CFLAGS=""
12232 CPPFLAGS=$ac_save_CPPFLAGS
12233 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12234 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12237 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12238 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12239 case "x$with_dbus" in
12240 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12241 xno) ;;
12242 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12243 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12244 esac
12248 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12249 then
12250 if ${HAL_CFLAGS:+false} :; then :
12251 if ${PKG_CONFIG+:} false; then :
12252 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12256 if ${HAL_LIBS:+false} :; then :
12257 if ${PKG_CONFIG+:} false; then :
12258 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12262 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12263 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12264 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12265 ac_save_CPPFLAGS=$CPPFLAGS
12266 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12267 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12268 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12270 $as_echo_n "checking for -lhal... " >&6; }
12271 if ${ac_cv_lib_soname_hal+:} false; then :
12272 $as_echo_n "(cached) " >&6
12273 else
12274 ac_check_soname_save_LIBS=$LIBS
12275 LIBS="-lhal $HAL_LIBS $LIBS"
12276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12282 #ifdef __cplusplus
12283 extern "C"
12284 #endif
12285 char libhal_ctx_new ();
12287 main ()
12289 return libhal_ctx_new ();
12291 return 0;
12293 _ACEOF
12294 if ac_fn_c_try_link "$LINENO"; then :
12295 case "$LIBEXT" in
12296 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12297 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'` ;;
12298 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12299 if ${ac_cv_lib_soname_hal:+false} :; then :
12300 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12301 fi ;;
12302 esac
12304 rm -f core conftest.err conftest.$ac_objext \
12305 conftest$ac_exeext conftest.$ac_ext
12306 LIBS=$ac_check_soname_save_LIBS
12308 if ${ac_cv_lib_soname_hal:+false} :; then :
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12310 $as_echo "not found" >&6; }
12311 HAL_CFLAGS=""
12312 else
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12314 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12316 cat >>confdefs.h <<_ACEOF
12317 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12318 _ACEOF
12322 else
12323 HAL_CFLAGS=""
12327 CPPFLAGS=$ac_save_CPPFLAGS
12328 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12329 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12331 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12332 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12333 case "x$with_hal" in
12334 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12335 xno) ;;
12336 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12337 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12338 esac
12343 if test "x$with_gnutls" != "xno"
12344 then
12345 if ${GNUTLS_CFLAGS:+false} :; then :
12346 if ${PKG_CONFIG+:} false; then :
12347 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12351 if ${GNUTLS_LIBS:+false} :; then :
12352 if ${PKG_CONFIG+:} false; then :
12353 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12358 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12359 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12360 ac_save_CPPFLAGS=$CPPFLAGS
12361 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12362 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12363 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12366 #include <gnutls/gnutls.h>
12367 #include <gnutls/crypto.h>
12369 main ()
12371 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_compile "$LINENO"; then :
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12378 $as_echo_n "checking for -lgnutls... " >&6; }
12379 if ${ac_cv_lib_soname_gnutls+:} false; then :
12380 $as_echo_n "(cached) " >&6
12381 else
12382 ac_check_soname_save_LIBS=$LIBS
12383 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12387 /* Override any GCC internal prototype to avoid an error.
12388 Use char because int might match the return type of a GCC
12389 builtin and then its argument prototype would still apply. */
12390 #ifdef __cplusplus
12391 extern "C"
12392 #endif
12393 char gnutls_global_init ();
12395 main ()
12397 return gnutls_global_init ();
12399 return 0;
12401 _ACEOF
12402 if ac_fn_c_try_link "$LINENO"; then :
12403 case "$LIBEXT" in
12404 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12405 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'` ;;
12406 *) 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'`
12407 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12408 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'`
12409 fi ;;
12410 esac
12412 rm -f core conftest.err conftest.$ac_objext \
12413 conftest$ac_exeext conftest.$ac_ext
12414 LIBS=$ac_check_soname_save_LIBS
12416 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12418 $as_echo "not found" >&6; }
12419 GNUTLS_CFLAGS=""
12420 else
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12422 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12424 cat >>confdefs.h <<_ACEOF
12425 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12426 _ACEOF
12430 ac_wine_check_funcs_save_LIBS="$LIBS"
12431 LIBS="$LIBS $GNUTLS_LIBS"
12432 for ac_func in gnutls_cipher_init
12433 do :
12434 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12435 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12436 cat >>confdefs.h <<_ACEOF
12437 #define HAVE_GNUTLS_CIPHER_INIT 1
12438 _ACEOF
12440 else
12441 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12443 done
12445 LIBS="$ac_wine_check_funcs_save_LIBS"
12447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12448 else
12449 GNUTLS_CFLAGS=""
12453 CPPFLAGS=$ac_save_CPPFLAGS
12454 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12455 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12458 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12459 case "x$with_gnutls" in
12460 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12461 xno) ;;
12462 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12463 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12464 esac
12468 CURSES_LIBS=""
12469 if test "$ac_cv_header_ncurses_h" = "yes"
12470 then
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12472 $as_echo_n "checking for -lncurses... " >&6; }
12473 if ${ac_cv_lib_soname_ncurses+:} false; then :
12474 $as_echo_n "(cached) " >&6
12475 else
12476 ac_check_soname_save_LIBS=$LIBS
12477 LIBS="-lncurses $LIBS"
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12481 /* Override any GCC internal prototype to avoid an error.
12482 Use char because int might match the return type of a GCC
12483 builtin and then its argument prototype would still apply. */
12484 #ifdef __cplusplus
12485 extern "C"
12486 #endif
12487 char waddch ();
12489 main ()
12491 return waddch ();
12493 return 0;
12495 _ACEOF
12496 if ac_fn_c_try_link "$LINENO"; then :
12497 case "$LIBEXT" in
12498 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12499 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'` ;;
12500 *) 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'`
12501 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12502 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12503 fi ;;
12504 esac
12506 rm -f core conftest.err conftest.$ac_objext \
12507 conftest$ac_exeext conftest.$ac_ext
12508 LIBS=$ac_check_soname_save_LIBS
12510 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12512 $as_echo "not found" >&6; }
12514 else
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12516 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12518 cat >>confdefs.h <<_ACEOF
12519 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12520 _ACEOF
12522 CURSES_LIBS="-lncurses"
12524 elif test "$ac_cv_header_curses_h" = "yes"
12525 then
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12527 $as_echo_n "checking for -lcurses... " >&6; }
12528 if ${ac_cv_lib_soname_curses+:} false; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 ac_check_soname_save_LIBS=$LIBS
12532 LIBS="-lcurses $LIBS"
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12539 #ifdef __cplusplus
12540 extern "C"
12541 #endif
12542 char waddch ();
12544 main ()
12546 return waddch ();
12548 return 0;
12550 _ACEOF
12551 if ac_fn_c_try_link "$LINENO"; then :
12552 case "$LIBEXT" in
12553 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12554 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'` ;;
12555 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12556 if ${ac_cv_lib_soname_curses:+false} :; then :
12557 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12558 fi ;;
12559 esac
12561 rm -f core conftest.err conftest.$ac_objext \
12562 conftest$ac_exeext conftest.$ac_ext
12563 LIBS=$ac_check_soname_save_LIBS
12565 if ${ac_cv_lib_soname_curses:+false} :; then :
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12567 $as_echo "not found" >&6; }
12569 else
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12571 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12573 cat >>confdefs.h <<_ACEOF
12574 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12575 _ACEOF
12577 CURSES_LIBS="-lcurses"
12580 ac_save_LIBS="$LIBS"
12581 LIBS="$LIBS $CURSES_LIBS"
12582 for ac_func in mousemask
12583 do :
12584 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12585 if test "x$ac_cv_func_mousemask" = xyes; then :
12586 cat >>confdefs.h <<_ACEOF
12587 #define HAVE_MOUSEMASK 1
12588 _ACEOF
12591 done
12593 LIBS="$ac_save_LIBS"
12594 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12595 case "x$with_curses" in
12596 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12597 xno) ;;
12598 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12599 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12600 esac
12604 if test "x$with_sane" != "xno"
12605 then
12606 if ${SANE_CFLAGS:+false} :; then :
12607 if ${PKG_CONFIG+:} false; then :
12608 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12611 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12612 if ${SANE_LIBS:+false} :; then :
12613 if ${PKG_CONFIG+:} false; then :
12614 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12617 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12619 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12620 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12621 ac_save_CPPFLAGS=$CPPFLAGS
12622 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12623 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12624 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12626 $as_echo_n "checking for -lsane... " >&6; }
12627 if ${ac_cv_lib_soname_sane+:} false; then :
12628 $as_echo_n "(cached) " >&6
12629 else
12630 ac_check_soname_save_LIBS=$LIBS
12631 LIBS="-lsane $SANE_LIBS $LIBS"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 /* Override any GCC internal prototype to avoid an error.
12636 Use char because int might match the return type of a GCC
12637 builtin and then its argument prototype would still apply. */
12638 #ifdef __cplusplus
12639 extern "C"
12640 #endif
12641 char sane_init ();
12643 main ()
12645 return sane_init ();
12647 return 0;
12649 _ACEOF
12650 if ac_fn_c_try_link "$LINENO"; then :
12651 case "$LIBEXT" in
12652 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12653 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'` ;;
12654 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12655 if ${ac_cv_lib_soname_sane:+false} :; then :
12656 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12657 fi ;;
12658 esac
12660 rm -f core conftest.err conftest.$ac_objext \
12661 conftest$ac_exeext conftest.$ac_ext
12662 LIBS=$ac_check_soname_save_LIBS
12664 if ${ac_cv_lib_soname_sane:+false} :; then :
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12666 $as_echo "not found" >&6; }
12667 SANE_CFLAGS=""
12668 else
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12670 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12672 cat >>confdefs.h <<_ACEOF
12673 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12674 _ACEOF
12678 else
12679 SANE_CFLAGS=""
12683 CPPFLAGS=$ac_save_CPPFLAGS
12684 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12685 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12688 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12689 case "x$with_sane" in
12690 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12691 xno) ;;
12692 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12693 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12694 esac
12698 if test "x$with_v4l" != "xno"
12699 then
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12701 $as_echo_n "checking for -lv4l1... " >&6; }
12702 if ${ac_cv_lib_soname_v4l1+:} false; then :
12703 $as_echo_n "(cached) " >&6
12704 else
12705 ac_check_soname_save_LIBS=$LIBS
12706 LIBS="-lv4l1 $LIBS"
12707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12708 /* end confdefs.h. */
12710 /* Override any GCC internal prototype to avoid an error.
12711 Use char because int might match the return type of a GCC
12712 builtin and then its argument prototype would still apply. */
12713 #ifdef __cplusplus
12714 extern "C"
12715 #endif
12716 char v4l1_open ();
12718 main ()
12720 return v4l1_open ();
12722 return 0;
12724 _ACEOF
12725 if ac_fn_c_try_link "$LINENO"; then :
12726 case "$LIBEXT" in
12727 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12728 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'` ;;
12729 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12730 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12731 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12732 fi ;;
12733 esac
12735 rm -f core conftest.err conftest.$ac_objext \
12736 conftest$ac_exeext conftest.$ac_ext
12737 LIBS=$ac_check_soname_save_LIBS
12739 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12741 $as_echo "not found" >&6; }
12743 else
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12745 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12747 cat >>confdefs.h <<_ACEOF
12748 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12749 _ACEOF
12754 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12755 case "x$with_v4l" in
12756 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12757 xno) ;;
12758 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12759 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12760 esac
12764 if test "x$with_gphoto" != "xno"
12765 then
12766 if ${GPHOTO2_CFLAGS:+false} :; then :
12767 if ${PKG_CONFIG+:} false; then :
12768 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12771 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12772 if ${GPHOTO2_LIBS:+false} :; then :
12773 if ${PKG_CONFIG+:} false; then :
12774 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12777 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12778 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12779 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12780 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12781 ac_save_CPPFLAGS=$CPPFLAGS
12782 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12783 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12784 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12786 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12787 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12788 $as_echo_n "(cached) " >&6
12789 else
12790 ac_check_lib_save_LIBS=$LIBS
12791 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12793 /* end confdefs.h. */
12795 /* Override any GCC internal prototype to avoid an error.
12796 Use char because int might match the return type of a GCC
12797 builtin and then its argument prototype would still apply. */
12798 #ifdef __cplusplus
12799 extern "C"
12800 #endif
12801 char gp_camera_new ();
12803 main ()
12805 return gp_camera_new ();
12807 return 0;
12809 _ACEOF
12810 if ac_fn_c_try_link "$LINENO"; then :
12811 ac_cv_lib_gphoto2_gp_camera_new=yes
12812 else
12813 ac_cv_lib_gphoto2_gp_camera_new=no
12815 rm -f core conftest.err conftest.$ac_objext \
12816 conftest$ac_exeext conftest.$ac_ext
12817 LIBS=$ac_check_lib_save_LIBS
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12820 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12821 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12823 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12825 else
12826 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12829 else
12830 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12834 CPPFLAGS=$ac_save_CPPFLAGS
12835 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12836 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12838 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12839 if ${PKG_CONFIG+:} false; then :
12840 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12843 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12844 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12845 if ${PKG_CONFIG+:} false; then :
12846 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12849 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12850 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12851 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12852 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12853 ac_save_CPPFLAGS=$CPPFLAGS
12854 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12855 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12856 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12858 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12859 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12860 $as_echo_n "(cached) " >&6
12861 else
12862 ac_check_lib_save_LIBS=$LIBS
12863 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 /* Override any GCC internal prototype to avoid an error.
12868 Use char because int might match the return type of a GCC
12869 builtin and then its argument prototype would still apply. */
12870 #ifdef __cplusplus
12871 extern "C"
12872 #endif
12873 char gp_port_info_list_new ();
12875 main ()
12877 return gp_port_info_list_new ();
12879 return 0;
12881 _ACEOF
12882 if ac_fn_c_try_link "$LINENO"; then :
12883 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12884 else
12885 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12887 rm -f core conftest.err conftest.$ac_objext \
12888 conftest$ac_exeext conftest.$ac_ext
12889 LIBS=$ac_check_lib_save_LIBS
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12892 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12893 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12895 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12897 else
12898 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12901 else
12902 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12906 CPPFLAGS=$ac_save_CPPFLAGS
12907 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12908 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12911 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12912 case "x$with_gphoto" in
12913 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12914 xno) ;;
12915 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12916 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12917 esac
12920 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12921 case "x$with_gphoto" in
12922 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12923 xno) ;;
12924 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12925 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12926 esac
12931 if test "$ac_cv_header_resolv_h" = "yes"
12932 then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12934 $as_echo_n "checking for resolver library... " >&6; }
12935 if ${ac_cv_have_resolv+:} false; then :
12936 $as_echo_n "(cached) " >&6
12937 else
12938 ac_save_LIBS="$LIBS"
12939 for lib in '' -lresolv
12941 LIBS="$lib $ac_save_LIBS"
12942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12943 /* end confdefs.h. */
12944 #ifdef HAVE_NETINET_IN_H
12945 #include <netinet/in.h>
12946 #endif
12947 #include <resolv.h>
12949 main ()
12951 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12953 return 0;
12955 _ACEOF
12956 if ac_fn_c_try_link "$LINENO"; then :
12957 ac_cv_have_resolv=${lib:-"none required"}
12958 else
12959 ac_cv_have_resolv="not found"
12961 rm -f core conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
12963 test "x$ac_cv_have_resolv" = "xnot found" || break
12964 done
12965 LIBS="$ac_save_LIBS"
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12968 $as_echo "$ac_cv_have_resolv" >&6; }
12970 case "$ac_cv_have_resolv" in
12971 "not found") ;;
12972 "none required")
12974 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12977 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12979 RESOLV_LIBS=$ac_cv_have_resolv
12981 esac
12984 if test "x$with_cms" != "xno"
12985 then
12986 if ${LCMS2_CFLAGS:+false} :; then :
12987 if ${PKG_CONFIG+:} false; then :
12988 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12992 if ${LCMS2_LIBS:+false} :; then :
12993 if ${PKG_CONFIG+:} false; then :
12994 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12998 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12999 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13000 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13001 ac_save_CPPFLAGS=$CPPFLAGS
13002 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13003 for ac_header in lcms2.h
13004 do :
13005 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13006 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13007 cat >>confdefs.h <<_ACEOF
13008 #define HAVE_LCMS2_H 1
13009 _ACEOF
13013 done
13015 if test "$ac_cv_header_lcms2_h" = "yes"
13016 then
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13018 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13019 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13020 $as_echo_n "(cached) " >&6
13021 else
13022 ac_check_lib_save_LIBS=$LIBS
13023 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13027 /* Override any GCC internal prototype to avoid an error.
13028 Use char because int might match the return type of a GCC
13029 builtin and then its argument prototype would still apply. */
13030 #ifdef __cplusplus
13031 extern "C"
13032 #endif
13033 char cmsOpenProfileFromFile ();
13035 main ()
13037 return cmsOpenProfileFromFile ();
13039 return 0;
13041 _ACEOF
13042 if ac_fn_c_try_link "$LINENO"; then :
13043 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13044 else
13045 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13047 rm -f core conftest.err conftest.$ac_objext \
13048 conftest$ac_exeext conftest.$ac_ext
13049 LIBS=$ac_check_lib_save_LIBS
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13052 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13053 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13055 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13057 else
13058 LCMS2_LIBS=""
13061 else
13062 LCMS2_CFLAGS=""
13063 LCMS2_LIBS=""
13065 CPPFLAGS=$ac_save_CPPFLAGS
13066 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13067 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13070 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13071 case "x$with_cms" in
13072 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13073 xno) ;;
13074 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13075 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13076 esac
13080 if test "x$with_freetype" != "xno"
13081 then
13082 if ${FREETYPE_CFLAGS:+false} :; then :
13083 if ${PKG_CONFIG+:} false; then :
13084 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13087 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13088 if ${FREETYPE_LIBS:+false} :; then :
13089 if ${PKG_CONFIG+:} false; then :
13090 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13093 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13094 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13095 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13096 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13097 ac_save_CPPFLAGS=$CPPFLAGS
13098 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13099 for ac_header in ft2build.h
13100 do :
13101 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13102 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13103 cat >>confdefs.h <<_ACEOF
13104 #define HAVE_FT2BUILD_H 1
13105 _ACEOF
13109 done
13111 if test "$ac_cv_header_ft2build_h" = "yes"
13112 then
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13114 $as_echo_n "checking for -lfreetype... " >&6; }
13115 if ${ac_cv_lib_soname_freetype+:} false; then :
13116 $as_echo_n "(cached) " >&6
13117 else
13118 ac_check_soname_save_LIBS=$LIBS
13119 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13123 /* Override any GCC internal prototype to avoid an error.
13124 Use char because int might match the return type of a GCC
13125 builtin and then its argument prototype would still apply. */
13126 #ifdef __cplusplus
13127 extern "C"
13128 #endif
13129 char FT_Init_FreeType ();
13131 main ()
13133 return FT_Init_FreeType ();
13135 return 0;
13137 _ACEOF
13138 if ac_fn_c_try_link "$LINENO"; then :
13139 case "$LIBEXT" in
13140 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13141 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'` ;;
13142 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13143 if ${ac_cv_lib_soname_freetype:+false} :; then :
13144 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13145 fi ;;
13146 esac
13148 rm -f core conftest.err conftest.$ac_objext \
13149 conftest$ac_exeext conftest.$ac_ext
13150 LIBS=$ac_check_soname_save_LIBS
13152 if ${ac_cv_lib_soname_freetype:+false} :; then :
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13154 $as_echo "not found" >&6; }
13155 FREETYPE_LIBS=""
13156 else
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13158 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13160 cat >>confdefs.h <<_ACEOF
13161 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13162 _ACEOF
13165 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13167 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13168 #include FT_MODULE_H
13170 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13172 cat >>confdefs.h <<_ACEOF
13173 #define HAVE_FT_TRUETYPEENGINETYPE 1
13174 _ACEOF
13180 else
13181 FREETYPE_CFLAGS=""
13182 FREETYPE_LIBS=""
13184 CPPFLAGS=$ac_save_CPPFLAGS
13185 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13186 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13189 if test "x$ac_cv_lib_soname_freetype" = x; then :
13190 case "x$with_freetype" in
13191 xno) ;;
13192 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13193 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13194 esac
13195 enable_fonts=${enable_fonts:-no}
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13199 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13200 if ${ac_cv_c_ppdev+:} false; then :
13201 $as_echo_n "(cached) " >&6
13202 else
13203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13205 #ifdef HAVE_SYS_IOCTL_H
13206 # include <sys/ioctl.h>
13207 #endif
13208 #include <linux/ppdev.h>
13210 main ()
13212 ioctl (1,PPCLAIM,0)
13214 return 0;
13216 _ACEOF
13217 if ac_fn_c_try_compile "$LINENO"; then :
13218 ac_cv_c_ppdev="yes"
13219 else
13220 ac_cv_c_ppdev="no"
13222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13225 $as_echo "$ac_cv_c_ppdev" >&6; }
13226 if test "$ac_cv_c_ppdev" = "yes"
13227 then
13229 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13233 ac_wine_check_funcs_save_LIBS="$LIBS"
13234 LIBS="$LIBS $PTHREAD_LIBS"
13235 for ac_func in \
13236 pthread_attr_get_np \
13237 pthread_getattr_np \
13238 pthread_getthreadid_np \
13239 pthread_get_stackaddr_np \
13240 pthread_get_stacksize_np
13241 do :
13242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13245 cat >>confdefs.h <<_ACEOF
13246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13247 _ACEOF
13250 done
13252 LIBS="$ac_wine_check_funcs_save_LIBS"
13254 if test "$ac_cv_header_zlib_h" = "yes"
13255 then
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13257 $as_echo_n "checking for inflate in -lz... " >&6; }
13258 if ${ac_cv_lib_z_inflate+:} false; then :
13259 $as_echo_n "(cached) " >&6
13260 else
13261 ac_check_lib_save_LIBS=$LIBS
13262 LIBS="-lz $LIBS"
13263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13266 /* Override any GCC internal prototype to avoid an error.
13267 Use char because int might match the return type of a GCC
13268 builtin and then its argument prototype would still apply. */
13269 #ifdef __cplusplus
13270 extern "C"
13271 #endif
13272 char inflate ();
13274 main ()
13276 return inflate ();
13278 return 0;
13280 _ACEOF
13281 if ac_fn_c_try_link "$LINENO"; then :
13282 ac_cv_lib_z_inflate=yes
13283 else
13284 ac_cv_lib_z_inflate=no
13286 rm -f core conftest.err conftest.$ac_objext \
13287 conftest$ac_exeext conftest.$ac_ext
13288 LIBS=$ac_check_lib_save_LIBS
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13291 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13292 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13294 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13296 Z_LIBS="-lz"
13301 if test "x$Z_LIBS" = "x"; then :
13302 case "x$with_zlib" in
13303 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13304 xno) ;;
13305 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13306 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13307 esac
13311 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13312 then
13313 if test "$ac_cv_header_gettext_po_h" = "yes"
13314 then
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13316 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13317 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13318 $as_echo_n "(cached) " >&6
13319 else
13320 ac_check_lib_save_LIBS=$LIBS
13321 LIBS="-lgettextpo $LIBS"
13322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13323 /* end confdefs.h. */
13325 /* Override any GCC internal prototype to avoid an error.
13326 Use char because int might match the return type of a GCC
13327 builtin and then its argument prototype would still apply. */
13328 #ifdef __cplusplus
13329 extern "C"
13330 #endif
13331 char po_message_msgctxt ();
13333 main ()
13335 return po_message_msgctxt ();
13337 return 0;
13339 _ACEOF
13340 if ac_fn_c_try_link "$LINENO"; then :
13341 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13342 else
13343 ac_cv_lib_gettextpo_po_message_msgctxt=no
13345 rm -f core conftest.err conftest.$ac_objext \
13346 conftest$ac_exeext conftest.$ac_ext
13347 LIBS=$ac_check_lib_save_LIBS
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13350 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13351 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13353 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13355 GETTEXTPO_LIBS="-lgettextpo"
13360 if test "x$GETTEXTPO_LIBS" = "x"; then :
13361 case "x$with_gettextpo" in
13362 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13363 xno) ;;
13364 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13365 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13366 esac
13369 if test "$srcdir" != .; then :
13370 case "x$with_gettextpo" in
13371 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13372 xno) ;;
13373 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13374 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13375 esac
13380 if test "x$with_pulse" != "xno";
13381 then
13382 if ${PULSE_CFLAGS:+false} :; then :
13383 if ${PKG_CONFIG+:} false; then :
13384 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13388 if ${PULSE_LIBS:+false} :; then :
13389 if ${PKG_CONFIG+:} false; then :
13390 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13395 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13396 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13397 ac_save_CPPFLAGS=$CPPFLAGS
13398 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13399 for ac_header in pulse/pulseaudio.h
13400 do :
13401 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13402 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13403 cat >>confdefs.h <<_ACEOF
13404 #define HAVE_PULSE_PULSEAUDIO_H 1
13405 _ACEOF
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13407 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13408 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13409 $as_echo_n "(cached) " >&6
13410 else
13411 ac_check_lib_save_LIBS=$LIBS
13412 LIBS="-lpulse $PULSE_LIBS $LIBS"
13413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13414 /* end confdefs.h. */
13416 /* Override any GCC internal prototype to avoid an error.
13417 Use char because int might match the return type of a GCC
13418 builtin and then its argument prototype would still apply. */
13419 #ifdef __cplusplus
13420 extern "C"
13421 #endif
13422 char pa_stream_is_corked ();
13424 main ()
13426 return pa_stream_is_corked ();
13428 return 0;
13430 _ACEOF
13431 if ac_fn_c_try_link "$LINENO"; then :
13432 ac_cv_lib_pulse_pa_stream_is_corked=yes
13433 else
13434 ac_cv_lib_pulse_pa_stream_is_corked=no
13436 rm -f core conftest.err conftest.$ac_objext \
13437 conftest$ac_exeext conftest.$ac_ext
13438 LIBS=$ac_check_lib_save_LIBS
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13441 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13442 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13444 else
13445 PULSE_LIBS=""
13448 else
13449 PULSE_LIBS=""
13452 done
13454 CPPFLAGS=$ac_save_CPPFLAGS
13455 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13456 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13459 if test -z "$PULSE_LIBS"; then :
13460 case "x$with_pulse" in
13461 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13462 xno) ;;
13463 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13464 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13465 esac
13466 enable_winepulse_drv=${enable_winepulse_drv:-no}
13469 if test "x$with_gstreamer" != "xno"
13470 then
13471 if ${GSTREAMER_CFLAGS:+false} :; then :
13472 if ${PKG_CONFIG+:} false; then :
13473 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13477 if ${GSTREAMER_LIBS:+false} :; then :
13478 if ${PKG_CONFIG+:} false; then :
13479 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13484 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13485 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13486 ac_save_CPPFLAGS=$CPPFLAGS
13487 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13488 ac_gst_incl=""
13489 for i in $GSTREAMER_CFLAGS
13491 case "$i" in
13492 -I*) ac_gst_incl="$ac_gst_incl $i";;
13493 esac
13494 done
13495 GSTREAMER_CFLAGS=$ac_gst_incl
13496 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13497 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13498 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13500 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13503 #include <gst/gst.h>
13505 main ()
13507 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13509 return 0;
13511 _ACEOF
13512 if ac_fn_c_try_compile "$LINENO"; then :
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13514 $as_echo "yes" >&6; }
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13516 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13517 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13518 $as_echo_n "(cached) " >&6
13519 else
13520 ac_check_lib_save_LIBS=$LIBS
13521 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13523 /* end confdefs.h. */
13525 /* Override any GCC internal prototype to avoid an error.
13526 Use char because int might match the return type of a GCC
13527 builtin and then its argument prototype would still apply. */
13528 #ifdef __cplusplus
13529 extern "C"
13530 #endif
13531 char gst_pad_new ();
13533 main ()
13535 return gst_pad_new ();
13537 return 0;
13539 _ACEOF
13540 if ac_fn_c_try_link "$LINENO"; then :
13541 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13542 else
13543 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13545 rm -f core conftest.err conftest.$ac_objext \
13546 conftest$ac_exeext conftest.$ac_ext
13547 LIBS=$ac_check_lib_save_LIBS
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13550 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13551 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13555 else
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13557 $as_echo "no" >&6; }
13558 ac_glib2_broken=yes
13559 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13565 CPPFLAGS=$ac_save_CPPFLAGS
13566 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13567 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13570 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 :
13571 case "x$with_gstreamer" in
13572 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13573 xno) ;;
13574 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13575 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13576 esac
13579 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13581 ALSA_LIBS=""
13583 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13584 then
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13586 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13587 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13588 $as_echo_n "(cached) " >&6
13589 else
13590 ac_check_lib_save_LIBS=$LIBS
13591 LIBS="-lasound $LIBS"
13592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13593 /* end confdefs.h. */
13595 /* Override any GCC internal prototype to avoid an error.
13596 Use char because int might match the return type of a GCC
13597 builtin and then its argument prototype would still apply. */
13598 #ifdef __cplusplus
13599 extern "C"
13600 #endif
13601 char snd_pcm_hw_params_get_access_mask ();
13603 main ()
13605 return snd_pcm_hw_params_get_access_mask ();
13607 return 0;
13609 _ACEOF
13610 if ac_fn_c_try_link "$LINENO"; then :
13611 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13612 else
13613 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13615 rm -f core conftest.err conftest.$ac_objext \
13616 conftest$ac_exeext conftest.$ac_ext
13617 LIBS=$ac_check_lib_save_LIBS
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13620 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13621 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 #ifdef HAVE_ALSA_ASOUNDLIB_H
13625 #include <alsa/asoundlib.h>
13626 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13627 #include <sys/asoundlib.h>
13628 #endif
13630 main ()
13632 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13634 return 0;
13636 _ACEOF
13637 if ac_fn_c_try_compile "$LINENO"; then :
13638 ALSA_LIBS="-lasound"
13640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13644 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13646 if test "x$with_oss" != xno
13647 then
13648 ac_save_CPPFLAGS="$CPPFLAGS"
13649 if test -f /etc/oss.conf
13650 then
13651 . /etc/oss.conf
13653 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13654 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13655 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13656 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13657 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13659 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13661 cat >>confdefs.h <<_ACEOF
13662 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13663 _ACEOF
13665 OSS4_CFLAGS="$ac_oss_incl"
13672 CPPFLAGS="$ac_save_CPPFLAGS"
13674 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13675 case "x$with_oss" in
13676 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13677 xno) ;;
13678 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13679 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13680 esac
13681 enable_wineoss_drv=${enable_wineoss_drv:-no}
13684 if test "x$with_udev" != "xno"
13685 then
13686 if ${UDEV_CFLAGS:+false} :; then :
13687 if ${PKG_CONFIG+:} false; then :
13688 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13692 if ${UDEV_LIBS:+false} :; then :
13693 if ${PKG_CONFIG+:} false; then :
13694 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13698 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13699 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13700 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13701 ac_save_CPPFLAGS=$CPPFLAGS
13702 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13703 for ac_header in libudev.h
13704 do :
13705 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13706 if test "x$ac_cv_header_libudev_h" = xyes; then :
13707 cat >>confdefs.h <<_ACEOF
13708 #define HAVE_LIBUDEV_H 1
13709 _ACEOF
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13711 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13712 if ${ac_cv_lib_udev_udev_new+:} false; then :
13713 $as_echo_n "(cached) " >&6
13714 else
13715 ac_check_lib_save_LIBS=$LIBS
13716 LIBS="-ludev $UDEV_LIBS $LIBS"
13717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13718 /* end confdefs.h. */
13720 /* Override any GCC internal prototype to avoid an error.
13721 Use char because int might match the return type of a GCC
13722 builtin and then its argument prototype would still apply. */
13723 #ifdef __cplusplus
13724 extern "C"
13725 #endif
13726 char udev_new ();
13728 main ()
13730 return udev_new ();
13732 return 0;
13734 _ACEOF
13735 if ac_fn_c_try_link "$LINENO"; then :
13736 ac_cv_lib_udev_udev_new=yes
13737 else
13738 ac_cv_lib_udev_udev_new=no
13740 rm -f core conftest.err conftest.$ac_objext \
13741 conftest$ac_exeext conftest.$ac_ext
13742 LIBS=$ac_check_lib_save_LIBS
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13745 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13746 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13748 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13750 else
13751 UDEV_LIBS=""
13754 else
13755 UDEV_LIBS=""
13758 done
13760 CPPFLAGS=$ac_save_CPPFLAGS
13761 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13762 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13765 if test "x$UDEV_LIBS" = "x"; then :
13766 case "x$with_udev" in
13767 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13768 xno) ;;
13769 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13770 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13771 esac
13775 if test "x$with_sdl" != "xno"
13776 then
13777 if ${SDL2_CFLAGS:+false} :; then :
13778 if ${PKG_CONFIG+:} false; then :
13779 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13783 if ${SDL2_LIBS:+false} :; then :
13784 if ${PKG_CONFIG+:} false; then :
13785 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13789 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13790 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13791 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13792 ac_save_CPPFLAGS=$CPPFLAGS
13793 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13794 for ac_header in SDL2/SDL.h
13795 do :
13796 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13797 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13798 cat >>confdefs.h <<_ACEOF
13799 #define HAVE_SDL2_SDL_H 1
13800 _ACEOF
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13802 $as_echo_n "checking for -lSDL2... " >&6; }
13803 if ${ac_cv_lib_soname_SDL2+:} false; then :
13804 $as_echo_n "(cached) " >&6
13805 else
13806 ac_check_soname_save_LIBS=$LIBS
13807 LIBS="-lSDL2 $LIBS"
13808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13811 /* Override any GCC internal prototype to avoid an error.
13812 Use char because int might match the return type of a GCC
13813 builtin and then its argument prototype would still apply. */
13814 #ifdef __cplusplus
13815 extern "C"
13816 #endif
13817 char SDL_Init ();
13819 main ()
13821 return SDL_Init ();
13823 return 0;
13825 _ACEOF
13826 if ac_fn_c_try_link "$LINENO"; then :
13827 case "$LIBEXT" in
13828 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13829 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'` ;;
13830 *) 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'`
13831 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13832 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13833 fi ;;
13834 esac
13836 rm -f core conftest.err conftest.$ac_objext \
13837 conftest$ac_exeext conftest.$ac_ext
13838 LIBS=$ac_check_soname_save_LIBS
13840 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13842 $as_echo "not found" >&6; }
13844 else
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13846 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13848 cat >>confdefs.h <<_ACEOF
13849 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13850 _ACEOF
13856 done
13858 CPPFLAGS=$ac_save_CPPFLAGS
13859 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13860 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13863 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13864 case "x$with_sdl" in
13865 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13866 xno) ;;
13867 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13868 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13869 esac
13873 if test "x$with_capi" != "xno"
13874 then
13875 if ${CAPI20_CFLAGS:+false} :; then :
13876 if ${PKG_CONFIG+:} false; then :
13877 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13881 if ${CAPI20_LIBS:+false} :; then :
13882 if ${PKG_CONFIG+:} false; then :
13883 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13888 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13889 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13890 ac_save_CPPFLAGS=$CPPFLAGS
13891 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13892 for ac_header in capi20.h linux/capi.h
13893 do :
13894 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13895 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13897 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13898 cat >>confdefs.h <<_ACEOF
13899 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13900 _ACEOF
13904 done
13906 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13907 then
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13909 $as_echo_n "checking for -lcapi20... " >&6; }
13910 if ${ac_cv_lib_soname_capi20+:} false; then :
13911 $as_echo_n "(cached) " >&6
13912 else
13913 ac_check_soname_save_LIBS=$LIBS
13914 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13918 /* Override any GCC internal prototype to avoid an error.
13919 Use char because int might match the return type of a GCC
13920 builtin and then its argument prototype would still apply. */
13921 #ifdef __cplusplus
13922 extern "C"
13923 #endif
13924 char capi20_register ();
13926 main ()
13928 return capi20_register ();
13930 return 0;
13932 _ACEOF
13933 if ac_fn_c_try_link "$LINENO"; then :
13934 case "$LIBEXT" in
13935 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13936 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'` ;;
13937 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13938 if ${ac_cv_lib_soname_capi20:+false} :; then :
13939 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13940 fi ;;
13941 esac
13943 rm -f core conftest.err conftest.$ac_objext \
13944 conftest$ac_exeext conftest.$ac_ext
13945 LIBS=$ac_check_soname_save_LIBS
13947 if ${ac_cv_lib_soname_capi20:+false} :; then :
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13949 $as_echo "not found" >&6; }
13951 else
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13953 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13955 cat >>confdefs.h <<_ACEOF
13956 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13957 _ACEOF
13962 CPPFLAGS=$ac_save_CPPFLAGS
13963 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13964 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13967 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13968 case "x$with_capi" in
13969 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13970 xno) ;;
13971 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13972 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13973 esac
13977 if test "x$with_cups" != "xno"
13978 then
13979 if ${CUPS_CFLAGS:+false} :; then :
13980 if ${PKG_CONFIG+:} false; then :
13981 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13984 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13985 if ${CUPS_LIBS:+false} :; then :
13986 if ${PKG_CONFIG+:} false; then :
13987 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13990 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13991 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13992 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13993 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13994 ac_save_CPPFLAGS=$CPPFLAGS
13995 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13996 for ac_header in cups/cups.h cups/ppd.h
13997 do :
13998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13999 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14000 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14001 cat >>confdefs.h <<_ACEOF
14002 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14003 _ACEOF
14007 done
14009 if test "$ac_cv_header_cups_cups_h" = "yes"
14010 then
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14012 $as_echo_n "checking for -lcups... " >&6; }
14013 if ${ac_cv_lib_soname_cups+:} false; then :
14014 $as_echo_n "(cached) " >&6
14015 else
14016 ac_check_soname_save_LIBS=$LIBS
14017 LIBS="-lcups $CUPS_LIBS $LIBS"
14018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14021 /* Override any GCC internal prototype to avoid an error.
14022 Use char because int might match the return type of a GCC
14023 builtin and then its argument prototype would still apply. */
14024 #ifdef __cplusplus
14025 extern "C"
14026 #endif
14027 char cupsGetDefault ();
14029 main ()
14031 return cupsGetDefault ();
14033 return 0;
14035 _ACEOF
14036 if ac_fn_c_try_link "$LINENO"; then :
14037 case "$LIBEXT" in
14038 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14039 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'` ;;
14040 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14041 if ${ac_cv_lib_soname_cups:+false} :; then :
14042 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14043 fi ;;
14044 esac
14046 rm -f core conftest.err conftest.$ac_objext \
14047 conftest$ac_exeext conftest.$ac_ext
14048 LIBS=$ac_check_soname_save_LIBS
14050 if ${ac_cv_lib_soname_cups:+false} :; then :
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14052 $as_echo "not found" >&6; }
14053 CUPS_LIBS=""
14054 else
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14056 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14058 cat >>confdefs.h <<_ACEOF
14059 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14060 _ACEOF
14064 else
14065 CUPS_CFLAGS=""
14066 CUPS_LIBS=""
14068 CPPFLAGS=$ac_save_CPPFLAGS
14069 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14070 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14073 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14074 case "x$with_cups" in
14075 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14076 xno) ;;
14077 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14078 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14079 esac
14083 if test "x$with_fontconfig" != "xno"
14084 then
14085 if ${FONTCONFIG_CFLAGS:+false} :; then :
14086 if ${PKG_CONFIG+:} false; then :
14087 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14090 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14091 if ${FONTCONFIG_LIBS:+false} :; then :
14092 if ${PKG_CONFIG+:} false; then :
14093 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14096 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14098 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14099 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14100 ac_save_CPPFLAGS=$CPPFLAGS
14101 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14102 for ac_header in fontconfig/fontconfig.h
14103 do :
14104 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14105 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14106 cat >>confdefs.h <<_ACEOF
14107 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14108 _ACEOF
14112 done
14114 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14115 then
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14117 $as_echo_n "checking for -lfontconfig... " >&6; }
14118 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14119 $as_echo_n "(cached) " >&6
14120 else
14121 ac_check_soname_save_LIBS=$LIBS
14122 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14126 /* Override any GCC internal prototype to avoid an error.
14127 Use char because int might match the return type of a GCC
14128 builtin and then its argument prototype would still apply. */
14129 #ifdef __cplusplus
14130 extern "C"
14131 #endif
14132 char FcInit ();
14134 main ()
14136 return FcInit ();
14138 return 0;
14140 _ACEOF
14141 if ac_fn_c_try_link "$LINENO"; then :
14142 case "$LIBEXT" in
14143 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14144 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'` ;;
14145 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14146 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14147 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14148 fi ;;
14149 esac
14151 rm -f core conftest.err conftest.$ac_objext \
14152 conftest$ac_exeext conftest.$ac_ext
14153 LIBS=$ac_check_soname_save_LIBS
14155 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14157 $as_echo "not found" >&6; }
14158 FONTCONFIG_CFLAGS=""
14159 else
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14161 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14163 cat >>confdefs.h <<_ACEOF
14164 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14165 _ACEOF
14169 else
14170 FONTCONFIG_CFLAGS=""
14172 CPPFLAGS=$ac_save_CPPFLAGS
14173 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14174 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14177 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14178 case "x$with_fontconfig" in
14179 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14180 xno) ;;
14181 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14182 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14183 esac
14187 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14188 then
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14190 $as_echo_n "checking for -lgsm... " >&6; }
14191 if ${ac_cv_lib_soname_gsm+:} false; then :
14192 $as_echo_n "(cached) " >&6
14193 else
14194 ac_check_soname_save_LIBS=$LIBS
14195 LIBS="-lgsm $LIBS"
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14199 /* Override any GCC internal prototype to avoid an error.
14200 Use char because int might match the return type of a GCC
14201 builtin and then its argument prototype would still apply. */
14202 #ifdef __cplusplus
14203 extern "C"
14204 #endif
14205 char gsm_create ();
14207 main ()
14209 return gsm_create ();
14211 return 0;
14213 _ACEOF
14214 if ac_fn_c_try_link "$LINENO"; then :
14215 case "$LIBEXT" in
14216 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14217 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'` ;;
14218 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14219 if ${ac_cv_lib_soname_gsm:+false} :; then :
14220 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14221 fi ;;
14222 esac
14224 rm -f core conftest.err conftest.$ac_objext \
14225 conftest$ac_exeext conftest.$ac_ext
14226 LIBS=$ac_check_soname_save_LIBS
14228 if ${ac_cv_lib_soname_gsm:+false} :; then :
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14230 $as_echo "not found" >&6; }
14232 else
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14234 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14236 cat >>confdefs.h <<_ACEOF
14237 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14238 _ACEOF
14243 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14244 case "x$with_gsm" in
14245 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14246 xno) ;;
14247 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14248 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14249 esac
14253 if test "x$with_krb5" != "xno"
14254 then
14255 if ${KRB5_CFLAGS:+false} :; then :
14256 if ${PKG_CONFIG+:} false; then :
14257 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14260 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14261 if ${KRB5_LIBS:+false} :; then :
14262 if ${PKG_CONFIG+:} false; then :
14263 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14266 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14268 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14269 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14270 ac_save_CPPFLAGS=$CPPFLAGS
14271 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14272 for ac_header in krb5/krb5.h
14273 do :
14274 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14275 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14276 cat >>confdefs.h <<_ACEOF
14277 #define HAVE_KRB5_KRB5_H 1
14278 _ACEOF
14282 done
14284 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14285 then
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14287 $as_echo_n "checking for -lkrb5... " >&6; }
14288 if ${ac_cv_lib_soname_krb5+:} false; then :
14289 $as_echo_n "(cached) " >&6
14290 else
14291 ac_check_soname_save_LIBS=$LIBS
14292 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14296 /* Override any GCC internal prototype to avoid an error.
14297 Use char because int might match the return type of a GCC
14298 builtin and then its argument prototype would still apply. */
14299 #ifdef __cplusplus
14300 extern "C"
14301 #endif
14302 char krb5_is_config_principal ();
14304 main ()
14306 return krb5_is_config_principal ();
14308 return 0;
14310 _ACEOF
14311 if ac_fn_c_try_link "$LINENO"; then :
14312 case "$LIBEXT" in
14313 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14314 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'` ;;
14315 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14316 if ${ac_cv_lib_soname_krb5:+false} :; then :
14317 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14318 fi ;;
14319 esac
14321 rm -f core conftest.err conftest.$ac_objext \
14322 conftest$ac_exeext conftest.$ac_ext
14323 LIBS=$ac_check_soname_save_LIBS
14325 if ${ac_cv_lib_soname_krb5:+false} :; then :
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14327 $as_echo "not found" >&6; }
14328 KRB5_CFLAGS=""
14329 else
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14331 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14333 cat >>confdefs.h <<_ACEOF
14334 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14335 _ACEOF
14339 else
14340 KRB5_CFLAGS=""
14342 CPPFLAGS=$ac_save_CPPFLAGS
14343 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14344 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14346 else
14347 with_gssapi=${with_gssapi:-no}
14349 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14350 case "x$with_krb5" in
14351 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14352 xno) ;;
14353 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14354 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14355 esac
14359 if test "x$with_gssapi" != "xno"
14360 then
14361 if ${GSSAPI_CFLAGS:+false} :; then :
14362 if ${PKG_CONFIG+:} false; then :
14363 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14366 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14367 if ${GSSAPI_LIBS:+false} :; then :
14368 if ${PKG_CONFIG+:} false; then :
14369 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14372 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14374 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14375 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14376 ac_save_CPPFLAGS=$CPPFLAGS
14377 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14378 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14379 do :
14380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14381 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14383 cat >>confdefs.h <<_ACEOF
14384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14385 _ACEOF
14389 done
14391 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14392 then
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14394 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14395 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14396 $as_echo_n "(cached) " >&6
14397 else
14398 ac_check_soname_save_LIBS=$LIBS
14399 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h. */
14403 /* Override any GCC internal prototype to avoid an error.
14404 Use char because int might match the return type of a GCC
14405 builtin and then its argument prototype would still apply. */
14406 #ifdef __cplusplus
14407 extern "C"
14408 #endif
14409 char gss_init_sec_context ();
14411 main ()
14413 return gss_init_sec_context ();
14415 return 0;
14417 _ACEOF
14418 if ac_fn_c_try_link "$LINENO"; then :
14419 case "$LIBEXT" in
14420 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14421 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'` ;;
14422 *) 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'`
14423 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14424 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14425 fi ;;
14426 esac
14428 rm -f core conftest.err conftest.$ac_objext \
14429 conftest$ac_exeext conftest.$ac_ext
14430 LIBS=$ac_check_soname_save_LIBS
14432 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14434 $as_echo "not found" >&6; }
14435 GSSAPI_CFLAGS=""
14436 else
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14438 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14440 cat >>confdefs.h <<_ACEOF
14441 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14442 _ACEOF
14446 else
14447 GSSAPI_CFLAGS=""
14449 CPPFLAGS=$ac_save_CPPFLAGS
14450 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14451 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14454 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14455 case "x$with_gssapi" in
14456 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14457 xno) ;;
14458 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14459 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14460 esac
14464 if test "x$with_jpeg" != "xno"
14465 then
14466 if ${JPEG_CFLAGS:+false} :; then :
14467 if ${PKG_CONFIG+:} false; then :
14468 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14472 if ${JPEG_LIBS:+false} :; then :
14473 if ${PKG_CONFIG+:} false; then :
14474 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14479 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14480 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14481 ac_save_CPPFLAGS=$CPPFLAGS
14482 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14483 for ac_header in jpeglib.h
14484 do :
14485 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14486 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14487 cat >>confdefs.h <<_ACEOF
14488 #define HAVE_JPEGLIB_H 1
14489 _ACEOF
14493 done
14495 if test "$ac_cv_header_jpeglib_h" = "yes"
14496 then
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14498 $as_echo_n "checking for -ljpeg... " >&6; }
14499 if ${ac_cv_lib_soname_jpeg+:} false; then :
14500 $as_echo_n "(cached) " >&6
14501 else
14502 ac_check_soname_save_LIBS=$LIBS
14503 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14507 /* Override any GCC internal prototype to avoid an error.
14508 Use char because int might match the return type of a GCC
14509 builtin and then its argument prototype would still apply. */
14510 #ifdef __cplusplus
14511 extern "C"
14512 #endif
14513 char jpeg_start_decompress ();
14515 main ()
14517 return jpeg_start_decompress ();
14519 return 0;
14521 _ACEOF
14522 if ac_fn_c_try_link "$LINENO"; then :
14523 case "$LIBEXT" in
14524 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14525 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'` ;;
14526 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14527 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14528 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14529 fi ;;
14530 esac
14532 rm -f core conftest.err conftest.$ac_objext \
14533 conftest$ac_exeext conftest.$ac_ext
14534 LIBS=$ac_check_soname_save_LIBS
14536 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14538 $as_echo "not found" >&6; }
14539 JPEG_CFLAGS=""
14540 else
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14542 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14544 cat >>confdefs.h <<_ACEOF
14545 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14546 _ACEOF
14550 else
14551 JPEG_CFLAGS=""
14553 CPPFLAGS=$ac_save_CPPFLAGS
14554 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14555 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14558 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14559 case "x$with_jpeg" in
14560 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14561 xno) ;;
14562 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14563 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14564 esac
14568 if test "x$with_png" != "xno"
14569 then
14570 if ${PNG_CFLAGS:+false} :; then :
14571 if ${PKG_CONFIG+:} false; then :
14572 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14575 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14576 if ${PNG_LIBS:+false} :; then :
14577 if ${PKG_CONFIG+:} false; then :
14578 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14581 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14583 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14584 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14585 ac_save_CPPFLAGS=$CPPFLAGS
14586 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14587 for ac_header in png.h
14588 do :
14589 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14590 if test "x$ac_cv_header_png_h" = xyes; then :
14591 cat >>confdefs.h <<_ACEOF
14592 #define HAVE_PNG_H 1
14593 _ACEOF
14597 done
14599 if test "$ac_cv_header_png_h" = "yes"
14600 then
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14602 $as_echo_n "checking for -lpng... " >&6; }
14603 if ${ac_cv_lib_soname_png+:} false; then :
14604 $as_echo_n "(cached) " >&6
14605 else
14606 ac_check_soname_save_LIBS=$LIBS
14607 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14611 /* Override any GCC internal prototype to avoid an error.
14612 Use char because int might match the return type of a GCC
14613 builtin and then its argument prototype would still apply. */
14614 #ifdef __cplusplus
14615 extern "C"
14616 #endif
14617 char png_create_read_struct ();
14619 main ()
14621 return png_create_read_struct ();
14623 return 0;
14625 _ACEOF
14626 if ac_fn_c_try_link "$LINENO"; then :
14627 case "$LIBEXT" in
14628 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14629 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'` ;;
14630 *) 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'`
14631 if ${ac_cv_lib_soname_png:+false} :; then :
14632 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14633 fi ;;
14634 esac
14636 rm -f core conftest.err conftest.$ac_objext \
14637 conftest$ac_exeext conftest.$ac_ext
14638 LIBS=$ac_check_soname_save_LIBS
14640 if ${ac_cv_lib_soname_png:+false} :; then :
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14642 $as_echo "not found" >&6; }
14643 PNG_CFLAGS=""
14644 else
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14646 $as_echo "$ac_cv_lib_soname_png" >&6; }
14648 cat >>confdefs.h <<_ACEOF
14649 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14650 _ACEOF
14654 else
14655 PNG_CFLAGS=""
14657 CPPFLAGS=$ac_save_CPPFLAGS
14658 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14659 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14662 if test "x$ac_cv_lib_soname_png" = "x"; then :
14663 case "x$with_png" in
14664 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14665 xno) ;;
14666 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14667 This is an error since --with-png was requested." "$LINENO" 5 ;;
14668 esac
14672 if test "x$with_tiff" != "xno"
14673 then
14674 if ${TIFF_CFLAGS:+false} :; then :
14675 if ${PKG_CONFIG+:} false; then :
14676 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14680 if ${TIFF_LIBS:+false} :; then :
14681 if ${PKG_CONFIG+:} false; then :
14682 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14687 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14688 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14689 ac_save_CPPFLAGS=$CPPFLAGS
14690 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14691 for ac_header in tiffio.h
14692 do :
14693 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14694 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14695 cat >>confdefs.h <<_ACEOF
14696 #define HAVE_TIFFIO_H 1
14697 _ACEOF
14701 done
14703 if test "$ac_cv_header_tiffio_h" = "yes"
14704 then
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14706 $as_echo_n "checking for -ltiff... " >&6; }
14707 if ${ac_cv_lib_soname_tiff+:} false; then :
14708 $as_echo_n "(cached) " >&6
14709 else
14710 ac_check_soname_save_LIBS=$LIBS
14711 LIBS="-ltiff $TIFF_LIBS $LIBS"
14712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14715 /* Override any GCC internal prototype to avoid an error.
14716 Use char because int might match the return type of a GCC
14717 builtin and then its argument prototype would still apply. */
14718 #ifdef __cplusplus
14719 extern "C"
14720 #endif
14721 char TIFFClientOpen ();
14723 main ()
14725 return TIFFClientOpen ();
14727 return 0;
14729 _ACEOF
14730 if ac_fn_c_try_link "$LINENO"; then :
14731 case "$LIBEXT" in
14732 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14733 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'` ;;
14734 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14735 if ${ac_cv_lib_soname_tiff:+false} :; then :
14736 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14737 fi ;;
14738 esac
14740 rm -f core conftest.err conftest.$ac_objext \
14741 conftest$ac_exeext conftest.$ac_ext
14742 LIBS=$ac_check_soname_save_LIBS
14744 if ${ac_cv_lib_soname_tiff:+false} :; then :
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14746 $as_echo "not found" >&6; }
14748 else
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14750 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14752 cat >>confdefs.h <<_ACEOF
14753 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14754 _ACEOF
14759 CPPFLAGS=$ac_save_CPPFLAGS
14760 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14761 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14764 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14765 case "x$with_tiff" in
14766 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14767 xno) ;;
14768 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14769 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14770 esac
14774 if test "x$with_mpg123" != "xno"
14775 then
14776 if ${MPG123_CFLAGS:+false} :; then :
14777 if ${PKG_CONFIG+:} false; then :
14778 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14782 if ${MPG123_LIBS:+false} :; then :
14783 if ${PKG_CONFIG+:} false; then :
14784 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14788 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14789 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14790 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14791 ac_save_CPPFLAGS=$CPPFLAGS
14792 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14793 for ac_header in mpg123.h
14794 do :
14795 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14796 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14797 cat >>confdefs.h <<_ACEOF
14798 #define HAVE_MPG123_H 1
14799 _ACEOF
14803 done
14805 if test "$ac_cv_header_mpg123_h" = "yes"
14806 then
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14808 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14809 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 ac_check_lib_save_LIBS=$LIBS
14813 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14817 /* Override any GCC internal prototype to avoid an error.
14818 Use char because int might match the return type of a GCC
14819 builtin and then its argument prototype would still apply. */
14820 #ifdef __cplusplus
14821 extern "C"
14822 #endif
14823 char mpg123_feed ();
14825 main ()
14827 return mpg123_feed ();
14829 return 0;
14831 _ACEOF
14832 if ac_fn_c_try_link "$LINENO"; then :
14833 ac_cv_lib_mpg123_mpg123_feed=yes
14834 else
14835 ac_cv_lib_mpg123_mpg123_feed=no
14837 rm -f core conftest.err conftest.$ac_objext \
14838 conftest$ac_exeext conftest.$ac_ext
14839 LIBS=$ac_check_lib_save_LIBS
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14842 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14843 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14845 else
14846 MPG123_LIBS=""
14849 else
14850 MPG123_CFLAGS=""
14851 MPG123_LIBS=""
14853 CPPFLAGS=$ac_save_CPPFLAGS
14854 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14855 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14858 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14859 case "x$with_mpg123" in
14860 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14861 xno) ;;
14862 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14863 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14864 esac
14865 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14867 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14869 if test "$ac_cv_header_AL_al_h" = "yes"
14870 then
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14872 $as_echo_n "checking for -lopenal... " >&6; }
14873 if ${ac_cv_lib_soname_openal+:} false; then :
14874 $as_echo_n "(cached) " >&6
14875 else
14876 ac_check_soname_save_LIBS=$LIBS
14877 LIBS="-lopenal $LIBS"
14878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14881 /* Override any GCC internal prototype to avoid an error.
14882 Use char because int might match the return type of a GCC
14883 builtin and then its argument prototype would still apply. */
14884 #ifdef __cplusplus
14885 extern "C"
14886 #endif
14887 char alGetSource3i ();
14889 main ()
14891 return alGetSource3i ();
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_link "$LINENO"; then :
14897 case "$LIBEXT" in
14898 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14899 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'` ;;
14900 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14901 if ${ac_cv_lib_soname_openal:+false} :; then :
14902 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14903 fi ;;
14904 esac
14906 rm -f core conftest.err conftest.$ac_objext \
14907 conftest$ac_exeext conftest.$ac_ext
14908 LIBS=$ac_check_soname_save_LIBS
14910 if ${ac_cv_lib_soname_openal:+false} :; then :
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14912 $as_echo "not found" >&6; }
14914 else
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14916 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14918 cat >>confdefs.h <<_ACEOF
14919 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14920 _ACEOF
14922 OPENAL_LIBS="-lopenal"
14924 ac_cv_lib_openal=yes
14926 cat >>confdefs.h <<_ACEOF
14927 #define HAVE_OPENAL 1
14928 _ACEOF
14932 if test "x$ac_cv_lib_openal" != xyes; then :
14933 case "x$with_openal" in
14934 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14935 xno) ;;
14936 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14937 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14938 esac
14939 enable_openal32=${enable_openal32:-no}
14942 if test "x$ac_cv_lib_openal" = xyes
14943 then
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14945 $as_echo_n "checking for openal-soft... " >&6; }
14946 if ${ac_cv_have_openalsoft+:} false; then :
14947 $as_echo_n "(cached) " >&6
14948 else
14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14951 #include <AL/al.h>
14952 #include <AL/alc.h>
14953 #include <AL/alext.h>
14954 LPALCRENDERSAMPLESSOFT x;
14956 main ()
14960 return 0;
14962 _ACEOF
14963 if ac_fn_c_try_compile "$LINENO"; then :
14964 ac_cv_have_openalsoft=yes
14965 else
14966 ac_cv_have_openalsoft=no
14968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14971 $as_echo "$ac_cv_have_openalsoft" >&6; }
14973 if test "x$ac_cv_have_openalsoft" != xyes
14974 then
14975 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14976 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14977 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14978 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14979 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14980 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14981 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14982 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14983 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14984 enable_xapofx1_1=${enable_xapofx1_1:-no}
14985 enable_xapofx1_2=${enable_xapofx1_2:-no}
14986 enable_xapofx1_3=${enable_xapofx1_3:-no}
14987 enable_xapofx1_4=${enable_xapofx1_4:-no}
14988 enable_xapofx1_5=${enable_xapofx1_5:-no}
14989 enable_xaudio2_0=${enable_xaudio2_0:-no}
14990 enable_xaudio2_1=${enable_xaudio2_1:-no}
14991 enable_xaudio2_2=${enable_xaudio2_2:-no}
14992 enable_xaudio2_3=${enable_xaudio2_3:-no}
14993 enable_xaudio2_4=${enable_xaudio2_4:-no}
14994 enable_xaudio2_5=${enable_xaudio2_5:-no}
14995 enable_xaudio2_6=${enable_xaudio2_6:-no}
14996 enable_xaudio2_7=${enable_xaudio2_7:-no}
14997 enable_xaudio2_8=${enable_xaudio2_8:-no}
14998 enable_xaudio2_9=${enable_xaudio2_9:-no}
15001 if test "$ac_cv_header_kstat_h" = "yes"
15002 then
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15004 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15005 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15006 $as_echo_n "(cached) " >&6
15007 else
15008 ac_check_lib_save_LIBS=$LIBS
15009 LIBS="-lkstat $LIBS"
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15013 /* Override any GCC internal prototype to avoid an error.
15014 Use char because int might match the return type of a GCC
15015 builtin and then its argument prototype would still apply. */
15016 #ifdef __cplusplus
15017 extern "C"
15018 #endif
15019 char kstat_open ();
15021 main ()
15023 return kstat_open ();
15025 return 0;
15027 _ACEOF
15028 if ac_fn_c_try_link "$LINENO"; then :
15029 ac_cv_lib_kstat_kstat_open=yes
15030 else
15031 ac_cv_lib_kstat_kstat_open=no
15033 rm -f core conftest.err conftest.$ac_objext \
15034 conftest$ac_exeext conftest.$ac_ext
15035 LIBS=$ac_check_lib_save_LIBS
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15038 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15039 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15041 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15043 KSTAT_LIBS="-lkstat"
15049 if test "$ac_cv_header_libprocstat_h" = "yes"
15050 then
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15052 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15053 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15054 $as_echo_n "(cached) " >&6
15055 else
15056 ac_check_lib_save_LIBS=$LIBS
15057 LIBS="-lprocstat $LIBS"
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15061 /* Override any GCC internal prototype to avoid an error.
15062 Use char because int might match the return type of a GCC
15063 builtin and then its argument prototype would still apply. */
15064 #ifdef __cplusplus
15065 extern "C"
15066 #endif
15067 char procstat_open_sysctl ();
15069 main ()
15071 return procstat_open_sysctl ();
15073 return 0;
15075 _ACEOF
15076 if ac_fn_c_try_link "$LINENO"; then :
15077 ac_cv_lib_procstat_procstat_open_sysctl=yes
15078 else
15079 ac_cv_lib_procstat_procstat_open_sysctl=no
15081 rm -f core conftest.err conftest.$ac_objext \
15082 conftest$ac_exeext conftest.$ac_ext
15083 LIBS=$ac_check_lib_save_LIBS
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15086 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15087 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15089 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15091 PROCSTAT_LIBS="-lprocstat"
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15098 $as_echo_n "checking for -lodbc... " >&6; }
15099 if ${ac_cv_lib_soname_odbc+:} false; then :
15100 $as_echo_n "(cached) " >&6
15101 else
15102 ac_check_soname_save_LIBS=$LIBS
15103 LIBS="-lodbc $LIBS"
15104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15107 /* Override any GCC internal prototype to avoid an error.
15108 Use char because int might match the return type of a GCC
15109 builtin and then its argument prototype would still apply. */
15110 #ifdef __cplusplus
15111 extern "C"
15112 #endif
15113 char SQLConnect ();
15115 main ()
15117 return SQLConnect ();
15119 return 0;
15121 _ACEOF
15122 if ac_fn_c_try_link "$LINENO"; then :
15123 case "$LIBEXT" in
15124 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15125 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'` ;;
15126 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15127 if ${ac_cv_lib_soname_odbc:+false} :; then :
15128 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15129 fi ;;
15130 esac
15132 rm -f core conftest.err conftest.$ac_objext \
15133 conftest$ac_exeext conftest.$ac_ext
15134 LIBS=$ac_check_soname_save_LIBS
15136 if ${ac_cv_lib_soname_odbc:+false} :; then :
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15138 $as_echo "not found" >&6; }
15139 cat >>confdefs.h <<_ACEOF
15140 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15141 _ACEOF
15143 else
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15145 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15147 cat >>confdefs.h <<_ACEOF
15148 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15149 _ACEOF
15154 if test "x$with_netapi" != "xno"
15155 then
15156 if ${NETAPI_CFLAGS:+false} :; then :
15157 if ${PKG_CONFIG+:} false; then :
15158 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15162 if ${NETAPI_LIBS:+false} :; then :
15163 if ${PKG_CONFIG+:} false; then :
15164 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15169 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15170 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15171 ac_save_CPPFLAGS=$CPPFLAGS
15172 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15174 $as_echo_n "checking for -lnetapi... " >&6; }
15175 if ${ac_cv_lib_soname_netapi+:} false; then :
15176 $as_echo_n "(cached) " >&6
15177 else
15178 ac_check_soname_save_LIBS=$LIBS
15179 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15186 #ifdef __cplusplus
15187 extern "C"
15188 #endif
15189 char libnetapi_init ();
15191 main ()
15193 return libnetapi_init ();
15195 return 0;
15197 _ACEOF
15198 if ac_fn_c_try_link "$LINENO"; then :
15199 case "$LIBEXT" in
15200 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15201 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'` ;;
15202 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15203 if ${ac_cv_lib_soname_netapi:+false} :; then :
15204 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15205 fi ;;
15206 esac
15208 rm -f core conftest.err conftest.$ac_objext \
15209 conftest$ac_exeext conftest.$ac_ext
15210 LIBS=$ac_check_soname_save_LIBS
15212 if ${ac_cv_lib_soname_netapi:+false} :; then :
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15214 $as_echo "not found" >&6; }
15215 cat >>confdefs.h <<_ACEOF
15216 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15217 _ACEOF
15219 else
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15221 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15223 cat >>confdefs.h <<_ACEOF
15224 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15225 _ACEOF
15229 CPPFLAGS=$ac_save_CPPFLAGS
15230 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15231 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15235 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15236 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15237 then
15238 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15241 if test "x$with_vulkan" != "xno"
15242 then
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15244 $as_echo_n "checking for -lvulkan... " >&6; }
15245 if ${ac_cv_lib_soname_vulkan+:} false; then :
15246 $as_echo_n "(cached) " >&6
15247 else
15248 ac_check_soname_save_LIBS=$LIBS
15249 LIBS="-lvulkan $LIBS"
15250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15253 /* Override any GCC internal prototype to avoid an error.
15254 Use char because int might match the return type of a GCC
15255 builtin and then its argument prototype would still apply. */
15256 #ifdef __cplusplus
15257 extern "C"
15258 #endif
15259 char vkGetInstanceProcAddr ();
15261 main ()
15263 return vkGetInstanceProcAddr ();
15265 return 0;
15267 _ACEOF
15268 if ac_fn_c_try_link "$LINENO"; then :
15269 case "$LIBEXT" in
15270 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15271 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'` ;;
15272 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15273 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15274 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15275 fi ;;
15276 esac
15278 rm -f core conftest.err conftest.$ac_objext \
15279 conftest$ac_exeext conftest.$ac_ext
15280 LIBS=$ac_check_soname_save_LIBS
15282 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15284 $as_echo "not found" >&6; }
15286 else
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15288 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15290 cat >>confdefs.h <<_ACEOF
15291 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15292 _ACEOF
15296 if test "x$ac_cv_lib_soname_vulkan" = "x"
15297 then
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15299 $as_echo_n "checking for -lMoltenVK... " >&6; }
15300 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15303 ac_check_soname_save_LIBS=$LIBS
15304 LIBS="-lMoltenVK $LIBS"
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15308 /* Override any GCC internal prototype to avoid an error.
15309 Use char because int might match the return type of a GCC
15310 builtin and then its argument prototype would still apply. */
15311 #ifdef __cplusplus
15312 extern "C"
15313 #endif
15314 char vkGetInstanceProcAddr ();
15316 main ()
15318 return vkGetInstanceProcAddr ();
15320 return 0;
15322 _ACEOF
15323 if ac_fn_c_try_link "$LINENO"; then :
15324 case "$LIBEXT" in
15325 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15326 dylib) ac_cv_lib_soname_MoltenVK=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15327 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15328 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15329 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15330 fi ;;
15331 esac
15333 rm -f core conftest.err conftest.$ac_objext \
15334 conftest$ac_exeext conftest.$ac_ext
15335 LIBS=$ac_check_soname_save_LIBS
15337 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15339 $as_echo "not found" >&6; }
15341 else
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15343 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15345 cat >>confdefs.h <<_ACEOF
15346 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15347 _ACEOF
15353 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15354 case "x$with_vulkan" in
15355 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15356 xno) ;;
15357 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15358 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15359 esac
15363 if test "x$with_vkd3d" != "xno"
15364 then
15365 if ${VKD3D_CFLAGS:+false} :; then :
15366 if ${PKG_CONFIG+:} false; then :
15367 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15371 if ${VKD3D_LIBS:+false} :; then :
15372 if ${PKG_CONFIG+:} false; then :
15373 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15378 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15379 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15380 ac_save_CPPFLAGS=$CPPFLAGS
15381 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15383 $as_echo_n "checking for -lvkd3d... " >&6; }
15384 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15385 $as_echo_n "(cached) " >&6
15386 else
15387 ac_check_soname_save_LIBS=$LIBS
15388 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15392 /* Override any GCC internal prototype to avoid an error.
15393 Use char because int might match the return type of a GCC
15394 builtin and then its argument prototype would still apply. */
15395 #ifdef __cplusplus
15396 extern "C"
15397 #endif
15398 char vkd3d_create_device ();
15400 main ()
15402 return vkd3d_create_device ();
15404 return 0;
15406 _ACEOF
15407 if ac_fn_c_try_link "$LINENO"; then :
15408 case "$LIBEXT" in
15409 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15410 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'` ;;
15411 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15412 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15413 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15414 fi ;;
15415 esac
15417 rm -f core conftest.err conftest.$ac_objext \
15418 conftest$ac_exeext conftest.$ac_ext
15419 LIBS=$ac_check_soname_save_LIBS
15421 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15423 $as_echo "not found" >&6; }
15425 else
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15427 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15429 cat >>confdefs.h <<_ACEOF
15430 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15431 _ACEOF
15435 CPPFLAGS=$ac_save_CPPFLAGS
15436 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15437 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15440 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15441 case "x$with_vkd3d" in
15442 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15443 xno) ;;
15444 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15445 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15446 esac
15449 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15452 EXTRACFLAGS=""
15454 if test "x${GCC}" = "xyes"
15455 then
15456 EXTRACFLAGS="-Wall -pipe"
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15459 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15460 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15461 $as_echo_n "(cached) " >&6
15462 else
15463 if test "$cross_compiling" = yes; then :
15464 ac_cv_c_gcc_strength_bug="no"
15465 else
15466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15467 /* end confdefs.h. */
15468 int L[4] = {0,1,2,3};
15470 main ()
15472 static int Array[3];
15473 unsigned int B = 3;
15474 int i;
15475 for(i=0; i<B; i++) Array[i] = i - 3;
15476 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15477 L[i] = 4;
15478 return (Array[1] != -2 || L[2] != 3)
15480 return 0;
15482 _ACEOF
15483 if ac_fn_c_try_run "$LINENO"; then :
15484 ac_cv_c_gcc_strength_bug="no"
15485 else
15486 ac_cv_c_gcc_strength_bug="yes"
15488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15489 conftest.$ac_objext conftest.beam conftest.$ac_ext
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15494 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15495 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15496 then
15497 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15501 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15502 if ${ac_cv_cflags__fno_builtin+:} false; then :
15503 $as_echo_n "(cached) " >&6
15504 else
15505 ac_wine_try_cflags_saved=$CFLAGS
15506 CFLAGS="$CFLAGS -fno-builtin"
15507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15508 /* end confdefs.h. */
15509 int main(int argc, char **argv) { return 0; }
15510 _ACEOF
15511 if ac_fn_c_try_link "$LINENO"; then :
15512 ac_cv_cflags__fno_builtin=yes
15513 else
15514 ac_cv_cflags__fno_builtin=no
15516 rm -f core conftest.err conftest.$ac_objext \
15517 conftest$ac_exeext conftest.$ac_ext
15518 CFLAGS=$ac_wine_try_cflags_saved
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15521 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15522 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15523 BUILTINFLAG="-fno-builtin"
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15527 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15528 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15529 $as_echo_n "(cached) " >&6
15530 else
15531 ac_wine_try_cflags_saved=$CFLAGS
15532 CFLAGS="$CFLAGS -fno-strict-aliasing"
15533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15534 /* end confdefs.h. */
15535 int main(int argc, char **argv) { return 0; }
15536 _ACEOF
15537 if ac_fn_c_try_link "$LINENO"; then :
15538 ac_cv_cflags__fno_strict_aliasing=yes
15539 else
15540 ac_cv_cflags__fno_strict_aliasing=no
15542 rm -f core conftest.err conftest.$ac_objext \
15543 conftest$ac_exeext conftest.$ac_ext
15544 CFLAGS=$ac_wine_try_cflags_saved
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15547 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15548 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15549 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15552 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15553 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15554 $as_echo_n "(cached) " >&6
15555 else
15556 ac_wine_try_cflags_saved=$CFLAGS
15557 CFLAGS="$CFLAGS -fexcess-precision=standard"
15558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15559 /* end confdefs.h. */
15560 int main(int argc, char **argv) { return 0; }
15561 _ACEOF
15562 if ac_fn_c_try_link "$LINENO"; then :
15563 ac_cv_cflags__fexcess_precision_standard=yes
15564 else
15565 ac_cv_cflags__fexcess_precision_standard=no
15567 rm -f core conftest.err conftest.$ac_objext \
15568 conftest$ac_exeext conftest.$ac_ext
15569 CFLAGS=$ac_wine_try_cflags_saved
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15572 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15573 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15574 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15577 saved_CFLAGS=$CFLAGS
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15579 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15580 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15581 $as_echo_n "(cached) " >&6
15582 else
15583 ac_wine_try_cflags_saved=$CFLAGS
15584 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15586 /* end confdefs.h. */
15587 int main(int argc, char **argv) { return 0; }
15588 _ACEOF
15589 if ac_fn_c_try_link "$LINENO"; then :
15590 ac_cv_cflags__Werror_unknown_warning_option=yes
15591 else
15592 ac_cv_cflags__Werror_unknown_warning_option=no
15594 rm -f core conftest.err conftest.$ac_objext \
15595 conftest$ac_exeext conftest.$ac_ext
15596 CFLAGS=$ac_wine_try_cflags_saved
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15599 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15600 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15601 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15604 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15605 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15606 $as_echo_n "(cached) " >&6
15607 else
15608 ac_wine_try_cflags_saved=$CFLAGS
15609 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15611 /* end confdefs.h. */
15612 int main(int argc, char **argv) { return 0; }
15613 _ACEOF
15614 if ac_fn_c_try_link "$LINENO"; then :
15615 ac_cv_cflags__Wdeclaration_after_statement=yes
15616 else
15617 ac_cv_cflags__Wdeclaration_after_statement=no
15619 rm -f core conftest.err conftest.$ac_objext \
15620 conftest$ac_exeext conftest.$ac_ext
15621 CFLAGS=$ac_wine_try_cflags_saved
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15624 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15625 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15626 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15629 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15630 if ${ac_cv_cflags__Wempty_body+:} false; then :
15631 $as_echo_n "(cached) " >&6
15632 else
15633 ac_wine_try_cflags_saved=$CFLAGS
15634 CFLAGS="$CFLAGS -Wempty-body"
15635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15636 /* end confdefs.h. */
15637 int main(int argc, char **argv) { return 0; }
15638 _ACEOF
15639 if ac_fn_c_try_link "$LINENO"; then :
15640 ac_cv_cflags__Wempty_body=yes
15641 else
15642 ac_cv_cflags__Wempty_body=no
15644 rm -f core conftest.err conftest.$ac_objext \
15645 conftest$ac_exeext conftest.$ac_ext
15646 CFLAGS=$ac_wine_try_cflags_saved
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15649 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15650 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15651 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15654 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15655 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15656 $as_echo_n "(cached) " >&6
15657 else
15658 ac_wine_try_cflags_saved=$CFLAGS
15659 CFLAGS="$CFLAGS -Wignored-qualifiers"
15660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15661 /* end confdefs.h. */
15662 int main(int argc, char **argv) { return 0; }
15663 _ACEOF
15664 if ac_fn_c_try_link "$LINENO"; then :
15665 ac_cv_cflags__Wignored_qualifiers=yes
15666 else
15667 ac_cv_cflags__Wignored_qualifiers=no
15669 rm -f core conftest.err conftest.$ac_objext \
15670 conftest$ac_exeext conftest.$ac_ext
15671 CFLAGS=$ac_wine_try_cflags_saved
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15674 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15675 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15676 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15679 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15680 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15681 $as_echo_n "(cached) " >&6
15682 else
15683 ac_wine_try_cflags_saved=$CFLAGS
15684 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15687 int main(int argc, char **argv) { return 0; }
15688 _ACEOF
15689 if ac_fn_c_try_link "$LINENO"; then :
15690 ac_cv_cflags__Wpacked_not_aligned=yes
15691 else
15692 ac_cv_cflags__Wpacked_not_aligned=no
15694 rm -f core conftest.err conftest.$ac_objext \
15695 conftest$ac_exeext conftest.$ac_ext
15696 CFLAGS=$ac_wine_try_cflags_saved
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15699 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15700 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15701 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15704 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15705 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15706 $as_echo_n "(cached) " >&6
15707 else
15708 ac_wine_try_cflags_saved=$CFLAGS
15709 CFLAGS="$CFLAGS -Wpragma-pack"
15710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h. */
15712 int main(int argc, char **argv) { return 0; }
15713 _ACEOF
15714 if ac_fn_c_try_link "$LINENO"; then :
15715 ac_cv_cflags__Wpragma_pack=yes
15716 else
15717 ac_cv_cflags__Wpragma_pack=no
15719 rm -f core conftest.err conftest.$ac_objext \
15720 conftest$ac_exeext conftest.$ac_ext
15721 CFLAGS=$ac_wine_try_cflags_saved
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15724 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15725 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15726 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15729 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15730 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15731 $as_echo_n "(cached) " >&6
15732 else
15733 ac_wine_try_cflags_saved=$CFLAGS
15734 CFLAGS="$CFLAGS -Wshift-overflow=2"
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 int main(int argc, char **argv) { return 0; }
15738 _ACEOF
15739 if ac_fn_c_try_link "$LINENO"; then :
15740 ac_cv_cflags__Wshift_overflow_2=yes
15741 else
15742 ac_cv_cflags__Wshift_overflow_2=no
15744 rm -f core conftest.err conftest.$ac_objext \
15745 conftest$ac_exeext conftest.$ac_ext
15746 CFLAGS=$ac_wine_try_cflags_saved
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15749 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15750 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15751 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15754 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15755 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15756 $as_echo_n "(cached) " >&6
15757 else
15758 ac_wine_try_cflags_saved=$CFLAGS
15759 CFLAGS="$CFLAGS -Wstrict-prototypes"
15760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761 /* end confdefs.h. */
15762 int main(int argc, char **argv) { return 0; }
15763 _ACEOF
15764 if ac_fn_c_try_link "$LINENO"; then :
15765 ac_cv_cflags__Wstrict_prototypes=yes
15766 else
15767 ac_cv_cflags__Wstrict_prototypes=no
15769 rm -f core conftest.err conftest.$ac_objext \
15770 conftest$ac_exeext conftest.$ac_ext
15771 CFLAGS=$ac_wine_try_cflags_saved
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15774 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15775 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15776 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15779 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15780 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15781 $as_echo_n "(cached) " >&6
15782 else
15783 ac_wine_try_cflags_saved=$CFLAGS
15784 CFLAGS="$CFLAGS -Wtype-limits"
15785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15786 /* end confdefs.h. */
15787 int main(int argc, char **argv) { return 0; }
15788 _ACEOF
15789 if ac_fn_c_try_link "$LINENO"; then :
15790 ac_cv_cflags__Wtype_limits=yes
15791 else
15792 ac_cv_cflags__Wtype_limits=no
15794 rm -f core conftest.err conftest.$ac_objext \
15795 conftest$ac_exeext conftest.$ac_ext
15796 CFLAGS=$ac_wine_try_cflags_saved
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15799 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15800 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15801 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15804 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15805 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15806 $as_echo_n "(cached) " >&6
15807 else
15808 ac_wine_try_cflags_saved=$CFLAGS
15809 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15811 /* end confdefs.h. */
15812 int main(int argc, char **argv) { return 0; }
15813 _ACEOF
15814 if ac_fn_c_try_link "$LINENO"; then :
15815 ac_cv_cflags__Wunused_but_set_parameter=yes
15816 else
15817 ac_cv_cflags__Wunused_but_set_parameter=no
15819 rm -f core conftest.err conftest.$ac_objext \
15820 conftest$ac_exeext conftest.$ac_ext
15821 CFLAGS=$ac_wine_try_cflags_saved
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15824 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15825 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15826 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15829 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15830 if ${ac_cv_cflags__Wvla+:} false; then :
15831 $as_echo_n "(cached) " >&6
15832 else
15833 ac_wine_try_cflags_saved=$CFLAGS
15834 CFLAGS="$CFLAGS -Wvla"
15835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15837 int main(int argc, char **argv) { return 0; }
15838 _ACEOF
15839 if ac_fn_c_try_link "$LINENO"; then :
15840 ac_cv_cflags__Wvla=yes
15841 else
15842 ac_cv_cflags__Wvla=no
15844 rm -f core conftest.err conftest.$ac_objext \
15845 conftest$ac_exeext conftest.$ac_ext
15846 CFLAGS=$ac_wine_try_cflags_saved
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15849 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15850 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15851 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15854 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15855 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15856 $as_echo_n "(cached) " >&6
15857 else
15858 ac_wine_try_cflags_saved=$CFLAGS
15859 CFLAGS="$CFLAGS -Wwrite-strings"
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15862 int main(int argc, char **argv) { return 0; }
15863 _ACEOF
15864 if ac_fn_c_try_link "$LINENO"; then :
15865 ac_cv_cflags__Wwrite_strings=yes
15866 else
15867 ac_cv_cflags__Wwrite_strings=no
15869 rm -f core conftest.err conftest.$ac_objext \
15870 conftest$ac_exeext conftest.$ac_ext
15871 CFLAGS=$ac_wine_try_cflags_saved
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15874 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15875 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15876 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15880 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15881 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15882 $as_echo_n "(cached) " >&6
15883 else
15884 ac_wine_try_cflags_saved=$CFLAGS
15885 CFLAGS="$CFLAGS -Wpointer-arith"
15886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15887 /* end confdefs.h. */
15888 int main(int argc, char **argv) { return 0; }
15889 _ACEOF
15890 if ac_fn_c_try_link "$LINENO"; then :
15891 ac_cv_cflags__Wpointer_arith=yes
15892 else
15893 ac_cv_cflags__Wpointer_arith=no
15895 rm -f core conftest.err conftest.$ac_objext \
15896 conftest$ac_exeext conftest.$ac_ext
15897 CFLAGS=$ac_wine_try_cflags_saved
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15900 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15901 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15902 saved_string_h_CFLAGS=$CFLAGS
15903 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15905 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15906 if ${ac_cv_c_string_h_warnings+:} false; then :
15907 $as_echo_n "(cached) " >&6
15908 else
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15911 #include <string.h>
15913 main ()
15917 return 0;
15919 _ACEOF
15920 if ac_fn_c_try_compile "$LINENO"; then :
15921 ac_cv_c_string_h_warnings=no
15922 else
15923 ac_cv_c_string_h_warnings=yes
15925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15928 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15929 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15930 CFLAGS=$saved_string_h_CFLAGS
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15934 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15935 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15938 ac_wine_try_cflags_saved=$CFLAGS
15939 CFLAGS="$CFLAGS -Wlogical-op"
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15942 int main(int argc, char **argv) { return 0; }
15943 _ACEOF
15944 if ac_fn_c_try_link "$LINENO"; then :
15945 ac_cv_cflags__Wlogical_op=yes
15946 else
15947 ac_cv_cflags__Wlogical_op=no
15949 rm -f core conftest.err conftest.$ac_objext \
15950 conftest$ac_exeext conftest.$ac_ext
15951 CFLAGS=$ac_wine_try_cflags_saved
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15954 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15955 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15956 saved_string_h_CFLAGS=$CFLAGS
15957 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15959 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15960 if ${ac_cv_c_logicalop_noisy+:} false; then :
15961 $as_echo_n "(cached) " >&6
15962 else
15963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15964 /* end confdefs.h. */
15965 #include <string.h>
15966 char*f(const char *h,char n) {return strchr(h,n);}
15968 main ()
15972 return 0;
15974 _ACEOF
15975 if ac_fn_c_try_compile "$LINENO"; then :
15976 ac_cv_c_logicalop_noisy=no
15977 else
15978 ac_cv_c_logicalop_noisy=yes
15980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15983 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15984 CFLAGS=$saved_string_h_CFLAGS
15985 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15988 CFLAGS=$saved_CFLAGS
15990 for ac_flag in $CFLAGS; do
15991 case $ac_flag in
15992 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15993 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15994 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15995 $as_echo_n "(cached) " >&6
15996 else
15997 ac_wine_try_cflags_saved=$CFLAGS
15998 CFLAGS="$CFLAGS -gdwarf-2"
15999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16001 int main(int argc, char **argv) { return 0; }
16002 _ACEOF
16003 if ac_fn_c_try_link "$LINENO"; then :
16004 ac_cv_cflags__gdwarf_2=yes
16005 else
16006 ac_cv_cflags__gdwarf_2=no
16008 rm -f core conftest.err conftest.$ac_objext \
16009 conftest$ac_exeext conftest.$ac_ext
16010 CFLAGS=$ac_wine_try_cflags_saved
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16013 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16014 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16015 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16018 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16019 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16020 $as_echo_n "(cached) " >&6
16021 else
16022 ac_wine_try_cflags_saved=$CFLAGS
16023 CFLAGS="$CFLAGS -gstrict-dwarf"
16024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16025 /* end confdefs.h. */
16026 int main(int argc, char **argv) { return 0; }
16027 _ACEOF
16028 if ac_fn_c_try_link "$LINENO"; then :
16029 ac_cv_cflags__gstrict_dwarf=yes
16030 else
16031 ac_cv_cflags__gstrict_dwarf=no
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext conftest.$ac_ext
16035 CFLAGS=$ac_wine_try_cflags_saved
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16038 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16039 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16040 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16041 fi ;;
16042 esac
16043 done
16045 case $host_cpu in
16046 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16047 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16048 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16049 $as_echo_n "(cached) " >&6
16050 else
16051 ac_wine_try_cflags_saved=$CFLAGS
16052 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16054 /* end confdefs.h. */
16055 int main(int argc, char **argv) { return 0; }
16056 _ACEOF
16057 if ac_fn_c_try_link "$LINENO"; then :
16058 ac_cv_cflags__fno_omit_frame_pointer=yes
16059 else
16060 ac_cv_cflags__fno_omit_frame_pointer=no
16062 rm -f core conftest.err conftest.$ac_objext \
16063 conftest$ac_exeext conftest.$ac_ext
16064 CFLAGS=$ac_wine_try_cflags_saved
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16067 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16068 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16069 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16070 fi ;;
16071 esac
16073 case $host in
16074 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16075 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16076 if ${ac_cv_cflags__Wno_format+:} false; then :
16077 $as_echo_n "(cached) " >&6
16078 else
16079 ac_wine_try_cflags_saved=$CFLAGS
16080 CFLAGS="$CFLAGS -Wno-format"
16081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16082 /* end confdefs.h. */
16083 int main(int argc, char **argv) { return 0; }
16084 _ACEOF
16085 if ac_fn_c_try_link "$LINENO"; then :
16086 ac_cv_cflags__Wno_format=yes
16087 else
16088 ac_cv_cflags__Wno_format=no
16090 rm -f core conftest.err conftest.$ac_objext \
16091 conftest$ac_exeext conftest.$ac_ext
16092 CFLAGS=$ac_wine_try_cflags_saved
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16095 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16096 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16097 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16098 fi ;;
16099 esac
16101 if test "x$enable_maintainer_mode" = "xyes"
16102 then
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16104 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16105 if ${ac_cv_cflags__Werror+:} false; then :
16106 $as_echo_n "(cached) " >&6
16107 else
16108 ac_wine_try_cflags_saved=$CFLAGS
16109 CFLAGS="$CFLAGS -Werror"
16110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h. */
16112 int main(int argc, char **argv) { return 0; }
16113 _ACEOF
16114 if ac_fn_c_try_link "$LINENO"; then :
16115 ac_cv_cflags__Werror=yes
16116 else
16117 ac_cv_cflags__Werror=no
16119 rm -f core conftest.err conftest.$ac_objext \
16120 conftest$ac_exeext conftest.$ac_ext
16121 CFLAGS=$ac_wine_try_cflags_saved
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16124 $as_echo "$ac_cv_cflags__Werror" >&6; }
16125 if test "x$ac_cv_cflags__Werror" = xyes; then :
16126 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16130 saved_CFLAGS="$CFLAGS"
16131 CFLAGS="$CFLAGS -Werror"
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16133 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16134 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16138 /* end confdefs.h. */
16139 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16141 main ()
16145 return 0;
16147 _ACEOF
16148 if ac_fn_c_try_compile "$LINENO"; then :
16149 ac_cv_have_ms_hook_prologue="yes"
16150 else
16151 ac_cv_have_ms_hook_prologue="no"
16153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16156 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16157 CFLAGS="$saved_CFLAGS"
16158 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16159 then
16161 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16163 else
16164 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16171 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16172 if ${ac_cv_c_fortify_enabled+:} false; then :
16173 $as_echo_n "(cached) " >&6
16174 else
16175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16176 /* end confdefs.h. */
16177 #include <string.h>
16179 main ()
16181 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16182 #error Fortify enabled
16183 #endif
16185 return 0;
16187 _ACEOF
16188 if ac_fn_c_try_compile "$LINENO"; then :
16189 ac_cv_c_fortify_enabled=no
16190 else
16191 ac_cv_c_fortify_enabled=yes
16193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16196 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16197 if test "$ac_cv_c_fortify_enabled" = yes
16198 then
16199 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16204 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16205 if ${ac_cv_c_extern_prefix+:} false; then :
16206 $as_echo_n "(cached) " >&6
16207 else
16208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16209 /* end confdefs.h. */
16210 extern int ac_test;
16212 main ()
16214 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16216 return 0;
16218 _ACEOF
16219 if ac_fn_c_try_link "$LINENO"; then :
16220 ac_cv_c_extern_prefix="yes"
16221 else
16222 ac_cv_c_extern_prefix="no"
16224 rm -f core conftest.err conftest.$ac_objext \
16225 conftest$ac_exeext conftest.$ac_ext
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16228 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16230 case $host_cpu in
16231 *i[3456789]86*)
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16233 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16234 if ${ac_cv_c_stdcall_suffix+:} false; then :
16235 $as_echo_n "(cached) " >&6
16236 else
16237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16238 /* end confdefs.h. */
16239 #ifndef _MSC_VER
16240 #define __stdcall __attribute__((__stdcall__))
16241 #endif
16242 int __stdcall ac_test(int i) { return i; }
16244 main ()
16246 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16248 return 0;
16250 _ACEOF
16251 if ac_fn_c_try_link "$LINENO"; then :
16252 ac_cv_c_stdcall_suffix="yes"
16253 else
16254 ac_cv_c_stdcall_suffix="no"
16256 rm -f core conftest.err conftest.$ac_objext \
16257 conftest$ac_exeext conftest.$ac_ext
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16260 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16261 *) ac_cv_c_stdcall_suffix="no" ;;
16262 esac
16265 if test "$ac_cv_c_extern_prefix" = "yes"
16266 then
16267 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16269 asm_name_prefix="_"
16270 else
16271 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16273 asm_name_prefix=""
16277 if test "$ac_cv_c_stdcall_suffix" = "yes"
16278 then
16279 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16281 else
16282 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16288 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16289 if ${ac_cv_asm_func_def+:} false; then :
16290 $as_echo_n "(cached) " >&6
16291 else
16292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16293 /* end confdefs.h. */
16296 main ()
16298 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16300 return 0;
16302 _ACEOF
16303 if ac_fn_c_try_link "$LINENO"; then :
16304 ac_cv_asm_func_def=".def"
16305 else
16306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16307 /* end confdefs.h. */
16310 main ()
16312 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16314 return 0;
16316 _ACEOF
16317 if ac_fn_c_try_link "$LINENO"; then :
16318 ac_cv_asm_func_def=".type @function"
16319 else
16320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16321 /* end confdefs.h. */
16324 main ()
16326 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16328 return 0;
16330 _ACEOF
16331 if ac_fn_c_try_link "$LINENO"; then :
16332 ac_cv_asm_func_def=".type 2"
16333 else
16334 ac_cv_asm_func_def="unknown"
16336 rm -f core conftest.err conftest.$ac_objext \
16337 conftest$ac_exeext conftest.$ac_ext
16339 rm -f core conftest.err conftest.$ac_objext \
16340 conftest$ac_exeext conftest.$ac_ext
16342 rm -f core conftest.err conftest.$ac_objext \
16343 conftest$ac_exeext conftest.$ac_ext
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16346 $as_echo "$ac_cv_asm_func_def" >&6; }
16349 case "$ac_cv_asm_func_def" in
16350 ".def")
16351 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16353 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16354 ".type @function")
16355 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16357 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16358 ".type 2")
16359 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16361 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16363 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16365 asm_func_header="" ;;
16366 esac
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16369 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16370 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16371 $as_echo_n "(cached) " >&6
16372 else
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16375 asm(".text\n\t.long 0");
16377 main ()
16381 return 0;
16383 _ACEOF
16384 if ac_fn_c_try_compile "$LINENO"; then :
16385 ac_cv_c_asm_outside_funcs="yes"
16386 else
16387 ac_cv_c_asm_outside_funcs="no"
16389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16392 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16395 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16396 if ${ac_cv_c_dot_previous+:} false; then :
16397 $as_echo_n "(cached) " >&6
16398 else
16399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h. */
16403 main ()
16405 asm(".text\nac_test:\t.long 0\n\t.previous");
16407 return 0;
16409 _ACEOF
16410 if ac_fn_c_try_link "$LINENO"; then :
16411 ac_cv_c_dot_previous="yes"
16412 else
16413 ac_cv_c_dot_previous="no"
16415 rm -f core conftest.err conftest.$ac_objext \
16416 conftest$ac_exeext conftest.$ac_ext
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16419 $as_echo "$ac_cv_c_dot_previous" >&6; }
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16422 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16423 if ${ac_cv_c_cfi_support+:} false; then :
16424 $as_echo_n "(cached) " >&6
16425 else
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16428 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16430 main ()
16434 return 0;
16436 _ACEOF
16437 if ac_fn_c_try_compile "$LINENO"; then :
16438 ac_cv_c_cfi_support="yes"
16439 else
16440 ac_cv_c_cfi_support="no"
16442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16445 $as_echo "$ac_cv_c_cfi_support" >&6; }
16447 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16448 asm_func_trailer=""
16449 if test "$ac_cv_c_dot_previous" = "yes"
16450 then
16451 asm_func_trailer="\\n\\t.previous"
16453 if test "$ac_cv_c_cfi_support" = "yes"
16454 then
16455 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16456 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16458 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16460 UNWINDFLAGS=-fasynchronous-unwind-tables
16462 else
16463 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16465 if test "x$enable_win64" = "xyes"
16466 then
16467 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16471 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16474 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16475 then
16476 cat >>confdefs.h <<_ACEOF
16477 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16478 _ACEOF
16480 else
16481 cat >>confdefs.h <<_ACEOF
16482 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16483 _ACEOF
16487 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16490 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16494 case $build_os in
16495 cygwin*|mingw32*) TOOLSEXT=".exe"
16497 esac
16499 case $host_os in
16500 linux*)
16501 case $host_cpu in
16502 *i[3456789]86*|x86_64*|*aarch64*)
16503 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16504 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16506 esac
16508 esac
16511 ac_save_CFLAGS="$CFLAGS"
16512 CFLAGS="$CFLAGS $BUILTINFLAG"
16513 for ac_func in \
16514 __res_get_state \
16515 __res_getservers \
16516 _finite \
16517 _isnan \
16518 _pclose \
16519 _popen \
16520 _snprintf \
16521 _spawnvp \
16522 _strdup \
16523 _stricmp \
16524 _strnicmp \
16525 _strtoi64 \
16526 _strtoui64 \
16527 _vsnprintf \
16528 asctime_r \
16529 chsize \
16530 dlopen \
16531 epoll_create \
16532 ffs \
16533 finitef \
16534 fnmatch \
16535 fork \
16536 fpclass \
16537 fstatfs \
16538 fstatvfs \
16539 ftruncate \
16540 futimens \
16541 futimes \
16542 futimesat \
16543 getattrlist \
16544 getauxval \
16545 getifaddrs \
16546 getopt_long_only \
16547 getpwuid \
16548 gettimeofday \
16549 getuid \
16550 kqueue \
16551 lstat \
16552 memmove \
16553 mmap \
16554 pclose \
16555 pipe2 \
16556 poll \
16557 popen \
16558 port_create \
16559 prctl \
16560 pread \
16561 proc_pidinfo \
16562 pwrite \
16563 readdir \
16564 readlink \
16565 sched_yield \
16566 select \
16567 setproctitle \
16568 setprogname \
16569 setrlimit \
16570 settimeofday \
16571 sigaltstack \
16572 sigprocmask \
16573 snprintf \
16574 statfs \
16575 statvfs \
16576 strcasecmp \
16577 strdup \
16578 strerror \
16579 strncasecmp \
16580 strnlen \
16581 strtold \
16582 strtoll \
16583 strtoull \
16584 symlink \
16585 sysinfo \
16586 tcdrain \
16587 thr_kill2 \
16588 timegm \
16589 usleep \
16590 vsnprintf
16592 do :
16593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16595 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16596 cat >>confdefs.h <<_ACEOF
16597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16598 _ACEOF
16601 done
16603 CFLAGS="$ac_save_CFLAGS"
16605 if test "$ac_cv_func_dlopen" = no
16606 then
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16608 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16609 if ${ac_cv_lib_dl_dlopen+:} false; then :
16610 $as_echo_n "(cached) " >&6
16611 else
16612 ac_check_lib_save_LIBS=$LIBS
16613 LIBS="-ldl $LIBS"
16614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h. */
16617 /* Override any GCC internal prototype to avoid an error.
16618 Use char because int might match the return type of a GCC
16619 builtin and then its argument prototype would still apply. */
16620 #ifdef __cplusplus
16621 extern "C"
16622 #endif
16623 char dlopen ();
16625 main ()
16627 return dlopen ();
16629 return 0;
16631 _ACEOF
16632 if ac_fn_c_try_link "$LINENO"; then :
16633 ac_cv_lib_dl_dlopen=yes
16634 else
16635 ac_cv_lib_dl_dlopen=no
16637 rm -f core conftest.err conftest.$ac_objext \
16638 conftest$ac_exeext conftest.$ac_ext
16639 LIBS=$ac_check_lib_save_LIBS
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16642 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16643 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16644 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16645 DL_LIBS="-ldl"
16650 ac_wine_check_funcs_save_LIBS="$LIBS"
16651 LIBS="$LIBS $DL_LIBS"
16652 for ac_func in dladdr
16653 do :
16654 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16655 if test "x$ac_cv_func_dladdr" = xyes; then :
16656 cat >>confdefs.h <<_ACEOF
16657 #define HAVE_DLADDR 1
16658 _ACEOF
16661 done
16663 LIBS="$ac_wine_check_funcs_save_LIBS"
16665 if test "$ac_cv_func_poll" = no
16666 then
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16668 $as_echo_n "checking for poll in -lpoll... " >&6; }
16669 if ${ac_cv_lib_poll_poll+:} false; then :
16670 $as_echo_n "(cached) " >&6
16671 else
16672 ac_check_lib_save_LIBS=$LIBS
16673 LIBS="-lpoll $LIBS"
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16677 /* Override any GCC internal prototype to avoid an error.
16678 Use char because int might match the return type of a GCC
16679 builtin and then its argument prototype would still apply. */
16680 #ifdef __cplusplus
16681 extern "C"
16682 #endif
16683 char poll ();
16685 main ()
16687 return poll ();
16689 return 0;
16691 _ACEOF
16692 if ac_fn_c_try_link "$LINENO"; then :
16693 ac_cv_lib_poll_poll=yes
16694 else
16695 ac_cv_lib_poll_poll=no
16697 rm -f core conftest.err conftest.$ac_objext \
16698 conftest$ac_exeext conftest.$ac_ext
16699 LIBS=$ac_check_lib_save_LIBS
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16702 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16703 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16704 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16705 POLL_LIBS="-lpoll"
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16712 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16713 if ${ac_cv_search_gethostbyname+:} false; then :
16714 $as_echo_n "(cached) " >&6
16715 else
16716 ac_func_search_save_LIBS=$LIBS
16717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16720 /* Override any GCC internal prototype to avoid an error.
16721 Use char because int might match the return type of a GCC
16722 builtin and then its argument prototype would still apply. */
16723 #ifdef __cplusplus
16724 extern "C"
16725 #endif
16726 char gethostbyname ();
16728 main ()
16730 return gethostbyname ();
16732 return 0;
16734 _ACEOF
16735 for ac_lib in '' nsl; do
16736 if test -z "$ac_lib"; then
16737 ac_res="none required"
16738 else
16739 ac_res=-l$ac_lib
16740 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16742 if ac_fn_c_try_link "$LINENO"; then :
16743 ac_cv_search_gethostbyname=$ac_res
16745 rm -f core conftest.err conftest.$ac_objext \
16746 conftest$ac_exeext
16747 if ${ac_cv_search_gethostbyname+:} false; then :
16748 break
16750 done
16751 if ${ac_cv_search_gethostbyname+:} false; then :
16753 else
16754 ac_cv_search_gethostbyname=no
16756 rm conftest.$ac_ext
16757 LIBS=$ac_func_search_save_LIBS
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16760 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16761 ac_res=$ac_cv_search_gethostbyname
16762 if test "$ac_res" != no; then :
16763 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16769 $as_echo_n "checking for library containing connect... " >&6; }
16770 if ${ac_cv_search_connect+:} false; then :
16771 $as_echo_n "(cached) " >&6
16772 else
16773 ac_func_search_save_LIBS=$LIBS
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16777 /* Override any GCC internal prototype to avoid an error.
16778 Use char because int might match the return type of a GCC
16779 builtin and then its argument prototype would still apply. */
16780 #ifdef __cplusplus
16781 extern "C"
16782 #endif
16783 char connect ();
16785 main ()
16787 return connect ();
16789 return 0;
16791 _ACEOF
16792 for ac_lib in '' socket; do
16793 if test -z "$ac_lib"; then
16794 ac_res="none required"
16795 else
16796 ac_res=-l$ac_lib
16797 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16799 if ac_fn_c_try_link "$LINENO"; then :
16800 ac_cv_search_connect=$ac_res
16802 rm -f core conftest.err conftest.$ac_objext \
16803 conftest$ac_exeext
16804 if ${ac_cv_search_connect+:} false; then :
16805 break
16807 done
16808 if ${ac_cv_search_connect+:} false; then :
16810 else
16811 ac_cv_search_connect=no
16813 rm conftest.$ac_ext
16814 LIBS=$ac_func_search_save_LIBS
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16817 $as_echo "$ac_cv_search_connect" >&6; }
16818 ac_res=$ac_cv_search_connect
16819 if test "$ac_res" != no; then :
16820 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16826 $as_echo_n "checking for library containing inet_aton... " >&6; }
16827 if ${ac_cv_search_inet_aton+:} false; then :
16828 $as_echo_n "(cached) " >&6
16829 else
16830 ac_func_search_save_LIBS=$LIBS
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16834 /* Override any GCC internal prototype to avoid an error.
16835 Use char because int might match the return type of a GCC
16836 builtin and then its argument prototype would still apply. */
16837 #ifdef __cplusplus
16838 extern "C"
16839 #endif
16840 char inet_aton ();
16842 main ()
16844 return inet_aton ();
16846 return 0;
16848 _ACEOF
16849 for ac_lib in '' resolv; do
16850 if test -z "$ac_lib"; then
16851 ac_res="none required"
16852 else
16853 ac_res=-l$ac_lib
16854 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16856 if ac_fn_c_try_link "$LINENO"; then :
16857 ac_cv_search_inet_aton=$ac_res
16859 rm -f core conftest.err conftest.$ac_objext \
16860 conftest$ac_exeext
16861 if ${ac_cv_search_inet_aton+:} false; then :
16862 break
16864 done
16865 if ${ac_cv_search_inet_aton+:} false; then :
16867 else
16868 ac_cv_search_inet_aton=no
16870 rm conftest.$ac_ext
16871 LIBS=$ac_func_search_save_LIBS
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16874 $as_echo "$ac_cv_search_inet_aton" >&6; }
16875 ac_res=$ac_cv_search_inet_aton
16876 if test "$ac_res" != no; then :
16877 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16882 for ac_func in \
16883 getaddrinfo \
16884 getnameinfo \
16885 getnetbyname \
16886 getprotobyname \
16887 getprotobynumber \
16888 getservbyport \
16889 inet_addr \
16890 inet_network \
16891 inet_ntop \
16892 inet_pton \
16893 sendmsg \
16894 socketpair \
16896 do :
16897 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16898 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16899 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16900 cat >>confdefs.h <<_ACEOF
16901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16902 _ACEOF
16905 done
16908 ac_save_LIBS=$LIBS
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16910 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16911 if ${ac_cv_search_clock_gettime+:} false; then :
16912 $as_echo_n "(cached) " >&6
16913 else
16914 ac_func_search_save_LIBS=$LIBS
16915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16918 /* Override any GCC internal prototype to avoid an error.
16919 Use char because int might match the return type of a GCC
16920 builtin and then its argument prototype would still apply. */
16921 #ifdef __cplusplus
16922 extern "C"
16923 #endif
16924 char clock_gettime ();
16926 main ()
16928 return clock_gettime ();
16930 return 0;
16932 _ACEOF
16933 for ac_lib in '' rt; do
16934 if test -z "$ac_lib"; then
16935 ac_res="none required"
16936 else
16937 ac_res=-l$ac_lib
16938 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16940 if ac_fn_c_try_link "$LINENO"; then :
16941 ac_cv_search_clock_gettime=$ac_res
16943 rm -f core conftest.err conftest.$ac_objext \
16944 conftest$ac_exeext
16945 if ${ac_cv_search_clock_gettime+:} false; then :
16946 break
16948 done
16949 if ${ac_cv_search_clock_gettime+:} false; then :
16951 else
16952 ac_cv_search_clock_gettime=no
16954 rm conftest.$ac_ext
16955 LIBS=$ac_func_search_save_LIBS
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16958 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16959 ac_res=$ac_cv_search_clock_gettime
16960 if test "$ac_res" != no; then :
16961 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16963 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16965 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16969 LIBS=$ac_save_LIBS
16971 if test "x$with_ldap" != "xno"
16972 then
16973 if ${LDAP_CFLAGS:+false} :; then :
16974 if ${PKG_CONFIG+:} false; then :
16975 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16979 if ${LDAP_LIBS:+false} :; then :
16980 if ${PKG_CONFIG+:} false; then :
16981 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16985 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16986 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16987 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16988 ac_save_CPPFLAGS=$CPPFLAGS
16989 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16990 for ac_header in ldap.h lber.h
16991 do :
16992 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16993 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16994 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16995 cat >>confdefs.h <<_ACEOF
16996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16997 _ACEOF
17001 done
17003 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17004 then
17005 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17007 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17009 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17010 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17011 $as_echo_n "(cached) " >&6
17012 else
17013 ac_check_lib_save_LIBS=$LIBS
17014 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17016 /* end confdefs.h. */
17018 /* Override any GCC internal prototype to avoid an error.
17019 Use char because int might match the return type of a GCC
17020 builtin and then its argument prototype would still apply. */
17021 #ifdef __cplusplus
17022 extern "C"
17023 #endif
17024 char ldap_initialize ();
17026 main ()
17028 return ldap_initialize ();
17030 return 0;
17032 _ACEOF
17033 if ac_fn_c_try_link "$LINENO"; then :
17034 ac_cv_lib_ldap_r_ldap_initialize=yes
17035 else
17036 ac_cv_lib_ldap_r_ldap_initialize=no
17038 rm -f core conftest.err conftest.$ac_objext \
17039 conftest$ac_exeext conftest.$ac_ext
17040 LIBS=$ac_check_lib_save_LIBS
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17043 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17044 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17046 $as_echo_n "checking for ber_init in -llber... " >&6; }
17047 if ${ac_cv_lib_lber_ber_init+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 ac_check_lib_save_LIBS=$LIBS
17051 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17055 /* Override any GCC internal prototype to avoid an error.
17056 Use char because int might match the return type of a GCC
17057 builtin and then its argument prototype would still apply. */
17058 #ifdef __cplusplus
17059 extern "C"
17060 #endif
17061 char ber_init ();
17063 main ()
17065 return ber_init ();
17067 return 0;
17069 _ACEOF
17070 if ac_fn_c_try_link "$LINENO"; then :
17071 ac_cv_lib_lber_ber_init=yes
17072 else
17073 ac_cv_lib_lber_ber_init=no
17075 rm -f core conftest.err conftest.$ac_objext \
17076 conftest$ac_exeext conftest.$ac_ext
17077 LIBS=$ac_check_lib_save_LIBS
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17080 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17081 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17083 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17085 else
17086 LDAP_LIBS=""
17089 else
17090 LDAP_LIBS=""
17093 else
17094 LDAP_LIBS=""
17097 ac_wine_check_funcs_save_LIBS="$LIBS"
17098 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17099 for ac_func in \
17100 ldap_count_references \
17101 ldap_first_reference \
17102 ldap_next_reference \
17103 ldap_parse_reference \
17104 ldap_parse_sort_control \
17105 ldap_parse_sortresponse_control \
17106 ldap_parse_vlv_control \
17107 ldap_parse_vlvresponse_control
17108 do :
17109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17111 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17112 cat >>confdefs.h <<_ACEOF
17113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17114 _ACEOF
17117 done
17119 LIBS="$ac_wine_check_funcs_save_LIBS"
17120 else
17121 LDAP_LIBS=""
17123 CPPFLAGS=$ac_save_CPPFLAGS
17124 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17125 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17128 if test "x$LDAP_LIBS" = "x"; then :
17129 case "x$with_ldap" in
17130 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17131 xno) ;;
17132 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17133 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17134 esac
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17139 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17140 if ${wine_cv_one_arg_mkdir+:} false; then :
17141 $as_echo_n "(cached) " >&6
17142 else
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #include <sys/stat.h>
17147 main ()
17149 mkdir("foo");
17151 return 0;
17153 _ACEOF
17154 if ac_fn_c_try_compile "$LINENO"; then :
17155 wine_cv_one_arg_mkdir=yes
17156 else
17157 wine_cv_one_arg_mkdir=no
17159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17162 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17163 if test "$wine_cv_one_arg_mkdir" = "yes"
17164 then
17166 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17171 $as_echo_n "checking for sched_setaffinity... " >&6; }
17172 if ${wine_cv_have_sched_setaffinity+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h. */
17177 #define _GNU_SOURCE
17178 #include <sched.h>
17180 main ()
17182 sched_setaffinity(0, 0, 0);
17184 return 0;
17186 _ACEOF
17187 if ac_fn_c_try_link "$LINENO"; then :
17188 wine_cv_have_sched_setaffinity=yes
17189 else
17190 wine_cv_have_sched_setaffinity=no
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17196 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17197 if test "$wine_cv_have_sched_setaffinity" = "yes"
17198 then
17200 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17205 $as_echo_n "checking for fallocate... " >&6; }
17206 if ${wine_cv_have_fallocate+:} false; then :
17207 $as_echo_n "(cached) " >&6
17208 else
17209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17210 /* end confdefs.h. */
17211 #define _GNU_SOURCE
17212 #include <fcntl.h>
17214 main ()
17216 fallocate(-1, 0, 0, 0);
17218 return 0;
17220 _ACEOF
17221 if ac_fn_c_try_link "$LINENO"; then :
17222 wine_cv_have_fallocate=yes
17223 else
17224 wine_cv_have_fallocate=no
17226 rm -f core conftest.err conftest.$ac_objext \
17227 conftest$ac_exeext conftest.$ac_ext
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17230 $as_echo "$wine_cv_have_fallocate" >&6; }
17231 if test "$wine_cv_have_fallocate" = "yes"
17232 then
17234 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17240 $as_echo_n "checking for inline... " >&6; }
17241 if ${ac_cv_c_inline+:} false; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17244 ac_cv_c_inline=no
17245 for ac_kw in inline __inline__ __inline; do
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 #ifndef __cplusplus
17249 typedef int foo_t;
17250 static $ac_kw foo_t static_foo () {return 0; }
17251 $ac_kw foo_t foo () {return 0; }
17252 #endif
17254 _ACEOF
17255 if ac_fn_c_try_compile "$LINENO"; then :
17256 ac_cv_c_inline=$ac_kw
17258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17259 test "$ac_cv_c_inline" != no && break
17260 done
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17264 $as_echo "$ac_cv_c_inline" >&6; }
17266 case $ac_cv_c_inline in
17267 inline | yes) ;;
17269 case $ac_cv_c_inline in
17270 no) ac_val=;;
17271 *) ac_val=$ac_cv_c_inline;;
17272 esac
17273 cat >>confdefs.h <<_ACEOF
17274 #ifndef __cplusplus
17275 #define inline $ac_val
17276 #endif
17277 _ACEOF
17279 esac
17281 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17282 if test "x$ac_cv_type_mode_t" = xyes; then :
17284 cat >>confdefs.h <<_ACEOF
17285 #define HAVE_MODE_T 1
17286 _ACEOF
17290 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17291 if test "x$ac_cv_type_off_t" = xyes; then :
17293 cat >>confdefs.h <<_ACEOF
17294 #define HAVE_OFF_T 1
17295 _ACEOF
17299 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17300 if test "x$ac_cv_type_pid_t" = xyes; then :
17302 cat >>confdefs.h <<_ACEOF
17303 #define HAVE_PID_T 1
17304 _ACEOF
17308 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17309 if test "x$ac_cv_type_size_t" = xyes; then :
17311 cat >>confdefs.h <<_ACEOF
17312 #define HAVE_SIZE_T 1
17313 _ACEOF
17317 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17318 if test "x$ac_cv_type_ssize_t" = xyes; then :
17320 cat >>confdefs.h <<_ACEOF
17321 #define HAVE_SSIZE_T 1
17322 _ACEOF
17326 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17327 if test "x$ac_cv_type_long_long" = xyes; then :
17329 cat >>confdefs.h <<_ACEOF
17330 #define HAVE_LONG_LONG 1
17331 _ACEOF
17335 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17336 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17338 cat >>confdefs.h <<_ACEOF
17339 #define HAVE_FSBLKCNT_T 1
17340 _ACEOF
17344 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17345 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17347 cat >>confdefs.h <<_ACEOF
17348 #define HAVE_FSFILCNT_T 1
17349 _ACEOF
17354 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17355 #include <signal.h>
17357 if test "x$ac_cv_type_sigset_t" = xyes; then :
17359 cat >>confdefs.h <<_ACEOF
17360 #define HAVE_SIGSET_T 1
17361 _ACEOF
17366 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17368 if test "x$ac_cv_type_request_sense" = xyes; then :
17370 cat >>confdefs.h <<_ACEOF
17371 #define HAVE_REQUEST_SENSE 1
17372 _ACEOF
17378 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17379 #ifdef HAVE_SYS_SOCKET_H
17380 #include <sys/socket.h>
17381 #endif
17382 #ifdef HAVE_SYS_SOCKETVAR_H
17383 #include <sys/socketvar.h>
17384 #endif
17385 #ifdef HAVE_NET_ROUTE_H
17386 #include <net/route.h>
17387 #endif
17388 #ifdef HAVE_NETINET_IN_H
17389 #include <netinet/in.h>
17390 #endif
17391 #ifdef HAVE_NETINET_IN_SYSTM_H
17392 #include <netinet/in_systm.h>
17393 #endif
17394 #ifdef HAVE_NETINET_IP_H
17395 #include <netinet/ip.h>
17396 #endif
17397 #ifdef HAVE_NETINET_IN_PCB_H
17398 #include <netinet/in_pcb.h>
17399 #endif
17401 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17403 cat >>confdefs.h <<_ACEOF
17404 #define HAVE_STRUCT_XINPGEN 1
17405 _ACEOF
17411 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17412 #include <link.h>
17413 #endif
17414 #ifdef HAVE_SYS_LINK_H
17415 #include <sys/link.h>
17416 #endif
17418 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17420 cat >>confdefs.h <<_ACEOF
17421 #define HAVE_STRUCT_R_DEBUG 1
17422 _ACEOF
17426 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17427 #include <link.h>
17428 #endif
17429 #ifdef HAVE_SYS_LINK_H
17430 #include <sys/link.h>
17431 #endif
17433 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17435 cat >>confdefs.h <<_ACEOF
17436 #define HAVE_STRUCT_LINK_MAP 1
17437 _ACEOF
17443 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17444 #include <linux/input.h>
17445 #endif
17447 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17449 cat >>confdefs.h <<_ACEOF
17450 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17451 _ACEOF
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17458 $as_echo_n "checking for if_nameindex... " >&6; }
17459 if ${wine_cv_have_if_nameindex+:} false; then :
17460 $as_echo_n "(cached) " >&6
17461 else
17462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17463 /* end confdefs.h. */
17464 #ifdef HAVE_SYS_TYPES_H
17465 #include <sys/types.h>
17466 #endif
17467 #ifdef HAVE_SYS_SOCKET_H
17468 #include <sys/socket.h>
17469 #endif
17470 #ifdef HAVE_NET_IF_H
17471 # include <net/if.h>
17472 #endif
17474 main ()
17476 struct if_nameindex *p = if_nameindex(); return p->if_index;
17478 return 0;
17480 _ACEOF
17481 if ac_fn_c_try_link "$LINENO"; then :
17482 wine_cv_have_if_nameindex=yes
17483 else
17484 wine_cv_have_if_nameindex=no
17486 rm -f core conftest.err conftest.$ac_objext \
17487 conftest$ac_exeext conftest.$ac_ext
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17490 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17491 if test "$wine_cv_have_if_nameindex" = "yes"
17492 then
17494 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17499 $as_echo_n "checking for sigaddset... " >&6; }
17500 if ${wine_cv_have_sigaddset+:} false; then :
17501 $as_echo_n "(cached) " >&6
17502 else
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17505 #include <signal.h>
17507 main ()
17509 sigset_t set; sigaddset(&set,SIGTERM);
17511 return 0;
17513 _ACEOF
17514 if ac_fn_c_try_link "$LINENO"; then :
17515 wine_cv_have_sigaddset=yes
17516 else
17517 wine_cv_have_sigaddset=no
17519 rm -f core conftest.err conftest.$ac_objext \
17520 conftest$ac_exeext conftest.$ac_ext
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17523 $as_echo "$wine_cv_have_sigaddset" >&6; }
17524 if test "$wine_cv_have_sigaddset" = "yes"
17525 then
17527 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17533 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17534 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17535 $as_echo_n "(cached) " >&6
17536 else
17537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17538 /* end confdefs.h. */
17539 #include <netdb.h>
17541 main ()
17544 char *name=0;
17545 struct hostent he;
17546 struct hostent *result;
17547 char *buf=0;
17548 int bufsize=0;
17549 int errnr;
17550 char *addr=0;
17551 int addrlen=0;
17552 int addrtype=0;
17553 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17554 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17557 return 0;
17559 _ACEOF
17560 if ac_fn_c_try_link "$LINENO"; then :
17561 wine_cv_linux_gethostbyname_r_6=yes
17562 else
17563 wine_cv_linux_gethostbyname_r_6=no
17566 rm -f core conftest.err conftest.$ac_objext \
17567 conftest$ac_exeext conftest.$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17571 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17572 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17573 then
17575 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17579 if test "$ac_cv_header_linux_joystick_h" = "yes"
17580 then
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17582 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17583 if ${wine_cv_linux_joystick_22_api+:} false; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17589 #include <sys/ioctl.h>
17590 #include <sys/types.h>
17591 #include <linux/joystick.h>
17593 struct js_event blub;
17594 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17595 #error "no 2.2 header"
17596 #endif
17599 main ()
17601 /*empty*/
17603 return 0;
17605 _ACEOF
17606 if ac_fn_c_try_compile "$LINENO"; then :
17607 wine_cv_linux_joystick_22_api=yes
17608 else
17609 wine_cv_linux_joystick_22_api=no
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17615 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17616 if test "$wine_cv_linux_joystick_22_api" = "yes"
17617 then
17619 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17625 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17626 #ifdef HAVE_SYS_PARAM_H
17627 # include <sys/param.h>
17628 #endif
17629 #ifdef HAVE_SYS_MOUNT_H
17630 # include <sys/mount.h>
17631 #endif
17632 #ifdef HAVE_SYS_VFS_H
17633 # include <sys/vfs.h>
17634 #endif
17635 #ifdef HAVE_SYS_STATFS_H
17636 # include <sys/statfs.h>
17637 #endif
17639 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17641 cat >>confdefs.h <<_ACEOF
17642 #define HAVE_STRUCT_STATFS_F_BFREE 1
17643 _ACEOF
17647 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17648 #ifdef HAVE_SYS_PARAM_H
17649 # include <sys/param.h>
17650 #endif
17651 #ifdef HAVE_SYS_MOUNT_H
17652 # include <sys/mount.h>
17653 #endif
17654 #ifdef HAVE_SYS_VFS_H
17655 # include <sys/vfs.h>
17656 #endif
17657 #ifdef HAVE_SYS_STATFS_H
17658 # include <sys/statfs.h>
17659 #endif
17661 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17663 cat >>confdefs.h <<_ACEOF
17664 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17665 _ACEOF
17669 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17670 #ifdef HAVE_SYS_PARAM_H
17671 # include <sys/param.h>
17672 #endif
17673 #ifdef HAVE_SYS_MOUNT_H
17674 # include <sys/mount.h>
17675 #endif
17676 #ifdef HAVE_SYS_VFS_H
17677 # include <sys/vfs.h>
17678 #endif
17679 #ifdef HAVE_SYS_STATFS_H
17680 # include <sys/statfs.h>
17681 #endif
17683 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17685 cat >>confdefs.h <<_ACEOF
17686 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17687 _ACEOF
17691 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17692 #ifdef HAVE_SYS_PARAM_H
17693 # include <sys/param.h>
17694 #endif
17695 #ifdef HAVE_SYS_MOUNT_H
17696 # include <sys/mount.h>
17697 #endif
17698 #ifdef HAVE_SYS_VFS_H
17699 # include <sys/vfs.h>
17700 #endif
17701 #ifdef HAVE_SYS_STATFS_H
17702 # include <sys/statfs.h>
17703 #endif
17705 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17707 cat >>confdefs.h <<_ACEOF
17708 #define HAVE_STRUCT_STATFS_F_FFREE 1
17709 _ACEOF
17713 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17714 #ifdef HAVE_SYS_PARAM_H
17715 # include <sys/param.h>
17716 #endif
17717 #ifdef HAVE_SYS_MOUNT_H
17718 # include <sys/mount.h>
17719 #endif
17720 #ifdef HAVE_SYS_VFS_H
17721 # include <sys/vfs.h>
17722 #endif
17723 #ifdef HAVE_SYS_STATFS_H
17724 # include <sys/statfs.h>
17725 #endif
17727 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17729 cat >>confdefs.h <<_ACEOF
17730 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17731 _ACEOF
17735 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17736 #ifdef HAVE_SYS_PARAM_H
17737 # include <sys/param.h>
17738 #endif
17739 #ifdef HAVE_SYS_MOUNT_H
17740 # include <sys/mount.h>
17741 #endif
17742 #ifdef HAVE_SYS_VFS_H
17743 # include <sys/vfs.h>
17744 #endif
17745 #ifdef HAVE_SYS_STATFS_H
17746 # include <sys/statfs.h>
17747 #endif
17749 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17751 cat >>confdefs.h <<_ACEOF
17752 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17753 _ACEOF
17759 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17760 #include <sys/statvfs.h>
17761 #endif
17763 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17765 cat >>confdefs.h <<_ACEOF
17766 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17767 _ACEOF
17773 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17774 #include <dirent.h>
17775 #endif
17777 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17779 cat >>confdefs.h <<_ACEOF
17780 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17781 _ACEOF
17787 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17788 #ifdef HAVE_SYS_SOCKET_H
17789 # include <sys/socket.h>
17790 #endif
17791 #ifdef HAVE_SYS_UN_H
17792 # include <sys/un.h>
17793 #endif
17795 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17797 cat >>confdefs.h <<_ACEOF
17798 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17799 _ACEOF
17803 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17804 #ifdef HAVE_SYS_SOCKET_H
17805 # include <sys/socket.h>
17806 #endif
17807 #ifdef HAVE_SYS_UN_H
17808 # include <sys/un.h>
17809 #endif
17811 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17813 cat >>confdefs.h <<_ACEOF
17814 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17815 _ACEOF
17819 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17820 #ifdef HAVE_SYS_SOCKET_H
17821 # include <sys/socket.h>
17822 #endif
17823 #ifdef HAVE_SYS_UN_H
17824 # include <sys/un.h>
17825 #endif
17827 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17829 cat >>confdefs.h <<_ACEOF
17830 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17831 _ACEOF
17837 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17838 #ifdef HAVE_SCSI_SG_H
17839 #include <scsi/sg.h>
17840 #endif
17842 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17844 cat >>confdefs.h <<_ACEOF
17845 #define HAVE_SCSIREQ_T_CMD 1
17846 _ACEOF
17850 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>
17851 #ifdef HAVE_SCSI_SG_H
17852 #include <scsi/sg.h>
17853 #endif
17855 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17857 cat >>confdefs.h <<_ACEOF
17858 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17859 _ACEOF
17865 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17867 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17869 cat >>confdefs.h <<_ACEOF
17870 #define HAVE_SIGINFO_T_SI_FD 1
17871 _ACEOF
17877 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17878 #ifdef HAVE_SYS_MTIO_H
17879 #include <sys/mtio.h>
17880 #endif
17882 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17884 cat >>confdefs.h <<_ACEOF
17885 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17886 _ACEOF
17890 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17891 #ifdef HAVE_SYS_MTIO_H
17892 #include <sys/mtio.h>
17893 #endif
17895 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17897 cat >>confdefs.h <<_ACEOF
17898 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17899 _ACEOF
17903 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17904 #ifdef HAVE_SYS_MTIO_H
17905 #include <sys/mtio.h>
17906 #endif
17908 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17910 cat >>confdefs.h <<_ACEOF
17911 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17912 _ACEOF
17918 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17919 #include <getopt.h>
17920 #endif
17922 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17924 cat >>confdefs.h <<_ACEOF
17925 #define HAVE_STRUCT_OPTION_NAME 1
17926 _ACEOF
17932 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17933 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17935 cat >>confdefs.h <<_ACEOF
17936 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17937 _ACEOF
17941 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17942 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17944 cat >>confdefs.h <<_ACEOF
17945 #define HAVE_STRUCT_STAT_ST_MTIM 1
17946 _ACEOF
17950 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17951 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17953 cat >>confdefs.h <<_ACEOF
17954 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17955 _ACEOF
17959 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17960 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17962 cat >>confdefs.h <<_ACEOF
17963 #define HAVE_STRUCT_STAT_ST_CTIM 1
17964 _ACEOF
17968 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17969 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17971 cat >>confdefs.h <<_ACEOF
17972 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17973 _ACEOF
17977 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17978 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17980 cat >>confdefs.h <<_ACEOF
17981 #define HAVE_STRUCT_STAT_ST_ATIM 1
17982 _ACEOF
17986 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17987 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17989 cat >>confdefs.h <<_ACEOF
17990 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17991 _ACEOF
17995 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17996 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17998 cat >>confdefs.h <<_ACEOF
17999 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18000 _ACEOF
18004 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18005 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18007 cat >>confdefs.h <<_ACEOF
18008 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18009 _ACEOF
18013 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18014 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18016 cat >>confdefs.h <<_ACEOF
18017 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18018 _ACEOF
18022 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18023 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18025 cat >>confdefs.h <<_ACEOF
18026 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18027 _ACEOF
18031 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18032 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18034 cat >>confdefs.h <<_ACEOF
18035 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18036 _ACEOF
18042 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
18043 #include <sys/types.h>
18044 #endif
18045 #ifdef HAVE_NETINET_IN_H
18046 #include <netinet/in.h>
18047 #endif
18049 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18051 cat >>confdefs.h <<_ACEOF
18052 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18053 _ACEOF
18059 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18060 #include <sys/types.h>
18061 #endif
18062 #ifdef HAVE_NETINET_IN_H
18063 #include <netinet/in.h>
18064 #endif
18065 #ifdef HAVE_RESOLV_H
18066 #include <resolv.h>
18067 #endif
18069 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18071 cat >>confdefs.h <<_ACEOF
18072 #define HAVE_STRUCT___RES_STATE 1
18073 _ACEOF
18079 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
18080 #include <resolv.h>
18081 #endif
18083 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18085 cat >>confdefs.h <<_ACEOF
18086 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18087 _ACEOF
18093 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18094 #include <sys/types.h>
18095 #endif
18096 #ifdef HAVE_NETINET_IN_H
18097 # include <netinet/in.h>
18098 #endif
18099 #ifdef HAVE_ARPA_NAMESER_H
18100 # include <arpa/nameser.h>
18101 #endif
18103 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18105 cat >>confdefs.h <<_ACEOF
18106 #define HAVE_NS_MSG__MSG_PTR 1
18107 _ACEOF
18113 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18114 #include <sys/types.h>
18115 #endif
18116 #ifdef HAVE_NETINET_IN_H
18117 #include <netinet/in.h>
18118 #endif
18119 #ifdef HAVE_NETINET_IP_H
18120 #include <netinet/ip.h>
18121 #endif
18122 #ifdef HAVE_NETINET_IP_ICMP_H
18123 #include <netinet/ip_icmp.h>
18124 #endif
18125 #ifdef HAVE_NETINET_ICMP_VAR_H
18126 #include <netinet/icmp_var.h>
18127 #endif
18129 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18131 cat >>confdefs.h <<_ACEOF
18132 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18133 _ACEOF
18139 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18140 #include <sys/types.h>
18141 #endif
18142 #ifdef HAVE_ALIAS_H
18143 #include <alias.h>
18144 #endif
18145 #ifdef HAVE_SYS_SOCKET_H
18146 #include <sys/socket.h>
18147 #endif
18148 #ifdef HAVE_SYS_SOCKETVAR_H
18149 #include <sys/socketvar.h>
18150 #endif
18151 #ifdef HAVE_SYS_TIMEOUT_H
18152 #include <sys/timeout.h>
18153 #endif
18154 #ifdef HAVE_NETINET_IN_H
18155 #include <netinet/in.h>
18156 #endif
18157 #ifdef HAVE_NETINET_IN_SYSTM_H
18158 #include <netinet/in_systm.h>
18159 #endif
18160 #ifdef HAVE_NETINET_IP_H
18161 #include <netinet/ip.h>
18162 #endif
18163 #ifdef HAVE_NETINET_IP_VAR_H
18164 #include <netinet/ip_var.h>
18165 #endif
18166 #ifdef HAVE_NETINET_IP_ICMP_H
18167 #include <netinet/ip_icmp.h>
18168 #endif
18169 #ifdef HAVE_NETINET_ICMP_VAR_H
18170 #include <netinet/icmp_var.h>
18171 #endif
18173 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18175 cat >>confdefs.h <<_ACEOF
18176 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18177 _ACEOF
18183 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18184 #include <sys/types.h>
18185 #endif
18186 #ifdef HAVE_SYS_SOCKETVAR_H
18187 #include <sys/socketvar.h>
18188 #endif
18189 #ifdef HAVE_NETINET_IN_H
18190 #include <netinet/in.h>
18191 #endif
18192 #ifdef HAVE_NETINET_IP_VAR_H
18193 #include <netinet/ip_var.h>
18194 #endif
18196 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18198 cat >>confdefs.h <<_ACEOF
18199 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18200 _ACEOF
18206 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
18207 #include <netinet/ip_var.h>
18208 #endif
18210 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18212 cat >>confdefs.h <<_ACEOF
18213 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18214 _ACEOF
18220 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18221 #include <sys/types.h>
18222 #endif
18223 #ifdef HAVE_SYS_SOCKETVAR_H
18224 #include <sys/socketvar.h>
18225 #endif
18226 #ifdef HAVE_NETINET_IN_H
18227 #include <netinet/in.h>
18228 #endif
18229 #ifdef HAVE_NETINET_TCP_H
18230 #include <netinet/tcp.h>
18231 #endif
18232 #ifdef HAVE_NETINET_TCP_VAR_H
18233 #include <netinet/tcp_var.h>
18234 #endif
18236 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18238 cat >>confdefs.h <<_ACEOF
18239 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18240 _ACEOF
18246 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
18247 #include <netinet/tcp_var.h>
18248 #endif
18250 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18252 cat >>confdefs.h <<_ACEOF
18253 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18254 _ACEOF
18260 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18261 #include <sys/types.h>
18262 #endif
18263 #ifdef HAVE_NETINET_IN_H
18264 #include <netinet/in.h>
18265 #endif
18266 #ifdef HAVE_NETINET_IP_VAR_H
18267 #include <netinet/ip_var.h>
18268 #endif
18269 #ifdef HAVE_NETINET_UDP_H
18270 #include <netinet/udp.h>
18271 #endif
18272 #ifdef HAVE_NETINET_UDP_VAR_H
18273 #include <netinet/udp_var.h>
18274 #endif
18276 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18278 cat >>confdefs.h <<_ACEOF
18279 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18280 _ACEOF
18286 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18287 #include <sys/types.h>
18288 #endif
18289 #ifdef HAVE_NET_IF_H
18290 # include <net/if.h>
18291 #endif
18293 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18295 cat >>confdefs.h <<_ACEOF
18296 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18297 _ACEOF
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18304 $as_echo_n "checking for timezone variable... " >&6; }
18305 if ${ac_cv_have_timezone+:} false; then :
18306 $as_echo_n "(cached) " >&6
18307 else
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18310 #include <time.h>
18312 main ()
18314 timezone = 1
18316 return 0;
18318 _ACEOF
18319 if ac_fn_c_try_link "$LINENO"; then :
18320 ac_cv_have_timezone="yes"
18321 else
18322 ac_cv_have_timezone="no"
18324 rm -f core conftest.err conftest.$ac_objext \
18325 conftest$ac_exeext conftest.$ac_ext
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18328 $as_echo "$ac_cv_have_timezone" >&6; }
18329 if test "$ac_cv_have_timezone" = "yes"
18330 then
18332 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18336 $as_echo_n "checking for daylight variable... " >&6; }
18337 if ${ac_cv_have_daylight+:} false; then :
18338 $as_echo_n "(cached) " >&6
18339 else
18340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18341 /* end confdefs.h. */
18342 #include <time.h>
18344 main ()
18346 daylight = 1
18348 return 0;
18350 _ACEOF
18351 if ac_fn_c_try_link "$LINENO"; then :
18352 ac_cv_have_daylight="yes"
18353 else
18354 ac_cv_have_daylight="no"
18356 rm -f core conftest.err conftest.$ac_objext \
18357 conftest$ac_exeext conftest.$ac_ext
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18360 $as_echo "$ac_cv_have_daylight" >&6; }
18361 if test "$ac_cv_have_daylight" = "yes"
18362 then
18364 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18368 ac_save_LIBS="$LIBS"
18369 LIBS="$LIBS -lm"
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18371 $as_echo_n "checking for isfinite... " >&6; }
18372 if ${ac_cv_have_isfinite+:} false; then :
18373 $as_echo_n "(cached) " >&6
18374 else
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18377 #define _GNU_SOURCE
18378 #include <math.h>
18380 main ()
18382 float f = 0.0; return isfinite(f)
18384 return 0;
18386 _ACEOF
18387 if ac_fn_c_try_link "$LINENO"; then :
18388 ac_cv_have_isfinite="yes"
18389 else
18390 ac_cv_have_isfinite="no"
18392 rm -f core conftest.err conftest.$ac_objext \
18393 conftest$ac_exeext conftest.$ac_ext
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18396 $as_echo "$ac_cv_have_isfinite" >&6; }
18397 if test "$ac_cv_have_isfinite" = "yes"
18398 then
18400 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18405 $as_echo_n "checking for isinf... " >&6; }
18406 if ${ac_cv_have_isinf+:} false; then :
18407 $as_echo_n "(cached) " >&6
18408 else
18409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18410 /* end confdefs.h. */
18411 #include <math.h>
18413 main ()
18415 float f = 0.0; return isinf(f)
18417 return 0;
18419 _ACEOF
18420 if ac_fn_c_try_link "$LINENO"; then :
18421 ac_cv_have_isinf="yes"
18422 else
18423 ac_cv_have_isinf="no"
18425 rm -f core conftest.err conftest.$ac_objext \
18426 conftest$ac_exeext conftest.$ac_ext
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18429 $as_echo "$ac_cv_have_isinf" >&6; }
18430 if test "$ac_cv_have_isinf" = "yes"
18431 then
18433 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18438 $as_echo_n "checking for isnan... " >&6; }
18439 if ${ac_cv_have_isnan+:} false; then :
18440 $as_echo_n "(cached) " >&6
18441 else
18442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18443 /* end confdefs.h. */
18444 #include <math.h>
18446 main ()
18448 float f = 0.0; return isnan(f)
18450 return 0;
18452 _ACEOF
18453 if ac_fn_c_try_link "$LINENO"; then :
18454 ac_cv_have_isnan="yes"
18455 else
18456 ac_cv_have_isnan="no"
18458 rm -f core conftest.err conftest.$ac_objext \
18459 conftest$ac_exeext conftest.$ac_ext
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18462 $as_echo "$ac_cv_have_isnan" >&6; }
18463 if test "$ac_cv_have_isnan" = "yes"
18464 then
18466 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18470 for ac_func in \
18471 acosh \
18472 acoshf \
18473 asinh \
18474 asinhf \
18475 atanh \
18476 atanhf \
18477 cbrt \
18478 cbrtf \
18479 erf \
18480 erfc \
18481 erfcf \
18482 erff \
18483 exp2 \
18484 exp2f \
18485 expm1 \
18486 expm1f \
18487 j0 \
18488 j1 \
18489 jn \
18490 lgamma \
18491 lgammaf \
18492 llrint \
18493 llrintf \
18494 llround \
18495 llroundf \
18496 log1p \
18497 log1pf \
18498 log2 \
18499 log2f \
18500 lrint \
18501 lrintf \
18502 lround \
18503 lroundf \
18504 nearbyint \
18505 nearbyintf \
18506 powl \
18507 remainder \
18508 remainderf \
18509 rint \
18510 rintf \
18511 round \
18512 roundf \
18513 trunc \
18514 truncf \
18515 y0 \
18516 y1 \
18519 do :
18520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18522 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18523 cat >>confdefs.h <<_ACEOF
18524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18525 _ACEOF
18528 done
18530 LIBS="$ac_save_LIBS"
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18533 $as_echo_n "checking for __builtin_clz... " >&6; }
18534 if ${ac_cv_have___builtin_clz+:} false; then :
18535 $as_echo_n "(cached) " >&6
18536 else
18537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18538 /* end confdefs.h. */
18541 main ()
18543 return __builtin_clz(1)
18545 return 0;
18547 _ACEOF
18548 if ac_fn_c_try_link "$LINENO"; then :
18549 ac_cv_have___builtin_clz="yes"
18550 else
18551 ac_cv_have___builtin_clz="no"
18553 rm -f core conftest.err conftest.$ac_objext \
18554 conftest$ac_exeext conftest.$ac_ext
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18557 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18558 if test "$ac_cv_have___builtin_clz" = "yes"
18559 then
18561 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18566 $as_echo_n "checking for __builtin_popcount... " >&6; }
18567 if ${ac_cv_have___builtin_popcount+:} false; then :
18568 $as_echo_n "(cached) " >&6
18569 else
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18574 main ()
18576 return __builtin_popcount(1)
18578 return 0;
18580 _ACEOF
18581 if ac_fn_c_try_link "$LINENO"; then :
18582 ac_cv_have___builtin_popcount="yes"
18583 else
18584 ac_cv_have___builtin_popcount="no"
18586 rm -f core conftest.err conftest.$ac_objext \
18587 conftest$ac_exeext conftest.$ac_ext
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18590 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18591 if test "$ac_cv_have___builtin_popcount" = "yes"
18592 then
18594 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18599 $as_echo_n "checking for __clear_cache... " >&6; }
18600 if ${ac_cv_have___clear_cache+:} false; then :
18601 $as_echo_n "(cached) " >&6
18602 else
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18607 main ()
18609 __clear_cache((void*)0, (void*)0); return 0;
18611 return 0;
18613 _ACEOF
18614 if ac_fn_c_try_link "$LINENO"; then :
18615 ac_cv_have___clear_cache="yes"
18616 else
18617 ac_cv_have___clear_cache="no"
18619 rm -f core conftest.err conftest.$ac_objext \
18620 conftest$ac_exeext conftest.$ac_ext
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18623 $as_echo "$ac_cv_have___clear_cache" >&6; }
18624 if test "$ac_cv_have___clear_cache" = "yes"
18625 then
18627 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18632 case $host_cpu in
18633 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18634 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18635 if ${ac_cv_cpp_def___i386__+:} false; then :
18636 $as_echo_n "(cached) " >&6
18637 else
18638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18640 #ifndef __i386__
18642 #endif
18643 _ACEOF
18644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18645 $EGREP "yes" >/dev/null 2>&1; then :
18646 ac_cv_cpp_def___i386__=yes
18647 else
18648 ac_cv_cpp_def___i386__=no
18650 rm -f conftest*
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18654 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18655 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18656 CFLAGS="$CFLAGS -D__i386__"
18657 LINTFLAGS="$LINTFLAGS -D__i386__"
18658 fi ;;
18659 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18660 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18661 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18662 $as_echo_n "(cached) " >&6
18663 else
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 #ifndef __x86_64__
18668 #endif
18669 _ACEOF
18670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18671 $EGREP "yes" >/dev/null 2>&1; then :
18672 ac_cv_cpp_def___x86_64__=yes
18673 else
18674 ac_cv_cpp_def___x86_64__=no
18676 rm -f conftest*
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18680 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18681 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18682 CFLAGS="$CFLAGS -D__x86_64__"
18683 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18684 fi ;;
18685 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18686 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18687 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18688 $as_echo_n "(cached) " >&6
18689 else
18690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18692 #ifndef __sparc64__
18694 #endif
18695 _ACEOF
18696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18697 $EGREP "yes" >/dev/null 2>&1; then :
18698 ac_cv_cpp_def___sparc64__=yes
18699 else
18700 ac_cv_cpp_def___sparc64__=no
18702 rm -f conftest*
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18706 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18707 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18708 CFLAGS="$CFLAGS -D__sparc64__"
18709 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18710 fi ;;
18711 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18712 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18713 if ${ac_cv_cpp_def___sparc__+:} false; then :
18714 $as_echo_n "(cached) " >&6
18715 else
18716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18718 #ifndef __sparc__
18720 #endif
18721 _ACEOF
18722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18723 $EGREP "yes" >/dev/null 2>&1; then :
18724 ac_cv_cpp_def___sparc__=yes
18725 else
18726 ac_cv_cpp_def___sparc__=no
18728 rm -f conftest*
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18732 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18733 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18734 CFLAGS="$CFLAGS -D__sparc__"
18735 LINTFLAGS="$LINTFLAGS -D__sparc__"
18736 fi ;;
18737 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18738 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18739 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18740 $as_echo_n "(cached) " >&6
18741 else
18742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h. */
18744 #ifndef __powerpc64__
18746 #endif
18747 _ACEOF
18748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18749 $EGREP "yes" >/dev/null 2>&1; then :
18750 ac_cv_cpp_def___powerpc64__=yes
18751 else
18752 ac_cv_cpp_def___powerpc64__=no
18754 rm -f conftest*
18757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18758 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18759 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18760 CFLAGS="$CFLAGS -D__powerpc64__"
18761 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18762 fi ;;
18763 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18764 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18765 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18766 $as_echo_n "(cached) " >&6
18767 else
18768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18769 /* end confdefs.h. */
18770 #ifndef __powerpc__
18772 #endif
18773 _ACEOF
18774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18775 $EGREP "yes" >/dev/null 2>&1; then :
18776 ac_cv_cpp_def___powerpc__=yes
18777 else
18778 ac_cv_cpp_def___powerpc__=no
18780 rm -f conftest*
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18784 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18785 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18786 CFLAGS="$CFLAGS -D__powerpc__"
18787 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18788 fi ;;
18789 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18790 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18791 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18792 $as_echo_n "(cached) " >&6
18793 else
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18796 #ifndef __aarch64__
18798 #endif
18799 _ACEOF
18800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18801 $EGREP "yes" >/dev/null 2>&1; then :
18802 ac_cv_cpp_def___aarch64__=yes
18803 else
18804 ac_cv_cpp_def___aarch64__=no
18806 rm -f conftest*
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18810 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18811 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18812 CFLAGS="$CFLAGS -D__aarch64__"
18813 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18814 fi ;;
18815 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18816 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18817 if ${ac_cv_cpp_def___arm__+:} false; then :
18818 $as_echo_n "(cached) " >&6
18819 else
18820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18822 #ifndef __arm__
18824 #endif
18825 _ACEOF
18826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18827 $EGREP "yes" >/dev/null 2>&1; then :
18828 ac_cv_cpp_def___arm__=yes
18829 else
18830 ac_cv_cpp_def___arm__=no
18832 rm -f conftest*
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18836 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18837 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18838 CFLAGS="$CFLAGS -D__arm__"
18839 LINTFLAGS="$LINTFLAGS -D__arm__"
18840 fi ;;
18841 esac
18843 case $host_vendor in
18844 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18845 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18846 if ${ac_cv_cpp_def___sun__+:} false; then :
18847 $as_echo_n "(cached) " >&6
18848 else
18849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18851 #ifndef __sun__
18853 #endif
18854 _ACEOF
18855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18856 $EGREP "yes" >/dev/null 2>&1; then :
18857 ac_cv_cpp_def___sun__=yes
18858 else
18859 ac_cv_cpp_def___sun__=no
18861 rm -f conftest*
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18865 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18866 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18867 CFLAGS="$CFLAGS -D__sun__"
18868 LINTFLAGS="$LINTFLAGS -D__sun__"
18869 fi ;;
18870 esac
18876 ac_config_commands="$ac_config_commands include/stamp-h"
18878 $as_echo_n "creating Makefile rules..." >&6
18880 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18881 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18882 IOKIT_LIBS = $IOKIT_LIBS
18883 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18884 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18885 CORESERVICES_LIBS = $CORESERVICES_LIBS
18886 APPKIT_LIBS = $APPKIT_LIBS
18887 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18888 SECURITY_LIBS = $SECURITY_LIBS
18889 COREAUDIO_LIBS = $COREAUDIO_LIBS
18890 OPENAL_LIBS = $OPENAL_LIBS
18891 OPENCL_LIBS = $OPENCL_LIBS
18892 QUICKTIME_LIBS = $QUICKTIME_LIBS
18893 CARBON_LIBS = $CARBON_LIBS
18894 METAL_LIBS = $METAL_LIBS
18895 PTHREAD_LIBS = $PTHREAD_LIBS
18896 X_CFLAGS = $X_CFLAGS
18897 X_PRE_LIBS = $X_PRE_LIBS
18898 X_LIBS = $X_LIBS
18899 X_EXTRA_LIBS = $X_EXTRA_LIBS
18900 PCAP_LIBS = $PCAP_LIBS
18901 XML2_CFLAGS = $XML2_CFLAGS
18902 XML2_LIBS = $XML2_LIBS
18903 XSLT_CFLAGS = $XSLT_CFLAGS
18904 XSLT_LIBS = $XSLT_LIBS
18905 DBUS_CFLAGS = $DBUS_CFLAGS
18906 DBUS_LIBS = $DBUS_LIBS
18907 HAL_CFLAGS = $HAL_CFLAGS
18908 HAL_LIBS = $HAL_LIBS
18909 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18910 GNUTLS_LIBS = $GNUTLS_LIBS
18911 SANE_CFLAGS = $SANE_CFLAGS
18912 SANE_LIBS = $SANE_LIBS
18913 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18914 GPHOTO2_LIBS = $GPHOTO2_LIBS
18915 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18916 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18917 RESOLV_LIBS = $RESOLV_LIBS
18918 LCMS2_CFLAGS = $LCMS2_CFLAGS
18919 LCMS2_LIBS = $LCMS2_LIBS
18920 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18921 FREETYPE_LIBS = $FREETYPE_LIBS
18922 Z_LIBS = $Z_LIBS
18923 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18924 PULSE_CFLAGS = $PULSE_CFLAGS
18925 PULSE_LIBS = $PULSE_LIBS
18926 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18927 GSTREAMER_LIBS = $GSTREAMER_LIBS
18928 ALSA_LIBS = $ALSA_LIBS
18929 OSS4_CFLAGS = $OSS4_CFLAGS
18930 UDEV_CFLAGS = $UDEV_CFLAGS
18931 UDEV_LIBS = $UDEV_LIBS
18932 SDL2_CFLAGS = $SDL2_CFLAGS
18933 SDL2_LIBS = $SDL2_LIBS
18934 CAPI20_CFLAGS = $CAPI20_CFLAGS
18935 CAPI20_LIBS = $CAPI20_LIBS
18936 CUPS_CFLAGS = $CUPS_CFLAGS
18937 CUPS_LIBS = $CUPS_LIBS
18938 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18939 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18940 KRB5_CFLAGS = $KRB5_CFLAGS
18941 KRB5_LIBS = $KRB5_LIBS
18942 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18943 GSSAPI_LIBS = $GSSAPI_LIBS
18944 JPEG_CFLAGS = $JPEG_CFLAGS
18945 JPEG_LIBS = $JPEG_LIBS
18946 PNG_CFLAGS = $PNG_CFLAGS
18947 PNG_LIBS = $PNG_LIBS
18948 TIFF_CFLAGS = $TIFF_CFLAGS
18949 TIFF_LIBS = $TIFF_LIBS
18950 MPG123_CFLAGS = $MPG123_CFLAGS
18951 MPG123_LIBS = $MPG123_LIBS
18952 KSTAT_LIBS = $KSTAT_LIBS
18953 PROCSTAT_LIBS = $PROCSTAT_LIBS
18954 NETAPI_CFLAGS = $NETAPI_CFLAGS
18955 NETAPI_LIBS = $NETAPI_LIBS
18956 VKD3D_CFLAGS = $VKD3D_CFLAGS
18957 VKD3D_LIBS = $VKD3D_LIBS
18958 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18959 DL_LIBS = $DL_LIBS
18960 POLL_LIBS = $POLL_LIBS
18961 RT_LIBS = $RT_LIBS
18962 LDAP_CFLAGS = $LDAP_CFLAGS
18963 LDAP_LIBS = $LDAP_LIBS
18968 wine_fn_append_rule "
18969 # Rules automatically generated by configure
18971 .INIT: Makefile
18972 .MAKEFILEDEPS:
18973 all: Makefile
18974 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18975 @./config.status Make.tmp Makefile
18976 depend: \$(MAKEDEP) dummy
18977 \$(MAKEDEP)"
18979 if test "x$enable_fonts" != xno; then
18980 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18981 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18982 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18983 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18984 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18985 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18987 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18988 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18989 ac_config_links="$ac_config_links wine:tools/winewrapper"
18990 wine_fn_config_symlink wine
18991 if test "x$enable_win64" != xno; then
18992 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18993 wine_fn_config_symlink wine64
18996 wine_fn_config_makefile dlls/acledit enable_acledit
18997 wine_fn_config_makefile dlls/aclui enable_aclui
18998 wine_fn_config_makefile dlls/activeds enable_activeds
18999 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19000 wine_fn_config_makefile dlls/adsiid enable_adsiid
19001 wine_fn_config_makefile dlls/adsldp enable_adsldp
19002 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19003 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19004 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19005 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19006 wine_fn_config_makefile dlls/advpack enable_advpack
19007 wine_fn_config_makefile dlls/advpack/tests enable_tests
19008 wine_fn_config_makefile dlls/amstream enable_amstream
19009 wine_fn_config_makefile dlls/amstream/tests enable_tests
19010 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19011 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19012 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19013 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19014 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19015 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19016 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19017 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19018 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19019 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19020 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19021 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19022 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19023 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19024 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19025 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19026 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19027 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19028 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19029 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19030 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19031 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19032 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19033 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19034 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19035 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19036 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19038 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19040 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19041 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19042 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19043 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19044 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19045 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19046 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19047 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19048 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19049 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19050 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19051 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19052 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19053 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19054 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19055 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19056 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19057 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19058 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19059 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19061 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19062 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19064 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19065 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19066 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19068 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19072 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19073 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19074 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19076 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19077 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19078 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19079 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19084 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19085 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19088 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19089 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19090 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19101 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19102 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19105 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19108 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19112 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19116 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19118 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19119 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19124 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19129 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19134 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19135 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19140 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19142 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19161 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19162 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19180 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19181 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19182 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19192 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19195 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19196 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19197 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19198 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19200 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19201 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19206 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19207 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19208 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19209 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19210 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19211 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19212 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19213 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19214 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19215 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19216 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19217 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19218 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19219 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19220 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19221 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19222 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19223 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19224 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19225 wine_fn_config_makefile dlls/apphelp enable_apphelp
19226 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19227 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19228 wine_fn_config_makefile dlls/atl enable_atl
19229 wine_fn_config_makefile dlls/atl/tests enable_tests
19230 wine_fn_config_makefile dlls/atl100 enable_atl100
19231 wine_fn_config_makefile dlls/atl100/tests enable_tests
19232 wine_fn_config_makefile dlls/atl110 enable_atl110
19233 wine_fn_config_makefile dlls/atl80 enable_atl80
19234 wine_fn_config_makefile dlls/atl80/tests enable_tests
19235 wine_fn_config_makefile dlls/atl90 enable_atl90
19236 wine_fn_config_makefile dlls/atmlib enable_atmlib
19237 wine_fn_config_makefile dlls/authz enable_authz
19238 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19239 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19240 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19241 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19242 wine_fn_config_makefile dlls/avrt enable_avrt
19243 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19244 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19245 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19246 wine_fn_config_makefile dlls/browseui enable_browseui
19247 wine_fn_config_makefile dlls/browseui/tests enable_tests
19248 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19249 wine_fn_config_makefile dlls/cabinet enable_cabinet
19250 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19251 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19252 wine_fn_config_makefile dlls/cards enable_cards
19253 wine_fn_config_makefile dlls/cdosys enable_cdosys
19254 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19255 wine_fn_config_makefile dlls/clusapi enable_clusapi
19256 wine_fn_config_makefile dlls/combase enable_combase
19257 wine_fn_config_makefile dlls/combase/tests enable_tests
19258 wine_fn_config_makefile dlls/comcat enable_comcat
19259 wine_fn_config_makefile dlls/comcat/tests enable_tests
19260 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19261 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19262 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19263 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19264 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19265 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19266 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19267 wine_fn_config_makefile dlls/compstui enable_compstui
19268 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19269 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19270 wine_fn_config_makefile dlls/connect enable_connect
19271 wine_fn_config_makefile dlls/credui enable_credui
19272 wine_fn_config_makefile dlls/credui/tests enable_tests
19273 wine_fn_config_makefile dlls/crtdll enable_crtdll
19274 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19275 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19276 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19277 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19278 wine_fn_config_makefile dlls/cryptext enable_cryptext
19279 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19280 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19281 wine_fn_config_makefile dlls/cryptui enable_cryptui
19282 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19283 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19284 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19285 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19286 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19287 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19288 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19289 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19290 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19291 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19292 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19293 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19294 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19295 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19296 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19297 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19298 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19299 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19300 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19301 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19302 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19303 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19304 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19305 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19306 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19307 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19308 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19309 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19310 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19311 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19312 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19313 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19314 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19315 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19316 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19317 wine_fn_config_makefile dlls/d3dim enable_d3dim
19318 wine_fn_config_makefile dlls/d3drm enable_d3drm
19319 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19320 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19321 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19322 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19323 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19324 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19325 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19326 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19327 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19328 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19329 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19330 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19331 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19332 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19333 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19334 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19335 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19336 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19337 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19338 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19339 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19340 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19341 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19342 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19343 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19344 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19345 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19346 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19347 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19348 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19349 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19350 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19351 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19352 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19353 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19354 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19355 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19356 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19357 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19358 wine_fn_config_makefile dlls/davclnt enable_davclnt
19359 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19360 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19361 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19362 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19363 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19364 wine_fn_config_makefile dlls/ddraw enable_ddraw
19365 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19366 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19367 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19368 wine_fn_config_makefile dlls/devenum enable_devenum
19369 wine_fn_config_makefile dlls/devenum/tests enable_tests
19370 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19371 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19372 wine_fn_config_makefile dlls/difxapi enable_difxapi
19373 wine_fn_config_makefile dlls/dinput enable_dinput
19374 wine_fn_config_makefile dlls/dinput/tests enable_tests
19375 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19376 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19377 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19378 wine_fn_config_makefile dlls/dispex enable_dispex
19379 wine_fn_config_makefile dlls/dispex/tests enable_tests
19380 wine_fn_config_makefile dlls/display.drv16 enable_win16
19381 wine_fn_config_makefile dlls/dmband enable_dmband
19382 wine_fn_config_makefile dlls/dmband/tests enable_tests
19383 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19384 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19385 wine_fn_config_makefile dlls/dmime enable_dmime
19386 wine_fn_config_makefile dlls/dmime/tests enable_tests
19387 wine_fn_config_makefile dlls/dmloader enable_dmloader
19388 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19389 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19390 wine_fn_config_makefile dlls/dmscript enable_dmscript
19391 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19392 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19393 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19394 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19395 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19396 wine_fn_config_makefile dlls/dmusic enable_dmusic
19397 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19398 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19399 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19400 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19401 wine_fn_config_makefile dlls/dplay enable_dplay
19402 wine_fn_config_makefile dlls/dplayx enable_dplayx
19403 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19404 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19405 wine_fn_config_makefile dlls/dpnet enable_dpnet
19406 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19407 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19408 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19409 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19410 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19411 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19412 wine_fn_config_makefile dlls/drmclien enable_drmclien
19413 wine_fn_config_makefile dlls/dsound enable_dsound
19414 wine_fn_config_makefile dlls/dsound/tests enable_tests
19415 wine_fn_config_makefile dlls/dsquery enable_dsquery
19416 wine_fn_config_makefile dlls/dssenh enable_dssenh
19417 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19418 wine_fn_config_makefile dlls/dswave enable_dswave
19419 wine_fn_config_makefile dlls/dswave/tests enable_tests
19420 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19421 wine_fn_config_makefile dlls/dwrite enable_dwrite
19422 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19423 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19424 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19425 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19426 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19427 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19428 wine_fn_config_makefile dlls/dxgi enable_dxgi
19429 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19430 wine_fn_config_makefile dlls/dxguid enable_dxguid
19431 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19432 wine_fn_config_makefile dlls/esent enable_esent
19433 wine_fn_config_makefile dlls/evr enable_evr
19434 wine_fn_config_makefile dlls/evr/tests enable_tests
19435 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19436 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19437 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19438 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19439 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19440 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19441 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19442 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19443 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19444 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19445 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19446 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19454 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19455 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19456 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19457 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19458 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19459 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19460 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19461 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19462 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19463 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19464 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19465 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19466 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
19467 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19468 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19469 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19470 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19471 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19472 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19473 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19474 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19475 wine_fn_config_makefile dlls/faultrep enable_faultrep
19476 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19477 wine_fn_config_makefile dlls/feclient enable_feclient
19478 wine_fn_config_makefile dlls/fltlib enable_fltlib
19479 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19480 wine_fn_config_makefile dlls/fntcache enable_fntcache
19481 wine_fn_config_makefile dlls/fontsub enable_fontsub
19482 wine_fn_config_makefile dlls/fusion enable_fusion
19483 wine_fn_config_makefile dlls/fusion/tests enable_tests
19484 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19485 wine_fn_config_makefile dlls/gameux enable_gameux
19486 wine_fn_config_makefile dlls/gameux/tests enable_tests
19487 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19488 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19489 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19490 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19491 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19492 wine_fn_config_makefile dlls/glu32 enable_glu32
19493 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19494 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19495 wine_fn_config_makefile dlls/hal enable_hal
19496 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19497 wine_fn_config_makefile dlls/hid enable_hid
19498 wine_fn_config_makefile dlls/hid/tests enable_tests
19499 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19500 wine_fn_config_makefile dlls/hlink enable_hlink
19501 wine_fn_config_makefile dlls/hlink/tests enable_tests
19502 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19503 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19504 wine_fn_config_makefile dlls/httpapi enable_httpapi
19505 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19506 wine_fn_config_makefile dlls/iccvid enable_iccvid
19507 wine_fn_config_makefile dlls/icmp enable_icmp
19508 wine_fn_config_makefile dlls/ieframe enable_ieframe
19509 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19510 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19511 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19512 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19513 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19514 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19515 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19516 wine_fn_config_makefile dlls/imm32 enable_imm32
19517 wine_fn_config_makefile dlls/imm32/tests enable_tests
19518 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19519 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19520 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19521 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19522 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19523 wine_fn_config_makefile dlls/infosoft enable_infosoft
19524 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19525 wine_fn_config_makefile dlls/initpki enable_initpki
19526 wine_fn_config_makefile dlls/inkobj enable_inkobj
19527 wine_fn_config_makefile dlls/inseng enable_inseng
19528 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19529 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19530 wine_fn_config_makefile dlls/iprop enable_iprop
19531 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19532 wine_fn_config_makefile dlls/itircl enable_itircl
19533 wine_fn_config_makefile dlls/itss enable_itss
19534 wine_fn_config_makefile dlls/itss/tests enable_tests
19535 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19536 wine_fn_config_makefile dlls/jscript enable_jscript
19537 wine_fn_config_makefile dlls/jscript/tests enable_tests
19538 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19539 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19540 wine_fn_config_makefile dlls/kerberos enable_kerberos
19541 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19542 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19543 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19544 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19545 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19546 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19547 wine_fn_config_makefile dlls/ksuser enable_ksuser
19548 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19549 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19550 wine_fn_config_makefile dlls/loadperf enable_loadperf
19551 wine_fn_config_makefile dlls/localspl enable_localspl
19552 wine_fn_config_makefile dlls/localspl/tests enable_tests
19553 wine_fn_config_makefile dlls/localui enable_localui
19554 wine_fn_config_makefile dlls/localui/tests enable_tests
19555 wine_fn_config_makefile dlls/lz32 enable_lz32
19556 wine_fn_config_makefile dlls/lz32/tests enable_tests
19557 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19558 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19559 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19560 wine_fn_config_makefile dlls/mapistub enable_mapistub
19561 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19562 wine_fn_config_makefile dlls/mcicda enable_mcicda
19563 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19564 wine_fn_config_makefile dlls/mciseq enable_mciseq
19565 wine_fn_config_makefile dlls/mciwave enable_mciwave
19566 wine_fn_config_makefile dlls/mf enable_mf
19567 wine_fn_config_makefile dlls/mf/tests enable_tests
19568 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19569 wine_fn_config_makefile dlls/mfplat enable_mfplat
19570 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19571 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19572 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19573 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19574 wine_fn_config_makefile dlls/midimap enable_midimap
19575 wine_fn_config_makefile dlls/mlang enable_mlang
19576 wine_fn_config_makefile dlls/mlang/tests enable_tests
19577 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19578 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19579 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19580 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19581 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19582 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19583 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19584 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19585 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19586 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19587 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19588 wine_fn_config_makefile dlls/mpr enable_mpr
19589 wine_fn_config_makefile dlls/mpr/tests enable_tests
19590 wine_fn_config_makefile dlls/mprapi enable_mprapi
19591 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19592 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19593 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19594 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19595 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19596 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19597 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19598 wine_fn_config_makefile dlls/mscms enable_mscms
19599 wine_fn_config_makefile dlls/mscms/tests enable_tests
19600 wine_fn_config_makefile dlls/mscoree enable_mscoree
19601 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19602 wine_fn_config_makefile dlls/msctf enable_msctf
19603 wine_fn_config_makefile dlls/msctf/tests enable_tests
19604 wine_fn_config_makefile dlls/msctfp enable_msctfp
19605 wine_fn_config_makefile dlls/msdaps enable_msdaps
19606 wine_fn_config_makefile dlls/msdelta enable_msdelta
19607 wine_fn_config_makefile dlls/msdmo enable_msdmo
19608 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19609 wine_fn_config_makefile dlls/msdrm enable_msdrm
19610 wine_fn_config_makefile dlls/msftedit enable_msftedit
19611 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19612 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19613 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19614 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19615 wine_fn_config_makefile dlls/mshtml enable_mshtml
19616 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19617 wine_fn_config_makefile dlls/msi enable_msi
19618 wine_fn_config_makefile dlls/msi/tests enable_tests
19619 wine_fn_config_makefile dlls/msident enable_msident
19620 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19621 wine_fn_config_makefile dlls/msimsg enable_msimsg
19622 wine_fn_config_makefile dlls/msimtf enable_msimtf
19623 wine_fn_config_makefile dlls/msisip enable_msisip
19624 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19625 wine_fn_config_makefile dlls/msls31 enable_msls31
19626 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19627 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19628 wine_fn_config_makefile dlls/msports enable_msports
19629 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19630 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19631 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19632 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19633 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19634 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19635 wine_fn_config_makefile dlls/mstask enable_mstask
19636 wine_fn_config_makefile dlls/mstask/tests enable_tests
19637 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19638 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19639 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19640 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19641 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19642 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19643 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19644 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19645 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19646 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19647 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19648 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19649 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19650 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19651 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19652 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19653 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19654 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19655 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19656 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19657 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19658 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19659 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19660 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19661 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19662 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19663 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19664 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19665 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19666 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19667 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19668 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19669 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19670 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19671 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19672 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19673 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19674 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19675 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19676 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19677 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19678 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19679 wine_fn_config_makefile dlls/mswsock enable_mswsock
19680 wine_fn_config_makefile dlls/msxml enable_msxml
19681 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19682 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19683 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19684 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19685 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19686 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19687 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19688 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19689 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19690 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19691 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19692 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19693 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19694 wine_fn_config_makefile dlls/netprofm enable_netprofm
19695 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19696 wine_fn_config_makefile dlls/newdev enable_newdev
19697 wine_fn_config_makefile dlls/ninput enable_ninput
19698 wine_fn_config_makefile dlls/ninput/tests enable_tests
19699 wine_fn_config_makefile dlls/normaliz enable_normaliz
19700 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19701 wine_fn_config_makefile dlls/npptools enable_npptools
19702 wine_fn_config_makefile dlls/ntdll enable_ntdll
19703 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19704 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19705 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19706 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19707 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19708 wine_fn_config_makefile dlls/ntprint enable_ntprint
19709 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19710 wine_fn_config_makefile dlls/objsel enable_objsel
19711 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19712 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19713 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19714 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19715 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19716 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19717 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19718 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19719 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19720 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19721 wine_fn_config_makefile dlls/ole32 enable_ole32
19722 wine_fn_config_makefile dlls/ole32/tests enable_tests
19723 wine_fn_config_makefile dlls/oleacc enable_oleacc
19724 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19725 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19726 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19727 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19728 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19729 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19730 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19731 wine_fn_config_makefile dlls/oledlg enable_oledlg
19732 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19733 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19734 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19735 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19736 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19737 wine_fn_config_makefile dlls/opcservices enable_opcservices
19738 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19739 wine_fn_config_makefile dlls/openal32 enable_openal32
19740 wine_fn_config_makefile dlls/opencl enable_opencl
19741 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19742 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19743 wine_fn_config_makefile dlls/packager enable_packager
19744 wine_fn_config_makefile dlls/packager/tests enable_tests
19745 wine_fn_config_makefile dlls/pdh enable_pdh
19746 wine_fn_config_makefile dlls/pdh/tests enable_tests
19747 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19748 wine_fn_config_makefile dlls/pidgen enable_pidgen
19749 wine_fn_config_makefile dlls/powrprof enable_powrprof
19750 wine_fn_config_makefile dlls/printui enable_printui
19751 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19752 wine_fn_config_makefile dlls/propsys enable_propsys
19753 wine_fn_config_makefile dlls/propsys/tests enable_tests
19754 wine_fn_config_makefile dlls/psapi enable_psapi
19755 wine_fn_config_makefile dlls/psapi/tests enable_tests
19756 wine_fn_config_makefile dlls/pstorec enable_pstorec
19757 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19758 wine_fn_config_makefile dlls/qcap enable_qcap
19759 wine_fn_config_makefile dlls/qcap/tests enable_tests
19760 wine_fn_config_makefile dlls/qedit enable_qedit
19761 wine_fn_config_makefile dlls/qedit/tests enable_tests
19762 wine_fn_config_makefile dlls/qmgr enable_qmgr
19763 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19764 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19765 wine_fn_config_makefile dlls/quartz enable_quartz
19766 wine_fn_config_makefile dlls/quartz/tests enable_tests
19767 wine_fn_config_makefile dlls/query enable_query
19768 wine_fn_config_makefile dlls/qwave enable_qwave
19769 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19770 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19771 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19772 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19773 wine_fn_config_makefile dlls/regapi enable_regapi
19774 wine_fn_config_makefile dlls/resutils enable_resutils
19775 wine_fn_config_makefile dlls/riched20 enable_riched20
19776 wine_fn_config_makefile dlls/riched20/tests enable_tests
19777 wine_fn_config_makefile dlls/riched32 enable_riched32
19778 wine_fn_config_makefile dlls/riched32/tests enable_tests
19779 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19780 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19781 wine_fn_config_makefile dlls/rsabase enable_rsabase
19782 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19783 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19784 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19785 wine_fn_config_makefile dlls/rtutils enable_rtutils
19786 wine_fn_config_makefile dlls/samlib enable_samlib
19787 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19788 wine_fn_config_makefile dlls/sapi enable_sapi
19789 wine_fn_config_makefile dlls/sapi/tests enable_tests
19790 wine_fn_config_makefile dlls/sas enable_sas
19791 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19792 wine_fn_config_makefile dlls/sccbase enable_sccbase
19793 wine_fn_config_makefile dlls/schannel enable_schannel
19794 wine_fn_config_makefile dlls/schannel/tests enable_tests
19795 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19796 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19797 wine_fn_config_makefile dlls/scrobj enable_scrobj
19798 wine_fn_config_makefile dlls/scrrun enable_scrrun
19799 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19800 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19801 wine_fn_config_makefile dlls/secur32 enable_secur32
19802 wine_fn_config_makefile dlls/secur32/tests enable_tests
19803 wine_fn_config_makefile dlls/security enable_security
19804 wine_fn_config_makefile dlls/sensapi enable_sensapi
19805 wine_fn_config_makefile dlls/serialui enable_serialui
19806 wine_fn_config_makefile dlls/serialui/tests enable_tests
19807 wine_fn_config_makefile dlls/setupapi enable_setupapi
19808 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19809 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19810 wine_fn_config_makefile dlls/sfc enable_sfc
19811 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19812 wine_fn_config_makefile dlls/shcore enable_shcore
19813 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19814 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19815 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19816 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19817 wine_fn_config_makefile dlls/shell32 enable_shell32
19818 wine_fn_config_makefile dlls/shell32/tests enable_tests
19819 wine_fn_config_makefile dlls/shfolder enable_shfolder
19820 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19821 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19822 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19823 wine_fn_config_makefile dlls/slc enable_slc
19824 wine_fn_config_makefile dlls/slc/tests enable_tests
19825 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19826 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19827 wine_fn_config_makefile dlls/softpub enable_softpub
19828 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19829 wine_fn_config_makefile dlls/spoolss enable_spoolss
19830 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19831 wine_fn_config_makefile dlls/srclient enable_srclient
19832 wine_fn_config_makefile dlls/sspicli enable_sspicli
19833 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19834 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19835 wine_fn_config_makefile dlls/sti enable_sti
19836 wine_fn_config_makefile dlls/sti/tests enable_tests
19837 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19838 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19839 wine_fn_config_makefile dlls/strmbase enable_strmbase
19840 wine_fn_config_makefile dlls/strmdll enable_strmdll
19841 wine_fn_config_makefile dlls/strmiids enable_strmiids
19842 wine_fn_config_makefile dlls/svrapi enable_svrapi
19843 wine_fn_config_makefile dlls/sxs enable_sxs
19844 wine_fn_config_makefile dlls/sxs/tests enable_tests
19845 wine_fn_config_makefile dlls/system.drv16 enable_win16
19846 wine_fn_config_makefile dlls/t2embed enable_t2embed
19847 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19848 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19849 wine_fn_config_makefile dlls/taskschd enable_taskschd
19850 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19851 wine_fn_config_makefile dlls/tdh enable_tdh
19852 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19853 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19854 wine_fn_config_makefile dlls/traffic enable_traffic
19855 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19856 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19857 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19858 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19859 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19860 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19861 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19862 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19863 wine_fn_config_makefile dlls/unicows enable_unicows
19864 wine_fn_config_makefile dlls/updspapi enable_updspapi
19865 wine_fn_config_makefile dlls/url enable_url
19866 wine_fn_config_makefile dlls/urlmon enable_urlmon
19867 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19868 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19869 wine_fn_config_makefile dlls/user.exe16 enable_win16
19870 wine_fn_config_makefile dlls/user32 enable_user32
19871 wine_fn_config_makefile dlls/user32/tests enable_tests
19872 wine_fn_config_makefile dlls/userenv enable_userenv
19873 wine_fn_config_makefile dlls/userenv/tests enable_tests
19874 wine_fn_config_makefile dlls/usp10 enable_usp10
19875 wine_fn_config_makefile dlls/usp10/tests enable_tests
19876 wine_fn_config_makefile dlls/uuid enable_uuid
19877 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19878 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19879 wine_fn_config_makefile dlls/vbscript enable_vbscript
19880 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19881 wine_fn_config_makefile dlls/vcomp enable_vcomp
19882 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19883 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19884 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19885 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19886 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19887 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19888 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19889 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19890 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19891 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19892 wine_fn_config_makefile dlls/version enable_version
19893 wine_fn_config_makefile dlls/version/tests enable_tests
19894 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19895 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19896 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19897 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19898 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19899 wine_fn_config_makefile dlls/vssapi enable_vssapi
19900 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19901 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19902 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19903 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19904 wine_fn_config_makefile dlls/w32skrnl enable_win16
19905 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19906 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19907 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19908 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19909 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19910 wine_fn_config_makefile dlls/wdscore enable_wdscore
19911 wine_fn_config_makefile dlls/webservices enable_webservices
19912 wine_fn_config_makefile dlls/webservices/tests enable_tests
19913 wine_fn_config_makefile dlls/wer enable_wer
19914 wine_fn_config_makefile dlls/wer/tests enable_tests
19915 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19916 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19917 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19918 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19919 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19920 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19921 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19922 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19923 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19924 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19925 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19926 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19927 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19928 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19929 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19930 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19931 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19932 wine_fn_config_makefile dlls/wined3d enable_wined3d
19933 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19934 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19935 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19936 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19937 wine_fn_config_makefile dlls/winemapi enable_winemapi
19938 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19939 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19940 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19941 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19942 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19943 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19944 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19945 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19946 wine_fn_config_makefile dlls/wing32 enable_wing32
19947 wine_fn_config_makefile dlls/winhttp enable_winhttp
19948 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19949 wine_fn_config_makefile dlls/wininet enable_wininet
19950 wine_fn_config_makefile dlls/wininet/tests enable_tests
19951 wine_fn_config_makefile dlls/winmm enable_winmm
19952 wine_fn_config_makefile dlls/winmm/tests enable_tests
19953 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19954 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19955 wine_fn_config_makefile dlls/winscard enable_winscard
19956 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19957 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19958 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19959 wine_fn_config_makefile dlls/winsta enable_winsta
19960 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19961 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19962 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19963 wine_fn_config_makefile dlls/wintrust enable_wintrust
19964 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19965 wine_fn_config_makefile dlls/winusb enable_winusb
19966 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19967 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19968 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19969 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19970 wine_fn_config_makefile dlls/wmasf enable_wmasf
19971 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19972 wine_fn_config_makefile dlls/wmi enable_wmi
19973 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19974 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19975 wine_fn_config_makefile dlls/wmp enable_wmp
19976 wine_fn_config_makefile dlls/wmp/tests enable_tests
19977 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19978 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19979 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19980 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19981 wine_fn_config_makefile dlls/wow32 enable_win16
19982 wine_fn_config_makefile dlls/wpc enable_wpc
19983 wine_fn_config_makefile dlls/wpc/tests enable_tests
19984 wine_fn_config_makefile dlls/wpcap enable_wpcap
19985 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19986 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19987 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19988 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19989 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19990 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19991 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19992 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19993 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19994 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19995 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19996 wine_fn_config_makefile dlls/wuapi enable_wuapi
19997 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19998 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19999 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20000 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20001 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20002 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20003 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20004 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20005 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20006 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20007 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20008 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20009 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20010 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20011 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20012 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20013 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20014 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20015 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20016 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20017 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20018 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20019 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20020 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20021 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20022 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20023 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20024 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20025 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20026 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20027 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20028 wine_fn_config_makefile dlls/xmllite enable_xmllite
20029 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20030 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20031 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20032 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20033 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
20034 wine_fn_config_makefile include enable_include
20035 wine_fn_config_makefile libs/port enable_port
20036 wine_fn_config_makefile libs/wine enable_wine
20037 wine_fn_config_makefile libs/wpp enable_wpp
20038 wine_fn_config_makefile loader enable_loader
20039 wine_fn_config_makefile po enable_po
20040 wine_fn_config_makefile programs/arp enable_arp
20041 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20042 wine_fn_config_makefile programs/attrib enable_attrib
20043 wine_fn_config_makefile programs/cabarc enable_cabarc
20044 wine_fn_config_makefile programs/cacls enable_cacls
20045 wine_fn_config_makefile programs/clock enable_clock
20046 wine_fn_config_makefile programs/cmd enable_cmd
20047 wine_fn_config_makefile programs/cmd/tests enable_tests
20048 wine_fn_config_makefile programs/conhost enable_conhost
20049 wine_fn_config_makefile programs/control enable_control
20050 wine_fn_config_makefile programs/cscript enable_cscript
20051 wine_fn_config_makefile programs/dism enable_dism
20052 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20053 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20054 wine_fn_config_makefile programs/eject enable_eject
20055 wine_fn_config_makefile programs/expand enable_expand
20056 wine_fn_config_makefile programs/explorer enable_explorer
20057 wine_fn_config_makefile programs/extrac32 enable_extrac32
20058 wine_fn_config_makefile programs/fc enable_fc
20059 wine_fn_config_makefile programs/find enable_find
20060 wine_fn_config_makefile programs/findstr enable_findstr
20061 wine_fn_config_makefile programs/fsutil enable_fsutil
20062 wine_fn_config_makefile programs/hh enable_hh
20063 wine_fn_config_makefile programs/hostname enable_hostname
20064 wine_fn_config_makefile programs/icacls enable_icacls
20065 wine_fn_config_makefile programs/icinfo enable_icinfo
20066 wine_fn_config_makefile programs/iexplore enable_iexplore
20067 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20068 wine_fn_config_makefile programs/lodctr enable_lodctr
20069 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20070 wine_fn_config_makefile programs/mshta enable_mshta
20071 wine_fn_config_makefile programs/msiexec enable_msiexec
20072 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20073 wine_fn_config_makefile programs/net enable_net
20074 wine_fn_config_makefile programs/netsh enable_netsh
20075 wine_fn_config_makefile programs/netstat enable_netstat
20076 wine_fn_config_makefile programs/ngen enable_ngen
20077 wine_fn_config_makefile programs/notepad enable_notepad
20078 wine_fn_config_makefile programs/oleview enable_oleview
20079 wine_fn_config_makefile programs/ping enable_ping
20080 wine_fn_config_makefile programs/plugplay enable_plugplay
20081 wine_fn_config_makefile programs/powershell enable_powershell
20082 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20083 wine_fn_config_makefile programs/progman enable_progman
20084 wine_fn_config_makefile programs/reg enable_reg
20085 wine_fn_config_makefile programs/reg/tests enable_tests
20086 wine_fn_config_makefile programs/regasm enable_regasm
20087 wine_fn_config_makefile programs/regedit enable_regedit
20088 wine_fn_config_makefile programs/regedit/tests enable_tests
20089 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20090 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20091 wine_fn_config_makefile programs/rpcss enable_rpcss
20092 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20093 wine_fn_config_makefile programs/rundll32 enable_rundll32
20094 wine_fn_config_makefile programs/sc enable_sc
20095 wine_fn_config_makefile programs/schtasks enable_schtasks
20096 wine_fn_config_makefile programs/schtasks/tests enable_tests
20097 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20098 wine_fn_config_makefile programs/secedit enable_secedit
20099 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20100 wine_fn_config_makefile programs/services enable_services
20101 wine_fn_config_makefile programs/services/tests enable_tests
20102 wine_fn_config_makefile programs/shutdown enable_shutdown
20103 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20104 wine_fn_config_makefile programs/start enable_start
20105 wine_fn_config_makefile programs/subst enable_subst
20106 wine_fn_config_makefile programs/svchost enable_svchost
20107 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20108 wine_fn_config_makefile programs/taskkill enable_taskkill
20109 wine_fn_config_makefile programs/tasklist enable_tasklist
20110 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20111 wine_fn_config_makefile programs/termsv enable_termsv
20112 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20113 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20114 wine_fn_config_makefile programs/view enable_view
20115 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20116 wine_fn_config_makefile programs/wineboot enable_wineboot
20117 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20118 wine_fn_config_makefile programs/winecfg enable_winecfg
20119 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20120 wine_fn_config_makefile programs/winedbg enable_winedbg
20121 wine_fn_config_makefile programs/winedevice enable_winedevice
20122 wine_fn_config_makefile programs/winefile enable_winefile
20123 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20124 wine_fn_config_makefile programs/winemine enable_winemine
20125 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20126 wine_fn_config_makefile programs/winepath enable_winepath
20127 wine_fn_config_makefile programs/winetest enable_winetest
20128 wine_fn_config_makefile programs/winevdm enable_win16
20129 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20130 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20131 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20132 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20133 wine_fn_config_makefile programs/winver enable_winver
20134 wine_fn_config_makefile programs/wmic enable_wmic
20135 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20136 wine_fn_config_makefile programs/wordpad enable_wordpad
20137 wine_fn_config_makefile programs/write enable_write
20138 wine_fn_config_makefile programs/wscript enable_wscript
20139 wine_fn_config_makefile programs/wscript/tests enable_tests
20140 wine_fn_config_makefile programs/wusa enable_wusa
20141 wine_fn_config_makefile programs/xcopy enable_xcopy
20142 wine_fn_config_makefile programs/xcopy/tests enable_tests
20143 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
20144 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20145 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20146 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20147 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20148 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20149 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20150 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20151 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20152 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20155 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20156 wine_fn_append_file CONFIGURE_TARGETS "tags"
20157 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20158 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20159 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20160 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20161 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20162 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20164 if test "x$enable_tools" != xno
20165 then
20166 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20167 ac_config_commands="$ac_config_commands tools/makedep"
20171 ac_config_commands="$ac_config_commands Makefile"
20174 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20178 if test "x$enable_maintainer_mode" = xyes
20179 then
20180 wine_fn_append_rule "configure: configure.ac aclocal.m4
20181 autoconf --warnings=all
20182 include/config.h.in: include/stamp-h.in
20183 include/stamp-h.in: configure.ac aclocal.m4
20184 autoheader --warnings=all
20185 @echo timestamp > \$@"
20188 if test "x$enable_tools" != xno
20189 then
20190 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20191 @./config.status tools/makedep
20192 Makefile: tools/makedep$ac_exeext
20193 fonts: tools/sfnt2fon
20194 include: tools tools/widl"
20195 else
20196 wine_fn_append_rule "\$(MAKEDEP):
20197 @echo \"You need to run make in $TOOLSDIR first\" && false"
20200 if test -n "$with_wine64"
20201 then
20202 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20203 fonts server:
20204 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
20205 $with_wine64/loader/wine:
20206 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20207 $with_wine64/loader/wine-preloader:
20208 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20209 clean::
20210 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20211 else
20212 WINELOADER_INSTALL="wine.inf l_intl.nls"
20214 case $host_os in
20215 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20216 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
20217 esac
20220 $as_echo " done" >&6
20221 cat >confcache <<\_ACEOF
20222 # This file is a shell script that caches the results of configure
20223 # tests run on this system so they can be shared between configure
20224 # scripts and configure runs, see configure's option --config-cache.
20225 # It is not useful on other systems. If it contains results you don't
20226 # want to keep, you may remove or edit it.
20228 # config.status only pays attention to the cache file if you give it
20229 # the --recheck option to rerun configure.
20231 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20232 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20233 # following values.
20235 _ACEOF
20237 # The following way of writing the cache mishandles newlines in values,
20238 # but we know of no workaround that is simple, portable, and efficient.
20239 # So, we kill variables containing newlines.
20240 # Ultrix sh set writes to stderr and can't be redirected directly,
20241 # and sets the high bit in the cache file unless we assign to the vars.
20243 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20244 eval ac_val=\$$ac_var
20245 case $ac_val in #(
20246 *${as_nl}*)
20247 case $ac_var in #(
20248 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20249 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20250 esac
20251 case $ac_var in #(
20252 _ | IFS | as_nl) ;; #(
20253 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20254 *) { eval $ac_var=; unset $ac_var;} ;;
20255 esac ;;
20256 esac
20257 done
20259 (set) 2>&1 |
20260 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20261 *${as_nl}ac_space=\ *)
20262 # `set' does not quote correctly, so add quotes: double-quote
20263 # substitution turns \\\\ into \\, and sed turns \\ into \.
20264 sed -n \
20265 "s/'/'\\\\''/g;
20266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20267 ;; #(
20269 # `set' quotes correctly as required by POSIX, so do not add quotes.
20270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20272 esac |
20273 sort
20275 sed '
20276 /^ac_cv_env_/b end
20277 t clear
20278 :clear
20279 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20280 t end
20281 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20282 :end' >>confcache
20283 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20284 if test -w "$cache_file"; then
20285 if test "x$cache_file" != "x/dev/null"; then
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20287 $as_echo "$as_me: updating cache $cache_file" >&6;}
20288 if test ! -f "$cache_file" || test -h "$cache_file"; then
20289 cat confcache >"$cache_file"
20290 else
20291 case $cache_file in #(
20292 */* | ?:*)
20293 mv -f confcache "$cache_file"$$ &&
20294 mv -f "$cache_file"$$ "$cache_file" ;; #(
20296 mv -f confcache "$cache_file" ;;
20297 esac
20300 else
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20302 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20305 rm -f confcache
20307 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20308 # Let make expand exec_prefix.
20309 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20311 DEFS=-DHAVE_CONFIG_H
20313 ac_libobjs=
20314 ac_ltlibobjs=
20316 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20317 # 1. Remove the extension, and $U if already installed.
20318 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20319 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20320 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20321 # will be set to the directory where LIBOBJS objects are built.
20322 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20323 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20324 done
20325 LIBOBJS=$ac_libobjs
20327 LTLIBOBJS=$ac_ltlibobjs
20331 : "${CONFIG_STATUS=./config.status}"
20332 ac_write_fail=0
20333 ac_clean_files_save=$ac_clean_files
20334 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20336 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20337 as_write_fail=0
20338 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20339 #! $SHELL
20340 # Generated by $as_me.
20341 # Run this file to recreate the current configuration.
20342 # Compiler output produced by configure, useful for debugging
20343 # configure, is in config.log if it exists.
20345 debug=false
20346 ac_cs_recheck=false
20347 ac_cs_silent=false
20349 SHELL=\${CONFIG_SHELL-$SHELL}
20350 export SHELL
20351 _ASEOF
20352 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20353 ## -------------------- ##
20354 ## M4sh Initialization. ##
20355 ## -------------------- ##
20357 # Be more Bourne compatible
20358 DUALCASE=1; export DUALCASE # for MKS sh
20359 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20360 emulate sh
20361 NULLCMD=:
20362 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20363 # is contrary to our usage. Disable this feature.
20364 alias -g '${1+"$@"}'='"$@"'
20365 setopt NO_GLOB_SUBST
20366 else
20367 case `(set -o) 2>/dev/null` in #(
20368 *posix*) :
20369 set -o posix ;; #(
20370 *) :
20372 esac
20376 as_nl='
20378 export as_nl
20379 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20380 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20381 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20382 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20383 # Prefer a ksh shell builtin over an external printf program on Solaris,
20384 # but without wasting forks for bash or zsh.
20385 if test -z "$BASH_VERSION$ZSH_VERSION" \
20386 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20387 as_echo='print -r --'
20388 as_echo_n='print -rn --'
20389 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20390 as_echo='printf %s\n'
20391 as_echo_n='printf %s'
20392 else
20393 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20394 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20395 as_echo_n='/usr/ucb/echo -n'
20396 else
20397 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20398 as_echo_n_body='eval
20399 arg=$1;
20400 case $arg in #(
20401 *"$as_nl"*)
20402 expr "X$arg" : "X\\(.*\\)$as_nl";
20403 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20404 esac;
20405 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20407 export as_echo_n_body
20408 as_echo_n='sh -c $as_echo_n_body as_echo'
20410 export as_echo_body
20411 as_echo='sh -c $as_echo_body as_echo'
20414 # The user is always right.
20415 if test "${PATH_SEPARATOR+set}" != set; then
20416 PATH_SEPARATOR=:
20417 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20418 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20419 PATH_SEPARATOR=';'
20424 # IFS
20425 # We need space, tab and new line, in precisely that order. Quoting is
20426 # there to prevent editors from complaining about space-tab.
20427 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20428 # splitting by setting IFS to empty value.)
20429 IFS=" "" $as_nl"
20431 # Find who we are. Look in the path if we contain no directory separator.
20432 as_myself=
20433 case $0 in #((
20434 *[\\/]* ) as_myself=$0 ;;
20435 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20436 for as_dir in $PATH
20438 IFS=$as_save_IFS
20439 test -z "$as_dir" && as_dir=.
20440 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20441 done
20442 IFS=$as_save_IFS
20445 esac
20446 # We did not find ourselves, most probably we were run as `sh COMMAND'
20447 # in which case we are not to be found in the path.
20448 if test "x$as_myself" = x; then
20449 as_myself=$0
20451 if test ! -f "$as_myself"; then
20452 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20453 exit 1
20456 # Unset variables that we do not need and which cause bugs (e.g. in
20457 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20458 # suppresses any "Segmentation fault" message there. '((' could
20459 # trigger a bug in pdksh 5.2.14.
20460 for as_var in BASH_ENV ENV MAIL MAILPATH
20461 do eval test x\${$as_var+set} = xset \
20462 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20463 done
20464 PS1='$ '
20465 PS2='> '
20466 PS4='+ '
20468 # NLS nuisances.
20469 LC_ALL=C
20470 export LC_ALL
20471 LANGUAGE=C
20472 export LANGUAGE
20474 # CDPATH.
20475 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20478 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20479 # ----------------------------------------
20480 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20481 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20482 # script with STATUS, using 1 if that was 0.
20483 as_fn_error ()
20485 as_status=$1; test $as_status -eq 0 && as_status=1
20486 if test "$4"; then
20487 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20488 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20490 $as_echo "$as_me: error: $2" >&2
20491 as_fn_exit $as_status
20492 } # as_fn_error
20495 # as_fn_set_status STATUS
20496 # -----------------------
20497 # Set $? to STATUS, without forking.
20498 as_fn_set_status ()
20500 return $1
20501 } # as_fn_set_status
20503 # as_fn_exit STATUS
20504 # -----------------
20505 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20506 as_fn_exit ()
20508 set +e
20509 as_fn_set_status $1
20510 exit $1
20511 } # as_fn_exit
20513 # as_fn_unset VAR
20514 # ---------------
20515 # Portably unset VAR.
20516 as_fn_unset ()
20518 { eval $1=; unset $1;}
20520 as_unset=as_fn_unset
20521 # as_fn_append VAR VALUE
20522 # ----------------------
20523 # Append the text in VALUE to the end of the definition contained in VAR. Take
20524 # advantage of any shell optimizations that allow amortized linear growth over
20525 # repeated appends, instead of the typical quadratic growth present in naive
20526 # implementations.
20527 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20528 eval 'as_fn_append ()
20530 eval $1+=\$2
20532 else
20533 as_fn_append ()
20535 eval $1=\$$1\$2
20537 fi # as_fn_append
20539 # as_fn_arith ARG...
20540 # ------------------
20541 # Perform arithmetic evaluation on the ARGs, and store the result in the
20542 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20543 # must be portable across $(()) and expr.
20544 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20545 eval 'as_fn_arith ()
20547 as_val=$(( $* ))
20549 else
20550 as_fn_arith ()
20552 as_val=`expr "$@" || test $? -eq 1`
20554 fi # as_fn_arith
20557 if expr a : '\(a\)' >/dev/null 2>&1 &&
20558 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20559 as_expr=expr
20560 else
20561 as_expr=false
20564 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20565 as_basename=basename
20566 else
20567 as_basename=false
20570 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20571 as_dirname=dirname
20572 else
20573 as_dirname=false
20576 as_me=`$as_basename -- "$0" ||
20577 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20578 X"$0" : 'X\(//\)$' \| \
20579 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20580 $as_echo X/"$0" |
20581 sed '/^.*\/\([^/][^/]*\)\/*$/{
20582 s//\1/
20585 /^X\/\(\/\/\)$/{
20586 s//\1/
20589 /^X\/\(\/\).*/{
20590 s//\1/
20593 s/.*/./; q'`
20595 # Avoid depending upon Character Ranges.
20596 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20597 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20598 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20599 as_cr_digits='0123456789'
20600 as_cr_alnum=$as_cr_Letters$as_cr_digits
20602 ECHO_C= ECHO_N= ECHO_T=
20603 case `echo -n x` in #(((((
20604 -n*)
20605 case `echo 'xy\c'` in
20606 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20607 xy) ECHO_C='\c';;
20608 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20609 ECHO_T=' ';;
20610 esac;;
20612 ECHO_N='-n';;
20613 esac
20615 rm -f conf$$ conf$$.exe conf$$.file
20616 if test -d conf$$.dir; then
20617 rm -f conf$$.dir/conf$$.file
20618 else
20619 rm -f conf$$.dir
20620 mkdir conf$$.dir 2>/dev/null
20622 if (echo >conf$$.file) 2>/dev/null; then
20623 if ln -s conf$$.file conf$$ 2>/dev/null; then
20624 as_ln_s='ln -s'
20625 # ... but there are two gotchas:
20626 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20627 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20628 # In both cases, we have to default to `cp -pR'.
20629 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20630 as_ln_s='cp -pR'
20631 elif ln conf$$.file conf$$ 2>/dev/null; then
20632 as_ln_s=ln
20633 else
20634 as_ln_s='cp -pR'
20636 else
20637 as_ln_s='cp -pR'
20639 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20640 rmdir conf$$.dir 2>/dev/null
20643 # as_fn_mkdir_p
20644 # -------------
20645 # Create "$as_dir" as a directory, including parents if necessary.
20646 as_fn_mkdir_p ()
20649 case $as_dir in #(
20650 -*) as_dir=./$as_dir;;
20651 esac
20652 test -d "$as_dir" || eval $as_mkdir_p || {
20653 as_dirs=
20654 while :; do
20655 case $as_dir in #(
20656 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20657 *) as_qdir=$as_dir;;
20658 esac
20659 as_dirs="'$as_qdir' $as_dirs"
20660 as_dir=`$as_dirname -- "$as_dir" ||
20661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20662 X"$as_dir" : 'X\(//\)[^/]' \| \
20663 X"$as_dir" : 'X\(//\)$' \| \
20664 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20665 $as_echo X"$as_dir" |
20666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20667 s//\1/
20670 /^X\(\/\/\)[^/].*/{
20671 s//\1/
20674 /^X\(\/\/\)$/{
20675 s//\1/
20678 /^X\(\/\).*/{
20679 s//\1/
20682 s/.*/./; q'`
20683 test -d "$as_dir" && break
20684 done
20685 test -z "$as_dirs" || eval "mkdir $as_dirs"
20686 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20689 } # as_fn_mkdir_p
20690 if mkdir -p . 2>/dev/null; then
20691 as_mkdir_p='mkdir -p "$as_dir"'
20692 else
20693 test -d ./-p && rmdir ./-p
20694 as_mkdir_p=false
20698 # as_fn_executable_p FILE
20699 # -----------------------
20700 # Test if FILE is an executable regular file.
20701 as_fn_executable_p ()
20703 test -f "$1" && test -x "$1"
20704 } # as_fn_executable_p
20705 as_test_x='test -x'
20706 as_executable_p=as_fn_executable_p
20708 # Sed expression to map a string onto a valid CPP name.
20709 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20711 # Sed expression to map a string onto a valid variable name.
20712 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20715 exec 6>&1
20716 ## ----------------------------------- ##
20717 ## Main body of $CONFIG_STATUS script. ##
20718 ## ----------------------------------- ##
20719 _ASEOF
20720 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20723 # Save the log message, to keep $0 and so on meaningful, and to
20724 # report actual input values of CONFIG_FILES etc. instead of their
20725 # values after options handling.
20726 ac_log="
20727 This file was extended by Wine $as_me 3.20, which was
20728 generated by GNU Autoconf 2.69. Invocation command line was
20730 CONFIG_FILES = $CONFIG_FILES
20731 CONFIG_HEADERS = $CONFIG_HEADERS
20732 CONFIG_LINKS = $CONFIG_LINKS
20733 CONFIG_COMMANDS = $CONFIG_COMMANDS
20734 $ $0 $@
20736 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20739 _ACEOF
20741 case $ac_config_files in *"
20742 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20743 esac
20745 case $ac_config_headers in *"
20746 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20747 esac
20750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20751 # Files that config.status was made for.
20752 config_files="$ac_config_files"
20753 config_headers="$ac_config_headers"
20754 config_links="$ac_config_links"
20755 config_commands="$ac_config_commands"
20757 _ACEOF
20759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20760 ac_cs_usage="\
20761 \`$as_me' instantiates files and other configuration actions
20762 from templates according to the current configuration. Unless the files
20763 and actions are specified as TAGs, all are instantiated by default.
20765 Usage: $0 [OPTION]... [TAG]...
20767 -h, --help print this help, then exit
20768 -V, --version print version number and configuration settings, then exit
20769 --config print configuration, then exit
20770 -q, --quiet, --silent
20771 do not print progress messages
20772 -d, --debug don't remove temporary files
20773 --recheck update $as_me by reconfiguring in the same conditions
20774 --file=FILE[:TEMPLATE]
20775 instantiate the configuration file FILE
20776 --header=FILE[:TEMPLATE]
20777 instantiate the configuration header FILE
20779 Configuration files:
20780 $config_files
20782 Configuration headers:
20783 $config_headers
20785 Configuration links:
20786 $config_links
20788 Configuration commands:
20789 $config_commands
20791 Report bugs to <wine-devel@winehq.org>.
20792 Wine home page: <https://www.winehq.org>."
20794 _ACEOF
20795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20796 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20797 ac_cs_version="\\
20798 Wine config.status 3.20
20799 configured by $0, generated by GNU Autoconf 2.69,
20800 with options \\"\$ac_cs_config\\"
20802 Copyright (C) 2012 Free Software Foundation, Inc.
20803 This config.status script is free software; the Free Software Foundation
20804 gives unlimited permission to copy, distribute and modify it."
20806 ac_pwd='$ac_pwd'
20807 srcdir='$srcdir'
20808 test -n "\$AWK" || AWK=awk
20809 _ACEOF
20811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20812 # The default lists apply if the user does not specify any file.
20813 ac_need_defaults=:
20814 while test $# != 0
20816 case $1 in
20817 --*=?*)
20818 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20819 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20820 ac_shift=:
20822 --*=)
20823 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20824 ac_optarg=
20825 ac_shift=:
20828 ac_option=$1
20829 ac_optarg=$2
20830 ac_shift=shift
20832 esac
20834 case $ac_option in
20835 # Handling of the options.
20836 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20837 ac_cs_recheck=: ;;
20838 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20839 $as_echo "$ac_cs_version"; exit ;;
20840 --config | --confi | --conf | --con | --co | --c )
20841 $as_echo "$ac_cs_config"; exit ;;
20842 --debug | --debu | --deb | --de | --d | -d )
20843 debug=: ;;
20844 --file | --fil | --fi | --f )
20845 $ac_shift
20846 case $ac_optarg in
20847 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20848 '') as_fn_error $? "missing file argument" ;;
20849 esac
20850 as_fn_append CONFIG_FILES " '$ac_optarg'"
20851 ac_need_defaults=false;;
20852 --header | --heade | --head | --hea )
20853 $ac_shift
20854 case $ac_optarg in
20855 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20856 esac
20857 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20858 ac_need_defaults=false;;
20859 --he | --h)
20860 # Conflict between --help and --header
20861 as_fn_error $? "ambiguous option: \`$1'
20862 Try \`$0 --help' for more information.";;
20863 --help | --hel | -h )
20864 $as_echo "$ac_cs_usage"; exit ;;
20865 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20866 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20867 ac_cs_silent=: ;;
20869 # This is an error.
20870 -*) as_fn_error $? "unrecognized option: \`$1'
20871 Try \`$0 --help' for more information." ;;
20873 *) as_fn_append ac_config_targets " $1"
20874 ac_need_defaults=false ;;
20876 esac
20877 shift
20878 done
20880 ac_configure_extra_args=
20882 if $ac_cs_silent; then
20883 exec 6>/dev/null
20884 ac_configure_extra_args="$ac_configure_extra_args --silent"
20887 _ACEOF
20888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20889 if \$ac_cs_recheck; then
20890 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20891 shift
20892 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20893 CONFIG_SHELL='$SHELL'
20894 export CONFIG_SHELL
20895 exec "\$@"
20898 _ACEOF
20899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20900 exec 5>>config.log
20902 echo
20903 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20904 ## Running $as_me. ##
20905 _ASBOX
20906 $as_echo "$ac_log"
20907 } >&5
20909 _ACEOF
20910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20912 # INIT-COMMANDS
20914 wine_fn_output_makedep ()
20916 as_dir=tools; as_fn_mkdir_p
20917 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20919 wine_fn_output_makefile ()
20921 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20922 `cat $wine_rules_file`
20923 _WINE_EOF
20924 as_fn_error $? "could not create Makefile" "$LINENO" 5
20927 _ACEOF
20929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20931 # Handling of arguments.
20932 for ac_config_target in $ac_config_targets
20934 case $ac_config_target in
20935 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20936 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20937 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20938 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20939 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20940 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20941 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20942 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20943 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20944 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20945 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20946 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20947 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20949 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20950 esac
20951 done
20954 # If the user did not use the arguments to specify the items to instantiate,
20955 # then the envvar interface is used. Set only those that are not.
20956 # We use the long form for the default assignment because of an extremely
20957 # bizarre bug on SunOS 4.1.3.
20958 if $ac_need_defaults; then
20959 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20960 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20961 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20962 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20965 # Have a temporary directory for convenience. Make it in the build tree
20966 # simply because there is no reason against having it here, and in addition,
20967 # creating and moving files from /tmp can sometimes cause problems.
20968 # Hook for its removal unless debugging.
20969 # Note that there is a small window in which the directory will not be cleaned:
20970 # after its creation but before its name has been assigned to `$tmp'.
20971 $debug ||
20973 tmp= ac_tmp=
20974 trap 'exit_status=$?
20975 : "${ac_tmp:=$tmp}"
20976 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20978 trap 'as_fn_exit 1' 1 2 13 15
20980 # Create a (secure) tmp directory for tmp files.
20983 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20984 test -d "$tmp"
20985 } ||
20987 tmp=./conf$$-$RANDOM
20988 (umask 077 && mkdir "$tmp")
20989 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20990 ac_tmp=$tmp
20992 # Set up the scripts for CONFIG_FILES section.
20993 # No need to generate them if there are no CONFIG_FILES.
20994 # This happens for instance with `./config.status config.h'.
20995 if test -n "$CONFIG_FILES"; then
20998 ac_cr=`echo X | tr X '\015'`
20999 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21000 # But we know of no other shell where ac_cr would be empty at this
21001 # point, so we can use a bashism as a fallback.
21002 if test "x$ac_cr" = x; then
21003 eval ac_cr=\$\'\\r\'
21005 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21006 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21007 ac_cs_awk_cr='\\r'
21008 else
21009 ac_cs_awk_cr=$ac_cr
21012 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21013 _ACEOF
21017 echo "cat >conf$$subs.awk <<_ACEOF" &&
21018 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21019 echo "_ACEOF"
21020 } >conf$$subs.sh ||
21021 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21022 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21023 ac_delim='%!_!# '
21024 for ac_last_try in false false false false false :; do
21025 . ./conf$$subs.sh ||
21026 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21028 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21029 if test $ac_delim_n = $ac_delim_num; then
21030 break
21031 elif $ac_last_try; then
21032 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21033 else
21034 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21036 done
21037 rm -f conf$$subs.sh
21039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21040 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21041 _ACEOF
21042 sed -n '
21044 s/^/S["/; s/!.*/"]=/
21047 s/^[^!]*!//
21048 :repl
21049 t repl
21050 s/'"$ac_delim"'$//
21051 t delim
21054 s/\(.\{148\}\)..*/\1/
21055 t more1
21056 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21059 b repl
21060 :more1
21061 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21064 s/.\{148\}//
21065 t nl
21066 :delim
21068 s/\(.\{148\}\)..*/\1/
21069 t more2
21070 s/["\\]/\\&/g; s/^/"/; s/$/"/
21073 :more2
21074 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21077 s/.\{148\}//
21078 t delim
21079 ' <conf$$subs.awk | sed '
21080 /^[^""]/{
21082 s/\n//
21084 ' >>$CONFIG_STATUS || ac_write_fail=1
21085 rm -f conf$$subs.awk
21086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21087 _ACAWK
21088 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21089 for (key in S) S_is_set[key] = 1
21090 FS = "\a"
21094 line = $ 0
21095 nfields = split(line, field, "@")
21096 substed = 0
21097 len = length(field[1])
21098 for (i = 2; i < nfields; i++) {
21099 key = field[i]
21100 keylen = length(key)
21101 if (S_is_set[key]) {
21102 value = S[key]
21103 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21104 len += length(value) + length(field[++i])
21105 substed = 1
21106 } else
21107 len += 1 + keylen
21110 print line
21113 _ACAWK
21114 _ACEOF
21115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21116 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21117 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21118 else
21120 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21121 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21122 _ACEOF
21124 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21125 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21126 # trailing colons and then remove the whole line if VPATH becomes empty
21127 # (actually we leave an empty line to preserve line numbers).
21128 if test "x$srcdir" = x.; then
21129 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21131 s///
21132 s/^/:/
21133 s/[ ]*$/:/
21134 s/:\$(srcdir):/:/g
21135 s/:\${srcdir}:/:/g
21136 s/:@srcdir@:/:/g
21137 s/^:*//
21138 s/:*$//
21140 s/\(=[ ]*\).*/\1/
21142 s/\n//
21143 s/^[^=]*=[ ]*$//
21147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21148 fi # test -n "$CONFIG_FILES"
21150 # Set up the scripts for CONFIG_HEADERS section.
21151 # No need to generate them if there are no CONFIG_HEADERS.
21152 # This happens for instance with `./config.status Makefile'.
21153 if test -n "$CONFIG_HEADERS"; then
21154 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21155 BEGIN {
21156 _ACEOF
21158 # Transform confdefs.h into an awk script `defines.awk', embedded as
21159 # here-document in config.status, that substitutes the proper values into
21160 # config.h.in to produce config.h.
21162 # Create a delimiter string that does not exist in confdefs.h, to ease
21163 # handling of long lines.
21164 ac_delim='%!_!# '
21165 for ac_last_try in false false :; do
21166 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21167 if test -z "$ac_tt"; then
21168 break
21169 elif $ac_last_try; then
21170 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21171 else
21172 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21174 done
21176 # For the awk script, D is an array of macro values keyed by name,
21177 # likewise P contains macro parameters if any. Preserve backslash
21178 # newline sequences.
21180 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21181 sed -n '
21182 s/.\{148\}/&'"$ac_delim"'/g
21183 t rset
21184 :rset
21185 s/^[ ]*#[ ]*define[ ][ ]*/ /
21186 t def
21188 :def
21189 s/\\$//
21190 t bsnl
21191 s/["\\]/\\&/g
21192 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21193 D["\1"]=" \3"/p
21194 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21196 :bsnl
21197 s/["\\]/\\&/g
21198 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21199 D["\1"]=" \3\\\\\\n"\\/p
21200 t cont
21201 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21202 t cont
21204 :cont
21206 s/.\{148\}/&'"$ac_delim"'/g
21207 t clear
21208 :clear
21209 s/\\$//
21210 t bsnlc
21211 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21213 :bsnlc
21214 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21215 b cont
21216 ' <confdefs.h | sed '
21217 s/'"$ac_delim"'/"\\\
21218 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21221 for (key in D) D_is_set[key] = 1
21222 FS = "\a"
21224 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21225 line = \$ 0
21226 split(line, arg, " ")
21227 if (arg[1] == "#") {
21228 defundef = arg[2]
21229 mac1 = arg[3]
21230 } else {
21231 defundef = substr(arg[1], 2)
21232 mac1 = arg[2]
21234 split(mac1, mac2, "(") #)
21235 macro = mac2[1]
21236 prefix = substr(line, 1, index(line, defundef) - 1)
21237 if (D_is_set[macro]) {
21238 # Preserve the white space surrounding the "#".
21239 print prefix "define", macro P[macro] D[macro]
21240 next
21241 } else {
21242 # Replace #undef with comments. This is necessary, for example,
21243 # in the case of _POSIX_SOURCE, which is predefined and required
21244 # on some systems where configure will not decide to define it.
21245 if (defundef == "undef") {
21246 print "/*", prefix defundef, macro, "*/"
21247 next
21251 { print }
21252 _ACAWK
21253 _ACEOF
21254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21255 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21256 fi # test -n "$CONFIG_HEADERS"
21259 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21260 shift
21261 for ac_tag
21263 case $ac_tag in
21264 :[FHLC]) ac_mode=$ac_tag; continue;;
21265 esac
21266 case $ac_mode$ac_tag in
21267 :[FHL]*:*);;
21268 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21269 :[FH]-) ac_tag=-:-;;
21270 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21271 esac
21272 ac_save_IFS=$IFS
21273 IFS=:
21274 set x $ac_tag
21275 IFS=$ac_save_IFS
21276 shift
21277 ac_file=$1
21278 shift
21280 case $ac_mode in
21281 :L) ac_source=$1;;
21282 :[FH])
21283 ac_file_inputs=
21284 for ac_f
21286 case $ac_f in
21287 -) ac_f="$ac_tmp/stdin";;
21288 *) # Look for the file first in the build tree, then in the source tree
21289 # (if the path is not absolute). The absolute path cannot be DOS-style,
21290 # because $ac_f cannot contain `:'.
21291 test -f "$ac_f" ||
21292 case $ac_f in
21293 [\\/$]*) false;;
21294 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21295 esac ||
21296 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21297 esac
21298 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21299 as_fn_append ac_file_inputs " '$ac_f'"
21300 done
21302 # Let's still pretend it is `configure' which instantiates (i.e., don't
21303 # use $as_me), people would be surprised to read:
21304 # /* config.h. Generated by config.status. */
21305 configure_input='Generated from '`
21306 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21307 `' by configure.'
21308 if test x"$ac_file" != x-; then
21309 configure_input="$ac_file. $configure_input"
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21311 $as_echo "$as_me: creating $ac_file" >&6;}
21313 # Neutralize special characters interpreted by sed in replacement strings.
21314 case $configure_input in #(
21315 *\&* | *\|* | *\\* )
21316 ac_sed_conf_input=`$as_echo "$configure_input" |
21317 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21318 *) ac_sed_conf_input=$configure_input;;
21319 esac
21321 case $ac_tag in
21322 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21323 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21324 esac
21326 esac
21328 ac_dir=`$as_dirname -- "$ac_file" ||
21329 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21330 X"$ac_file" : 'X\(//\)[^/]' \| \
21331 X"$ac_file" : 'X\(//\)$' \| \
21332 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21333 $as_echo X"$ac_file" |
21334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21335 s//\1/
21338 /^X\(\/\/\)[^/].*/{
21339 s//\1/
21342 /^X\(\/\/\)$/{
21343 s//\1/
21346 /^X\(\/\).*/{
21347 s//\1/
21350 s/.*/./; q'`
21351 as_dir="$ac_dir"; as_fn_mkdir_p
21352 ac_builddir=.
21354 case "$ac_dir" in
21355 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21357 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21358 # A ".." for each directory in $ac_dir_suffix.
21359 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21360 case $ac_top_builddir_sub in
21361 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21362 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21363 esac ;;
21364 esac
21365 ac_abs_top_builddir=$ac_pwd
21366 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21367 # for backward compatibility:
21368 ac_top_builddir=$ac_top_build_prefix
21370 case $srcdir in
21371 .) # We are building in place.
21372 ac_srcdir=.
21373 ac_top_srcdir=$ac_top_builddir_sub
21374 ac_abs_top_srcdir=$ac_pwd ;;
21375 [\\/]* | ?:[\\/]* ) # Absolute name.
21376 ac_srcdir=$srcdir$ac_dir_suffix;
21377 ac_top_srcdir=$srcdir
21378 ac_abs_top_srcdir=$srcdir ;;
21379 *) # Relative name.
21380 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21381 ac_top_srcdir=$ac_top_build_prefix$srcdir
21382 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21383 esac
21384 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21387 case $ac_mode in
21390 # CONFIG_FILE
21393 _ACEOF
21395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21396 # If the template does not know about datarootdir, expand it.
21397 # FIXME: This hack should be removed a few years after 2.60.
21398 ac_datarootdir_hack=; ac_datarootdir_seen=
21399 ac_sed_dataroot='
21400 /datarootdir/ {
21404 /@datadir@/p
21405 /@docdir@/p
21406 /@infodir@/p
21407 /@localedir@/p
21408 /@mandir@/p'
21409 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21410 *datarootdir*) ac_datarootdir_seen=yes;;
21411 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21413 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21414 _ACEOF
21415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21416 ac_datarootdir_hack='
21417 s&@datadir@&$datadir&g
21418 s&@docdir@&$docdir&g
21419 s&@infodir@&$infodir&g
21420 s&@localedir@&$localedir&g
21421 s&@mandir@&$mandir&g
21422 s&\\\${datarootdir}&$datarootdir&g' ;;
21423 esac
21424 _ACEOF
21426 # Neutralize VPATH when `$srcdir' = `.'.
21427 # Shell code in configure.ac might set extrasub.
21428 # FIXME: do we really want to maintain this feature?
21429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21430 ac_sed_extra="$ac_vpsub
21431 $extrasub
21432 _ACEOF
21433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21435 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21436 s|@configure_input@|$ac_sed_conf_input|;t t
21437 s&@top_builddir@&$ac_top_builddir_sub&;t t
21438 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21439 s&@srcdir@&$ac_srcdir&;t t
21440 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21441 s&@top_srcdir@&$ac_top_srcdir&;t t
21442 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21443 s&@builddir@&$ac_builddir&;t t
21444 s&@abs_builddir@&$ac_abs_builddir&;t t
21445 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21446 $ac_datarootdir_hack
21448 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21449 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21451 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21452 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21453 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21454 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21456 which seems to be undefined. Please make sure it is defined" >&5
21457 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21458 which seems to be undefined. Please make sure it is defined" >&2;}
21460 rm -f "$ac_tmp/stdin"
21461 case $ac_file in
21462 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21463 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21464 esac \
21465 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21469 # CONFIG_HEADER
21471 if test x"$ac_file" != x-; then
21473 $as_echo "/* $configure_input */" \
21474 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21475 } >"$ac_tmp/config.h" \
21476 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21477 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21479 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21480 else
21481 rm -f "$ac_file"
21482 mv "$ac_tmp/config.h" "$ac_file" \
21483 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21485 else
21486 $as_echo "/* $configure_input */" \
21487 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21488 || as_fn_error $? "could not create -" "$LINENO" 5
21493 # CONFIG_LINK
21496 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21498 else
21499 # Prefer the file from the source tree if names are identical.
21500 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21501 ac_source=$srcdir/$ac_source
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21505 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21507 if test ! -r "$ac_source"; then
21508 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21510 rm -f "$ac_file"
21512 # Try a relative symlink, then a hard link, then a copy.
21513 case $ac_source in
21514 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21515 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21516 esac
21517 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21518 ln "$ac_source" "$ac_file" 2>/dev/null ||
21519 cp -p "$ac_source" "$ac_file" ||
21520 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21523 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21524 $as_echo "$as_me: executing $ac_file commands" >&6;}
21526 esac
21529 case $ac_file$ac_mode in
21530 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21531 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21532 "Makefile":C) wine_fn_output_makefile Makefile ;;
21534 esac
21535 done # for ac_tag
21538 as_fn_exit 0
21539 _ACEOF
21540 ac_clean_files=$ac_clean_files_save
21542 test $ac_write_fail = 0 ||
21543 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21546 # configure is writing to config.log, and then calls config.status.
21547 # config.status does its own redirection, appending to config.log.
21548 # Unfortunately, on DOS this fails, as config.log is still kept open
21549 # by configure, so config.status won't be able to write to it; its
21550 # output is simply discarded. So we exec the FD to /dev/null,
21551 # effectively closing config.log, so it can be properly (re)opened and
21552 # appended to by config.status. When coming back to configure, we
21553 # need to make the FD available again.
21554 if test "$no_create" != yes; then
21555 ac_cs_success=:
21556 ac_config_status_args=
21557 test "$silent" = yes &&
21558 ac_config_status_args="$ac_config_status_args --quiet"
21559 exec 5>/dev/null
21560 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21561 exec 5>>config.log
21562 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21563 # would make configure fail if this is the last instruction.
21564 $ac_cs_success || as_fn_exit 1
21566 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21568 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21572 if test "$no_create" = "yes"
21573 then
21574 exit 0
21577 ac_save_IFS="$IFS"
21578 if test "x$wine_notices" != x; then
21579 echo >&6
21580 IFS="|"
21581 for msg in $wine_notices; do
21582 IFS="$ac_save_IFS"
21583 if ${msg:+false} :; then :
21585 else
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21587 $as_echo "$as_me: $msg" >&6;}
21589 done
21591 IFS="|"
21592 for msg in $wine_warnings; do
21593 IFS="$ac_save_IFS"
21594 if ${msg:+false} :; then :
21596 else
21597 echo >&2
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21599 $as_echo "$as_me: WARNING: $msg" >&2;}
21601 done
21602 IFS="$ac_save_IFS"
21604 $as_echo "
21605 $as_me: Finished. Do '${ac_make}' to compile Wine.
21606 " >&6