webservices: Return HRESULT from read_cmp.
[wine.git] / configure
blobd405d6741a42f68873f94e3c1a92643543e602f1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.21.
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.21'
584 PACKAGE_STRING='Wine 3.21'
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 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 VKD3D_LIBS
639 VKD3D_CFLAGS
640 NETAPI_LIBS
641 NETAPI_CFLAGS
642 PROCSTAT_LIBS
643 KSTAT_LIBS
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 GSSAPI_LIBS
653 GSSAPI_CFLAGS
654 KRB5_LIBS
655 KRB5_CFLAGS
656 FONTCONFIG_LIBS
657 FONTCONFIG_CFLAGS
658 CUPS_LIBS
659 CUPS_CFLAGS
660 CAPI20_LIBS
661 CAPI20_CFLAGS
662 SDL2_LIBS
663 SDL2_CFLAGS
664 UDEV_LIBS
665 UDEV_CFLAGS
666 OSS4_CFLAGS
667 ALSA_LIBS
668 GSTREAMER_LIBS
669 GSTREAMER_CFLAGS
670 PULSE_LIBS
671 PULSE_CFLAGS
672 GETTEXTPO_LIBS
673 Z_LIBS
674 FREETYPE_LIBS
675 FREETYPE_CFLAGS
676 LCMS2_LIBS
677 LCMS2_CFLAGS
678 RESOLV_LIBS
679 GPHOTO2_PORT_LIBS
680 GPHOTO2_PORT_CFLAGS
681 GPHOTO2_LIBS
682 GPHOTO2_CFLAGS
683 SANE_LIBS
684 SANE_CFLAGS
685 GNUTLS_LIBS
686 GNUTLS_CFLAGS
687 HAL_LIBS
688 HAL_CFLAGS
689 DBUS_LIBS
690 DBUS_CFLAGS
691 XSLT_LIBS
692 XSLT_CFLAGS
693 XML2_LIBS
694 XML2_CFLAGS
695 PCAP_LIBS
696 X_EXTRA_LIBS
697 X_LIBS
698 X_PRE_LIBS
699 X_CFLAGS
700 XMKMF
701 PTHREAD_LIBS
702 CROSSCFLAGS
703 CROSSCC
704 CROSSTARGET
705 PRELINK
706 WINELOADER_DEPENDS
707 METAL_LIBS
708 CARBON_LIBS
709 QUICKTIME_LIBS
710 OPENCL_LIBS
711 OPENAL_LIBS
712 COREAUDIO_LIBS
713 SECURITY_LIBS
714 DISKARBITRATION_LIBS
715 APPKIT_LIBS
716 CORESERVICES_LIBS
717 APPLICATIONSERVICES_LIBS
718 FORCEFEEDBACK_LIBS
719 IOKIT_LIBS
720 COREFOUNDATION_LIBS
721 OBJCPP
722 ac_ct_OBJC
723 OBJCFLAGS
724 OBJC
725 LIBWINE_DEPENDS
726 LIBWINE_LDFLAGS
727 LIBWINE_IMPORTLIB
728 LIBWINE_SHAREDLIB
729 DLLTOOL
730 WINELOADER_PROGRAMS
731 CONFIGURE_TARGETS
732 DISABLED_SUBDIRS
733 SUBDIRS
734 READELF
735 OTOOL
737 WINELOADER_LDFLAGS
738 TOP_INSTALL_DEV
739 TOP_INSTALL_LIB
740 LDEXECFLAGS
741 LDRPATH_LOCAL
742 LDRPATH_INSTALL
743 DLLFLAGS
745 OPENGL_LIBS
746 ICOTOOL
747 CONVERT
748 RSVG
749 FONTFORGE
750 PKG_CONFIG
751 MSGFMT
752 LDCONFIG
753 EGREP
754 GREP
755 LN_S
756 RANLIB
757 ARFLAGS
758 STRIP
759 ac_ct_AR
761 BISON
762 FLEX
763 TOOLSDIR
764 TARGETFLAGS
766 CPPBIN
767 ac_ct_CXX
768 CXXFLAGS
770 OBJEXT
771 EXEEXT
772 ac_ct_CC
773 CPPFLAGS
774 LDFLAGS
775 CFLAGS
777 SET_MAKE
778 host_os
779 host_vendor
780 host_cpu
781 host
782 build_os
783 build_vendor
784 build_cpu
785 build
786 target_alias
787 host_alias
788 build_alias
789 LIBS
790 ECHO_T
791 ECHO_N
792 ECHO_C
793 DEFS
794 mandir
795 localedir
796 libdir
797 psdir
798 pdfdir
799 dvidir
800 htmldir
801 infodir
802 docdir
803 oldincludedir
804 includedir
805 runstatedir
806 localstatedir
807 sharedstatedir
808 sysconfdir
809 datadir
810 datarootdir
811 libexecdir
812 sbindir
813 bindir
814 program_transform_name
815 prefix
816 exec_prefix
817 PACKAGE_URL
818 PACKAGE_BUGREPORT
819 PACKAGE_STRING
820 PACKAGE_VERSION
821 PACKAGE_TARNAME
822 PACKAGE_NAME
823 PATH_SEPARATOR
824 SHELL'
825 ac_subst_files=''
826 ac_user_opts='
827 enable_option_checking
828 enable_win16
829 enable_win64
830 enable_tests
831 enable_maintainer_mode
832 with_alsa
833 with_capi
834 with_cms
835 with_coreaudio
836 with_cups
837 with_curses
838 with_dbus
839 with_float_abi
840 with_fontconfig
841 with_freetype
842 with_gettext
843 with_gettextpo
844 with_gphoto
845 with_glu
846 with_gnutls
847 with_gsm
848 with_gssapi
849 with_gstreamer
850 with_hal
851 with_jpeg
852 with_krb5
853 with_ldap
854 with_mpg123
855 with_netapi
856 with_openal
857 with_opencl
858 with_opengl
859 with_osmesa
860 with_oss
861 with_pcap
862 with_png
863 with_pthread
864 with_pulse
865 with_sane
866 with_sdl
867 with_tiff
868 with_udev
869 with_v4l
870 with_vkd3d
871 with_vulkan
872 with_xcomposite
873 with_xcursor
874 with_xfixes
875 with_xinerama
876 with_xinput
877 with_xinput2
878 with_xml
879 with_xrandr
880 with_xrender
881 with_xshape
882 with_xshm
883 with_xslt
884 with_xxf86vm
885 with_zlib
886 with_wine_tools
887 with_wine64
888 enable_largefile
889 with_x
890 enable_acledit
891 enable_aclui
892 enable_activeds
893 enable_actxprxy
894 enable_adsiid
895 enable_adsldp
896 enable_adsldpc
897 enable_advapi32
898 enable_advpack
899 enable_amstream
900 enable_api_ms_win_appmodel_identity_l1_1_0
901 enable_api_ms_win_appmodel_runtime_l1_1_1
902 enable_api_ms_win_appmodel_runtime_l1_1_2
903 enable_api_ms_win_core_apiquery_l1_1_0
904 enable_api_ms_win_core_appcompat_l1_1_1
905 enable_api_ms_win_core_appinit_l1_1_0
906 enable_api_ms_win_core_atoms_l1_1_0
907 enable_api_ms_win_core_bem_l1_1_0
908 enable_api_ms_win_core_com_l1_1_0
909 enable_api_ms_win_core_com_l1_1_1
910 enable_api_ms_win_core_com_private_l1_1_0
911 enable_api_ms_win_core_comm_l1_1_0
912 enable_api_ms_win_core_console_l1_1_0
913 enable_api_ms_win_core_console_l2_1_0
914 enable_api_ms_win_core_crt_l1_1_0
915 enable_api_ms_win_core_crt_l2_1_0
916 enable_api_ms_win_core_datetime_l1_1_0
917 enable_api_ms_win_core_datetime_l1_1_1
918 enable_api_ms_win_core_debug_l1_1_0
919 enable_api_ms_win_core_debug_l1_1_1
920 enable_api_ms_win_core_delayload_l1_1_0
921 enable_api_ms_win_core_delayload_l1_1_1
922 enable_api_ms_win_core_errorhandling_l1_1_0
923 enable_api_ms_win_core_errorhandling_l1_1_1
924 enable_api_ms_win_core_errorhandling_l1_1_2
925 enable_api_ms_win_core_errorhandling_l1_1_3
926 enable_api_ms_win_core_fibers_l1_1_0
927 enable_api_ms_win_core_fibers_l1_1_1
928 enable_api_ms_win_core_file_l1_1_0
929 enable_api_ms_win_core_file_l1_2_0
930 enable_api_ms_win_core_file_l1_2_1
931 enable_api_ms_win_core_file_l1_2_2
932 enable_api_ms_win_core_file_l2_1_0
933 enable_api_ms_win_core_file_l2_1_1
934 enable_api_ms_win_core_file_l2_1_2
935 enable_api_ms_win_core_handle_l1_1_0
936 enable_api_ms_win_core_heap_l1_1_0
937 enable_api_ms_win_core_heap_l1_2_0
938 enable_api_ms_win_core_heap_l2_1_0
939 enable_api_ms_win_core_heap_obsolete_l1_1_0
940 enable_api_ms_win_core_interlocked_l1_1_0
941 enable_api_ms_win_core_interlocked_l1_2_0
942 enable_api_ms_win_core_io_l1_1_0
943 enable_api_ms_win_core_io_l1_1_1
944 enable_api_ms_win_core_job_l1_1_0
945 enable_api_ms_win_core_job_l2_1_0
946 enable_api_ms_win_core_kernel32_legacy_l1_1_0
947 enable_api_ms_win_core_kernel32_legacy_l1_1_1
948 enable_api_ms_win_core_kernel32_private_l1_1_1
949 enable_api_ms_win_core_largeinteger_l1_1_0
950 enable_api_ms_win_core_libraryloader_l1_1_0
951 enable_api_ms_win_core_libraryloader_l1_1_1
952 enable_api_ms_win_core_libraryloader_l1_2_0
953 enable_api_ms_win_core_libraryloader_l1_2_1
954 enable_api_ms_win_core_libraryloader_l1_2_2
955 enable_api_ms_win_core_localization_l1_1_0
956 enable_api_ms_win_core_localization_l1_2_0
957 enable_api_ms_win_core_localization_l1_2_1
958 enable_api_ms_win_core_localization_l2_1_0
959 enable_api_ms_win_core_localization_obsolete_l1_1_0
960 enable_api_ms_win_core_localization_obsolete_l1_2_0
961 enable_api_ms_win_core_localization_obsolete_l1_3_0
962 enable_api_ms_win_core_localization_private_l1_1_0
963 enable_api_ms_win_core_localregistry_l1_1_0
964 enable_api_ms_win_core_memory_l1_1_0
965 enable_api_ms_win_core_memory_l1_1_1
966 enable_api_ms_win_core_memory_l1_1_2
967 enable_api_ms_win_core_misc_l1_1_0
968 enable_api_ms_win_core_namedpipe_l1_1_0
969 enable_api_ms_win_core_namedpipe_l1_2_0
970 enable_api_ms_win_core_namespace_l1_1_0
971 enable_api_ms_win_core_normalization_l1_1_0
972 enable_api_ms_win_core_path_l1_1_0
973 enable_api_ms_win_core_privateprofile_l1_1_1
974 enable_api_ms_win_core_processenvironment_l1_1_0
975 enable_api_ms_win_core_processenvironment_l1_2_0
976 enable_api_ms_win_core_processthreads_l1_1_0
977 enable_api_ms_win_core_processthreads_l1_1_1
978 enable_api_ms_win_core_processthreads_l1_1_2
979 enable_api_ms_win_core_processthreads_l1_1_3
980 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
981 enable_api_ms_win_core_profile_l1_1_0
982 enable_api_ms_win_core_psapi_ansi_l1_1_0
983 enable_api_ms_win_core_psapi_l1_1_0
984 enable_api_ms_win_core_psapi_obsolete_l1_1_0
985 enable_api_ms_win_core_quirks_l1_1_0
986 enable_api_ms_win_core_realtime_l1_1_0
987 enable_api_ms_win_core_registry_l1_1_0
988 enable_api_ms_win_core_registry_l2_1_0
989 enable_api_ms_win_core_registryuserspecific_l1_1_0
990 enable_api_ms_win_core_rtlsupport_l1_1_0
991 enable_api_ms_win_core_rtlsupport_l1_2_0
992 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
993 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
994 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
995 enable_api_ms_win_core_shutdown_l1_1_0
996 enable_api_ms_win_core_sidebyside_l1_1_0
997 enable_api_ms_win_core_string_l1_1_0
998 enable_api_ms_win_core_string_l2_1_0
999 enable_api_ms_win_core_string_obsolete_l1_1_0
1000 enable_api_ms_win_core_stringansi_l1_1_0
1001 enable_api_ms_win_core_stringloader_l1_1_1
1002 enable_api_ms_win_core_synch_ansi_l1_1_0
1003 enable_api_ms_win_core_synch_l1_1_0
1004 enable_api_ms_win_core_synch_l1_2_0
1005 enable_api_ms_win_core_synch_l1_2_1
1006 enable_api_ms_win_core_sysinfo_l1_1_0
1007 enable_api_ms_win_core_sysinfo_l1_2_0
1008 enable_api_ms_win_core_sysinfo_l1_2_1
1009 enable_api_ms_win_core_threadpool_l1_1_0
1010 enable_api_ms_win_core_threadpool_l1_2_0
1011 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1012 enable_api_ms_win_core_threadpool_private_l1_1_0
1013 enable_api_ms_win_core_timezone_l1_1_0
1014 enable_api_ms_win_core_toolhelp_l1_1_0
1015 enable_api_ms_win_core_url_l1_1_0
1016 enable_api_ms_win_core_util_l1_1_0
1017 enable_api_ms_win_core_version_l1_1_0
1018 enable_api_ms_win_core_version_l1_1_1
1019 enable_api_ms_win_core_version_private_l1_1_0
1020 enable_api_ms_win_core_versionansi_l1_1_0
1021 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1022 enable_api_ms_win_core_winrt_error_l1_1_0
1023 enable_api_ms_win_core_winrt_error_l1_1_1
1024 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1025 enable_api_ms_win_core_winrt_l1_1_0
1026 enable_api_ms_win_core_winrt_registration_l1_1_0
1027 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1028 enable_api_ms_win_core_winrt_string_l1_1_0
1029 enable_api_ms_win_core_winrt_string_l1_1_1
1030 enable_api_ms_win_core_wow64_l1_1_0
1031 enable_api_ms_win_core_wow64_l1_1_1
1032 enable_api_ms_win_core_xstate_l1_1_0
1033 enable_api_ms_win_core_xstate_l2_1_0
1034 enable_api_ms_win_crt_conio_l1_1_0
1035 enable_api_ms_win_crt_convert_l1_1_0
1036 enable_api_ms_win_crt_environment_l1_1_0
1037 enable_api_ms_win_crt_filesystem_l1_1_0
1038 enable_api_ms_win_crt_heap_l1_1_0
1039 enable_api_ms_win_crt_locale_l1_1_0
1040 enable_api_ms_win_crt_math_l1_1_0
1041 enable_api_ms_win_crt_multibyte_l1_1_0
1042 enable_api_ms_win_crt_private_l1_1_0
1043 enable_api_ms_win_crt_process_l1_1_0
1044 enable_api_ms_win_crt_runtime_l1_1_0
1045 enable_api_ms_win_crt_stdio_l1_1_0
1046 enable_api_ms_win_crt_string_l1_1_0
1047 enable_api_ms_win_crt_time_l1_1_0
1048 enable_api_ms_win_crt_utility_l1_1_0
1049 enable_api_ms_win_devices_config_l1_1_0
1050 enable_api_ms_win_devices_config_l1_1_1
1051 enable_api_ms_win_devices_query_l1_1_1
1052 enable_api_ms_win_downlevel_advapi32_l1_1_0
1053 enable_api_ms_win_downlevel_advapi32_l2_1_0
1054 enable_api_ms_win_downlevel_normaliz_l1_1_0
1055 enable_api_ms_win_downlevel_ole32_l1_1_0
1056 enable_api_ms_win_downlevel_shell32_l1_1_0
1057 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1058 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1059 enable_api_ms_win_downlevel_user32_l1_1_0
1060 enable_api_ms_win_downlevel_version_l1_1_0
1061 enable_api_ms_win_dx_d3dkmt_l1_1_0
1062 enable_api_ms_win_eventing_classicprovider_l1_1_0
1063 enable_api_ms_win_eventing_consumer_l1_1_0
1064 enable_api_ms_win_eventing_controller_l1_1_0
1065 enable_api_ms_win_eventing_legacy_l1_1_0
1066 enable_api_ms_win_eventing_provider_l1_1_0
1067 enable_api_ms_win_eventlog_legacy_l1_1_0
1068 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1069 enable_api_ms_win_mm_joystick_l1_1_0
1070 enable_api_ms_win_mm_misc_l1_1_1
1071 enable_api_ms_win_mm_mme_l1_1_0
1072 enable_api_ms_win_mm_time_l1_1_0
1073 enable_api_ms_win_ntuser_dc_access_l1_1_0
1074 enable_api_ms_win_ntuser_rectangle_l1_1_0
1075 enable_api_ms_win_ntuser_sysparams_l1_1_0
1076 enable_api_ms_win_perf_legacy_l1_1_0
1077 enable_api_ms_win_power_base_l1_1_0
1078 enable_api_ms_win_power_setting_l1_1_0
1079 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1080 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1081 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1082 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1086 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1087 enable_api_ms_win_security_audit_l1_1_1
1088 enable_api_ms_win_security_base_l1_1_0
1089 enable_api_ms_win_security_base_l1_2_0
1090 enable_api_ms_win_security_base_private_l1_1_1
1091 enable_api_ms_win_security_credentials_l1_1_0
1092 enable_api_ms_win_security_cryptoapi_l1_1_0
1093 enable_api_ms_win_security_grouppolicy_l1_1_0
1094 enable_api_ms_win_security_lsalookup_l1_1_0
1095 enable_api_ms_win_security_lsalookup_l1_1_1
1096 enable_api_ms_win_security_lsalookup_l2_1_0
1097 enable_api_ms_win_security_lsalookup_l2_1_1
1098 enable_api_ms_win_security_lsapolicy_l1_1_0
1099 enable_api_ms_win_security_provider_l1_1_0
1100 enable_api_ms_win_security_sddl_l1_1_0
1101 enable_api_ms_win_security_systemfunctions_l1_1_0
1102 enable_api_ms_win_service_core_l1_1_0
1103 enable_api_ms_win_service_core_l1_1_1
1104 enable_api_ms_win_service_management_l1_1_0
1105 enable_api_ms_win_service_management_l2_1_0
1106 enable_api_ms_win_service_private_l1_1_1
1107 enable_api_ms_win_service_winsvc_l1_1_0
1108 enable_api_ms_win_service_winsvc_l1_2_0
1109 enable_api_ms_win_shcore_obsolete_l1_1_0
1110 enable_api_ms_win_shcore_scaling_l1_1_1
1111 enable_api_ms_win_shcore_stream_l1_1_0
1112 enable_api_ms_win_shcore_thread_l1_1_0
1113 enable_api_ms_win_shell_shellcom_l1_1_0
1114 enable_api_ms_win_shell_shellfolders_l1_1_0
1115 enable_apphelp
1116 enable_appwiz_cpl
1117 enable_atl
1118 enable_atl100
1119 enable_atl110
1120 enable_atl80
1121 enable_atl90
1122 enable_atmlib
1123 enable_authz
1124 enable_avicap32
1125 enable_avifil32
1126 enable_avrt
1127 enable_bcrypt
1128 enable_bluetoothapis
1129 enable_browseui
1130 enable_bthprops_cpl
1131 enable_cabinet
1132 enable_capi2032
1133 enable_cards
1134 enable_cdosys
1135 enable_cfgmgr32
1136 enable_clusapi
1137 enable_combase
1138 enable_comcat
1139 enable_comctl32
1140 enable_comdlg32
1141 enable_compstui
1142 enable_comsvcs
1143 enable_concrt140
1144 enable_connect
1145 enable_credui
1146 enable_crtdll
1147 enable_crypt32
1148 enable_cryptdlg
1149 enable_cryptdll
1150 enable_cryptext
1151 enable_cryptnet
1152 enable_cryptui
1153 enable_ctapi32
1154 enable_ctl3d32
1155 enable_d2d1
1156 enable_d3d10
1157 enable_d3d10_1
1158 enable_d3d10core
1159 enable_d3d11
1160 enable_d3d12
1161 enable_d3d8
1162 enable_d3d9
1163 enable_d3dcompiler_33
1164 enable_d3dcompiler_34
1165 enable_d3dcompiler_35
1166 enable_d3dcompiler_36
1167 enable_d3dcompiler_37
1168 enable_d3dcompiler_38
1169 enable_d3dcompiler_39
1170 enable_d3dcompiler_40
1171 enable_d3dcompiler_41
1172 enable_d3dcompiler_42
1173 enable_d3dcompiler_43
1174 enable_d3dcompiler_46
1175 enable_d3dcompiler_47
1176 enable_d3dim
1177 enable_d3drm
1178 enable_d3dx10_33
1179 enable_d3dx10_34
1180 enable_d3dx10_35
1181 enable_d3dx10_36
1182 enable_d3dx10_37
1183 enable_d3dx10_38
1184 enable_d3dx10_39
1185 enable_d3dx10_40
1186 enable_d3dx10_41
1187 enable_d3dx10_42
1188 enable_d3dx10_43
1189 enable_d3dx11_42
1190 enable_d3dx11_43
1191 enable_d3dx9_24
1192 enable_d3dx9_25
1193 enable_d3dx9_26
1194 enable_d3dx9_27
1195 enable_d3dx9_28
1196 enable_d3dx9_29
1197 enable_d3dx9_30
1198 enable_d3dx9_31
1199 enable_d3dx9_32
1200 enable_d3dx9_33
1201 enable_d3dx9_34
1202 enable_d3dx9_35
1203 enable_d3dx9_36
1204 enable_d3dx9_37
1205 enable_d3dx9_38
1206 enable_d3dx9_39
1207 enable_d3dx9_40
1208 enable_d3dx9_41
1209 enable_d3dx9_42
1210 enable_d3dx9_43
1211 enable_d3dxof
1212 enable_davclnt
1213 enable_dbgeng
1214 enable_dbghelp
1215 enable_dciman32
1216 enable_ddraw
1217 enable_ddrawex
1218 enable_devenum
1219 enable_dhcpcsvc
1220 enable_dhtmled_ocx
1221 enable_difxapi
1222 enable_dinput
1223 enable_dinput8
1224 enable_dispex
1225 enable_dmband
1226 enable_dmcompos
1227 enable_dmime
1228 enable_dmloader
1229 enable_dmoguids
1230 enable_dmscript
1231 enable_dmstyle
1232 enable_dmsynth
1233 enable_dmusic
1234 enable_dmusic32
1235 enable_dnsapi
1236 enable_dplay
1237 enable_dplayx
1238 enable_dpnaddr
1239 enable_dpnet
1240 enable_dpnhpast
1241 enable_dpnlobby
1242 enable_dpvoice
1243 enable_dpwsockx
1244 enable_drmclien
1245 enable_dsound
1246 enable_dsquery
1247 enable_dssenh
1248 enable_dswave
1249 enable_dwmapi
1250 enable_dwrite
1251 enable_dx8vb
1252 enable_dxdiagn
1253 enable_dxerr8
1254 enable_dxerr9
1255 enable_dxgi
1256 enable_dxguid
1257 enable_dxva2
1258 enable_esent
1259 enable_evr
1260 enable_explorerframe
1261 enable_ext_ms_win_authz_context_l1_1_0
1262 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1263 enable_ext_ms_win_dwmapi_ext_l1_1_0
1264 enable_ext_ms_win_gdi_dc_create_l1_1_1
1265 enable_ext_ms_win_gdi_dc_l1_2_0
1266 enable_ext_ms_win_gdi_devcaps_l1_1_0
1267 enable_ext_ms_win_gdi_draw_l1_1_1
1268 enable_ext_ms_win_gdi_render_l1_1_0
1269 enable_ext_ms_win_kernel32_package_current_l1_1_0
1270 enable_ext_ms_win_kernel32_package_l1_1_1
1271 enable_ext_ms_win_ntuser_draw_l1_1_0
1272 enable_ext_ms_win_ntuser_gui_l1_3_0
1273 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1274 enable_ext_ms_win_ntuser_message_l1_1_1
1275 enable_ext_ms_win_ntuser_misc_l1_5_1
1276 enable_ext_ms_win_ntuser_mouse_l1_1_0
1277 enable_ext_ms_win_ntuser_private_l1_1_1
1278 enable_ext_ms_win_ntuser_private_l1_3_1
1279 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1280 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1281 enable_ext_ms_win_ntuser_window_l1_1_1
1282 enable_ext_ms_win_ntuser_window_l1_1_4
1283 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1284 enable_ext_ms_win_oleacc_l1_1_0
1285 enable_ext_ms_win_ras_rasapi32_l1_1_0
1286 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1288 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1289 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1290 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1291 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1293 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1294 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1295 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1296 enable_ext_ms_win_security_credui_l1_1_0
1297 enable_ext_ms_win_security_cryptui_l1_1_0
1298 enable_ext_ms_win_uxtheme_themes_l1_1_0
1299 enable_faultrep
1300 enable_feclient
1301 enable_fltlib
1302 enable_fltmgr_sys
1303 enable_fntcache
1304 enable_fontsub
1305 enable_fusion
1306 enable_fwpuclnt
1307 enable_gameux
1308 enable_gdi32
1309 enable_gdiplus
1310 enable_glu32
1311 enable_gphoto2_ds
1312 enable_gpkcsp
1313 enable_hal
1314 enable_hhctrl_ocx
1315 enable_hid
1316 enable_hidclass_sys
1317 enable_hlink
1318 enable_hnetcfg
1319 enable_httpapi
1320 enable_iccvid
1321 enable_icmp
1322 enable_ieframe
1323 enable_ieproxy
1324 enable_imaadp32_acm
1325 enable_imagehlp
1326 enable_imm32
1327 enable_inetcomm
1328 enable_inetcpl_cpl
1329 enable_inetmib1
1330 enable_infosoft
1331 enable_initpki
1332 enable_inkobj
1333 enable_inseng
1334 enable_iphlpapi
1335 enable_iprop
1336 enable_irprops_cpl
1337 enable_itircl
1338 enable_itss
1339 enable_joy_cpl
1340 enable_jscript
1341 enable_jsproxy
1342 enable_kerberos
1343 enable_kernel32
1344 enable_kernelbase
1345 enable_ksuser
1346 enable_ktmw32
1347 enable_l3codeca_acm
1348 enable_loadperf
1349 enable_localspl
1350 enable_localui
1351 enable_lz32
1352 enable_mapi32
1353 enable_mapistub
1354 enable_mciavi32
1355 enable_mcicda
1356 enable_mciqtz32
1357 enable_mciseq
1358 enable_mciwave
1359 enable_mf
1360 enable_mf3216
1361 enable_mfplat
1362 enable_mfreadwrite
1363 enable_mfuuid
1364 enable_mgmtapi
1365 enable_midimap
1366 enable_mlang
1367 enable_mmcndmgr
1368 enable_mmdevapi
1369 enable_mountmgr_sys
1370 enable_mp3dmod
1371 enable_mpr
1372 enable_mprapi
1373 enable_msacm32_drv
1374 enable_msacm32
1375 enable_msadp32_acm
1376 enable_msasn1
1377 enable_mscat32
1378 enable_mscms
1379 enable_mscoree
1380 enable_msctf
1381 enable_msctfp
1382 enable_msdaps
1383 enable_msdelta
1384 enable_msdmo
1385 enable_msdrm
1386 enable_msftedit
1387 enable_msg711_acm
1388 enable_msgsm32_acm
1389 enable_mshtml_tlb
1390 enable_mshtml
1391 enable_msi
1392 enable_msident
1393 enable_msimg32
1394 enable_msimsg
1395 enable_msimtf
1396 enable_msisip
1397 enable_msisys_ocx
1398 enable_msls31
1399 enable_msnet32
1400 enable_mspatcha
1401 enable_msports
1402 enable_msrle32
1403 enable_msscript_ocx
1404 enable_mssign32
1405 enable_mssip32
1406 enable_mstask
1407 enable_msvcirt
1408 enable_msvcm80
1409 enable_msvcm90
1410 enable_msvcp100
1411 enable_msvcp110
1412 enable_msvcp120
1413 enable_msvcp120_app
1414 enable_msvcp140
1415 enable_msvcp60
1416 enable_msvcp70
1417 enable_msvcp71
1418 enable_msvcp80
1419 enable_msvcp90
1420 enable_msvcr100
1421 enable_msvcr110
1422 enable_msvcr120
1423 enable_msvcr120_app
1424 enable_msvcr70
1425 enable_msvcr71
1426 enable_msvcr80
1427 enable_msvcr90
1428 enable_msvcrt
1429 enable_msvcrt20
1430 enable_msvcrt40
1431 enable_msvcrtd
1432 enable_msvfw32
1433 enable_msvidc32
1434 enable_mswsock
1435 enable_msxml
1436 enable_msxml2
1437 enable_msxml3
1438 enable_msxml4
1439 enable_msxml6
1440 enable_mtxdm
1441 enable_ncrypt
1442 enable_nddeapi
1443 enable_ndis_sys
1444 enable_netapi32
1445 enable_netcfgx
1446 enable_netprofm
1447 enable_newdev
1448 enable_ninput
1449 enable_normaliz
1450 enable_npmshtml
1451 enable_npptools
1452 enable_ntdll
1453 enable_ntdsapi
1454 enable_ntoskrnl_exe
1455 enable_ntprint
1456 enable_objsel
1457 enable_odbc32
1458 enable_odbccp32
1459 enable_odbccu32
1460 enable_ole32
1461 enable_oleacc
1462 enable_oleaut32
1463 enable_olecli32
1464 enable_oledb32
1465 enable_oledlg
1466 enable_olepro32
1467 enable_olesvr32
1468 enable_olethk32
1469 enable_opcservices
1470 enable_openal32
1471 enable_opencl
1472 enable_opengl32
1473 enable_packager
1474 enable_pdh
1475 enable_photometadatahandler
1476 enable_pidgen
1477 enable_powrprof
1478 enable_printui
1479 enable_prntvpt
1480 enable_propsys
1481 enable_psapi
1482 enable_pstorec
1483 enable_qcap
1484 enable_qedit
1485 enable_qmgr
1486 enable_qmgrprxy
1487 enable_quartz
1488 enable_query
1489 enable_qwave
1490 enable_rasapi32
1491 enable_rasdlg
1492 enable_regapi
1493 enable_resutils
1494 enable_riched20
1495 enable_riched32
1496 enable_rpcrt4
1497 enable_rsabase
1498 enable_rsaenh
1499 enable_rstrtmgr
1500 enable_rtutils
1501 enable_samlib
1502 enable_sane_ds
1503 enable_sapi
1504 enable_sas
1505 enable_scarddlg
1506 enable_sccbase
1507 enable_schannel
1508 enable_schedsvc
1509 enable_scrobj
1510 enable_scrrun
1511 enable_scsiport_sys
1512 enable_secur32
1513 enable_security
1514 enable_sensapi
1515 enable_serialui
1516 enable_setupapi
1517 enable_sfc
1518 enable_sfc_os
1519 enable_shcore
1520 enable_shdoclc
1521 enable_shdocvw
1522 enable_shell32
1523 enable_shfolder
1524 enable_shlwapi
1525 enable_slbcsp
1526 enable_slc
1527 enable_snmpapi
1528 enable_softpub
1529 enable_spoolss
1530 enable_srclient
1531 enable_sspicli
1532 enable_stdole2_tlb
1533 enable_stdole32_tlb
1534 enable_sti
1535 enable_strmbase
1536 enable_strmdll
1537 enable_strmiids
1538 enable_svrapi
1539 enable_sxs
1540 enable_t2embed
1541 enable_tapi32
1542 enable_taskschd
1543 enable_tdh
1544 enable_tdi_sys
1545 enable_traffic
1546 enable_twain_32
1547 enable_ucrtbase
1548 enable_uiautomationcore
1549 enable_uiribbon
1550 enable_unicows
1551 enable_updspapi
1552 enable_url
1553 enable_urlmon
1554 enable_usbd_sys
1555 enable_user32
1556 enable_userenv
1557 enable_usp10
1558 enable_uuid
1559 enable_uxtheme
1560 enable_vbscript
1561 enable_vcomp
1562 enable_vcomp100
1563 enable_vcomp110
1564 enable_vcomp120
1565 enable_vcomp140
1566 enable_vcomp90
1567 enable_vcruntime140
1568 enable_vdmdbg
1569 enable_version
1570 enable_virtdisk
1571 enable_vssapi
1572 enable_vulkan_1
1573 enable_wbemdisp
1574 enable_wbemprox
1575 enable_wdscore
1576 enable_webservices
1577 enable_wer
1578 enable_wevtapi
1579 enable_wiaservc
1580 enable_wimgapi
1581 enable_windowscodecs
1582 enable_windowscodecsext
1583 enable_winealsa_drv
1584 enable_wineandroid_drv
1585 enable_winebus_sys
1586 enable_winecoreaudio_drv
1587 enable_winecrt0
1588 enable_wined3d
1589 enable_winegstreamer
1590 enable_winehid_sys
1591 enable_winejoystick_drv
1592 enable_winemac_drv
1593 enable_winemapi
1594 enable_wineoss_drv
1595 enable_wineps_drv
1596 enable_winepulse_drv
1597 enable_wineqtdecoder
1598 enable_winevulkan
1599 enable_winex11_drv
1600 enable_wing32
1601 enable_winhttp
1602 enable_wininet
1603 enable_winmm
1604 enable_winnls32
1605 enable_winscard
1606 enable_winspool_drv
1607 enable_winsta
1608 enable_wintab32
1609 enable_wintrust
1610 enable_winusb
1611 enable_wlanapi
1612 enable_wldap32
1613 enable_wmasf
1614 enable_wmcodecdspuuid
1615 enable_wmi
1616 enable_wmiutils
1617 enable_wmp
1618 enable_wmphoto
1619 enable_wmvcore
1620 enable_wnaspi32
1621 enable_wpc
1622 enable_wpcap
1623 enable_ws2_32
1624 enable_wsdapi
1625 enable_wshom_ocx
1626 enable_wsnmp32
1627 enable_wsock32
1628 enable_wtsapi32
1629 enable_wuapi
1630 enable_wuaueng
1631 enable_x3daudio1_0
1632 enable_x3daudio1_1
1633 enable_x3daudio1_2
1634 enable_x3daudio1_3
1635 enable_x3daudio1_4
1636 enable_x3daudio1_5
1637 enable_x3daudio1_6
1638 enable_x3daudio1_7
1639 enable_xapofx1_1
1640 enable_xapofx1_2
1641 enable_xapofx1_3
1642 enable_xapofx1_4
1643 enable_xapofx1_5
1644 enable_xaudio2_0
1645 enable_xaudio2_1
1646 enable_xaudio2_2
1647 enable_xaudio2_3
1648 enable_xaudio2_4
1649 enable_xaudio2_5
1650 enable_xaudio2_6
1651 enable_xaudio2_7
1652 enable_xaudio2_8
1653 enable_xaudio2_9
1654 enable_xinput1_1
1655 enable_xinput1_2
1656 enable_xinput1_3
1657 enable_xinput1_4
1658 enable_xinput9_1_0
1659 enable_xmllite
1660 enable_xolehlp
1661 enable_xpsprint
1662 enable_xpssvcs
1663 enable_fonts
1664 enable_include
1665 enable_port
1666 enable_wine
1667 enable_wpp
1668 enable_loader
1669 enable_po
1670 enable_arp
1671 enable_aspnet_regiis
1672 enable_attrib
1673 enable_cabarc
1674 enable_cacls
1675 enable_clock
1676 enable_cmd
1677 enable_conhost
1678 enable_control
1679 enable_cscript
1680 enable_dism
1681 enable_dpnsvr
1682 enable_dxdiag
1683 enable_eject
1684 enable_expand
1685 enable_explorer
1686 enable_extrac32
1687 enable_fc
1688 enable_find
1689 enable_findstr
1690 enable_fsutil
1691 enable_hh
1692 enable_hostname
1693 enable_icacls
1694 enable_icinfo
1695 enable_iexplore
1696 enable_ipconfig
1697 enable_lodctr
1698 enable_mofcomp
1699 enable_mshta
1700 enable_msiexec
1701 enable_msinfo32
1702 enable_net
1703 enable_netsh
1704 enable_netstat
1705 enable_ngen
1706 enable_notepad
1707 enable_oleview
1708 enable_ping
1709 enable_plugplay
1710 enable_powershell
1711 enable_presentationfontcache
1712 enable_progman
1713 enable_reg
1714 enable_regasm
1715 enable_regedit
1716 enable_regsvcs
1717 enable_regsvr32
1718 enable_rpcss
1719 enable_rundll32
1720 enable_sc
1721 enable_schtasks
1722 enable_sdbinst
1723 enable_secedit
1724 enable_servicemodelreg
1725 enable_services
1726 enable_shutdown
1727 enable_spoolsv
1728 enable_start
1729 enable_subst
1730 enable_svchost
1731 enable_systeminfo
1732 enable_taskkill
1733 enable_tasklist
1734 enable_taskmgr
1735 enable_termsv
1736 enable_uninstaller
1737 enable_unlodctr
1738 enable_view
1739 enable_wevtutil
1740 enable_wineboot
1741 enable_winebrowser
1742 enable_winecfg
1743 enable_wineconsole
1744 enable_winedbg
1745 enable_winedevice
1746 enable_winefile
1747 enable_winemenubuilder
1748 enable_winemine
1749 enable_winemsibuilder
1750 enable_winepath
1751 enable_winetest
1752 enable_winhlp32
1753 enable_winmgmt
1754 enable_winver
1755 enable_wmic
1756 enable_wmplayer
1757 enable_wordpad
1758 enable_write
1759 enable_wscript
1760 enable_wusa
1761 enable_xcopy
1762 enable_server
1763 enable_tools
1764 enable_sfnt2fon
1765 enable_widl
1766 enable_winebuild
1767 enable_winedump
1768 enable_winegcc
1769 enable_winemaker
1770 enable_wmc
1771 enable_wrc
1773 ac_precious_vars='build_alias
1774 host_alias
1775 target_alias
1777 CFLAGS
1778 LDFLAGS
1779 LIBS
1780 CPPFLAGS
1782 CXXFLAGS
1785 OBJC
1786 OBJCFLAGS
1787 OBJCPP
1788 XMKMF
1789 XML2_CFLAGS
1790 XML2_LIBS
1791 XSLT_CFLAGS
1792 XSLT_LIBS
1793 DBUS_CFLAGS
1794 DBUS_LIBS
1795 HAL_CFLAGS
1796 HAL_LIBS
1797 GNUTLS_CFLAGS
1798 GNUTLS_LIBS
1799 SANE_CFLAGS
1800 SANE_LIBS
1801 GPHOTO2_CFLAGS
1802 GPHOTO2_LIBS
1803 GPHOTO2_PORT_CFLAGS
1804 GPHOTO2_PORT_LIBS
1805 LCMS2_CFLAGS
1806 LCMS2_LIBS
1807 FREETYPE_CFLAGS
1808 FREETYPE_LIBS
1809 PULSE_CFLAGS
1810 PULSE_LIBS
1811 GSTREAMER_CFLAGS
1812 GSTREAMER_LIBS
1813 UDEV_CFLAGS
1814 UDEV_LIBS
1815 SDL2_CFLAGS
1816 SDL2_LIBS
1817 CAPI20_CFLAGS
1818 CAPI20_LIBS
1819 CUPS_CFLAGS
1820 CUPS_LIBS
1821 FONTCONFIG_CFLAGS
1822 FONTCONFIG_LIBS
1823 KRB5_CFLAGS
1824 KRB5_LIBS
1825 GSSAPI_CFLAGS
1826 GSSAPI_LIBS
1827 JPEG_CFLAGS
1828 JPEG_LIBS
1829 PNG_CFLAGS
1830 PNG_LIBS
1831 TIFF_CFLAGS
1832 TIFF_LIBS
1833 MPG123_CFLAGS
1834 MPG123_LIBS
1835 NETAPI_CFLAGS
1836 NETAPI_LIBS
1837 VKD3D_CFLAGS
1838 VKD3D_LIBS
1839 LDAP_CFLAGS
1840 LDAP_LIBS'
1843 # Initialize some variables set by options.
1844 ac_init_help=
1845 ac_init_version=false
1846 ac_unrecognized_opts=
1847 ac_unrecognized_sep=
1848 # The variables have the same names as the options, with
1849 # dashes changed to underlines.
1850 cache_file=/dev/null
1851 exec_prefix=NONE
1852 no_create=
1853 no_recursion=
1854 prefix=NONE
1855 program_prefix=NONE
1856 program_suffix=NONE
1857 program_transform_name=s,x,x,
1858 silent=
1859 site=
1860 srcdir=
1861 verbose=
1862 x_includes=NONE
1863 x_libraries=NONE
1865 # Installation directory options.
1866 # These are left unexpanded so users can "make install exec_prefix=/foo"
1867 # and all the variables that are supposed to be based on exec_prefix
1868 # by default will actually change.
1869 # Use braces instead of parens because sh, perl, etc. also accept them.
1870 # (The list follows the same order as the GNU Coding Standards.)
1871 bindir='${exec_prefix}/bin'
1872 sbindir='${exec_prefix}/sbin'
1873 libexecdir='${exec_prefix}/libexec'
1874 datarootdir='${prefix}/share'
1875 datadir='${datarootdir}'
1876 sysconfdir='${prefix}/etc'
1877 sharedstatedir='${prefix}/com'
1878 localstatedir='${prefix}/var'
1879 runstatedir='${localstatedir}/run'
1880 includedir='${prefix}/include'
1881 oldincludedir='/usr/include'
1882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1883 infodir='${datarootdir}/info'
1884 htmldir='${docdir}'
1885 dvidir='${docdir}'
1886 pdfdir='${docdir}'
1887 psdir='${docdir}'
1888 libdir='${exec_prefix}/lib'
1889 localedir='${datarootdir}/locale'
1890 mandir='${datarootdir}/man'
1892 ac_prev=
1893 ac_dashdash=
1894 for ac_option
1896 # If the previous option needs an argument, assign it.
1897 if test -n "$ac_prev"; then
1898 eval $ac_prev=\$ac_option
1899 ac_prev=
1900 continue
1903 case $ac_option in
1904 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1905 *=) ac_optarg= ;;
1906 *) ac_optarg=yes ;;
1907 esac
1909 # Accept the important Cygnus configure options, so we can diagnose typos.
1911 case $ac_dashdash$ac_option in
1913 ac_dashdash=yes ;;
1915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1916 ac_prev=bindir ;;
1917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1918 bindir=$ac_optarg ;;
1920 -build | --build | --buil | --bui | --bu)
1921 ac_prev=build_alias ;;
1922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1923 build_alias=$ac_optarg ;;
1925 -cache-file | --cache-file | --cache-fil | --cache-fi \
1926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1927 ac_prev=cache_file ;;
1928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1930 cache_file=$ac_optarg ;;
1932 --config-cache | -C)
1933 cache_file=config.cache ;;
1935 -datadir | --datadir | --datadi | --datad)
1936 ac_prev=datadir ;;
1937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1938 datadir=$ac_optarg ;;
1940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1941 | --dataroo | --dataro | --datar)
1942 ac_prev=datarootdir ;;
1943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1945 datarootdir=$ac_optarg ;;
1947 -disable-* | --disable-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid feature name: $ac_useropt"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "enable_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval enable_$ac_useropt=no ;;
1963 -docdir | --docdir | --docdi | --doc | --do)
1964 ac_prev=docdir ;;
1965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1966 docdir=$ac_optarg ;;
1968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1969 ac_prev=dvidir ;;
1970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1971 dvidir=$ac_optarg ;;
1973 -enable-* | --enable-*)
1974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1975 # Reject names that are not valid shell variable names.
1976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1977 as_fn_error $? "invalid feature name: $ac_useropt"
1978 ac_useropt_orig=$ac_useropt
1979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1980 case $ac_user_opts in
1982 "enable_$ac_useropt"
1983 "*) ;;
1984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1985 ac_unrecognized_sep=', ';;
1986 esac
1987 eval enable_$ac_useropt=\$ac_optarg ;;
1989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1991 | --exec | --exe | --ex)
1992 ac_prev=exec_prefix ;;
1993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1995 | --exec=* | --exe=* | --ex=*)
1996 exec_prefix=$ac_optarg ;;
1998 -gas | --gas | --ga | --g)
1999 # Obsolete; use --with-gas.
2000 with_gas=yes ;;
2002 -help | --help | --hel | --he | -h)
2003 ac_init_help=long ;;
2004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2005 ac_init_help=recursive ;;
2006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2007 ac_init_help=short ;;
2009 -host | --host | --hos | --ho)
2010 ac_prev=host_alias ;;
2011 -host=* | --host=* | --hos=* | --ho=*)
2012 host_alias=$ac_optarg ;;
2014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2015 ac_prev=htmldir ;;
2016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2017 | --ht=*)
2018 htmldir=$ac_optarg ;;
2020 -includedir | --includedir | --includedi | --included | --include \
2021 | --includ | --inclu | --incl | --inc)
2022 ac_prev=includedir ;;
2023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2024 | --includ=* | --inclu=* | --incl=* | --inc=*)
2025 includedir=$ac_optarg ;;
2027 -infodir | --infodir | --infodi | --infod | --info | --inf)
2028 ac_prev=infodir ;;
2029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2030 infodir=$ac_optarg ;;
2032 -libdir | --libdir | --libdi | --libd)
2033 ac_prev=libdir ;;
2034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2035 libdir=$ac_optarg ;;
2037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2038 | --libexe | --libex | --libe)
2039 ac_prev=libexecdir ;;
2040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2041 | --libexe=* | --libex=* | --libe=*)
2042 libexecdir=$ac_optarg ;;
2044 -localedir | --localedir | --localedi | --localed | --locale)
2045 ac_prev=localedir ;;
2046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2047 localedir=$ac_optarg ;;
2049 -localstatedir | --localstatedir | --localstatedi | --localstated \
2050 | --localstate | --localstat | --localsta | --localst | --locals)
2051 ac_prev=localstatedir ;;
2052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2054 localstatedir=$ac_optarg ;;
2056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2057 ac_prev=mandir ;;
2058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2059 mandir=$ac_optarg ;;
2061 -nfp | --nfp | --nf)
2062 # Obsolete; use --without-fp.
2063 with_fp=no ;;
2065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2066 | --no-cr | --no-c | -n)
2067 no_create=yes ;;
2069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2071 no_recursion=yes ;;
2073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2075 | --oldin | --oldi | --old | --ol | --o)
2076 ac_prev=oldincludedir ;;
2077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2080 oldincludedir=$ac_optarg ;;
2082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2083 ac_prev=prefix ;;
2084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2085 prefix=$ac_optarg ;;
2087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2088 | --program-pre | --program-pr | --program-p)
2089 ac_prev=program_prefix ;;
2090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2092 program_prefix=$ac_optarg ;;
2094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2095 | --program-suf | --program-su | --program-s)
2096 ac_prev=program_suffix ;;
2097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2099 program_suffix=$ac_optarg ;;
2101 -program-transform-name | --program-transform-name \
2102 | --program-transform-nam | --program-transform-na \
2103 | --program-transform-n | --program-transform- \
2104 | --program-transform | --program-transfor \
2105 | --program-transfo | --program-transf \
2106 | --program-trans | --program-tran \
2107 | --progr-tra | --program-tr | --program-t)
2108 ac_prev=program_transform_name ;;
2109 -program-transform-name=* | --program-transform-name=* \
2110 | --program-transform-nam=* | --program-transform-na=* \
2111 | --program-transform-n=* | --program-transform-=* \
2112 | --program-transform=* | --program-transfor=* \
2113 | --program-transfo=* | --program-transf=* \
2114 | --program-trans=* | --program-tran=* \
2115 | --progr-tra=* | --program-tr=* | --program-t=*)
2116 program_transform_name=$ac_optarg ;;
2118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2119 ac_prev=pdfdir ;;
2120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2121 pdfdir=$ac_optarg ;;
2123 -psdir | --psdir | --psdi | --psd | --ps)
2124 ac_prev=psdir ;;
2125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2126 psdir=$ac_optarg ;;
2128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129 | -silent | --silent | --silen | --sile | --sil)
2130 silent=yes ;;
2132 -runstatedir | --runstatedir | --runstatedi | --runstated \
2133 | --runstate | --runstat | --runsta | --runst | --runs \
2134 | --run | --ru | --r)
2135 ac_prev=runstatedir ;;
2136 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2137 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2138 | --run=* | --ru=* | --r=*)
2139 runstatedir=$ac_optarg ;;
2141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2142 ac_prev=sbindir ;;
2143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2144 | --sbi=* | --sb=*)
2145 sbindir=$ac_optarg ;;
2147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2149 | --sharedst | --shareds | --shared | --share | --shar \
2150 | --sha | --sh)
2151 ac_prev=sharedstatedir ;;
2152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2155 | --sha=* | --sh=*)
2156 sharedstatedir=$ac_optarg ;;
2158 -site | --site | --sit)
2159 ac_prev=site ;;
2160 -site=* | --site=* | --sit=*)
2161 site=$ac_optarg ;;
2163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2164 ac_prev=srcdir ;;
2165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2166 srcdir=$ac_optarg ;;
2168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2169 | --syscon | --sysco | --sysc | --sys | --sy)
2170 ac_prev=sysconfdir ;;
2171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2173 sysconfdir=$ac_optarg ;;
2175 -target | --target | --targe | --targ | --tar | --ta | --t)
2176 ac_prev=target_alias ;;
2177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2178 target_alias=$ac_optarg ;;
2180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2181 verbose=yes ;;
2183 -version | --version | --versio | --versi | --vers | -V)
2184 ac_init_version=: ;;
2186 -with-* | --with-*)
2187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2188 # Reject names that are not valid shell variable names.
2189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2190 as_fn_error $? "invalid package name: $ac_useropt"
2191 ac_useropt_orig=$ac_useropt
2192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2193 case $ac_user_opts in
2195 "with_$ac_useropt"
2196 "*) ;;
2197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2198 ac_unrecognized_sep=', ';;
2199 esac
2200 eval with_$ac_useropt=\$ac_optarg ;;
2202 -without-* | --without-*)
2203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2204 # Reject names that are not valid shell variable names.
2205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2206 as_fn_error $? "invalid package name: $ac_useropt"
2207 ac_useropt_orig=$ac_useropt
2208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2209 case $ac_user_opts in
2211 "with_$ac_useropt"
2212 "*) ;;
2213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2214 ac_unrecognized_sep=', ';;
2215 esac
2216 eval with_$ac_useropt=no ;;
2218 --x)
2219 # Obsolete; use --with-x.
2220 with_x=yes ;;
2222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2223 | --x-incl | --x-inc | --x-in | --x-i)
2224 ac_prev=x_includes ;;
2225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2227 x_includes=$ac_optarg ;;
2229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2231 ac_prev=x_libraries ;;
2232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2234 x_libraries=$ac_optarg ;;
2236 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2237 Try \`$0 --help' for more information"
2240 *=*)
2241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2242 # Reject names that are not valid shell variable names.
2243 case $ac_envvar in #(
2244 '' | [0-9]* | *[!_$as_cr_alnum]* )
2245 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2246 esac
2247 eval $ac_envvar=\$ac_optarg
2248 export $ac_envvar ;;
2251 # FIXME: should be removed in autoconf 3.0.
2252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2258 esac
2259 done
2261 if test -n "$ac_prev"; then
2262 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2263 as_fn_error $? "missing argument to $ac_option"
2266 if test -n "$ac_unrecognized_opts"; then
2267 case $enable_option_checking in
2268 no) ;;
2269 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2271 esac
2274 # Check all directory arguments for consistency.
2275 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2276 datadir sysconfdir sharedstatedir localstatedir includedir \
2277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2278 libdir localedir mandir runstatedir
2280 eval ac_val=\$$ac_var
2281 # Remove trailing slashes.
2282 case $ac_val in
2283 */ )
2284 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2285 eval $ac_var=\$ac_val;;
2286 esac
2287 # Be sure to have absolute directory names.
2288 case $ac_val in
2289 [\\/$]* | ?:[\\/]* ) continue;;
2290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2291 esac
2292 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2293 done
2295 # There might be people who depend on the old broken behavior: `$host'
2296 # used to hold the argument of --host etc.
2297 # FIXME: To remove some day.
2298 build=$build_alias
2299 host=$host_alias
2300 target=$target_alias
2302 # FIXME: To remove some day.
2303 if test "x$host_alias" != x; then
2304 if test "x$build_alias" = x; then
2305 cross_compiling=maybe
2306 elif test "x$build_alias" != "x$host_alias"; then
2307 cross_compiling=yes
2311 ac_tool_prefix=
2312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2314 test "$silent" = yes && exec 6>/dev/null
2317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2318 ac_ls_di=`ls -di .` &&
2319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2320 as_fn_error $? "working directory cannot be determined"
2321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2322 as_fn_error $? "pwd does not report name of working directory"
2325 # Find the source files, if location was not specified.
2326 if test -z "$srcdir"; then
2327 ac_srcdir_defaulted=yes
2328 # Try the directory containing this script, then the parent directory.
2329 ac_confdir=`$as_dirname -- "$as_myself" ||
2330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2331 X"$as_myself" : 'X\(//\)[^/]' \| \
2332 X"$as_myself" : 'X\(//\)$' \| \
2333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2334 $as_echo X"$as_myself" |
2335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2336 s//\1/
2339 /^X\(\/\/\)[^/].*/{
2340 s//\1/
2343 /^X\(\/\/\)$/{
2344 s//\1/
2347 /^X\(\/\).*/{
2348 s//\1/
2351 s/.*/./; q'`
2352 srcdir=$ac_confdir
2353 if test ! -r "$srcdir/$ac_unique_file"; then
2354 srcdir=..
2356 else
2357 ac_srcdir_defaulted=no
2359 if test ! -r "$srcdir/$ac_unique_file"; then
2360 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2361 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2364 ac_abs_confdir=`(
2365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2366 pwd)`
2367 # When building in place, set srcdir=.
2368 if test "$ac_abs_confdir" = "$ac_pwd"; then
2369 srcdir=.
2371 # Remove unnecessary trailing slashes from srcdir.
2372 # Double slashes in file names in object file debugging info
2373 # mess up M-x gdb in Emacs.
2374 case $srcdir in
2375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2376 esac
2377 for ac_var in $ac_precious_vars; do
2378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2379 eval ac_env_${ac_var}_value=\$${ac_var}
2380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2382 done
2385 # Report the --help message.
2387 if test "$ac_init_help" = "long"; then
2388 # Omit some internal or obsolete options to make the list less imposing.
2389 # This message is too long to be a string in the A/UX 3.1 sh.
2390 cat <<_ACEOF
2391 \`configure' configures Wine 3.21 to adapt to many kinds of systems.
2393 Usage: $0 [OPTION]... [VAR=VALUE]...
2395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2396 VAR=VALUE. See below for descriptions of some of the useful variables.
2398 Defaults for the options are specified in brackets.
2400 Configuration:
2401 -h, --help display this help and exit
2402 --help=short display options specific to this package
2403 --help=recursive display the short help of all the included packages
2404 -V, --version display version information and exit
2405 -q, --quiet, --silent do not print \`checking ...' messages
2406 --cache-file=FILE cache test results in FILE [disabled]
2407 -C, --config-cache alias for \`--cache-file=config.cache'
2408 -n, --no-create do not create output files
2409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2411 Installation directories:
2412 --prefix=PREFIX install architecture-independent files in PREFIX
2413 [$ac_default_prefix]
2414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2415 [PREFIX]
2417 By default, \`make install' will install all the files in
2418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2420 for instance \`--prefix=\$HOME'.
2422 For better control, use the options below.
2424 Fine tuning of the installation directories:
2425 --bindir=DIR user executables [EPREFIX/bin]
2426 --sbindir=DIR system admin executables [EPREFIX/sbin]
2427 --libexecdir=DIR program executables [EPREFIX/libexec]
2428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2431 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2432 --libdir=DIR object code libraries [EPREFIX/lib]
2433 --includedir=DIR C header files [PREFIX/include]
2434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2437 --infodir=DIR info documentation [DATAROOTDIR/info]
2438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2439 --mandir=DIR man documentation [DATAROOTDIR/man]
2440 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2441 --htmldir=DIR html documentation [DOCDIR]
2442 --dvidir=DIR dvi documentation [DOCDIR]
2443 --pdfdir=DIR pdf documentation [DOCDIR]
2444 --psdir=DIR ps documentation [DOCDIR]
2445 _ACEOF
2447 cat <<\_ACEOF
2449 X features:
2450 --x-includes=DIR X include files are in DIR
2451 --x-libraries=DIR X library files are in DIR
2453 System types:
2454 --build=BUILD configure for building on BUILD [guessed]
2455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2456 _ACEOF
2459 if test -n "$ac_init_help"; then
2460 case $ac_init_help in
2461 short | recursive ) echo "Configuration of Wine 3.21:";;
2462 esac
2463 cat <<\_ACEOF
2465 Optional Features:
2466 --disable-option-checking ignore unrecognized --enable/--with options
2467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2469 --disable-win16 do not include Win16 support
2470 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2471 binaries)
2472 --disable-tests do not build the regression tests
2473 --enable-maintainer-mode
2474 enable maintainer-specific build rules
2475 --disable-largefile omit support for large files
2477 Optional Packages:
2478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2480 --without-alsa do not use the Alsa sound support
2481 --without-capi do not use CAPI (ISDN support)
2482 --without-cms do not use CMS (color management support)
2483 --without-coreaudio do not use the CoreAudio sound support
2484 --without-cups do not use CUPS
2485 --without-curses do not use (n)curses
2486 --without-dbus do not use DBus (dynamic device support)
2487 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2488 --without-fontconfig do not use fontconfig
2489 --without-freetype do not use the FreeType library
2490 --without-gettext do not use gettext
2491 --with-gettextpo use the GetTextPO library to rebuild po files
2492 --without-gphoto do not use gphoto (Digital Camera support)
2493 --without-glu do not use the GLU library
2494 --without-gnutls do not use GnuTLS (schannel support)
2495 --without-gsm do not use libgsm (GSM 06.10 codec support)
2496 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2497 --without-gstreamer do not use GStreamer (codecs support)
2498 --without-hal do not use HAL (dynamic device support)
2499 --without-jpeg do not use JPEG
2500 --without-krb5 do not use krb5 (Kerberos)
2501 --without-ldap do not use LDAP
2502 --without-mpg123 do not use the mpg123 library
2503 --without-netapi do not use the Samba NetAPI library
2504 --without-openal do not use OpenAL
2505 --without-opencl do not use OpenCL
2506 --without-opengl do not use OpenGL
2507 --without-osmesa do not use the OSMesa library
2508 --without-oss do not use the OSS sound support
2509 --without-pcap do not use the Packet Capture library
2510 --without-png do not use PNG
2511 --without-pthread do not use the pthread library
2512 --without-pulse do not use PulseAudio sound support
2513 --without-sane do not use SANE (scanner support)
2514 --without-sdl do not use SDL
2515 --without-tiff do not use TIFF
2516 --without-udev do not use udev (plug and play support)
2517 --without-v4l do not use v4l1 (v4l support)
2518 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2519 --without-vulkan do not use Vulkan
2520 --without-xcomposite do not use the Xcomposite extension
2521 --without-xcursor do not use the Xcursor extension
2522 --without-xfixes do not use Xfixes for clipboard change notifications
2523 --without-xinerama do not use Xinerama (multi-monitor support)
2524 --without-xinput do not use the Xinput extension
2525 --without-xinput2 do not use the Xinput 2 extension
2526 --without-xml do not use XML
2527 --without-xrandr do not use Xrandr (resolution changes)
2528 --without-xrender do not use the Xrender extension
2529 --without-xshape do not use the Xshape extension
2530 --without-xshm do not use XShm (shared memory extension)
2531 --without-xslt do not use XSLT
2532 --without-xxf86vm do not use XFree video mode extension
2533 --without-zlib do not use Zlib (data compression)
2534 --with-wine-tools=DIR use Wine tools from directory DIR
2535 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2536 --with-x use the X Window System
2538 Some influential environment variables:
2539 CC C compiler command
2540 CFLAGS C compiler flags
2541 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2542 nonstandard directory <lib dir>
2543 LIBS libraries to pass to the linker, e.g. -l<library>
2544 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2545 you have headers in a nonstandard directory <include dir>
2546 CXX C++ compiler command
2547 CXXFLAGS C++ compiler flags
2548 CPP C preprocessor
2549 OBJC Objective C compiler command
2550 OBJCFLAGS Objective C compiler flags
2551 OBJCPP Objective C preprocessor
2552 XMKMF Path to xmkmf, Makefile generator for X Window System
2553 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2554 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2555 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2556 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2557 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2558 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2559 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2560 HAL_LIBS Linker flags for hal, overriding pkg-config
2561 GNUTLS_CFLAGS
2562 C compiler flags for gnutls, overriding pkg-config
2563 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2564 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2565 SANE_LIBS Linker flags for libsane, overriding pkg-config
2566 GPHOTO2_CFLAGS
2567 C compiler flags for libgphoto2, overriding pkg-config
2568 GPHOTO2_LIBS
2569 Linker flags for libgphoto2, overriding pkg-config
2570 GPHOTO2_PORT_CFLAGS
2571 C compiler flags for libgphoto2_port, overriding pkg-config
2572 GPHOTO2_PORT_LIBS
2573 Linker flags for libgphoto2_port, overriding pkg-config
2574 LCMS2_CFLAGS
2575 C compiler flags for lcms2, overriding pkg-config
2576 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2577 FREETYPE_CFLAGS
2578 C compiler flags for freetype2, overriding pkg-config
2579 FREETYPE_LIBS
2580 Linker flags for freetype2, overriding pkg-config
2581 PULSE_CFLAGS
2582 C compiler flags for libpulse, overriding pkg-config
2583 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2584 GSTREAMER_CFLAGS
2585 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2586 gstreamer-audio-1.0, overriding pkg-config
2587 GSTREAMER_LIBS
2588 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2589 gstreamer-audio-1.0, overriding pkg-config
2590 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2591 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2592 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2593 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2594 CAPI20_CFLAGS
2595 C compiler flags for capi20, overriding pkg-config
2596 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2597 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2598 CUPS_LIBS Linker flags for cups, overriding pkg-config
2599 FONTCONFIG_CFLAGS
2600 C compiler flags for fontconfig, overriding pkg-config
2601 FONTCONFIG_LIBS
2602 Linker flags for fontconfig, overriding pkg-config
2603 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2604 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2605 GSSAPI_CFLAGS
2606 C compiler flags for krb5-gssapi, overriding pkg-config
2607 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2608 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2609 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2610 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2611 PNG_LIBS Linker flags for libpng, overriding pkg-config
2612 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2613 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2614 MPG123_CFLAGS
2615 C compiler flags for libmpg123, overriding pkg-config
2616 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2617 NETAPI_CFLAGS
2618 C compiler flags for netapi, overriding pkg-config
2619 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2620 VKD3D_CFLAGS
2621 C compiler flags for libvkd3d, overriding pkg-config
2622 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2623 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2624 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2626 Use these variables to override the choices made by `configure' or to help
2627 it to find libraries and programs with nonstandard names/locations.
2629 Report bugs to <wine-devel@winehq.org>.
2630 Wine home page: <https://www.winehq.org>.
2631 _ACEOF
2632 ac_status=$?
2635 if test "$ac_init_help" = "recursive"; then
2636 # If there are subdirs, report their specific --help.
2637 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2638 test -d "$ac_dir" ||
2639 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2640 continue
2641 ac_builddir=.
2643 case "$ac_dir" in
2644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2646 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2647 # A ".." for each directory in $ac_dir_suffix.
2648 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2649 case $ac_top_builddir_sub in
2650 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2651 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2652 esac ;;
2653 esac
2654 ac_abs_top_builddir=$ac_pwd
2655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2656 # for backward compatibility:
2657 ac_top_builddir=$ac_top_build_prefix
2659 case $srcdir in
2660 .) # We are building in place.
2661 ac_srcdir=.
2662 ac_top_srcdir=$ac_top_builddir_sub
2663 ac_abs_top_srcdir=$ac_pwd ;;
2664 [\\/]* | ?:[\\/]* ) # Absolute name.
2665 ac_srcdir=$srcdir$ac_dir_suffix;
2666 ac_top_srcdir=$srcdir
2667 ac_abs_top_srcdir=$srcdir ;;
2668 *) # Relative name.
2669 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2670 ac_top_srcdir=$ac_top_build_prefix$srcdir
2671 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2672 esac
2673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2675 cd "$ac_dir" || { ac_status=$?; continue; }
2676 # Check for guested configure.
2677 if test -f "$ac_srcdir/configure.gnu"; then
2678 echo &&
2679 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2680 elif test -f "$ac_srcdir/configure"; then
2681 echo &&
2682 $SHELL "$ac_srcdir/configure" --help=recursive
2683 else
2684 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2685 fi || ac_status=$?
2686 cd "$ac_pwd" || { ac_status=$?; break; }
2687 done
2690 test -n "$ac_init_help" && exit $ac_status
2691 if $ac_init_version; then
2692 cat <<\_ACEOF
2693 Wine configure 3.21
2694 generated by GNU Autoconf 2.69
2696 Copyright (C) 2012 Free Software Foundation, Inc.
2697 This configure script is free software; the Free Software Foundation
2698 gives unlimited permission to copy, distribute and modify it.
2699 _ACEOF
2700 exit
2703 ## ------------------------ ##
2704 ## Autoconf initialization. ##
2705 ## ------------------------ ##
2707 # ac_fn_c_try_compile LINENO
2708 # --------------------------
2709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2710 ac_fn_c_try_compile ()
2712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2713 rm -f conftest.$ac_objext
2714 if { { ac_try="$ac_compile"
2715 case "(($ac_try" in
2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2717 *) ac_try_echo=$ac_try;;
2718 esac
2719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2720 $as_echo "$ac_try_echo"; } >&5
2721 (eval "$ac_compile") 2>conftest.err
2722 ac_status=$?
2723 if test -s conftest.err; then
2724 grep -v '^ *+' conftest.err >conftest.er1
2725 cat conftest.er1 >&5
2726 mv -f conftest.er1 conftest.err
2728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2729 test $ac_status = 0; } && {
2730 test -z "$ac_c_werror_flag" ||
2731 test ! -s conftest.err
2732 } && test -s conftest.$ac_objext; then :
2733 ac_retval=0
2734 else
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 ac_retval=1
2740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2741 as_fn_set_status $ac_retval
2743 } # ac_fn_c_try_compile
2745 # ac_fn_cxx_try_compile LINENO
2746 # ----------------------------
2747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2748 ac_fn_cxx_try_compile ()
2750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2751 rm -f conftest.$ac_objext
2752 if { { ac_try="$ac_compile"
2753 case "(($ac_try" in
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2756 esac
2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2758 $as_echo "$ac_try_echo"; } >&5
2759 (eval "$ac_compile") 2>conftest.err
2760 ac_status=$?
2761 if test -s conftest.err; then
2762 grep -v '^ *+' conftest.err >conftest.er1
2763 cat conftest.er1 >&5
2764 mv -f conftest.er1 conftest.err
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; } && {
2768 test -z "$ac_cxx_werror_flag" ||
2769 test ! -s conftest.err
2770 } && test -s conftest.$ac_objext; then :
2771 ac_retval=0
2772 else
2773 $as_echo "$as_me: failed program was:" >&5
2774 sed 's/^/| /' conftest.$ac_ext >&5
2776 ac_retval=1
2778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 as_fn_set_status $ac_retval
2781 } # ac_fn_cxx_try_compile
2783 # ac_fn_c_try_link LINENO
2784 # -----------------------
2785 # Try to link conftest.$ac_ext, and return whether this succeeded.
2786 ac_fn_c_try_link ()
2788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2789 rm -f conftest.$ac_objext conftest$ac_exeext
2790 if { { ac_try="$ac_link"
2791 case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2794 esac
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 $as_echo "$ac_try_echo"; } >&5
2797 (eval "$ac_link") 2>conftest.err
2798 ac_status=$?
2799 if test -s conftest.err; then
2800 grep -v '^ *+' conftest.err >conftest.er1
2801 cat conftest.er1 >&5
2802 mv -f conftest.er1 conftest.err
2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; } && {
2806 test -z "$ac_c_werror_flag" ||
2807 test ! -s conftest.err
2808 } && test -s conftest$ac_exeext && {
2809 test "$cross_compiling" = yes ||
2810 test -x conftest$ac_exeext
2811 }; then :
2812 ac_retval=0
2813 else
2814 $as_echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 ac_retval=1
2819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2821 # interfere with the next link command; also delete a directory that is
2822 # left behind by Apple's compiler. We do this before executing the actions.
2823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2825 as_fn_set_status $ac_retval
2827 } # ac_fn_c_try_link
2829 # ac_fn_c_try_cpp LINENO
2830 # ----------------------
2831 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2832 ac_fn_c_try_cpp ()
2834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2835 if { { ac_try="$ac_cpp conftest.$ac_ext"
2836 case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2839 esac
2840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2841 $as_echo "$ac_try_echo"; } >&5
2842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2843 ac_status=$?
2844 if test -s conftest.err; then
2845 grep -v '^ *+' conftest.err >conftest.er1
2846 cat conftest.er1 >&5
2847 mv -f conftest.er1 conftest.err
2849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2850 test $ac_status = 0; } > conftest.i && {
2851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2852 test ! -s conftest.err
2853 }; then :
2854 ac_retval=0
2855 else
2856 $as_echo "$as_me: failed program was:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2859 ac_retval=1
2861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862 as_fn_set_status $ac_retval
2864 } # ac_fn_c_try_cpp
2866 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2867 # -------------------------------------------------------
2868 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2869 # the include files in INCLUDES and setting the cache variable VAR
2870 # accordingly.
2871 ac_fn_c_check_header_mongrel ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 if eval \${$3+:} false; then :
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2876 $as_echo_n "checking for $2... " >&6; }
2877 if eval \${$3+:} false; then :
2878 $as_echo_n "(cached) " >&6
2880 eval ac_res=\$$3
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2882 $as_echo "$ac_res" >&6; }
2883 else
2884 # Is the header compilable?
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2886 $as_echo_n "checking $2 usability... " >&6; }
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2890 #include <$2>
2891 _ACEOF
2892 if ac_fn_c_try_compile "$LINENO"; then :
2893 ac_header_compiler=yes
2894 else
2895 ac_header_compiler=no
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2899 $as_echo "$ac_header_compiler" >&6; }
2901 # Is the header present?
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2903 $as_echo_n "checking $2 presence... " >&6; }
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2906 #include <$2>
2907 _ACEOF
2908 if ac_fn_c_try_cpp "$LINENO"; then :
2909 ac_header_preproc=yes
2910 else
2911 ac_header_preproc=no
2913 rm -f conftest.err conftest.i conftest.$ac_ext
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2915 $as_echo "$ac_header_preproc" >&6; }
2917 # So? What about this header?
2918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2919 yes:no: )
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2921 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2923 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2925 no:yes:* )
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2927 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2929 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2931 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2933 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2936 ( $as_echo "## ------------------------------------ ##
2937 ## Report this to wine-devel@winehq.org ##
2938 ## ------------------------------------ ##"
2939 ) | sed "s/^/$as_me: WARNING: /" >&2
2941 esac
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \${$3+:} false; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 eval "$3=\$ac_header_compiler"
2949 eval ac_res=\$$3
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2951 $as_echo "$ac_res" >&6; }
2953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2955 } # ac_fn_c_check_header_mongrel
2957 # ac_fn_c_try_run LINENO
2958 # ----------------------
2959 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2960 # that executables *can* be run.
2961 ac_fn_c_try_run ()
2963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2964 if { { ac_try="$ac_link"
2965 case "(($ac_try" in
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2968 esac
2969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2970 $as_echo "$ac_try_echo"; } >&5
2971 (eval "$ac_link") 2>&5
2972 ac_status=$?
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2975 { { case "(($ac_try" in
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2978 esac
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 $as_echo "$ac_try_echo"; } >&5
2981 (eval "$ac_try") 2>&5
2982 ac_status=$?
2983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2984 test $ac_status = 0; }; }; then :
2985 ac_retval=0
2986 else
2987 $as_echo "$as_me: program exited with status $ac_status" >&5
2988 $as_echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2991 ac_retval=$ac_status
2993 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2995 as_fn_set_status $ac_retval
2997 } # ac_fn_c_try_run
2999 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3000 # -------------------------------------------------------
3001 # Tests whether HEADER exists and can be compiled using the include files in
3002 # INCLUDES, setting the cache variable VAR accordingly.
3003 ac_fn_c_check_header_compile ()
3005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3007 $as_echo_n "checking for $2... " >&6; }
3008 if eval \${$3+:} false; then :
3009 $as_echo_n "(cached) " >&6
3010 else
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3014 #include <$2>
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"; then :
3017 eval "$3=yes"
3018 else
3019 eval "$3=no"
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 eval ac_res=\$$3
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3025 $as_echo "$ac_res" >&6; }
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3028 } # ac_fn_c_check_header_compile
3030 # ac_fn_objc_try_compile LINENO
3031 # -----------------------------
3032 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3033 ac_fn_objc_try_compile ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 rm -f conftest.$ac_objext
3037 if { { ac_try="$ac_compile"
3038 case "(($ac_try" in
3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 *) ac_try_echo=$ac_try;;
3041 esac
3042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3043 $as_echo "$ac_try_echo"; } >&5
3044 (eval "$ac_compile") 2>conftest.err
3045 ac_status=$?
3046 if test -s conftest.err; then
3047 grep -v '^ *+' conftest.err >conftest.er1
3048 cat conftest.er1 >&5
3049 mv -f conftest.er1 conftest.err
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; } && {
3053 test -z "$ac_objc_werror_flag" ||
3054 test ! -s conftest.err
3055 } && test -s conftest.$ac_objext; then :
3056 ac_retval=0
3057 else
3058 $as_echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3061 ac_retval=1
3063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064 as_fn_set_status $ac_retval
3066 } # ac_fn_objc_try_compile
3068 # ac_fn_objc_try_cpp LINENO
3069 # -------------------------
3070 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3071 ac_fn_objc_try_cpp ()
3073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3074 if { { ac_try="$ac_cpp conftest.$ac_ext"
3075 case "(($ac_try" in
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3078 esac
3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3082 ac_status=$?
3083 if test -s conftest.err; then
3084 grep -v '^ *+' conftest.err >conftest.er1
3085 cat conftest.er1 >&5
3086 mv -f conftest.er1 conftest.err
3088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089 test $ac_status = 0; } > conftest.i && {
3090 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3091 test ! -s conftest.err
3092 }; then :
3093 ac_retval=0
3094 else
3095 $as_echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3098 ac_retval=1
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3101 as_fn_set_status $ac_retval
3103 } # ac_fn_objc_try_cpp
3105 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3106 # ----------------------------------------------------------
3107 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3108 # the include files in INCLUDES and setting the cache variable VAR
3109 # accordingly.
3110 ac_fn_objc_check_header_mongrel ()
3112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3113 if eval \${$3+:} false; then :
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3115 $as_echo_n "checking for $2... " >&6; }
3116 if eval \${$3+:} false; then :
3117 $as_echo_n "(cached) " >&6
3119 eval ac_res=\$$3
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3121 $as_echo "$ac_res" >&6; }
3122 else
3123 # Is the header compilable?
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3125 $as_echo_n "checking $2 usability... " >&6; }
3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h. */
3129 #include <$2>
3130 _ACEOF
3131 if ac_fn_objc_try_compile "$LINENO"; then :
3132 ac_header_compiler=yes
3133 else
3134 ac_header_compiler=no
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3138 $as_echo "$ac_header_compiler" >&6; }
3140 # Is the header present?
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3142 $as_echo_n "checking $2 presence... " >&6; }
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3145 #include <$2>
3146 _ACEOF
3147 if ac_fn_objc_try_cpp "$LINENO"; then :
3148 ac_header_preproc=yes
3149 else
3150 ac_header_preproc=no
3152 rm -f conftest.err conftest.i conftest.$ac_ext
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3154 $as_echo "$ac_header_preproc" >&6; }
3156 # So? What about this header?
3157 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3158 yes:no: )
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3160 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3162 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3164 no:yes:* )
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3166 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3168 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3170 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3172 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3175 ( $as_echo "## ------------------------------------ ##
3176 ## Report this to wine-devel@winehq.org ##
3177 ## ------------------------------------ ##"
3178 ) | sed "s/^/$as_me: WARNING: /" >&2
3180 esac
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3182 $as_echo_n "checking for $2... " >&6; }
3183 if eval \${$3+:} false; then :
3184 $as_echo_n "(cached) " >&6
3185 else
3186 eval "$3=\$ac_header_compiler"
3188 eval ac_res=\$$3
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3190 $as_echo "$ac_res" >&6; }
3192 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3194 } # ac_fn_objc_check_header_mongrel
3196 # ac_fn_c_check_func LINENO FUNC VAR
3197 # ----------------------------------
3198 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3199 ac_fn_c_check_func ()
3201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3203 $as_echo_n "checking for $2... " >&6; }
3204 if eval \${$3+:} false; then :
3205 $as_echo_n "(cached) " >&6
3206 else
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3209 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3211 #define $2 innocuous_$2
3213 /* System header to define __stub macros and hopefully few prototypes,
3214 which can conflict with char $2 (); below.
3215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3216 <limits.h> exists even on freestanding compilers. */
3218 #ifdef __STDC__
3219 # include <limits.h>
3220 #else
3221 # include <assert.h>
3222 #endif
3224 #undef $2
3226 /* Override any GCC internal prototype to avoid an error.
3227 Use char because int might match the return type of a GCC
3228 builtin and then its argument prototype would still apply. */
3229 #ifdef __cplusplus
3230 extern "C"
3231 #endif
3232 char $2 ();
3233 /* The GNU C library defines this for functions which it implements
3234 to always fail with ENOSYS. Some functions are actually named
3235 something starting with __ and the normal name is an alias. */
3236 #if defined __stub_$2 || defined __stub___$2
3237 choke me
3238 #endif
3241 main ()
3243 return $2 ();
3245 return 0;
3247 _ACEOF
3248 if ac_fn_c_try_link "$LINENO"; then :
3249 eval "$3=yes"
3250 else
3251 eval "$3=no"
3253 rm -f core conftest.err conftest.$ac_objext \
3254 conftest$ac_exeext conftest.$ac_ext
3256 eval ac_res=\$$3
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3258 $as_echo "$ac_res" >&6; }
3259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3261 } # ac_fn_c_check_func
3263 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3264 # ----------------------------------------------------
3265 # Tries to find if the field MEMBER exists in type AGGR, after including
3266 # INCLUDES, setting cache variable VAR accordingly.
3267 ac_fn_c_check_member ()
3269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3271 $as_echo_n "checking for $2.$3... " >&6; }
3272 if eval \${$4+:} false; then :
3273 $as_echo_n "(cached) " >&6
3274 else
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3279 main ()
3281 static $2 ac_aggr;
3282 if (ac_aggr.$3)
3283 return 0;
3285 return 0;
3287 _ACEOF
3288 if ac_fn_c_try_compile "$LINENO"; then :
3289 eval "$4=yes"
3290 else
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3295 main ()
3297 static $2 ac_aggr;
3298 if (sizeof ac_aggr.$3)
3299 return 0;
3301 return 0;
3303 _ACEOF
3304 if ac_fn_c_try_compile "$LINENO"; then :
3305 eval "$4=yes"
3306 else
3307 eval "$4=no"
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 eval ac_res=\$$4
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3315 $as_echo "$ac_res" >&6; }
3316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3318 } # ac_fn_c_check_member
3320 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3321 # -------------------------------------------
3322 # Tests whether TYPE exists after having included INCLUDES, setting cache
3323 # variable VAR accordingly.
3324 ac_fn_c_check_type ()
3326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3328 $as_echo_n "checking for $2... " >&6; }
3329 if eval \${$3+:} false; then :
3330 $as_echo_n "(cached) " >&6
3331 else
3332 eval "$3=no"
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3337 main ()
3339 if (sizeof ($2))
3340 return 0;
3342 return 0;
3344 _ACEOF
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3350 main ()
3352 if (sizeof (($2)))
3353 return 0;
3355 return 0;
3357 _ACEOF
3358 if ac_fn_c_try_compile "$LINENO"; then :
3360 else
3361 eval "$3=yes"
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 eval ac_res=\$$3
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3369 $as_echo "$ac_res" >&6; }
3370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3372 } # ac_fn_c_check_type
3373 cat >config.log <<_ACEOF
3374 This file contains any messages produced by compilers while
3375 running configure, to aid debugging if configure makes a mistake.
3377 It was created by Wine $as_me 3.21, which was
3378 generated by GNU Autoconf 2.69. Invocation command line was
3380 $ $0 $@
3382 _ACEOF
3383 exec 5>>config.log
3385 cat <<_ASUNAME
3386 ## --------- ##
3387 ## Platform. ##
3388 ## --------- ##
3390 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3391 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3392 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3393 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3394 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3396 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3397 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3399 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3400 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3401 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3402 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3403 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3404 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3405 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3407 _ASUNAME
3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410 for as_dir in $PATH
3412 IFS=$as_save_IFS
3413 test -z "$as_dir" && as_dir=.
3414 $as_echo "PATH: $as_dir"
3415 done
3416 IFS=$as_save_IFS
3418 } >&5
3420 cat >&5 <<_ACEOF
3423 ## ----------- ##
3424 ## Core tests. ##
3425 ## ----------- ##
3427 _ACEOF
3430 # Keep a trace of the command line.
3431 # Strip out --no-create and --no-recursion so they do not pile up.
3432 # Strip out --silent because we don't want to record it for future runs.
3433 # Also quote any args containing shell meta-characters.
3434 # Make two passes to allow for proper duplicate-argument suppression.
3435 ac_configure_args=
3436 ac_configure_args0=
3437 ac_configure_args1=
3438 ac_must_keep_next=false
3439 for ac_pass in 1 2
3441 for ac_arg
3443 case $ac_arg in
3444 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3445 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3446 | -silent | --silent | --silen | --sile | --sil)
3447 continue ;;
3448 *\'*)
3449 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3450 esac
3451 case $ac_pass in
3452 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3454 as_fn_append ac_configure_args1 " '$ac_arg'"
3455 if test $ac_must_keep_next = true; then
3456 ac_must_keep_next=false # Got value, back to normal.
3457 else
3458 case $ac_arg in
3459 *=* | --config-cache | -C | -disable-* | --disable-* \
3460 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3461 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3462 | -with-* | --with-* | -without-* | --without-* | --x)
3463 case "$ac_configure_args0 " in
3464 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3465 esac
3467 -* ) ac_must_keep_next=true ;;
3468 esac
3470 as_fn_append ac_configure_args " '$ac_arg'"
3472 esac
3473 done
3474 done
3475 { ac_configure_args0=; unset ac_configure_args0;}
3476 { ac_configure_args1=; unset ac_configure_args1;}
3478 # When interrupted or exit'd, cleanup temporary files, and complete
3479 # config.log. We remove comments because anyway the quotes in there
3480 # would cause problems or look ugly.
3481 # WARNING: Use '\'' to represent an apostrophe within the trap.
3482 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3483 trap 'exit_status=$?
3484 # Save into config.log some information that might help in debugging.
3486 echo
3488 $as_echo "## ---------------- ##
3489 ## Cache variables. ##
3490 ## ---------------- ##"
3491 echo
3492 # The following way of writing the cache mishandles newlines in values,
3494 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3495 eval ac_val=\$$ac_var
3496 case $ac_val in #(
3497 *${as_nl}*)
3498 case $ac_var in #(
3499 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3500 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3501 esac
3502 case $ac_var in #(
3503 _ | IFS | as_nl) ;; #(
3504 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3505 *) { eval $ac_var=; unset $ac_var;} ;;
3506 esac ;;
3507 esac
3508 done
3509 (set) 2>&1 |
3510 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3511 *${as_nl}ac_space=\ *)
3512 sed -n \
3513 "s/'\''/'\''\\\\'\'''\''/g;
3514 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3515 ;; #(
3517 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3519 esac |
3520 sort
3522 echo
3524 $as_echo "## ----------------- ##
3525 ## Output variables. ##
3526 ## ----------------- ##"
3527 echo
3528 for ac_var in $ac_subst_vars
3530 eval ac_val=\$$ac_var
3531 case $ac_val in
3532 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3533 esac
3534 $as_echo "$ac_var='\''$ac_val'\''"
3535 done | sort
3536 echo
3538 if test -n "$ac_subst_files"; then
3539 $as_echo "## ------------------- ##
3540 ## File substitutions. ##
3541 ## ------------------- ##"
3542 echo
3543 for ac_var in $ac_subst_files
3545 eval ac_val=\$$ac_var
3546 case $ac_val in
3547 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3548 esac
3549 $as_echo "$ac_var='\''$ac_val'\''"
3550 done | sort
3551 echo
3554 if test -s confdefs.h; then
3555 $as_echo "## ----------- ##
3556 ## confdefs.h. ##
3557 ## ----------- ##"
3558 echo
3559 cat confdefs.h
3560 echo
3562 test "$ac_signal" != 0 &&
3563 $as_echo "$as_me: caught signal $ac_signal"
3564 $as_echo "$as_me: exit $exit_status"
3565 } >&5
3566 rm -f core *.core core.conftest.* &&
3567 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3568 exit $exit_status
3570 for ac_signal in 1 2 13 15; do
3571 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3572 done
3573 ac_signal=0
3575 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3576 rm -f -r conftest* confdefs.h
3578 $as_echo "/* confdefs.h */" > confdefs.h
3580 # Predefined preprocessor variables.
3582 cat >>confdefs.h <<_ACEOF
3583 #define PACKAGE_NAME "$PACKAGE_NAME"
3584 _ACEOF
3586 cat >>confdefs.h <<_ACEOF
3587 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3588 _ACEOF
3590 cat >>confdefs.h <<_ACEOF
3591 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3592 _ACEOF
3594 cat >>confdefs.h <<_ACEOF
3595 #define PACKAGE_STRING "$PACKAGE_STRING"
3596 _ACEOF
3598 cat >>confdefs.h <<_ACEOF
3599 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3600 _ACEOF
3602 cat >>confdefs.h <<_ACEOF
3603 #define PACKAGE_URL "$PACKAGE_URL"
3604 _ACEOF
3607 # Let the site file select an alternate cache file if it wants to.
3608 # Prefer an explicitly selected file to automatically selected ones.
3609 ac_site_file1=NONE
3610 ac_site_file2=NONE
3611 if test -n "$CONFIG_SITE"; then
3612 # We do not want a PATH search for config.site.
3613 case $CONFIG_SITE in #((
3614 -*) ac_site_file1=./$CONFIG_SITE;;
3615 */*) ac_site_file1=$CONFIG_SITE;;
3616 *) ac_site_file1=./$CONFIG_SITE;;
3617 esac
3618 elif test "x$prefix" != xNONE; then
3619 ac_site_file1=$prefix/share/config.site
3620 ac_site_file2=$prefix/etc/config.site
3621 else
3622 ac_site_file1=$ac_default_prefix/share/config.site
3623 ac_site_file2=$ac_default_prefix/etc/config.site
3625 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3627 test "x$ac_site_file" = xNONE && continue
3628 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3630 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3631 sed 's/^/| /' "$ac_site_file" >&5
3632 . "$ac_site_file" \
3633 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3635 as_fn_error $? "failed to load site script $ac_site_file
3636 See \`config.log' for more details" "$LINENO" 5; }
3638 done
3640 if test -r "$cache_file"; then
3641 # Some versions of bash will fail to source /dev/null (special files
3642 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3643 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3645 $as_echo "$as_me: loading cache $cache_file" >&6;}
3646 case $cache_file in
3647 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3648 *) . "./$cache_file";;
3649 esac
3651 else
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3653 $as_echo "$as_me: creating cache $cache_file" >&6;}
3654 >$cache_file
3657 # Check that the precious variables saved in the cache have kept the same
3658 # value.
3659 ac_cache_corrupted=false
3660 for ac_var in $ac_precious_vars; do
3661 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3662 eval ac_new_set=\$ac_env_${ac_var}_set
3663 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3664 eval ac_new_val=\$ac_env_${ac_var}_value
3665 case $ac_old_set,$ac_new_set in
3666 set,)
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3668 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3669 ac_cache_corrupted=: ;;
3670 ,set)
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3672 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3673 ac_cache_corrupted=: ;;
3674 ,);;
3676 if test "x$ac_old_val" != "x$ac_new_val"; then
3677 # differences in whitespace do not lead to failure.
3678 ac_old_val_w=`echo x $ac_old_val`
3679 ac_new_val_w=`echo x $ac_new_val`
3680 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3682 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3683 ac_cache_corrupted=:
3684 else
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3686 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3687 eval $ac_var=\$ac_old_val
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3690 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3692 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3693 fi;;
3694 esac
3695 # Pass precious variables to config.status.
3696 if test "$ac_new_set" = set; then
3697 case $ac_new_val in
3698 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3699 *) ac_arg=$ac_var=$ac_new_val ;;
3700 esac
3701 case " $ac_configure_args " in
3702 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3703 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3704 esac
3706 done
3707 if $ac_cache_corrupted; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3711 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3712 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3714 ## -------------------- ##
3715 ## Main body of script. ##
3716 ## -------------------- ##
3718 ac_ext=c
3719 ac_cpp='$CPP $CPPFLAGS'
3720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3726 ac_config_headers="$ac_config_headers include/config.h"
3728 ac_aux_dir=
3729 for ac_dir in tools "$srcdir"/tools; do
3730 if test -f "$ac_dir/install-sh"; then
3731 ac_aux_dir=$ac_dir
3732 ac_install_sh="$ac_aux_dir/install-sh -c"
3733 break
3734 elif test -f "$ac_dir/install.sh"; then
3735 ac_aux_dir=$ac_dir
3736 ac_install_sh="$ac_aux_dir/install.sh -c"
3737 break
3738 elif test -f "$ac_dir/shtool"; then
3739 ac_aux_dir=$ac_dir
3740 ac_install_sh="$ac_aux_dir/shtool install -c"
3741 break
3743 done
3744 if test -z "$ac_aux_dir"; then
3745 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3748 # These three variables are undocumented and unsupported,
3749 # and are intended to be withdrawn in a future Autoconf release.
3750 # They can cause serious problems if a builder's source tree is in a directory
3751 # whose full name contains unusual characters.
3752 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3753 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3754 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3758 libwine_version="1.0"
3762 # Check whether --enable-win16 was given.
3763 if test "${enable_win16+set}" = set; then :
3764 enableval=$enable_win16;
3767 # Check whether --enable-win64 was given.
3768 if test "${enable_win64+set}" = set; then :
3769 enableval=$enable_win64;
3772 # Check whether --enable-tests was given.
3773 if test "${enable_tests+set}" = set; then :
3774 enableval=$enable_tests;
3777 # Check whether --enable-maintainer-mode was given.
3778 if test "${enable_maintainer_mode+set}" = set; then :
3779 enableval=$enable_maintainer_mode;
3784 # Check whether --with-alsa was given.
3785 if test "${with_alsa+set}" = set; then :
3786 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3790 # Check whether --with-capi was given.
3791 if test "${with_capi+set}" = set; then :
3792 withval=$with_capi;
3796 # Check whether --with-cms was given.
3797 if test "${with_cms+set}" = set; then :
3798 withval=$with_cms;
3802 # Check whether --with-coreaudio was given.
3803 if test "${with_coreaudio+set}" = set; then :
3804 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3808 # Check whether --with-cups was given.
3809 if test "${with_cups+set}" = set; then :
3810 withval=$with_cups;
3814 # Check whether --with-curses was given.
3815 if test "${with_curses+set}" = set; then :
3816 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3820 # Check whether --with-dbus was given.
3821 if test "${with_dbus+set}" = set; then :
3822 withval=$with_dbus;
3826 # Check whether --with-float-abi was given.
3827 if test "${with_float_abi+set}" = set; then :
3828 withval=$with_float_abi;
3832 # Check whether --with-fontconfig was given.
3833 if test "${with_fontconfig+set}" = set; then :
3834 withval=$with_fontconfig;
3838 # Check whether --with-freetype was given.
3839 if test "${with_freetype+set}" = set; then :
3840 withval=$with_freetype;
3844 # Check whether --with-gettext was given.
3845 if test "${with_gettext+set}" = set; then :
3846 withval=$with_gettext;
3850 # Check whether --with-gettextpo was given.
3851 if test "${with_gettextpo+set}" = set; then :
3852 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3856 # Check whether --with-gphoto was given.
3857 if test "${with_gphoto+set}" = set; then :
3858 withval=$with_gphoto;
3862 # Check whether --with-glu was given.
3863 if test "${with_glu+set}" = set; then :
3864 withval=$with_glu;
3868 # Check whether --with-gnutls was given.
3869 if test "${with_gnutls+set}" = set; then :
3870 withval=$with_gnutls;
3874 # Check whether --with-gsm was given.
3875 if test "${with_gsm+set}" = set; then :
3876 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3880 # Check whether --with-gssapi was given.
3881 if test "${with_gssapi+set}" = set; then :
3882 withval=$with_gssapi;
3886 # Check whether --with-gstreamer was given.
3887 if test "${with_gstreamer+set}" = set; then :
3888 withval=$with_gstreamer;
3892 # Check whether --with-hal was given.
3893 if test "${with_hal+set}" = set; then :
3894 withval=$with_hal;
3898 # Check whether --with-jpeg was given.
3899 if test "${with_jpeg+set}" = set; then :
3900 withval=$with_jpeg;
3904 # Check whether --with-krb5 was given.
3905 if test "${with_krb5+set}" = set; then :
3906 withval=$with_krb5;
3910 # Check whether --with-ldap was given.
3911 if test "${with_ldap+set}" = set; then :
3912 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3916 # Check whether --with-mpg123 was given.
3917 if test "${with_mpg123+set}" = set; then :
3918 withval=$with_mpg123;
3922 # Check whether --with-netapi was given.
3923 if test "${with_netapi+set}" = set; then :
3924 withval=$with_netapi;
3928 # Check whether --with-openal was given.
3929 if test "${with_openal+set}" = set; then :
3930 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3934 # Check whether --with-opencl was given.
3935 if test "${with_opencl+set}" = set; then :
3936 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3940 # Check whether --with-opengl was given.
3941 if test "${with_opengl+set}" = set; then :
3942 withval=$with_opengl;
3946 # Check whether --with-osmesa was given.
3947 if test "${with_osmesa+set}" = set; then :
3948 withval=$with_osmesa;
3952 # Check whether --with-oss was given.
3953 if test "${with_oss+set}" = set; then :
3954 withval=$with_oss;
3958 # Check whether --with-pcap was given.
3959 if test "${with_pcap+set}" = set; then :
3960 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3964 # Check whether --with-png was given.
3965 if test "${with_png+set}" = set; then :
3966 withval=$with_png;
3970 # Check whether --with-pthread was given.
3971 if test "${with_pthread+set}" = set; then :
3972 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3976 # Check whether --with-pulse was given.
3977 if test "${with_pulse+set}" = set; then :
3978 withval=$with_pulse;
3982 # Check whether --with-sane was given.
3983 if test "${with_sane+set}" = set; then :
3984 withval=$with_sane;
3988 # Check whether --with-sdl was given.
3989 if test "${with_sdl+set}" = set; then :
3990 withval=$with_sdl;
3994 # Check whether --with-tiff was given.
3995 if test "${with_tiff+set}" = set; then :
3996 withval=$with_tiff;
4000 # Check whether --with-udev was given.
4001 if test "${with_udev+set}" = set; then :
4002 withval=$with_udev;
4006 # Check whether --with-v4l was given.
4007 if test "${with_v4l+set}" = set; then :
4008 withval=$with_v4l;
4012 # Check whether --with-vkd3d was given.
4013 if test "${with_vkd3d+set}" = set; then :
4014 withval=$with_vkd3d;
4018 # Check whether --with-vulkan was given.
4019 if test "${with_vulkan+set}" = set; then :
4020 withval=$with_vulkan;
4024 # Check whether --with-xcomposite was given.
4025 if test "${with_xcomposite+set}" = set; then :
4026 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4030 # Check whether --with-xcursor was given.
4031 if test "${with_xcursor+set}" = set; then :
4032 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4036 # Check whether --with-xfixes was given.
4037 if test "${with_xfixes+set}" = set; then :
4038 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4042 # Check whether --with-xinerama was given.
4043 if test "${with_xinerama+set}" = set; then :
4044 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4048 # Check whether --with-xinput was given.
4049 if test "${with_xinput+set}" = set; then :
4050 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4054 # Check whether --with-xinput2 was given.
4055 if test "${with_xinput2+set}" = set; then :
4056 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4060 # Check whether --with-xml was given.
4061 if test "${with_xml+set}" = set; then :
4062 withval=$with_xml;
4066 # Check whether --with-xrandr was given.
4067 if test "${with_xrandr+set}" = set; then :
4068 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4072 # Check whether --with-xrender was given.
4073 if test "${with_xrender+set}" = set; then :
4074 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4078 # Check whether --with-xshape was given.
4079 if test "${with_xshape+set}" = set; then :
4080 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4084 # Check whether --with-xshm was given.
4085 if test "${with_xshm+set}" = set; then :
4086 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4090 # Check whether --with-xslt was given.
4091 if test "${with_xslt+set}" = set; then :
4092 withval=$with_xslt;
4096 # Check whether --with-xxf86vm was given.
4097 if test "${with_xxf86vm+set}" = set; then :
4098 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4102 # Check whether --with-zlib was given.
4103 if test "${with_zlib+set}" = set; then :
4104 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4109 # Check whether --with-wine-tools was given.
4110 if test "${with_wine_tools+set}" = set; then :
4111 withval=$with_wine_tools;
4115 # Check whether --with-wine64 was given.
4116 if test "${with_wine64+set}" = set; then :
4117 withval=$with_wine64;
4121 # Make sure we can run config.sub.
4122 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4123 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4126 $as_echo_n "checking build system type... " >&6; }
4127 if ${ac_cv_build+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 ac_build_alias=$build_alias
4131 test "x$ac_build_alias" = x &&
4132 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4133 test "x$ac_build_alias" = x &&
4134 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4135 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4136 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4140 $as_echo "$ac_cv_build" >&6; }
4141 case $ac_cv_build in
4142 *-*-*) ;;
4143 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4144 esac
4145 build=$ac_cv_build
4146 ac_save_IFS=$IFS; IFS='-'
4147 set x $ac_cv_build
4148 shift
4149 build_cpu=$1
4150 build_vendor=$2
4151 shift; shift
4152 # Remember, the first character of IFS is used to create $*,
4153 # except with old shells:
4154 build_os=$*
4155 IFS=$ac_save_IFS
4156 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4160 $as_echo_n "checking host system type... " >&6; }
4161 if ${ac_cv_host+:} false; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 if test "x$host_alias" = x; then
4165 ac_cv_host=$ac_cv_build
4166 else
4167 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4168 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4173 $as_echo "$ac_cv_host" >&6; }
4174 case $ac_cv_host in
4175 *-*-*) ;;
4176 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4177 esac
4178 host=$ac_cv_host
4179 ac_save_IFS=$IFS; IFS='-'
4180 set x $ac_cv_host
4181 shift
4182 host_cpu=$1
4183 host_vendor=$2
4184 shift; shift
4185 # Remember, the first character of IFS is used to create $*,
4186 # except with old shells:
4187 host_os=$*
4188 IFS=$ac_save_IFS
4189 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4193 case "$srcdir" in
4194 .) ;;
4195 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4196 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4197 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4198 fi ;;
4199 esac
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4203 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4204 set x ${MAKE-make}
4205 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4206 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4207 $as_echo_n "(cached) " >&6
4208 else
4209 cat >conftest.make <<\_ACEOF
4210 SHELL = /bin/sh
4211 all:
4212 @echo '@@@%%%=$(MAKE)=@@@%%%'
4213 _ACEOF
4214 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4215 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4216 *@@@%%%=?*=@@@%%%*)
4217 eval ac_cv_prog_make_${ac_make}_set=yes;;
4219 eval ac_cv_prog_make_${ac_make}_set=no;;
4220 esac
4221 rm -f conftest.make
4223 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4225 $as_echo "yes" >&6; }
4226 SET_MAKE=
4227 else
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4229 $as_echo "no" >&6; }
4230 SET_MAKE="MAKE=${MAKE-make}"
4233 ac_ext=c
4234 ac_cpp='$CPP $CPPFLAGS'
4235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4238 if test -n "$ac_tool_prefix"; then
4239 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4240 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4242 $as_echo_n "checking for $ac_word... " >&6; }
4243 if ${ac_cv_prog_CC+:} false; then :
4244 $as_echo_n "(cached) " >&6
4245 else
4246 if test -n "$CC"; then
4247 ac_cv_prog_CC="$CC" # Let the user override the test.
4248 else
4249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4250 for as_dir in $PATH
4252 IFS=$as_save_IFS
4253 test -z "$as_dir" && as_dir=.
4254 for ac_exec_ext in '' $ac_executable_extensions; do
4255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4256 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 break 2
4260 done
4261 done
4262 IFS=$as_save_IFS
4266 CC=$ac_cv_prog_CC
4267 if test -n "$CC"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4269 $as_echo "$CC" >&6; }
4270 else
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 $as_echo "no" >&6; }
4277 if test -z "$ac_cv_prog_CC"; then
4278 ac_ct_CC=$CC
4279 # Extract the first word of "gcc", so it can be a program name with args.
4280 set dummy gcc; ac_word=$2
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4282 $as_echo_n "checking for $ac_word... " >&6; }
4283 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4284 $as_echo_n "(cached) " >&6
4285 else
4286 if test -n "$ac_ct_CC"; then
4287 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4288 else
4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 for as_dir in $PATH
4292 IFS=$as_save_IFS
4293 test -z "$as_dir" && as_dir=.
4294 for ac_exec_ext in '' $ac_executable_extensions; do
4295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4296 ac_cv_prog_ac_ct_CC="gcc"
4297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 break 2
4300 done
4301 done
4302 IFS=$as_save_IFS
4306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4307 if test -n "$ac_ct_CC"; then
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4309 $as_echo "$ac_ct_CC" >&6; }
4310 else
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312 $as_echo "no" >&6; }
4315 if test "x$ac_ct_CC" = x; then
4316 CC=""
4317 else
4318 case $cross_compiling:$ac_tool_warned in
4319 yes:)
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4322 ac_tool_warned=yes ;;
4323 esac
4324 CC=$ac_ct_CC
4326 else
4327 CC="$ac_cv_prog_CC"
4330 if test -z "$CC"; then
4331 if test -n "$ac_tool_prefix"; then
4332 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4333 set dummy ${ac_tool_prefix}cc; ac_word=$2
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335 $as_echo_n "checking for $ac_word... " >&6; }
4336 if ${ac_cv_prog_CC+:} false; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 if test -n "$CC"; then
4340 ac_cv_prog_CC="$CC" # Let the user override the test.
4341 else
4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 for as_dir in $PATH
4345 IFS=$as_save_IFS
4346 test -z "$as_dir" && as_dir=.
4347 for ac_exec_ext in '' $ac_executable_extensions; do
4348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 ac_cv_prog_CC="${ac_tool_prefix}cc"
4350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 break 2
4353 done
4354 done
4355 IFS=$as_save_IFS
4359 CC=$ac_cv_prog_CC
4360 if test -n "$CC"; then
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4362 $as_echo "$CC" >&6; }
4363 else
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4371 if test -z "$CC"; then
4372 # Extract the first word of "cc", so it can be a program name with args.
4373 set dummy cc; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_CC+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 if test -n "$CC"; then
4380 ac_cv_prog_CC="$CC" # Let the user override the test.
4381 else
4382 ac_prog_rejected=no
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH
4386 IFS=$as_save_IFS
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4390 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4391 ac_prog_rejected=yes
4392 continue
4394 ac_cv_prog_CC="cc"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4398 done
4399 done
4400 IFS=$as_save_IFS
4402 if test $ac_prog_rejected = yes; then
4403 # We found a bogon in the path, so make sure we never use it.
4404 set dummy $ac_cv_prog_CC
4405 shift
4406 if test $# != 0; then
4407 # We chose a different compiler from the bogus one.
4408 # However, it has the same basename, so the bogon will be chosen
4409 # first if we set CC to just the basename; use the full file name.
4410 shift
4411 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4416 CC=$ac_cv_prog_CC
4417 if test -n "$CC"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4419 $as_echo "$CC" >&6; }
4420 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4427 if test -z "$CC"; then
4428 if test -n "$ac_tool_prefix"; then
4429 for ac_prog in cl.exe
4431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_prog_CC+:} false; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 if test -n "$CC"; then
4439 ac_cv_prog_CC="$CC" # Let the user override the test.
4440 else
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4444 IFS=$as_save_IFS
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 break 2
4452 done
4453 done
4454 IFS=$as_save_IFS
4458 CC=$ac_cv_prog_CC
4459 if test -n "$CC"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4461 $as_echo "$CC" >&6; }
4462 else
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4468 test -n "$CC" && break
4469 done
4471 if test -z "$CC"; then
4472 ac_ct_CC=$CC
4473 for ac_prog in cl.exe
4475 # Extract the first word of "$ac_prog", so it can be a program name with args.
4476 set dummy $ac_prog; ac_word=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 if test -n "$ac_ct_CC"; then
4483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4484 else
4485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486 for as_dir in $PATH
4488 IFS=$as_save_IFS
4489 test -z "$as_dir" && as_dir=.
4490 for ac_exec_ext in '' $ac_executable_extensions; do
4491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4492 ac_cv_prog_ac_ct_CC="$ac_prog"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 break 2
4496 done
4497 done
4498 IFS=$as_save_IFS
4502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4503 if test -n "$ac_ct_CC"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4505 $as_echo "$ac_ct_CC" >&6; }
4506 else
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4512 test -n "$ac_ct_CC" && break
4513 done
4515 if test "x$ac_ct_CC" = x; then
4516 CC=""
4517 else
4518 case $cross_compiling:$ac_tool_warned in
4519 yes:)
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4522 ac_tool_warned=yes ;;
4523 esac
4524 CC=$ac_ct_CC
4531 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4533 as_fn_error $? "no acceptable C compiler found in \$PATH
4534 See \`config.log' for more details" "$LINENO" 5; }
4536 # Provide some information about the compiler.
4537 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4538 set X $ac_compile
4539 ac_compiler=$2
4540 for ac_option in --version -v -V -qversion; do
4541 { { ac_try="$ac_compiler $ac_option >&5"
4542 case "(($ac_try" in
4543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4544 *) ac_try_echo=$ac_try;;
4545 esac
4546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4547 $as_echo "$ac_try_echo"; } >&5
4548 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4549 ac_status=$?
4550 if test -s conftest.err; then
4551 sed '10a\
4552 ... rest of stderr output deleted ...
4553 10q' conftest.err >conftest.er1
4554 cat conftest.er1 >&5
4556 rm -f conftest.er1 conftest.err
4557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4558 test $ac_status = 0; }
4559 done
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4565 main ()
4569 return 0;
4571 _ACEOF
4572 ac_clean_files_save=$ac_clean_files
4573 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4574 # Try to create an executable without -o first, disregard a.out.
4575 # It will help us diagnose broken compilers, and finding out an intuition
4576 # of exeext.
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4578 $as_echo_n "checking whether the C compiler works... " >&6; }
4579 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4581 # The possible output files:
4582 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4584 ac_rmfiles=
4585 for ac_file in $ac_files
4587 case $ac_file in
4588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4589 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4590 esac
4591 done
4592 rm -f $ac_rmfiles
4594 if { { ac_try="$ac_link_default"
4595 case "(($ac_try" in
4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4598 esac
4599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4600 $as_echo "$ac_try_echo"; } >&5
4601 (eval "$ac_link_default") 2>&5
4602 ac_status=$?
4603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4604 test $ac_status = 0; }; then :
4605 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4606 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4607 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4608 # so that the user can short-circuit this test for compilers unknown to
4609 # Autoconf.
4610 for ac_file in $ac_files ''
4612 test -f "$ac_file" || continue
4613 case $ac_file in
4614 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4616 [ab].out )
4617 # We found the default executable, but exeext='' is most
4618 # certainly right.
4619 break;;
4620 *.* )
4621 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4622 then :; else
4623 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4625 # We set ac_cv_exeext here because the later test for it is not
4626 # safe: cross compilers may not add the suffix if given an `-o'
4627 # argument, so we may need to know it at that point already.
4628 # Even if this section looks crufty: it has the advantage of
4629 # actually working.
4630 break;;
4632 break;;
4633 esac
4634 done
4635 test "$ac_cv_exeext" = no && ac_cv_exeext=
4637 else
4638 ac_file=''
4640 if test -z "$ac_file"; then :
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4643 $as_echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4648 as_fn_error 77 "C compiler cannot create executables
4649 See \`config.log' for more details" "$LINENO" 5; }
4650 else
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4652 $as_echo "yes" >&6; }
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4655 $as_echo_n "checking for C compiler default output file name... " >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4657 $as_echo "$ac_file" >&6; }
4658 ac_exeext=$ac_cv_exeext
4660 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4661 ac_clean_files=$ac_clean_files_save
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4663 $as_echo_n "checking for suffix of executables... " >&6; }
4664 if { { ac_try="$ac_link"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4670 $as_echo "$ac_try_echo"; } >&5
4671 (eval "$ac_link") 2>&5
4672 ac_status=$?
4673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4674 test $ac_status = 0; }; then :
4675 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4676 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4677 # work properly (i.e., refer to `conftest.exe'), while it won't with
4678 # `rm'.
4679 for ac_file in conftest.exe conftest conftest.*; do
4680 test -f "$ac_file" || continue
4681 case $ac_file in
4682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4683 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4684 break;;
4685 * ) break;;
4686 esac
4687 done
4688 else
4689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4691 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4692 See \`config.log' for more details" "$LINENO" 5; }
4694 rm -f conftest conftest$ac_cv_exeext
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4696 $as_echo "$ac_cv_exeext" >&6; }
4698 rm -f conftest.$ac_ext
4699 EXEEXT=$ac_cv_exeext
4700 ac_exeext=$EXEEXT
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4703 #include <stdio.h>
4705 main ()
4707 FILE *f = fopen ("conftest.out", "w");
4708 return ferror (f) || fclose (f) != 0;
4711 return 0;
4713 _ACEOF
4714 ac_clean_files="$ac_clean_files conftest.out"
4715 # Check that the compiler produces executables we can run. If not, either
4716 # the compiler is broken, or we cross compile.
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4718 $as_echo_n "checking whether we are cross compiling... " >&6; }
4719 if test "$cross_compiling" != yes; then
4720 { { ac_try="$ac_link"
4721 case "(($ac_try" in
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4724 esac
4725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4726 $as_echo "$ac_try_echo"; } >&5
4727 (eval "$ac_link") 2>&5
4728 ac_status=$?
4729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4730 test $ac_status = 0; }
4731 if { ac_try='./conftest$ac_cv_exeext'
4732 { { case "(($ac_try" in
4733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4734 *) ac_try_echo=$ac_try;;
4735 esac
4736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4737 $as_echo "$ac_try_echo"; } >&5
4738 (eval "$ac_try") 2>&5
4739 ac_status=$?
4740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4741 test $ac_status = 0; }; }; then
4742 cross_compiling=no
4743 else
4744 if test "$cross_compiling" = maybe; then
4745 cross_compiling=yes
4746 else
4747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4749 as_fn_error $? "cannot run C compiled programs.
4750 If you meant to cross compile, use \`--host'.
4751 See \`config.log' for more details" "$LINENO" 5; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4756 $as_echo "$cross_compiling" >&6; }
4758 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4759 ac_clean_files=$ac_clean_files_save
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4761 $as_echo_n "checking for suffix of object files... " >&6; }
4762 if ${ac_cv_objext+:} false; then :
4763 $as_echo_n "(cached) " >&6
4764 else
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4769 main ()
4773 return 0;
4775 _ACEOF
4776 rm -f conftest.o conftest.obj
4777 if { { ac_try="$ac_compile"
4778 case "(($ac_try" in
4779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4781 esac
4782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4783 $as_echo "$ac_try_echo"; } >&5
4784 (eval "$ac_compile") 2>&5
4785 ac_status=$?
4786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4787 test $ac_status = 0; }; then :
4788 for ac_file in conftest.o conftest.obj conftest.*; do
4789 test -f "$ac_file" || continue;
4790 case $ac_file in
4791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4792 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4793 break;;
4794 esac
4795 done
4796 else
4797 $as_echo "$as_me: failed program was:" >&5
4798 sed 's/^/| /' conftest.$ac_ext >&5
4800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4802 as_fn_error $? "cannot compute suffix of object files: cannot compile
4803 See \`config.log' for more details" "$LINENO" 5; }
4805 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4808 $as_echo "$ac_cv_objext" >&6; }
4809 OBJEXT=$ac_cv_objext
4810 ac_objext=$OBJEXT
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4812 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4813 if ${ac_cv_c_compiler_gnu+:} false; then :
4814 $as_echo_n "(cached) " >&6
4815 else
4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4820 main ()
4822 #ifndef __GNUC__
4823 choke me
4824 #endif
4827 return 0;
4829 _ACEOF
4830 if ac_fn_c_try_compile "$LINENO"; then :
4831 ac_compiler_gnu=yes
4832 else
4833 ac_compiler_gnu=no
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4836 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4840 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4841 if test $ac_compiler_gnu = yes; then
4842 GCC=yes
4843 else
4844 GCC=
4846 ac_test_CFLAGS=${CFLAGS+set}
4847 ac_save_CFLAGS=$CFLAGS
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4849 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4850 if ${ac_cv_prog_cc_g+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 ac_save_c_werror_flag=$ac_c_werror_flag
4854 ac_c_werror_flag=yes
4855 ac_cv_prog_cc_g=no
4856 CFLAGS="-g"
4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4861 main ()
4865 return 0;
4867 _ACEOF
4868 if ac_fn_c_try_compile "$LINENO"; then :
4869 ac_cv_prog_cc_g=yes
4870 else
4871 CFLAGS=""
4872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4876 main ()
4880 return 0;
4882 _ACEOF
4883 if ac_fn_c_try_compile "$LINENO"; then :
4885 else
4886 ac_c_werror_flag=$ac_save_c_werror_flag
4887 CFLAGS="-g"
4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4892 main ()
4896 return 0;
4898 _ACEOF
4899 if ac_fn_c_try_compile "$LINENO"; then :
4900 ac_cv_prog_cc_g=yes
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907 ac_c_werror_flag=$ac_save_c_werror_flag
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4910 $as_echo "$ac_cv_prog_cc_g" >&6; }
4911 if test "$ac_test_CFLAGS" = set; then
4912 CFLAGS=$ac_save_CFLAGS
4913 elif test $ac_cv_prog_cc_g = yes; then
4914 if test "$GCC" = yes; then
4915 CFLAGS="-g -O2"
4916 else
4917 CFLAGS="-g"
4919 else
4920 if test "$GCC" = yes; then
4921 CFLAGS="-O2"
4922 else
4923 CFLAGS=
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4927 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4928 if ${ac_cv_prog_cc_c89+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 ac_cv_prog_cc_c89=no
4932 ac_save_CC=$CC
4933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4935 #include <stdarg.h>
4936 #include <stdio.h>
4937 struct stat;
4938 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4939 struct buf { int x; };
4940 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4941 static char *e (p, i)
4942 char **p;
4943 int i;
4945 return p[i];
4947 static char *f (char * (*g) (char **, int), char **p, ...)
4949 char *s;
4950 va_list v;
4951 va_start (v,p);
4952 s = g (p, va_arg (v,int));
4953 va_end (v);
4954 return s;
4957 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4958 function prototypes and stuff, but not '\xHH' hex character constants.
4959 These don't provoke an error unfortunately, instead are silently treated
4960 as 'x'. The following induces an error, until -std is added to get
4961 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4962 array size at least. It's necessary to write '\x00'==0 to get something
4963 that's true only with -std. */
4964 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4966 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4967 inside strings and character constants. */
4968 #define FOO(x) 'x'
4969 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4971 int test (int i, double x);
4972 struct s1 {int (*f) (int a);};
4973 struct s2 {int (*f) (double a);};
4974 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4975 int argc;
4976 char **argv;
4978 main ()
4980 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4982 return 0;
4984 _ACEOF
4985 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4986 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4988 CC="$ac_save_CC $ac_arg"
4989 if ac_fn_c_try_compile "$LINENO"; then :
4990 ac_cv_prog_cc_c89=$ac_arg
4992 rm -f core conftest.err conftest.$ac_objext
4993 test "x$ac_cv_prog_cc_c89" != "xno" && break
4994 done
4995 rm -f conftest.$ac_ext
4996 CC=$ac_save_CC
4999 # AC_CACHE_VAL
5000 case "x$ac_cv_prog_cc_c89" in
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5003 $as_echo "none needed" >&6; } ;;
5004 xno)
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5006 $as_echo "unsupported" >&6; } ;;
5008 CC="$CC $ac_cv_prog_cc_c89"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5010 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5011 esac
5012 if test "x$ac_cv_prog_cc_c89" != xno; then :
5016 ac_ext=c
5017 ac_cpp='$CPP $CPPFLAGS'
5018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5022 ac_ext=cpp
5023 ac_cpp='$CXXCPP $CPPFLAGS'
5024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5027 if test -z "$CXX"; then
5028 if test -n "$CCC"; then
5029 CXX=$CCC
5030 else
5031 if test -n "$ac_tool_prefix"; then
5032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_CXX+:} false; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 if test -n "$CXX"; then
5042 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5043 else
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5047 IFS=$as_save_IFS
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 CXX=$ac_cv_prog_CXX
5062 if test -n "$CXX"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5064 $as_echo "$CXX" >&6; }
5065 else
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5071 test -n "$CXX" && break
5072 done
5074 if test -z "$CXX"; then
5075 ac_ct_CXX=$CXX
5076 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5078 # Extract the first word of "$ac_prog", so it can be a program name with args.
5079 set dummy $ac_prog; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5083 $as_echo_n "(cached) " >&6
5084 else
5085 if test -n "$ac_ct_CXX"; then
5086 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_ac_ct_CXX="$ac_prog"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 break 2
5099 done
5100 done
5101 IFS=$as_save_IFS
5105 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5106 if test -n "$ac_ct_CXX"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5108 $as_echo "$ac_ct_CXX" >&6; }
5109 else
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5115 test -n "$ac_ct_CXX" && break
5116 done
5118 if test "x$ac_ct_CXX" = x; then
5119 CXX="g++"
5120 else
5121 case $cross_compiling:$ac_tool_warned in
5122 yes:)
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned=yes ;;
5126 esac
5127 CXX=$ac_ct_CXX
5133 # Provide some information about the compiler.
5134 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5135 set X $ac_compile
5136 ac_compiler=$2
5137 for ac_option in --version -v -V -qversion; do
5138 { { ac_try="$ac_compiler $ac_option >&5"
5139 case "(($ac_try" in
5140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5141 *) ac_try_echo=$ac_try;;
5142 esac
5143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5144 $as_echo "$ac_try_echo"; } >&5
5145 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5146 ac_status=$?
5147 if test -s conftest.err; then
5148 sed '10a\
5149 ... rest of stderr output deleted ...
5150 10q' conftest.err >conftest.er1
5151 cat conftest.er1 >&5
5153 rm -f conftest.er1 conftest.err
5154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5155 test $ac_status = 0; }
5156 done
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5159 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5160 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5167 main ()
5169 #ifndef __GNUC__
5170 choke me
5171 #endif
5174 return 0;
5176 _ACEOF
5177 if ac_fn_cxx_try_compile "$LINENO"; then :
5178 ac_compiler_gnu=yes
5179 else
5180 ac_compiler_gnu=no
5182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5183 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5187 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5188 if test $ac_compiler_gnu = yes; then
5189 GXX=yes
5190 else
5191 GXX=
5193 ac_test_CXXFLAGS=${CXXFLAGS+set}
5194 ac_save_CXXFLAGS=$CXXFLAGS
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5196 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5197 if ${ac_cv_prog_cxx_g+:} false; then :
5198 $as_echo_n "(cached) " >&6
5199 else
5200 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5201 ac_cxx_werror_flag=yes
5202 ac_cv_prog_cxx_g=no
5203 CXXFLAGS="-g"
5204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5208 main ()
5212 return 0;
5214 _ACEOF
5215 if ac_fn_cxx_try_compile "$LINENO"; then :
5216 ac_cv_prog_cxx_g=yes
5217 else
5218 CXXFLAGS=""
5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5223 main ()
5227 return 0;
5229 _ACEOF
5230 if ac_fn_cxx_try_compile "$LINENO"; then :
5232 else
5233 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5234 CXXFLAGS="-g"
5235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h. */
5239 main ()
5243 return 0;
5245 _ACEOF
5246 if ac_fn_cxx_try_compile "$LINENO"; then :
5247 ac_cv_prog_cxx_g=yes
5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5254 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5257 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5258 if test "$ac_test_CXXFLAGS" = set; then
5259 CXXFLAGS=$ac_save_CXXFLAGS
5260 elif test $ac_cv_prog_cxx_g = yes; then
5261 if test "$GXX" = yes; then
5262 CXXFLAGS="-g -O2"
5263 else
5264 CXXFLAGS="-g"
5266 else
5267 if test "$GXX" = yes; then
5268 CXXFLAGS="-O2"
5269 else
5270 CXXFLAGS=
5273 ac_ext=c
5274 ac_cpp='$CPP $CPPFLAGS'
5275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5279 if test -n "$ac_tool_prefix"; then
5280 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5281 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_CPPBIN+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -n "$CPPBIN"; then
5288 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 CPPBIN=$ac_cv_prog_CPPBIN
5308 if test -n "$CPPBIN"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5310 $as_echo "$CPPBIN" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5318 if test -z "$ac_cv_prog_CPPBIN"; then
5319 ac_ct_CPPBIN=$CPPBIN
5320 # Extract the first word of "cpp", so it can be a program name with args.
5321 set dummy cpp; ac_word=$2
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5323 $as_echo_n "checking for $ac_word... " >&6; }
5324 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5325 $as_echo_n "(cached) " >&6
5326 else
5327 if test -n "$ac_ct_CPPBIN"; then
5328 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5329 else
5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 for as_dir in $PATH
5333 IFS=$as_save_IFS
5334 test -z "$as_dir" && as_dir=.
5335 for ac_exec_ext in '' $ac_executable_extensions; do
5336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5337 ac_cv_prog_ac_ct_CPPBIN="cpp"
5338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5339 break 2
5341 done
5342 done
5343 IFS=$as_save_IFS
5347 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5348 if test -n "$ac_ct_CPPBIN"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5350 $as_echo "$ac_ct_CPPBIN" >&6; }
5351 else
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5356 if test "x$ac_ct_CPPBIN" = x; then
5357 CPPBIN="cpp"
5358 else
5359 case $cross_compiling:$ac_tool_warned in
5360 yes:)
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5363 ac_tool_warned=yes ;;
5364 esac
5365 CPPBIN=$ac_ct_CPPBIN
5367 else
5368 CPPBIN="$ac_cv_prog_CPPBIN"
5372 cat >>confdefs.h <<_ACEOF
5373 #define EXEEXT "$ac_exeext"
5374 _ACEOF
5376 if test -n "$ac_tool_prefix"; then
5377 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5378 set dummy ${ac_tool_prefix}ld; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_LD+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 if test -n "$LD"; then
5385 ac_cv_prog_LD="$LD" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5394 ac_cv_prog_LD="${ac_tool_prefix}ld"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5398 done
5399 done
5400 IFS=$as_save_IFS
5404 LD=$ac_cv_prog_LD
5405 if test -n "$LD"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5407 $as_echo "$LD" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5415 if test -z "$ac_cv_prog_LD"; then
5416 ac_ct_LD=$LD
5417 # Extract the first word of "ld", so it can be a program name with args.
5418 set dummy ld; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -n "$ac_ct_LD"; then
5425 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_ac_ct_LD="ld"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5444 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5445 if test -n "$ac_ct_LD"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5447 $as_echo "$ac_ct_LD" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5453 if test "x$ac_ct_LD" = x; then
5454 LD=""
5455 else
5456 case $cross_compiling:$ac_tool_warned in
5457 yes:)
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5460 ac_tool_warned=yes ;;
5461 esac
5462 LD=$ac_ct_LD
5464 else
5465 LD="$ac_cv_prog_LD"
5469 case $host in
5470 *-darwin*)
5471 with_fontconfig=${with_fontconfig:-no}
5473 *-mingw32*|*-cygwin*)
5474 enable_win16=${enable_win16:-no}
5475 CFLAGS="$CFLAGS -D_WIN32"
5477 esac
5479 case $host in
5480 x86_64*|amd64*)
5481 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5482 then
5483 CC="$CC -m32"
5484 CXX="$CXX -m32"
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5486 $as_echo_n "checking whether $CC works... " >&6; }
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5492 main ()
5496 return 0;
5498 _ACEOF
5499 if ac_fn_c_try_link "$LINENO"; then :
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5501 $as_echo "yes" >&6; }
5502 else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5505 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5507 rm -f core conftest.err conftest.$ac_objext \
5508 conftest$ac_exeext conftest.$ac_ext
5509 host_cpu="i386"
5510 notice_platform="32-bit "
5511 TARGETFLAGS="-m32"
5513 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5514 export PKG_CONFIG_PATH
5515 enable_win16=${enable_win16:-yes}
5516 else
5517 if test "x${GCC}" = "xyes"
5518 then
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5520 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5522 /* end confdefs.h. */
5523 #include <stdarg.h>
5525 main ()
5527 void func(__builtin_ms_va_list *args);
5529 return 0;
5531 _ACEOF
5532 if ac_fn_c_try_compile "$LINENO"; then :
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5534 $as_echo "yes" >&6; }
5535 else
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5538 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5542 CC="$CC -m64"
5543 CXX="$CXX -m64"
5544 host_cpu="x86_64"
5545 notice_platform="64-bit "
5546 TARGETFLAGS="-m64"
5550 arm*)
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5552 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5555 int ac_test(int i) { return i; }
5557 main ()
5559 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5561 return 0;
5563 _ACEOF
5564 if ac_fn_c_try_link "$LINENO"; then :
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5566 $as_echo "yes" >&6; }
5567 else
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5570 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5572 rm -f core conftest.err conftest.$ac_objext \
5573 conftest$ac_exeext conftest.$ac_ext
5574 case $with_float_abi in
5575 soft|softfp|hard)
5576 float_abi=$with_float_abi ;;
5578 case $host_os in
5579 *eabihf)
5580 float_abi=hard ;;
5582 float_abi=softfp
5583 saved_CFLAGS=$CFLAGS
5584 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5586 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5591 main ()
5593 asm("vmrs r2,fpscr");
5595 return 0;
5597 _ACEOF
5598 if ac_fn_c_try_link "$LINENO"; then :
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5600 $as_echo "yes" >&6; }
5601 else
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }
5604 float_abi=soft
5605 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5607 rm -f core conftest.err conftest.$ac_objext \
5608 conftest$ac_exeext conftest.$ac_ext
5609 CFLAGS=$saved_CFLAGS
5610 esac
5612 esac
5613 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5614 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5617 aarch64*)
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5619 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5622 #include <stdarg.h>
5624 main ()
5626 void func(__builtin_ms_va_list *args);
5628 return 0;
5630 _ACEOF
5631 if ac_fn_c_try_compile "$LINENO"; then :
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5633 $as_echo "yes" >&6; }
5634 else
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5637 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5641 i[3456789]86*)
5642 enable_win16=${enable_win16:-yes}
5644 esac
5646 enable_win16=${enable_win16:-no}
5647 enable_win64=${enable_win64:-no}
5649 enable_winetest=${enable_winetest:-$enable_tests}
5651 if test -n "$with_wine64"
5652 then
5653 if test "x$enable_win64" = "xyes"
5654 then
5655 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5656 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5658 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5659 You should create a separate build directory and run configure from there." "$LINENO" 5
5660 enable_fonts=${enable_fonts:-no}
5661 enable_server=${enable_server:-no}
5662 elif test "x$enable_win64" = "xyes"
5663 then
5664 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5668 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5669 if ${wine_cv_toolsdir+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 wine_cv_toolsdir="$with_wine_tools"
5673 if test -z "$with_wine_tools"; then
5674 if test "$cross_compiling" = "yes"; then
5675 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5676 elif test -n "$with_wine64"; then
5677 wine_cv_toolsdir="$with_wine64"
5680 if test -z "$wine_cv_toolsdir"; then
5681 wine_makedep=tools/makedep
5682 wine_cv_toolsdir="\$(top_builddir)"
5683 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5684 wine_makedep=$wine_cv_toolsdir/tools/makedep
5685 case "$wine_cv_toolsdir" in
5686 /*) ;;
5687 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5688 esac
5689 enable_tools=${enable_tools:-no}
5690 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5691 else
5692 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5696 $as_echo "$wine_cv_toolsdir" >&6; }
5697 TOOLSDIR=$wine_cv_toolsdir
5699 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5700 then
5701 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5705 for ac_prog in flex
5707 # Extract the first word of "$ac_prog", so it can be a program name with args.
5708 set dummy $ac_prog; ac_word=$2
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5710 $as_echo_n "checking for $ac_word... " >&6; }
5711 if ${ac_cv_prog_FLEX+:} false; then :
5712 $as_echo_n "(cached) " >&6
5713 else
5714 if test -n "$FLEX"; then
5715 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5716 else
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 for as_dir in $PATH
5720 IFS=$as_save_IFS
5721 test -z "$as_dir" && as_dir=.
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5724 ac_cv_prog_FLEX="$ac_prog"
5725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5726 break 2
5728 done
5729 done
5730 IFS=$as_save_IFS
5734 FLEX=$ac_cv_prog_FLEX
5735 if test -n "$FLEX"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5737 $as_echo "$FLEX" >&6; }
5738 else
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 $as_echo "no" >&6; }
5744 test -n "$FLEX" && break
5745 done
5746 test -n "$FLEX" || FLEX="none"
5748 if test "$FLEX" = "none"
5749 then
5750 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5753 $as_echo_n "checking whether flex is recent enough... " >&6; }
5754 cat >conftest.l <<EOF
5755 %top{
5756 #include "prediluvian.h"
5760 if $FLEX -t conftest.l >/dev/null 2>&5
5761 then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5763 $as_echo "yes" >&6; }
5764 else
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5767 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5770 for ac_prog in bison
5772 # Extract the first word of "$ac_prog", so it can be a program name with args.
5773 set dummy $ac_prog; ac_word=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_prog_BISON+:} false; then :
5777 $as_echo_n "(cached) " >&6
5778 else
5779 if test -n "$BISON"; then
5780 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5781 else
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 for as_dir in $PATH
5785 IFS=$as_save_IFS
5786 test -z "$as_dir" && as_dir=.
5787 for ac_exec_ext in '' $ac_executable_extensions; do
5788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5789 ac_cv_prog_BISON="$ac_prog"
5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 break 2
5793 done
5794 done
5795 IFS=$as_save_IFS
5799 BISON=$ac_cv_prog_BISON
5800 if test -n "$BISON"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5802 $as_echo "$BISON" >&6; }
5803 else
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805 $as_echo "no" >&6; }
5809 test -n "$BISON" && break
5810 done
5811 test -n "$BISON" || BISON="none"
5813 if test "$BISON" = "none"
5814 then
5815 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5818 if test -n "$ac_tool_prefix"; then
5819 for ac_prog in ar gar
5821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824 $as_echo_n "checking for $ac_word... " >&6; }
5825 if ${ac_cv_prog_AR+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 if test -n "$AR"; then
5829 ac_cv_prog_AR="$AR" # Let the user override the test.
5830 else
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 for as_dir in $PATH
5834 IFS=$as_save_IFS
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 break 2
5842 done
5843 done
5844 IFS=$as_save_IFS
5848 AR=$ac_cv_prog_AR
5849 if test -n "$AR"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5851 $as_echo "$AR" >&6; }
5852 else
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854 $as_echo "no" >&6; }
5858 test -n "$AR" && break
5859 done
5861 if test -z "$AR"; then
5862 ac_ct_AR=$AR
5863 for ac_prog in ar gar
5865 # Extract the first word of "$ac_prog", so it can be a program name with args.
5866 set dummy $ac_prog; ac_word=$2
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868 $as_echo_n "checking for $ac_word... " >&6; }
5869 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5870 $as_echo_n "(cached) " >&6
5871 else
5872 if test -n "$ac_ct_AR"; then
5873 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5874 else
5875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 for as_dir in $PATH
5878 IFS=$as_save_IFS
5879 test -z "$as_dir" && as_dir=.
5880 for ac_exec_ext in '' $ac_executable_extensions; do
5881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5882 ac_cv_prog_ac_ct_AR="$ac_prog"
5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 break 2
5886 done
5887 done
5888 IFS=$as_save_IFS
5892 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5893 if test -n "$ac_ct_AR"; then
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5895 $as_echo "$ac_ct_AR" >&6; }
5896 else
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898 $as_echo "no" >&6; }
5902 test -n "$ac_ct_AR" && break
5903 done
5905 if test "x$ac_ct_AR" = x; then
5906 AR="ar"
5907 else
5908 case $cross_compiling:$ac_tool_warned in
5909 yes:)
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5912 ac_tool_warned=yes ;;
5913 esac
5914 AR=$ac_ct_AR
5918 if test -n "$ac_tool_prefix"; then
5919 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5920 set dummy ${ac_tool_prefix}strip; ac_word=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if ${ac_cv_prog_STRIP+:} false; then :
5924 $as_echo_n "(cached) " >&6
5925 else
5926 if test -n "$STRIP"; then
5927 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5928 else
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5936 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5938 break 2
5940 done
5941 done
5942 IFS=$as_save_IFS
5946 STRIP=$ac_cv_prog_STRIP
5947 if test -n "$STRIP"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5949 $as_echo "$STRIP" >&6; }
5950 else
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5957 if test -z "$ac_cv_prog_STRIP"; then
5958 ac_ct_STRIP=$STRIP
5959 # Extract the first word of "strip", so it can be a program name with args.
5960 set dummy strip; ac_word=$2
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 $as_echo_n "checking for $ac_word... " >&6; }
5963 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5964 $as_echo_n "(cached) " >&6
5965 else
5966 if test -n "$ac_ct_STRIP"; then
5967 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5968 else
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5970 for as_dir in $PATH
5972 IFS=$as_save_IFS
5973 test -z "$as_dir" && as_dir=.
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5976 ac_cv_prog_ac_ct_STRIP="strip"
5977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 break 2
5980 done
5981 done
5982 IFS=$as_save_IFS
5986 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5987 if test -n "$ac_ct_STRIP"; then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5989 $as_echo "$ac_ct_STRIP" >&6; }
5990 else
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5992 $as_echo "no" >&6; }
5995 if test "x$ac_ct_STRIP" = x; then
5996 STRIP="strip"
5997 else
5998 case $cross_compiling:$ac_tool_warned in
5999 yes:)
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6002 ac_tool_warned=yes ;;
6003 esac
6004 STRIP=$ac_ct_STRIP
6006 else
6007 STRIP="$ac_cv_prog_STRIP"
6010 ARFLAGS=rc
6012 if test -n "$ac_tool_prefix"; then
6013 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6014 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if ${ac_cv_prog_RANLIB+:} false; then :
6018 $as_echo_n "(cached) " >&6
6019 else
6020 if test -n "$RANLIB"; then
6021 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6022 else
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in $PATH
6026 IFS=$as_save_IFS
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6036 IFS=$as_save_IFS
6040 RANLIB=$ac_cv_prog_RANLIB
6041 if test -n "$RANLIB"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6043 $as_echo "$RANLIB" >&6; }
6044 else
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6051 if test -z "$ac_cv_prog_RANLIB"; then
6052 ac_ct_RANLIB=$RANLIB
6053 # Extract the first word of "ranlib", so it can be a program name with args.
6054 set dummy ranlib; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 if test -n "$ac_ct_RANLIB"; then
6061 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6062 else
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 for as_dir in $PATH
6066 IFS=$as_save_IFS
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6070 ac_cv_prog_ac_ct_RANLIB="ranlib"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 break 2
6074 done
6075 done
6076 IFS=$as_save_IFS
6080 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6081 if test -n "$ac_ct_RANLIB"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6083 $as_echo "$ac_ct_RANLIB" >&6; }
6084 else
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6089 if test "x$ac_ct_RANLIB" = x; then
6090 RANLIB=":"
6091 else
6092 case $cross_compiling:$ac_tool_warned in
6093 yes:)
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6096 ac_tool_warned=yes ;;
6097 esac
6098 RANLIB=$ac_ct_RANLIB
6100 else
6101 RANLIB="$ac_cv_prog_RANLIB"
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6105 $as_echo_n "checking whether ln -s works... " >&6; }
6106 LN_S=$as_ln_s
6107 if test "$LN_S" = "ln -s"; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6109 $as_echo "yes" >&6; }
6110 else
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6112 $as_echo "no, using $LN_S" >&6; }
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6116 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6117 if ${ac_cv_path_GREP+:} false; then :
6118 $as_echo_n "(cached) " >&6
6119 else
6120 if test -z "$GREP"; then
6121 ac_path_GREP_found=false
6122 # Loop through the user's path and test for each of PROGNAME-LIST
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6126 IFS=$as_save_IFS
6127 test -z "$as_dir" && as_dir=.
6128 for ac_prog in grep ggrep; do
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6131 as_fn_executable_p "$ac_path_GREP" || continue
6132 # Check for GNU ac_path_GREP and select it if it is found.
6133 # Check for GNU $ac_path_GREP
6134 case `"$ac_path_GREP" --version 2>&1` in
6135 *GNU*)
6136 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6138 ac_count=0
6139 $as_echo_n 0123456789 >"conftest.in"
6140 while :
6142 cat "conftest.in" "conftest.in" >"conftest.tmp"
6143 mv "conftest.tmp" "conftest.in"
6144 cp "conftest.in" "conftest.nl"
6145 $as_echo 'GREP' >> "conftest.nl"
6146 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6147 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6148 as_fn_arith $ac_count + 1 && ac_count=$as_val
6149 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6150 # Best one so far, save it but keep looking for a better one
6151 ac_cv_path_GREP="$ac_path_GREP"
6152 ac_path_GREP_max=$ac_count
6154 # 10*(2^10) chars as input seems more than enough
6155 test $ac_count -gt 10 && break
6156 done
6157 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6158 esac
6160 $ac_path_GREP_found && break 3
6161 done
6162 done
6163 done
6164 IFS=$as_save_IFS
6165 if test -z "$ac_cv_path_GREP"; then
6166 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6168 else
6169 ac_cv_path_GREP=$GREP
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6174 $as_echo "$ac_cv_path_GREP" >&6; }
6175 GREP="$ac_cv_path_GREP"
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6179 $as_echo_n "checking for egrep... " >&6; }
6180 if ${ac_cv_path_EGREP+:} false; then :
6181 $as_echo_n "(cached) " >&6
6182 else
6183 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6184 then ac_cv_path_EGREP="$GREP -E"
6185 else
6186 if test -z "$EGREP"; then
6187 ac_path_EGREP_found=false
6188 # Loop through the user's path and test for each of PROGNAME-LIST
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6192 IFS=$as_save_IFS
6193 test -z "$as_dir" && as_dir=.
6194 for ac_prog in egrep; do
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6197 as_fn_executable_p "$ac_path_EGREP" || continue
6198 # Check for GNU ac_path_EGREP and select it if it is found.
6199 # Check for GNU $ac_path_EGREP
6200 case `"$ac_path_EGREP" --version 2>&1` in
6201 *GNU*)
6202 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6204 ac_count=0
6205 $as_echo_n 0123456789 >"conftest.in"
6206 while :
6208 cat "conftest.in" "conftest.in" >"conftest.tmp"
6209 mv "conftest.tmp" "conftest.in"
6210 cp "conftest.in" "conftest.nl"
6211 $as_echo 'EGREP' >> "conftest.nl"
6212 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6213 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6214 as_fn_arith $ac_count + 1 && ac_count=$as_val
6215 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6216 # Best one so far, save it but keep looking for a better one
6217 ac_cv_path_EGREP="$ac_path_EGREP"
6218 ac_path_EGREP_max=$ac_count
6220 # 10*(2^10) chars as input seems more than enough
6221 test $ac_count -gt 10 && break
6222 done
6223 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6224 esac
6226 $ac_path_EGREP_found && break 3
6227 done
6228 done
6229 done
6230 IFS=$as_save_IFS
6231 if test -z "$ac_cv_path_EGREP"; then
6232 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6234 else
6235 ac_cv_path_EGREP=$EGREP
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6241 $as_echo "$ac_cv_path_EGREP" >&6; }
6242 EGREP="$ac_cv_path_EGREP"
6245 # Extract the first word of "ldconfig", so it can be a program name with args.
6246 set dummy ldconfig; ac_word=$2
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6248 $as_echo_n "checking for $ac_word... " >&6; }
6249 if ${ac_cv_path_LDCONFIG+:} false; then :
6250 $as_echo_n "(cached) " >&6
6251 else
6252 case $LDCONFIG in
6253 [\\/]* | ?:[\\/]*)
6254 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258 for as_dir in /sbin /usr/sbin $PATH
6260 IFS=$as_save_IFS
6261 test -z "$as_dir" && as_dir=.
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6264 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6266 break 2
6268 done
6269 done
6270 IFS=$as_save_IFS
6272 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6274 esac
6276 LDCONFIG=$ac_cv_path_LDCONFIG
6277 if test -n "$LDCONFIG"; then
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6279 $as_echo "$LDCONFIG" >&6; }
6280 else
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6282 $as_echo "no" >&6; }
6286 for ac_prog in msgfmt
6288 # Extract the first word of "$ac_prog", so it can be a program name with args.
6289 set dummy $ac_prog; ac_word=$2
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6291 $as_echo_n "checking for $ac_word... " >&6; }
6292 if ${ac_cv_prog_MSGFMT+:} false; then :
6293 $as_echo_n "(cached) " >&6
6294 else
6295 if test -n "$MSGFMT"; then
6296 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6297 else
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 for as_dir in $PATH
6301 IFS=$as_save_IFS
6302 test -z "$as_dir" && as_dir=.
6303 for ac_exec_ext in '' $ac_executable_extensions; do
6304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6305 ac_cv_prog_MSGFMT="$ac_prog"
6306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6307 break 2
6309 done
6310 done
6311 IFS=$as_save_IFS
6315 MSGFMT=$ac_cv_prog_MSGFMT
6316 if test -n "$MSGFMT"; then
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6318 $as_echo "$MSGFMT" >&6; }
6319 else
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6321 $as_echo "no" >&6; }
6325 test -n "$MSGFMT" && break
6326 done
6327 test -n "$MSGFMT" || MSGFMT="false"
6329 if ${ac_tool_prefix+:} false; then :
6330 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6331 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6333 $as_echo_n "checking for $ac_word... " >&6; }
6334 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 if test -n "$PKG_CONFIG"; then
6338 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6339 else
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH
6343 IFS=$as_save_IFS
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6347 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 break 2
6351 done
6352 done
6353 IFS=$as_save_IFS
6357 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6358 if test -n "$PKG_CONFIG"; then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6360 $as_echo "$PKG_CONFIG" >&6; }
6361 else
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6363 $as_echo "no" >&6; }
6368 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6369 if test "x$cross_compiling" = xyes; then :
6371 else
6372 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6373 # Extract the first word of "pkg-config", so it can be a program name with args.
6374 set dummy pkg-config; ac_word=$2
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6376 $as_echo_n "checking for $ac_word... " >&6; }
6377 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6378 $as_echo_n "(cached) " >&6
6379 else
6380 if test -n "$PKG_CONFIG"; then
6381 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6382 else
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 for as_dir in $PATH
6386 IFS=$as_save_IFS
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6390 ac_cv_prog_PKG_CONFIG="pkg-config"
6391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 break 2
6394 done
6395 done
6396 IFS=$as_save_IFS
6400 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6401 if test -n "$PKG_CONFIG"; then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6403 $as_echo "$PKG_CONFIG" >&6; }
6404 else
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6406 $as_echo "no" >&6; }
6411 else
6412 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6415 if test "x$enable_maintainer_mode" != "xyes"
6416 then
6417 FONTFORGE=""
6418 RSVG=""
6419 CONVERT=""
6420 ICOTOOL=""
6421 else
6422 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6423 for ac_prog in fontforge
6425 # Extract the first word of "$ac_prog", so it can be a program name with args.
6426 set dummy $ac_prog; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if ${ac_cv_prog_FONTFORGE+:} false; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$FONTFORGE"; then
6433 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6442 ac_cv_prog_FONTFORGE="$ac_prog"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 FONTFORGE=$ac_cv_prog_FONTFORGE
6453 if test -n "$FONTFORGE"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6455 $as_echo "$FONTFORGE" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6462 test -n "$FONTFORGE" && break
6463 done
6464 test -n "$FONTFORGE" || FONTFORGE="false"
6466 for ac_prog in rsvg-convert rsvg
6468 # Extract the first word of "$ac_prog", so it can be a program name with args.
6469 set dummy $ac_prog; ac_word=$2
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6471 $as_echo_n "checking for $ac_word... " >&6; }
6472 if ${ac_cv_prog_RSVG+:} false; then :
6473 $as_echo_n "(cached) " >&6
6474 else
6475 if test -n "$RSVG"; then
6476 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6477 else
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 for as_dir in $PATH
6481 IFS=$as_save_IFS
6482 test -z "$as_dir" && as_dir=.
6483 for ac_exec_ext in '' $ac_executable_extensions; do
6484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6485 ac_cv_prog_RSVG="$ac_prog"
6486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487 break 2
6489 done
6490 done
6491 IFS=$as_save_IFS
6495 RSVG=$ac_cv_prog_RSVG
6496 if test -n "$RSVG"; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6498 $as_echo "$RSVG" >&6; }
6499 else
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 $as_echo "no" >&6; }
6505 test -n "$RSVG" && break
6506 done
6507 test -n "$RSVG" || RSVG="false"
6509 for ac_prog in convert
6511 # Extract the first word of "$ac_prog", so it can be a program name with args.
6512 set dummy $ac_prog; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_CONVERT+:} false; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$CONVERT"; then
6519 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6528 ac_cv_prog_CONVERT="$ac_prog"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6532 done
6533 done
6534 IFS=$as_save_IFS
6538 CONVERT=$ac_cv_prog_CONVERT
6539 if test -n "$CONVERT"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6541 $as_echo "$CONVERT" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6548 test -n "$CONVERT" && break
6549 done
6550 test -n "$CONVERT" || CONVERT="false"
6552 for ac_prog in icotool
6554 # Extract the first word of "$ac_prog", so it can be a program name with args.
6555 set dummy $ac_prog; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557 $as_echo_n "checking for $ac_word... " >&6; }
6558 if ${ac_cv_prog_ICOTOOL+:} false; then :
6559 $as_echo_n "(cached) " >&6
6560 else
6561 if test -n "$ICOTOOL"; then
6562 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6563 else
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 for as_dir in $PATH
6567 IFS=$as_save_IFS
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6571 ac_cv_prog_ICOTOOL="$ac_prog"
6572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 break 2
6575 done
6576 done
6577 IFS=$as_save_IFS
6581 ICOTOOL=$ac_cv_prog_ICOTOOL
6582 if test -n "$ICOTOOL"; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6584 $as_echo "$ICOTOOL" >&6; }
6585 else
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 $as_echo "no" >&6; }
6591 test -n "$ICOTOOL" && break
6592 done
6593 test -n "$ICOTOOL" || ICOTOOL="false"
6595 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6596 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6598 if test "$CONVERT" = false
6599 then
6600 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6603 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6604 convert_version=`convert --version | head -n1`
6605 if test "x$convert_version" != "x"
6606 then
6607 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6608 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6609 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6610 then
6611 CONVERT=false
6614 if test "$CONVERT" = false
6615 then
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6617 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6618 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6619 else
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6621 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6625 if test "$ICOTOOL" = false
6626 then
6627 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6628 else
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6630 $as_echo_n "checking for recent enough icotool... " >&6; }
6631 icotool_version=`icotool --version | head -n1`
6632 if test "x$icotool_version" != "x"
6633 then
6634 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6635 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6636 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6637 then
6638 ICOTOOL=false
6639 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6642 if test "$ICOTOOL" = false
6643 then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6645 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6646 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6647 else
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6649 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6653 with_gettext=yes
6654 with_gettextpo=yes
6655 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6658 test "x$with_gettext" != xno || MSGFMT=false
6659 if test "$MSGFMT" != "false"
6660 then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6662 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6663 cat >conftest.po <<EOF
6664 # comment
6665 msgctxt "ctxt"
6666 msgid "id"
6667 msgstr "str"
6669 if $MSGFMT -o /dev/null conftest.po 2>&5
6670 then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6672 $as_echo "yes" >&6; }
6673 else
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6676 MSGFMT=false
6679 if test "$MSGFMT" = false; then :
6680 case "x$with_gettext" in
6681 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6682 xno) ;;
6683 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6684 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6685 esac
6686 enable_po=${enable_po:-no}
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6691 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6692 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6693 $as_echo_n "(cached) " >&6
6694 else
6695 ac_check_lib_save_LIBS=$LIBS
6696 LIBS="-li386 $LIBS"
6697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6700 /* Override any GCC internal prototype to avoid an error.
6701 Use char because int might match the return type of a GCC
6702 builtin and then its argument prototype would still apply. */
6703 #ifdef __cplusplus
6704 extern "C"
6705 #endif
6706 char i386_set_ldt ();
6708 main ()
6710 return i386_set_ldt ();
6712 return 0;
6714 _ACEOF
6715 if ac_fn_c_try_link "$LINENO"; then :
6716 ac_cv_lib_i386_i386_set_ldt=yes
6717 else
6718 ac_cv_lib_i386_i386_set_ldt=no
6720 rm -f core conftest.err conftest.$ac_objext \
6721 conftest$ac_exeext conftest.$ac_ext
6722 LIBS=$ac_check_lib_save_LIBS
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6725 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6726 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6727 cat >>confdefs.h <<_ACEOF
6728 #define HAVE_LIBI386 1
6729 _ACEOF
6731 LIBS="-li386 $LIBS"
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6736 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6737 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6738 $as_echo_n "(cached) " >&6
6739 else
6740 ac_check_lib_save_LIBS=$LIBS
6741 LIBS="-lossaudio $LIBS"
6742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6743 /* end confdefs.h. */
6745 /* Override any GCC internal prototype to avoid an error.
6746 Use char because int might match the return type of a GCC
6747 builtin and then its argument prototype would still apply. */
6748 #ifdef __cplusplus
6749 extern "C"
6750 #endif
6751 char _oss_ioctl ();
6753 main ()
6755 return _oss_ioctl ();
6757 return 0;
6759 _ACEOF
6760 if ac_fn_c_try_link "$LINENO"; then :
6761 ac_cv_lib_ossaudio__oss_ioctl=yes
6762 else
6763 ac_cv_lib_ossaudio__oss_ioctl=no
6765 rm -f core conftest.err conftest.$ac_objext \
6766 conftest$ac_exeext conftest.$ac_ext
6767 LIBS=$ac_check_lib_save_LIBS
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6770 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6771 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6772 cat >>confdefs.h <<_ACEOF
6773 #define HAVE_LIBOSSAUDIO 1
6774 _ACEOF
6776 LIBS="-lossaudio $LIBS"
6781 OPENGL_LIBS=""
6785 # Check whether --enable-largefile was given.
6786 if test "${enable_largefile+set}" = set; then :
6787 enableval=$enable_largefile;
6790 if test "$enable_largefile" != no; then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6793 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6794 if ${ac_cv_sys_largefile_CC+:} false; then :
6795 $as_echo_n "(cached) " >&6
6796 else
6797 ac_cv_sys_largefile_CC=no
6798 if test "$GCC" != yes; then
6799 ac_save_CC=$CC
6800 while :; do
6801 # IRIX 6.2 and later do not support large files by default,
6802 # so use the C compiler's -n32 option if that helps.
6803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6804 /* end confdefs.h. */
6805 #include <sys/types.h>
6806 /* Check that off_t can represent 2**63 - 1 correctly.
6807 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6808 since some C++ compilers masquerading as C compilers
6809 incorrectly reject 9223372036854775807. */
6810 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6811 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6812 && LARGE_OFF_T % 2147483647 == 1)
6813 ? 1 : -1];
6815 main ()
6819 return 0;
6821 _ACEOF
6822 if ac_fn_c_try_compile "$LINENO"; then :
6823 break
6825 rm -f core conftest.err conftest.$ac_objext
6826 CC="$CC -n32"
6827 if ac_fn_c_try_compile "$LINENO"; then :
6828 ac_cv_sys_largefile_CC=' -n32'; break
6830 rm -f core conftest.err conftest.$ac_objext
6831 break
6832 done
6833 CC=$ac_save_CC
6834 rm -f conftest.$ac_ext
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6838 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6839 if test "$ac_cv_sys_largefile_CC" != no; then
6840 CC=$CC$ac_cv_sys_largefile_CC
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6844 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6845 if ${ac_cv_sys_file_offset_bits+:} false; then :
6846 $as_echo_n "(cached) " >&6
6847 else
6848 while :; do
6849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6850 /* end confdefs.h. */
6851 #include <sys/types.h>
6852 /* Check that off_t can represent 2**63 - 1 correctly.
6853 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6854 since some C++ compilers masquerading as C compilers
6855 incorrectly reject 9223372036854775807. */
6856 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6857 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6858 && LARGE_OFF_T % 2147483647 == 1)
6859 ? 1 : -1];
6861 main ()
6865 return 0;
6867 _ACEOF
6868 if ac_fn_c_try_compile "$LINENO"; then :
6869 ac_cv_sys_file_offset_bits=no; break
6871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6873 /* end confdefs.h. */
6874 #define _FILE_OFFSET_BITS 64
6875 #include <sys/types.h>
6876 /* Check that off_t can represent 2**63 - 1 correctly.
6877 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6878 since some C++ compilers masquerading as C compilers
6879 incorrectly reject 9223372036854775807. */
6880 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6881 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6882 && LARGE_OFF_T % 2147483647 == 1)
6883 ? 1 : -1];
6885 main ()
6889 return 0;
6891 _ACEOF
6892 if ac_fn_c_try_compile "$LINENO"; then :
6893 ac_cv_sys_file_offset_bits=64; break
6895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6896 ac_cv_sys_file_offset_bits=unknown
6897 break
6898 done
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6901 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6902 case $ac_cv_sys_file_offset_bits in #(
6903 no | unknown) ;;
6905 cat >>confdefs.h <<_ACEOF
6906 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6907 _ACEOF
6909 esac
6910 rm -rf conftest*
6911 if test $ac_cv_sys_file_offset_bits = unknown; then
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6913 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6914 if ${ac_cv_sys_large_files+:} false; then :
6915 $as_echo_n "(cached) " >&6
6916 else
6917 while :; do
6918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6919 /* end confdefs.h. */
6920 #include <sys/types.h>
6921 /* Check that off_t can represent 2**63 - 1 correctly.
6922 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6923 since some C++ compilers masquerading as C compilers
6924 incorrectly reject 9223372036854775807. */
6925 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6926 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6927 && LARGE_OFF_T % 2147483647 == 1)
6928 ? 1 : -1];
6930 main ()
6934 return 0;
6936 _ACEOF
6937 if ac_fn_c_try_compile "$LINENO"; then :
6938 ac_cv_sys_large_files=no; break
6940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6942 /* end confdefs.h. */
6943 #define _LARGE_FILES 1
6944 #include <sys/types.h>
6945 /* Check that off_t can represent 2**63 - 1 correctly.
6946 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6947 since some C++ compilers masquerading as C compilers
6948 incorrectly reject 9223372036854775807. */
6949 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6950 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6951 && LARGE_OFF_T % 2147483647 == 1)
6952 ? 1 : -1];
6954 main ()
6958 return 0;
6960 _ACEOF
6961 if ac_fn_c_try_compile "$LINENO"; then :
6962 ac_cv_sys_large_files=1; break
6964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6965 ac_cv_sys_large_files=unknown
6966 break
6967 done
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6970 $as_echo "$ac_cv_sys_large_files" >&6; }
6971 case $ac_cv_sys_large_files in #(
6972 no | unknown) ;;
6974 cat >>confdefs.h <<_ACEOF
6975 #define _LARGE_FILES $ac_cv_sys_large_files
6976 _ACEOF
6978 esac
6979 rm -rf conftest*
6986 ac_ext=c
6987 ac_cpp='$CPP $CPPFLAGS'
6988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6992 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6993 # On Suns, sometimes $CPP names a directory.
6994 if test -n "$CPP" && test -d "$CPP"; then
6995 CPP=
6997 if test -z "$CPP"; then
6998 if ${ac_cv_prog_CPP+:} false; then :
6999 $as_echo_n "(cached) " >&6
7000 else
7001 # Double quotes because CPP needs to be expanded
7002 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7004 ac_preproc_ok=false
7005 for ac_c_preproc_warn_flag in '' yes
7007 # Use a header file that comes with gcc, so configuring glibc
7008 # with a fresh cross-compiler works.
7009 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7010 # <limits.h> exists even on freestanding compilers.
7011 # On the NeXT, cc -E runs the code through the compiler's parser,
7012 # not just through cpp. "Syntax error" is here to catch this case.
7013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7014 /* end confdefs.h. */
7015 #ifdef __STDC__
7016 # include <limits.h>
7017 #else
7018 # include <assert.h>
7019 #endif
7020 Syntax error
7021 _ACEOF
7022 if ac_fn_c_try_cpp "$LINENO"; then :
7024 else
7025 # Broken: fails on valid input.
7026 continue
7028 rm -f conftest.err conftest.i conftest.$ac_ext
7030 # OK, works on sane cases. Now check whether nonexistent headers
7031 # can be detected and how.
7032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7033 /* end confdefs.h. */
7034 #include <ac_nonexistent.h>
7035 _ACEOF
7036 if ac_fn_c_try_cpp "$LINENO"; then :
7037 # Broken: success on invalid input.
7038 continue
7039 else
7040 # Passes both tests.
7041 ac_preproc_ok=:
7042 break
7044 rm -f conftest.err conftest.i conftest.$ac_ext
7046 done
7047 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7048 rm -f conftest.i conftest.err conftest.$ac_ext
7049 if $ac_preproc_ok; then :
7050 break
7053 done
7054 ac_cv_prog_CPP=$CPP
7057 CPP=$ac_cv_prog_CPP
7058 else
7059 ac_cv_prog_CPP=$CPP
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7062 $as_echo "$CPP" >&6; }
7063 ac_preproc_ok=false
7064 for ac_c_preproc_warn_flag in '' yes
7066 # Use a header file that comes with gcc, so configuring glibc
7067 # with a fresh cross-compiler works.
7068 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7069 # <limits.h> exists even on freestanding compilers.
7070 # On the NeXT, cc -E runs the code through the compiler's parser,
7071 # not just through cpp. "Syntax error" is here to catch this case.
7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7073 /* end confdefs.h. */
7074 #ifdef __STDC__
7075 # include <limits.h>
7076 #else
7077 # include <assert.h>
7078 #endif
7079 Syntax error
7080 _ACEOF
7081 if ac_fn_c_try_cpp "$LINENO"; then :
7083 else
7084 # Broken: fails on valid input.
7085 continue
7087 rm -f conftest.err conftest.i conftest.$ac_ext
7089 # OK, works on sane cases. Now check whether nonexistent headers
7090 # can be detected and how.
7091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7092 /* end confdefs.h. */
7093 #include <ac_nonexistent.h>
7094 _ACEOF
7095 if ac_fn_c_try_cpp "$LINENO"; then :
7096 # Broken: success on invalid input.
7097 continue
7098 else
7099 # Passes both tests.
7100 ac_preproc_ok=:
7101 break
7103 rm -f conftest.err conftest.i conftest.$ac_ext
7105 done
7106 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7107 rm -f conftest.i conftest.err conftest.$ac_ext
7108 if $ac_preproc_ok; then :
7110 else
7111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7113 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7114 See \`config.log' for more details" "$LINENO" 5; }
7117 ac_ext=c
7118 ac_cpp='$CPP $CPPFLAGS'
7119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7125 $as_echo_n "checking for ANSI C header files... " >&6; }
7126 if ${ac_cv_header_stdc+:} false; then :
7127 $as_echo_n "(cached) " >&6
7128 else
7129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7130 /* end confdefs.h. */
7131 #include <stdlib.h>
7132 #include <stdarg.h>
7133 #include <string.h>
7134 #include <float.h>
7137 main ()
7141 return 0;
7143 _ACEOF
7144 if ac_fn_c_try_compile "$LINENO"; then :
7145 ac_cv_header_stdc=yes
7146 else
7147 ac_cv_header_stdc=no
7149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7151 if test $ac_cv_header_stdc = yes; then
7152 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7154 /* end confdefs.h. */
7155 #include <string.h>
7157 _ACEOF
7158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7159 $EGREP "memchr" >/dev/null 2>&1; then :
7161 else
7162 ac_cv_header_stdc=no
7164 rm -f conftest*
7168 if test $ac_cv_header_stdc = yes; then
7169 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7171 /* end confdefs.h. */
7172 #include <stdlib.h>
7174 _ACEOF
7175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7176 $EGREP "free" >/dev/null 2>&1; then :
7178 else
7179 ac_cv_header_stdc=no
7181 rm -f conftest*
7185 if test $ac_cv_header_stdc = yes; then
7186 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7187 if test "$cross_compiling" = yes; then :
7189 else
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7192 #include <ctype.h>
7193 #include <stdlib.h>
7194 #if ((' ' & 0x0FF) == 0x020)
7195 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7196 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7197 #else
7198 # define ISLOWER(c) \
7199 (('a' <= (c) && (c) <= 'i') \
7200 || ('j' <= (c) && (c) <= 'r') \
7201 || ('s' <= (c) && (c) <= 'z'))
7202 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7203 #endif
7205 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7207 main ()
7209 int i;
7210 for (i = 0; i < 256; i++)
7211 if (XOR (islower (i), ISLOWER (i))
7212 || toupper (i) != TOUPPER (i))
7213 return 2;
7214 return 0;
7216 _ACEOF
7217 if ac_fn_c_try_run "$LINENO"; then :
7219 else
7220 ac_cv_header_stdc=no
7222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7223 conftest.$ac_objext conftest.beam conftest.$ac_ext
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7229 $as_echo "$ac_cv_header_stdc" >&6; }
7230 if test $ac_cv_header_stdc = yes; then
7232 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7236 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7237 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7238 inttypes.h stdint.h unistd.h
7239 do :
7240 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7241 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7243 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7244 cat >>confdefs.h <<_ACEOF
7245 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7246 _ACEOF
7250 done
7253 for ac_header in \
7254 AL/al.h \
7255 ApplicationServices/ApplicationServices.h \
7256 AudioToolbox/AudioConverter.h \
7257 AudioUnit/AudioUnit.h \
7258 AudioUnit/AudioComponent.h \
7259 CL/cl.h \
7260 Carbon/Carbon.h \
7261 CommonCrypto/CommonCryptor.h \
7262 CoreAudio/CoreAudio.h \
7263 CoreServices/CoreServices.h \
7264 DiskArbitration/DiskArbitration.h \
7265 EGL/egl.h \
7266 IOKit/IOKitLib.h \
7267 IOKit/hid/IOHIDLib.h \
7268 OpenAL/al.h \
7269 OpenCL/opencl.h \
7270 QuickTime/ImageCompression.h \
7271 Security/Security.h \
7272 alias.h \
7273 alsa/asoundlib.h \
7274 arpa/inet.h \
7275 arpa/nameser.h \
7276 asm/types.h \
7277 asm/user.h \
7278 curses.h \
7279 direct.h \
7280 dirent.h \
7281 dlfcn.h \
7282 elf.h \
7283 float.h \
7284 fnmatch.h \
7285 getopt.h \
7286 gettext-po.h \
7287 grp.h \
7288 gsm.h \
7289 gsm/gsm.h \
7290 ieeefp.h \
7291 inet/mib2.h \
7292 io.h \
7293 kstat.h \
7294 libproc.h \
7295 link.h \
7296 linux/cdrom.h \
7297 linux/compiler.h \
7298 linux/filter.h \
7299 linux/hdreg.h \
7300 linux/hidraw.h \
7301 linux/input.h \
7302 linux/ioctl.h \
7303 linux/joystick.h \
7304 linux/major.h \
7305 linux/param.h \
7306 linux/serial.h \
7307 linux/types.h \
7308 linux/ucdrom.h \
7309 lwp.h \
7310 mach-o/nlist.h \
7311 mach-o/loader.h \
7312 mach/mach.h \
7313 mach/machine.h \
7314 machine/cpu.h \
7315 machine/limits.h \
7316 machine/sysarch.h \
7317 mntent.h \
7318 ncurses.h \
7319 netdb.h \
7320 netinet/in.h \
7321 netinet/in_systm.h \
7322 netinet/tcp.h \
7323 netinet/tcp_fsm.h \
7324 pcap/pcap.h \
7325 poll.h \
7326 port.h \
7327 process.h \
7328 pthread.h \
7329 pwd.h \
7330 sched.h \
7331 scsi/scsi.h \
7332 scsi/scsi_ioctl.h \
7333 scsi/sg.h \
7334 stdbool.h \
7335 stdint.h \
7336 stropts.h \
7337 sys/asoundlib.h \
7338 sys/attr.h \
7339 sys/auxv.h \
7340 sys/cdio.h \
7341 sys/elf32.h \
7342 sys/epoll.h \
7343 sys/event.h \
7344 sys/exec_elf.h \
7345 sys/filio.h \
7346 sys/inotify.h \
7347 sys/ioctl.h \
7348 sys/ipc.h \
7349 sys/limits.h \
7350 sys/link.h \
7351 sys/mman.h \
7352 sys/modem.h \
7353 sys/msg.h \
7354 sys/mtio.h \
7355 sys/param.h \
7356 sys/poll.h \
7357 sys/prctl.h \
7358 sys/protosw.h \
7359 sys/ptrace.h \
7360 sys/queue.h \
7361 sys/resource.h \
7362 sys/scsiio.h \
7363 sys/shm.h \
7364 sys/signal.h \
7365 sys/socket.h \
7366 sys/socketvar.h \
7367 sys/sockio.h \
7368 sys/statvfs.h \
7369 sys/strtio.h \
7370 sys/syscall.h \
7371 sys/sysinfo.h \
7372 sys/tihdr.h \
7373 sys/time.h \
7374 sys/timeout.h \
7375 sys/times.h \
7376 sys/uio.h \
7377 sys/user.h \
7378 sys/utsname.h \
7379 sys/vnode.h \
7380 sys/wait.h \
7381 syscall.h \
7382 termios.h \
7383 unistd.h \
7384 utime.h \
7385 valgrind/memcheck.h \
7386 valgrind/valgrind.h \
7387 zlib.h
7389 do :
7390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7391 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7392 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7393 cat >>confdefs.h <<_ACEOF
7394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7395 _ACEOF
7399 done
7401 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7402 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7404 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7409 if test $ac_cv_header_sys_mkdev_h = no; then
7410 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7411 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7413 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7420 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7421 if ${ac_cv_header_stat_broken+:} false; then :
7422 $as_echo_n "(cached) " >&6
7423 else
7424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7425 /* end confdefs.h. */
7426 #include <sys/types.h>
7427 #include <sys/stat.h>
7429 #if defined S_ISBLK && defined S_IFDIR
7430 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7431 #endif
7433 #if defined S_ISBLK && defined S_IFCHR
7434 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7435 #endif
7437 #if defined S_ISLNK && defined S_IFREG
7438 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7439 #endif
7441 #if defined S_ISSOCK && defined S_IFREG
7442 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7443 #endif
7445 _ACEOF
7446 if ac_fn_c_try_compile "$LINENO"; then :
7447 ac_cv_header_stat_broken=no
7448 else
7449 ac_cv_header_stat_broken=yes
7451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7454 $as_echo "$ac_cv_header_stat_broken" >&6; }
7455 if test $ac_cv_header_stat_broken = yes; then
7457 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7463 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7464 do :
7465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7466 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7467 #ifdef HAVE_SYS_PARAM_H
7468 # include <sys/param.h>
7469 #endif
7471 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7472 cat >>confdefs.h <<_ACEOF
7473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7474 _ACEOF
7478 done
7481 for ac_header in \
7482 netinet/ip.h \
7483 net/if.h \
7484 net/if_arp.h \
7485 net/if_dl.h \
7486 net/if_types.h \
7487 net/route.h \
7488 netinet/if_ether.h \
7489 netinet/if_inarp.h \
7490 netinet/in_pcb.h \
7491 netinet/ip_icmp.h \
7492 netinet/ip_var.h \
7493 netinet/udp.h \
7494 netipx/ipx.h \
7495 sys/un.h \
7497 do :
7498 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7499 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7500 #ifdef HAVE_SYS_SOCKET_H
7501 # include <sys/socket.h>
7502 #endif
7503 #ifdef HAVE_SYS_SOCKETVAR_H
7504 # include <sys/socketvar.h>
7505 #endif
7506 #ifdef HAVE_NET_ROUTE_H
7507 # include <net/route.h>
7508 #endif
7509 #ifdef HAVE_NETINET_IN_H
7510 # include <netinet/in.h>
7511 #endif
7512 #ifdef HAVE_NETINET_IN_SYSTM_H
7513 # include <netinet/in_systm.h>
7514 #endif
7515 #ifdef HAVE_NET_IF_H
7516 # include <net/if.h>
7517 #endif
7518 #ifdef HAVE_NETINET_IP_H
7519 # include <netinet/ip.h>
7520 #endif
7522 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7523 cat >>confdefs.h <<_ACEOF
7524 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7525 _ACEOF
7529 done
7532 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7533 do :
7534 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7535 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7536 #ifdef HAVE_ALIAS_H
7537 # include <alias.h>
7538 #endif
7539 #ifdef HAVE_SYS_SOCKET_H
7540 # include <sys/socket.h>
7541 #endif
7542 #ifdef HAVE_SYS_SOCKETVAR_H
7543 # include <sys/socketvar.h>
7544 #endif
7545 #ifdef HAVE_SYS_TIMEOUT_H
7546 # include <sys/timeout.h>
7547 #endif
7548 #ifdef HAVE_NETINET_IN_H
7549 # include <netinet/in.h>
7550 #endif
7551 #ifdef HAVE_NETINET_IN_SYSTM_H
7552 # include <netinet/in_systm.h>
7553 #endif
7554 #ifdef HAVE_NETINET_IP_H
7555 # include <netinet/ip.h>
7556 #endif
7557 #ifdef HAVE_NETINET_IP_VAR_H
7558 # include <netinet/ip_var.h>
7559 #endif
7560 #ifdef HAVE_NETINET_IP_ICMP_H
7561 # include <netinet/ip_icmp.h>
7562 #endif
7563 #ifdef HAVE_NETINET_UDP_H
7564 # include <netinet/udp.h>
7565 #endif
7566 #ifdef HAVE_NETINET_TCP_H
7567 # include <netinet/tcp.h>
7568 #endif
7569 #ifdef HAVE_NETINET_TCP_TIMER_H
7570 #include <netinet/tcp_timer.h>
7571 #endif
7573 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7574 cat >>confdefs.h <<_ACEOF
7575 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7576 _ACEOF
7580 done
7583 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7584 do :
7585 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7586 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7587 #ifdef HAVE_ASM_TYPES_H
7588 # include <asm/types.h>
7589 #endif
7590 #ifdef HAVE_SYS_SOCKET_H
7591 # include <sys/socket.h>
7592 #endif
7593 #ifdef HAVE_LINUX_TYPES_H
7594 # include <linux/types.h>
7595 #endif
7597 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7598 cat >>confdefs.h <<_ACEOF
7599 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7600 _ACEOF
7604 done
7607 for ac_header in mach-o/dyld_images.h
7608 do :
7609 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7610 # include <stdbool.h>
7611 #endif
7612 #ifdef HAVE_STDINT_H
7613 # include <stdint.h>
7614 #endif
7616 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7617 cat >>confdefs.h <<_ACEOF
7618 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7619 _ACEOF
7623 done
7626 for ac_header in resolv.h
7627 do :
7628 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7629 #ifdef HAVE_SYS_SOCKET_H
7630 # include <sys/socket.h>
7631 #endif
7632 #ifdef HAVE_NETINET_IN_H
7633 # include <netinet/in.h>
7634 #endif
7635 #ifdef HAVE_ARPA_NAMESER_H
7636 # include <arpa/nameser.h>
7637 #endif
7639 if test "x$ac_cv_header_resolv_h" = xyes; then :
7640 cat >>confdefs.h <<_ACEOF
7641 #define HAVE_RESOLV_H 1
7642 _ACEOF
7646 done
7649 for ac_header in ifaddrs.h
7650 do :
7651 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7653 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7654 cat >>confdefs.h <<_ACEOF
7655 #define HAVE_IFADDRS_H 1
7656 _ACEOF
7660 done
7663 for ac_header in sys/ucontext.h
7664 do :
7665 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7667 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7668 cat >>confdefs.h <<_ACEOF
7669 #define HAVE_SYS_UCONTEXT_H 1
7670 _ACEOF
7674 done
7677 for ac_header in sys/thr.h
7678 do :
7679 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7680 #ifdef HAVE_SYS_UCONTEXT_H
7681 #include <sys/ucontext.h>
7682 #endif
7684 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7685 cat >>confdefs.h <<_ACEOF
7686 #define HAVE_SYS_THR_H 1
7687 _ACEOF
7691 done
7694 for ac_header in pthread_np.h
7695 do :
7696 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7697 #include <pthread.h>
7698 #endif
7700 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7701 cat >>confdefs.h <<_ACEOF
7702 #define HAVE_PTHREAD_NP_H 1
7703 _ACEOF
7707 done
7710 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7711 do :
7712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7713 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7714 #include <sys/time.h>
7715 #endif
7716 #include <sys/types.h>
7717 #ifdef HAVE_ASM_TYPES_H
7718 #include <asm/types.h>
7719 #endif
7721 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7722 cat >>confdefs.h <<_ACEOF
7723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7724 _ACEOF
7728 done
7731 for ac_header in libprocstat.h
7732 do :
7733 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7734 #include <sys/param.h>
7735 #endif
7736 #ifdef HAVE_SYS_QUEUE_H
7737 #include <sys/queue.h>
7738 #endif
7739 #ifdef HAVE_SYS_SOCKET_H
7740 #include <sys/socket.h>
7741 #endif
7743 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7744 cat >>confdefs.h <<_ACEOF
7745 #define HAVE_LIBPROCSTAT_H 1
7746 _ACEOF
7750 done
7754 DLLFLAGS="-D_REENTRANT"
7756 LDRPATH_INSTALL=""
7758 LDRPATH_LOCAL=""
7760 LDEXECFLAGS=""
7762 TOP_INSTALL_LIB=""
7764 TOP_INSTALL_DEV=""
7766 WINELOADER_LDFLAGS=""
7768 LIBEXT="so"
7769 DLLEXT=".so"
7770 IMPLIBEXT="def"
7771 # Extract the first word of "ldd", so it can be a program name with args.
7772 set dummy ldd; ac_word=$2
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7774 $as_echo_n "checking for $ac_word... " >&6; }
7775 if ${ac_cv_path_LDD+:} false; then :
7776 $as_echo_n "(cached) " >&6
7777 else
7778 case $LDD in
7779 [\\/]* | ?:[\\/]*)
7780 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 as_dummy="/sbin:/usr/sbin:$PATH"
7785 for as_dir in $as_dummy
7787 IFS=$as_save_IFS
7788 test -z "$as_dir" && as_dir=.
7789 for ac_exec_ext in '' $ac_executable_extensions; do
7790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7791 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7793 break 2
7795 done
7796 done
7797 IFS=$as_save_IFS
7799 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7801 esac
7803 LDD=$ac_cv_path_LDD
7804 if test -n "$LDD"; then
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7806 $as_echo "$LDD" >&6; }
7807 else
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7809 $as_echo "no" >&6; }
7813 if test -n "$ac_tool_prefix"; then
7814 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7815 set dummy ${ac_tool_prefix}otool; ac_word=$2
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7817 $as_echo_n "checking for $ac_word... " >&6; }
7818 if ${ac_cv_prog_OTOOL+:} false; then :
7819 $as_echo_n "(cached) " >&6
7820 else
7821 if test -n "$OTOOL"; then
7822 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7823 else
7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7825 for as_dir in $PATH
7827 IFS=$as_save_IFS
7828 test -z "$as_dir" && as_dir=.
7829 for ac_exec_ext in '' $ac_executable_extensions; do
7830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7831 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7833 break 2
7835 done
7836 done
7837 IFS=$as_save_IFS
7841 OTOOL=$ac_cv_prog_OTOOL
7842 if test -n "$OTOOL"; then
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7844 $as_echo "$OTOOL" >&6; }
7845 else
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7847 $as_echo "no" >&6; }
7852 if test -z "$ac_cv_prog_OTOOL"; then
7853 ac_ct_OTOOL=$OTOOL
7854 # Extract the first word of "otool", so it can be a program name with args.
7855 set dummy otool; ac_word=$2
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7857 $as_echo_n "checking for $ac_word... " >&6; }
7858 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7859 $as_echo_n "(cached) " >&6
7860 else
7861 if test -n "$ac_ct_OTOOL"; then
7862 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7863 else
7864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 for as_dir in $PATH
7867 IFS=$as_save_IFS
7868 test -z "$as_dir" && as_dir=.
7869 for ac_exec_ext in '' $ac_executable_extensions; do
7870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871 ac_cv_prog_ac_ct_OTOOL="otool"
7872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 break 2
7875 done
7876 done
7877 IFS=$as_save_IFS
7881 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7882 if test -n "$ac_ct_OTOOL"; then
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7884 $as_echo "$ac_ct_OTOOL" >&6; }
7885 else
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887 $as_echo "no" >&6; }
7890 if test "x$ac_ct_OTOOL" = x; then
7891 OTOOL="otool"
7892 else
7893 case $cross_compiling:$ac_tool_warned in
7894 yes:)
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7897 ac_tool_warned=yes ;;
7898 esac
7899 OTOOL=$ac_ct_OTOOL
7901 else
7902 OTOOL="$ac_cv_prog_OTOOL"
7905 if test -n "$ac_tool_prefix"; then
7906 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7907 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7909 $as_echo_n "checking for $ac_word... " >&6; }
7910 if ${ac_cv_prog_READELF+:} false; then :
7911 $as_echo_n "(cached) " >&6
7912 else
7913 if test -n "$READELF"; then
7914 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7915 else
7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7917 for as_dir in $PATH
7919 IFS=$as_save_IFS
7920 test -z "$as_dir" && as_dir=.
7921 for ac_exec_ext in '' $ac_executable_extensions; do
7922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7923 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7925 break 2
7927 done
7928 done
7929 IFS=$as_save_IFS
7933 READELF=$ac_cv_prog_READELF
7934 if test -n "$READELF"; then
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7936 $as_echo "$READELF" >&6; }
7937 else
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7939 $as_echo "no" >&6; }
7944 if test -z "$ac_cv_prog_READELF"; then
7945 ac_ct_READELF=$READELF
7946 # Extract the first word of "readelf", so it can be a program name with args.
7947 set dummy readelf; ac_word=$2
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7949 $as_echo_n "checking for $ac_word... " >&6; }
7950 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7951 $as_echo_n "(cached) " >&6
7952 else
7953 if test -n "$ac_ct_READELF"; then
7954 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7955 else
7956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7957 for as_dir in $PATH
7959 IFS=$as_save_IFS
7960 test -z "$as_dir" && as_dir=.
7961 for ac_exec_ext in '' $ac_executable_extensions; do
7962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7963 ac_cv_prog_ac_ct_READELF="readelf"
7964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7965 break 2
7967 done
7968 done
7969 IFS=$as_save_IFS
7973 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7974 if test -n "$ac_ct_READELF"; then
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7976 $as_echo "$ac_ct_READELF" >&6; }
7977 else
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7979 $as_echo "no" >&6; }
7982 if test "x$ac_ct_READELF" = x; then
7983 READELF="true"
7984 else
7985 case $cross_compiling:$ac_tool_warned in
7986 yes:)
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7989 ac_tool_warned=yes ;;
7990 esac
7991 READELF=$ac_ct_READELF
7993 else
7994 READELF="$ac_cv_prog_READELF"
7997 wine_rules_file=conf$$rules.make
7998 rm -f $wine_rules_file
7999 SUBDIRS=""
8001 DISABLED_SUBDIRS=""
8003 CONFIGURE_TARGETS=""
8006 wine_fn_append_file ()
8008 as_fn_append $1 " \\$as_nl $2"
8011 wine_fn_append_rule ()
8013 $as_echo "$1" >>$wine_rules_file
8016 wine_fn_config_makefile ()
8018 wine_fn_append_file SUBDIRS $1
8019 if eval test \"x\$"$2"\" = x"no"; then :
8020 wine_fn_append_file DISABLED_SUBDIRS $1
8024 wine_fn_config_symlink ()
8026 ac_links=$@
8027 wine_fn_append_rule \
8028 "$ac_links:
8029 @./config.status \$@"
8030 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8033 wine_binary="wine"
8034 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8035 WINELOADER_PROGRAMS="$wine_binary"
8037 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8039 case $host_os in
8040 cygwin*|mingw32*)
8041 if test -n "$ac_tool_prefix"; then
8042 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8043 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8045 $as_echo_n "checking for $ac_word... " >&6; }
8046 if ${ac_cv_prog_DLLTOOL+:} false; then :
8047 $as_echo_n "(cached) " >&6
8048 else
8049 if test -n "$DLLTOOL"; then
8050 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8051 else
8052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053 for as_dir in $PATH
8055 IFS=$as_save_IFS
8056 test -z "$as_dir" && as_dir=.
8057 for ac_exec_ext in '' $ac_executable_extensions; do
8058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8059 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8061 break 2
8063 done
8064 done
8065 IFS=$as_save_IFS
8069 DLLTOOL=$ac_cv_prog_DLLTOOL
8070 if test -n "$DLLTOOL"; then
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8072 $as_echo "$DLLTOOL" >&6; }
8073 else
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8075 $as_echo "no" >&6; }
8080 if test -z "$ac_cv_prog_DLLTOOL"; then
8081 ac_ct_DLLTOOL=$DLLTOOL
8082 # Extract the first word of "dlltool", so it can be a program name with args.
8083 set dummy dlltool; ac_word=$2
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8085 $as_echo_n "checking for $ac_word... " >&6; }
8086 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8087 $as_echo_n "(cached) " >&6
8088 else
8089 if test -n "$ac_ct_DLLTOOL"; then
8090 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8091 else
8092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 for as_dir in $PATH
8095 IFS=$as_save_IFS
8096 test -z "$as_dir" && as_dir=.
8097 for ac_exec_ext in '' $ac_executable_extensions; do
8098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8099 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8101 break 2
8103 done
8104 done
8105 IFS=$as_save_IFS
8109 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8110 if test -n "$ac_ct_DLLTOOL"; then
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8112 $as_echo "$ac_ct_DLLTOOL" >&6; }
8113 else
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8115 $as_echo "no" >&6; }
8118 if test "x$ac_ct_DLLTOOL" = x; then
8119 DLLTOOL="false"
8120 else
8121 case $cross_compiling:$ac_tool_warned in
8122 yes:)
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8125 ac_tool_warned=yes ;;
8126 esac
8127 DLLTOOL=$ac_ct_DLLTOOL
8129 else
8130 DLLTOOL="$ac_cv_prog_DLLTOOL"
8133 LIBEXT="dll"
8134 DLLEXT=""
8135 IMPLIBEXT="a"
8136 enable_iphlpapi=${enable_iphlpapi:-no}
8137 enable_kernel32=${enable_kernel32:-no}
8138 enable_msvcrt=${enable_msvcrt:-no}
8139 enable_ntdll=${enable_ntdll:-no}
8140 enable_ws2_32=${enable_ws2_32:-no}
8141 enable_loader=${enable_loader:-no}
8142 enable_server=${enable_server:-no}
8143 with_x=${with_x:-no}
8144 with_pthread=${with_pthread:-no}
8146 crtlibs=""
8147 case $host_os in
8148 mingw32*)
8149 crtlibs="-lmsvcrt" ;;
8150 esac
8152 LIBWINE_SHAREDLIB="libwine.dll"
8154 LIBWINE_IMPORTLIB="libwine.a"
8156 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8158 LIBWINE_DEPENDS="wine.def"
8160 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.dll"
8161 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.a"
8164 darwin*|macosx*)
8165 for ac_header in libunwind.h
8166 do :
8167 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8169 cat >>confdefs.h <<_ACEOF
8170 #define HAVE_LIBUNWIND_H 1
8171 _ACEOF
8175 done
8177 ac_ext=m
8178 ac_cpp='$OBJCPP $CPPFLAGS'
8179 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8180 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8181 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8183 ac_ext=m
8184 ac_cpp='$OBJCPP $CPPFLAGS'
8185 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8186 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8187 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8188 if test -n "$ac_tool_prefix"; then
8189 for ac_prog in gcc objcc objc cc CC
8191 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8192 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8194 $as_echo_n "checking for $ac_word... " >&6; }
8195 if ${ac_cv_prog_OBJC+:} false; then :
8196 $as_echo_n "(cached) " >&6
8197 else
8198 if test -n "$OBJC"; then
8199 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8200 else
8201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8202 for as_dir in $PATH
8204 IFS=$as_save_IFS
8205 test -z "$as_dir" && as_dir=.
8206 for ac_exec_ext in '' $ac_executable_extensions; do
8207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8208 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8210 break 2
8212 done
8213 done
8214 IFS=$as_save_IFS
8218 OBJC=$ac_cv_prog_OBJC
8219 if test -n "$OBJC"; then
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8221 $as_echo "$OBJC" >&6; }
8222 else
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224 $as_echo "no" >&6; }
8228 test -n "$OBJC" && break
8229 done
8231 if test -z "$OBJC"; then
8232 ac_ct_OBJC=$OBJC
8233 for ac_prog in gcc objcc objc cc CC
8235 # Extract the first word of "$ac_prog", so it can be a program name with args.
8236 set dummy $ac_prog; ac_word=$2
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8238 $as_echo_n "checking for $ac_word... " >&6; }
8239 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8240 $as_echo_n "(cached) " >&6
8241 else
8242 if test -n "$ac_ct_OBJC"; then
8243 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8244 else
8245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8246 for as_dir in $PATH
8248 IFS=$as_save_IFS
8249 test -z "$as_dir" && as_dir=.
8250 for ac_exec_ext in '' $ac_executable_extensions; do
8251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8252 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8254 break 2
8256 done
8257 done
8258 IFS=$as_save_IFS
8262 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8263 if test -n "$ac_ct_OBJC"; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8265 $as_echo "$ac_ct_OBJC" >&6; }
8266 else
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8268 $as_echo "no" >&6; }
8272 test -n "$ac_ct_OBJC" && break
8273 done
8275 if test "x$ac_ct_OBJC" = x; then
8276 OBJC="gcc"
8277 else
8278 case $cross_compiling:$ac_tool_warned in
8279 yes:)
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8282 ac_tool_warned=yes ;;
8283 esac
8284 OBJC=$ac_ct_OBJC
8288 # Provide some information about the compiler.
8289 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8290 set X $ac_compile
8291 ac_compiler=$2
8292 for ac_option in --version -v -V -qversion; do
8293 { { ac_try="$ac_compiler $ac_option >&5"
8294 case "(($ac_try" in
8295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8296 *) ac_try_echo=$ac_try;;
8297 esac
8298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8299 $as_echo "$ac_try_echo"; } >&5
8300 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8301 ac_status=$?
8302 if test -s conftest.err; then
8303 sed '10a\
8304 ... rest of stderr output deleted ...
8305 10q' conftest.err >conftest.er1
8306 cat conftest.er1 >&5
8308 rm -f conftest.er1 conftest.err
8309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8310 test $ac_status = 0; }
8311 done
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8314 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8315 if ${ac_cv_objc_compiler_gnu+:} false; then :
8316 $as_echo_n "(cached) " >&6
8317 else
8318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8319 /* end confdefs.h. */
8322 main ()
8324 #ifndef __GNUC__
8325 choke me
8326 #endif
8329 return 0;
8331 _ACEOF
8332 if ac_fn_objc_try_compile "$LINENO"; then :
8333 ac_compiler_gnu=yes
8334 else
8335 ac_compiler_gnu=no
8337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8338 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8342 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8343 if test $ac_compiler_gnu = yes; then
8344 GOBJC=yes
8345 else
8346 GOBJC=
8348 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8349 ac_save_OBJCFLAGS=$OBJCFLAGS
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8351 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8352 if ${ac_cv_prog_objc_g+:} false; then :
8353 $as_echo_n "(cached) " >&6
8354 else
8355 ac_save_objc_werror_flag=$ac_objc_werror_flag
8356 ac_objc_werror_flag=yes
8357 ac_cv_prog_objc_g=no
8358 OBJCFLAGS="-g"
8359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8360 /* end confdefs.h. */
8363 main ()
8367 return 0;
8369 _ACEOF
8370 if ac_fn_objc_try_compile "$LINENO"; then :
8371 ac_cv_prog_objc_g=yes
8372 else
8373 OBJCFLAGS=""
8374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8375 /* end confdefs.h. */
8378 main ()
8382 return 0;
8384 _ACEOF
8385 if ac_fn_objc_try_compile "$LINENO"; then :
8387 else
8388 ac_objc_werror_flag=$ac_save_objc_werror_flag
8389 OBJCFLAGS="-g"
8390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8391 /* end confdefs.h. */
8394 main ()
8398 return 0;
8400 _ACEOF
8401 if ac_fn_objc_try_compile "$LINENO"; then :
8402 ac_cv_prog_objc_g=yes
8404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8409 ac_objc_werror_flag=$ac_save_objc_werror_flag
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8412 $as_echo "$ac_cv_prog_objc_g" >&6; }
8413 if test "$ac_test_OBJCFLAGS" = set; then
8414 OBJCFLAGS=$ac_save_OBJCFLAGS
8415 elif test $ac_cv_prog_objc_g = yes; then
8416 if test "$GOBJC" = yes; then
8417 OBJCFLAGS="-g -O2"
8418 else
8419 OBJCFLAGS="-g"
8421 else
8422 if test "$GOBJC" = yes; then
8423 OBJCFLAGS="-O2"
8424 else
8425 OBJCFLAGS=
8428 ac_ext=m
8429 ac_cpp='$OBJCPP $CPPFLAGS'
8430 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8431 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8432 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8435 ac_ext=m
8436 ac_cpp='$OBJCPP $CPPFLAGS'
8437 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8438 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8439 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8441 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8442 if test -z "$OBJCPP"; then
8443 if ${ac_cv_prog_OBJCPP+:} false; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 # Double quotes because OBJCPP needs to be expanded
8447 for OBJCPP in "$OBJC -E" "/lib/cpp"
8449 ac_preproc_ok=false
8450 for ac_objc_preproc_warn_flag in '' yes
8452 # Use a header file that comes with gcc, so configuring glibc
8453 # with a fresh cross-compiler works.
8454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8455 # <limits.h> exists even on freestanding compilers.
8456 # On the NeXT, cc -E runs the code through the compiler's parser,
8457 # not just through cpp. "Syntax error" is here to catch this case.
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8460 #ifdef __STDC__
8461 # include <limits.h>
8462 #else
8463 # include <assert.h>
8464 #endif
8465 Syntax error
8466 _ACEOF
8467 if ac_fn_objc_try_cpp "$LINENO"; then :
8469 else
8470 # Broken: fails on valid input.
8471 continue
8473 rm -f conftest.err conftest.i conftest.$ac_ext
8475 # OK, works on sane cases. Now check whether nonexistent headers
8476 # can be detected and how.
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 #include <ac_nonexistent.h>
8480 _ACEOF
8481 if ac_fn_objc_try_cpp "$LINENO"; then :
8482 # Broken: success on invalid input.
8483 continue
8484 else
8485 # Passes both tests.
8486 ac_preproc_ok=:
8487 break
8489 rm -f conftest.err conftest.i conftest.$ac_ext
8491 done
8492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8493 rm -f conftest.i conftest.err conftest.$ac_ext
8494 if $ac_preproc_ok; then :
8495 break
8498 done
8499 ac_cv_prog_OBJCPP=$OBJCPP
8502 OBJCPP=$ac_cv_prog_OBJCPP
8503 else
8504 ac_cv_prog_OBJCPP=$OBJCPP
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8507 $as_echo "$OBJCPP" >&6; }
8508 ac_preproc_ok=false
8509 for ac_objc_preproc_warn_flag in '' yes
8511 # Use a header file that comes with gcc, so configuring glibc
8512 # with a fresh cross-compiler works.
8513 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8514 # <limits.h> exists even on freestanding compilers.
8515 # On the NeXT, cc -E runs the code through the compiler's parser,
8516 # not just through cpp. "Syntax error" is here to catch this case.
8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8518 /* end confdefs.h. */
8519 #ifdef __STDC__
8520 # include <limits.h>
8521 #else
8522 # include <assert.h>
8523 #endif
8524 Syntax error
8525 _ACEOF
8526 if ac_fn_objc_try_cpp "$LINENO"; then :
8528 else
8529 # Broken: fails on valid input.
8530 continue
8532 rm -f conftest.err conftest.i conftest.$ac_ext
8534 # OK, works on sane cases. Now check whether nonexistent headers
8535 # can be detected and how.
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 #include <ac_nonexistent.h>
8539 _ACEOF
8540 if ac_fn_objc_try_cpp "$LINENO"; then :
8541 # Broken: success on invalid input.
8542 continue
8543 else
8544 # Passes both tests.
8545 ac_preproc_ok=:
8546 break
8548 rm -f conftest.err conftest.i conftest.$ac_ext
8550 done
8551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8552 rm -f conftest.i conftest.err conftest.$ac_ext
8553 if $ac_preproc_ok; then :
8555 else
8556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8558 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8559 See \`config.log' for more details" "$LINENO" 5; }
8562 ac_ext=m
8563 ac_cpp='$OBJCPP $CPPFLAGS'
8564 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8565 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8566 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8569 for ac_header in Metal/Metal.h
8570 do :
8571 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8572 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8573 cat >>confdefs.h <<_ACEOF
8574 #define HAVE_METAL_METAL_H 1
8575 _ACEOF
8579 done
8581 ac_ext=c
8582 ac_cpp='$CPP $CPPFLAGS'
8583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8587 LIBEXT="dylib"
8588 DLLFLAGS="$DLLFLAGS -fPIC"
8589 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8590 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8591 COREFOUNDATION_LIBS="-framework CoreFoundation"
8593 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8595 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8597 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8599 CORESERVICES_LIBS="-framework CoreServices"
8601 APPKIT_LIBS="-framework AppKit"
8603 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8605 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8606 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8607 $as_echo_n "(cached) " >&6
8608 else
8609 ac_wine_try_cflags_saved=$CFLAGS
8610 CFLAGS="$CFLAGS -Wl,-no_pie"
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 int main(int argc, char **argv) { return 0; }
8614 _ACEOF
8615 if ac_fn_c_try_link "$LINENO"; then :
8616 ac_cv_cflags__Wl__no_pie=yes
8617 else
8618 ac_cv_cflags__Wl__no_pie=no
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 CFLAGS=$ac_wine_try_cflags_saved
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8625 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8626 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8627 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8629 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8630 then
8631 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8634 if test "$ac_cv_header_Security_Security_h" = "yes"
8635 then
8636 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8638 ac_save_LIBS="$LIBS"
8639 LIBS="$LIBS $SECURITY_LIBS"
8640 for ac_func in SSLCopyPeerCertificates
8641 do :
8642 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8643 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8644 cat >>confdefs.h <<_ACEOF
8645 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8646 _ACEOF
8649 done
8651 LIBS="$ac_save_LIBS"
8653 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8654 then
8655 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8656 then
8657 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8659 else
8660 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8663 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8664 ac_save_LIBS="$LIBS"
8665 LIBS="$LIBS $COREAUDIO_LIBS"
8666 for ac_func in AUGraphAddNode
8667 do :
8668 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8669 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8670 cat >>confdefs.h <<_ACEOF
8671 #define HAVE_AUGRAPHADDNODE 1
8672 _ACEOF
8675 done
8677 LIBS="$ac_save_LIBS"
8679 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8680 then
8681 OPENAL_LIBS="-framework OpenAL"
8684 cat >>confdefs.h <<_ACEOF
8685 #define HAVE_OPENAL 1
8686 _ACEOF
8688 ac_cv_lib_openal=yes
8690 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8691 then
8692 OPENCL_LIBS="-framework OpenCL"
8694 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8696 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8697 then
8698 ac_save_LIBS="$LIBS"
8699 LIBS="$LIBS $IOKIT_LIBS"
8700 for ac_func in IOHIDManagerCreate
8701 do :
8702 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8703 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8704 cat >>confdefs.h <<_ACEOF
8705 #define HAVE_IOHIDMANAGERCREATE 1
8706 _ACEOF
8709 done
8711 LIBS="$ac_save_LIBS"
8713 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8714 then
8715 ac_save_LIBS="$LIBS"
8716 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8718 $as_echo_n "checking for the QuickTime framework... " >&6; }
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8721 #include <QuickTime/ImageCompression.h>
8723 main ()
8725 CodecManagerVersion(NULL);
8727 return 0;
8729 _ACEOF
8730 if ac_fn_c_try_link "$LINENO"; then :
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8732 $as_echo "yes" >&6; }
8733 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8735 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8736 else
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8738 $as_echo "no" >&6; }
8739 ac_cv_header_QuickTime_ImageCompression_h=no
8741 rm -f core conftest.err conftest.$ac_objext \
8742 conftest$ac_exeext conftest.$ac_ext
8743 LIBS="$ac_save_LIBS"
8745 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8746 then
8747 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8749 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8750 then
8751 CARBON_LIBS="-framework Carbon"
8754 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8755 then
8756 METAL_LIBS="-framework Metal -framework QuartzCore"
8760 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8761 then
8762 ac_save_LIBS="$LIBS"
8763 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8764 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8765 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8766 enable_winemac_drv=${enable_winemac_drv:-yes}
8769 LIBS="$ac_save_LIBS"
8772 if test "x$enable_win16" = "xyes"
8773 then
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8775 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8776 if test "$cross_compiling" = yes; then :
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8778 $as_echo "cross-compiling, assuming yes" >&6; }
8779 else
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8782 asm(".text\n"
8783 "bad:\tnop;nop\n"
8784 "good:\tnop;nop\n\t"
8785 ".globl _testfunc\n"
8786 "_testfunc:\tcallw good");
8787 extern void testfunc();
8789 main ()
8791 unsigned short *p = (unsigned short *)testfunc;
8792 return p[0] != 0xe866 || p[1] != 0xfffa
8794 return 0;
8796 _ACEOF
8797 if ac_fn_c_try_run "$LINENO"; then :
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8799 $as_echo "yes" >&6; }
8800 else
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8802 $as_echo "no" >&6; }
8803 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
8805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8806 conftest.$ac_objext conftest.beam conftest.$ac_ext
8811 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8813 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8815 WINELOADER_DEPENDS="wine_info.plist"
8817 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8818 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8821 linux-android*)
8822 DLLFLAGS="$DLLFLAGS -fPIC"
8823 LDEXECFLAGS="-Wl,-pie"
8824 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8826 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8827 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8828 $as_echo_n "(cached) " >&6
8829 else
8830 ac_wine_try_cflags_saved=$CFLAGS
8831 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8834 int main(int argc, char **argv) { return 0; }
8835 _ACEOF
8836 if ac_fn_c_try_link "$LINENO"; then :
8837 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8838 else
8839 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8841 rm -f core conftest.err conftest.$ac_objext \
8842 conftest$ac_exeext conftest.$ac_ext
8843 CFLAGS=$ac_wine_try_cflags_saved
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8846 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8847 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8848 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8850 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8852 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8853 if eval \${$as_ac_var+:} false; then :
8854 $as_echo_n "(cached) " >&6
8855 else
8856 ac_wine_try_cflags_saved=$CFLAGS
8857 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8860 int main(int argc, char **argv) { return 0; }
8861 _ACEOF
8862 if ac_fn_c_try_link "$LINENO"; then :
8863 eval "$as_ac_var=yes"
8864 else
8865 eval "$as_ac_var=no"
8867 rm -f core conftest.err conftest.$ac_objext \
8868 conftest$ac_exeext conftest.$ac_ext
8869 CFLAGS=$ac_wine_try_cflags_saved
8871 eval ac_res=\$$as_ac_var
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8873 $as_echo "$ac_res" >&6; }
8874 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8875 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8876 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8877 else
8878 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8880 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8881 if eval \${$as_ac_var+:} false; then :
8882 $as_echo_n "(cached) " >&6
8883 else
8884 ac_wine_try_cflags_saved=$CFLAGS
8885 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8887 /* end confdefs.h. */
8888 int main(int argc, char **argv) { return 0; }
8889 _ACEOF
8890 if ac_fn_c_try_link "$LINENO"; then :
8891 eval "$as_ac_var=yes"
8892 else
8893 eval "$as_ac_var=no"
8895 rm -f core conftest.err conftest.$ac_objext \
8896 conftest$ac_exeext conftest.$ac_ext
8897 CFLAGS=$ac_wine_try_cflags_saved
8899 eval ac_res=\$$as_ac_var
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8901 $as_echo "$ac_res" >&6; }
8902 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8903 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8904 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8908 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8909 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 ac_wine_try_cflags_saved=$CFLAGS
8913 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8916 int main(int argc, char **argv) { return 0; }
8917 _ACEOF
8918 if ac_fn_c_try_link "$LINENO"; then :
8919 ac_cv_cflags__Wl___enable_new_dtags=yes
8920 else
8921 ac_cv_cflags__Wl___enable_new_dtags=no
8923 rm -f core conftest.err conftest.$ac_objext \
8924 conftest$ac_exeext conftest.$ac_ext
8925 CFLAGS=$ac_wine_try_cflags_saved
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8928 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8929 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8930 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8933 LIBWINE_SHAREDLIB="libwine.so"
8935 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8937 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8940 $as_echo_n "checking for -lEGL... " >&6; }
8941 if ${ac_cv_lib_soname_EGL+:} false; then :
8942 $as_echo_n "(cached) " >&6
8943 else
8944 ac_check_soname_save_LIBS=$LIBS
8945 LIBS="-lEGL $LIBS"
8946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8949 /* Override any GCC internal prototype to avoid an error.
8950 Use char because int might match the return type of a GCC
8951 builtin and then its argument prototype would still apply. */
8952 #ifdef __cplusplus
8953 extern "C"
8954 #endif
8955 char eglGetProcAddress ();
8957 main ()
8959 return eglGetProcAddress ();
8961 return 0;
8963 _ACEOF
8964 if ac_fn_c_try_link "$LINENO"; then :
8965 case "$LIBEXT" in
8966 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8967 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'` ;;
8968 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8969 if ${ac_cv_lib_soname_EGL:+false} :; then :
8970 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8971 fi ;;
8972 esac
8974 rm -f core conftest.err conftest.$ac_objext \
8975 conftest$ac_exeext conftest.$ac_ext
8976 LIBS=$ac_check_soname_save_LIBS
8978 if ${ac_cv_lib_soname_EGL:+false} :; then :
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8980 $as_echo "not found" >&6; }
8982 else
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8984 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8986 cat >>confdefs.h <<_ACEOF
8987 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8988 _ACEOF
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8993 $as_echo_n "checking for -lGLESv2... " >&6; }
8994 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8995 $as_echo_n "(cached) " >&6
8996 else
8997 ac_check_soname_save_LIBS=$LIBS
8998 LIBS="-lGLESv2 $LIBS"
8999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9000 /* end confdefs.h. */
9002 /* Override any GCC internal prototype to avoid an error.
9003 Use char because int might match the return type of a GCC
9004 builtin and then its argument prototype would still apply. */
9005 #ifdef __cplusplus
9006 extern "C"
9007 #endif
9008 char glFlush ();
9010 main ()
9012 return glFlush ();
9014 return 0;
9016 _ACEOF
9017 if ac_fn_c_try_link "$LINENO"; then :
9018 case "$LIBEXT" in
9019 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9020 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'` ;;
9021 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9022 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9023 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9024 fi ;;
9025 esac
9027 rm -f core conftest.err conftest.$ac_objext \
9028 conftest$ac_exeext conftest.$ac_ext
9029 LIBS=$ac_check_soname_save_LIBS
9031 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9033 $as_echo "not found" >&6; }
9035 else
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9037 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9039 cat >>confdefs.h <<_ACEOF
9040 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9041 _ACEOF
9046 if test "x$exec_prefix" = xNONE
9047 then
9048 case $host_cpu in
9049 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9050 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9051 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9052 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9053 esac
9058 DLLFLAGS="$DLLFLAGS -fPIC"
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9060 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9061 if ${ac_cv_c_dll_gnuelf+:} false; then :
9062 $as_echo_n "(cached) " >&6
9063 else
9064 ac_wine_try_cflags_saved=$CFLAGS
9065 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9067 /* end confdefs.h. */
9068 void myfunc() {}
9069 _ACEOF
9070 if ac_fn_c_try_link "$LINENO"; then :
9071 ac_cv_c_dll_gnuelf="yes"
9072 else
9073 ac_cv_c_dll_gnuelf="no"
9075 rm -f core conftest.err conftest.$ac_objext \
9076 conftest$ac_exeext conftest.$ac_ext
9077 CFLAGS=$ac_wine_try_cflags_saved
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9080 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9081 if test "$ac_cv_c_dll_gnuelf" = "yes"
9082 then
9083 LIBWINE_LDFLAGS="-shared"
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9085 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9086 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9087 $as_echo_n "(cached) " >&6
9088 else
9089 ac_wine_try_cflags_saved=$CFLAGS
9090 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9093 int main(int argc, char **argv) { return 0; }
9094 _ACEOF
9095 if ac_fn_c_try_link "$LINENO"; then :
9096 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9097 else
9098 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9100 rm -f core conftest.err conftest.$ac_objext \
9101 conftest$ac_exeext conftest.$ac_ext
9102 CFLAGS=$ac_wine_try_cflags_saved
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9105 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9106 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9107 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9108 else
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9110 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9111 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9112 $as_echo_n "(cached) " >&6
9113 else
9114 ac_wine_try_cflags_saved=$CFLAGS
9115 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9117 /* end confdefs.h. */
9118 int main(int argc, char **argv) { return 0; }
9119 _ACEOF
9120 if ac_fn_c_try_link "$LINENO"; then :
9121 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9122 else
9123 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9125 rm -f core conftest.err conftest.$ac_objext \
9126 conftest$ac_exeext conftest.$ac_ext
9127 CFLAGS=$ac_wine_try_cflags_saved
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9130 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9131 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9132 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9136 echo '{ global: *; };' >conftest.map
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9138 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9139 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 ac_wine_try_cflags_saved=$CFLAGS
9143 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9146 int main(int argc, char **argv) { return 0; }
9147 _ACEOF
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9150 else
9151 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9153 rm -f core conftest.err conftest.$ac_objext \
9154 conftest$ac_exeext conftest.$ac_ext
9155 CFLAGS=$ac_wine_try_cflags_saved
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9158 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9159 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9160 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9162 rm -f conftest.map
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9165 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9166 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9167 $as_echo_n "(cached) " >&6
9168 else
9169 ac_wine_try_cflags_saved=$CFLAGS
9170 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9173 int main(int argc, char **argv) { return 0; }
9174 _ACEOF
9175 if ac_fn_c_try_link "$LINENO"; then :
9176 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9177 else
9178 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9180 rm -f core conftest.err conftest.$ac_objext \
9181 conftest$ac_exeext conftest.$ac_ext
9182 CFLAGS=$ac_wine_try_cflags_saved
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9185 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9186 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9187 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9190 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9192 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9193 if eval \${$as_ac_var+:} false; then :
9194 $as_echo_n "(cached) " >&6
9195 else
9196 ac_wine_try_cflags_saved=$CFLAGS
9197 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9199 /* end confdefs.h. */
9200 int main(int argc, char **argv) { return 0; }
9201 _ACEOF
9202 if ac_fn_c_try_link "$LINENO"; then :
9203 eval "$as_ac_var=yes"
9204 else
9205 eval "$as_ac_var=no"
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 CFLAGS=$ac_wine_try_cflags_saved
9211 eval ac_res=\$$as_ac_var
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9213 $as_echo "$ac_res" >&6; }
9214 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9215 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9216 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9217 else
9218 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9220 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9221 if eval \${$as_ac_var+:} false; then :
9222 $as_echo_n "(cached) " >&6
9223 else
9224 ac_wine_try_cflags_saved=$CFLAGS
9225 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9228 int main(int argc, char **argv) { return 0; }
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9231 eval "$as_ac_var=yes"
9232 else
9233 eval "$as_ac_var=no"
9235 rm -f core conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9237 CFLAGS=$ac_wine_try_cflags_saved
9239 eval ac_res=\$$as_ac_var
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9241 $as_echo "$ac_res" >&6; }
9242 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9243 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9244 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9249 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9250 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9251 $as_echo_n "(cached) " >&6
9252 else
9253 ac_wine_try_cflags_saved=$CFLAGS
9254 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9257 int main(int argc, char **argv) { return 0; }
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 ac_cv_cflags__Wl___enable_new_dtags=yes
9261 else
9262 ac_cv_cflags__Wl___enable_new_dtags=no
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 CFLAGS=$ac_wine_try_cflags_saved
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9269 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9270 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9271 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9274 case $host_cpu in
9275 *i[3456789]86* | x86_64 | *aarch64*)
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9277 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9278 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9279 $as_echo_n "(cached) " >&6
9280 else
9281 ac_wine_try_cflags_saved=$CFLAGS
9282 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9285 int main(int argc, char **argv) { return 0; }
9286 _ACEOF
9287 if ac_fn_c_try_link "$LINENO"; then :
9288 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9289 else
9290 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9292 rm -f core conftest.err conftest.$ac_objext \
9293 conftest$ac_exeext conftest.$ac_ext
9294 CFLAGS=$ac_wine_try_cflags_saved
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9297 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9298 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9299 case $host_os in
9300 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9301 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9302 esac
9303 else
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9305 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9306 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9307 $as_echo_n "(cached) " >&6
9308 else
9309 ac_wine_try_cflags_saved=$CFLAGS
9310 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9313 int main(int argc, char **argv) { return 0; }
9314 _ACEOF
9315 if ac_fn_c_try_link "$LINENO"; then :
9316 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9317 else
9318 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 CFLAGS=$ac_wine_try_cflags_saved
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9325 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9326 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9327 case $host_os in
9328 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9329 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9330 esac
9332 # Extract the first word of "prelink", so it can be a program name with args.
9333 set dummy prelink; ac_word=$2
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9335 $as_echo_n "checking for $ac_word... " >&6; }
9336 if ${ac_cv_path_PRELINK+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 case $PRELINK in
9340 [\\/]* | ?:[\\/]*)
9341 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9345 for as_dir in /sbin /usr/sbin $PATH
9347 IFS=$as_save_IFS
9348 test -z "$as_dir" && as_dir=.
9349 for ac_exec_ext in '' $ac_executable_extensions; do
9350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9351 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9353 break 2
9355 done
9356 done
9357 IFS=$as_save_IFS
9359 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9361 esac
9363 PRELINK=$ac_cv_path_PRELINK
9364 if test -n "$PRELINK"; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9366 $as_echo "$PRELINK" >&6; }
9367 else
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9369 $as_echo "no" >&6; }
9373 if test "x$PRELINK" = xfalse
9374 then
9375 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9379 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9380 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9381 $as_echo_n "(cached) " >&6
9382 else
9383 ac_wine_try_cflags_saved=$CFLAGS
9384 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9387 int main(int argc, char **argv) { return 0; }
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9391 else
9392 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 CFLAGS=$ac_wine_try_cflags_saved
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9399 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9400 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9401 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9404 esac
9406 else
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9408 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9409 if ${ac_cv_c_dll_unixware+:} false; then :
9410 $as_echo_n "(cached) " >&6
9411 else
9412 ac_wine_try_cflags_saved=$CFLAGS
9413 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9416 void myfunc() {}
9417 _ACEOF
9418 if ac_fn_c_try_link "$LINENO"; then :
9419 ac_cv_c_dll_unixware="yes"
9420 else
9421 ac_cv_c_dll_unixware="no"
9423 rm -f core conftest.err conftest.$ac_objext \
9424 conftest$ac_exeext conftest.$ac_ext
9425 CFLAGS=$ac_wine_try_cflags_saved
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9428 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9429 if test "$ac_cv_c_dll_unixware" = "yes"
9430 then
9431 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9434 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9436 LIBWINE_DEPENDS="wine.map"
9438 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9439 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9441 esac
9443 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9444 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9445 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9446 enable_winemac_drv=${enable_winemac_drv:-no}
9447 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9449 CROSSTARGET=""
9451 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9452 then
9453 case "$host_cpu" in
9454 aarch64*)
9455 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9456 arm*)
9457 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9458 i[3456789]86*)
9459 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
9460 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9461 mingw32-gcc" ;;
9462 x86_64)
9463 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
9464 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9466 ac_prefix_list="" ;;
9467 esac
9468 for ac_prog in $ac_prefix_list
9470 # Extract the first word of "$ac_prog", so it can be a program name with args.
9471 set dummy $ac_prog; ac_word=$2
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9473 $as_echo_n "checking for $ac_word... " >&6; }
9474 if ${ac_cv_prog_CROSSCC+:} false; then :
9475 $as_echo_n "(cached) " >&6
9476 else
9477 if test -n "$CROSSCC"; then
9478 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9479 else
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9481 for as_dir in $PATH
9483 IFS=$as_save_IFS
9484 test -z "$as_dir" && as_dir=.
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9487 ac_cv_prog_CROSSCC="$ac_prog"
9488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9489 break 2
9491 done
9492 done
9493 IFS=$as_save_IFS
9497 CROSSCC=$ac_cv_prog_CROSSCC
9498 if test -n "$CROSSCC"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9500 $as_echo "$CROSSCC" >&6; }
9501 else
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503 $as_echo "no" >&6; }
9507 test -n "$CROSSCC" && break
9508 done
9509 test -n "$CROSSCC" || CROSSCC="false"
9511 if test "$CROSSCC" != "false"
9512 then
9513 ac_save_CC="$CC"
9514 CC="$CROSSCC"
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9516 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9521 main ()
9525 return 0;
9527 _ACEOF
9528 if ac_fn_c_try_compile "$LINENO"; then :
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9530 $as_echo "yes" >&6; }
9531 set x $CROSSCC
9532 shift
9533 while test $# -ge 1
9535 case "$1" in
9536 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9537 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9538 esac
9539 shift
9540 done
9541 else
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9543 $as_echo "no" >&6; }
9545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9546 CC="$ac_save_CC"
9547 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9553 if test "$ac_cv_header_pthread_h" = "yes"
9554 then
9555 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9556 if test "x$ac_cv_func_pthread_create" = xyes; then :
9558 else
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9560 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9561 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9562 $as_echo_n "(cached) " >&6
9563 else
9564 ac_check_lib_save_LIBS=$LIBS
9565 LIBS="-lpthread $LIBS"
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9569 /* Override any GCC internal prototype to avoid an error.
9570 Use char because int might match the return type of a GCC
9571 builtin and then its argument prototype would still apply. */
9572 #ifdef __cplusplus
9573 extern "C"
9574 #endif
9575 char pthread_create ();
9577 main ()
9579 return pthread_create ();
9581 return 0;
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9585 ac_cv_lib_pthread_pthread_create=yes
9586 else
9587 ac_cv_lib_pthread_pthread_create=no
9589 rm -f core conftest.err conftest.$ac_objext \
9590 conftest$ac_exeext conftest.$ac_ext
9591 LIBS=$ac_check_lib_save_LIBS
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9594 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9595 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9596 PTHREAD_LIBS="-lpthread"
9603 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9604 case "x$with_pthread" in
9605 xno) ;;
9606 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9607 Wine cannot support threads without libpthread.
9608 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9609 esac
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9615 $as_echo_n "checking for X... " >&6; }
9618 # Check whether --with-x was given.
9619 if test "${with_x+set}" = set; then :
9620 withval=$with_x;
9623 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9624 if test "x$with_x" = xno; then
9625 # The user explicitly disabled X.
9626 have_x=disabled
9627 else
9628 case $x_includes,$x_libraries in #(
9629 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9630 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9631 $as_echo_n "(cached) " >&6
9632 else
9633 # One or both of the vars are not set, and there is no cached value.
9634 ac_x_includes=no ac_x_libraries=no
9635 rm -f -r conftest.dir
9636 if mkdir conftest.dir; then
9637 cd conftest.dir
9638 cat >Imakefile <<'_ACEOF'
9639 incroot:
9640 @echo incroot='${INCROOT}'
9641 usrlibdir:
9642 @echo usrlibdir='${USRLIBDIR}'
9643 libdir:
9644 @echo libdir='${LIBDIR}'
9645 _ACEOF
9646 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9647 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9648 for ac_var in incroot usrlibdir libdir; do
9649 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9650 done
9651 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9652 for ac_extension in a so sl dylib la dll; do
9653 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9654 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9655 ac_im_usrlibdir=$ac_im_libdir; break
9657 done
9658 # Screen out bogus values from the imake configuration. They are
9659 # bogus both because they are the default anyway, and because
9660 # using them would break gcc on systems where it needs fixed includes.
9661 case $ac_im_incroot in
9662 /usr/include) ac_x_includes= ;;
9663 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9664 esac
9665 case $ac_im_usrlibdir in
9666 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9667 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9668 esac
9670 cd ..
9671 rm -f -r conftest.dir
9674 # Standard set of common directories for X headers.
9675 # Check X11 before X11Rn because it is often a symlink to the current release.
9676 ac_x_header_dirs='
9677 /usr/X11/include
9678 /usr/X11R7/include
9679 /usr/X11R6/include
9680 /usr/X11R5/include
9681 /usr/X11R4/include
9683 /usr/include/X11
9684 /usr/include/X11R7
9685 /usr/include/X11R6
9686 /usr/include/X11R5
9687 /usr/include/X11R4
9689 /usr/local/X11/include
9690 /usr/local/X11R7/include
9691 /usr/local/X11R6/include
9692 /usr/local/X11R5/include
9693 /usr/local/X11R4/include
9695 /usr/local/include/X11
9696 /usr/local/include/X11R7
9697 /usr/local/include/X11R6
9698 /usr/local/include/X11R5
9699 /usr/local/include/X11R4
9701 /usr/X386/include
9702 /usr/x386/include
9703 /usr/XFree86/include/X11
9705 /usr/include
9706 /usr/local/include
9707 /usr/unsupported/include
9708 /usr/athena/include
9709 /usr/local/x11r5/include
9710 /usr/lpp/Xamples/include
9712 /usr/openwin/include
9713 /usr/openwin/share/include'
9715 if test "$ac_x_includes" = no; then
9716 # Guess where to find include files, by looking for Xlib.h.
9717 # First, try using that file with no special directory specified.
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9720 #include <X11/Xlib.h>
9721 _ACEOF
9722 if ac_fn_c_try_cpp "$LINENO"; then :
9723 # We can compile using X headers with no special include directory.
9724 ac_x_includes=
9725 else
9726 for ac_dir in $ac_x_header_dirs; do
9727 if test -r "$ac_dir/X11/Xlib.h"; then
9728 ac_x_includes=$ac_dir
9729 break
9731 done
9733 rm -f conftest.err conftest.i conftest.$ac_ext
9734 fi # $ac_x_includes = no
9736 if test "$ac_x_libraries" = no; then
9737 # Check for the libraries.
9738 # See if we find them without any special options.
9739 # Don't add to $LIBS permanently.
9740 ac_save_LIBS=$LIBS
9741 LIBS="-lX11 $LIBS"
9742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9743 /* end confdefs.h. */
9744 #include <X11/Xlib.h>
9746 main ()
9748 XrmInitialize ()
9750 return 0;
9752 _ACEOF
9753 if ac_fn_c_try_link "$LINENO"; then :
9754 LIBS=$ac_save_LIBS
9755 # We can link X programs with no special library path.
9756 ac_x_libraries=
9757 else
9758 LIBS=$ac_save_LIBS
9759 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9761 # Don't even attempt the hair of trying to link an X program!
9762 for ac_extension in a so sl dylib la dll; do
9763 if test -r "$ac_dir/libX11.$ac_extension"; then
9764 ac_x_libraries=$ac_dir
9765 break 2
9767 done
9768 done
9770 rm -f core conftest.err conftest.$ac_objext \
9771 conftest$ac_exeext conftest.$ac_ext
9772 fi # $ac_x_libraries = no
9774 case $ac_x_includes,$ac_x_libraries in #(
9775 no,* | *,no | *\'*)
9776 # Didn't find X, or a directory has "'" in its name.
9777 ac_cv_have_x="have_x=no";; #(
9779 # Record where we found X for the cache.
9780 ac_cv_have_x="have_x=yes\
9781 ac_x_includes='$ac_x_includes'\
9782 ac_x_libraries='$ac_x_libraries'"
9783 esac
9785 ;; #(
9786 *) have_x=yes;;
9787 esac
9788 eval "$ac_cv_have_x"
9789 fi # $with_x != no
9791 if test "$have_x" != yes; then
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9793 $as_echo "$have_x" >&6; }
9794 no_x=yes
9795 else
9796 # If each of the values was on the command line, it overrides each guess.
9797 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9798 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9799 # Update the cache value to reflect the command line values.
9800 ac_cv_have_x="have_x=yes\
9801 ac_x_includes='$x_includes'\
9802 ac_x_libraries='$x_libraries'"
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9804 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9807 if test "$no_x" = yes; then
9808 # Not all programs may use this symbol, but it does not hurt to define it.
9810 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9812 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9813 else
9814 if test -n "$x_includes"; then
9815 X_CFLAGS="$X_CFLAGS -I$x_includes"
9818 # It would also be nice to do this for all -L options, not just this one.
9819 if test -n "$x_libraries"; then
9820 X_LIBS="$X_LIBS -L$x_libraries"
9821 # For Solaris; some versions of Sun CC require a space after -R and
9822 # others require no space. Words are not sufficient . . . .
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9824 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9825 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9826 ac_xsave_c_werror_flag=$ac_c_werror_flag
9827 ac_c_werror_flag=yes
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9832 main ()
9836 return 0;
9838 _ACEOF
9839 if ac_fn_c_try_link "$LINENO"; then :
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9841 $as_echo "no" >&6; }
9842 X_LIBS="$X_LIBS -R$x_libraries"
9843 else
9844 LIBS="$ac_xsave_LIBS -R $x_libraries"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9849 main ()
9853 return 0;
9855 _ACEOF
9856 if ac_fn_c_try_link "$LINENO"; then :
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9858 $as_echo "yes" >&6; }
9859 X_LIBS="$X_LIBS -R $x_libraries"
9860 else
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9862 $as_echo "neither works" >&6; }
9864 rm -f core conftest.err conftest.$ac_objext \
9865 conftest$ac_exeext conftest.$ac_ext
9867 rm -f core conftest.err conftest.$ac_objext \
9868 conftest$ac_exeext conftest.$ac_ext
9869 ac_c_werror_flag=$ac_xsave_c_werror_flag
9870 LIBS=$ac_xsave_LIBS
9873 # Check for system-dependent libraries X programs must link with.
9874 # Do this before checking for the system-independent R6 libraries
9875 # (-lICE), since we may need -lsocket or whatever for X linking.
9877 if test "$ISC" = yes; then
9878 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9879 else
9880 # Martyn Johnson says this is needed for Ultrix, if the X
9881 # libraries were built with DECnet support. And Karl Berry says
9882 # the Alpha needs dnet_stub (dnet does not exist).
9883 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9887 /* Override any GCC internal prototype to avoid an error.
9888 Use char because int might match the return type of a GCC
9889 builtin and then its argument prototype would still apply. */
9890 #ifdef __cplusplus
9891 extern "C"
9892 #endif
9893 char XOpenDisplay ();
9895 main ()
9897 return XOpenDisplay ();
9899 return 0;
9901 _ACEOF
9902 if ac_fn_c_try_link "$LINENO"; then :
9904 else
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9906 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9907 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9908 $as_echo_n "(cached) " >&6
9909 else
9910 ac_check_lib_save_LIBS=$LIBS
9911 LIBS="-ldnet $LIBS"
9912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9913 /* end confdefs.h. */
9915 /* Override any GCC internal prototype to avoid an error.
9916 Use char because int might match the return type of a GCC
9917 builtin and then its argument prototype would still apply. */
9918 #ifdef __cplusplus
9919 extern "C"
9920 #endif
9921 char dnet_ntoa ();
9923 main ()
9925 return dnet_ntoa ();
9927 return 0;
9929 _ACEOF
9930 if ac_fn_c_try_link "$LINENO"; then :
9931 ac_cv_lib_dnet_dnet_ntoa=yes
9932 else
9933 ac_cv_lib_dnet_dnet_ntoa=no
9935 rm -f core conftest.err conftest.$ac_objext \
9936 conftest$ac_exeext conftest.$ac_ext
9937 LIBS=$ac_check_lib_save_LIBS
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9940 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9941 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9942 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9945 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9947 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9948 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9949 $as_echo_n "(cached) " >&6
9950 else
9951 ac_check_lib_save_LIBS=$LIBS
9952 LIBS="-ldnet_stub $LIBS"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9956 /* Override any GCC internal prototype to avoid an error.
9957 Use char because int might match the return type of a GCC
9958 builtin and then its argument prototype would still apply. */
9959 #ifdef __cplusplus
9960 extern "C"
9961 #endif
9962 char dnet_ntoa ();
9964 main ()
9966 return dnet_ntoa ();
9968 return 0;
9970 _ACEOF
9971 if ac_fn_c_try_link "$LINENO"; then :
9972 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9973 else
9974 ac_cv_lib_dnet_stub_dnet_ntoa=no
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_lib_save_LIBS
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9981 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9982 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9983 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9988 rm -f core conftest.err conftest.$ac_objext \
9989 conftest$ac_exeext conftest.$ac_ext
9990 LIBS="$ac_xsave_LIBS"
9992 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9993 # to get the SysV transport functions.
9994 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9995 # needs -lnsl.
9996 # The nsl library prevents programs from opening the X display
9997 # on Irix 5.2, according to T.E. Dickey.
9998 # The functions gethostbyname, getservbyname, and inet_addr are
9999 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10000 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10001 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10005 if test $ac_cv_func_gethostbyname = no; then
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10007 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10008 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10009 $as_echo_n "(cached) " >&6
10010 else
10011 ac_check_lib_save_LIBS=$LIBS
10012 LIBS="-lnsl $LIBS"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10019 #ifdef __cplusplus
10020 extern "C"
10021 #endif
10022 char gethostbyname ();
10024 main ()
10026 return gethostbyname ();
10028 return 0;
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"; then :
10032 ac_cv_lib_nsl_gethostbyname=yes
10033 else
10034 ac_cv_lib_nsl_gethostbyname=no
10036 rm -f core conftest.err conftest.$ac_objext \
10037 conftest$ac_exeext conftest.$ac_ext
10038 LIBS=$ac_check_lib_save_LIBS
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10041 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10042 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10043 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10046 if test $ac_cv_lib_nsl_gethostbyname = no; then
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10048 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10049 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10050 $as_echo_n "(cached) " >&6
10051 else
10052 ac_check_lib_save_LIBS=$LIBS
10053 LIBS="-lbsd $LIBS"
10054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10055 /* end confdefs.h. */
10057 /* Override any GCC internal prototype to avoid an error.
10058 Use char because int might match the return type of a GCC
10059 builtin and then its argument prototype would still apply. */
10060 #ifdef __cplusplus
10061 extern "C"
10062 #endif
10063 char gethostbyname ();
10065 main ()
10067 return gethostbyname ();
10069 return 0;
10071 _ACEOF
10072 if ac_fn_c_try_link "$LINENO"; then :
10073 ac_cv_lib_bsd_gethostbyname=yes
10074 else
10075 ac_cv_lib_bsd_gethostbyname=no
10077 rm -f core conftest.err conftest.$ac_objext \
10078 conftest$ac_exeext conftest.$ac_ext
10079 LIBS=$ac_check_lib_save_LIBS
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10082 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10083 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10084 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10090 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10091 # socket/setsockopt and other routines are undefined under SCO ODT
10092 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10093 # on later versions), says Simon Leinen: it contains gethostby*
10094 # variants that don't use the name server (or something). -lsocket
10095 # must be given before -lnsl if both are needed. We assume that
10096 # if connect needs -lnsl, so does gethostbyname.
10097 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10098 if test "x$ac_cv_func_connect" = xyes; then :
10102 if test $ac_cv_func_connect = no; then
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10104 $as_echo_n "checking for connect in -lsocket... " >&6; }
10105 if ${ac_cv_lib_socket_connect+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_check_lib_save_LIBS=$LIBS
10109 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10113 /* Override any GCC internal prototype to avoid an error.
10114 Use char because int might match the return type of a GCC
10115 builtin and then its argument prototype would still apply. */
10116 #ifdef __cplusplus
10117 extern "C"
10118 #endif
10119 char connect ();
10121 main ()
10123 return connect ();
10125 return 0;
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 ac_cv_lib_socket_connect=yes
10130 else
10131 ac_cv_lib_socket_connect=no
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 LIBS=$ac_check_lib_save_LIBS
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10138 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10139 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10140 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10145 # Guillermo Gomez says -lposix is necessary on A/UX.
10146 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10147 if test "x$ac_cv_func_remove" = xyes; then :
10151 if test $ac_cv_func_remove = no; then
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10153 $as_echo_n "checking for remove in -lposix... " >&6; }
10154 if ${ac_cv_lib_posix_remove+:} false; then :
10155 $as_echo_n "(cached) " >&6
10156 else
10157 ac_check_lib_save_LIBS=$LIBS
10158 LIBS="-lposix $LIBS"
10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10162 /* Override any GCC internal prototype to avoid an error.
10163 Use char because int might match the return type of a GCC
10164 builtin and then its argument prototype would still apply. */
10165 #ifdef __cplusplus
10166 extern "C"
10167 #endif
10168 char remove ();
10170 main ()
10172 return remove ();
10174 return 0;
10176 _ACEOF
10177 if ac_fn_c_try_link "$LINENO"; then :
10178 ac_cv_lib_posix_remove=yes
10179 else
10180 ac_cv_lib_posix_remove=no
10182 rm -f core conftest.err conftest.$ac_objext \
10183 conftest$ac_exeext conftest.$ac_ext
10184 LIBS=$ac_check_lib_save_LIBS
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10187 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10188 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10189 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10194 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10195 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10196 if test "x$ac_cv_func_shmat" = xyes; then :
10200 if test $ac_cv_func_shmat = no; then
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10202 $as_echo_n "checking for shmat in -lipc... " >&6; }
10203 if ${ac_cv_lib_ipc_shmat+:} false; then :
10204 $as_echo_n "(cached) " >&6
10205 else
10206 ac_check_lib_save_LIBS=$LIBS
10207 LIBS="-lipc $LIBS"
10208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h. */
10211 /* Override any GCC internal prototype to avoid an error.
10212 Use char because int might match the return type of a GCC
10213 builtin and then its argument prototype would still apply. */
10214 #ifdef __cplusplus
10215 extern "C"
10216 #endif
10217 char shmat ();
10219 main ()
10221 return shmat ();
10223 return 0;
10225 _ACEOF
10226 if ac_fn_c_try_link "$LINENO"; then :
10227 ac_cv_lib_ipc_shmat=yes
10228 else
10229 ac_cv_lib_ipc_shmat=no
10231 rm -f core conftest.err conftest.$ac_objext \
10232 conftest$ac_exeext conftest.$ac_ext
10233 LIBS=$ac_check_lib_save_LIBS
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10236 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10237 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10238 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10244 # Check for libraries that X11R6 Xt/Xaw programs need.
10245 ac_save_LDFLAGS=$LDFLAGS
10246 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10247 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10248 # check for ICE first), but we must link in the order -lSM -lICE or
10249 # we get undefined symbols. So assume we have SM if we have ICE.
10250 # These have to be linked with before -lX11, unlike the other
10251 # libraries we check for below, so use a different variable.
10252 # John Interrante, Karl Berry
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10254 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10255 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10256 $as_echo_n "(cached) " >&6
10257 else
10258 ac_check_lib_save_LIBS=$LIBS
10259 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10263 /* Override any GCC internal prototype to avoid an error.
10264 Use char because int might match the return type of a GCC
10265 builtin and then its argument prototype would still apply. */
10266 #ifdef __cplusplus
10267 extern "C"
10268 #endif
10269 char IceConnectionNumber ();
10271 main ()
10273 return IceConnectionNumber ();
10275 return 0;
10277 _ACEOF
10278 if ac_fn_c_try_link "$LINENO"; then :
10279 ac_cv_lib_ICE_IceConnectionNumber=yes
10280 else
10281 ac_cv_lib_ICE_IceConnectionNumber=no
10283 rm -f core conftest.err conftest.$ac_objext \
10284 conftest$ac_exeext conftest.$ac_ext
10285 LIBS=$ac_check_lib_save_LIBS
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10288 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10289 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10290 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10293 LDFLAGS=$ac_save_LDFLAGS
10298 if test "$have_x" = "yes"
10299 then
10300 ac_save_CPPFLAGS="$CPPFLAGS"
10301 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10304 $as_echo_n "checking for -lX11... " >&6; }
10305 if ${ac_cv_lib_soname_X11+:} false; then :
10306 $as_echo_n "(cached) " >&6
10307 else
10308 ac_check_soname_save_LIBS=$LIBS
10309 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10316 #ifdef __cplusplus
10317 extern "C"
10318 #endif
10319 char XCreateWindow ();
10321 main ()
10323 return XCreateWindow ();
10325 return 0;
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10329 case "$LIBEXT" in
10330 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10331 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'` ;;
10332 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10333 if ${ac_cv_lib_soname_X11:+false} :; then :
10334 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10335 fi ;;
10336 esac
10338 rm -f core conftest.err conftest.$ac_objext \
10339 conftest$ac_exeext conftest.$ac_ext
10340 LIBS=$ac_check_soname_save_LIBS
10342 if ${ac_cv_lib_soname_X11:+false} :; then :
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10344 $as_echo "not found" >&6; }
10346 else
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10348 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10350 cat >>confdefs.h <<_ACEOF
10351 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10352 _ACEOF
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10357 $as_echo_n "checking for -lXext... " >&6; }
10358 if ${ac_cv_lib_soname_Xext+:} false; then :
10359 $as_echo_n "(cached) " >&6
10360 else
10361 ac_check_soname_save_LIBS=$LIBS
10362 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h. */
10366 /* Override any GCC internal prototype to avoid an error.
10367 Use char because int might match the return type of a GCC
10368 builtin and then its argument prototype would still apply. */
10369 #ifdef __cplusplus
10370 extern "C"
10371 #endif
10372 char XextCreateExtension ();
10374 main ()
10376 return XextCreateExtension ();
10378 return 0;
10380 _ACEOF
10381 if ac_fn_c_try_link "$LINENO"; then :
10382 case "$LIBEXT" in
10383 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10384 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'` ;;
10385 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10386 if ${ac_cv_lib_soname_Xext:+false} :; then :
10387 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10388 fi ;;
10389 esac
10391 rm -f core conftest.err conftest.$ac_objext \
10392 conftest$ac_exeext conftest.$ac_ext
10393 LIBS=$ac_check_soname_save_LIBS
10395 if ${ac_cv_lib_soname_Xext:+false} :; then :
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10397 $as_echo "not found" >&6; }
10399 else
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10401 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10403 cat >>confdefs.h <<_ACEOF
10404 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10405 _ACEOF
10407 X_LIBS="$X_LIBS -lXext"
10409 X_LIBS="$X_LIBS -lX11"
10411 for ac_header in X11/Xlib.h \
10412 X11/XKBlib.h \
10413 X11/Xutil.h \
10414 X11/Xcursor/Xcursor.h \
10415 X11/extensions/shape.h \
10416 X11/extensions/XInput.h \
10417 X11/extensions/XInput2.h \
10418 X11/extensions/XShm.h \
10419 X11/extensions/Xcomposite.h \
10420 X11/extensions/Xfixes.h \
10421 X11/extensions/Xinerama.h \
10422 X11/extensions/Xrandr.h \
10423 X11/extensions/Xrender.h \
10424 X11/extensions/xf86vmode.h \
10425 X11/extensions/xf86vmproto.h
10426 do :
10427 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10428 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10429 # include <X11/Xlib.h>
10430 #endif
10431 #ifdef HAVE_X11_XUTIL_H
10432 # include <X11/Xutil.h>
10433 #endif
10435 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10436 cat >>confdefs.h <<_ACEOF
10437 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10438 _ACEOF
10442 done
10445 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10446 then
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10448 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10449 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10450 $as_echo_n "(cached) " >&6
10451 else
10452 ac_check_lib_save_LIBS=$LIBS
10453 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10457 /* Override any GCC internal prototype to avoid an error.
10458 Use char because int might match the return type of a GCC
10459 builtin and then its argument prototype would still apply. */
10460 #ifdef __cplusplus
10461 extern "C"
10462 #endif
10463 char XkbQueryExtension ();
10465 main ()
10467 return XkbQueryExtension ();
10469 return 0;
10471 _ACEOF
10472 if ac_fn_c_try_link "$LINENO"; then :
10473 ac_cv_lib_X11_XkbQueryExtension=yes
10474 else
10475 ac_cv_lib_X11_XkbQueryExtension=no
10477 rm -f core conftest.err conftest.$ac_objext \
10478 conftest$ac_exeext conftest.$ac_ext
10479 LIBS=$ac_check_lib_save_LIBS
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10482 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10483 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10485 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10491 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10492 then
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10494 $as_echo_n "checking for -lXcursor... " >&6; }
10495 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10496 $as_echo_n "(cached) " >&6
10497 else
10498 ac_check_soname_save_LIBS=$LIBS
10499 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10503 /* Override any GCC internal prototype to avoid an error.
10504 Use char because int might match the return type of a GCC
10505 builtin and then its argument prototype would still apply. */
10506 #ifdef __cplusplus
10507 extern "C"
10508 #endif
10509 char XcursorImageLoadCursor ();
10511 main ()
10513 return XcursorImageLoadCursor ();
10515 return 0;
10517 _ACEOF
10518 if ac_fn_c_try_link "$LINENO"; then :
10519 case "$LIBEXT" in
10520 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10521 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'` ;;
10522 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10523 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10524 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10525 fi ;;
10526 esac
10528 rm -f core conftest.err conftest.$ac_objext \
10529 conftest$ac_exeext conftest.$ac_ext
10530 LIBS=$ac_check_soname_save_LIBS
10532 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10534 $as_echo "not found" >&6; }
10536 else
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10538 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10540 cat >>confdefs.h <<_ACEOF
10541 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10542 _ACEOF
10547 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10548 case "x$with_xcursor" in
10549 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10550 xno) ;;
10551 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10552 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10553 esac
10557 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10558 then
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10560 $as_echo_n "checking for -lXi... " >&6; }
10561 if ${ac_cv_lib_soname_Xi+:} false; then :
10562 $as_echo_n "(cached) " >&6
10563 else
10564 ac_check_soname_save_LIBS=$LIBS
10565 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10567 /* end confdefs.h. */
10569 /* Override any GCC internal prototype to avoid an error.
10570 Use char because int might match the return type of a GCC
10571 builtin and then its argument prototype would still apply. */
10572 #ifdef __cplusplus
10573 extern "C"
10574 #endif
10575 char XOpenDevice ();
10577 main ()
10579 return XOpenDevice ();
10581 return 0;
10583 _ACEOF
10584 if ac_fn_c_try_link "$LINENO"; then :
10585 case "$LIBEXT" in
10586 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10587 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'` ;;
10588 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10589 if ${ac_cv_lib_soname_Xi:+false} :; then :
10590 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10591 fi ;;
10592 esac
10594 rm -f core conftest.err conftest.$ac_objext \
10595 conftest$ac_exeext conftest.$ac_ext
10596 LIBS=$ac_check_soname_save_LIBS
10598 if ${ac_cv_lib_soname_Xi:+false} :; then :
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10600 $as_echo "not found" >&6; }
10602 else
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10604 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10606 cat >>confdefs.h <<_ACEOF
10607 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10608 _ACEOF
10613 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10614 case "x$with_xinput" in
10615 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10616 xno) ;;
10617 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10618 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10619 esac
10623 if test "x$ac_cv_lib_soname_Xi" != x
10624 then
10625 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10626 case "x$with_xinput2" in
10627 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10628 xno) ;;
10629 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10630 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10631 esac
10636 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10637 then
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10639 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10640 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10641 $as_echo_n "(cached) " >&6
10642 else
10643 ac_check_lib_save_LIBS=$LIBS
10644 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10646 /* end confdefs.h. */
10648 /* Override any GCC internal prototype to avoid an error.
10649 Use char because int might match the return type of a GCC
10650 builtin and then its argument prototype would still apply. */
10651 #ifdef __cplusplus
10652 extern "C"
10653 #endif
10654 char XShmQueryExtension ();
10656 main ()
10658 return XShmQueryExtension ();
10660 return 0;
10662 _ACEOF
10663 if ac_fn_c_try_link "$LINENO"; then :
10664 ac_cv_lib_Xext_XShmQueryExtension=yes
10665 else
10666 ac_cv_lib_Xext_XShmQueryExtension=no
10668 rm -f core conftest.err conftest.$ac_objext \
10669 conftest$ac_exeext conftest.$ac_ext
10670 LIBS=$ac_check_lib_save_LIBS
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10673 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10674 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10676 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10681 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10682 case "x$with_xshm" in
10683 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10684 xno) ;;
10685 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10686 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10687 esac
10691 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10692 then
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10694 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10695 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10696 $as_echo_n "(cached) " >&6
10697 else
10698 ac_check_lib_save_LIBS=$LIBS
10699 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10703 /* Override any GCC internal prototype to avoid an error.
10704 Use char because int might match the return type of a GCC
10705 builtin and then its argument prototype would still apply. */
10706 #ifdef __cplusplus
10707 extern "C"
10708 #endif
10709 char XShapeQueryExtension ();
10711 main ()
10713 return XShapeQueryExtension ();
10715 return 0;
10717 _ACEOF
10718 if ac_fn_c_try_link "$LINENO"; then :
10719 ac_cv_lib_Xext_XShapeQueryExtension=yes
10720 else
10721 ac_cv_lib_Xext_XShapeQueryExtension=no
10723 rm -f core conftest.err conftest.$ac_objext \
10724 conftest$ac_exeext conftest.$ac_ext
10725 LIBS=$ac_check_lib_save_LIBS
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10728 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10729 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10731 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10736 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10737 case "x$with_xshape" in
10738 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10739 xno) ;;
10740 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10741 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10742 esac
10746 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10747 then
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10749 $as_echo_n "checking for -lXxf86vm... " >&6; }
10750 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10751 $as_echo_n "(cached) " >&6
10752 else
10753 ac_check_soname_save_LIBS=$LIBS
10754 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10758 /* Override any GCC internal prototype to avoid an error.
10759 Use char because int might match the return type of a GCC
10760 builtin and then its argument prototype would still apply. */
10761 #ifdef __cplusplus
10762 extern "C"
10763 #endif
10764 char XF86VidModeQueryExtension ();
10766 main ()
10768 return XF86VidModeQueryExtension ();
10770 return 0;
10772 _ACEOF
10773 if ac_fn_c_try_link "$LINENO"; then :
10774 case "$LIBEXT" in
10775 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10776 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'` ;;
10777 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10778 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10779 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10780 fi ;;
10781 esac
10783 rm -f core conftest.err conftest.$ac_objext \
10784 conftest$ac_exeext conftest.$ac_ext
10785 LIBS=$ac_check_soname_save_LIBS
10787 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10789 $as_echo "not found" >&6; }
10791 else
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10793 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10795 cat >>confdefs.h <<_ACEOF
10796 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10797 _ACEOF
10802 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10803 case "x$with_xxf86vm" in
10804 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10805 xno) ;;
10806 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10807 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10808 esac
10812 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10813 then
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10815 $as_echo_n "checking for -lXrender... " >&6; }
10816 if ${ac_cv_lib_soname_Xrender+:} false; then :
10817 $as_echo_n "(cached) " >&6
10818 else
10819 ac_check_soname_save_LIBS=$LIBS
10820 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10824 /* Override any GCC internal prototype to avoid an error.
10825 Use char because int might match the return type of a GCC
10826 builtin and then its argument prototype would still apply. */
10827 #ifdef __cplusplus
10828 extern "C"
10829 #endif
10830 char XRenderQueryExtension ();
10832 main ()
10834 return XRenderQueryExtension ();
10836 return 0;
10838 _ACEOF
10839 if ac_fn_c_try_link "$LINENO"; then :
10840 case "$LIBEXT" in
10841 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10842 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'` ;;
10843 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10844 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10845 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10846 fi ;;
10847 esac
10849 rm -f core conftest.err conftest.$ac_objext \
10850 conftest$ac_exeext conftest.$ac_ext
10851 LIBS=$ac_check_soname_save_LIBS
10853 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10855 $as_echo "not found" >&6; }
10857 else
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10859 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10861 cat >>confdefs.h <<_ACEOF
10862 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10863 _ACEOF
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10866 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10867 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10868 $as_echo_n "(cached) " >&6
10869 else
10870 ac_check_lib_save_LIBS=$LIBS
10871 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10875 /* Override any GCC internal prototype to avoid an error.
10876 Use char because int might match the return type of a GCC
10877 builtin and then its argument prototype would still apply. */
10878 #ifdef __cplusplus
10879 extern "C"
10880 #endif
10881 char XRenderSetPictureTransform ();
10883 main ()
10885 return XRenderSetPictureTransform ();
10887 return 0;
10889 _ACEOF
10890 if ac_fn_c_try_link "$LINENO"; then :
10891 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10892 else
10893 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10895 rm -f core conftest.err conftest.$ac_objext \
10896 conftest$ac_exeext conftest.$ac_ext
10897 LIBS=$ac_check_lib_save_LIBS
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10900 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10901 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10903 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10908 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10909 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10910 $as_echo_n "(cached) " >&6
10911 else
10912 ac_check_lib_save_LIBS=$LIBS
10913 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10917 /* Override any GCC internal prototype to avoid an error.
10918 Use char because int might match the return type of a GCC
10919 builtin and then its argument prototype would still apply. */
10920 #ifdef __cplusplus
10921 extern "C"
10922 #endif
10923 char XRenderCreateLinearGradient ();
10925 main ()
10927 return XRenderCreateLinearGradient ();
10929 return 0;
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"; then :
10933 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10934 else
10935 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10937 rm -f core conftest.err conftest.$ac_objext \
10938 conftest$ac_exeext conftest.$ac_ext
10939 LIBS=$ac_check_lib_save_LIBS
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10942 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10943 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10945 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10952 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10953 case "x$with_xrender" in
10954 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10955 xno) ;;
10956 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10957 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10958 esac
10962 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10963 then
10964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10966 #include <X11/Xlib.h>
10967 #include <X11/extensions/Xrandr.h>
10969 main ()
10971 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10973 return 0;
10975 _ACEOF
10976 if ac_fn_c_try_compile "$LINENO"; then :
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10978 $as_echo_n "checking for -lXrandr... " >&6; }
10979 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10980 $as_echo_n "(cached) " >&6
10981 else
10982 ac_check_soname_save_LIBS=$LIBS
10983 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10987 /* Override any GCC internal prototype to avoid an error.
10988 Use char because int might match the return type of a GCC
10989 builtin and then its argument prototype would still apply. */
10990 #ifdef __cplusplus
10991 extern "C"
10992 #endif
10993 char XRRQueryExtension ();
10995 main ()
10997 return XRRQueryExtension ();
10999 return 0;
11001 _ACEOF
11002 if ac_fn_c_try_link "$LINENO"; then :
11003 case "$LIBEXT" in
11004 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11005 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'` ;;
11006 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11007 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11008 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11009 fi ;;
11010 esac
11012 rm -f core conftest.err conftest.$ac_objext \
11013 conftest$ac_exeext conftest.$ac_ext
11014 LIBS=$ac_check_soname_save_LIBS
11016 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11018 $as_echo "not found" >&6; }
11020 else
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11022 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11024 cat >>confdefs.h <<_ACEOF
11025 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11026 _ACEOF
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11030 #include <X11/Xlib.h>
11031 #include <X11/extensions/Xrandr.h>
11033 main ()
11035 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11037 return 0;
11039 _ACEOF
11040 if ac_fn_c_try_compile "$LINENO"; then :
11042 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11050 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11051 case "x$with_xrandr" in
11052 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11053 xno) ;;
11054 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11055 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11056 esac
11060 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11061 then
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11064 #include <X11/Xlib.h>
11065 #include <X11/extensions/Xfixes.h>
11067 main ()
11069 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11071 return 0;
11073 _ACEOF
11074 if ac_fn_c_try_compile "$LINENO"; then :
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11076 $as_echo_n "checking for -lXfixes... " >&6; }
11077 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11078 $as_echo_n "(cached) " >&6
11079 else
11080 ac_check_soname_save_LIBS=$LIBS
11081 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11085 /* Override any GCC internal prototype to avoid an error.
11086 Use char because int might match the return type of a GCC
11087 builtin and then its argument prototype would still apply. */
11088 #ifdef __cplusplus
11089 extern "C"
11090 #endif
11091 char XFixesQueryVersion ();
11093 main ()
11095 return XFixesQueryVersion ();
11097 return 0;
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 case "$LIBEXT" in
11102 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11103 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'` ;;
11104 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11105 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11106 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11107 fi ;;
11108 esac
11110 rm -f core conftest.err conftest.$ac_objext \
11111 conftest$ac_exeext conftest.$ac_ext
11112 LIBS=$ac_check_soname_save_LIBS
11114 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11116 $as_echo "not found" >&6; }
11118 else
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11120 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11122 cat >>confdefs.h <<_ACEOF
11123 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11124 _ACEOF
11129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11131 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11132 case "x$with_xfixes" in
11133 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11134 xno) ;;
11135 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11136 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11137 esac
11141 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11142 then
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11145 #include <X11/Xlib.h>
11146 #include <X11/extensions/Xinerama.h>
11148 main ()
11150 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11152 return 0;
11154 _ACEOF
11155 if ac_fn_c_try_compile "$LINENO"; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11157 $as_echo_n "checking for -lXinerama... " >&6; }
11158 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11159 $as_echo_n "(cached) " >&6
11160 else
11161 ac_check_soname_save_LIBS=$LIBS
11162 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11169 #ifdef __cplusplus
11170 extern "C"
11171 #endif
11172 char XineramaQueryScreens ();
11174 main ()
11176 return XineramaQueryScreens ();
11178 return 0;
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"; then :
11182 case "$LIBEXT" in
11183 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11184 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'` ;;
11185 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11186 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11187 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11188 fi ;;
11189 esac
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_soname_save_LIBS
11195 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11197 $as_echo "not found" >&6; }
11199 else
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11201 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11203 cat >>confdefs.h <<_ACEOF
11204 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11205 _ACEOF
11210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11212 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11213 case "x$with_xinerama" in
11214 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11215 xno) ;;
11216 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11217 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11218 esac
11222 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11223 then
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11225 $as_echo_n "checking for -lXcomposite... " >&6; }
11226 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11227 $as_echo_n "(cached) " >&6
11228 else
11229 ac_check_soname_save_LIBS=$LIBS
11230 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11234 /* Override any GCC internal prototype to avoid an error.
11235 Use char because int might match the return type of a GCC
11236 builtin and then its argument prototype would still apply. */
11237 #ifdef __cplusplus
11238 extern "C"
11239 #endif
11240 char XCompositeRedirectWindow ();
11242 main ()
11244 return XCompositeRedirectWindow ();
11246 return 0;
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"; then :
11250 case "$LIBEXT" in
11251 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11252 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'` ;;
11253 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11254 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11255 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11256 fi ;;
11257 esac
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_soname_save_LIBS
11263 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11265 $as_echo "not found" >&6; }
11267 else
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11269 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11271 cat >>confdefs.h <<_ACEOF
11272 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11273 _ACEOF
11278 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11279 case "x$with_xcomposite" in
11280 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11281 xno) ;;
11282 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11283 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11284 esac
11288 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11289 #include <X11/Xlib.h>
11290 #endif
11292 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11294 cat >>confdefs.h <<_ACEOF
11295 #define HAVE_XICCALLBACK_CALLBACK 1
11296 _ACEOF
11300 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11301 #include <X11/Xlib.h>
11302 #endif
11304 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11306 cat >>confdefs.h <<_ACEOF
11307 #define HAVE_XEVENT_XCOOKIE 1
11308 _ACEOF
11315 opengl_msg=""
11316 if test "x$with_opengl" != "xno"
11317 then
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11319 $as_echo_n "checking for -lGL... " >&6; }
11320 if ${ac_cv_lib_soname_GL+:} false; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_soname_save_LIBS=$LIBS
11324 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char glXCreateContext ();
11336 main ()
11338 return glXCreateContext ();
11340 return 0;
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 case "$LIBEXT" in
11345 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11346 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'` ;;
11347 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11348 if ${ac_cv_lib_soname_GL:+false} :; then :
11349 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11350 fi ;;
11351 esac
11353 rm -f core conftest.err conftest.$ac_objext \
11354 conftest$ac_exeext conftest.$ac_ext
11355 LIBS=$ac_check_soname_save_LIBS
11357 if ${ac_cv_lib_soname_GL:+false} :; then :
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11359 $as_echo "not found" >&6; }
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11361 $as_echo_n "checking for -lGL... " >&6; }
11362 if ${ac_cv_lib_soname_GL+:} false; then :
11363 $as_echo_n "(cached) " >&6
11364 else
11365 ac_check_soname_save_LIBS=$LIBS
11366 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"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11370 /* Override any GCC internal prototype to avoid an error.
11371 Use char because int might match the return type of a GCC
11372 builtin and then its argument prototype would still apply. */
11373 #ifdef __cplusplus
11374 extern "C"
11375 #endif
11376 char glXCreateContext ();
11378 main ()
11380 return glXCreateContext ();
11382 return 0;
11384 _ACEOF
11385 if ac_fn_c_try_link "$LINENO"; then :
11386 case "$LIBEXT" in
11387 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11388 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'` ;;
11389 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11390 if ${ac_cv_lib_soname_GL:+false} :; then :
11391 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11392 fi ;;
11393 esac
11395 rm -f core conftest.err conftest.$ac_objext \
11396 conftest$ac_exeext conftest.$ac_ext
11397 LIBS=$ac_check_soname_save_LIBS
11399 if ${ac_cv_lib_soname_GL:+false} :; then :
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11401 $as_echo "not found" >&6; }
11402 if test -f /usr/X11R6/lib/libGL.a
11403 then
11404 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11405 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11406 else
11407 opengl_msg="No OpenGL library found on this system."
11409 else
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11411 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11413 cat >>confdefs.h <<_ACEOF
11414 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11415 _ACEOF
11417 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"
11419 else
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11421 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11423 cat >>confdefs.h <<_ACEOF
11424 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11425 _ACEOF
11427 OPENGL_LIBS="-lGL"
11429 if test "x$with_glu" != "xno"
11430 then
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11432 $as_echo_n "checking for -lGLU... " >&6; }
11433 if ${ac_cv_lib_soname_GLU+:} false; then :
11434 $as_echo_n "(cached) " >&6
11435 else
11436 ac_check_soname_save_LIBS=$LIBS
11437 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11441 /* Override any GCC internal prototype to avoid an error.
11442 Use char because int might match the return type of a GCC
11443 builtin and then its argument prototype would still apply. */
11444 #ifdef __cplusplus
11445 extern "C"
11446 #endif
11447 char gluLookAt ();
11449 main ()
11451 return gluLookAt ();
11453 return 0;
11455 _ACEOF
11456 if ac_fn_c_try_link "$LINENO"; then :
11457 case "$LIBEXT" in
11458 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11459 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'` ;;
11460 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11461 if ${ac_cv_lib_soname_GLU:+false} :; then :
11462 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11463 fi ;;
11464 esac
11466 rm -f core conftest.err conftest.$ac_objext \
11467 conftest$ac_exeext conftest.$ac_ext
11468 LIBS=$ac_check_soname_save_LIBS
11470 if ${ac_cv_lib_soname_GLU:+false} :; then :
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11472 $as_echo "not found" >&6; }
11474 else
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11476 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11478 cat >>confdefs.h <<_ACEOF
11479 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11480 _ACEOF
11484 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11485 case "x$with_glu" in
11486 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11487 xno) ;;
11488 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11489 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11490 esac
11495 if test "x$with_osmesa" != "xno"
11496 then
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11498 $as_echo_n "checking for -lOSMesa... " >&6; }
11499 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11500 $as_echo_n "(cached) " >&6
11501 else
11502 ac_check_soname_save_LIBS=$LIBS
11503 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11507 /* Override any GCC internal prototype to avoid an error.
11508 Use char because int might match the return type of a GCC
11509 builtin and then its argument prototype would still apply. */
11510 #ifdef __cplusplus
11511 extern "C"
11512 #endif
11513 char OSMesaGetProcAddress ();
11515 main ()
11517 return OSMesaGetProcAddress ();
11519 return 0;
11521 _ACEOF
11522 if ac_fn_c_try_link "$LINENO"; then :
11523 case "$LIBEXT" in
11524 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11525 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'` ;;
11526 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11527 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11528 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11529 fi ;;
11530 esac
11532 rm -f core conftest.err conftest.$ac_objext \
11533 conftest$ac_exeext conftest.$ac_ext
11534 LIBS=$ac_check_soname_save_LIBS
11536 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11538 $as_echo "not found" >&6; }
11540 else
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11542 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11544 cat >>confdefs.h <<_ACEOF
11545 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11546 _ACEOF
11550 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11551 case "x$with_osmesa" in
11552 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11553 xno) ;;
11554 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11555 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11556 esac
11561 if test -n "$opengl_msg"; then :
11562 case "x$with_opengl" in
11563 x) as_fn_append wine_warnings "|$opengl_msg
11564 OpenGL and Direct3D won't be supported." ;;
11565 xno) ;;
11566 *) as_fn_error $? "$opengl_msg
11567 OpenGL and Direct3D won't be supported.
11568 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11569 esac
11573 CPPFLAGS="$ac_save_CPPFLAGS"
11574 else
11575 X_CFLAGS=""
11576 X_LIBS=""
11579 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11580 then
11581 if test "x$X_LIBS" = "x"; then :
11582 case "x$with_x" in
11583 xno) ;;
11584 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11585 without X support, which probably isn't what you want. You will need
11586 to install ${notice_platform}development packages of Xlib at the very least.
11587 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11588 esac
11589 enable_winex11_drv=${enable_winex11_drv:-no}
11591 else
11592 if test "x$X_LIBS" = "x"; then :
11593 case "x$with_x" in
11594 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11595 xno) ;;
11596 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11597 This is an error since --with-x was requested." "$LINENO" 5 ;;
11598 esac
11599 enable_winex11_drv=${enable_winex11_drv:-no}
11603 if test "$ac_cv_header_CL_cl_h" = "yes"
11604 then
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11606 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11607 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11608 $as_echo_n "(cached) " >&6
11609 else
11610 ac_check_lib_save_LIBS=$LIBS
11611 LIBS="-lOpenCL $LIBS"
11612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11613 /* end confdefs.h. */
11615 /* Override any GCC internal prototype to avoid an error.
11616 Use char because int might match the return type of a GCC
11617 builtin and then its argument prototype would still apply. */
11618 #ifdef __cplusplus
11619 extern "C"
11620 #endif
11621 char clGetPlatformInfo ();
11623 main ()
11625 return clGetPlatformInfo ();
11627 return 0;
11629 _ACEOF
11630 if ac_fn_c_try_link "$LINENO"; then :
11631 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11632 else
11633 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11635 rm -f core conftest.err conftest.$ac_objext \
11636 conftest$ac_exeext conftest.$ac_ext
11637 LIBS=$ac_check_lib_save_LIBS
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11640 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11641 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11642 OPENCL_LIBS="-lOpenCL"
11647 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11648 case "x$with_opencl" in
11649 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11650 xno) ;;
11651 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11652 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11653 esac
11654 enable_opencl=${enable_opencl:-no}
11657 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11658 then
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11660 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11661 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11662 $as_echo_n "(cached) " >&6
11663 else
11664 ac_check_lib_save_LIBS=$LIBS
11665 LIBS="-lpcap $LIBS"
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11672 #ifdef __cplusplus
11673 extern "C"
11674 #endif
11675 char pcap_create ();
11677 main ()
11679 return pcap_create ();
11681 return 0;
11683 _ACEOF
11684 if ac_fn_c_try_link "$LINENO"; then :
11685 ac_cv_lib_pcap_pcap_create=yes
11686 else
11687 ac_cv_lib_pcap_pcap_create=no
11689 rm -f core conftest.err conftest.$ac_objext \
11690 conftest$ac_exeext conftest.$ac_ext
11691 LIBS=$ac_check_lib_save_LIBS
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11694 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11695 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11696 PCAP_LIBS="-lpcap"
11701 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11702 case "x$with_pcap" in
11703 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11704 xno) ;;
11705 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11706 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11707 esac
11708 enable_wpcap=${enable_wpcap:-no}
11712 if test "x$with_xml" != "xno"
11713 then
11714 if ${XML2_CFLAGS:+false} :; then :
11715 if ${PKG_CONFIG+:} false; then :
11716 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11719 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11720 if ${XML2_LIBS:+false} :; then :
11721 if ${PKG_CONFIG+:} false; then :
11722 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11725 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11726 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11727 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11728 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11729 ac_save_CPPFLAGS=$CPPFLAGS
11730 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11731 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11732 do :
11733 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11734 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11735 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11736 cat >>confdefs.h <<_ACEOF
11737 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11738 _ACEOF
11742 done
11744 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"
11745 then
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11747 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11748 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11749 $as_echo_n "(cached) " >&6
11750 else
11751 ac_check_lib_save_LIBS=$LIBS
11752 LIBS="-lxml2 $XML2_LIBS $LIBS"
11753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11754 /* end confdefs.h. */
11756 /* Override any GCC internal prototype to avoid an error.
11757 Use char because int might match the return type of a GCC
11758 builtin and then its argument prototype would still apply. */
11759 #ifdef __cplusplus
11760 extern "C"
11761 #endif
11762 char xmlParseMemory ();
11764 main ()
11766 return xmlParseMemory ();
11768 return 0;
11770 _ACEOF
11771 if ac_fn_c_try_link "$LINENO"; then :
11772 ac_cv_lib_xml2_xmlParseMemory=yes
11773 else
11774 ac_cv_lib_xml2_xmlParseMemory=no
11776 rm -f core conftest.err conftest.$ac_objext \
11777 conftest$ac_exeext conftest.$ac_ext
11778 LIBS=$ac_check_lib_save_LIBS
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11781 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11782 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11784 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11786 else
11787 XML2_LIBS=""
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11791 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11792 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11793 $as_echo_n "(cached) " >&6
11794 else
11795 ac_check_lib_save_LIBS=$LIBS
11796 LIBS="-lxml2 $XML2_LIBS $LIBS"
11797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11803 #ifdef __cplusplus
11804 extern "C"
11805 #endif
11806 char xmlReadMemory ();
11808 main ()
11810 return xmlReadMemory ();
11812 return 0;
11814 _ACEOF
11815 if ac_fn_c_try_link "$LINENO"; then :
11816 ac_cv_lib_xml2_xmlReadMemory=yes
11817 else
11818 ac_cv_lib_xml2_xmlReadMemory=no
11820 rm -f core conftest.err conftest.$ac_objext \
11821 conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_lib_save_LIBS
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11825 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11826 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11828 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11833 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11834 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11835 $as_echo_n "(cached) " >&6
11836 else
11837 ac_check_lib_save_LIBS=$LIBS
11838 LIBS="-lxml2 $XML2_LIBS $LIBS"
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11842 /* Override any GCC internal prototype to avoid an error.
11843 Use char because int might match the return type of a GCC
11844 builtin and then its argument prototype would still apply. */
11845 #ifdef __cplusplus
11846 extern "C"
11847 #endif
11848 char xmlNewDocPI ();
11850 main ()
11852 return xmlNewDocPI ();
11854 return 0;
11856 _ACEOF
11857 if ac_fn_c_try_link "$LINENO"; then :
11858 ac_cv_lib_xml2_xmlNewDocPI=yes
11859 else
11860 ac_cv_lib_xml2_xmlNewDocPI=no
11862 rm -f core conftest.err conftest.$ac_objext \
11863 conftest$ac_exeext conftest.$ac_ext
11864 LIBS=$ac_check_lib_save_LIBS
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11867 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11868 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11870 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11875 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11876 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11877 $as_echo_n "(cached) " >&6
11878 else
11879 ac_check_lib_save_LIBS=$LIBS
11880 LIBS="-lxml2 $XML2_LIBS $LIBS"
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11887 #ifdef __cplusplus
11888 extern "C"
11889 #endif
11890 char xmlSchemaSetParserStructuredErrors ();
11892 main ()
11894 return xmlSchemaSetParserStructuredErrors ();
11896 return 0;
11898 _ACEOF
11899 if ac_fn_c_try_link "$LINENO"; then :
11900 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11901 else
11902 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11904 rm -f core conftest.err conftest.$ac_objext \
11905 conftest$ac_exeext conftest.$ac_ext
11906 LIBS=$ac_check_lib_save_LIBS
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11909 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11910 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11912 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11917 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11918 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11919 $as_echo_n "(cached) " >&6
11920 else
11921 ac_check_lib_save_LIBS=$LIBS
11922 LIBS="-lxml2 $XML2_LIBS $LIBS"
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11929 #ifdef __cplusplus
11930 extern "C"
11931 #endif
11932 char xmlSchemaSetValidStructuredErrors ();
11934 main ()
11936 return xmlSchemaSetValidStructuredErrors ();
11938 return 0;
11940 _ACEOF
11941 if ac_fn_c_try_link "$LINENO"; then :
11942 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11943 else
11944 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11946 rm -f core conftest.err conftest.$ac_objext \
11947 conftest$ac_exeext conftest.$ac_ext
11948 LIBS=$ac_check_lib_save_LIBS
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11951 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11952 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11954 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11959 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11960 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11961 $as_echo_n "(cached) " >&6
11962 else
11963 ac_check_lib_save_LIBS=$LIBS
11964 LIBS="-lxml2 $XML2_LIBS $LIBS"
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11968 /* Override any GCC internal prototype to avoid an error.
11969 Use char because int might match the return type of a GCC
11970 builtin and then its argument prototype would still apply. */
11971 #ifdef __cplusplus
11972 extern "C"
11973 #endif
11974 char xmlFirstElementChild ();
11976 main ()
11978 return xmlFirstElementChild ();
11980 return 0;
11982 _ACEOF
11983 if ac_fn_c_try_link "$LINENO"; then :
11984 ac_cv_lib_xml2_xmlFirstElementChild=yes
11985 else
11986 ac_cv_lib_xml2_xmlFirstElementChild=no
11988 rm -f core conftest.err conftest.$ac_objext \
11989 conftest$ac_exeext conftest.$ac_ext
11990 LIBS=$ac_check_lib_save_LIBS
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11993 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11994 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11996 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12000 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12002 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12004 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12008 else
12009 XML2_CFLAGS=""
12010 XML2_LIBS=""
12012 CPPFLAGS=$ac_save_CPPFLAGS
12013 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12014 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12017 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12018 case "x$with_xml" in
12019 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12020 xno) ;;
12021 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12022 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12023 esac
12027 if test "x$with_xslt" != "xno"
12028 then
12029 if ${XSLT_CFLAGS:+false} :; then :
12030 if ${PKG_CONFIG+:} false; then :
12031 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12034 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12035 if ${XSLT_LIBS:+false} :; then :
12036 if ${PKG_CONFIG+:} false; then :
12037 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12040 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12041 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12042 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12043 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12044 ac_save_CPPFLAGS=$CPPFLAGS
12045 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12046 for ac_header in libxslt/pattern.h libxslt/transform.h
12047 do :
12048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12049 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12050 # include <libxslt/pattern.h>
12051 #endif
12053 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12054 cat >>confdefs.h <<_ACEOF
12055 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12056 _ACEOF
12060 done
12062 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12063 then
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12065 $as_echo_n "checking for -lxslt... " >&6; }
12066 if ${ac_cv_lib_soname_xslt+:} false; then :
12067 $as_echo_n "(cached) " >&6
12068 else
12069 ac_check_soname_save_LIBS=$LIBS
12070 LIBS="-lxslt $XSLT_LIBS $LIBS"
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12074 /* Override any GCC internal prototype to avoid an error.
12075 Use char because int might match the return type of a GCC
12076 builtin and then its argument prototype would still apply. */
12077 #ifdef __cplusplus
12078 extern "C"
12079 #endif
12080 char xsltCompilePattern ();
12082 main ()
12084 return xsltCompilePattern ();
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_link "$LINENO"; then :
12090 case "$LIBEXT" in
12091 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12092 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'` ;;
12093 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12094 if ${ac_cv_lib_soname_xslt:+false} :; then :
12095 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12096 fi ;;
12097 esac
12099 rm -f core conftest.err conftest.$ac_objext \
12100 conftest$ac_exeext conftest.$ac_ext
12101 LIBS=$ac_check_soname_save_LIBS
12103 if ${ac_cv_lib_soname_xslt:+false} :; then :
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12105 $as_echo "not found" >&6; }
12107 else
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12109 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12111 cat >>confdefs.h <<_ACEOF
12112 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12113 _ACEOF
12117 else
12118 XSLT_CFLAGS=""
12120 CPPFLAGS=$ac_save_CPPFLAGS
12121 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12122 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12125 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12126 case "x$with_xslt" in
12127 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12128 xno) ;;
12129 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12130 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12131 esac
12135 if test "x$with_dbus" != "xno"
12136 then
12137 if ${DBUS_CFLAGS:+false} :; then :
12138 if ${PKG_CONFIG+:} false; then :
12139 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12143 if ${DBUS_LIBS:+false} :; then :
12144 if ${PKG_CONFIG+:} false; then :
12145 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12150 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12151 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12152 ac_save_CPPFLAGS=$CPPFLAGS
12153 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12154 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12155 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12157 $as_echo_n "checking for -ldbus-1... " >&6; }
12158 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12159 $as_echo_n "(cached) " >&6
12160 else
12161 ac_check_soname_save_LIBS=$LIBS
12162 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 /* Override any GCC internal prototype to avoid an error.
12167 Use char because int might match the return type of a GCC
12168 builtin and then its argument prototype would still apply. */
12169 #ifdef __cplusplus
12170 extern "C"
12171 #endif
12172 char dbus_connection_close ();
12174 main ()
12176 return dbus_connection_close ();
12178 return 0;
12180 _ACEOF
12181 if ac_fn_c_try_link "$LINENO"; then :
12182 case "$LIBEXT" in
12183 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12184 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'` ;;
12185 *) 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'`
12186 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12187 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12188 fi ;;
12189 esac
12191 rm -f core conftest.err conftest.$ac_objext \
12192 conftest$ac_exeext conftest.$ac_ext
12193 LIBS=$ac_check_soname_save_LIBS
12195 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12197 $as_echo "not found" >&6; }
12198 DBUS_CFLAGS=""
12199 else
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12201 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12203 cat >>confdefs.h <<_ACEOF
12204 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12205 _ACEOF
12209 else
12210 DBUS_CFLAGS=""
12214 CPPFLAGS=$ac_save_CPPFLAGS
12215 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12216 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12219 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12220 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12221 case "x$with_dbus" in
12222 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12223 xno) ;;
12224 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12225 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12226 esac
12230 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12231 then
12232 if ${HAL_CFLAGS:+false} :; then :
12233 if ${PKG_CONFIG+:} false; then :
12234 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12238 if ${HAL_LIBS:+false} :; then :
12239 if ${PKG_CONFIG+:} false; then :
12240 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12244 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12245 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12246 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12247 ac_save_CPPFLAGS=$CPPFLAGS
12248 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12249 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12250 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12252 $as_echo_n "checking for -lhal... " >&6; }
12253 if ${ac_cv_lib_soname_hal+:} false; then :
12254 $as_echo_n "(cached) " >&6
12255 else
12256 ac_check_soname_save_LIBS=$LIBS
12257 LIBS="-lhal $HAL_LIBS $LIBS"
12258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12261 /* Override any GCC internal prototype to avoid an error.
12262 Use char because int might match the return type of a GCC
12263 builtin and then its argument prototype would still apply. */
12264 #ifdef __cplusplus
12265 extern "C"
12266 #endif
12267 char libhal_ctx_new ();
12269 main ()
12271 return libhal_ctx_new ();
12273 return 0;
12275 _ACEOF
12276 if ac_fn_c_try_link "$LINENO"; then :
12277 case "$LIBEXT" in
12278 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12279 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'` ;;
12280 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12281 if ${ac_cv_lib_soname_hal:+false} :; then :
12282 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12283 fi ;;
12284 esac
12286 rm -f core conftest.err conftest.$ac_objext \
12287 conftest$ac_exeext conftest.$ac_ext
12288 LIBS=$ac_check_soname_save_LIBS
12290 if ${ac_cv_lib_soname_hal:+false} :; then :
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12292 $as_echo "not found" >&6; }
12293 HAL_CFLAGS=""
12294 else
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12296 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12298 cat >>confdefs.h <<_ACEOF
12299 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12300 _ACEOF
12304 else
12305 HAL_CFLAGS=""
12309 CPPFLAGS=$ac_save_CPPFLAGS
12310 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12311 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12313 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12314 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12315 case "x$with_hal" in
12316 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12317 xno) ;;
12318 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12319 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12320 esac
12325 if test "x$with_gnutls" != "xno"
12326 then
12327 if ${GNUTLS_CFLAGS:+false} :; then :
12328 if ${PKG_CONFIG+:} false; then :
12329 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12333 if ${GNUTLS_LIBS:+false} :; then :
12334 if ${PKG_CONFIG+:} false; then :
12335 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12340 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12341 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12342 ac_save_CPPFLAGS=$CPPFLAGS
12343 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12344 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12345 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12347 /* end confdefs.h. */
12348 #include <gnutls/gnutls.h>
12349 #include <gnutls/crypto.h>
12351 main ()
12353 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12355 return 0;
12357 _ACEOF
12358 if ac_fn_c_try_compile "$LINENO"; then :
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12360 $as_echo_n "checking for -lgnutls... " >&6; }
12361 if ${ac_cv_lib_soname_gnutls+:} false; then :
12362 $as_echo_n "(cached) " >&6
12363 else
12364 ac_check_soname_save_LIBS=$LIBS
12365 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12369 /* Override any GCC internal prototype to avoid an error.
12370 Use char because int might match the return type of a GCC
12371 builtin and then its argument prototype would still apply. */
12372 #ifdef __cplusplus
12373 extern "C"
12374 #endif
12375 char gnutls_global_init ();
12377 main ()
12379 return gnutls_global_init ();
12381 return 0;
12383 _ACEOF
12384 if ac_fn_c_try_link "$LINENO"; then :
12385 case "$LIBEXT" in
12386 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12387 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'` ;;
12388 *) 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'`
12389 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12390 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'`
12391 fi ;;
12392 esac
12394 rm -f core conftest.err conftest.$ac_objext \
12395 conftest$ac_exeext conftest.$ac_ext
12396 LIBS=$ac_check_soname_save_LIBS
12398 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12400 $as_echo "not found" >&6; }
12401 GNUTLS_CFLAGS=""
12402 else
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12404 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12406 cat >>confdefs.h <<_ACEOF
12407 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12408 _ACEOF
12412 ac_wine_check_funcs_save_LIBS="$LIBS"
12413 LIBS="$LIBS $GNUTLS_LIBS"
12414 for ac_func in gnutls_cipher_init
12415 do :
12416 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12417 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12418 cat >>confdefs.h <<_ACEOF
12419 #define HAVE_GNUTLS_CIPHER_INIT 1
12420 _ACEOF
12422 else
12423 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12425 done
12427 LIBS="$ac_wine_check_funcs_save_LIBS"
12429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12430 else
12431 GNUTLS_CFLAGS=""
12435 CPPFLAGS=$ac_save_CPPFLAGS
12436 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12437 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12440 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12441 case "x$with_gnutls" in
12442 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12443 xno) ;;
12444 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12445 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12446 esac
12450 CURSES_LIBS=""
12451 if test "$ac_cv_header_ncurses_h" = "yes"
12452 then
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12454 $as_echo_n "checking for -lncurses... " >&6; }
12455 if ${ac_cv_lib_soname_ncurses+:} false; then :
12456 $as_echo_n "(cached) " >&6
12457 else
12458 ac_check_soname_save_LIBS=$LIBS
12459 LIBS="-lncurses $LIBS"
12460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12461 /* end confdefs.h. */
12463 /* Override any GCC internal prototype to avoid an error.
12464 Use char because int might match the return type of a GCC
12465 builtin and then its argument prototype would still apply. */
12466 #ifdef __cplusplus
12467 extern "C"
12468 #endif
12469 char waddch ();
12471 main ()
12473 return waddch ();
12475 return 0;
12477 _ACEOF
12478 if ac_fn_c_try_link "$LINENO"; then :
12479 case "$LIBEXT" in
12480 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12481 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'` ;;
12482 *) 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'`
12483 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12484 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12485 fi ;;
12486 esac
12488 rm -f core conftest.err conftest.$ac_objext \
12489 conftest$ac_exeext conftest.$ac_ext
12490 LIBS=$ac_check_soname_save_LIBS
12492 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12494 $as_echo "not found" >&6; }
12496 else
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12498 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12500 cat >>confdefs.h <<_ACEOF
12501 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12502 _ACEOF
12504 CURSES_LIBS="-lncurses"
12506 elif test "$ac_cv_header_curses_h" = "yes"
12507 then
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12509 $as_echo_n "checking for -lcurses... " >&6; }
12510 if ${ac_cv_lib_soname_curses+:} false; then :
12511 $as_echo_n "(cached) " >&6
12512 else
12513 ac_check_soname_save_LIBS=$LIBS
12514 LIBS="-lcurses $LIBS"
12515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12518 /* Override any GCC internal prototype to avoid an error.
12519 Use char because int might match the return type of a GCC
12520 builtin and then its argument prototype would still apply. */
12521 #ifdef __cplusplus
12522 extern "C"
12523 #endif
12524 char waddch ();
12526 main ()
12528 return waddch ();
12530 return 0;
12532 _ACEOF
12533 if ac_fn_c_try_link "$LINENO"; then :
12534 case "$LIBEXT" in
12535 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12536 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'` ;;
12537 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12538 if ${ac_cv_lib_soname_curses:+false} :; then :
12539 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12540 fi ;;
12541 esac
12543 rm -f core conftest.err conftest.$ac_objext \
12544 conftest$ac_exeext conftest.$ac_ext
12545 LIBS=$ac_check_soname_save_LIBS
12547 if ${ac_cv_lib_soname_curses:+false} :; then :
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12549 $as_echo "not found" >&6; }
12551 else
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12553 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12555 cat >>confdefs.h <<_ACEOF
12556 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12557 _ACEOF
12559 CURSES_LIBS="-lcurses"
12562 ac_save_LIBS="$LIBS"
12563 LIBS="$LIBS $CURSES_LIBS"
12564 for ac_func in mousemask
12565 do :
12566 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12567 if test "x$ac_cv_func_mousemask" = xyes; then :
12568 cat >>confdefs.h <<_ACEOF
12569 #define HAVE_MOUSEMASK 1
12570 _ACEOF
12573 done
12575 LIBS="$ac_save_LIBS"
12576 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12577 case "x$with_curses" in
12578 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12579 xno) ;;
12580 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12581 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12582 esac
12586 if test "x$with_sane" != "xno"
12587 then
12588 if ${SANE_CFLAGS:+false} :; then :
12589 if ${PKG_CONFIG+:} false; then :
12590 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12593 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12594 if ${SANE_LIBS:+false} :; then :
12595 if ${PKG_CONFIG+:} false; then :
12596 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12599 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12601 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12602 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12603 ac_save_CPPFLAGS=$CPPFLAGS
12604 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12605 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12606 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12608 $as_echo_n "checking for -lsane... " >&6; }
12609 if ${ac_cv_lib_soname_sane+:} false; then :
12610 $as_echo_n "(cached) " >&6
12611 else
12612 ac_check_soname_save_LIBS=$LIBS
12613 LIBS="-lsane $SANE_LIBS $LIBS"
12614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12620 #ifdef __cplusplus
12621 extern "C"
12622 #endif
12623 char sane_init ();
12625 main ()
12627 return sane_init ();
12629 return 0;
12631 _ACEOF
12632 if ac_fn_c_try_link "$LINENO"; then :
12633 case "$LIBEXT" in
12634 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12635 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'` ;;
12636 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12637 if ${ac_cv_lib_soname_sane:+false} :; then :
12638 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12639 fi ;;
12640 esac
12642 rm -f core conftest.err conftest.$ac_objext \
12643 conftest$ac_exeext conftest.$ac_ext
12644 LIBS=$ac_check_soname_save_LIBS
12646 if ${ac_cv_lib_soname_sane:+false} :; then :
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12648 $as_echo "not found" >&6; }
12649 SANE_CFLAGS=""
12650 else
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12652 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12654 cat >>confdefs.h <<_ACEOF
12655 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12656 _ACEOF
12660 else
12661 SANE_CFLAGS=""
12665 CPPFLAGS=$ac_save_CPPFLAGS
12666 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12667 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12670 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12671 case "x$with_sane" in
12672 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12673 xno) ;;
12674 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12675 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12676 esac
12680 if test "x$with_v4l" != "xno"
12681 then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12683 $as_echo_n "checking for -lv4l1... " >&6; }
12684 if ${ac_cv_lib_soname_v4l1+:} false; then :
12685 $as_echo_n "(cached) " >&6
12686 else
12687 ac_check_soname_save_LIBS=$LIBS
12688 LIBS="-lv4l1 $LIBS"
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12692 /* Override any GCC internal prototype to avoid an error.
12693 Use char because int might match the return type of a GCC
12694 builtin and then its argument prototype would still apply. */
12695 #ifdef __cplusplus
12696 extern "C"
12697 #endif
12698 char v4l1_open ();
12700 main ()
12702 return v4l1_open ();
12704 return 0;
12706 _ACEOF
12707 if ac_fn_c_try_link "$LINENO"; then :
12708 case "$LIBEXT" in
12709 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12710 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'` ;;
12711 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12712 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12713 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12714 fi ;;
12715 esac
12717 rm -f core conftest.err conftest.$ac_objext \
12718 conftest$ac_exeext conftest.$ac_ext
12719 LIBS=$ac_check_soname_save_LIBS
12721 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12723 $as_echo "not found" >&6; }
12725 else
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12727 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12729 cat >>confdefs.h <<_ACEOF
12730 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12731 _ACEOF
12736 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12737 case "x$with_v4l" in
12738 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12739 xno) ;;
12740 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12741 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12742 esac
12746 if test "x$with_gphoto" != "xno"
12747 then
12748 if ${GPHOTO2_CFLAGS:+false} :; then :
12749 if ${PKG_CONFIG+:} false; then :
12750 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12753 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12754 if ${GPHOTO2_LIBS:+false} :; then :
12755 if ${PKG_CONFIG+:} false; then :
12756 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12759 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12760 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12761 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12762 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12763 ac_save_CPPFLAGS=$CPPFLAGS
12764 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12765 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12766 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12768 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12769 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12770 $as_echo_n "(cached) " >&6
12771 else
12772 ac_check_lib_save_LIBS=$LIBS
12773 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12777 /* Override any GCC internal prototype to avoid an error.
12778 Use char because int might match the return type of a GCC
12779 builtin and then its argument prototype would still apply. */
12780 #ifdef __cplusplus
12781 extern "C"
12782 #endif
12783 char gp_camera_new ();
12785 main ()
12787 return gp_camera_new ();
12789 return 0;
12791 _ACEOF
12792 if ac_fn_c_try_link "$LINENO"; then :
12793 ac_cv_lib_gphoto2_gp_camera_new=yes
12794 else
12795 ac_cv_lib_gphoto2_gp_camera_new=no
12797 rm -f core conftest.err conftest.$ac_objext \
12798 conftest$ac_exeext conftest.$ac_ext
12799 LIBS=$ac_check_lib_save_LIBS
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12802 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12803 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12805 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12807 else
12808 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12811 else
12812 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12816 CPPFLAGS=$ac_save_CPPFLAGS
12817 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12818 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12820 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12821 if ${PKG_CONFIG+:} false; then :
12822 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12825 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12826 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12827 if ${PKG_CONFIG+:} false; then :
12828 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12831 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12832 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12833 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12834 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12835 ac_save_CPPFLAGS=$CPPFLAGS
12836 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12837 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12838 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12840 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12841 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12842 $as_echo_n "(cached) " >&6
12843 else
12844 ac_check_lib_save_LIBS=$LIBS
12845 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12849 /* Override any GCC internal prototype to avoid an error.
12850 Use char because int might match the return type of a GCC
12851 builtin and then its argument prototype would still apply. */
12852 #ifdef __cplusplus
12853 extern "C"
12854 #endif
12855 char gp_port_info_list_new ();
12857 main ()
12859 return gp_port_info_list_new ();
12861 return 0;
12863 _ACEOF
12864 if ac_fn_c_try_link "$LINENO"; then :
12865 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12866 else
12867 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12869 rm -f core conftest.err conftest.$ac_objext \
12870 conftest$ac_exeext conftest.$ac_ext
12871 LIBS=$ac_check_lib_save_LIBS
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12874 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12875 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12877 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12879 else
12880 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12883 else
12884 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12888 CPPFLAGS=$ac_save_CPPFLAGS
12889 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12890 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12893 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12894 case "x$with_gphoto" in
12895 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12896 xno) ;;
12897 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12898 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12899 esac
12902 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12903 case "x$with_gphoto" in
12904 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12905 xno) ;;
12906 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12907 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12908 esac
12913 if test "$ac_cv_header_resolv_h" = "yes"
12914 then
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12916 $as_echo_n "checking for resolver library... " >&6; }
12917 if ${ac_cv_have_resolv+:} false; then :
12918 $as_echo_n "(cached) " >&6
12919 else
12920 ac_save_LIBS="$LIBS"
12921 for lib in '' -lresolv
12923 LIBS="$lib $ac_save_LIBS"
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12926 #ifdef HAVE_NETINET_IN_H
12927 #include <netinet/in.h>
12928 #endif
12929 #include <resolv.h>
12931 main ()
12933 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12935 return 0;
12937 _ACEOF
12938 if ac_fn_c_try_link "$LINENO"; then :
12939 ac_cv_have_resolv=${lib:-"none required"}
12940 else
12941 ac_cv_have_resolv="not found"
12943 rm -f core conftest.err conftest.$ac_objext \
12944 conftest$ac_exeext conftest.$ac_ext
12945 test "x$ac_cv_have_resolv" = "xnot found" || break
12946 done
12947 LIBS="$ac_save_LIBS"
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12950 $as_echo "$ac_cv_have_resolv" >&6; }
12952 case "$ac_cv_have_resolv" in
12953 "not found") ;;
12954 "none required")
12956 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12959 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12961 RESOLV_LIBS=$ac_cv_have_resolv
12963 esac
12966 if test "x$with_cms" != "xno"
12967 then
12968 if ${LCMS2_CFLAGS:+false} :; then :
12969 if ${PKG_CONFIG+:} false; then :
12970 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12974 if ${LCMS2_LIBS:+false} :; then :
12975 if ${PKG_CONFIG+:} false; then :
12976 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12980 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12981 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12982 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12983 ac_save_CPPFLAGS=$CPPFLAGS
12984 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12985 for ac_header in lcms2.h
12986 do :
12987 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12988 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12989 cat >>confdefs.h <<_ACEOF
12990 #define HAVE_LCMS2_H 1
12991 _ACEOF
12995 done
12997 if test "$ac_cv_header_lcms2_h" = "yes"
12998 then
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13000 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13001 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13002 $as_echo_n "(cached) " >&6
13003 else
13004 ac_check_lib_save_LIBS=$LIBS
13005 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13009 /* Override any GCC internal prototype to avoid an error.
13010 Use char because int might match the return type of a GCC
13011 builtin and then its argument prototype would still apply. */
13012 #ifdef __cplusplus
13013 extern "C"
13014 #endif
13015 char cmsOpenProfileFromFile ();
13017 main ()
13019 return cmsOpenProfileFromFile ();
13021 return 0;
13023 _ACEOF
13024 if ac_fn_c_try_link "$LINENO"; then :
13025 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13026 else
13027 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13029 rm -f core conftest.err conftest.$ac_objext \
13030 conftest$ac_exeext conftest.$ac_ext
13031 LIBS=$ac_check_lib_save_LIBS
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13034 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13035 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13037 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13039 else
13040 LCMS2_LIBS=""
13043 else
13044 LCMS2_CFLAGS=""
13045 LCMS2_LIBS=""
13047 CPPFLAGS=$ac_save_CPPFLAGS
13048 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13049 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13052 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13053 case "x$with_cms" in
13054 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13055 xno) ;;
13056 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13057 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13058 esac
13062 if test "x$with_freetype" != "xno"
13063 then
13064 if ${FREETYPE_CFLAGS:+false} :; then :
13065 if ${PKG_CONFIG+:} false; then :
13066 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13069 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13070 if ${FREETYPE_LIBS:+false} :; then :
13071 if ${PKG_CONFIG+:} false; then :
13072 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13075 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13076 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13077 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13078 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13079 ac_save_CPPFLAGS=$CPPFLAGS
13080 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13081 for ac_header in ft2build.h
13082 do :
13083 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13084 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13085 cat >>confdefs.h <<_ACEOF
13086 #define HAVE_FT2BUILD_H 1
13087 _ACEOF
13091 done
13093 if test "$ac_cv_header_ft2build_h" = "yes"
13094 then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13096 $as_echo_n "checking for -lfreetype... " >&6; }
13097 if ${ac_cv_lib_soname_freetype+:} false; then :
13098 $as_echo_n "(cached) " >&6
13099 else
13100 ac_check_soname_save_LIBS=$LIBS
13101 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
13105 /* Override any GCC internal prototype to avoid an error.
13106 Use char because int might match the return type of a GCC
13107 builtin and then its argument prototype would still apply. */
13108 #ifdef __cplusplus
13109 extern "C"
13110 #endif
13111 char FT_Init_FreeType ();
13113 main ()
13115 return FT_Init_FreeType ();
13117 return 0;
13119 _ACEOF
13120 if ac_fn_c_try_link "$LINENO"; then :
13121 case "$LIBEXT" in
13122 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13123 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'` ;;
13124 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13125 if ${ac_cv_lib_soname_freetype:+false} :; then :
13126 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13127 fi ;;
13128 esac
13130 rm -f core conftest.err conftest.$ac_objext \
13131 conftest$ac_exeext conftest.$ac_ext
13132 LIBS=$ac_check_soname_save_LIBS
13134 if ${ac_cv_lib_soname_freetype:+false} :; then :
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13136 $as_echo "not found" >&6; }
13137 FREETYPE_LIBS=""
13138 else
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13140 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13142 cat >>confdefs.h <<_ACEOF
13143 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13144 _ACEOF
13147 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13149 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13150 #include FT_MODULE_H
13152 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13154 cat >>confdefs.h <<_ACEOF
13155 #define HAVE_FT_TRUETYPEENGINETYPE 1
13156 _ACEOF
13162 else
13163 FREETYPE_CFLAGS=""
13164 FREETYPE_LIBS=""
13166 CPPFLAGS=$ac_save_CPPFLAGS
13167 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13168 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13171 if test "x$ac_cv_lib_soname_freetype" = x; then :
13172 case "x$with_freetype" in
13173 xno) ;;
13174 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13175 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13176 esac
13177 enable_fonts=${enable_fonts:-no}
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13181 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13182 if ${ac_cv_c_ppdev+:} false; then :
13183 $as_echo_n "(cached) " >&6
13184 else
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13187 #ifdef HAVE_SYS_IOCTL_H
13188 # include <sys/ioctl.h>
13189 #endif
13190 #include <linux/ppdev.h>
13192 main ()
13194 ioctl (1,PPCLAIM,0)
13196 return 0;
13198 _ACEOF
13199 if ac_fn_c_try_compile "$LINENO"; then :
13200 ac_cv_c_ppdev="yes"
13201 else
13202 ac_cv_c_ppdev="no"
13204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13207 $as_echo "$ac_cv_c_ppdev" >&6; }
13208 if test "$ac_cv_c_ppdev" = "yes"
13209 then
13211 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13215 ac_wine_check_funcs_save_LIBS="$LIBS"
13216 LIBS="$LIBS $PTHREAD_LIBS"
13217 for ac_func in \
13218 pthread_attr_get_np \
13219 pthread_getattr_np \
13220 pthread_getthreadid_np \
13221 pthread_get_stackaddr_np \
13222 pthread_get_stacksize_np
13223 do :
13224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13226 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13227 cat >>confdefs.h <<_ACEOF
13228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13229 _ACEOF
13232 done
13234 LIBS="$ac_wine_check_funcs_save_LIBS"
13236 if test "$ac_cv_header_zlib_h" = "yes"
13237 then
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13239 $as_echo_n "checking for inflate in -lz... " >&6; }
13240 if ${ac_cv_lib_z_inflate+:} false; then :
13241 $as_echo_n "(cached) " >&6
13242 else
13243 ac_check_lib_save_LIBS=$LIBS
13244 LIBS="-lz $LIBS"
13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13248 /* Override any GCC internal prototype to avoid an error.
13249 Use char because int might match the return type of a GCC
13250 builtin and then its argument prototype would still apply. */
13251 #ifdef __cplusplus
13252 extern "C"
13253 #endif
13254 char inflate ();
13256 main ()
13258 return inflate ();
13260 return 0;
13262 _ACEOF
13263 if ac_fn_c_try_link "$LINENO"; then :
13264 ac_cv_lib_z_inflate=yes
13265 else
13266 ac_cv_lib_z_inflate=no
13268 rm -f core conftest.err conftest.$ac_objext \
13269 conftest$ac_exeext conftest.$ac_ext
13270 LIBS=$ac_check_lib_save_LIBS
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13273 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13274 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13276 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13278 Z_LIBS="-lz"
13283 if test "x$Z_LIBS" = "x"; then :
13284 case "x$with_zlib" in
13285 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13286 xno) ;;
13287 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13288 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13289 esac
13293 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13294 then
13295 if test "$ac_cv_header_gettext_po_h" = "yes"
13296 then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13298 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13299 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13300 $as_echo_n "(cached) " >&6
13301 else
13302 ac_check_lib_save_LIBS=$LIBS
13303 LIBS="-lgettextpo $LIBS"
13304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13307 /* Override any GCC internal prototype to avoid an error.
13308 Use char because int might match the return type of a GCC
13309 builtin and then its argument prototype would still apply. */
13310 #ifdef __cplusplus
13311 extern "C"
13312 #endif
13313 char po_message_msgctxt ();
13315 main ()
13317 return po_message_msgctxt ();
13319 return 0;
13321 _ACEOF
13322 if ac_fn_c_try_link "$LINENO"; then :
13323 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13324 else
13325 ac_cv_lib_gettextpo_po_message_msgctxt=no
13327 rm -f core conftest.err conftest.$ac_objext \
13328 conftest$ac_exeext conftest.$ac_ext
13329 LIBS=$ac_check_lib_save_LIBS
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13332 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13333 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13335 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13337 GETTEXTPO_LIBS="-lgettextpo"
13342 if test "x$GETTEXTPO_LIBS" = "x"; then :
13343 case "x$with_gettextpo" in
13344 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13345 xno) ;;
13346 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13347 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13348 esac
13351 if test "$srcdir" != .; then :
13352 case "x$with_gettextpo" in
13353 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13354 xno) ;;
13355 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13356 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13357 esac
13362 if test "x$with_pulse" != "xno";
13363 then
13364 if ${PULSE_CFLAGS:+false} :; then :
13365 if ${PKG_CONFIG+:} false; then :
13366 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13370 if ${PULSE_LIBS:+false} :; then :
13371 if ${PKG_CONFIG+:} false; then :
13372 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13377 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13378 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13379 ac_save_CPPFLAGS=$CPPFLAGS
13380 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13381 for ac_header in pulse/pulseaudio.h
13382 do :
13383 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13384 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13385 cat >>confdefs.h <<_ACEOF
13386 #define HAVE_PULSE_PULSEAUDIO_H 1
13387 _ACEOF
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13389 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13390 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13391 $as_echo_n "(cached) " >&6
13392 else
13393 ac_check_lib_save_LIBS=$LIBS
13394 LIBS="-lpulse $PULSE_LIBS $LIBS"
13395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h. */
13398 /* Override any GCC internal prototype to avoid an error.
13399 Use char because int might match the return type of a GCC
13400 builtin and then its argument prototype would still apply. */
13401 #ifdef __cplusplus
13402 extern "C"
13403 #endif
13404 char pa_stream_is_corked ();
13406 main ()
13408 return pa_stream_is_corked ();
13410 return 0;
13412 _ACEOF
13413 if ac_fn_c_try_link "$LINENO"; then :
13414 ac_cv_lib_pulse_pa_stream_is_corked=yes
13415 else
13416 ac_cv_lib_pulse_pa_stream_is_corked=no
13418 rm -f core conftest.err conftest.$ac_objext \
13419 conftest$ac_exeext conftest.$ac_ext
13420 LIBS=$ac_check_lib_save_LIBS
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13423 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13424 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13426 else
13427 PULSE_LIBS=""
13430 else
13431 PULSE_LIBS=""
13434 done
13436 CPPFLAGS=$ac_save_CPPFLAGS
13437 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13438 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13441 if test -z "$PULSE_LIBS"; then :
13442 case "x$with_pulse" in
13443 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13444 xno) ;;
13445 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13446 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13447 esac
13448 enable_winepulse_drv=${enable_winepulse_drv:-no}
13451 if test "x$with_gstreamer" != "xno"
13452 then
13453 if ${GSTREAMER_CFLAGS:+false} :; then :
13454 if ${PKG_CONFIG+:} false; then :
13455 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13459 if ${GSTREAMER_LIBS:+false} :; then :
13460 if ${PKG_CONFIG+:} false; then :
13461 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13466 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13467 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13468 ac_save_CPPFLAGS=$CPPFLAGS
13469 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13470 ac_gst_incl=""
13471 for i in $GSTREAMER_CFLAGS
13473 case "$i" in
13474 -I*) ac_gst_incl="$ac_gst_incl $i";;
13475 esac
13476 done
13477 GSTREAMER_CFLAGS=$ac_gst_incl
13478 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13479 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13480 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13482 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13485 #include <gst/gst.h>
13487 main ()
13489 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13491 return 0;
13493 _ACEOF
13494 if ac_fn_c_try_compile "$LINENO"; then :
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13496 $as_echo "yes" >&6; }
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13498 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13499 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13500 $as_echo_n "(cached) " >&6
13501 else
13502 ac_check_lib_save_LIBS=$LIBS
13503 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13505 /* end confdefs.h. */
13507 /* Override any GCC internal prototype to avoid an error.
13508 Use char because int might match the return type of a GCC
13509 builtin and then its argument prototype would still apply. */
13510 #ifdef __cplusplus
13511 extern "C"
13512 #endif
13513 char gst_pad_new ();
13515 main ()
13517 return gst_pad_new ();
13519 return 0;
13521 _ACEOF
13522 if ac_fn_c_try_link "$LINENO"; then :
13523 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13524 else
13525 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13527 rm -f core conftest.err conftest.$ac_objext \
13528 conftest$ac_exeext conftest.$ac_ext
13529 LIBS=$ac_check_lib_save_LIBS
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13532 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13533 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13537 else
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13539 $as_echo "no" >&6; }
13540 ac_glib2_broken=yes
13541 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13547 CPPFLAGS=$ac_save_CPPFLAGS
13548 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13549 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13552 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 :
13553 case "x$with_gstreamer" in
13554 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13555 xno) ;;
13556 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13557 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13558 esac
13561 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13563 ALSA_LIBS=""
13565 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13566 then
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13568 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13569 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13570 $as_echo_n "(cached) " >&6
13571 else
13572 ac_check_lib_save_LIBS=$LIBS
13573 LIBS="-lasound $LIBS"
13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13577 /* Override any GCC internal prototype to avoid an error.
13578 Use char because int might match the return type of a GCC
13579 builtin and then its argument prototype would still apply. */
13580 #ifdef __cplusplus
13581 extern "C"
13582 #endif
13583 char snd_pcm_hw_params_get_access_mask ();
13585 main ()
13587 return snd_pcm_hw_params_get_access_mask ();
13589 return 0;
13591 _ACEOF
13592 if ac_fn_c_try_link "$LINENO"; then :
13593 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13594 else
13595 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13597 rm -f core conftest.err conftest.$ac_objext \
13598 conftest$ac_exeext conftest.$ac_ext
13599 LIBS=$ac_check_lib_save_LIBS
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13602 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13603 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13606 #ifdef HAVE_ALSA_ASOUNDLIB_H
13607 #include <alsa/asoundlib.h>
13608 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13609 #include <sys/asoundlib.h>
13610 #endif
13612 main ()
13614 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13616 return 0;
13618 _ACEOF
13619 if ac_fn_c_try_compile "$LINENO"; then :
13620 ALSA_LIBS="-lasound"
13622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13626 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13628 if test "x$with_oss" != xno
13629 then
13630 ac_save_CPPFLAGS="$CPPFLAGS"
13631 if test -f /etc/oss.conf
13632 then
13633 . /etc/oss.conf
13635 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13636 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13637 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13638 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13639 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13641 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13643 cat >>confdefs.h <<_ACEOF
13644 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13645 _ACEOF
13647 OSS4_CFLAGS="$ac_oss_incl"
13654 CPPFLAGS="$ac_save_CPPFLAGS"
13656 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13657 case "x$with_oss" in
13658 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13659 xno) ;;
13660 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13661 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13662 esac
13663 enable_wineoss_drv=${enable_wineoss_drv:-no}
13666 if test "x$with_udev" != "xno"
13667 then
13668 if ${UDEV_CFLAGS:+false} :; then :
13669 if ${PKG_CONFIG+:} false; then :
13670 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13674 if ${UDEV_LIBS:+false} :; then :
13675 if ${PKG_CONFIG+:} false; then :
13676 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13680 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13681 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13682 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13683 ac_save_CPPFLAGS=$CPPFLAGS
13684 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13685 for ac_header in libudev.h
13686 do :
13687 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13688 if test "x$ac_cv_header_libudev_h" = xyes; then :
13689 cat >>confdefs.h <<_ACEOF
13690 #define HAVE_LIBUDEV_H 1
13691 _ACEOF
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13693 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13694 if ${ac_cv_lib_udev_udev_new+:} false; then :
13695 $as_echo_n "(cached) " >&6
13696 else
13697 ac_check_lib_save_LIBS=$LIBS
13698 LIBS="-ludev $UDEV_LIBS $LIBS"
13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13702 /* Override any GCC internal prototype to avoid an error.
13703 Use char because int might match the return type of a GCC
13704 builtin and then its argument prototype would still apply. */
13705 #ifdef __cplusplus
13706 extern "C"
13707 #endif
13708 char udev_new ();
13710 main ()
13712 return udev_new ();
13714 return 0;
13716 _ACEOF
13717 if ac_fn_c_try_link "$LINENO"; then :
13718 ac_cv_lib_udev_udev_new=yes
13719 else
13720 ac_cv_lib_udev_udev_new=no
13722 rm -f core conftest.err conftest.$ac_objext \
13723 conftest$ac_exeext conftest.$ac_ext
13724 LIBS=$ac_check_lib_save_LIBS
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13727 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13728 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13730 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13732 else
13733 UDEV_LIBS=""
13736 else
13737 UDEV_LIBS=""
13740 done
13742 CPPFLAGS=$ac_save_CPPFLAGS
13743 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13744 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13747 if test "x$UDEV_LIBS" = "x"; then :
13748 case "x$with_udev" in
13749 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13750 xno) ;;
13751 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13752 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13753 esac
13757 if test "x$with_sdl" != "xno"
13758 then
13759 if ${SDL2_CFLAGS:+false} :; then :
13760 if ${PKG_CONFIG+:} false; then :
13761 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13765 if ${SDL2_LIBS:+false} :; then :
13766 if ${PKG_CONFIG+:} false; then :
13767 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13771 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13772 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13773 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13774 ac_save_CPPFLAGS=$CPPFLAGS
13775 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13776 for ac_header in SDL2/SDL.h
13777 do :
13778 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13779 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13780 cat >>confdefs.h <<_ACEOF
13781 #define HAVE_SDL2_SDL_H 1
13782 _ACEOF
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13784 $as_echo_n "checking for -lSDL2... " >&6; }
13785 if ${ac_cv_lib_soname_SDL2+:} false; then :
13786 $as_echo_n "(cached) " >&6
13787 else
13788 ac_check_soname_save_LIBS=$LIBS
13789 LIBS="-lSDL2 $LIBS"
13790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13791 /* end confdefs.h. */
13793 /* Override any GCC internal prototype to avoid an error.
13794 Use char because int might match the return type of a GCC
13795 builtin and then its argument prototype would still apply. */
13796 #ifdef __cplusplus
13797 extern "C"
13798 #endif
13799 char SDL_Init ();
13801 main ()
13803 return SDL_Init ();
13805 return 0;
13807 _ACEOF
13808 if ac_fn_c_try_link "$LINENO"; then :
13809 case "$LIBEXT" in
13810 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13811 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'` ;;
13812 *) 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'`
13813 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13814 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13815 fi ;;
13816 esac
13818 rm -f core conftest.err conftest.$ac_objext \
13819 conftest$ac_exeext conftest.$ac_ext
13820 LIBS=$ac_check_soname_save_LIBS
13822 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13824 $as_echo "not found" >&6; }
13826 else
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13828 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13830 cat >>confdefs.h <<_ACEOF
13831 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13832 _ACEOF
13838 done
13840 CPPFLAGS=$ac_save_CPPFLAGS
13841 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13842 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13845 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13846 case "x$with_sdl" in
13847 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13848 xno) ;;
13849 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13850 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13851 esac
13855 if test "x$with_capi" != "xno"
13856 then
13857 if ${CAPI20_CFLAGS:+false} :; then :
13858 if ${PKG_CONFIG+:} false; then :
13859 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13863 if ${CAPI20_LIBS:+false} :; then :
13864 if ${PKG_CONFIG+:} false; then :
13865 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13870 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13871 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13872 ac_save_CPPFLAGS=$CPPFLAGS
13873 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13874 for ac_header in capi20.h linux/capi.h
13875 do :
13876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13877 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13879 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13880 cat >>confdefs.h <<_ACEOF
13881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13882 _ACEOF
13886 done
13888 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13889 then
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13891 $as_echo_n "checking for -lcapi20... " >&6; }
13892 if ${ac_cv_lib_soname_capi20+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 ac_check_soname_save_LIBS=$LIBS
13896 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13900 /* Override any GCC internal prototype to avoid an error.
13901 Use char because int might match the return type of a GCC
13902 builtin and then its argument prototype would still apply. */
13903 #ifdef __cplusplus
13904 extern "C"
13905 #endif
13906 char capi20_register ();
13908 main ()
13910 return capi20_register ();
13912 return 0;
13914 _ACEOF
13915 if ac_fn_c_try_link "$LINENO"; then :
13916 case "$LIBEXT" in
13917 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13918 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'` ;;
13919 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13920 if ${ac_cv_lib_soname_capi20:+false} :; then :
13921 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13922 fi ;;
13923 esac
13925 rm -f core conftest.err conftest.$ac_objext \
13926 conftest$ac_exeext conftest.$ac_ext
13927 LIBS=$ac_check_soname_save_LIBS
13929 if ${ac_cv_lib_soname_capi20:+false} :; then :
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13931 $as_echo "not found" >&6; }
13933 else
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13935 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13937 cat >>confdefs.h <<_ACEOF
13938 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13939 _ACEOF
13944 CPPFLAGS=$ac_save_CPPFLAGS
13945 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13946 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13949 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13950 case "x$with_capi" in
13951 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13952 xno) ;;
13953 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13954 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13955 esac
13959 if test "x$with_cups" != "xno"
13960 then
13961 if ${CUPS_CFLAGS:+false} :; then :
13962 if ${PKG_CONFIG+:} false; then :
13963 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13966 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13967 if ${CUPS_LIBS:+false} :; then :
13968 if ${PKG_CONFIG+:} false; then :
13969 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13972 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13973 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13974 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13975 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13976 ac_save_CPPFLAGS=$CPPFLAGS
13977 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13978 for ac_header in cups/cups.h cups/ppd.h
13979 do :
13980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13981 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13982 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13983 cat >>confdefs.h <<_ACEOF
13984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13985 _ACEOF
13989 done
13991 if test "$ac_cv_header_cups_cups_h" = "yes"
13992 then
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13994 $as_echo_n "checking for -lcups... " >&6; }
13995 if ${ac_cv_lib_soname_cups+:} false; then :
13996 $as_echo_n "(cached) " >&6
13997 else
13998 ac_check_soname_save_LIBS=$LIBS
13999 LIBS="-lcups $CUPS_LIBS $LIBS"
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14003 /* Override any GCC internal prototype to avoid an error.
14004 Use char because int might match the return type of a GCC
14005 builtin and then its argument prototype would still apply. */
14006 #ifdef __cplusplus
14007 extern "C"
14008 #endif
14009 char cupsGetDefault ();
14011 main ()
14013 return cupsGetDefault ();
14015 return 0;
14017 _ACEOF
14018 if ac_fn_c_try_link "$LINENO"; then :
14019 case "$LIBEXT" in
14020 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14021 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'` ;;
14022 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14023 if ${ac_cv_lib_soname_cups:+false} :; then :
14024 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14025 fi ;;
14026 esac
14028 rm -f core conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_soname_save_LIBS
14032 if ${ac_cv_lib_soname_cups:+false} :; then :
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14034 $as_echo "not found" >&6; }
14035 CUPS_LIBS=""
14036 else
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14038 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14040 cat >>confdefs.h <<_ACEOF
14041 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14042 _ACEOF
14046 else
14047 CUPS_CFLAGS=""
14048 CUPS_LIBS=""
14050 CPPFLAGS=$ac_save_CPPFLAGS
14051 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14052 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14055 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14056 case "x$with_cups" in
14057 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14058 xno) ;;
14059 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14060 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14061 esac
14065 if test "x$with_fontconfig" != "xno"
14066 then
14067 if ${FONTCONFIG_CFLAGS:+false} :; then :
14068 if ${PKG_CONFIG+:} false; then :
14069 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14072 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14073 if ${FONTCONFIG_LIBS:+false} :; then :
14074 if ${PKG_CONFIG+:} false; then :
14075 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14078 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14080 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14081 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14082 ac_save_CPPFLAGS=$CPPFLAGS
14083 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14084 for ac_header in fontconfig/fontconfig.h
14085 do :
14086 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14087 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14088 cat >>confdefs.h <<_ACEOF
14089 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14090 _ACEOF
14094 done
14096 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14097 then
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14099 $as_echo_n "checking for -lfontconfig... " >&6; }
14100 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14101 $as_echo_n "(cached) " >&6
14102 else
14103 ac_check_soname_save_LIBS=$LIBS
14104 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14108 /* Override any GCC internal prototype to avoid an error.
14109 Use char because int might match the return type of a GCC
14110 builtin and then its argument prototype would still apply. */
14111 #ifdef __cplusplus
14112 extern "C"
14113 #endif
14114 char FcInit ();
14116 main ()
14118 return FcInit ();
14120 return 0;
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"; then :
14124 case "$LIBEXT" in
14125 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14126 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'` ;;
14127 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14128 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14129 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14130 fi ;;
14131 esac
14133 rm -f core conftest.err conftest.$ac_objext \
14134 conftest$ac_exeext conftest.$ac_ext
14135 LIBS=$ac_check_soname_save_LIBS
14137 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14139 $as_echo "not found" >&6; }
14140 FONTCONFIG_CFLAGS=""
14141 else
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14143 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14145 cat >>confdefs.h <<_ACEOF
14146 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14147 _ACEOF
14151 else
14152 FONTCONFIG_CFLAGS=""
14154 CPPFLAGS=$ac_save_CPPFLAGS
14155 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14156 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14159 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14160 case "x$with_fontconfig" in
14161 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14162 xno) ;;
14163 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14164 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14165 esac
14169 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14170 then
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14172 $as_echo_n "checking for -lgsm... " >&6; }
14173 if ${ac_cv_lib_soname_gsm+:} false; then :
14174 $as_echo_n "(cached) " >&6
14175 else
14176 ac_check_soname_save_LIBS=$LIBS
14177 LIBS="-lgsm $LIBS"
14178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14181 /* Override any GCC internal prototype to avoid an error.
14182 Use char because int might match the return type of a GCC
14183 builtin and then its argument prototype would still apply. */
14184 #ifdef __cplusplus
14185 extern "C"
14186 #endif
14187 char gsm_create ();
14189 main ()
14191 return gsm_create ();
14193 return 0;
14195 _ACEOF
14196 if ac_fn_c_try_link "$LINENO"; then :
14197 case "$LIBEXT" in
14198 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14199 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'` ;;
14200 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14201 if ${ac_cv_lib_soname_gsm:+false} :; then :
14202 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14203 fi ;;
14204 esac
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14208 LIBS=$ac_check_soname_save_LIBS
14210 if ${ac_cv_lib_soname_gsm:+false} :; then :
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14212 $as_echo "not found" >&6; }
14214 else
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14216 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14218 cat >>confdefs.h <<_ACEOF
14219 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14220 _ACEOF
14225 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14226 case "x$with_gsm" in
14227 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14228 xno) ;;
14229 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14230 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14231 esac
14235 if test "x$with_krb5" != "xno"
14236 then
14237 if ${KRB5_CFLAGS:+false} :; then :
14238 if ${PKG_CONFIG+:} false; then :
14239 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14242 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14243 if ${KRB5_LIBS:+false} :; then :
14244 if ${PKG_CONFIG+:} false; then :
14245 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14248 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14250 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14251 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14252 ac_save_CPPFLAGS=$CPPFLAGS
14253 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14254 for ac_header in krb5/krb5.h
14255 do :
14256 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14257 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14258 cat >>confdefs.h <<_ACEOF
14259 #define HAVE_KRB5_KRB5_H 1
14260 _ACEOF
14264 done
14266 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14267 then
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14269 $as_echo_n "checking for -lkrb5... " >&6; }
14270 if ${ac_cv_lib_soname_krb5+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 ac_check_soname_save_LIBS=$LIBS
14274 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14278 /* Override any GCC internal prototype to avoid an error.
14279 Use char because int might match the return type of a GCC
14280 builtin and then its argument prototype would still apply. */
14281 #ifdef __cplusplus
14282 extern "C"
14283 #endif
14284 char krb5_is_config_principal ();
14286 main ()
14288 return krb5_is_config_principal ();
14290 return 0;
14292 _ACEOF
14293 if ac_fn_c_try_link "$LINENO"; then :
14294 case "$LIBEXT" in
14295 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14296 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'` ;;
14297 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14298 if ${ac_cv_lib_soname_krb5:+false} :; then :
14299 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14300 fi ;;
14301 esac
14303 rm -f core conftest.err conftest.$ac_objext \
14304 conftest$ac_exeext conftest.$ac_ext
14305 LIBS=$ac_check_soname_save_LIBS
14307 if ${ac_cv_lib_soname_krb5:+false} :; then :
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14309 $as_echo "not found" >&6; }
14310 KRB5_CFLAGS=""
14311 else
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14313 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14315 cat >>confdefs.h <<_ACEOF
14316 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14317 _ACEOF
14321 else
14322 KRB5_CFLAGS=""
14324 CPPFLAGS=$ac_save_CPPFLAGS
14325 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14326 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14328 else
14329 with_gssapi=${with_gssapi:-no}
14331 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14332 case "x$with_krb5" in
14333 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14334 xno) ;;
14335 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14336 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14337 esac
14341 if test "x$with_gssapi" != "xno"
14342 then
14343 if ${GSSAPI_CFLAGS:+false} :; then :
14344 if ${PKG_CONFIG+:} false; then :
14345 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14348 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14349 if ${GSSAPI_LIBS:+false} :; then :
14350 if ${PKG_CONFIG+:} false; then :
14351 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14354 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14356 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14357 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14358 ac_save_CPPFLAGS=$CPPFLAGS
14359 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14360 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14361 do :
14362 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14363 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14364 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14365 cat >>confdefs.h <<_ACEOF
14366 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14367 _ACEOF
14371 done
14373 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14374 then
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14376 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14377 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14378 $as_echo_n "(cached) " >&6
14379 else
14380 ac_check_soname_save_LIBS=$LIBS
14381 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14385 /* Override any GCC internal prototype to avoid an error.
14386 Use char because int might match the return type of a GCC
14387 builtin and then its argument prototype would still apply. */
14388 #ifdef __cplusplus
14389 extern "C"
14390 #endif
14391 char gss_init_sec_context ();
14393 main ()
14395 return gss_init_sec_context ();
14397 return 0;
14399 _ACEOF
14400 if ac_fn_c_try_link "$LINENO"; then :
14401 case "$LIBEXT" in
14402 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14403 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'` ;;
14404 *) 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'`
14405 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14406 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14407 fi ;;
14408 esac
14410 rm -f core conftest.err conftest.$ac_objext \
14411 conftest$ac_exeext conftest.$ac_ext
14412 LIBS=$ac_check_soname_save_LIBS
14414 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14416 $as_echo "not found" >&6; }
14417 GSSAPI_CFLAGS=""
14418 else
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14420 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14422 cat >>confdefs.h <<_ACEOF
14423 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14424 _ACEOF
14428 else
14429 GSSAPI_CFLAGS=""
14431 CPPFLAGS=$ac_save_CPPFLAGS
14432 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14433 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14436 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14437 case "x$with_gssapi" in
14438 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14439 xno) ;;
14440 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14441 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14442 esac
14446 if test "x$with_jpeg" != "xno"
14447 then
14448 if ${JPEG_CFLAGS:+false} :; then :
14449 if ${PKG_CONFIG+:} false; then :
14450 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14454 if ${JPEG_LIBS:+false} :; then :
14455 if ${PKG_CONFIG+:} false; then :
14456 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14461 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14462 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14463 ac_save_CPPFLAGS=$CPPFLAGS
14464 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14465 for ac_header in jpeglib.h
14466 do :
14467 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14468 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14469 cat >>confdefs.h <<_ACEOF
14470 #define HAVE_JPEGLIB_H 1
14471 _ACEOF
14475 done
14477 if test "$ac_cv_header_jpeglib_h" = "yes"
14478 then
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14480 $as_echo_n "checking for -ljpeg... " >&6; }
14481 if ${ac_cv_lib_soname_jpeg+:} false; then :
14482 $as_echo_n "(cached) " >&6
14483 else
14484 ac_check_soname_save_LIBS=$LIBS
14485 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14489 /* Override any GCC internal prototype to avoid an error.
14490 Use char because int might match the return type of a GCC
14491 builtin and then its argument prototype would still apply. */
14492 #ifdef __cplusplus
14493 extern "C"
14494 #endif
14495 char jpeg_start_decompress ();
14497 main ()
14499 return jpeg_start_decompress ();
14501 return 0;
14503 _ACEOF
14504 if ac_fn_c_try_link "$LINENO"; then :
14505 case "$LIBEXT" in
14506 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14507 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'` ;;
14508 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14509 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14510 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14511 fi ;;
14512 esac
14514 rm -f core conftest.err conftest.$ac_objext \
14515 conftest$ac_exeext conftest.$ac_ext
14516 LIBS=$ac_check_soname_save_LIBS
14518 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14520 $as_echo "not found" >&6; }
14521 JPEG_CFLAGS=""
14522 else
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14524 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14526 cat >>confdefs.h <<_ACEOF
14527 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14528 _ACEOF
14532 else
14533 JPEG_CFLAGS=""
14535 CPPFLAGS=$ac_save_CPPFLAGS
14536 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14537 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14540 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14541 case "x$with_jpeg" in
14542 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14543 xno) ;;
14544 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14545 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14546 esac
14550 if test "x$with_png" != "xno"
14551 then
14552 if ${PNG_CFLAGS:+false} :; then :
14553 if ${PKG_CONFIG+:} false; then :
14554 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14557 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14558 if ${PNG_LIBS:+false} :; then :
14559 if ${PKG_CONFIG+:} false; then :
14560 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14563 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14565 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14566 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14567 ac_save_CPPFLAGS=$CPPFLAGS
14568 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14569 for ac_header in png.h
14570 do :
14571 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14572 if test "x$ac_cv_header_png_h" = xyes; then :
14573 cat >>confdefs.h <<_ACEOF
14574 #define HAVE_PNG_H 1
14575 _ACEOF
14579 done
14581 if test "$ac_cv_header_png_h" = "yes"
14582 then
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14584 $as_echo_n "checking for -lpng... " >&6; }
14585 if ${ac_cv_lib_soname_png+:} false; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 ac_check_soname_save_LIBS=$LIBS
14589 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14593 /* Override any GCC internal prototype to avoid an error.
14594 Use char because int might match the return type of a GCC
14595 builtin and then its argument prototype would still apply. */
14596 #ifdef __cplusplus
14597 extern "C"
14598 #endif
14599 char png_create_read_struct ();
14601 main ()
14603 return png_create_read_struct ();
14605 return 0;
14607 _ACEOF
14608 if ac_fn_c_try_link "$LINENO"; then :
14609 case "$LIBEXT" in
14610 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14611 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'` ;;
14612 *) 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'`
14613 if ${ac_cv_lib_soname_png:+false} :; then :
14614 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14615 fi ;;
14616 esac
14618 rm -f core conftest.err conftest.$ac_objext \
14619 conftest$ac_exeext conftest.$ac_ext
14620 LIBS=$ac_check_soname_save_LIBS
14622 if ${ac_cv_lib_soname_png:+false} :; then :
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14624 $as_echo "not found" >&6; }
14625 PNG_CFLAGS=""
14626 else
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14628 $as_echo "$ac_cv_lib_soname_png" >&6; }
14630 cat >>confdefs.h <<_ACEOF
14631 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14632 _ACEOF
14636 else
14637 PNG_CFLAGS=""
14639 CPPFLAGS=$ac_save_CPPFLAGS
14640 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14641 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14644 if test "x$ac_cv_lib_soname_png" = "x"; then :
14645 case "x$with_png" in
14646 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14647 xno) ;;
14648 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14649 This is an error since --with-png was requested." "$LINENO" 5 ;;
14650 esac
14654 if test "x$with_tiff" != "xno"
14655 then
14656 if ${TIFF_CFLAGS:+false} :; then :
14657 if ${PKG_CONFIG+:} false; then :
14658 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14662 if ${TIFF_LIBS:+false} :; then :
14663 if ${PKG_CONFIG+:} false; then :
14664 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14669 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14670 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14671 ac_save_CPPFLAGS=$CPPFLAGS
14672 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14673 for ac_header in tiffio.h
14674 do :
14675 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14676 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14677 cat >>confdefs.h <<_ACEOF
14678 #define HAVE_TIFFIO_H 1
14679 _ACEOF
14683 done
14685 if test "$ac_cv_header_tiffio_h" = "yes"
14686 then
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14688 $as_echo_n "checking for -ltiff... " >&6; }
14689 if ${ac_cv_lib_soname_tiff+:} false; then :
14690 $as_echo_n "(cached) " >&6
14691 else
14692 ac_check_soname_save_LIBS=$LIBS
14693 LIBS="-ltiff $TIFF_LIBS $LIBS"
14694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14697 /* Override any GCC internal prototype to avoid an error.
14698 Use char because int might match the return type of a GCC
14699 builtin and then its argument prototype would still apply. */
14700 #ifdef __cplusplus
14701 extern "C"
14702 #endif
14703 char TIFFClientOpen ();
14705 main ()
14707 return TIFFClientOpen ();
14709 return 0;
14711 _ACEOF
14712 if ac_fn_c_try_link "$LINENO"; then :
14713 case "$LIBEXT" in
14714 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14715 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'` ;;
14716 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14717 if ${ac_cv_lib_soname_tiff:+false} :; then :
14718 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14719 fi ;;
14720 esac
14722 rm -f core conftest.err conftest.$ac_objext \
14723 conftest$ac_exeext conftest.$ac_ext
14724 LIBS=$ac_check_soname_save_LIBS
14726 if ${ac_cv_lib_soname_tiff:+false} :; then :
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14728 $as_echo "not found" >&6; }
14730 else
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14732 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14734 cat >>confdefs.h <<_ACEOF
14735 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14736 _ACEOF
14741 CPPFLAGS=$ac_save_CPPFLAGS
14742 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14743 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14746 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14747 case "x$with_tiff" in
14748 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14749 xno) ;;
14750 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14751 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14752 esac
14756 if test "x$with_mpg123" != "xno"
14757 then
14758 if ${MPG123_CFLAGS:+false} :; then :
14759 if ${PKG_CONFIG+:} false; then :
14760 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14764 if ${MPG123_LIBS:+false} :; then :
14765 if ${PKG_CONFIG+:} false; then :
14766 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14770 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14771 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14772 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14773 ac_save_CPPFLAGS=$CPPFLAGS
14774 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14775 for ac_header in mpg123.h
14776 do :
14777 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14778 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14779 cat >>confdefs.h <<_ACEOF
14780 #define HAVE_MPG123_H 1
14781 _ACEOF
14785 done
14787 if test "$ac_cv_header_mpg123_h" = "yes"
14788 then
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14790 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14791 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14792 $as_echo_n "(cached) " >&6
14793 else
14794 ac_check_lib_save_LIBS=$LIBS
14795 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14797 /* end confdefs.h. */
14799 /* Override any GCC internal prototype to avoid an error.
14800 Use char because int might match the return type of a GCC
14801 builtin and then its argument prototype would still apply. */
14802 #ifdef __cplusplus
14803 extern "C"
14804 #endif
14805 char mpg123_feed ();
14807 main ()
14809 return mpg123_feed ();
14811 return 0;
14813 _ACEOF
14814 if ac_fn_c_try_link "$LINENO"; then :
14815 ac_cv_lib_mpg123_mpg123_feed=yes
14816 else
14817 ac_cv_lib_mpg123_mpg123_feed=no
14819 rm -f core conftest.err conftest.$ac_objext \
14820 conftest$ac_exeext conftest.$ac_ext
14821 LIBS=$ac_check_lib_save_LIBS
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14824 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14825 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14827 else
14828 MPG123_LIBS=""
14831 else
14832 MPG123_CFLAGS=""
14833 MPG123_LIBS=""
14835 CPPFLAGS=$ac_save_CPPFLAGS
14836 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14837 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14840 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14841 case "x$with_mpg123" in
14842 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14843 xno) ;;
14844 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14845 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14846 esac
14847 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14849 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14851 if test "$ac_cv_header_AL_al_h" = "yes"
14852 then
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14854 $as_echo_n "checking for -lopenal... " >&6; }
14855 if ${ac_cv_lib_soname_openal+:} false; then :
14856 $as_echo_n "(cached) " >&6
14857 else
14858 ac_check_soname_save_LIBS=$LIBS
14859 LIBS="-lopenal $LIBS"
14860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14861 /* end confdefs.h. */
14863 /* Override any GCC internal prototype to avoid an error.
14864 Use char because int might match the return type of a GCC
14865 builtin and then its argument prototype would still apply. */
14866 #ifdef __cplusplus
14867 extern "C"
14868 #endif
14869 char alGetSource3i ();
14871 main ()
14873 return alGetSource3i ();
14875 return 0;
14877 _ACEOF
14878 if ac_fn_c_try_link "$LINENO"; then :
14879 case "$LIBEXT" in
14880 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14881 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'` ;;
14882 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14883 if ${ac_cv_lib_soname_openal:+false} :; then :
14884 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14885 fi ;;
14886 esac
14888 rm -f core conftest.err conftest.$ac_objext \
14889 conftest$ac_exeext conftest.$ac_ext
14890 LIBS=$ac_check_soname_save_LIBS
14892 if ${ac_cv_lib_soname_openal:+false} :; then :
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14894 $as_echo "not found" >&6; }
14896 else
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14898 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14900 cat >>confdefs.h <<_ACEOF
14901 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14902 _ACEOF
14904 OPENAL_LIBS="-lopenal"
14906 ac_cv_lib_openal=yes
14908 cat >>confdefs.h <<_ACEOF
14909 #define HAVE_OPENAL 1
14910 _ACEOF
14914 if test "x$ac_cv_lib_openal" != xyes; then :
14915 case "x$with_openal" in
14916 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14917 xno) ;;
14918 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14919 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14920 esac
14921 enable_openal32=${enable_openal32:-no}
14924 if test "x$ac_cv_lib_openal" = xyes
14925 then
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14927 $as_echo_n "checking for openal-soft... " >&6; }
14928 if ${ac_cv_have_openalsoft+:} false; then :
14929 $as_echo_n "(cached) " >&6
14930 else
14931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14932 /* end confdefs.h. */
14933 #include <AL/al.h>
14934 #include <AL/alc.h>
14935 #include <AL/alext.h>
14936 LPALCRENDERSAMPLESSOFT x;
14938 main ()
14942 return 0;
14944 _ACEOF
14945 if ac_fn_c_try_compile "$LINENO"; then :
14946 ac_cv_have_openalsoft=yes
14947 else
14948 ac_cv_have_openalsoft=no
14950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14953 $as_echo "$ac_cv_have_openalsoft" >&6; }
14955 if test "x$ac_cv_have_openalsoft" != xyes
14956 then
14957 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14958 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14959 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14960 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14961 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14962 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14963 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14964 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14965 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14966 enable_xapofx1_1=${enable_xapofx1_1:-no}
14967 enable_xapofx1_2=${enable_xapofx1_2:-no}
14968 enable_xapofx1_3=${enable_xapofx1_3:-no}
14969 enable_xapofx1_4=${enable_xapofx1_4:-no}
14970 enable_xapofx1_5=${enable_xapofx1_5:-no}
14971 enable_xaudio2_0=${enable_xaudio2_0:-no}
14972 enable_xaudio2_1=${enable_xaudio2_1:-no}
14973 enable_xaudio2_2=${enable_xaudio2_2:-no}
14974 enable_xaudio2_3=${enable_xaudio2_3:-no}
14975 enable_xaudio2_4=${enable_xaudio2_4:-no}
14976 enable_xaudio2_5=${enable_xaudio2_5:-no}
14977 enable_xaudio2_6=${enable_xaudio2_6:-no}
14978 enable_xaudio2_7=${enable_xaudio2_7:-no}
14979 enable_xaudio2_8=${enable_xaudio2_8:-no}
14980 enable_xaudio2_9=${enable_xaudio2_9:-no}
14983 if test "$ac_cv_header_kstat_h" = "yes"
14984 then
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14986 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14987 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14988 $as_echo_n "(cached) " >&6
14989 else
14990 ac_check_lib_save_LIBS=$LIBS
14991 LIBS="-lkstat $LIBS"
14992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14993 /* end confdefs.h. */
14995 /* Override any GCC internal prototype to avoid an error.
14996 Use char because int might match the return type of a GCC
14997 builtin and then its argument prototype would still apply. */
14998 #ifdef __cplusplus
14999 extern "C"
15000 #endif
15001 char kstat_open ();
15003 main ()
15005 return kstat_open ();
15007 return 0;
15009 _ACEOF
15010 if ac_fn_c_try_link "$LINENO"; then :
15011 ac_cv_lib_kstat_kstat_open=yes
15012 else
15013 ac_cv_lib_kstat_kstat_open=no
15015 rm -f core conftest.err conftest.$ac_objext \
15016 conftest$ac_exeext conftest.$ac_ext
15017 LIBS=$ac_check_lib_save_LIBS
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15020 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15021 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15023 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15025 KSTAT_LIBS="-lkstat"
15031 if test "$ac_cv_header_libprocstat_h" = "yes"
15032 then
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15034 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15035 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15036 $as_echo_n "(cached) " >&6
15037 else
15038 ac_check_lib_save_LIBS=$LIBS
15039 LIBS="-lprocstat $LIBS"
15040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h. */
15043 /* Override any GCC internal prototype to avoid an error.
15044 Use char because int might match the return type of a GCC
15045 builtin and then its argument prototype would still apply. */
15046 #ifdef __cplusplus
15047 extern "C"
15048 #endif
15049 char procstat_open_sysctl ();
15051 main ()
15053 return procstat_open_sysctl ();
15055 return 0;
15057 _ACEOF
15058 if ac_fn_c_try_link "$LINENO"; then :
15059 ac_cv_lib_procstat_procstat_open_sysctl=yes
15060 else
15061 ac_cv_lib_procstat_procstat_open_sysctl=no
15063 rm -f core conftest.err conftest.$ac_objext \
15064 conftest$ac_exeext conftest.$ac_ext
15065 LIBS=$ac_check_lib_save_LIBS
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15068 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15069 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15071 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15073 PROCSTAT_LIBS="-lprocstat"
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15080 $as_echo_n "checking for -lodbc... " >&6; }
15081 if ${ac_cv_lib_soname_odbc+:} false; then :
15082 $as_echo_n "(cached) " >&6
15083 else
15084 ac_check_soname_save_LIBS=$LIBS
15085 LIBS="-lodbc $LIBS"
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15089 /* Override any GCC internal prototype to avoid an error.
15090 Use char because int might match the return type of a GCC
15091 builtin and then its argument prototype would still apply. */
15092 #ifdef __cplusplus
15093 extern "C"
15094 #endif
15095 char SQLConnect ();
15097 main ()
15099 return SQLConnect ();
15101 return 0;
15103 _ACEOF
15104 if ac_fn_c_try_link "$LINENO"; then :
15105 case "$LIBEXT" in
15106 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15107 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'` ;;
15108 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15109 if ${ac_cv_lib_soname_odbc:+false} :; then :
15110 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15111 fi ;;
15112 esac
15114 rm -f core conftest.err conftest.$ac_objext \
15115 conftest$ac_exeext conftest.$ac_ext
15116 LIBS=$ac_check_soname_save_LIBS
15118 if ${ac_cv_lib_soname_odbc:+false} :; then :
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15120 $as_echo "not found" >&6; }
15121 cat >>confdefs.h <<_ACEOF
15122 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15123 _ACEOF
15125 else
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15127 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15129 cat >>confdefs.h <<_ACEOF
15130 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15131 _ACEOF
15136 if test "x$with_netapi" != "xno"
15137 then
15138 if ${NETAPI_CFLAGS:+false} :; then :
15139 if ${PKG_CONFIG+:} false; then :
15140 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15144 if ${NETAPI_LIBS:+false} :; then :
15145 if ${PKG_CONFIG+:} false; then :
15146 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15151 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15152 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15153 ac_save_CPPFLAGS=$CPPFLAGS
15154 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15156 $as_echo_n "checking for -lnetapi... " >&6; }
15157 if ${ac_cv_lib_soname_netapi+:} false; then :
15158 $as_echo_n "(cached) " >&6
15159 else
15160 ac_check_soname_save_LIBS=$LIBS
15161 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15165 /* Override any GCC internal prototype to avoid an error.
15166 Use char because int might match the return type of a GCC
15167 builtin and then its argument prototype would still apply. */
15168 #ifdef __cplusplus
15169 extern "C"
15170 #endif
15171 char libnetapi_init ();
15173 main ()
15175 return libnetapi_init ();
15177 return 0;
15179 _ACEOF
15180 if ac_fn_c_try_link "$LINENO"; then :
15181 case "$LIBEXT" in
15182 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15183 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'` ;;
15184 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15185 if ${ac_cv_lib_soname_netapi:+false} :; then :
15186 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15187 fi ;;
15188 esac
15190 rm -f core conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext conftest.$ac_ext
15192 LIBS=$ac_check_soname_save_LIBS
15194 if ${ac_cv_lib_soname_netapi:+false} :; then :
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15196 $as_echo "not found" >&6; }
15197 cat >>confdefs.h <<_ACEOF
15198 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15199 _ACEOF
15201 else
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15203 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15205 cat >>confdefs.h <<_ACEOF
15206 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15207 _ACEOF
15211 CPPFLAGS=$ac_save_CPPFLAGS
15212 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15213 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15217 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15218 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15219 then
15220 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15223 if test "x$with_vulkan" != "xno"
15224 then
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15226 $as_echo_n "checking for -lvulkan... " >&6; }
15227 if ${ac_cv_lib_soname_vulkan+:} false; then :
15228 $as_echo_n "(cached) " >&6
15229 else
15230 ac_check_soname_save_LIBS=$LIBS
15231 LIBS="-lvulkan $LIBS"
15232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h. */
15235 /* Override any GCC internal prototype to avoid an error.
15236 Use char because int might match the return type of a GCC
15237 builtin and then its argument prototype would still apply. */
15238 #ifdef __cplusplus
15239 extern "C"
15240 #endif
15241 char vkGetInstanceProcAddr ();
15243 main ()
15245 return vkGetInstanceProcAddr ();
15247 return 0;
15249 _ACEOF
15250 if ac_fn_c_try_link "$LINENO"; then :
15251 case "$LIBEXT" in
15252 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15253 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'` ;;
15254 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15255 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15256 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15257 fi ;;
15258 esac
15260 rm -f core conftest.err conftest.$ac_objext \
15261 conftest$ac_exeext conftest.$ac_ext
15262 LIBS=$ac_check_soname_save_LIBS
15264 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15266 $as_echo "not found" >&6; }
15268 else
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15270 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15272 cat >>confdefs.h <<_ACEOF
15273 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15274 _ACEOF
15278 if test "x$ac_cv_lib_soname_vulkan" = "x"
15279 then
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15281 $as_echo_n "checking for -lMoltenVK... " >&6; }
15282 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15283 $as_echo_n "(cached) " >&6
15284 else
15285 ac_check_soname_save_LIBS=$LIBS
15286 LIBS="-lMoltenVK $LIBS"
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15290 /* Override any GCC internal prototype to avoid an error.
15291 Use char because int might match the return type of a GCC
15292 builtin and then its argument prototype would still apply. */
15293 #ifdef __cplusplus
15294 extern "C"
15295 #endif
15296 char vkGetInstanceProcAddr ();
15298 main ()
15300 return vkGetInstanceProcAddr ();
15302 return 0;
15304 _ACEOF
15305 if ac_fn_c_try_link "$LINENO"; then :
15306 case "$LIBEXT" in
15307 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15308 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'` ;;
15309 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15310 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15311 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15312 fi ;;
15313 esac
15315 rm -f core conftest.err conftest.$ac_objext \
15316 conftest$ac_exeext conftest.$ac_ext
15317 LIBS=$ac_check_soname_save_LIBS
15319 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15321 $as_echo "not found" >&6; }
15323 else
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15325 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15327 cat >>confdefs.h <<_ACEOF
15328 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15329 _ACEOF
15335 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15336 case "x$with_vulkan" in
15337 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15338 xno) ;;
15339 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15340 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15341 esac
15345 if test "x$with_vkd3d" != "xno"
15346 then
15347 if ${VKD3D_CFLAGS:+false} :; then :
15348 if ${PKG_CONFIG+:} false; then :
15349 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15353 if ${VKD3D_LIBS:+false} :; then :
15354 if ${PKG_CONFIG+:} false; then :
15355 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15360 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15361 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15362 ac_save_CPPFLAGS=$CPPFLAGS
15363 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15365 $as_echo_n "checking for -lvkd3d... " >&6; }
15366 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15367 $as_echo_n "(cached) " >&6
15368 else
15369 ac_check_soname_save_LIBS=$LIBS
15370 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15374 /* Override any GCC internal prototype to avoid an error.
15375 Use char because int might match the return type of a GCC
15376 builtin and then its argument prototype would still apply. */
15377 #ifdef __cplusplus
15378 extern "C"
15379 #endif
15380 char vkd3d_create_device ();
15382 main ()
15384 return vkd3d_create_device ();
15386 return 0;
15388 _ACEOF
15389 if ac_fn_c_try_link "$LINENO"; then :
15390 case "$LIBEXT" in
15391 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15392 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'` ;;
15393 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15394 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15395 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15396 fi ;;
15397 esac
15399 rm -f core conftest.err conftest.$ac_objext \
15400 conftest$ac_exeext conftest.$ac_ext
15401 LIBS=$ac_check_soname_save_LIBS
15403 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15405 $as_echo "not found" >&6; }
15407 else
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15409 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15411 cat >>confdefs.h <<_ACEOF
15412 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15413 _ACEOF
15417 CPPFLAGS=$ac_save_CPPFLAGS
15418 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15419 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15422 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15423 case "x$with_vkd3d" in
15424 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15425 xno) ;;
15426 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15427 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15428 esac
15431 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15434 EXTRACFLAGS=""
15436 if test "x${GCC}" = "xyes"
15437 then
15438 EXTRACFLAGS="-Wall -pipe"
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15441 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15442 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15443 $as_echo_n "(cached) " >&6
15444 else
15445 if test "$cross_compiling" = yes; then :
15446 ac_cv_c_gcc_strength_bug="no"
15447 else
15448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15450 int L[4] = {0,1,2,3};
15452 main ()
15454 static int Array[3];
15455 unsigned int B = 3;
15456 int i;
15457 for(i=0; i<B; i++) Array[i] = i - 3;
15458 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15459 L[i] = 4;
15460 return (Array[1] != -2 || L[2] != 3)
15462 return 0;
15464 _ACEOF
15465 if ac_fn_c_try_run "$LINENO"; then :
15466 ac_cv_c_gcc_strength_bug="no"
15467 else
15468 ac_cv_c_gcc_strength_bug="yes"
15470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15471 conftest.$ac_objext conftest.beam conftest.$ac_ext
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15476 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15477 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15478 then
15479 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15483 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15484 if ${ac_cv_cflags__fno_builtin+:} false; then :
15485 $as_echo_n "(cached) " >&6
15486 else
15487 ac_wine_try_cflags_saved=$CFLAGS
15488 CFLAGS="$CFLAGS -fno-builtin"
15489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15490 /* end confdefs.h. */
15491 int main(int argc, char **argv) { return 0; }
15492 _ACEOF
15493 if ac_fn_c_try_link "$LINENO"; then :
15494 ac_cv_cflags__fno_builtin=yes
15495 else
15496 ac_cv_cflags__fno_builtin=no
15498 rm -f core conftest.err conftest.$ac_objext \
15499 conftest$ac_exeext conftest.$ac_ext
15500 CFLAGS=$ac_wine_try_cflags_saved
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15503 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15504 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15505 BUILTINFLAG="-fno-builtin"
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15509 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15510 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15511 $as_echo_n "(cached) " >&6
15512 else
15513 ac_wine_try_cflags_saved=$CFLAGS
15514 CFLAGS="$CFLAGS -fno-strict-aliasing"
15515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15517 int main(int argc, char **argv) { return 0; }
15518 _ACEOF
15519 if ac_fn_c_try_link "$LINENO"; then :
15520 ac_cv_cflags__fno_strict_aliasing=yes
15521 else
15522 ac_cv_cflags__fno_strict_aliasing=no
15524 rm -f core conftest.err conftest.$ac_objext \
15525 conftest$ac_exeext conftest.$ac_ext
15526 CFLAGS=$ac_wine_try_cflags_saved
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15529 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15530 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15531 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15534 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15535 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15536 $as_echo_n "(cached) " >&6
15537 else
15538 ac_wine_try_cflags_saved=$CFLAGS
15539 CFLAGS="$CFLAGS -fexcess-precision=standard"
15540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15541 /* end confdefs.h. */
15542 int main(int argc, char **argv) { return 0; }
15543 _ACEOF
15544 if ac_fn_c_try_link "$LINENO"; then :
15545 ac_cv_cflags__fexcess_precision_standard=yes
15546 else
15547 ac_cv_cflags__fexcess_precision_standard=no
15549 rm -f core conftest.err conftest.$ac_objext \
15550 conftest$ac_exeext conftest.$ac_ext
15551 CFLAGS=$ac_wine_try_cflags_saved
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15554 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15555 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15556 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15559 saved_CFLAGS=$CFLAGS
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15561 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15562 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15563 $as_echo_n "(cached) " >&6
15564 else
15565 ac_wine_try_cflags_saved=$CFLAGS
15566 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h. */
15569 int main(int argc, char **argv) { return 0; }
15570 _ACEOF
15571 if ac_fn_c_try_link "$LINENO"; then :
15572 ac_cv_cflags__Werror_unknown_warning_option=yes
15573 else
15574 ac_cv_cflags__Werror_unknown_warning_option=no
15576 rm -f core conftest.err conftest.$ac_objext \
15577 conftest$ac_exeext conftest.$ac_ext
15578 CFLAGS=$ac_wine_try_cflags_saved
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15581 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15582 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15583 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15586 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15587 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15588 $as_echo_n "(cached) " >&6
15589 else
15590 ac_wine_try_cflags_saved=$CFLAGS
15591 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15594 int main(int argc, char **argv) { return 0; }
15595 _ACEOF
15596 if ac_fn_c_try_link "$LINENO"; then :
15597 ac_cv_cflags__Wdeclaration_after_statement=yes
15598 else
15599 ac_cv_cflags__Wdeclaration_after_statement=no
15601 rm -f core conftest.err conftest.$ac_objext \
15602 conftest$ac_exeext conftest.$ac_ext
15603 CFLAGS=$ac_wine_try_cflags_saved
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15606 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15607 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15608 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15611 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15612 if ${ac_cv_cflags__Wempty_body+:} false; then :
15613 $as_echo_n "(cached) " >&6
15614 else
15615 ac_wine_try_cflags_saved=$CFLAGS
15616 CFLAGS="$CFLAGS -Wempty-body"
15617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15618 /* end confdefs.h. */
15619 int main(int argc, char **argv) { return 0; }
15620 _ACEOF
15621 if ac_fn_c_try_link "$LINENO"; then :
15622 ac_cv_cflags__Wempty_body=yes
15623 else
15624 ac_cv_cflags__Wempty_body=no
15626 rm -f core conftest.err conftest.$ac_objext \
15627 conftest$ac_exeext conftest.$ac_ext
15628 CFLAGS=$ac_wine_try_cflags_saved
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15631 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15632 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15633 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15636 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15637 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15638 $as_echo_n "(cached) " >&6
15639 else
15640 ac_wine_try_cflags_saved=$CFLAGS
15641 CFLAGS="$CFLAGS -Wignored-qualifiers"
15642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15643 /* end confdefs.h. */
15644 int main(int argc, char **argv) { return 0; }
15645 _ACEOF
15646 if ac_fn_c_try_link "$LINENO"; then :
15647 ac_cv_cflags__Wignored_qualifiers=yes
15648 else
15649 ac_cv_cflags__Wignored_qualifiers=no
15651 rm -f core conftest.err conftest.$ac_objext \
15652 conftest$ac_exeext conftest.$ac_ext
15653 CFLAGS=$ac_wine_try_cflags_saved
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15656 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15657 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15658 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15661 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15662 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15663 $as_echo_n "(cached) " >&6
15664 else
15665 ac_wine_try_cflags_saved=$CFLAGS
15666 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15668 /* end confdefs.h. */
15669 int main(int argc, char **argv) { return 0; }
15670 _ACEOF
15671 if ac_fn_c_try_link "$LINENO"; then :
15672 ac_cv_cflags__Wpacked_not_aligned=yes
15673 else
15674 ac_cv_cflags__Wpacked_not_aligned=no
15676 rm -f core conftest.err conftest.$ac_objext \
15677 conftest$ac_exeext conftest.$ac_ext
15678 CFLAGS=$ac_wine_try_cflags_saved
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15681 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15682 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15683 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15686 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15687 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15688 $as_echo_n "(cached) " >&6
15689 else
15690 ac_wine_try_cflags_saved=$CFLAGS
15691 CFLAGS="$CFLAGS -Wpragma-pack"
15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15694 int main(int argc, char **argv) { return 0; }
15695 _ACEOF
15696 if ac_fn_c_try_link "$LINENO"; then :
15697 ac_cv_cflags__Wpragma_pack=yes
15698 else
15699 ac_cv_cflags__Wpragma_pack=no
15701 rm -f core conftest.err conftest.$ac_objext \
15702 conftest$ac_exeext conftest.$ac_ext
15703 CFLAGS=$ac_wine_try_cflags_saved
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15706 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15707 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15708 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15711 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15712 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15713 $as_echo_n "(cached) " >&6
15714 else
15715 ac_wine_try_cflags_saved=$CFLAGS
15716 CFLAGS="$CFLAGS -Wshift-overflow=2"
15717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15718 /* end confdefs.h. */
15719 int main(int argc, char **argv) { return 0; }
15720 _ACEOF
15721 if ac_fn_c_try_link "$LINENO"; then :
15722 ac_cv_cflags__Wshift_overflow_2=yes
15723 else
15724 ac_cv_cflags__Wshift_overflow_2=no
15726 rm -f core conftest.err conftest.$ac_objext \
15727 conftest$ac_exeext conftest.$ac_ext
15728 CFLAGS=$ac_wine_try_cflags_saved
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15731 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15732 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15733 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15736 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15737 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15738 $as_echo_n "(cached) " >&6
15739 else
15740 ac_wine_try_cflags_saved=$CFLAGS
15741 CFLAGS="$CFLAGS -Wstrict-prototypes"
15742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15743 /* end confdefs.h. */
15744 int main(int argc, char **argv) { return 0; }
15745 _ACEOF
15746 if ac_fn_c_try_link "$LINENO"; then :
15747 ac_cv_cflags__Wstrict_prototypes=yes
15748 else
15749 ac_cv_cflags__Wstrict_prototypes=no
15751 rm -f core conftest.err conftest.$ac_objext \
15752 conftest$ac_exeext conftest.$ac_ext
15753 CFLAGS=$ac_wine_try_cflags_saved
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15756 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15757 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15758 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15761 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15762 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15763 $as_echo_n "(cached) " >&6
15764 else
15765 ac_wine_try_cflags_saved=$CFLAGS
15766 CFLAGS="$CFLAGS -Wtype-limits"
15767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15769 int main(int argc, char **argv) { return 0; }
15770 _ACEOF
15771 if ac_fn_c_try_link "$LINENO"; then :
15772 ac_cv_cflags__Wtype_limits=yes
15773 else
15774 ac_cv_cflags__Wtype_limits=no
15776 rm -f core conftest.err conftest.$ac_objext \
15777 conftest$ac_exeext conftest.$ac_ext
15778 CFLAGS=$ac_wine_try_cflags_saved
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15781 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15782 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15783 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15786 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15787 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15788 $as_echo_n "(cached) " >&6
15789 else
15790 ac_wine_try_cflags_saved=$CFLAGS
15791 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793 /* end confdefs.h. */
15794 int main(int argc, char **argv) { return 0; }
15795 _ACEOF
15796 if ac_fn_c_try_link "$LINENO"; then :
15797 ac_cv_cflags__Wunused_but_set_parameter=yes
15798 else
15799 ac_cv_cflags__Wunused_but_set_parameter=no
15801 rm -f core conftest.err conftest.$ac_objext \
15802 conftest$ac_exeext conftest.$ac_ext
15803 CFLAGS=$ac_wine_try_cflags_saved
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15806 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15807 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15808 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15811 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15812 if ${ac_cv_cflags__Wvla+:} false; then :
15813 $as_echo_n "(cached) " >&6
15814 else
15815 ac_wine_try_cflags_saved=$CFLAGS
15816 CFLAGS="$CFLAGS -Wvla"
15817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15818 /* end confdefs.h. */
15819 int main(int argc, char **argv) { return 0; }
15820 _ACEOF
15821 if ac_fn_c_try_link "$LINENO"; then :
15822 ac_cv_cflags__Wvla=yes
15823 else
15824 ac_cv_cflags__Wvla=no
15826 rm -f core conftest.err conftest.$ac_objext \
15827 conftest$ac_exeext conftest.$ac_ext
15828 CFLAGS=$ac_wine_try_cflags_saved
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15831 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15832 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15833 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15836 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15837 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15838 $as_echo_n "(cached) " >&6
15839 else
15840 ac_wine_try_cflags_saved=$CFLAGS
15841 CFLAGS="$CFLAGS -Wwrite-strings"
15842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15843 /* end confdefs.h. */
15844 int main(int argc, char **argv) { return 0; }
15845 _ACEOF
15846 if ac_fn_c_try_link "$LINENO"; then :
15847 ac_cv_cflags__Wwrite_strings=yes
15848 else
15849 ac_cv_cflags__Wwrite_strings=no
15851 rm -f core conftest.err conftest.$ac_objext \
15852 conftest$ac_exeext conftest.$ac_ext
15853 CFLAGS=$ac_wine_try_cflags_saved
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15856 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15857 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15858 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15862 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15863 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15864 $as_echo_n "(cached) " >&6
15865 else
15866 ac_wine_try_cflags_saved=$CFLAGS
15867 CFLAGS="$CFLAGS -Wpointer-arith"
15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15870 int main(int argc, char **argv) { return 0; }
15871 _ACEOF
15872 if ac_fn_c_try_link "$LINENO"; then :
15873 ac_cv_cflags__Wpointer_arith=yes
15874 else
15875 ac_cv_cflags__Wpointer_arith=no
15877 rm -f core conftest.err conftest.$ac_objext \
15878 conftest$ac_exeext conftest.$ac_ext
15879 CFLAGS=$ac_wine_try_cflags_saved
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15882 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15883 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15884 saved_string_h_CFLAGS=$CFLAGS
15885 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15887 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15888 if ${ac_cv_c_string_h_warnings+:} false; then :
15889 $as_echo_n "(cached) " >&6
15890 else
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15893 #include <string.h>
15895 main ()
15899 return 0;
15901 _ACEOF
15902 if ac_fn_c_try_compile "$LINENO"; then :
15903 ac_cv_c_string_h_warnings=no
15904 else
15905 ac_cv_c_string_h_warnings=yes
15907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15910 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15911 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15912 CFLAGS=$saved_string_h_CFLAGS
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15916 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15917 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15918 $as_echo_n "(cached) " >&6
15919 else
15920 ac_wine_try_cflags_saved=$CFLAGS
15921 CFLAGS="$CFLAGS -Wlogical-op"
15922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15923 /* end confdefs.h. */
15924 int main(int argc, char **argv) { return 0; }
15925 _ACEOF
15926 if ac_fn_c_try_link "$LINENO"; then :
15927 ac_cv_cflags__Wlogical_op=yes
15928 else
15929 ac_cv_cflags__Wlogical_op=no
15931 rm -f core conftest.err conftest.$ac_objext \
15932 conftest$ac_exeext conftest.$ac_ext
15933 CFLAGS=$ac_wine_try_cflags_saved
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15936 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15937 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15938 saved_string_h_CFLAGS=$CFLAGS
15939 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15941 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15942 if ${ac_cv_c_logicalop_noisy+:} false; then :
15943 $as_echo_n "(cached) " >&6
15944 else
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15947 #include <string.h>
15948 char*f(const char *h,char n) {return strchr(h,n);}
15950 main ()
15954 return 0;
15956 _ACEOF
15957 if ac_fn_c_try_compile "$LINENO"; then :
15958 ac_cv_c_logicalop_noisy=no
15959 else
15960 ac_cv_c_logicalop_noisy=yes
15962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15965 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15966 CFLAGS=$saved_string_h_CFLAGS
15967 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15970 CFLAGS=$saved_CFLAGS
15972 for ac_flag in $CFLAGS; do
15973 case $ac_flag in
15974 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15975 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15976 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15977 $as_echo_n "(cached) " >&6
15978 else
15979 ac_wine_try_cflags_saved=$CFLAGS
15980 CFLAGS="$CFLAGS -gdwarf-2"
15981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15982 /* end confdefs.h. */
15983 int main(int argc, char **argv) { return 0; }
15984 _ACEOF
15985 if ac_fn_c_try_link "$LINENO"; then :
15986 ac_cv_cflags__gdwarf_2=yes
15987 else
15988 ac_cv_cflags__gdwarf_2=no
15990 rm -f core conftest.err conftest.$ac_objext \
15991 conftest$ac_exeext conftest.$ac_ext
15992 CFLAGS=$ac_wine_try_cflags_saved
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15995 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15996 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15997 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16000 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16001 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16002 $as_echo_n "(cached) " >&6
16003 else
16004 ac_wine_try_cflags_saved=$CFLAGS
16005 CFLAGS="$CFLAGS -gstrict-dwarf"
16006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16007 /* end confdefs.h. */
16008 int main(int argc, char **argv) { return 0; }
16009 _ACEOF
16010 if ac_fn_c_try_link "$LINENO"; then :
16011 ac_cv_cflags__gstrict_dwarf=yes
16012 else
16013 ac_cv_cflags__gstrict_dwarf=no
16015 rm -f core conftest.err conftest.$ac_objext \
16016 conftest$ac_exeext conftest.$ac_ext
16017 CFLAGS=$ac_wine_try_cflags_saved
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16020 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16021 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16022 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16023 fi ;;
16024 esac
16025 done
16027 case $host_cpu in
16028 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16029 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16030 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16031 $as_echo_n "(cached) " >&6
16032 else
16033 ac_wine_try_cflags_saved=$CFLAGS
16034 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h. */
16037 int main(int argc, char **argv) { return 0; }
16038 _ACEOF
16039 if ac_fn_c_try_link "$LINENO"; then :
16040 ac_cv_cflags__fno_omit_frame_pointer=yes
16041 else
16042 ac_cv_cflags__fno_omit_frame_pointer=no
16044 rm -f core conftest.err conftest.$ac_objext \
16045 conftest$ac_exeext conftest.$ac_ext
16046 CFLAGS=$ac_wine_try_cflags_saved
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16049 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16050 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16051 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16052 fi ;;
16053 esac
16055 case $host in
16056 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16057 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16058 if ${ac_cv_cflags__Wno_format+:} false; then :
16059 $as_echo_n "(cached) " >&6
16060 else
16061 ac_wine_try_cflags_saved=$CFLAGS
16062 CFLAGS="$CFLAGS -Wno-format"
16063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16064 /* end confdefs.h. */
16065 int main(int argc, char **argv) { return 0; }
16066 _ACEOF
16067 if ac_fn_c_try_link "$LINENO"; then :
16068 ac_cv_cflags__Wno_format=yes
16069 else
16070 ac_cv_cflags__Wno_format=no
16072 rm -f core conftest.err conftest.$ac_objext \
16073 conftest$ac_exeext conftest.$ac_ext
16074 CFLAGS=$ac_wine_try_cflags_saved
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16077 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16078 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16079 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16080 fi ;;
16081 esac
16083 if test "x$enable_maintainer_mode" = "xyes"
16084 then
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16086 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16087 if ${ac_cv_cflags__Werror+:} false; then :
16088 $as_echo_n "(cached) " >&6
16089 else
16090 ac_wine_try_cflags_saved=$CFLAGS
16091 CFLAGS="$CFLAGS -Werror"
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16094 int main(int argc, char **argv) { return 0; }
16095 _ACEOF
16096 if ac_fn_c_try_link "$LINENO"; then :
16097 ac_cv_cflags__Werror=yes
16098 else
16099 ac_cv_cflags__Werror=no
16101 rm -f core conftest.err conftest.$ac_objext \
16102 conftest$ac_exeext conftest.$ac_ext
16103 CFLAGS=$ac_wine_try_cflags_saved
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16106 $as_echo "$ac_cv_cflags__Werror" >&6; }
16107 if test "x$ac_cv_cflags__Werror" = xyes; then :
16108 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16112 saved_CFLAGS="$CFLAGS"
16113 CFLAGS="$CFLAGS -Werror"
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16115 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16116 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16117 $as_echo_n "(cached) " >&6
16118 else
16119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16120 /* end confdefs.h. */
16121 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16123 main ()
16127 return 0;
16129 _ACEOF
16130 if ac_fn_c_try_compile "$LINENO"; then :
16131 ac_cv_have_ms_hook_prologue="yes"
16132 else
16133 ac_cv_have_ms_hook_prologue="no"
16135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16138 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16139 CFLAGS="$saved_CFLAGS"
16140 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16141 then
16143 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16145 else
16146 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16153 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16154 if ${ac_cv_c_fortify_enabled+:} false; then :
16155 $as_echo_n "(cached) " >&6
16156 else
16157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16159 #include <string.h>
16161 main ()
16163 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16164 #error Fortify enabled
16165 #endif
16167 return 0;
16169 _ACEOF
16170 if ac_fn_c_try_compile "$LINENO"; then :
16171 ac_cv_c_fortify_enabled=no
16172 else
16173 ac_cv_c_fortify_enabled=yes
16175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16178 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16179 if test "$ac_cv_c_fortify_enabled" = yes
16180 then
16181 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16186 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16187 if ${ac_cv_c_extern_prefix+:} false; then :
16188 $as_echo_n "(cached) " >&6
16189 else
16190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16192 extern int ac_test;
16194 main ()
16196 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16198 return 0;
16200 _ACEOF
16201 if ac_fn_c_try_link "$LINENO"; then :
16202 ac_cv_c_extern_prefix="yes"
16203 else
16204 ac_cv_c_extern_prefix="no"
16206 rm -f core conftest.err conftest.$ac_objext \
16207 conftest$ac_exeext conftest.$ac_ext
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16210 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16212 case $host_cpu in
16213 *i[3456789]86*)
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16215 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16216 if ${ac_cv_c_stdcall_suffix+:} false; then :
16217 $as_echo_n "(cached) " >&6
16218 else
16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16220 /* end confdefs.h. */
16221 #ifndef _MSC_VER
16222 #define __stdcall __attribute__((__stdcall__))
16223 #endif
16224 int __stdcall ac_test(int i) { return i; }
16226 main ()
16228 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16230 return 0;
16232 _ACEOF
16233 if ac_fn_c_try_link "$LINENO"; then :
16234 ac_cv_c_stdcall_suffix="yes"
16235 else
16236 ac_cv_c_stdcall_suffix="no"
16238 rm -f core conftest.err conftest.$ac_objext \
16239 conftest$ac_exeext conftest.$ac_ext
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16242 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16243 *) ac_cv_c_stdcall_suffix="no" ;;
16244 esac
16247 if test "$ac_cv_c_extern_prefix" = "yes"
16248 then
16249 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16251 asm_name_prefix="_"
16252 else
16253 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16255 asm_name_prefix=""
16259 if test "$ac_cv_c_stdcall_suffix" = "yes"
16260 then
16261 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16263 else
16264 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16270 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16271 if ${ac_cv_asm_func_def+:} false; then :
16272 $as_echo_n "(cached) " >&6
16273 else
16274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16275 /* end confdefs.h. */
16278 main ()
16280 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16282 return 0;
16284 _ACEOF
16285 if ac_fn_c_try_link "$LINENO"; then :
16286 ac_cv_asm_func_def=".def"
16287 else
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16292 main ()
16294 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16296 return 0;
16298 _ACEOF
16299 if ac_fn_c_try_link "$LINENO"; then :
16300 ac_cv_asm_func_def=".type @function"
16301 else
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16306 main ()
16308 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16310 return 0;
16312 _ACEOF
16313 if ac_fn_c_try_link "$LINENO"; then :
16314 ac_cv_asm_func_def=".type 2"
16315 else
16316 ac_cv_asm_func_def="unknown"
16318 rm -f core conftest.err conftest.$ac_objext \
16319 conftest$ac_exeext conftest.$ac_ext
16321 rm -f core conftest.err conftest.$ac_objext \
16322 conftest$ac_exeext conftest.$ac_ext
16324 rm -f core conftest.err conftest.$ac_objext \
16325 conftest$ac_exeext conftest.$ac_ext
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16328 $as_echo "$ac_cv_asm_func_def" >&6; }
16331 case "$ac_cv_asm_func_def" in
16332 ".def")
16333 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16335 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16336 ".type @function")
16337 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16339 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16340 ".type 2")
16341 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16343 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16345 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16347 asm_func_header="" ;;
16348 esac
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16351 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16352 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16353 $as_echo_n "(cached) " >&6
16354 else
16355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16356 /* end confdefs.h. */
16357 asm(".text\n\t.long 0");
16359 main ()
16363 return 0;
16365 _ACEOF
16366 if ac_fn_c_try_compile "$LINENO"; then :
16367 ac_cv_c_asm_outside_funcs="yes"
16368 else
16369 ac_cv_c_asm_outside_funcs="no"
16371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16374 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16377 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16378 if ${ac_cv_c_dot_previous+:} false; then :
16379 $as_echo_n "(cached) " >&6
16380 else
16381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16382 /* end confdefs.h. */
16385 main ()
16387 asm(".text\nac_test:\t.long 0\n\t.previous");
16389 return 0;
16391 _ACEOF
16392 if ac_fn_c_try_link "$LINENO"; then :
16393 ac_cv_c_dot_previous="yes"
16394 else
16395 ac_cv_c_dot_previous="no"
16397 rm -f core conftest.err conftest.$ac_objext \
16398 conftest$ac_exeext conftest.$ac_ext
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16401 $as_echo "$ac_cv_c_dot_previous" >&6; }
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16404 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16405 if ${ac_cv_c_cfi_support+:} false; then :
16406 $as_echo_n "(cached) " >&6
16407 else
16408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h. */
16410 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16412 main ()
16416 return 0;
16418 _ACEOF
16419 if ac_fn_c_try_compile "$LINENO"; then :
16420 ac_cv_c_cfi_support="yes"
16421 else
16422 ac_cv_c_cfi_support="no"
16424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16427 $as_echo "$ac_cv_c_cfi_support" >&6; }
16429 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16430 asm_func_trailer=""
16431 if test "$ac_cv_c_dot_previous" = "yes"
16432 then
16433 asm_func_trailer="\\n\\t.previous"
16435 if test "$ac_cv_c_cfi_support" = "yes"
16436 then
16437 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16438 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16440 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16442 UNWINDFLAGS=-fasynchronous-unwind-tables
16444 else
16445 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16447 if test "x$enable_win64" = "xyes"
16448 then
16449 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16453 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16456 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16457 then
16458 cat >>confdefs.h <<_ACEOF
16459 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16460 _ACEOF
16462 else
16463 cat >>confdefs.h <<_ACEOF
16464 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16465 _ACEOF
16469 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16472 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16476 case $build_os in
16477 cygwin*|mingw32*) TOOLSEXT=".exe"
16479 esac
16481 case $host_os in
16482 linux*)
16483 case $host_cpu in
16484 *i[3456789]86*|x86_64*|*aarch64*)
16485 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16486 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16488 esac
16490 esac
16493 ac_save_CFLAGS="$CFLAGS"
16494 CFLAGS="$CFLAGS $BUILTINFLAG"
16495 for ac_func in \
16496 __res_get_state \
16497 __res_getservers \
16498 _finite \
16499 _isnan \
16500 _pclose \
16501 _popen \
16502 _snprintf \
16503 _spawnvp \
16504 _strdup \
16505 _stricmp \
16506 _strnicmp \
16507 _strtoi64 \
16508 _strtoui64 \
16509 _vsnprintf \
16510 asctime_r \
16511 chsize \
16512 dlopen \
16513 epoll_create \
16514 ffs \
16515 finitef \
16516 fnmatch \
16517 fork \
16518 fpclass \
16519 fstatfs \
16520 fstatvfs \
16521 ftruncate \
16522 futimens \
16523 futimes \
16524 futimesat \
16525 getattrlist \
16526 getauxval \
16527 getifaddrs \
16528 getopt_long_only \
16529 getpwuid \
16530 gettimeofday \
16531 getuid \
16532 kqueue \
16533 lstat \
16534 memmove \
16535 mmap \
16536 pclose \
16537 pipe2 \
16538 poll \
16539 popen \
16540 port_create \
16541 prctl \
16542 pread \
16543 proc_pidinfo \
16544 pwrite \
16545 readdir \
16546 readlink \
16547 sched_yield \
16548 select \
16549 setproctitle \
16550 setprogname \
16551 setrlimit \
16552 settimeofday \
16553 sigaltstack \
16554 sigprocmask \
16555 snprintf \
16556 statfs \
16557 statvfs \
16558 strcasecmp \
16559 strdup \
16560 strerror \
16561 strncasecmp \
16562 strnlen \
16563 strtold \
16564 strtoll \
16565 strtoull \
16566 symlink \
16567 sysinfo \
16568 tcdrain \
16569 thr_kill2 \
16570 timegm \
16571 usleep \
16572 vsnprintf
16574 do :
16575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16577 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16578 cat >>confdefs.h <<_ACEOF
16579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16580 _ACEOF
16583 done
16585 CFLAGS="$ac_save_CFLAGS"
16587 if test "$ac_cv_func_dlopen" = no
16588 then
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16590 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16591 if ${ac_cv_lib_dl_dlopen+:} false; then :
16592 $as_echo_n "(cached) " >&6
16593 else
16594 ac_check_lib_save_LIBS=$LIBS
16595 LIBS="-ldl $LIBS"
16596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16599 /* Override any GCC internal prototype to avoid an error.
16600 Use char because int might match the return type of a GCC
16601 builtin and then its argument prototype would still apply. */
16602 #ifdef __cplusplus
16603 extern "C"
16604 #endif
16605 char dlopen ();
16607 main ()
16609 return dlopen ();
16611 return 0;
16613 _ACEOF
16614 if ac_fn_c_try_link "$LINENO"; then :
16615 ac_cv_lib_dl_dlopen=yes
16616 else
16617 ac_cv_lib_dl_dlopen=no
16619 rm -f core conftest.err conftest.$ac_objext \
16620 conftest$ac_exeext conftest.$ac_ext
16621 LIBS=$ac_check_lib_save_LIBS
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16624 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16625 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16626 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16627 DL_LIBS="-ldl"
16632 ac_wine_check_funcs_save_LIBS="$LIBS"
16633 LIBS="$LIBS $DL_LIBS"
16634 for ac_func in dladdr
16635 do :
16636 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16637 if test "x$ac_cv_func_dladdr" = xyes; then :
16638 cat >>confdefs.h <<_ACEOF
16639 #define HAVE_DLADDR 1
16640 _ACEOF
16643 done
16645 LIBS="$ac_wine_check_funcs_save_LIBS"
16647 if test "$ac_cv_func_poll" = no
16648 then
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16650 $as_echo_n "checking for poll in -lpoll... " >&6; }
16651 if ${ac_cv_lib_poll_poll+:} false; then :
16652 $as_echo_n "(cached) " >&6
16653 else
16654 ac_check_lib_save_LIBS=$LIBS
16655 LIBS="-lpoll $LIBS"
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16659 /* Override any GCC internal prototype to avoid an error.
16660 Use char because int might match the return type of a GCC
16661 builtin and then its argument prototype would still apply. */
16662 #ifdef __cplusplus
16663 extern "C"
16664 #endif
16665 char poll ();
16667 main ()
16669 return poll ();
16671 return 0;
16673 _ACEOF
16674 if ac_fn_c_try_link "$LINENO"; then :
16675 ac_cv_lib_poll_poll=yes
16676 else
16677 ac_cv_lib_poll_poll=no
16679 rm -f core conftest.err conftest.$ac_objext \
16680 conftest$ac_exeext conftest.$ac_ext
16681 LIBS=$ac_check_lib_save_LIBS
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16684 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16685 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16686 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16687 POLL_LIBS="-lpoll"
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16694 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16695 if ${ac_cv_search_gethostbyname+:} false; then :
16696 $as_echo_n "(cached) " >&6
16697 else
16698 ac_func_search_save_LIBS=$LIBS
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16702 /* Override any GCC internal prototype to avoid an error.
16703 Use char because int might match the return type of a GCC
16704 builtin and then its argument prototype would still apply. */
16705 #ifdef __cplusplus
16706 extern "C"
16707 #endif
16708 char gethostbyname ();
16710 main ()
16712 return gethostbyname ();
16714 return 0;
16716 _ACEOF
16717 for ac_lib in '' nsl; do
16718 if test -z "$ac_lib"; then
16719 ac_res="none required"
16720 else
16721 ac_res=-l$ac_lib
16722 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16724 if ac_fn_c_try_link "$LINENO"; then :
16725 ac_cv_search_gethostbyname=$ac_res
16727 rm -f core conftest.err conftest.$ac_objext \
16728 conftest$ac_exeext
16729 if ${ac_cv_search_gethostbyname+:} false; then :
16730 break
16732 done
16733 if ${ac_cv_search_gethostbyname+:} false; then :
16735 else
16736 ac_cv_search_gethostbyname=no
16738 rm conftest.$ac_ext
16739 LIBS=$ac_func_search_save_LIBS
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16742 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16743 ac_res=$ac_cv_search_gethostbyname
16744 if test "$ac_res" != no; then :
16745 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16751 $as_echo_n "checking for library containing connect... " >&6; }
16752 if ${ac_cv_search_connect+:} false; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16755 ac_func_search_save_LIBS=$LIBS
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16759 /* Override any GCC internal prototype to avoid an error.
16760 Use char because int might match the return type of a GCC
16761 builtin and then its argument prototype would still apply. */
16762 #ifdef __cplusplus
16763 extern "C"
16764 #endif
16765 char connect ();
16767 main ()
16769 return connect ();
16771 return 0;
16773 _ACEOF
16774 for ac_lib in '' socket; do
16775 if test -z "$ac_lib"; then
16776 ac_res="none required"
16777 else
16778 ac_res=-l$ac_lib
16779 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16781 if ac_fn_c_try_link "$LINENO"; then :
16782 ac_cv_search_connect=$ac_res
16784 rm -f core conftest.err conftest.$ac_objext \
16785 conftest$ac_exeext
16786 if ${ac_cv_search_connect+:} false; then :
16787 break
16789 done
16790 if ${ac_cv_search_connect+:} false; then :
16792 else
16793 ac_cv_search_connect=no
16795 rm conftest.$ac_ext
16796 LIBS=$ac_func_search_save_LIBS
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16799 $as_echo "$ac_cv_search_connect" >&6; }
16800 ac_res=$ac_cv_search_connect
16801 if test "$ac_res" != no; then :
16802 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16808 $as_echo_n "checking for library containing inet_aton... " >&6; }
16809 if ${ac_cv_search_inet_aton+:} false; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16812 ac_func_search_save_LIBS=$LIBS
16813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16816 /* Override any GCC internal prototype to avoid an error.
16817 Use char because int might match the return type of a GCC
16818 builtin and then its argument prototype would still apply. */
16819 #ifdef __cplusplus
16820 extern "C"
16821 #endif
16822 char inet_aton ();
16824 main ()
16826 return inet_aton ();
16828 return 0;
16830 _ACEOF
16831 for ac_lib in '' resolv; do
16832 if test -z "$ac_lib"; then
16833 ac_res="none required"
16834 else
16835 ac_res=-l$ac_lib
16836 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16838 if ac_fn_c_try_link "$LINENO"; then :
16839 ac_cv_search_inet_aton=$ac_res
16841 rm -f core conftest.err conftest.$ac_objext \
16842 conftest$ac_exeext
16843 if ${ac_cv_search_inet_aton+:} false; then :
16844 break
16846 done
16847 if ${ac_cv_search_inet_aton+:} false; then :
16849 else
16850 ac_cv_search_inet_aton=no
16852 rm conftest.$ac_ext
16853 LIBS=$ac_func_search_save_LIBS
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16856 $as_echo "$ac_cv_search_inet_aton" >&6; }
16857 ac_res=$ac_cv_search_inet_aton
16858 if test "$ac_res" != no; then :
16859 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16864 for ac_func in \
16865 getaddrinfo \
16866 getnameinfo \
16867 getnetbyname \
16868 getprotobyname \
16869 getprotobynumber \
16870 getservbyport \
16871 inet_addr \
16872 inet_network \
16873 inet_ntop \
16874 inet_pton \
16875 sendmsg \
16876 socketpair \
16878 do :
16879 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16881 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16882 cat >>confdefs.h <<_ACEOF
16883 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16884 _ACEOF
16887 done
16890 ac_save_LIBS=$LIBS
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16892 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16893 if ${ac_cv_search_clock_gettime+:} false; then :
16894 $as_echo_n "(cached) " >&6
16895 else
16896 ac_func_search_save_LIBS=$LIBS
16897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16900 /* Override any GCC internal prototype to avoid an error.
16901 Use char because int might match the return type of a GCC
16902 builtin and then its argument prototype would still apply. */
16903 #ifdef __cplusplus
16904 extern "C"
16905 #endif
16906 char clock_gettime ();
16908 main ()
16910 return clock_gettime ();
16912 return 0;
16914 _ACEOF
16915 for ac_lib in '' rt; do
16916 if test -z "$ac_lib"; then
16917 ac_res="none required"
16918 else
16919 ac_res=-l$ac_lib
16920 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16922 if ac_fn_c_try_link "$LINENO"; then :
16923 ac_cv_search_clock_gettime=$ac_res
16925 rm -f core conftest.err conftest.$ac_objext \
16926 conftest$ac_exeext
16927 if ${ac_cv_search_clock_gettime+:} false; then :
16928 break
16930 done
16931 if ${ac_cv_search_clock_gettime+:} false; then :
16933 else
16934 ac_cv_search_clock_gettime=no
16936 rm conftest.$ac_ext
16937 LIBS=$ac_func_search_save_LIBS
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16940 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16941 ac_res=$ac_cv_search_clock_gettime
16942 if test "$ac_res" != no; then :
16943 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16945 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16947 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16951 LIBS=$ac_save_LIBS
16953 if test "x$with_ldap" != "xno"
16954 then
16955 if ${LDAP_CFLAGS:+false} :; then :
16956 if ${PKG_CONFIG+:} false; then :
16957 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16961 if ${LDAP_LIBS:+false} :; then :
16962 if ${PKG_CONFIG+:} false; then :
16963 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16967 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16968 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16969 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16970 ac_save_CPPFLAGS=$CPPFLAGS
16971 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16972 for ac_header in ldap.h lber.h
16973 do :
16974 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16975 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16976 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16977 cat >>confdefs.h <<_ACEOF
16978 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16979 _ACEOF
16983 done
16985 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16986 then
16987 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16989 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16991 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16992 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 ac_check_lib_save_LIBS=$LIBS
16996 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16998 /* end confdefs.h. */
17000 /* Override any GCC internal prototype to avoid an error.
17001 Use char because int might match the return type of a GCC
17002 builtin and then its argument prototype would still apply. */
17003 #ifdef __cplusplus
17004 extern "C"
17005 #endif
17006 char ldap_initialize ();
17008 main ()
17010 return ldap_initialize ();
17012 return 0;
17014 _ACEOF
17015 if ac_fn_c_try_link "$LINENO"; then :
17016 ac_cv_lib_ldap_r_ldap_initialize=yes
17017 else
17018 ac_cv_lib_ldap_r_ldap_initialize=no
17020 rm -f core conftest.err conftest.$ac_objext \
17021 conftest$ac_exeext conftest.$ac_ext
17022 LIBS=$ac_check_lib_save_LIBS
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17025 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17026 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17028 $as_echo_n "checking for ber_init in -llber... " >&6; }
17029 if ${ac_cv_lib_lber_ber_init+:} false; then :
17030 $as_echo_n "(cached) " >&6
17031 else
17032 ac_check_lib_save_LIBS=$LIBS
17033 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17037 /* Override any GCC internal prototype to avoid an error.
17038 Use char because int might match the return type of a GCC
17039 builtin and then its argument prototype would still apply. */
17040 #ifdef __cplusplus
17041 extern "C"
17042 #endif
17043 char ber_init ();
17045 main ()
17047 return ber_init ();
17049 return 0;
17051 _ACEOF
17052 if ac_fn_c_try_link "$LINENO"; then :
17053 ac_cv_lib_lber_ber_init=yes
17054 else
17055 ac_cv_lib_lber_ber_init=no
17057 rm -f core conftest.err conftest.$ac_objext \
17058 conftest$ac_exeext conftest.$ac_ext
17059 LIBS=$ac_check_lib_save_LIBS
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17062 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17063 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17065 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17067 else
17068 LDAP_LIBS=""
17071 else
17072 LDAP_LIBS=""
17075 else
17076 LDAP_LIBS=""
17079 ac_wine_check_funcs_save_LIBS="$LIBS"
17080 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17081 for ac_func in \
17082 ldap_count_references \
17083 ldap_first_reference \
17084 ldap_next_reference \
17085 ldap_parse_reference \
17086 ldap_parse_sort_control \
17087 ldap_parse_sortresponse_control \
17088 ldap_parse_vlv_control \
17089 ldap_parse_vlvresponse_control
17090 do :
17091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17093 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17094 cat >>confdefs.h <<_ACEOF
17095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17096 _ACEOF
17099 done
17101 LIBS="$ac_wine_check_funcs_save_LIBS"
17102 else
17103 LDAP_LIBS=""
17105 CPPFLAGS=$ac_save_CPPFLAGS
17106 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17107 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17110 if test "x$LDAP_LIBS" = "x"; then :
17111 case "x$with_ldap" in
17112 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17113 xno) ;;
17114 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17115 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17116 esac
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17121 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17122 if ${wine_cv_one_arg_mkdir+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <sys/stat.h>
17129 main ()
17131 mkdir("foo");
17133 return 0;
17135 _ACEOF
17136 if ac_fn_c_try_compile "$LINENO"; then :
17137 wine_cv_one_arg_mkdir=yes
17138 else
17139 wine_cv_one_arg_mkdir=no
17141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17144 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17145 if test "$wine_cv_one_arg_mkdir" = "yes"
17146 then
17148 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17153 $as_echo_n "checking for sched_setaffinity... " >&6; }
17154 if ${wine_cv_have_sched_setaffinity+:} false; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17159 #define _GNU_SOURCE
17160 #include <sched.h>
17162 main ()
17164 sched_setaffinity(0, 0, 0);
17166 return 0;
17168 _ACEOF
17169 if ac_fn_c_try_link "$LINENO"; then :
17170 wine_cv_have_sched_setaffinity=yes
17171 else
17172 wine_cv_have_sched_setaffinity=no
17174 rm -f core conftest.err conftest.$ac_objext \
17175 conftest$ac_exeext conftest.$ac_ext
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17178 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17179 if test "$wine_cv_have_sched_setaffinity" = "yes"
17180 then
17182 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17187 $as_echo_n "checking for fallocate... " >&6; }
17188 if ${wine_cv_have_fallocate+:} false; then :
17189 $as_echo_n "(cached) " >&6
17190 else
17191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17192 /* end confdefs.h. */
17193 #define _GNU_SOURCE
17194 #include <fcntl.h>
17196 main ()
17198 fallocate(-1, 0, 0, 0);
17200 return 0;
17202 _ACEOF
17203 if ac_fn_c_try_link "$LINENO"; then :
17204 wine_cv_have_fallocate=yes
17205 else
17206 wine_cv_have_fallocate=no
17208 rm -f core conftest.err conftest.$ac_objext \
17209 conftest$ac_exeext conftest.$ac_ext
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17212 $as_echo "$wine_cv_have_fallocate" >&6; }
17213 if test "$wine_cv_have_fallocate" = "yes"
17214 then
17216 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17222 $as_echo_n "checking for inline... " >&6; }
17223 if ${ac_cv_c_inline+:} false; then :
17224 $as_echo_n "(cached) " >&6
17225 else
17226 ac_cv_c_inline=no
17227 for ac_kw in inline __inline__ __inline; do
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17230 #ifndef __cplusplus
17231 typedef int foo_t;
17232 static $ac_kw foo_t static_foo () {return 0; }
17233 $ac_kw foo_t foo () {return 0; }
17234 #endif
17236 _ACEOF
17237 if ac_fn_c_try_compile "$LINENO"; then :
17238 ac_cv_c_inline=$ac_kw
17240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17241 test "$ac_cv_c_inline" != no && break
17242 done
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17246 $as_echo "$ac_cv_c_inline" >&6; }
17248 case $ac_cv_c_inline in
17249 inline | yes) ;;
17251 case $ac_cv_c_inline in
17252 no) ac_val=;;
17253 *) ac_val=$ac_cv_c_inline;;
17254 esac
17255 cat >>confdefs.h <<_ACEOF
17256 #ifndef __cplusplus
17257 #define inline $ac_val
17258 #endif
17259 _ACEOF
17261 esac
17263 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17264 if test "x$ac_cv_type_mode_t" = xyes; then :
17266 cat >>confdefs.h <<_ACEOF
17267 #define HAVE_MODE_T 1
17268 _ACEOF
17272 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17273 if test "x$ac_cv_type_off_t" = xyes; then :
17275 cat >>confdefs.h <<_ACEOF
17276 #define HAVE_OFF_T 1
17277 _ACEOF
17281 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17282 if test "x$ac_cv_type_pid_t" = xyes; then :
17284 cat >>confdefs.h <<_ACEOF
17285 #define HAVE_PID_T 1
17286 _ACEOF
17290 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17291 if test "x$ac_cv_type_size_t" = xyes; then :
17293 cat >>confdefs.h <<_ACEOF
17294 #define HAVE_SIZE_T 1
17295 _ACEOF
17299 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17300 if test "x$ac_cv_type_ssize_t" = xyes; then :
17302 cat >>confdefs.h <<_ACEOF
17303 #define HAVE_SSIZE_T 1
17304 _ACEOF
17308 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17309 if test "x$ac_cv_type_long_long" = xyes; then :
17311 cat >>confdefs.h <<_ACEOF
17312 #define HAVE_LONG_LONG 1
17313 _ACEOF
17317 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17318 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17320 cat >>confdefs.h <<_ACEOF
17321 #define HAVE_FSBLKCNT_T 1
17322 _ACEOF
17326 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17327 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17329 cat >>confdefs.h <<_ACEOF
17330 #define HAVE_FSFILCNT_T 1
17331 _ACEOF
17336 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17337 #include <signal.h>
17339 if test "x$ac_cv_type_sigset_t" = xyes; then :
17341 cat >>confdefs.h <<_ACEOF
17342 #define HAVE_SIGSET_T 1
17343 _ACEOF
17348 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17350 if test "x$ac_cv_type_request_sense" = xyes; then :
17352 cat >>confdefs.h <<_ACEOF
17353 #define HAVE_REQUEST_SENSE 1
17354 _ACEOF
17360 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17361 #ifdef HAVE_SYS_SOCKET_H
17362 #include <sys/socket.h>
17363 #endif
17364 #ifdef HAVE_SYS_SOCKETVAR_H
17365 #include <sys/socketvar.h>
17366 #endif
17367 #ifdef HAVE_NET_ROUTE_H
17368 #include <net/route.h>
17369 #endif
17370 #ifdef HAVE_NETINET_IN_H
17371 #include <netinet/in.h>
17372 #endif
17373 #ifdef HAVE_NETINET_IN_SYSTM_H
17374 #include <netinet/in_systm.h>
17375 #endif
17376 #ifdef HAVE_NETINET_IP_H
17377 #include <netinet/ip.h>
17378 #endif
17379 #ifdef HAVE_NETINET_IN_PCB_H
17380 #include <netinet/in_pcb.h>
17381 #endif
17383 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17385 cat >>confdefs.h <<_ACEOF
17386 #define HAVE_STRUCT_XINPGEN 1
17387 _ACEOF
17393 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17394 #include <link.h>
17395 #endif
17396 #ifdef HAVE_SYS_LINK_H
17397 #include <sys/link.h>
17398 #endif
17400 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17402 cat >>confdefs.h <<_ACEOF
17403 #define HAVE_STRUCT_R_DEBUG 1
17404 _ACEOF
17408 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17409 #include <link.h>
17410 #endif
17411 #ifdef HAVE_SYS_LINK_H
17412 #include <sys/link.h>
17413 #endif
17415 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17417 cat >>confdefs.h <<_ACEOF
17418 #define HAVE_STRUCT_LINK_MAP 1
17419 _ACEOF
17425 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17426 #include <linux/input.h>
17427 #endif
17429 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17431 cat >>confdefs.h <<_ACEOF
17432 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17433 _ACEOF
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17440 $as_echo_n "checking for if_nameindex... " >&6; }
17441 if ${wine_cv_have_if_nameindex+:} false; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17445 /* end confdefs.h. */
17446 #ifdef HAVE_SYS_TYPES_H
17447 #include <sys/types.h>
17448 #endif
17449 #ifdef HAVE_SYS_SOCKET_H
17450 #include <sys/socket.h>
17451 #endif
17452 #ifdef HAVE_NET_IF_H
17453 # include <net/if.h>
17454 #endif
17456 main ()
17458 struct if_nameindex *p = if_nameindex(); return p->if_index;
17460 return 0;
17462 _ACEOF
17463 if ac_fn_c_try_link "$LINENO"; then :
17464 wine_cv_have_if_nameindex=yes
17465 else
17466 wine_cv_have_if_nameindex=no
17468 rm -f core conftest.err conftest.$ac_objext \
17469 conftest$ac_exeext conftest.$ac_ext
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17472 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17473 if test "$wine_cv_have_if_nameindex" = "yes"
17474 then
17476 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17481 $as_echo_n "checking for sigaddset... " >&6; }
17482 if ${wine_cv_have_sigaddset+:} false; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17487 #include <signal.h>
17489 main ()
17491 sigset_t set; sigaddset(&set,SIGTERM);
17493 return 0;
17495 _ACEOF
17496 if ac_fn_c_try_link "$LINENO"; then :
17497 wine_cv_have_sigaddset=yes
17498 else
17499 wine_cv_have_sigaddset=no
17501 rm -f core conftest.err conftest.$ac_objext \
17502 conftest$ac_exeext conftest.$ac_ext
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17505 $as_echo "$wine_cv_have_sigaddset" >&6; }
17506 if test "$wine_cv_have_sigaddset" = "yes"
17507 then
17509 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17515 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17516 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17517 $as_echo_n "(cached) " >&6
17518 else
17519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h. */
17521 #include <netdb.h>
17523 main ()
17526 char *name=0;
17527 struct hostent he;
17528 struct hostent *result;
17529 char *buf=0;
17530 int bufsize=0;
17531 int errnr;
17532 char *addr=0;
17533 int addrlen=0;
17534 int addrtype=0;
17535 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17536 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17539 return 0;
17541 _ACEOF
17542 if ac_fn_c_try_link "$LINENO"; then :
17543 wine_cv_linux_gethostbyname_r_6=yes
17544 else
17545 wine_cv_linux_gethostbyname_r_6=no
17548 rm -f core conftest.err conftest.$ac_objext \
17549 conftest$ac_exeext conftest.$ac_ext
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17553 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17554 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17555 then
17557 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17561 if test "$ac_cv_header_linux_joystick_h" = "yes"
17562 then
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17564 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17565 if ${wine_cv_linux_joystick_22_api+:} false; then :
17566 $as_echo_n "(cached) " >&6
17567 else
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17571 #include <sys/ioctl.h>
17572 #include <sys/types.h>
17573 #include <linux/joystick.h>
17575 struct js_event blub;
17576 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17577 #error "no 2.2 header"
17578 #endif
17581 main ()
17583 /*empty*/
17585 return 0;
17587 _ACEOF
17588 if ac_fn_c_try_compile "$LINENO"; then :
17589 wine_cv_linux_joystick_22_api=yes
17590 else
17591 wine_cv_linux_joystick_22_api=no
17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17597 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17598 if test "$wine_cv_linux_joystick_22_api" = "yes"
17599 then
17601 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17607 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17608 #ifdef HAVE_SYS_PARAM_H
17609 # include <sys/param.h>
17610 #endif
17611 #ifdef HAVE_SYS_MOUNT_H
17612 # include <sys/mount.h>
17613 #endif
17614 #ifdef HAVE_SYS_VFS_H
17615 # include <sys/vfs.h>
17616 #endif
17617 #ifdef HAVE_SYS_STATFS_H
17618 # include <sys/statfs.h>
17619 #endif
17621 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17623 cat >>confdefs.h <<_ACEOF
17624 #define HAVE_STRUCT_STATFS_F_BFREE 1
17625 _ACEOF
17629 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17630 #ifdef HAVE_SYS_PARAM_H
17631 # include <sys/param.h>
17632 #endif
17633 #ifdef HAVE_SYS_MOUNT_H
17634 # include <sys/mount.h>
17635 #endif
17636 #ifdef HAVE_SYS_VFS_H
17637 # include <sys/vfs.h>
17638 #endif
17639 #ifdef HAVE_SYS_STATFS_H
17640 # include <sys/statfs.h>
17641 #endif
17643 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17645 cat >>confdefs.h <<_ACEOF
17646 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17647 _ACEOF
17651 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17652 #ifdef HAVE_SYS_PARAM_H
17653 # include <sys/param.h>
17654 #endif
17655 #ifdef HAVE_SYS_MOUNT_H
17656 # include <sys/mount.h>
17657 #endif
17658 #ifdef HAVE_SYS_VFS_H
17659 # include <sys/vfs.h>
17660 #endif
17661 #ifdef HAVE_SYS_STATFS_H
17662 # include <sys/statfs.h>
17663 #endif
17665 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17667 cat >>confdefs.h <<_ACEOF
17668 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17669 _ACEOF
17673 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17674 #ifdef HAVE_SYS_PARAM_H
17675 # include <sys/param.h>
17676 #endif
17677 #ifdef HAVE_SYS_MOUNT_H
17678 # include <sys/mount.h>
17679 #endif
17680 #ifdef HAVE_SYS_VFS_H
17681 # include <sys/vfs.h>
17682 #endif
17683 #ifdef HAVE_SYS_STATFS_H
17684 # include <sys/statfs.h>
17685 #endif
17687 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17689 cat >>confdefs.h <<_ACEOF
17690 #define HAVE_STRUCT_STATFS_F_FFREE 1
17691 _ACEOF
17695 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17696 #ifdef HAVE_SYS_PARAM_H
17697 # include <sys/param.h>
17698 #endif
17699 #ifdef HAVE_SYS_MOUNT_H
17700 # include <sys/mount.h>
17701 #endif
17702 #ifdef HAVE_SYS_VFS_H
17703 # include <sys/vfs.h>
17704 #endif
17705 #ifdef HAVE_SYS_STATFS_H
17706 # include <sys/statfs.h>
17707 #endif
17709 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17711 cat >>confdefs.h <<_ACEOF
17712 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17713 _ACEOF
17717 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17718 #ifdef HAVE_SYS_PARAM_H
17719 # include <sys/param.h>
17720 #endif
17721 #ifdef HAVE_SYS_MOUNT_H
17722 # include <sys/mount.h>
17723 #endif
17724 #ifdef HAVE_SYS_VFS_H
17725 # include <sys/vfs.h>
17726 #endif
17727 #ifdef HAVE_SYS_STATFS_H
17728 # include <sys/statfs.h>
17729 #endif
17731 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17733 cat >>confdefs.h <<_ACEOF
17734 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17735 _ACEOF
17741 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17742 #include <sys/statvfs.h>
17743 #endif
17745 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17747 cat >>confdefs.h <<_ACEOF
17748 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17749 _ACEOF
17755 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17756 #include <dirent.h>
17757 #endif
17759 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17761 cat >>confdefs.h <<_ACEOF
17762 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17763 _ACEOF
17769 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17770 #ifdef HAVE_SYS_SOCKET_H
17771 # include <sys/socket.h>
17772 #endif
17773 #ifdef HAVE_SYS_UN_H
17774 # include <sys/un.h>
17775 #endif
17777 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17779 cat >>confdefs.h <<_ACEOF
17780 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17781 _ACEOF
17785 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17786 #ifdef HAVE_SYS_SOCKET_H
17787 # include <sys/socket.h>
17788 #endif
17789 #ifdef HAVE_SYS_UN_H
17790 # include <sys/un.h>
17791 #endif
17793 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17795 cat >>confdefs.h <<_ACEOF
17796 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17797 _ACEOF
17801 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17802 #ifdef HAVE_SYS_SOCKET_H
17803 # include <sys/socket.h>
17804 #endif
17805 #ifdef HAVE_SYS_UN_H
17806 # include <sys/un.h>
17807 #endif
17809 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17811 cat >>confdefs.h <<_ACEOF
17812 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17813 _ACEOF
17819 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17820 #ifdef HAVE_SCSI_SG_H
17821 #include <scsi/sg.h>
17822 #endif
17824 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17826 cat >>confdefs.h <<_ACEOF
17827 #define HAVE_SCSIREQ_T_CMD 1
17828 _ACEOF
17832 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>
17833 #ifdef HAVE_SCSI_SG_H
17834 #include <scsi/sg.h>
17835 #endif
17837 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17839 cat >>confdefs.h <<_ACEOF
17840 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17841 _ACEOF
17847 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17849 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17851 cat >>confdefs.h <<_ACEOF
17852 #define HAVE_SIGINFO_T_SI_FD 1
17853 _ACEOF
17859 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17860 #ifdef HAVE_SYS_MTIO_H
17861 #include <sys/mtio.h>
17862 #endif
17864 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17866 cat >>confdefs.h <<_ACEOF
17867 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17868 _ACEOF
17872 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17873 #ifdef HAVE_SYS_MTIO_H
17874 #include <sys/mtio.h>
17875 #endif
17877 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17879 cat >>confdefs.h <<_ACEOF
17880 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17881 _ACEOF
17885 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17886 #ifdef HAVE_SYS_MTIO_H
17887 #include <sys/mtio.h>
17888 #endif
17890 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17892 cat >>confdefs.h <<_ACEOF
17893 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17894 _ACEOF
17900 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17901 #include <getopt.h>
17902 #endif
17904 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17906 cat >>confdefs.h <<_ACEOF
17907 #define HAVE_STRUCT_OPTION_NAME 1
17908 _ACEOF
17914 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17915 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17917 cat >>confdefs.h <<_ACEOF
17918 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17919 _ACEOF
17923 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17924 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17926 cat >>confdefs.h <<_ACEOF
17927 #define HAVE_STRUCT_STAT_ST_MTIM 1
17928 _ACEOF
17932 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17933 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17935 cat >>confdefs.h <<_ACEOF
17936 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17937 _ACEOF
17941 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17942 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17944 cat >>confdefs.h <<_ACEOF
17945 #define HAVE_STRUCT_STAT_ST_CTIM 1
17946 _ACEOF
17950 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17951 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17953 cat >>confdefs.h <<_ACEOF
17954 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17955 _ACEOF
17959 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17960 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17962 cat >>confdefs.h <<_ACEOF
17963 #define HAVE_STRUCT_STAT_ST_ATIM 1
17964 _ACEOF
17968 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17969 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17971 cat >>confdefs.h <<_ACEOF
17972 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17973 _ACEOF
17977 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17978 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17980 cat >>confdefs.h <<_ACEOF
17981 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17982 _ACEOF
17986 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17987 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17989 cat >>confdefs.h <<_ACEOF
17990 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17991 _ACEOF
17995 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17996 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17998 cat >>confdefs.h <<_ACEOF
17999 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18000 _ACEOF
18004 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18005 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18007 cat >>confdefs.h <<_ACEOF
18008 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18009 _ACEOF
18013 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18014 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18016 cat >>confdefs.h <<_ACEOF
18017 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18018 _ACEOF
18024 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
18025 #include <sys/types.h>
18026 #endif
18027 #ifdef HAVE_NETINET_IN_H
18028 #include <netinet/in.h>
18029 #endif
18031 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18033 cat >>confdefs.h <<_ACEOF
18034 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18035 _ACEOF
18041 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18042 #include <sys/types.h>
18043 #endif
18044 #ifdef HAVE_NETINET_IN_H
18045 #include <netinet/in.h>
18046 #endif
18047 #ifdef HAVE_RESOLV_H
18048 #include <resolv.h>
18049 #endif
18051 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18053 cat >>confdefs.h <<_ACEOF
18054 #define HAVE_STRUCT___RES_STATE 1
18055 _ACEOF
18061 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
18062 #include <resolv.h>
18063 #endif
18065 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18067 cat >>confdefs.h <<_ACEOF
18068 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18069 _ACEOF
18075 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18076 #include <sys/types.h>
18077 #endif
18078 #ifdef HAVE_NETINET_IN_H
18079 # include <netinet/in.h>
18080 #endif
18081 #ifdef HAVE_ARPA_NAMESER_H
18082 # include <arpa/nameser.h>
18083 #endif
18085 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18087 cat >>confdefs.h <<_ACEOF
18088 #define HAVE_NS_MSG__MSG_PTR 1
18089 _ACEOF
18095 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18096 #include <sys/types.h>
18097 #endif
18098 #ifdef HAVE_NETINET_IN_H
18099 #include <netinet/in.h>
18100 #endif
18101 #ifdef HAVE_NETINET_IP_H
18102 #include <netinet/ip.h>
18103 #endif
18104 #ifdef HAVE_NETINET_IP_ICMP_H
18105 #include <netinet/ip_icmp.h>
18106 #endif
18107 #ifdef HAVE_NETINET_ICMP_VAR_H
18108 #include <netinet/icmp_var.h>
18109 #endif
18111 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18113 cat >>confdefs.h <<_ACEOF
18114 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18115 _ACEOF
18121 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18122 #include <sys/types.h>
18123 #endif
18124 #ifdef HAVE_ALIAS_H
18125 #include <alias.h>
18126 #endif
18127 #ifdef HAVE_SYS_SOCKET_H
18128 #include <sys/socket.h>
18129 #endif
18130 #ifdef HAVE_SYS_SOCKETVAR_H
18131 #include <sys/socketvar.h>
18132 #endif
18133 #ifdef HAVE_SYS_TIMEOUT_H
18134 #include <sys/timeout.h>
18135 #endif
18136 #ifdef HAVE_NETINET_IN_H
18137 #include <netinet/in.h>
18138 #endif
18139 #ifdef HAVE_NETINET_IN_SYSTM_H
18140 #include <netinet/in_systm.h>
18141 #endif
18142 #ifdef HAVE_NETINET_IP_H
18143 #include <netinet/ip.h>
18144 #endif
18145 #ifdef HAVE_NETINET_IP_VAR_H
18146 #include <netinet/ip_var.h>
18147 #endif
18148 #ifdef HAVE_NETINET_IP_ICMP_H
18149 #include <netinet/ip_icmp.h>
18150 #endif
18151 #ifdef HAVE_NETINET_ICMP_VAR_H
18152 #include <netinet/icmp_var.h>
18153 #endif
18155 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18157 cat >>confdefs.h <<_ACEOF
18158 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18159 _ACEOF
18165 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18166 #include <sys/types.h>
18167 #endif
18168 #ifdef HAVE_SYS_SOCKETVAR_H
18169 #include <sys/socketvar.h>
18170 #endif
18171 #ifdef HAVE_NETINET_IN_H
18172 #include <netinet/in.h>
18173 #endif
18174 #ifdef HAVE_NETINET_IP_VAR_H
18175 #include <netinet/ip_var.h>
18176 #endif
18178 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18180 cat >>confdefs.h <<_ACEOF
18181 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18182 _ACEOF
18188 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
18189 #include <netinet/ip_var.h>
18190 #endif
18192 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18194 cat >>confdefs.h <<_ACEOF
18195 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18196 _ACEOF
18202 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18203 #include <sys/types.h>
18204 #endif
18205 #ifdef HAVE_SYS_SOCKETVAR_H
18206 #include <sys/socketvar.h>
18207 #endif
18208 #ifdef HAVE_NETINET_IN_H
18209 #include <netinet/in.h>
18210 #endif
18211 #ifdef HAVE_NETINET_TCP_H
18212 #include <netinet/tcp.h>
18213 #endif
18214 #ifdef HAVE_NETINET_TCP_VAR_H
18215 #include <netinet/tcp_var.h>
18216 #endif
18218 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18220 cat >>confdefs.h <<_ACEOF
18221 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18222 _ACEOF
18228 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
18229 #include <netinet/tcp_var.h>
18230 #endif
18232 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18234 cat >>confdefs.h <<_ACEOF
18235 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18236 _ACEOF
18242 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18243 #include <sys/types.h>
18244 #endif
18245 #ifdef HAVE_NETINET_IN_H
18246 #include <netinet/in.h>
18247 #endif
18248 #ifdef HAVE_NETINET_IP_VAR_H
18249 #include <netinet/ip_var.h>
18250 #endif
18251 #ifdef HAVE_NETINET_UDP_H
18252 #include <netinet/udp.h>
18253 #endif
18254 #ifdef HAVE_NETINET_UDP_VAR_H
18255 #include <netinet/udp_var.h>
18256 #endif
18258 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18260 cat >>confdefs.h <<_ACEOF
18261 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18262 _ACEOF
18268 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18269 #include <sys/types.h>
18270 #endif
18271 #ifdef HAVE_NET_IF_H
18272 # include <net/if.h>
18273 #endif
18275 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18277 cat >>confdefs.h <<_ACEOF
18278 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18279 _ACEOF
18285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18286 $as_echo_n "checking for timezone variable... " >&6; }
18287 if ${ac_cv_have_timezone+:} false; then :
18288 $as_echo_n "(cached) " >&6
18289 else
18290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18291 /* end confdefs.h. */
18292 #include <time.h>
18294 main ()
18296 timezone = 1
18298 return 0;
18300 _ACEOF
18301 if ac_fn_c_try_link "$LINENO"; then :
18302 ac_cv_have_timezone="yes"
18303 else
18304 ac_cv_have_timezone="no"
18306 rm -f core conftest.err conftest.$ac_objext \
18307 conftest$ac_exeext conftest.$ac_ext
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18310 $as_echo "$ac_cv_have_timezone" >&6; }
18311 if test "$ac_cv_have_timezone" = "yes"
18312 then
18314 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18318 $as_echo_n "checking for daylight variable... " >&6; }
18319 if ${ac_cv_have_daylight+:} false; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18324 #include <time.h>
18326 main ()
18328 daylight = 1
18330 return 0;
18332 _ACEOF
18333 if ac_fn_c_try_link "$LINENO"; then :
18334 ac_cv_have_daylight="yes"
18335 else
18336 ac_cv_have_daylight="no"
18338 rm -f core conftest.err conftest.$ac_objext \
18339 conftest$ac_exeext conftest.$ac_ext
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18342 $as_echo "$ac_cv_have_daylight" >&6; }
18343 if test "$ac_cv_have_daylight" = "yes"
18344 then
18346 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18350 ac_save_LIBS="$LIBS"
18351 LIBS="$LIBS -lm"
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18353 $as_echo_n "checking for isfinite... " >&6; }
18354 if ${ac_cv_have_isfinite+:} false; then :
18355 $as_echo_n "(cached) " >&6
18356 else
18357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18358 /* end confdefs.h. */
18359 #define _GNU_SOURCE
18360 #include <math.h>
18362 main ()
18364 float f = 0.0; return isfinite(f)
18366 return 0;
18368 _ACEOF
18369 if ac_fn_c_try_link "$LINENO"; then :
18370 ac_cv_have_isfinite="yes"
18371 else
18372 ac_cv_have_isfinite="no"
18374 rm -f core conftest.err conftest.$ac_objext \
18375 conftest$ac_exeext conftest.$ac_ext
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18378 $as_echo "$ac_cv_have_isfinite" >&6; }
18379 if test "$ac_cv_have_isfinite" = "yes"
18380 then
18382 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18387 $as_echo_n "checking for isinf... " >&6; }
18388 if ${ac_cv_have_isinf+:} false; then :
18389 $as_echo_n "(cached) " >&6
18390 else
18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h. */
18393 #include <math.h>
18395 main ()
18397 float f = 0.0; return isinf(f)
18399 return 0;
18401 _ACEOF
18402 if ac_fn_c_try_link "$LINENO"; then :
18403 ac_cv_have_isinf="yes"
18404 else
18405 ac_cv_have_isinf="no"
18407 rm -f core conftest.err conftest.$ac_objext \
18408 conftest$ac_exeext conftest.$ac_ext
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18411 $as_echo "$ac_cv_have_isinf" >&6; }
18412 if test "$ac_cv_have_isinf" = "yes"
18413 then
18415 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18420 $as_echo_n "checking for isnan... " >&6; }
18421 if ${ac_cv_have_isnan+:} false; then :
18422 $as_echo_n "(cached) " >&6
18423 else
18424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18425 /* end confdefs.h. */
18426 #include <math.h>
18428 main ()
18430 float f = 0.0; return isnan(f)
18432 return 0;
18434 _ACEOF
18435 if ac_fn_c_try_link "$LINENO"; then :
18436 ac_cv_have_isnan="yes"
18437 else
18438 ac_cv_have_isnan="no"
18440 rm -f core conftest.err conftest.$ac_objext \
18441 conftest$ac_exeext conftest.$ac_ext
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18444 $as_echo "$ac_cv_have_isnan" >&6; }
18445 if test "$ac_cv_have_isnan" = "yes"
18446 then
18448 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18452 for ac_func in \
18453 acosh \
18454 acoshf \
18455 asinh \
18456 asinhf \
18457 atanh \
18458 atanhf \
18459 cbrt \
18460 cbrtf \
18461 erf \
18462 erfc \
18463 erfcf \
18464 erff \
18465 exp2 \
18466 exp2f \
18467 expm1 \
18468 expm1f \
18469 j0 \
18470 j1 \
18471 jn \
18472 lgamma \
18473 lgammaf \
18474 llrint \
18475 llrintf \
18476 llround \
18477 llroundf \
18478 log1p \
18479 log1pf \
18480 log2 \
18481 log2f \
18482 lrint \
18483 lrintf \
18484 lround \
18485 lroundf \
18486 nearbyint \
18487 nearbyintf \
18488 powl \
18489 remainder \
18490 remainderf \
18491 rint \
18492 rintf \
18493 round \
18494 roundf \
18495 trunc \
18496 truncf \
18497 y0 \
18498 y1 \
18501 do :
18502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18504 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18505 cat >>confdefs.h <<_ACEOF
18506 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18507 _ACEOF
18510 done
18512 LIBS="$ac_save_LIBS"
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18515 $as_echo_n "checking for __builtin_clz... " >&6; }
18516 if ${ac_cv_have___builtin_clz+:} false; then :
18517 $as_echo_n "(cached) " >&6
18518 else
18519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18523 main ()
18525 return __builtin_clz(1)
18527 return 0;
18529 _ACEOF
18530 if ac_fn_c_try_link "$LINENO"; then :
18531 ac_cv_have___builtin_clz="yes"
18532 else
18533 ac_cv_have___builtin_clz="no"
18535 rm -f core conftest.err conftest.$ac_objext \
18536 conftest$ac_exeext conftest.$ac_ext
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18539 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18540 if test "$ac_cv_have___builtin_clz" = "yes"
18541 then
18543 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18548 $as_echo_n "checking for __builtin_popcount... " >&6; }
18549 if ${ac_cv_have___builtin_popcount+:} false; then :
18550 $as_echo_n "(cached) " >&6
18551 else
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18556 main ()
18558 return __builtin_popcount(1)
18560 return 0;
18562 _ACEOF
18563 if ac_fn_c_try_link "$LINENO"; then :
18564 ac_cv_have___builtin_popcount="yes"
18565 else
18566 ac_cv_have___builtin_popcount="no"
18568 rm -f core conftest.err conftest.$ac_objext \
18569 conftest$ac_exeext conftest.$ac_ext
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18572 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18573 if test "$ac_cv_have___builtin_popcount" = "yes"
18574 then
18576 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18581 $as_echo_n "checking for __clear_cache... " >&6; }
18582 if ${ac_cv_have___clear_cache+:} false; then :
18583 $as_echo_n "(cached) " >&6
18584 else
18585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h. */
18589 main ()
18591 __clear_cache((void*)0, (void*)0); return 0;
18593 return 0;
18595 _ACEOF
18596 if ac_fn_c_try_link "$LINENO"; then :
18597 ac_cv_have___clear_cache="yes"
18598 else
18599 ac_cv_have___clear_cache="no"
18601 rm -f core conftest.err conftest.$ac_objext \
18602 conftest$ac_exeext conftest.$ac_ext
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18605 $as_echo "$ac_cv_have___clear_cache" >&6; }
18606 if test "$ac_cv_have___clear_cache" = "yes"
18607 then
18609 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18614 case $host_cpu in
18615 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18616 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18617 if ${ac_cv_cpp_def___i386__+:} false; then :
18618 $as_echo_n "(cached) " >&6
18619 else
18620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18621 /* end confdefs.h. */
18622 #ifndef __i386__
18624 #endif
18625 _ACEOF
18626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18627 $EGREP "yes" >/dev/null 2>&1; then :
18628 ac_cv_cpp_def___i386__=yes
18629 else
18630 ac_cv_cpp_def___i386__=no
18632 rm -f conftest*
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18636 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18637 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18638 CFLAGS="$CFLAGS -D__i386__"
18639 LINTFLAGS="$LINTFLAGS -D__i386__"
18640 fi ;;
18641 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18642 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18643 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18644 $as_echo_n "(cached) " >&6
18645 else
18646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18647 /* end confdefs.h. */
18648 #ifndef __x86_64__
18650 #endif
18651 _ACEOF
18652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18653 $EGREP "yes" >/dev/null 2>&1; then :
18654 ac_cv_cpp_def___x86_64__=yes
18655 else
18656 ac_cv_cpp_def___x86_64__=no
18658 rm -f conftest*
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18662 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18663 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18664 CFLAGS="$CFLAGS -D__x86_64__"
18665 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18666 fi ;;
18667 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18668 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18669 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18670 $as_echo_n "(cached) " >&6
18671 else
18672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18673 /* end confdefs.h. */
18674 #ifndef __sparc64__
18676 #endif
18677 _ACEOF
18678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18679 $EGREP "yes" >/dev/null 2>&1; then :
18680 ac_cv_cpp_def___sparc64__=yes
18681 else
18682 ac_cv_cpp_def___sparc64__=no
18684 rm -f conftest*
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18688 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18689 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18690 CFLAGS="$CFLAGS -D__sparc64__"
18691 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18692 fi ;;
18693 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18694 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18695 if ${ac_cv_cpp_def___sparc__+:} false; then :
18696 $as_echo_n "(cached) " >&6
18697 else
18698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18700 #ifndef __sparc__
18702 #endif
18703 _ACEOF
18704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18705 $EGREP "yes" >/dev/null 2>&1; then :
18706 ac_cv_cpp_def___sparc__=yes
18707 else
18708 ac_cv_cpp_def___sparc__=no
18710 rm -f conftest*
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18714 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18715 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18716 CFLAGS="$CFLAGS -D__sparc__"
18717 LINTFLAGS="$LINTFLAGS -D__sparc__"
18718 fi ;;
18719 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18720 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18721 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18722 $as_echo_n "(cached) " >&6
18723 else
18724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h. */
18726 #ifndef __powerpc64__
18728 #endif
18729 _ACEOF
18730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18731 $EGREP "yes" >/dev/null 2>&1; then :
18732 ac_cv_cpp_def___powerpc64__=yes
18733 else
18734 ac_cv_cpp_def___powerpc64__=no
18736 rm -f conftest*
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18740 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18741 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18742 CFLAGS="$CFLAGS -D__powerpc64__"
18743 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18744 fi ;;
18745 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18746 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18747 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18748 $as_echo_n "(cached) " >&6
18749 else
18750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18751 /* end confdefs.h. */
18752 #ifndef __powerpc__
18754 #endif
18755 _ACEOF
18756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18757 $EGREP "yes" >/dev/null 2>&1; then :
18758 ac_cv_cpp_def___powerpc__=yes
18759 else
18760 ac_cv_cpp_def___powerpc__=no
18762 rm -f conftest*
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18766 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18767 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18768 CFLAGS="$CFLAGS -D__powerpc__"
18769 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18770 fi ;;
18771 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18772 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18773 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18774 $as_echo_n "(cached) " >&6
18775 else
18776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18778 #ifndef __aarch64__
18780 #endif
18781 _ACEOF
18782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18783 $EGREP "yes" >/dev/null 2>&1; then :
18784 ac_cv_cpp_def___aarch64__=yes
18785 else
18786 ac_cv_cpp_def___aarch64__=no
18788 rm -f conftest*
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18792 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18793 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18794 CFLAGS="$CFLAGS -D__aarch64__"
18795 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18796 fi ;;
18797 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18798 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18799 if ${ac_cv_cpp_def___arm__+:} false; then :
18800 $as_echo_n "(cached) " >&6
18801 else
18802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18804 #ifndef __arm__
18806 #endif
18807 _ACEOF
18808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18809 $EGREP "yes" >/dev/null 2>&1; then :
18810 ac_cv_cpp_def___arm__=yes
18811 else
18812 ac_cv_cpp_def___arm__=no
18814 rm -f conftest*
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18818 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18819 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18820 CFLAGS="$CFLAGS -D__arm__"
18821 LINTFLAGS="$LINTFLAGS -D__arm__"
18822 fi ;;
18823 esac
18825 case $host_vendor in
18826 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18827 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18828 if ${ac_cv_cpp_def___sun__+:} false; then :
18829 $as_echo_n "(cached) " >&6
18830 else
18831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18833 #ifndef __sun__
18835 #endif
18836 _ACEOF
18837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18838 $EGREP "yes" >/dev/null 2>&1; then :
18839 ac_cv_cpp_def___sun__=yes
18840 else
18841 ac_cv_cpp_def___sun__=no
18843 rm -f conftest*
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18847 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18848 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18849 CFLAGS="$CFLAGS -D__sun__"
18850 LINTFLAGS="$LINTFLAGS -D__sun__"
18851 fi ;;
18852 esac
18858 ac_config_commands="$ac_config_commands include/stamp-h"
18860 $as_echo_n "creating Makefile rules..." >&6
18862 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18863 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18864 IOKIT_LIBS = $IOKIT_LIBS
18865 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18866 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18867 CORESERVICES_LIBS = $CORESERVICES_LIBS
18868 APPKIT_LIBS = $APPKIT_LIBS
18869 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18870 SECURITY_LIBS = $SECURITY_LIBS
18871 COREAUDIO_LIBS = $COREAUDIO_LIBS
18872 OPENAL_LIBS = $OPENAL_LIBS
18873 OPENCL_LIBS = $OPENCL_LIBS
18874 QUICKTIME_LIBS = $QUICKTIME_LIBS
18875 CARBON_LIBS = $CARBON_LIBS
18876 METAL_LIBS = $METAL_LIBS
18877 PTHREAD_LIBS = $PTHREAD_LIBS
18878 X_CFLAGS = $X_CFLAGS
18879 X_PRE_LIBS = $X_PRE_LIBS
18880 X_LIBS = $X_LIBS
18881 X_EXTRA_LIBS = $X_EXTRA_LIBS
18882 PCAP_LIBS = $PCAP_LIBS
18883 XML2_CFLAGS = $XML2_CFLAGS
18884 XML2_LIBS = $XML2_LIBS
18885 XSLT_CFLAGS = $XSLT_CFLAGS
18886 XSLT_LIBS = $XSLT_LIBS
18887 DBUS_CFLAGS = $DBUS_CFLAGS
18888 DBUS_LIBS = $DBUS_LIBS
18889 HAL_CFLAGS = $HAL_CFLAGS
18890 HAL_LIBS = $HAL_LIBS
18891 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18892 GNUTLS_LIBS = $GNUTLS_LIBS
18893 SANE_CFLAGS = $SANE_CFLAGS
18894 SANE_LIBS = $SANE_LIBS
18895 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18896 GPHOTO2_LIBS = $GPHOTO2_LIBS
18897 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18898 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18899 RESOLV_LIBS = $RESOLV_LIBS
18900 LCMS2_CFLAGS = $LCMS2_CFLAGS
18901 LCMS2_LIBS = $LCMS2_LIBS
18902 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18903 FREETYPE_LIBS = $FREETYPE_LIBS
18904 Z_LIBS = $Z_LIBS
18905 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18906 PULSE_CFLAGS = $PULSE_CFLAGS
18907 PULSE_LIBS = $PULSE_LIBS
18908 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18909 GSTREAMER_LIBS = $GSTREAMER_LIBS
18910 ALSA_LIBS = $ALSA_LIBS
18911 OSS4_CFLAGS = $OSS4_CFLAGS
18912 UDEV_CFLAGS = $UDEV_CFLAGS
18913 UDEV_LIBS = $UDEV_LIBS
18914 SDL2_CFLAGS = $SDL2_CFLAGS
18915 SDL2_LIBS = $SDL2_LIBS
18916 CAPI20_CFLAGS = $CAPI20_CFLAGS
18917 CAPI20_LIBS = $CAPI20_LIBS
18918 CUPS_CFLAGS = $CUPS_CFLAGS
18919 CUPS_LIBS = $CUPS_LIBS
18920 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18921 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18922 KRB5_CFLAGS = $KRB5_CFLAGS
18923 KRB5_LIBS = $KRB5_LIBS
18924 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18925 GSSAPI_LIBS = $GSSAPI_LIBS
18926 JPEG_CFLAGS = $JPEG_CFLAGS
18927 JPEG_LIBS = $JPEG_LIBS
18928 PNG_CFLAGS = $PNG_CFLAGS
18929 PNG_LIBS = $PNG_LIBS
18930 TIFF_CFLAGS = $TIFF_CFLAGS
18931 TIFF_LIBS = $TIFF_LIBS
18932 MPG123_CFLAGS = $MPG123_CFLAGS
18933 MPG123_LIBS = $MPG123_LIBS
18934 KSTAT_LIBS = $KSTAT_LIBS
18935 PROCSTAT_LIBS = $PROCSTAT_LIBS
18936 NETAPI_CFLAGS = $NETAPI_CFLAGS
18937 NETAPI_LIBS = $NETAPI_LIBS
18938 VKD3D_CFLAGS = $VKD3D_CFLAGS
18939 VKD3D_LIBS = $VKD3D_LIBS
18940 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18941 DL_LIBS = $DL_LIBS
18942 POLL_LIBS = $POLL_LIBS
18943 RT_LIBS = $RT_LIBS
18944 LDAP_CFLAGS = $LDAP_CFLAGS
18945 LDAP_LIBS = $LDAP_LIBS
18950 wine_fn_append_rule "
18951 # Rules automatically generated by configure
18953 .INIT: Makefile
18954 .MAKEFILEDEPS:
18955 all: Makefile
18956 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18957 @./config.status Make.tmp Makefile
18958 depend: \$(MAKEDEP) dummy
18959 \$(MAKEDEP)"
18961 if test "x$enable_fonts" != xno; then
18962 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18963 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18964 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18965 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18966 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18967 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18969 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18970 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18971 ac_config_links="$ac_config_links wine:tools/winewrapper"
18972 wine_fn_config_symlink wine
18973 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
18974 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18975 wine_fn_config_symlink wine64
18978 wine_fn_config_makefile dlls/acledit enable_acledit
18979 wine_fn_config_makefile dlls/aclui enable_aclui
18980 wine_fn_config_makefile dlls/activeds enable_activeds
18981 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18982 wine_fn_config_makefile dlls/adsiid enable_adsiid
18983 wine_fn_config_makefile dlls/adsldp enable_adsldp
18984 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18985 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18986 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18987 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18988 wine_fn_config_makefile dlls/advpack enable_advpack
18989 wine_fn_config_makefile dlls/advpack/tests enable_tests
18990 wine_fn_config_makefile dlls/amstream enable_amstream
18991 wine_fn_config_makefile dlls/amstream/tests enable_tests
18992 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18993 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18994 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18995 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18996 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18997 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18998 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18999 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19000 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19001 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19002 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19003 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19004 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19005 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19006 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19007 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19008 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19009 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19010 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19011 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19012 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19013 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19014 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19015 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19016 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19017 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19018 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19019 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19020 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19021 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19022 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19023 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19024 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19025 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19026 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19027 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19028 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19029 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19030 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19031 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19032 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19033 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19034 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19035 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19036 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19038 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19040 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19041 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19042 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19043 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19044 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19045 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19046 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19047 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19048 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19049 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19050 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19051 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19052 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19053 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19054 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19055 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19056 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19057 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19058 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19059 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19061 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19062 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19064 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19065 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19066 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19068 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19070 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19071 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19072 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19073 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19074 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19076 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19077 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19078 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19079 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19084 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19085 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19088 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19089 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19094 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19098 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19101 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19102 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19105 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19108 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19111 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19116 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19117 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19122 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19124 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19129 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19134 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19143 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19144 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19155 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19163 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19174 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19175 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19178 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19180 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19182 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19183 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19188 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19190 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19194 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19195 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19196 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19197 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19199 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19201 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19203 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19206 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19207 wine_fn_config_makefile dlls/apphelp enable_apphelp
19208 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19209 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19210 wine_fn_config_makefile dlls/atl enable_atl
19211 wine_fn_config_makefile dlls/atl/tests enable_tests
19212 wine_fn_config_makefile dlls/atl100 enable_atl100
19213 wine_fn_config_makefile dlls/atl100/tests enable_tests
19214 wine_fn_config_makefile dlls/atl110 enable_atl110
19215 wine_fn_config_makefile dlls/atl80 enable_atl80
19216 wine_fn_config_makefile dlls/atl80/tests enable_tests
19217 wine_fn_config_makefile dlls/atl90 enable_atl90
19218 wine_fn_config_makefile dlls/atmlib enable_atmlib
19219 wine_fn_config_makefile dlls/authz enable_authz
19220 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19221 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19222 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19223 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19224 wine_fn_config_makefile dlls/avrt enable_avrt
19225 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19226 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19227 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19228 wine_fn_config_makefile dlls/browseui enable_browseui
19229 wine_fn_config_makefile dlls/browseui/tests enable_tests
19230 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19231 wine_fn_config_makefile dlls/cabinet enable_cabinet
19232 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19233 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19234 wine_fn_config_makefile dlls/cards enable_cards
19235 wine_fn_config_makefile dlls/cdosys enable_cdosys
19236 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19237 wine_fn_config_makefile dlls/clusapi enable_clusapi
19238 wine_fn_config_makefile dlls/combase enable_combase
19239 wine_fn_config_makefile dlls/combase/tests enable_tests
19240 wine_fn_config_makefile dlls/comcat enable_comcat
19241 wine_fn_config_makefile dlls/comcat/tests enable_tests
19242 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19243 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19244 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19245 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19246 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19247 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19248 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19249 wine_fn_config_makefile dlls/compstui enable_compstui
19250 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19251 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19252 wine_fn_config_makefile dlls/connect enable_connect
19253 wine_fn_config_makefile dlls/credui enable_credui
19254 wine_fn_config_makefile dlls/credui/tests enable_tests
19255 wine_fn_config_makefile dlls/crtdll enable_crtdll
19256 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19257 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19258 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19259 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19260 wine_fn_config_makefile dlls/cryptext enable_cryptext
19261 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19262 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19263 wine_fn_config_makefile dlls/cryptui enable_cryptui
19264 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19265 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19266 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19267 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19268 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19269 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19270 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19271 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19272 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19273 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19274 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19275 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19276 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19277 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19278 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19279 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19280 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19281 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19282 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19283 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19284 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19285 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19286 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19287 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19288 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19289 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19290 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19291 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19292 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19293 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19294 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19295 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19296 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19297 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19298 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19299 wine_fn_config_makefile dlls/d3dim enable_d3dim
19300 wine_fn_config_makefile dlls/d3drm enable_d3drm
19301 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19302 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19303 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19304 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19305 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19306 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19307 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19308 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19309 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19310 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19311 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19312 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19313 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19314 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19315 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19316 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19317 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19318 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19319 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19320 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19321 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19322 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19323 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19324 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19325 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19326 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19327 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19328 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19329 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19330 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19331 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19332 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19333 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19334 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19335 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19336 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19337 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19338 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19339 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19340 wine_fn_config_makefile dlls/davclnt enable_davclnt
19341 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19342 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19343 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19344 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19345 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19346 wine_fn_config_makefile dlls/ddraw enable_ddraw
19347 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19348 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19349 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19350 wine_fn_config_makefile dlls/devenum enable_devenum
19351 wine_fn_config_makefile dlls/devenum/tests enable_tests
19352 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19353 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19354 wine_fn_config_makefile dlls/difxapi enable_difxapi
19355 wine_fn_config_makefile dlls/dinput enable_dinput
19356 wine_fn_config_makefile dlls/dinput/tests enable_tests
19357 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19358 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19359 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19360 wine_fn_config_makefile dlls/dispex enable_dispex
19361 wine_fn_config_makefile dlls/dispex/tests enable_tests
19362 wine_fn_config_makefile dlls/display.drv16 enable_win16
19363 wine_fn_config_makefile dlls/dmband enable_dmband
19364 wine_fn_config_makefile dlls/dmband/tests enable_tests
19365 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19366 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19367 wine_fn_config_makefile dlls/dmime enable_dmime
19368 wine_fn_config_makefile dlls/dmime/tests enable_tests
19369 wine_fn_config_makefile dlls/dmloader enable_dmloader
19370 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19371 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19372 wine_fn_config_makefile dlls/dmscript enable_dmscript
19373 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19374 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19375 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19376 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19377 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19378 wine_fn_config_makefile dlls/dmusic enable_dmusic
19379 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19380 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19381 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19382 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19383 wine_fn_config_makefile dlls/dplay enable_dplay
19384 wine_fn_config_makefile dlls/dplayx enable_dplayx
19385 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19386 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19387 wine_fn_config_makefile dlls/dpnet enable_dpnet
19388 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19389 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19390 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19391 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19392 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19393 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19394 wine_fn_config_makefile dlls/drmclien enable_drmclien
19395 wine_fn_config_makefile dlls/dsound enable_dsound
19396 wine_fn_config_makefile dlls/dsound/tests enable_tests
19397 wine_fn_config_makefile dlls/dsquery enable_dsquery
19398 wine_fn_config_makefile dlls/dssenh enable_dssenh
19399 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19400 wine_fn_config_makefile dlls/dswave enable_dswave
19401 wine_fn_config_makefile dlls/dswave/tests enable_tests
19402 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19403 wine_fn_config_makefile dlls/dwrite enable_dwrite
19404 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19405 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19406 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19407 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19408 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19409 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19410 wine_fn_config_makefile dlls/dxgi enable_dxgi
19411 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19412 wine_fn_config_makefile dlls/dxguid enable_dxguid
19413 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19414 wine_fn_config_makefile dlls/esent enable_esent
19415 wine_fn_config_makefile dlls/evr enable_evr
19416 wine_fn_config_makefile dlls/evr/tests enable_tests
19417 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19418 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19419 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19420 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19421 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19422 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19423 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19424 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19425 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19426 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19427 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19428 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19429 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19430 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19442 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19443 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19444 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19445 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19446 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19447 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19448 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
19449 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19450 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19451 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19452 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19453 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19454 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19455 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19456 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19457 wine_fn_config_makefile dlls/faultrep enable_faultrep
19458 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19459 wine_fn_config_makefile dlls/feclient enable_feclient
19460 wine_fn_config_makefile dlls/fltlib enable_fltlib
19461 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19462 wine_fn_config_makefile dlls/fntcache enable_fntcache
19463 wine_fn_config_makefile dlls/fontsub enable_fontsub
19464 wine_fn_config_makefile dlls/fusion enable_fusion
19465 wine_fn_config_makefile dlls/fusion/tests enable_tests
19466 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19467 wine_fn_config_makefile dlls/gameux enable_gameux
19468 wine_fn_config_makefile dlls/gameux/tests enable_tests
19469 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19470 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19471 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19472 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19473 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19474 wine_fn_config_makefile dlls/glu32 enable_glu32
19475 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19476 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19477 wine_fn_config_makefile dlls/hal enable_hal
19478 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19479 wine_fn_config_makefile dlls/hid enable_hid
19480 wine_fn_config_makefile dlls/hid/tests enable_tests
19481 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19482 wine_fn_config_makefile dlls/hlink enable_hlink
19483 wine_fn_config_makefile dlls/hlink/tests enable_tests
19484 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19485 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19486 wine_fn_config_makefile dlls/httpapi enable_httpapi
19487 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19488 wine_fn_config_makefile dlls/iccvid enable_iccvid
19489 wine_fn_config_makefile dlls/icmp enable_icmp
19490 wine_fn_config_makefile dlls/ieframe enable_ieframe
19491 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19492 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19493 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19494 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19495 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19496 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19497 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19498 wine_fn_config_makefile dlls/imm32 enable_imm32
19499 wine_fn_config_makefile dlls/imm32/tests enable_tests
19500 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19501 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19502 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19503 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19504 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19505 wine_fn_config_makefile dlls/infosoft enable_infosoft
19506 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19507 wine_fn_config_makefile dlls/initpki enable_initpki
19508 wine_fn_config_makefile dlls/inkobj enable_inkobj
19509 wine_fn_config_makefile dlls/inseng enable_inseng
19510 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19511 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19512 wine_fn_config_makefile dlls/iprop enable_iprop
19513 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19514 wine_fn_config_makefile dlls/itircl enable_itircl
19515 wine_fn_config_makefile dlls/itss enable_itss
19516 wine_fn_config_makefile dlls/itss/tests enable_tests
19517 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19518 wine_fn_config_makefile dlls/jscript enable_jscript
19519 wine_fn_config_makefile dlls/jscript/tests enable_tests
19520 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19521 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19522 wine_fn_config_makefile dlls/kerberos enable_kerberos
19523 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19524 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19525 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19526 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19527 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19528 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19529 wine_fn_config_makefile dlls/ksuser enable_ksuser
19530 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19531 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19532 wine_fn_config_makefile dlls/loadperf enable_loadperf
19533 wine_fn_config_makefile dlls/localspl enable_localspl
19534 wine_fn_config_makefile dlls/localspl/tests enable_tests
19535 wine_fn_config_makefile dlls/localui enable_localui
19536 wine_fn_config_makefile dlls/localui/tests enable_tests
19537 wine_fn_config_makefile dlls/lz32 enable_lz32
19538 wine_fn_config_makefile dlls/lz32/tests enable_tests
19539 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19540 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19541 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19542 wine_fn_config_makefile dlls/mapistub enable_mapistub
19543 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19544 wine_fn_config_makefile dlls/mcicda enable_mcicda
19545 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19546 wine_fn_config_makefile dlls/mciseq enable_mciseq
19547 wine_fn_config_makefile dlls/mciwave enable_mciwave
19548 wine_fn_config_makefile dlls/mf enable_mf
19549 wine_fn_config_makefile dlls/mf/tests enable_tests
19550 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19551 wine_fn_config_makefile dlls/mfplat enable_mfplat
19552 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19553 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19554 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19555 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19556 wine_fn_config_makefile dlls/midimap enable_midimap
19557 wine_fn_config_makefile dlls/mlang enable_mlang
19558 wine_fn_config_makefile dlls/mlang/tests enable_tests
19559 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19560 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19561 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19562 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19563 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19564 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19565 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19566 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19567 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19568 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19569 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19570 wine_fn_config_makefile dlls/mpr enable_mpr
19571 wine_fn_config_makefile dlls/mpr/tests enable_tests
19572 wine_fn_config_makefile dlls/mprapi enable_mprapi
19573 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19574 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19575 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19576 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19577 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19578 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19579 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19580 wine_fn_config_makefile dlls/mscms enable_mscms
19581 wine_fn_config_makefile dlls/mscms/tests enable_tests
19582 wine_fn_config_makefile dlls/mscoree enable_mscoree
19583 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19584 wine_fn_config_makefile dlls/msctf enable_msctf
19585 wine_fn_config_makefile dlls/msctf/tests enable_tests
19586 wine_fn_config_makefile dlls/msctfp enable_msctfp
19587 wine_fn_config_makefile dlls/msdaps enable_msdaps
19588 wine_fn_config_makefile dlls/msdelta enable_msdelta
19589 wine_fn_config_makefile dlls/msdmo enable_msdmo
19590 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19591 wine_fn_config_makefile dlls/msdrm enable_msdrm
19592 wine_fn_config_makefile dlls/msftedit enable_msftedit
19593 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19594 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19595 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19596 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19597 wine_fn_config_makefile dlls/mshtml enable_mshtml
19598 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19599 wine_fn_config_makefile dlls/msi enable_msi
19600 wine_fn_config_makefile dlls/msi/tests enable_tests
19601 wine_fn_config_makefile dlls/msident enable_msident
19602 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19603 wine_fn_config_makefile dlls/msimsg enable_msimsg
19604 wine_fn_config_makefile dlls/msimtf enable_msimtf
19605 wine_fn_config_makefile dlls/msisip enable_msisip
19606 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19607 wine_fn_config_makefile dlls/msls31 enable_msls31
19608 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19609 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19610 wine_fn_config_makefile dlls/msports enable_msports
19611 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19612 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19613 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19614 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19615 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19616 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19617 wine_fn_config_makefile dlls/mstask enable_mstask
19618 wine_fn_config_makefile dlls/mstask/tests enable_tests
19619 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19620 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19621 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19622 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19623 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19624 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19625 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19626 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19627 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19628 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19629 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19630 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19631 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19632 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19633 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19634 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19635 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19636 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19637 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19638 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19639 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19640 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19641 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19642 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19643 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19644 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19645 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19646 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19647 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19648 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19649 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19650 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19651 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19652 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19653 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19654 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19655 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19656 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19657 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19658 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19659 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19660 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19661 wine_fn_config_makefile dlls/mswsock enable_mswsock
19662 wine_fn_config_makefile dlls/msxml enable_msxml
19663 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19664 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19665 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19666 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19667 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19668 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19669 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19670 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19671 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19672 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19673 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19674 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19675 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19676 wine_fn_config_makefile dlls/netprofm enable_netprofm
19677 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19678 wine_fn_config_makefile dlls/newdev enable_newdev
19679 wine_fn_config_makefile dlls/ninput enable_ninput
19680 wine_fn_config_makefile dlls/ninput/tests enable_tests
19681 wine_fn_config_makefile dlls/normaliz enable_normaliz
19682 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19683 wine_fn_config_makefile dlls/npptools enable_npptools
19684 wine_fn_config_makefile dlls/ntdll enable_ntdll
19685 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19686 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19687 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19688 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19689 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19690 wine_fn_config_makefile dlls/ntprint enable_ntprint
19691 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19692 wine_fn_config_makefile dlls/objsel enable_objsel
19693 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19694 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19695 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19696 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19697 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19698 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19699 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19700 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19701 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19702 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19703 wine_fn_config_makefile dlls/ole32 enable_ole32
19704 wine_fn_config_makefile dlls/ole32/tests enable_tests
19705 wine_fn_config_makefile dlls/oleacc enable_oleacc
19706 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19707 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19708 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19709 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19710 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19711 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19712 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19713 wine_fn_config_makefile dlls/oledlg enable_oledlg
19714 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19715 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19716 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19717 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19718 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19719 wine_fn_config_makefile dlls/opcservices enable_opcservices
19720 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19721 wine_fn_config_makefile dlls/openal32 enable_openal32
19722 wine_fn_config_makefile dlls/opencl enable_opencl
19723 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19724 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19725 wine_fn_config_makefile dlls/packager enable_packager
19726 wine_fn_config_makefile dlls/packager/tests enable_tests
19727 wine_fn_config_makefile dlls/pdh enable_pdh
19728 wine_fn_config_makefile dlls/pdh/tests enable_tests
19729 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19730 wine_fn_config_makefile dlls/pidgen enable_pidgen
19731 wine_fn_config_makefile dlls/powrprof enable_powrprof
19732 wine_fn_config_makefile dlls/printui enable_printui
19733 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19734 wine_fn_config_makefile dlls/propsys enable_propsys
19735 wine_fn_config_makefile dlls/propsys/tests enable_tests
19736 wine_fn_config_makefile dlls/psapi enable_psapi
19737 wine_fn_config_makefile dlls/psapi/tests enable_tests
19738 wine_fn_config_makefile dlls/pstorec enable_pstorec
19739 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19740 wine_fn_config_makefile dlls/qcap enable_qcap
19741 wine_fn_config_makefile dlls/qcap/tests enable_tests
19742 wine_fn_config_makefile dlls/qedit enable_qedit
19743 wine_fn_config_makefile dlls/qedit/tests enable_tests
19744 wine_fn_config_makefile dlls/qmgr enable_qmgr
19745 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19746 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19747 wine_fn_config_makefile dlls/quartz enable_quartz
19748 wine_fn_config_makefile dlls/quartz/tests enable_tests
19749 wine_fn_config_makefile dlls/query enable_query
19750 wine_fn_config_makefile dlls/qwave enable_qwave
19751 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19752 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19753 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19754 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19755 wine_fn_config_makefile dlls/regapi enable_regapi
19756 wine_fn_config_makefile dlls/resutils enable_resutils
19757 wine_fn_config_makefile dlls/riched20 enable_riched20
19758 wine_fn_config_makefile dlls/riched20/tests enable_tests
19759 wine_fn_config_makefile dlls/riched32 enable_riched32
19760 wine_fn_config_makefile dlls/riched32/tests enable_tests
19761 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19762 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19763 wine_fn_config_makefile dlls/rsabase enable_rsabase
19764 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19765 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19766 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19767 wine_fn_config_makefile dlls/rtutils enable_rtutils
19768 wine_fn_config_makefile dlls/samlib enable_samlib
19769 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19770 wine_fn_config_makefile dlls/sapi enable_sapi
19771 wine_fn_config_makefile dlls/sapi/tests enable_tests
19772 wine_fn_config_makefile dlls/sas enable_sas
19773 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19774 wine_fn_config_makefile dlls/sccbase enable_sccbase
19775 wine_fn_config_makefile dlls/schannel enable_schannel
19776 wine_fn_config_makefile dlls/schannel/tests enable_tests
19777 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19778 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19779 wine_fn_config_makefile dlls/scrobj enable_scrobj
19780 wine_fn_config_makefile dlls/scrrun enable_scrrun
19781 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19782 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19783 wine_fn_config_makefile dlls/secur32 enable_secur32
19784 wine_fn_config_makefile dlls/secur32/tests enable_tests
19785 wine_fn_config_makefile dlls/security enable_security
19786 wine_fn_config_makefile dlls/sensapi enable_sensapi
19787 wine_fn_config_makefile dlls/serialui enable_serialui
19788 wine_fn_config_makefile dlls/serialui/tests enable_tests
19789 wine_fn_config_makefile dlls/setupapi enable_setupapi
19790 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19791 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19792 wine_fn_config_makefile dlls/sfc enable_sfc
19793 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19794 wine_fn_config_makefile dlls/shcore enable_shcore
19795 wine_fn_config_makefile dlls/shcore/tests enable_tests
19796 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19797 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19798 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19799 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19800 wine_fn_config_makefile dlls/shell32 enable_shell32
19801 wine_fn_config_makefile dlls/shell32/tests enable_tests
19802 wine_fn_config_makefile dlls/shfolder enable_shfolder
19803 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19804 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19805 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19806 wine_fn_config_makefile dlls/slc enable_slc
19807 wine_fn_config_makefile dlls/slc/tests enable_tests
19808 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19809 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19810 wine_fn_config_makefile dlls/softpub enable_softpub
19811 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19812 wine_fn_config_makefile dlls/spoolss enable_spoolss
19813 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19814 wine_fn_config_makefile dlls/srclient enable_srclient
19815 wine_fn_config_makefile dlls/sspicli enable_sspicli
19816 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19817 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19818 wine_fn_config_makefile dlls/sti enable_sti
19819 wine_fn_config_makefile dlls/sti/tests enable_tests
19820 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19821 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19822 wine_fn_config_makefile dlls/strmbase enable_strmbase
19823 wine_fn_config_makefile dlls/strmdll enable_strmdll
19824 wine_fn_config_makefile dlls/strmiids enable_strmiids
19825 wine_fn_config_makefile dlls/svrapi enable_svrapi
19826 wine_fn_config_makefile dlls/sxs enable_sxs
19827 wine_fn_config_makefile dlls/sxs/tests enable_tests
19828 wine_fn_config_makefile dlls/system.drv16 enable_win16
19829 wine_fn_config_makefile dlls/t2embed enable_t2embed
19830 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19831 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19832 wine_fn_config_makefile dlls/taskschd enable_taskschd
19833 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19834 wine_fn_config_makefile dlls/tdh enable_tdh
19835 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19836 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19837 wine_fn_config_makefile dlls/traffic enable_traffic
19838 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19839 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19840 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19841 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19842 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19843 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19844 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19845 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19846 wine_fn_config_makefile dlls/unicows enable_unicows
19847 wine_fn_config_makefile dlls/updspapi enable_updspapi
19848 wine_fn_config_makefile dlls/url enable_url
19849 wine_fn_config_makefile dlls/urlmon enable_urlmon
19850 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19851 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19852 wine_fn_config_makefile dlls/user.exe16 enable_win16
19853 wine_fn_config_makefile dlls/user32 enable_user32
19854 wine_fn_config_makefile dlls/user32/tests enable_tests
19855 wine_fn_config_makefile dlls/userenv enable_userenv
19856 wine_fn_config_makefile dlls/userenv/tests enable_tests
19857 wine_fn_config_makefile dlls/usp10 enable_usp10
19858 wine_fn_config_makefile dlls/usp10/tests enable_tests
19859 wine_fn_config_makefile dlls/uuid enable_uuid
19860 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19861 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19862 wine_fn_config_makefile dlls/vbscript enable_vbscript
19863 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19864 wine_fn_config_makefile dlls/vcomp enable_vcomp
19865 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19866 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19867 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19868 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19869 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19870 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19871 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19872 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19873 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19874 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19875 wine_fn_config_makefile dlls/version enable_version
19876 wine_fn_config_makefile dlls/version/tests enable_tests
19877 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19878 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19879 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19880 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19881 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19882 wine_fn_config_makefile dlls/vssapi enable_vssapi
19883 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19884 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19885 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19886 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19887 wine_fn_config_makefile dlls/w32skrnl enable_win16
19888 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19889 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19890 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19891 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19892 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19893 wine_fn_config_makefile dlls/wdscore enable_wdscore
19894 wine_fn_config_makefile dlls/webservices enable_webservices
19895 wine_fn_config_makefile dlls/webservices/tests enable_tests
19896 wine_fn_config_makefile dlls/wer enable_wer
19897 wine_fn_config_makefile dlls/wer/tests enable_tests
19898 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19899 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19900 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19901 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19902 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19903 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19904 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19905 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19906 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19907 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19908 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19909 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19910 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19911 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19912 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19913 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19914 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19915 wine_fn_config_makefile dlls/wined3d enable_wined3d
19916 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19917 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19918 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19919 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19920 wine_fn_config_makefile dlls/winemapi enable_winemapi
19921 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19922 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19923 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19924 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19925 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19926 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19927 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19928 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19929 wine_fn_config_makefile dlls/wing32 enable_wing32
19930 wine_fn_config_makefile dlls/winhttp enable_winhttp
19931 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19932 wine_fn_config_makefile dlls/wininet enable_wininet
19933 wine_fn_config_makefile dlls/wininet/tests enable_tests
19934 wine_fn_config_makefile dlls/winmm enable_winmm
19935 wine_fn_config_makefile dlls/winmm/tests enable_tests
19936 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19937 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19938 wine_fn_config_makefile dlls/winscard enable_winscard
19939 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19940 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19941 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19942 wine_fn_config_makefile dlls/winsta enable_winsta
19943 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19944 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19945 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19946 wine_fn_config_makefile dlls/wintrust enable_wintrust
19947 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19948 wine_fn_config_makefile dlls/winusb enable_winusb
19949 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19950 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19951 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19952 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19953 wine_fn_config_makefile dlls/wmasf enable_wmasf
19954 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19955 wine_fn_config_makefile dlls/wmi enable_wmi
19956 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19957 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19958 wine_fn_config_makefile dlls/wmp enable_wmp
19959 wine_fn_config_makefile dlls/wmp/tests enable_tests
19960 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19961 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19962 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19963 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19964 wine_fn_config_makefile dlls/wow32 enable_win16
19965 wine_fn_config_makefile dlls/wpc enable_wpc
19966 wine_fn_config_makefile dlls/wpc/tests enable_tests
19967 wine_fn_config_makefile dlls/wpcap enable_wpcap
19968 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19969 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19970 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19971 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19972 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19973 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19974 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19975 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19976 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19977 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19978 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19979 wine_fn_config_makefile dlls/wuapi enable_wuapi
19980 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19981 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19982 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19983 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19984 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19985 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19986 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19987 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19988 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19989 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19990 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19991 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19992 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19993 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19994 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19995 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19996 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19997 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19998 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19999 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20000 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20001 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20002 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20003 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20004 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20005 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20006 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20007 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20008 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20009 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20010 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20011 wine_fn_config_makefile dlls/xmllite enable_xmllite
20012 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20013 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20014 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20015 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20016 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
20017 wine_fn_config_makefile include enable_include
20018 wine_fn_config_makefile libs/port enable_port
20019 wine_fn_config_makefile libs/wine enable_wine
20020 wine_fn_config_makefile libs/wpp enable_wpp
20021 wine_fn_config_makefile loader enable_loader
20022 wine_fn_config_makefile po enable_po
20023 wine_fn_config_makefile programs/arp enable_arp
20024 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20025 wine_fn_config_makefile programs/attrib enable_attrib
20026 wine_fn_config_makefile programs/cabarc enable_cabarc
20027 wine_fn_config_makefile programs/cacls enable_cacls
20028 wine_fn_config_makefile programs/clock enable_clock
20029 wine_fn_config_makefile programs/cmd enable_cmd
20030 wine_fn_config_makefile programs/cmd/tests enable_tests
20031 wine_fn_config_makefile programs/conhost enable_conhost
20032 wine_fn_config_makefile programs/control enable_control
20033 wine_fn_config_makefile programs/cscript enable_cscript
20034 wine_fn_config_makefile programs/dism enable_dism
20035 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20036 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20037 wine_fn_config_makefile programs/eject enable_eject
20038 wine_fn_config_makefile programs/expand enable_expand
20039 wine_fn_config_makefile programs/explorer enable_explorer
20040 wine_fn_config_makefile programs/extrac32 enable_extrac32
20041 wine_fn_config_makefile programs/fc enable_fc
20042 wine_fn_config_makefile programs/find enable_find
20043 wine_fn_config_makefile programs/findstr enable_findstr
20044 wine_fn_config_makefile programs/fsutil enable_fsutil
20045 wine_fn_config_makefile programs/hh enable_hh
20046 wine_fn_config_makefile programs/hostname enable_hostname
20047 wine_fn_config_makefile programs/icacls enable_icacls
20048 wine_fn_config_makefile programs/icinfo enable_icinfo
20049 wine_fn_config_makefile programs/iexplore enable_iexplore
20050 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20051 wine_fn_config_makefile programs/lodctr enable_lodctr
20052 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20053 wine_fn_config_makefile programs/mshta enable_mshta
20054 wine_fn_config_makefile programs/msiexec enable_msiexec
20055 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20056 wine_fn_config_makefile programs/net enable_net
20057 wine_fn_config_makefile programs/netsh enable_netsh
20058 wine_fn_config_makefile programs/netstat enable_netstat
20059 wine_fn_config_makefile programs/ngen enable_ngen
20060 wine_fn_config_makefile programs/notepad enable_notepad
20061 wine_fn_config_makefile programs/oleview enable_oleview
20062 wine_fn_config_makefile programs/ping enable_ping
20063 wine_fn_config_makefile programs/plugplay enable_plugplay
20064 wine_fn_config_makefile programs/powershell enable_powershell
20065 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20066 wine_fn_config_makefile programs/progman enable_progman
20067 wine_fn_config_makefile programs/reg enable_reg
20068 wine_fn_config_makefile programs/reg/tests enable_tests
20069 wine_fn_config_makefile programs/regasm enable_regasm
20070 wine_fn_config_makefile programs/regedit enable_regedit
20071 wine_fn_config_makefile programs/regedit/tests enable_tests
20072 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20073 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20074 wine_fn_config_makefile programs/rpcss enable_rpcss
20075 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20076 wine_fn_config_makefile programs/rundll32 enable_rundll32
20077 wine_fn_config_makefile programs/sc enable_sc
20078 wine_fn_config_makefile programs/schtasks enable_schtasks
20079 wine_fn_config_makefile programs/schtasks/tests enable_tests
20080 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20081 wine_fn_config_makefile programs/secedit enable_secedit
20082 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20083 wine_fn_config_makefile programs/services enable_services
20084 wine_fn_config_makefile programs/services/tests enable_tests
20085 wine_fn_config_makefile programs/shutdown enable_shutdown
20086 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20087 wine_fn_config_makefile programs/start enable_start
20088 wine_fn_config_makefile programs/subst enable_subst
20089 wine_fn_config_makefile programs/svchost enable_svchost
20090 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20091 wine_fn_config_makefile programs/taskkill enable_taskkill
20092 wine_fn_config_makefile programs/tasklist enable_tasklist
20093 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20094 wine_fn_config_makefile programs/termsv enable_termsv
20095 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20096 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20097 wine_fn_config_makefile programs/view enable_view
20098 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20099 wine_fn_config_makefile programs/wineboot enable_wineboot
20100 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20101 wine_fn_config_makefile programs/winecfg enable_winecfg
20102 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20103 wine_fn_config_makefile programs/winedbg enable_winedbg
20104 wine_fn_config_makefile programs/winedevice enable_winedevice
20105 wine_fn_config_makefile programs/winefile enable_winefile
20106 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20107 wine_fn_config_makefile programs/winemine enable_winemine
20108 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20109 wine_fn_config_makefile programs/winepath enable_winepath
20110 wine_fn_config_makefile programs/winetest enable_winetest
20111 wine_fn_config_makefile programs/winevdm enable_win16
20112 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20113 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20114 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20115 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20116 wine_fn_config_makefile programs/winver enable_winver
20117 wine_fn_config_makefile programs/wmic enable_wmic
20118 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20119 wine_fn_config_makefile programs/wordpad enable_wordpad
20120 wine_fn_config_makefile programs/write enable_write
20121 wine_fn_config_makefile programs/wscript enable_wscript
20122 wine_fn_config_makefile programs/wscript/tests enable_tests
20123 wine_fn_config_makefile programs/wusa enable_wusa
20124 wine_fn_config_makefile programs/xcopy enable_xcopy
20125 wine_fn_config_makefile programs/xcopy/tests enable_tests
20126 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
20127 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20128 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20129 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20130 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20131 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20132 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20133 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20134 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20135 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20138 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20139 wine_fn_append_file CONFIGURE_TARGETS "tags"
20140 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20141 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20142 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20143 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20144 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20145 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20147 if test "x$enable_tools" != xno
20148 then
20149 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20150 ac_config_commands="$ac_config_commands tools/makedep"
20154 ac_config_commands="$ac_config_commands Makefile"
20157 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20161 if test "x$enable_maintainer_mode" = xyes
20162 then
20163 wine_fn_append_rule "configure: configure.ac aclocal.m4
20164 autoconf --warnings=all
20165 include/config.h.in: include/stamp-h.in
20166 include/stamp-h.in: configure.ac aclocal.m4
20167 autoheader --warnings=all
20168 @echo timestamp > \$@"
20171 if test "x$enable_tools" != xno
20172 then
20173 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20174 @./config.status tools/makedep
20175 Makefile: tools/makedep$ac_exeext
20176 fonts: tools/sfnt2fon
20177 include: tools tools/widl"
20178 else
20179 wine_fn_append_rule "\$(MAKEDEP):
20180 @echo \"You need to run make in $TOOLSDIR first\" && false"
20183 if test -n "$with_wine64"
20184 then
20185 case "$with_wine64" in
20186 /*) reldir="" ;;
20187 *) reldir="../" ;;
20188 esac
20189 wine_fn_append_rule "all: fonts server loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20190 fonts server:
20191 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
20192 loader/wine64 loader/wine64-preloader:
20193 \$(RM) \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20194 $with_wine64/loader/wine:
20195 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20196 $with_wine64/loader/wine-preloader:
20197 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20198 clean::
20199 \$(RM) fonts server loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20200 else
20201 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20202 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20203 fonts \
20204 loader/l_intl.nls \
20205 loader/wine.inf \
20206 programs/msiexec/msiexec \
20207 programs/notepad/notepad \
20208 programs/regedit/regedit \
20209 programs/regsvr32/regsvr32 \
20210 programs/wineboot/wineboot \
20211 programs/winecfg/winecfg \
20212 programs/wineconsole/wineconsole \
20213 programs/winedbg/winedbg \
20214 programs/winefile/winefile \
20215 programs/winemine/winemine \
20216 programs/winepath/winepath \
20217 server/wineserver"
20219 case $host_os in
20220 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20221 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20222 esac
20225 $as_echo " done" >&6
20226 cat >confcache <<\_ACEOF
20227 # This file is a shell script that caches the results of configure
20228 # tests run on this system so they can be shared between configure
20229 # scripts and configure runs, see configure's option --config-cache.
20230 # It is not useful on other systems. If it contains results you don't
20231 # want to keep, you may remove or edit it.
20233 # config.status only pays attention to the cache file if you give it
20234 # the --recheck option to rerun configure.
20236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20238 # following values.
20240 _ACEOF
20242 # The following way of writing the cache mishandles newlines in values,
20243 # but we know of no workaround that is simple, portable, and efficient.
20244 # So, we kill variables containing newlines.
20245 # Ultrix sh set writes to stderr and can't be redirected directly,
20246 # and sets the high bit in the cache file unless we assign to the vars.
20248 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20249 eval ac_val=\$$ac_var
20250 case $ac_val in #(
20251 *${as_nl}*)
20252 case $ac_var in #(
20253 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20254 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20255 esac
20256 case $ac_var in #(
20257 _ | IFS | as_nl) ;; #(
20258 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20259 *) { eval $ac_var=; unset $ac_var;} ;;
20260 esac ;;
20261 esac
20262 done
20264 (set) 2>&1 |
20265 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20266 *${as_nl}ac_space=\ *)
20267 # `set' does not quote correctly, so add quotes: double-quote
20268 # substitution turns \\\\ into \\, and sed turns \\ into \.
20269 sed -n \
20270 "s/'/'\\\\''/g;
20271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20272 ;; #(
20274 # `set' quotes correctly as required by POSIX, so do not add quotes.
20275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20277 esac |
20278 sort
20280 sed '
20281 /^ac_cv_env_/b end
20282 t clear
20283 :clear
20284 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20285 t end
20286 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20287 :end' >>confcache
20288 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20289 if test -w "$cache_file"; then
20290 if test "x$cache_file" != "x/dev/null"; then
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20292 $as_echo "$as_me: updating cache $cache_file" >&6;}
20293 if test ! -f "$cache_file" || test -h "$cache_file"; then
20294 cat confcache >"$cache_file"
20295 else
20296 case $cache_file in #(
20297 */* | ?:*)
20298 mv -f confcache "$cache_file"$$ &&
20299 mv -f "$cache_file"$$ "$cache_file" ;; #(
20301 mv -f confcache "$cache_file" ;;
20302 esac
20305 else
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20307 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20310 rm -f confcache
20312 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20313 # Let make expand exec_prefix.
20314 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20316 DEFS=-DHAVE_CONFIG_H
20318 ac_libobjs=
20319 ac_ltlibobjs=
20321 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20322 # 1. Remove the extension, and $U if already installed.
20323 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20324 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20325 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20326 # will be set to the directory where LIBOBJS objects are built.
20327 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20328 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20329 done
20330 LIBOBJS=$ac_libobjs
20332 LTLIBOBJS=$ac_ltlibobjs
20336 : "${CONFIG_STATUS=./config.status}"
20337 ac_write_fail=0
20338 ac_clean_files_save=$ac_clean_files
20339 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20340 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20341 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20342 as_write_fail=0
20343 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20344 #! $SHELL
20345 # Generated by $as_me.
20346 # Run this file to recreate the current configuration.
20347 # Compiler output produced by configure, useful for debugging
20348 # configure, is in config.log if it exists.
20350 debug=false
20351 ac_cs_recheck=false
20352 ac_cs_silent=false
20354 SHELL=\${CONFIG_SHELL-$SHELL}
20355 export SHELL
20356 _ASEOF
20357 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20358 ## -------------------- ##
20359 ## M4sh Initialization. ##
20360 ## -------------------- ##
20362 # Be more Bourne compatible
20363 DUALCASE=1; export DUALCASE # for MKS sh
20364 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20365 emulate sh
20366 NULLCMD=:
20367 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20368 # is contrary to our usage. Disable this feature.
20369 alias -g '${1+"$@"}'='"$@"'
20370 setopt NO_GLOB_SUBST
20371 else
20372 case `(set -o) 2>/dev/null` in #(
20373 *posix*) :
20374 set -o posix ;; #(
20375 *) :
20377 esac
20381 as_nl='
20383 export as_nl
20384 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20385 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20386 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20387 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20388 # Prefer a ksh shell builtin over an external printf program on Solaris,
20389 # but without wasting forks for bash or zsh.
20390 if test -z "$BASH_VERSION$ZSH_VERSION" \
20391 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20392 as_echo='print -r --'
20393 as_echo_n='print -rn --'
20394 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20395 as_echo='printf %s\n'
20396 as_echo_n='printf %s'
20397 else
20398 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20399 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20400 as_echo_n='/usr/ucb/echo -n'
20401 else
20402 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20403 as_echo_n_body='eval
20404 arg=$1;
20405 case $arg in #(
20406 *"$as_nl"*)
20407 expr "X$arg" : "X\\(.*\\)$as_nl";
20408 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20409 esac;
20410 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20412 export as_echo_n_body
20413 as_echo_n='sh -c $as_echo_n_body as_echo'
20415 export as_echo_body
20416 as_echo='sh -c $as_echo_body as_echo'
20419 # The user is always right.
20420 if test "${PATH_SEPARATOR+set}" != set; then
20421 PATH_SEPARATOR=:
20422 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20423 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20424 PATH_SEPARATOR=';'
20429 # IFS
20430 # We need space, tab and new line, in precisely that order. Quoting is
20431 # there to prevent editors from complaining about space-tab.
20432 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20433 # splitting by setting IFS to empty value.)
20434 IFS=" "" $as_nl"
20436 # Find who we are. Look in the path if we contain no directory separator.
20437 as_myself=
20438 case $0 in #((
20439 *[\\/]* ) as_myself=$0 ;;
20440 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20441 for as_dir in $PATH
20443 IFS=$as_save_IFS
20444 test -z "$as_dir" && as_dir=.
20445 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20446 done
20447 IFS=$as_save_IFS
20450 esac
20451 # We did not find ourselves, most probably we were run as `sh COMMAND'
20452 # in which case we are not to be found in the path.
20453 if test "x$as_myself" = x; then
20454 as_myself=$0
20456 if test ! -f "$as_myself"; then
20457 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20458 exit 1
20461 # Unset variables that we do not need and which cause bugs (e.g. in
20462 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20463 # suppresses any "Segmentation fault" message there. '((' could
20464 # trigger a bug in pdksh 5.2.14.
20465 for as_var in BASH_ENV ENV MAIL MAILPATH
20466 do eval test x\${$as_var+set} = xset \
20467 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20468 done
20469 PS1='$ '
20470 PS2='> '
20471 PS4='+ '
20473 # NLS nuisances.
20474 LC_ALL=C
20475 export LC_ALL
20476 LANGUAGE=C
20477 export LANGUAGE
20479 # CDPATH.
20480 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20483 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20484 # ----------------------------------------
20485 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20486 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20487 # script with STATUS, using 1 if that was 0.
20488 as_fn_error ()
20490 as_status=$1; test $as_status -eq 0 && as_status=1
20491 if test "$4"; then
20492 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20493 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20495 $as_echo "$as_me: error: $2" >&2
20496 as_fn_exit $as_status
20497 } # as_fn_error
20500 # as_fn_set_status STATUS
20501 # -----------------------
20502 # Set $? to STATUS, without forking.
20503 as_fn_set_status ()
20505 return $1
20506 } # as_fn_set_status
20508 # as_fn_exit STATUS
20509 # -----------------
20510 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20511 as_fn_exit ()
20513 set +e
20514 as_fn_set_status $1
20515 exit $1
20516 } # as_fn_exit
20518 # as_fn_unset VAR
20519 # ---------------
20520 # Portably unset VAR.
20521 as_fn_unset ()
20523 { eval $1=; unset $1;}
20525 as_unset=as_fn_unset
20526 # as_fn_append VAR VALUE
20527 # ----------------------
20528 # Append the text in VALUE to the end of the definition contained in VAR. Take
20529 # advantage of any shell optimizations that allow amortized linear growth over
20530 # repeated appends, instead of the typical quadratic growth present in naive
20531 # implementations.
20532 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20533 eval 'as_fn_append ()
20535 eval $1+=\$2
20537 else
20538 as_fn_append ()
20540 eval $1=\$$1\$2
20542 fi # as_fn_append
20544 # as_fn_arith ARG...
20545 # ------------------
20546 # Perform arithmetic evaluation on the ARGs, and store the result in the
20547 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20548 # must be portable across $(()) and expr.
20549 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20550 eval 'as_fn_arith ()
20552 as_val=$(( $* ))
20554 else
20555 as_fn_arith ()
20557 as_val=`expr "$@" || test $? -eq 1`
20559 fi # as_fn_arith
20562 if expr a : '\(a\)' >/dev/null 2>&1 &&
20563 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20564 as_expr=expr
20565 else
20566 as_expr=false
20569 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20570 as_basename=basename
20571 else
20572 as_basename=false
20575 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20576 as_dirname=dirname
20577 else
20578 as_dirname=false
20581 as_me=`$as_basename -- "$0" ||
20582 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20583 X"$0" : 'X\(//\)$' \| \
20584 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20585 $as_echo X/"$0" |
20586 sed '/^.*\/\([^/][^/]*\)\/*$/{
20587 s//\1/
20590 /^X\/\(\/\/\)$/{
20591 s//\1/
20594 /^X\/\(\/\).*/{
20595 s//\1/
20598 s/.*/./; q'`
20600 # Avoid depending upon Character Ranges.
20601 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20602 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20603 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20604 as_cr_digits='0123456789'
20605 as_cr_alnum=$as_cr_Letters$as_cr_digits
20607 ECHO_C= ECHO_N= ECHO_T=
20608 case `echo -n x` in #(((((
20609 -n*)
20610 case `echo 'xy\c'` in
20611 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20612 xy) ECHO_C='\c';;
20613 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20614 ECHO_T=' ';;
20615 esac;;
20617 ECHO_N='-n';;
20618 esac
20620 rm -f conf$$ conf$$.exe conf$$.file
20621 if test -d conf$$.dir; then
20622 rm -f conf$$.dir/conf$$.file
20623 else
20624 rm -f conf$$.dir
20625 mkdir conf$$.dir 2>/dev/null
20627 if (echo >conf$$.file) 2>/dev/null; then
20628 if ln -s conf$$.file conf$$ 2>/dev/null; then
20629 as_ln_s='ln -s'
20630 # ... but there are two gotchas:
20631 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20632 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20633 # In both cases, we have to default to `cp -pR'.
20634 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20635 as_ln_s='cp -pR'
20636 elif ln conf$$.file conf$$ 2>/dev/null; then
20637 as_ln_s=ln
20638 else
20639 as_ln_s='cp -pR'
20641 else
20642 as_ln_s='cp -pR'
20644 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20645 rmdir conf$$.dir 2>/dev/null
20648 # as_fn_mkdir_p
20649 # -------------
20650 # Create "$as_dir" as a directory, including parents if necessary.
20651 as_fn_mkdir_p ()
20654 case $as_dir in #(
20655 -*) as_dir=./$as_dir;;
20656 esac
20657 test -d "$as_dir" || eval $as_mkdir_p || {
20658 as_dirs=
20659 while :; do
20660 case $as_dir in #(
20661 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20662 *) as_qdir=$as_dir;;
20663 esac
20664 as_dirs="'$as_qdir' $as_dirs"
20665 as_dir=`$as_dirname -- "$as_dir" ||
20666 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20667 X"$as_dir" : 'X\(//\)[^/]' \| \
20668 X"$as_dir" : 'X\(//\)$' \| \
20669 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20670 $as_echo X"$as_dir" |
20671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20672 s//\1/
20675 /^X\(\/\/\)[^/].*/{
20676 s//\1/
20679 /^X\(\/\/\)$/{
20680 s//\1/
20683 /^X\(\/\).*/{
20684 s//\1/
20687 s/.*/./; q'`
20688 test -d "$as_dir" && break
20689 done
20690 test -z "$as_dirs" || eval "mkdir $as_dirs"
20691 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20694 } # as_fn_mkdir_p
20695 if mkdir -p . 2>/dev/null; then
20696 as_mkdir_p='mkdir -p "$as_dir"'
20697 else
20698 test -d ./-p && rmdir ./-p
20699 as_mkdir_p=false
20703 # as_fn_executable_p FILE
20704 # -----------------------
20705 # Test if FILE is an executable regular file.
20706 as_fn_executable_p ()
20708 test -f "$1" && test -x "$1"
20709 } # as_fn_executable_p
20710 as_test_x='test -x'
20711 as_executable_p=as_fn_executable_p
20713 # Sed expression to map a string onto a valid CPP name.
20714 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20716 # Sed expression to map a string onto a valid variable name.
20717 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20720 exec 6>&1
20721 ## ----------------------------------- ##
20722 ## Main body of $CONFIG_STATUS script. ##
20723 ## ----------------------------------- ##
20724 _ASEOF
20725 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20728 # Save the log message, to keep $0 and so on meaningful, and to
20729 # report actual input values of CONFIG_FILES etc. instead of their
20730 # values after options handling.
20731 ac_log="
20732 This file was extended by Wine $as_me 3.21, which was
20733 generated by GNU Autoconf 2.69. Invocation command line was
20735 CONFIG_FILES = $CONFIG_FILES
20736 CONFIG_HEADERS = $CONFIG_HEADERS
20737 CONFIG_LINKS = $CONFIG_LINKS
20738 CONFIG_COMMANDS = $CONFIG_COMMANDS
20739 $ $0 $@
20741 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20744 _ACEOF
20746 case $ac_config_files in *"
20747 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20748 esac
20750 case $ac_config_headers in *"
20751 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20752 esac
20755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20756 # Files that config.status was made for.
20757 config_files="$ac_config_files"
20758 config_headers="$ac_config_headers"
20759 config_links="$ac_config_links"
20760 config_commands="$ac_config_commands"
20762 _ACEOF
20764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20765 ac_cs_usage="\
20766 \`$as_me' instantiates files and other configuration actions
20767 from templates according to the current configuration. Unless the files
20768 and actions are specified as TAGs, all are instantiated by default.
20770 Usage: $0 [OPTION]... [TAG]...
20772 -h, --help print this help, then exit
20773 -V, --version print version number and configuration settings, then exit
20774 --config print configuration, then exit
20775 -q, --quiet, --silent
20776 do not print progress messages
20777 -d, --debug don't remove temporary files
20778 --recheck update $as_me by reconfiguring in the same conditions
20779 --file=FILE[:TEMPLATE]
20780 instantiate the configuration file FILE
20781 --header=FILE[:TEMPLATE]
20782 instantiate the configuration header FILE
20784 Configuration files:
20785 $config_files
20787 Configuration headers:
20788 $config_headers
20790 Configuration links:
20791 $config_links
20793 Configuration commands:
20794 $config_commands
20796 Report bugs to <wine-devel@winehq.org>.
20797 Wine home page: <https://www.winehq.org>."
20799 _ACEOF
20800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20801 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20802 ac_cs_version="\\
20803 Wine config.status 3.21
20804 configured by $0, generated by GNU Autoconf 2.69,
20805 with options \\"\$ac_cs_config\\"
20807 Copyright (C) 2012 Free Software Foundation, Inc.
20808 This config.status script is free software; the Free Software Foundation
20809 gives unlimited permission to copy, distribute and modify it."
20811 ac_pwd='$ac_pwd'
20812 srcdir='$srcdir'
20813 test -n "\$AWK" || AWK=awk
20814 _ACEOF
20816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20817 # The default lists apply if the user does not specify any file.
20818 ac_need_defaults=:
20819 while test $# != 0
20821 case $1 in
20822 --*=?*)
20823 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20824 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20825 ac_shift=:
20827 --*=)
20828 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20829 ac_optarg=
20830 ac_shift=:
20833 ac_option=$1
20834 ac_optarg=$2
20835 ac_shift=shift
20837 esac
20839 case $ac_option in
20840 # Handling of the options.
20841 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20842 ac_cs_recheck=: ;;
20843 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20844 $as_echo "$ac_cs_version"; exit ;;
20845 --config | --confi | --conf | --con | --co | --c )
20846 $as_echo "$ac_cs_config"; exit ;;
20847 --debug | --debu | --deb | --de | --d | -d )
20848 debug=: ;;
20849 --file | --fil | --fi | --f )
20850 $ac_shift
20851 case $ac_optarg in
20852 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20853 '') as_fn_error $? "missing file argument" ;;
20854 esac
20855 as_fn_append CONFIG_FILES " '$ac_optarg'"
20856 ac_need_defaults=false;;
20857 --header | --heade | --head | --hea )
20858 $ac_shift
20859 case $ac_optarg in
20860 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20861 esac
20862 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20863 ac_need_defaults=false;;
20864 --he | --h)
20865 # Conflict between --help and --header
20866 as_fn_error $? "ambiguous option: \`$1'
20867 Try \`$0 --help' for more information.";;
20868 --help | --hel | -h )
20869 $as_echo "$ac_cs_usage"; exit ;;
20870 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20871 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20872 ac_cs_silent=: ;;
20874 # This is an error.
20875 -*) as_fn_error $? "unrecognized option: \`$1'
20876 Try \`$0 --help' for more information." ;;
20878 *) as_fn_append ac_config_targets " $1"
20879 ac_need_defaults=false ;;
20881 esac
20882 shift
20883 done
20885 ac_configure_extra_args=
20887 if $ac_cs_silent; then
20888 exec 6>/dev/null
20889 ac_configure_extra_args="$ac_configure_extra_args --silent"
20892 _ACEOF
20893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20894 if \$ac_cs_recheck; then
20895 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20896 shift
20897 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20898 CONFIG_SHELL='$SHELL'
20899 export CONFIG_SHELL
20900 exec "\$@"
20903 _ACEOF
20904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20905 exec 5>>config.log
20907 echo
20908 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20909 ## Running $as_me. ##
20910 _ASBOX
20911 $as_echo "$ac_log"
20912 } >&5
20914 _ACEOF
20915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20917 # INIT-COMMANDS
20919 wine_fn_output_makedep ()
20921 as_dir=tools; as_fn_mkdir_p
20922 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20924 wine_fn_output_makefile ()
20926 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20927 `cat $wine_rules_file`
20928 _WINE_EOF
20929 as_fn_error $? "could not create Makefile" "$LINENO" 5
20932 _ACEOF
20934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20936 # Handling of arguments.
20937 for ac_config_target in $ac_config_targets
20939 case $ac_config_target in
20940 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20941 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20942 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20943 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20944 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20945 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20946 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20947 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20948 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20949 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20950 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20951 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20952 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20954 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20955 esac
20956 done
20959 # If the user did not use the arguments to specify the items to instantiate,
20960 # then the envvar interface is used. Set only those that are not.
20961 # We use the long form for the default assignment because of an extremely
20962 # bizarre bug on SunOS 4.1.3.
20963 if $ac_need_defaults; then
20964 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20965 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20966 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20967 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20970 # Have a temporary directory for convenience. Make it in the build tree
20971 # simply because there is no reason against having it here, and in addition,
20972 # creating and moving files from /tmp can sometimes cause problems.
20973 # Hook for its removal unless debugging.
20974 # Note that there is a small window in which the directory will not be cleaned:
20975 # after its creation but before its name has been assigned to `$tmp'.
20976 $debug ||
20978 tmp= ac_tmp=
20979 trap 'exit_status=$?
20980 : "${ac_tmp:=$tmp}"
20981 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20983 trap 'as_fn_exit 1' 1 2 13 15
20985 # Create a (secure) tmp directory for tmp files.
20988 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20989 test -d "$tmp"
20990 } ||
20992 tmp=./conf$$-$RANDOM
20993 (umask 077 && mkdir "$tmp")
20994 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20995 ac_tmp=$tmp
20997 # Set up the scripts for CONFIG_FILES section.
20998 # No need to generate them if there are no CONFIG_FILES.
20999 # This happens for instance with `./config.status config.h'.
21000 if test -n "$CONFIG_FILES"; then
21003 ac_cr=`echo X | tr X '\015'`
21004 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21005 # But we know of no other shell where ac_cr would be empty at this
21006 # point, so we can use a bashism as a fallback.
21007 if test "x$ac_cr" = x; then
21008 eval ac_cr=\$\'\\r\'
21010 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21011 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21012 ac_cs_awk_cr='\\r'
21013 else
21014 ac_cs_awk_cr=$ac_cr
21017 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21018 _ACEOF
21022 echo "cat >conf$$subs.awk <<_ACEOF" &&
21023 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21024 echo "_ACEOF"
21025 } >conf$$subs.sh ||
21026 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21027 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21028 ac_delim='%!_!# '
21029 for ac_last_try in false false false false false :; do
21030 . ./conf$$subs.sh ||
21031 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21033 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21034 if test $ac_delim_n = $ac_delim_num; then
21035 break
21036 elif $ac_last_try; then
21037 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21038 else
21039 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21041 done
21042 rm -f conf$$subs.sh
21044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21045 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21046 _ACEOF
21047 sed -n '
21049 s/^/S["/; s/!.*/"]=/
21052 s/^[^!]*!//
21053 :repl
21054 t repl
21055 s/'"$ac_delim"'$//
21056 t delim
21059 s/\(.\{148\}\)..*/\1/
21060 t more1
21061 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21064 b repl
21065 :more1
21066 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21069 s/.\{148\}//
21070 t nl
21071 :delim
21073 s/\(.\{148\}\)..*/\1/
21074 t more2
21075 s/["\\]/\\&/g; s/^/"/; s/$/"/
21078 :more2
21079 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21082 s/.\{148\}//
21083 t delim
21084 ' <conf$$subs.awk | sed '
21085 /^[^""]/{
21087 s/\n//
21089 ' >>$CONFIG_STATUS || ac_write_fail=1
21090 rm -f conf$$subs.awk
21091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21092 _ACAWK
21093 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21094 for (key in S) S_is_set[key] = 1
21095 FS = "\a"
21099 line = $ 0
21100 nfields = split(line, field, "@")
21101 substed = 0
21102 len = length(field[1])
21103 for (i = 2; i < nfields; i++) {
21104 key = field[i]
21105 keylen = length(key)
21106 if (S_is_set[key]) {
21107 value = S[key]
21108 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21109 len += length(value) + length(field[++i])
21110 substed = 1
21111 } else
21112 len += 1 + keylen
21115 print line
21118 _ACAWK
21119 _ACEOF
21120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21121 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21122 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21123 else
21125 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21126 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21127 _ACEOF
21129 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21130 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21131 # trailing colons and then remove the whole line if VPATH becomes empty
21132 # (actually we leave an empty line to preserve line numbers).
21133 if test "x$srcdir" = x.; then
21134 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21136 s///
21137 s/^/:/
21138 s/[ ]*$/:/
21139 s/:\$(srcdir):/:/g
21140 s/:\${srcdir}:/:/g
21141 s/:@srcdir@:/:/g
21142 s/^:*//
21143 s/:*$//
21145 s/\(=[ ]*\).*/\1/
21147 s/\n//
21148 s/^[^=]*=[ ]*$//
21152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21153 fi # test -n "$CONFIG_FILES"
21155 # Set up the scripts for CONFIG_HEADERS section.
21156 # No need to generate them if there are no CONFIG_HEADERS.
21157 # This happens for instance with `./config.status Makefile'.
21158 if test -n "$CONFIG_HEADERS"; then
21159 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21160 BEGIN {
21161 _ACEOF
21163 # Transform confdefs.h into an awk script `defines.awk', embedded as
21164 # here-document in config.status, that substitutes the proper values into
21165 # config.h.in to produce config.h.
21167 # Create a delimiter string that does not exist in confdefs.h, to ease
21168 # handling of long lines.
21169 ac_delim='%!_!# '
21170 for ac_last_try in false false :; do
21171 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21172 if test -z "$ac_tt"; then
21173 break
21174 elif $ac_last_try; then
21175 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21176 else
21177 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21179 done
21181 # For the awk script, D is an array of macro values keyed by name,
21182 # likewise P contains macro parameters if any. Preserve backslash
21183 # newline sequences.
21185 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21186 sed -n '
21187 s/.\{148\}/&'"$ac_delim"'/g
21188 t rset
21189 :rset
21190 s/^[ ]*#[ ]*define[ ][ ]*/ /
21191 t def
21193 :def
21194 s/\\$//
21195 t bsnl
21196 s/["\\]/\\&/g
21197 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21198 D["\1"]=" \3"/p
21199 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21201 :bsnl
21202 s/["\\]/\\&/g
21203 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21204 D["\1"]=" \3\\\\\\n"\\/p
21205 t cont
21206 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21207 t cont
21209 :cont
21211 s/.\{148\}/&'"$ac_delim"'/g
21212 t clear
21213 :clear
21214 s/\\$//
21215 t bsnlc
21216 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21218 :bsnlc
21219 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21220 b cont
21221 ' <confdefs.h | sed '
21222 s/'"$ac_delim"'/"\\\
21223 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21226 for (key in D) D_is_set[key] = 1
21227 FS = "\a"
21229 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21230 line = \$ 0
21231 split(line, arg, " ")
21232 if (arg[1] == "#") {
21233 defundef = arg[2]
21234 mac1 = arg[3]
21235 } else {
21236 defundef = substr(arg[1], 2)
21237 mac1 = arg[2]
21239 split(mac1, mac2, "(") #)
21240 macro = mac2[1]
21241 prefix = substr(line, 1, index(line, defundef) - 1)
21242 if (D_is_set[macro]) {
21243 # Preserve the white space surrounding the "#".
21244 print prefix "define", macro P[macro] D[macro]
21245 next
21246 } else {
21247 # Replace #undef with comments. This is necessary, for example,
21248 # in the case of _POSIX_SOURCE, which is predefined and required
21249 # on some systems where configure will not decide to define it.
21250 if (defundef == "undef") {
21251 print "/*", prefix defundef, macro, "*/"
21252 next
21256 { print }
21257 _ACAWK
21258 _ACEOF
21259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21260 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21261 fi # test -n "$CONFIG_HEADERS"
21264 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21265 shift
21266 for ac_tag
21268 case $ac_tag in
21269 :[FHLC]) ac_mode=$ac_tag; continue;;
21270 esac
21271 case $ac_mode$ac_tag in
21272 :[FHL]*:*);;
21273 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21274 :[FH]-) ac_tag=-:-;;
21275 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21276 esac
21277 ac_save_IFS=$IFS
21278 IFS=:
21279 set x $ac_tag
21280 IFS=$ac_save_IFS
21281 shift
21282 ac_file=$1
21283 shift
21285 case $ac_mode in
21286 :L) ac_source=$1;;
21287 :[FH])
21288 ac_file_inputs=
21289 for ac_f
21291 case $ac_f in
21292 -) ac_f="$ac_tmp/stdin";;
21293 *) # Look for the file first in the build tree, then in the source tree
21294 # (if the path is not absolute). The absolute path cannot be DOS-style,
21295 # because $ac_f cannot contain `:'.
21296 test -f "$ac_f" ||
21297 case $ac_f in
21298 [\\/$]*) false;;
21299 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21300 esac ||
21301 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21302 esac
21303 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21304 as_fn_append ac_file_inputs " '$ac_f'"
21305 done
21307 # Let's still pretend it is `configure' which instantiates (i.e., don't
21308 # use $as_me), people would be surprised to read:
21309 # /* config.h. Generated by config.status. */
21310 configure_input='Generated from '`
21311 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21312 `' by configure.'
21313 if test x"$ac_file" != x-; then
21314 configure_input="$ac_file. $configure_input"
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21316 $as_echo "$as_me: creating $ac_file" >&6;}
21318 # Neutralize special characters interpreted by sed in replacement strings.
21319 case $configure_input in #(
21320 *\&* | *\|* | *\\* )
21321 ac_sed_conf_input=`$as_echo "$configure_input" |
21322 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21323 *) ac_sed_conf_input=$configure_input;;
21324 esac
21326 case $ac_tag in
21327 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21328 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21329 esac
21331 esac
21333 ac_dir=`$as_dirname -- "$ac_file" ||
21334 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21335 X"$ac_file" : 'X\(//\)[^/]' \| \
21336 X"$ac_file" : 'X\(//\)$' \| \
21337 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21338 $as_echo X"$ac_file" |
21339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21340 s//\1/
21343 /^X\(\/\/\)[^/].*/{
21344 s//\1/
21347 /^X\(\/\/\)$/{
21348 s//\1/
21351 /^X\(\/\).*/{
21352 s//\1/
21355 s/.*/./; q'`
21356 as_dir="$ac_dir"; as_fn_mkdir_p
21357 ac_builddir=.
21359 case "$ac_dir" in
21360 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21362 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21363 # A ".." for each directory in $ac_dir_suffix.
21364 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21365 case $ac_top_builddir_sub in
21366 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21367 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21368 esac ;;
21369 esac
21370 ac_abs_top_builddir=$ac_pwd
21371 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21372 # for backward compatibility:
21373 ac_top_builddir=$ac_top_build_prefix
21375 case $srcdir in
21376 .) # We are building in place.
21377 ac_srcdir=.
21378 ac_top_srcdir=$ac_top_builddir_sub
21379 ac_abs_top_srcdir=$ac_pwd ;;
21380 [\\/]* | ?:[\\/]* ) # Absolute name.
21381 ac_srcdir=$srcdir$ac_dir_suffix;
21382 ac_top_srcdir=$srcdir
21383 ac_abs_top_srcdir=$srcdir ;;
21384 *) # Relative name.
21385 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21386 ac_top_srcdir=$ac_top_build_prefix$srcdir
21387 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21388 esac
21389 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21392 case $ac_mode in
21395 # CONFIG_FILE
21398 _ACEOF
21400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21401 # If the template does not know about datarootdir, expand it.
21402 # FIXME: This hack should be removed a few years after 2.60.
21403 ac_datarootdir_hack=; ac_datarootdir_seen=
21404 ac_sed_dataroot='
21405 /datarootdir/ {
21409 /@datadir@/p
21410 /@docdir@/p
21411 /@infodir@/p
21412 /@localedir@/p
21413 /@mandir@/p'
21414 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21415 *datarootdir*) ac_datarootdir_seen=yes;;
21416 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21418 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21419 _ACEOF
21420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21421 ac_datarootdir_hack='
21422 s&@datadir@&$datadir&g
21423 s&@docdir@&$docdir&g
21424 s&@infodir@&$infodir&g
21425 s&@localedir@&$localedir&g
21426 s&@mandir@&$mandir&g
21427 s&\\\${datarootdir}&$datarootdir&g' ;;
21428 esac
21429 _ACEOF
21431 # Neutralize VPATH when `$srcdir' = `.'.
21432 # Shell code in configure.ac might set extrasub.
21433 # FIXME: do we really want to maintain this feature?
21434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21435 ac_sed_extra="$ac_vpsub
21436 $extrasub
21437 _ACEOF
21438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21440 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21441 s|@configure_input@|$ac_sed_conf_input|;t t
21442 s&@top_builddir@&$ac_top_builddir_sub&;t t
21443 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21444 s&@srcdir@&$ac_srcdir&;t t
21445 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21446 s&@top_srcdir@&$ac_top_srcdir&;t t
21447 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21448 s&@builddir@&$ac_builddir&;t t
21449 s&@abs_builddir@&$ac_abs_builddir&;t t
21450 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21451 $ac_datarootdir_hack
21453 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21454 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21456 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21457 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21458 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21459 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21461 which seems to be undefined. Please make sure it is defined" >&5
21462 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21463 which seems to be undefined. Please make sure it is defined" >&2;}
21465 rm -f "$ac_tmp/stdin"
21466 case $ac_file in
21467 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21468 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21469 esac \
21470 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21474 # CONFIG_HEADER
21476 if test x"$ac_file" != x-; then
21478 $as_echo "/* $configure_input */" \
21479 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21480 } >"$ac_tmp/config.h" \
21481 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21482 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21484 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21485 else
21486 rm -f "$ac_file"
21487 mv "$ac_tmp/config.h" "$ac_file" \
21488 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21490 else
21491 $as_echo "/* $configure_input */" \
21492 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21493 || as_fn_error $? "could not create -" "$LINENO" 5
21498 # CONFIG_LINK
21501 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21503 else
21504 # Prefer the file from the source tree if names are identical.
21505 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21506 ac_source=$srcdir/$ac_source
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21510 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21512 if test ! -r "$ac_source"; then
21513 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21515 rm -f "$ac_file"
21517 # Try a relative symlink, then a hard link, then a copy.
21518 case $ac_source in
21519 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21520 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21521 esac
21522 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21523 ln "$ac_source" "$ac_file" 2>/dev/null ||
21524 cp -p "$ac_source" "$ac_file" ||
21525 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21528 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21529 $as_echo "$as_me: executing $ac_file commands" >&6;}
21531 esac
21534 case $ac_file$ac_mode in
21535 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21536 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21537 "Makefile":C) wine_fn_output_makefile Makefile ;;
21539 esac
21540 done # for ac_tag
21543 as_fn_exit 0
21544 _ACEOF
21545 ac_clean_files=$ac_clean_files_save
21547 test $ac_write_fail = 0 ||
21548 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21551 # configure is writing to config.log, and then calls config.status.
21552 # config.status does its own redirection, appending to config.log.
21553 # Unfortunately, on DOS this fails, as config.log is still kept open
21554 # by configure, so config.status won't be able to write to it; its
21555 # output is simply discarded. So we exec the FD to /dev/null,
21556 # effectively closing config.log, so it can be properly (re)opened and
21557 # appended to by config.status. When coming back to configure, we
21558 # need to make the FD available again.
21559 if test "$no_create" != yes; then
21560 ac_cs_success=:
21561 ac_config_status_args=
21562 test "$silent" = yes &&
21563 ac_config_status_args="$ac_config_status_args --quiet"
21564 exec 5>/dev/null
21565 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21566 exec 5>>config.log
21567 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21568 # would make configure fail if this is the last instruction.
21569 $ac_cs_success || as_fn_exit 1
21571 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21573 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21577 if test "$no_create" = "yes"
21578 then
21579 exit 0
21582 ac_save_IFS="$IFS"
21583 if test "x$wine_notices" != x; then
21584 echo >&6
21585 IFS="|"
21586 for msg in $wine_notices; do
21587 IFS="$ac_save_IFS"
21588 if ${msg:+false} :; then :
21590 else
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21592 $as_echo "$as_me: $msg" >&6;}
21594 done
21596 IFS="|"
21597 for msg in $wine_warnings; do
21598 IFS="$ac_save_IFS"
21599 if ${msg:+false} :; then :
21601 else
21602 echo >&2
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21604 $as_echo "$as_me: WARNING: $msg" >&2;}
21606 done
21607 IFS="$ac_save_IFS"
21609 $as_echo "
21610 $as_me: Finished. Do '${ac_make}' to compile Wine.
21611 " >&6