mpr: Implement support for deleting persistent connections.
[wine.git] / configure
blob9a9a5e648199a9d5b7f19b79a596ed39ecf2c705
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 WINEPRELOADER_LDFLAGS
738 WINELOADER_LDFLAGS
739 TOP_INSTALL_DEV
740 TOP_INSTALL_LIB
741 LDEXECFLAGS
742 LDRPATH_LOCAL
743 LDRPATH_INSTALL
744 DLLFLAGS
746 OPENGL_LIBS
747 ICOTOOL
748 CONVERT
749 RSVG
750 FONTFORGE
751 PKG_CONFIG
752 MSGFMT
753 LDCONFIG
754 EGREP
755 GREP
756 LN_S
757 RANLIB
758 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_2_0
1276 enable_ext_ms_win_ntuser_misc_l1_5_1
1277 enable_ext_ms_win_ntuser_mouse_l1_1_0
1278 enable_ext_ms_win_ntuser_private_l1_1_1
1279 enable_ext_ms_win_ntuser_private_l1_3_1
1280 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1281 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1282 enable_ext_ms_win_ntuser_window_l1_1_1
1283 enable_ext_ms_win_ntuser_window_l1_1_4
1284 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1285 enable_ext_ms_win_oleacc_l1_1_0
1286 enable_ext_ms_win_ras_rasapi32_l1_1_0
1287 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1288 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1289 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1290 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1291 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1293 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1294 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1295 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1296 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1297 enable_ext_ms_win_security_credui_l1_1_0
1298 enable_ext_ms_win_security_cryptui_l1_1_0
1299 enable_ext_ms_win_uxtheme_themes_l1_1_0
1300 enable_faultrep
1301 enable_feclient
1302 enable_fltlib
1303 enable_fltmgr_sys
1304 enable_fntcache
1305 enable_fontsub
1306 enable_fusion
1307 enable_fwpuclnt
1308 enable_gameux
1309 enable_gdi32
1310 enable_gdiplus
1311 enable_glu32
1312 enable_gphoto2_ds
1313 enable_gpkcsp
1314 enable_hal
1315 enable_hhctrl_ocx
1316 enable_hid
1317 enable_hidclass_sys
1318 enable_hlink
1319 enable_hnetcfg
1320 enable_httpapi
1321 enable_iccvid
1322 enable_icmp
1323 enable_ieframe
1324 enable_ieproxy
1325 enable_imaadp32_acm
1326 enable_imagehlp
1327 enable_imm32
1328 enable_inetcomm
1329 enable_inetcpl_cpl
1330 enable_inetmib1
1331 enable_infosoft
1332 enable_initpki
1333 enable_inkobj
1334 enable_inseng
1335 enable_iphlpapi
1336 enable_iprop
1337 enable_irprops_cpl
1338 enable_itircl
1339 enable_itss
1340 enable_joy_cpl
1341 enable_jscript
1342 enable_jsproxy
1343 enable_kerberos
1344 enable_kernel32
1345 enable_kernelbase
1346 enable_ksuser
1347 enable_ktmw32
1348 enable_l3codeca_acm
1349 enable_loadperf
1350 enable_localspl
1351 enable_localui
1352 enable_lz32
1353 enable_mapi32
1354 enable_mapistub
1355 enable_mciavi32
1356 enable_mcicda
1357 enable_mciqtz32
1358 enable_mciseq
1359 enable_mciwave
1360 enable_mf
1361 enable_mf3216
1362 enable_mfplat
1363 enable_mfreadwrite
1364 enable_mfuuid
1365 enable_mgmtapi
1366 enable_midimap
1367 enable_mlang
1368 enable_mmcndmgr
1369 enable_mmdevapi
1370 enable_mountmgr_sys
1371 enable_mp3dmod
1372 enable_mpr
1373 enable_mprapi
1374 enable_msacm32_drv
1375 enable_msacm32
1376 enable_msadp32_acm
1377 enable_msasn1
1378 enable_mscat32
1379 enable_mscms
1380 enable_mscoree
1381 enable_msctf
1382 enable_msctfp
1383 enable_msdaps
1384 enable_msdelta
1385 enable_msdmo
1386 enable_msdrm
1387 enable_msftedit
1388 enable_msg711_acm
1389 enable_msgsm32_acm
1390 enable_mshtml_tlb
1391 enable_mshtml
1392 enable_msi
1393 enable_msident
1394 enable_msimg32
1395 enable_msimsg
1396 enable_msimtf
1397 enable_msisip
1398 enable_msisys_ocx
1399 enable_msls31
1400 enable_msnet32
1401 enable_mspatcha
1402 enable_msports
1403 enable_msrle32
1404 enable_msscript_ocx
1405 enable_mssign32
1406 enable_mssip32
1407 enable_mstask
1408 enable_msvcirt
1409 enable_msvcm80
1410 enable_msvcm90
1411 enable_msvcp100
1412 enable_msvcp110
1413 enable_msvcp120
1414 enable_msvcp120_app
1415 enable_msvcp140
1416 enable_msvcp60
1417 enable_msvcp70
1418 enable_msvcp71
1419 enable_msvcp80
1420 enable_msvcp90
1421 enable_msvcr100
1422 enable_msvcr110
1423 enable_msvcr120
1424 enable_msvcr120_app
1425 enable_msvcr70
1426 enable_msvcr71
1427 enable_msvcr80
1428 enable_msvcr90
1429 enable_msvcrt
1430 enable_msvcrt20
1431 enable_msvcrt40
1432 enable_msvcrtd
1433 enable_msvfw32
1434 enable_msvidc32
1435 enable_mswsock
1436 enable_msxml
1437 enable_msxml2
1438 enable_msxml3
1439 enable_msxml4
1440 enable_msxml6
1441 enable_mtxdm
1442 enable_ncrypt
1443 enable_nddeapi
1444 enable_ndis_sys
1445 enable_netapi32
1446 enable_netcfgx
1447 enable_netprofm
1448 enable_newdev
1449 enable_ninput
1450 enable_normaliz
1451 enable_npmshtml
1452 enable_npptools
1453 enable_ntdll
1454 enable_ntdsapi
1455 enable_ntoskrnl_exe
1456 enable_ntprint
1457 enable_objsel
1458 enable_odbc32
1459 enable_odbccp32
1460 enable_odbccu32
1461 enable_ole32
1462 enable_oleacc
1463 enable_oleaut32
1464 enable_olecli32
1465 enable_oledb32
1466 enable_oledlg
1467 enable_olepro32
1468 enable_olesvr32
1469 enable_olethk32
1470 enable_opcservices
1471 enable_openal32
1472 enable_opencl
1473 enable_opengl32
1474 enable_packager
1475 enable_pdh
1476 enable_photometadatahandler
1477 enable_pidgen
1478 enable_powrprof
1479 enable_printui
1480 enable_prntvpt
1481 enable_propsys
1482 enable_psapi
1483 enable_pstorec
1484 enable_qcap
1485 enable_qedit
1486 enable_qmgr
1487 enable_qmgrprxy
1488 enable_quartz
1489 enable_query
1490 enable_qwave
1491 enable_rasapi32
1492 enable_rasdlg
1493 enable_regapi
1494 enable_resutils
1495 enable_riched20
1496 enable_riched32
1497 enable_rpcrt4
1498 enable_rsabase
1499 enable_rsaenh
1500 enable_rstrtmgr
1501 enable_rtutils
1502 enable_samlib
1503 enable_sane_ds
1504 enable_sapi
1505 enable_sas
1506 enable_scarddlg
1507 enable_sccbase
1508 enable_schannel
1509 enable_schedsvc
1510 enable_scrobj
1511 enable_scrrun
1512 enable_scsiport_sys
1513 enable_secur32
1514 enable_security
1515 enable_sensapi
1516 enable_serialui
1517 enable_setupapi
1518 enable_sfc
1519 enable_sfc_os
1520 enable_shcore
1521 enable_shdoclc
1522 enable_shdocvw
1523 enable_shell32
1524 enable_shfolder
1525 enable_shlwapi
1526 enable_slbcsp
1527 enable_slc
1528 enable_snmpapi
1529 enable_softpub
1530 enable_spoolss
1531 enable_srclient
1532 enable_sspicli
1533 enable_stdole2_tlb
1534 enable_stdole32_tlb
1535 enable_sti
1536 enable_strmbase
1537 enable_strmdll
1538 enable_strmiids
1539 enable_svrapi
1540 enable_sxs
1541 enable_t2embed
1542 enable_tapi32
1543 enable_taskschd
1544 enable_tdh
1545 enable_tdi_sys
1546 enable_traffic
1547 enable_twain_32
1548 enable_ucrtbase
1549 enable_uiautomationcore
1550 enable_uiribbon
1551 enable_unicows
1552 enable_updspapi
1553 enable_url
1554 enable_urlmon
1555 enable_usbd_sys
1556 enable_user32
1557 enable_userenv
1558 enable_usp10
1559 enable_uuid
1560 enable_uxtheme
1561 enable_vbscript
1562 enable_vcomp
1563 enable_vcomp100
1564 enable_vcomp110
1565 enable_vcomp120
1566 enable_vcomp140
1567 enable_vcomp90
1568 enable_vcruntime140
1569 enable_vdmdbg
1570 enable_version
1571 enable_virtdisk
1572 enable_vssapi
1573 enable_vulkan_1
1574 enable_wbemdisp
1575 enable_wbemprox
1576 enable_wdscore
1577 enable_webservices
1578 enable_wer
1579 enable_wevtapi
1580 enable_wiaservc
1581 enable_wimgapi
1582 enable_windowscodecs
1583 enable_windowscodecsext
1584 enable_winealsa_drv
1585 enable_wineandroid_drv
1586 enable_winebus_sys
1587 enable_winecoreaudio_drv
1588 enable_winecrt0
1589 enable_wined3d
1590 enable_winegstreamer
1591 enable_winehid_sys
1592 enable_winejoystick_drv
1593 enable_winemac_drv
1594 enable_winemapi
1595 enable_wineoss_drv
1596 enable_wineps_drv
1597 enable_winepulse_drv
1598 enable_wineqtdecoder
1599 enable_winevulkan
1600 enable_winex11_drv
1601 enable_wing32
1602 enable_winhttp
1603 enable_wininet
1604 enable_winmm
1605 enable_winnls32
1606 enable_winscard
1607 enable_winspool_drv
1608 enable_winsta
1609 enable_wintab32
1610 enable_wintrust
1611 enable_winusb
1612 enable_wlanapi
1613 enable_wldap32
1614 enable_wmasf
1615 enable_wmcodecdspuuid
1616 enable_wmi
1617 enable_wmiutils
1618 enable_wmp
1619 enable_wmphoto
1620 enable_wmvcore
1621 enable_wnaspi32
1622 enable_wpc
1623 enable_wpcap
1624 enable_ws2_32
1625 enable_wsdapi
1626 enable_wshom_ocx
1627 enable_wsnmp32
1628 enable_wsock32
1629 enable_wtsapi32
1630 enable_wuapi
1631 enable_wuaueng
1632 enable_x3daudio1_0
1633 enable_x3daudio1_1
1634 enable_x3daudio1_2
1635 enable_x3daudio1_3
1636 enable_x3daudio1_4
1637 enable_x3daudio1_5
1638 enable_x3daudio1_6
1639 enable_x3daudio1_7
1640 enable_xapofx1_1
1641 enable_xapofx1_2
1642 enable_xapofx1_3
1643 enable_xapofx1_4
1644 enable_xapofx1_5
1645 enable_xaudio2_0
1646 enable_xaudio2_1
1647 enable_xaudio2_2
1648 enable_xaudio2_3
1649 enable_xaudio2_4
1650 enable_xaudio2_5
1651 enable_xaudio2_6
1652 enable_xaudio2_7
1653 enable_xaudio2_8
1654 enable_xaudio2_9
1655 enable_xinput1_1
1656 enable_xinput1_2
1657 enable_xinput1_3
1658 enable_xinput1_4
1659 enable_xinput9_1_0
1660 enable_xmllite
1661 enable_xolehlp
1662 enable_xpsprint
1663 enable_xpssvcs
1664 enable_fonts
1665 enable_include
1666 enable_port
1667 enable_wine
1668 enable_wpp
1669 enable_loader
1670 enable_po
1671 enable_arp
1672 enable_aspnet_regiis
1673 enable_attrib
1674 enable_cabarc
1675 enable_cacls
1676 enable_clock
1677 enable_cmd
1678 enable_conhost
1679 enable_control
1680 enable_cscript
1681 enable_dism
1682 enable_dpnsvr
1683 enable_dxdiag
1684 enable_eject
1685 enable_expand
1686 enable_explorer
1687 enable_extrac32
1688 enable_fc
1689 enable_find
1690 enable_findstr
1691 enable_fsutil
1692 enable_hh
1693 enable_hostname
1694 enable_icacls
1695 enable_icinfo
1696 enable_iexplore
1697 enable_ipconfig
1698 enable_lodctr
1699 enable_mofcomp
1700 enable_mshta
1701 enable_msiexec
1702 enable_msinfo32
1703 enable_net
1704 enable_netsh
1705 enable_netstat
1706 enable_ngen
1707 enable_notepad
1708 enable_oleview
1709 enable_ping
1710 enable_plugplay
1711 enable_powershell
1712 enable_presentationfontcache
1713 enable_progman
1714 enable_reg
1715 enable_regasm
1716 enable_regedit
1717 enable_regsvcs
1718 enable_regsvr32
1719 enable_rpcss
1720 enable_rundll32
1721 enable_sc
1722 enable_schtasks
1723 enable_sdbinst
1724 enable_secedit
1725 enable_servicemodelreg
1726 enable_services
1727 enable_shutdown
1728 enable_spoolsv
1729 enable_start
1730 enable_subst
1731 enable_svchost
1732 enable_systeminfo
1733 enable_taskkill
1734 enable_tasklist
1735 enable_taskmgr
1736 enable_termsv
1737 enable_uninstaller
1738 enable_unlodctr
1739 enable_view
1740 enable_wevtutil
1741 enable_wineboot
1742 enable_winebrowser
1743 enable_winecfg
1744 enable_wineconsole
1745 enable_winedbg
1746 enable_winedevice
1747 enable_winefile
1748 enable_winemenubuilder
1749 enable_winemine
1750 enable_winemsibuilder
1751 enable_winepath
1752 enable_winetest
1753 enable_winhlp32
1754 enable_winmgmt
1755 enable_winver
1756 enable_wmic
1757 enable_wmplayer
1758 enable_wordpad
1759 enable_write
1760 enable_wscript
1761 enable_wusa
1762 enable_xcopy
1763 enable_server
1764 enable_tools
1765 enable_sfnt2fon
1766 enable_widl
1767 enable_winebuild
1768 enable_winedump
1769 enable_winegcc
1770 enable_winemaker
1771 enable_wmc
1772 enable_wrc
1774 ac_precious_vars='build_alias
1775 host_alias
1776 target_alias
1778 CFLAGS
1779 LDFLAGS
1780 LIBS
1781 CPPFLAGS
1783 CXXFLAGS
1786 OBJC
1787 OBJCFLAGS
1788 OBJCPP
1789 XMKMF
1790 XML2_CFLAGS
1791 XML2_LIBS
1792 XSLT_CFLAGS
1793 XSLT_LIBS
1794 DBUS_CFLAGS
1795 DBUS_LIBS
1796 HAL_CFLAGS
1797 HAL_LIBS
1798 GNUTLS_CFLAGS
1799 GNUTLS_LIBS
1800 SANE_CFLAGS
1801 SANE_LIBS
1802 GPHOTO2_CFLAGS
1803 GPHOTO2_LIBS
1804 GPHOTO2_PORT_CFLAGS
1805 GPHOTO2_PORT_LIBS
1806 LCMS2_CFLAGS
1807 LCMS2_LIBS
1808 FREETYPE_CFLAGS
1809 FREETYPE_LIBS
1810 PULSE_CFLAGS
1811 PULSE_LIBS
1812 GSTREAMER_CFLAGS
1813 GSTREAMER_LIBS
1814 UDEV_CFLAGS
1815 UDEV_LIBS
1816 SDL2_CFLAGS
1817 SDL2_LIBS
1818 CAPI20_CFLAGS
1819 CAPI20_LIBS
1820 CUPS_CFLAGS
1821 CUPS_LIBS
1822 FONTCONFIG_CFLAGS
1823 FONTCONFIG_LIBS
1824 KRB5_CFLAGS
1825 KRB5_LIBS
1826 GSSAPI_CFLAGS
1827 GSSAPI_LIBS
1828 JPEG_CFLAGS
1829 JPEG_LIBS
1830 PNG_CFLAGS
1831 PNG_LIBS
1832 TIFF_CFLAGS
1833 TIFF_LIBS
1834 MPG123_CFLAGS
1835 MPG123_LIBS
1836 NETAPI_CFLAGS
1837 NETAPI_LIBS
1838 VKD3D_CFLAGS
1839 VKD3D_LIBS
1840 LDAP_CFLAGS
1841 LDAP_LIBS'
1844 # Initialize some variables set by options.
1845 ac_init_help=
1846 ac_init_version=false
1847 ac_unrecognized_opts=
1848 ac_unrecognized_sep=
1849 # The variables have the same names as the options, with
1850 # dashes changed to underlines.
1851 cache_file=/dev/null
1852 exec_prefix=NONE
1853 no_create=
1854 no_recursion=
1855 prefix=NONE
1856 program_prefix=NONE
1857 program_suffix=NONE
1858 program_transform_name=s,x,x,
1859 silent=
1860 site=
1861 srcdir=
1862 verbose=
1863 x_includes=NONE
1864 x_libraries=NONE
1866 # Installation directory options.
1867 # These are left unexpanded so users can "make install exec_prefix=/foo"
1868 # and all the variables that are supposed to be based on exec_prefix
1869 # by default will actually change.
1870 # Use braces instead of parens because sh, perl, etc. also accept them.
1871 # (The list follows the same order as the GNU Coding Standards.)
1872 bindir='${exec_prefix}/bin'
1873 sbindir='${exec_prefix}/sbin'
1874 libexecdir='${exec_prefix}/libexec'
1875 datarootdir='${prefix}/share'
1876 datadir='${datarootdir}'
1877 sysconfdir='${prefix}/etc'
1878 sharedstatedir='${prefix}/com'
1879 localstatedir='${prefix}/var'
1880 runstatedir='${localstatedir}/run'
1881 includedir='${prefix}/include'
1882 oldincludedir='/usr/include'
1883 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1884 infodir='${datarootdir}/info'
1885 htmldir='${docdir}'
1886 dvidir='${docdir}'
1887 pdfdir='${docdir}'
1888 psdir='${docdir}'
1889 libdir='${exec_prefix}/lib'
1890 localedir='${datarootdir}/locale'
1891 mandir='${datarootdir}/man'
1893 ac_prev=
1894 ac_dashdash=
1895 for ac_option
1897 # If the previous option needs an argument, assign it.
1898 if test -n "$ac_prev"; then
1899 eval $ac_prev=\$ac_option
1900 ac_prev=
1901 continue
1904 case $ac_option in
1905 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1906 *=) ac_optarg= ;;
1907 *) ac_optarg=yes ;;
1908 esac
1910 # Accept the important Cygnus configure options, so we can diagnose typos.
1912 case $ac_dashdash$ac_option in
1914 ac_dashdash=yes ;;
1916 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1917 ac_prev=bindir ;;
1918 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1919 bindir=$ac_optarg ;;
1921 -build | --build | --buil | --bui | --bu)
1922 ac_prev=build_alias ;;
1923 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1924 build_alias=$ac_optarg ;;
1926 -cache-file | --cache-file | --cache-fil | --cache-fi \
1927 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1928 ac_prev=cache_file ;;
1929 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1930 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1931 cache_file=$ac_optarg ;;
1933 --config-cache | -C)
1934 cache_file=config.cache ;;
1936 -datadir | --datadir | --datadi | --datad)
1937 ac_prev=datadir ;;
1938 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1939 datadir=$ac_optarg ;;
1941 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1942 | --dataroo | --dataro | --datar)
1943 ac_prev=datarootdir ;;
1944 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1945 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1946 datarootdir=$ac_optarg ;;
1948 -disable-* | --disable-*)
1949 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1950 # Reject names that are not valid shell variable names.
1951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1952 as_fn_error $? "invalid feature name: $ac_useropt"
1953 ac_useropt_orig=$ac_useropt
1954 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1955 case $ac_user_opts in
1957 "enable_$ac_useropt"
1958 "*) ;;
1959 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1960 ac_unrecognized_sep=', ';;
1961 esac
1962 eval enable_$ac_useropt=no ;;
1964 -docdir | --docdir | --docdi | --doc | --do)
1965 ac_prev=docdir ;;
1966 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1967 docdir=$ac_optarg ;;
1969 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1970 ac_prev=dvidir ;;
1971 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1972 dvidir=$ac_optarg ;;
1974 -enable-* | --enable-*)
1975 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1976 # Reject names that are not valid shell variable names.
1977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1978 as_fn_error $? "invalid feature name: $ac_useropt"
1979 ac_useropt_orig=$ac_useropt
1980 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1981 case $ac_user_opts in
1983 "enable_$ac_useropt"
1984 "*) ;;
1985 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1986 ac_unrecognized_sep=', ';;
1987 esac
1988 eval enable_$ac_useropt=\$ac_optarg ;;
1990 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1991 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1992 | --exec | --exe | --ex)
1993 ac_prev=exec_prefix ;;
1994 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1995 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1996 | --exec=* | --exe=* | --ex=*)
1997 exec_prefix=$ac_optarg ;;
1999 -gas | --gas | --ga | --g)
2000 # Obsolete; use --with-gas.
2001 with_gas=yes ;;
2003 -help | --help | --hel | --he | -h)
2004 ac_init_help=long ;;
2005 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2006 ac_init_help=recursive ;;
2007 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2008 ac_init_help=short ;;
2010 -host | --host | --hos | --ho)
2011 ac_prev=host_alias ;;
2012 -host=* | --host=* | --hos=* | --ho=*)
2013 host_alias=$ac_optarg ;;
2015 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2016 ac_prev=htmldir ;;
2017 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2018 | --ht=*)
2019 htmldir=$ac_optarg ;;
2021 -includedir | --includedir | --includedi | --included | --include \
2022 | --includ | --inclu | --incl | --inc)
2023 ac_prev=includedir ;;
2024 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2025 | --includ=* | --inclu=* | --incl=* | --inc=*)
2026 includedir=$ac_optarg ;;
2028 -infodir | --infodir | --infodi | --infod | --info | --inf)
2029 ac_prev=infodir ;;
2030 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2031 infodir=$ac_optarg ;;
2033 -libdir | --libdir | --libdi | --libd)
2034 ac_prev=libdir ;;
2035 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2036 libdir=$ac_optarg ;;
2038 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2039 | --libexe | --libex | --libe)
2040 ac_prev=libexecdir ;;
2041 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2042 | --libexe=* | --libex=* | --libe=*)
2043 libexecdir=$ac_optarg ;;
2045 -localedir | --localedir | --localedi | --localed | --locale)
2046 ac_prev=localedir ;;
2047 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2048 localedir=$ac_optarg ;;
2050 -localstatedir | --localstatedir | --localstatedi | --localstated \
2051 | --localstate | --localstat | --localsta | --localst | --locals)
2052 ac_prev=localstatedir ;;
2053 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2054 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2055 localstatedir=$ac_optarg ;;
2057 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2058 ac_prev=mandir ;;
2059 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2060 mandir=$ac_optarg ;;
2062 -nfp | --nfp | --nf)
2063 # Obsolete; use --without-fp.
2064 with_fp=no ;;
2066 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2067 | --no-cr | --no-c | -n)
2068 no_create=yes ;;
2070 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2071 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2072 no_recursion=yes ;;
2074 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2075 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2076 | --oldin | --oldi | --old | --ol | --o)
2077 ac_prev=oldincludedir ;;
2078 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2079 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2080 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2081 oldincludedir=$ac_optarg ;;
2083 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2084 ac_prev=prefix ;;
2085 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2086 prefix=$ac_optarg ;;
2088 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2089 | --program-pre | --program-pr | --program-p)
2090 ac_prev=program_prefix ;;
2091 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2092 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2093 program_prefix=$ac_optarg ;;
2095 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2096 | --program-suf | --program-su | --program-s)
2097 ac_prev=program_suffix ;;
2098 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2099 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2100 program_suffix=$ac_optarg ;;
2102 -program-transform-name | --program-transform-name \
2103 | --program-transform-nam | --program-transform-na \
2104 | --program-transform-n | --program-transform- \
2105 | --program-transform | --program-transfor \
2106 | --program-transfo | --program-transf \
2107 | --program-trans | --program-tran \
2108 | --progr-tra | --program-tr | --program-t)
2109 ac_prev=program_transform_name ;;
2110 -program-transform-name=* | --program-transform-name=* \
2111 | --program-transform-nam=* | --program-transform-na=* \
2112 | --program-transform-n=* | --program-transform-=* \
2113 | --program-transform=* | --program-transfor=* \
2114 | --program-transfo=* | --program-transf=* \
2115 | --program-trans=* | --program-tran=* \
2116 | --progr-tra=* | --program-tr=* | --program-t=*)
2117 program_transform_name=$ac_optarg ;;
2119 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2120 ac_prev=pdfdir ;;
2121 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2122 pdfdir=$ac_optarg ;;
2124 -psdir | --psdir | --psdi | --psd | --ps)
2125 ac_prev=psdir ;;
2126 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2127 psdir=$ac_optarg ;;
2129 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2130 | -silent | --silent | --silen | --sile | --sil)
2131 silent=yes ;;
2133 -runstatedir | --runstatedir | --runstatedi | --runstated \
2134 | --runstate | --runstat | --runsta | --runst | --runs \
2135 | --run | --ru | --r)
2136 ac_prev=runstatedir ;;
2137 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2138 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2139 | --run=* | --ru=* | --r=*)
2140 runstatedir=$ac_optarg ;;
2142 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2143 ac_prev=sbindir ;;
2144 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2145 | --sbi=* | --sb=*)
2146 sbindir=$ac_optarg ;;
2148 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2149 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2150 | --sharedst | --shareds | --shared | --share | --shar \
2151 | --sha | --sh)
2152 ac_prev=sharedstatedir ;;
2153 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2154 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2155 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2156 | --sha=* | --sh=*)
2157 sharedstatedir=$ac_optarg ;;
2159 -site | --site | --sit)
2160 ac_prev=site ;;
2161 -site=* | --site=* | --sit=*)
2162 site=$ac_optarg ;;
2164 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2165 ac_prev=srcdir ;;
2166 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2167 srcdir=$ac_optarg ;;
2169 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2170 | --syscon | --sysco | --sysc | --sys | --sy)
2171 ac_prev=sysconfdir ;;
2172 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2173 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2174 sysconfdir=$ac_optarg ;;
2176 -target | --target | --targe | --targ | --tar | --ta | --t)
2177 ac_prev=target_alias ;;
2178 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2179 target_alias=$ac_optarg ;;
2181 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2182 verbose=yes ;;
2184 -version | --version | --versio | --versi | --vers | -V)
2185 ac_init_version=: ;;
2187 -with-* | --with-*)
2188 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2189 # Reject names that are not valid shell variable names.
2190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2191 as_fn_error $? "invalid package name: $ac_useropt"
2192 ac_useropt_orig=$ac_useropt
2193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2194 case $ac_user_opts in
2196 "with_$ac_useropt"
2197 "*) ;;
2198 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2199 ac_unrecognized_sep=', ';;
2200 esac
2201 eval with_$ac_useropt=\$ac_optarg ;;
2203 -without-* | --without-*)
2204 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2205 # Reject names that are not valid shell variable names.
2206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2207 as_fn_error $? "invalid package name: $ac_useropt"
2208 ac_useropt_orig=$ac_useropt
2209 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2210 case $ac_user_opts in
2212 "with_$ac_useropt"
2213 "*) ;;
2214 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2215 ac_unrecognized_sep=', ';;
2216 esac
2217 eval with_$ac_useropt=no ;;
2219 --x)
2220 # Obsolete; use --with-x.
2221 with_x=yes ;;
2223 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2224 | --x-incl | --x-inc | --x-in | --x-i)
2225 ac_prev=x_includes ;;
2226 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2227 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2228 x_includes=$ac_optarg ;;
2230 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2231 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2232 ac_prev=x_libraries ;;
2233 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2234 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2235 x_libraries=$ac_optarg ;;
2237 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2238 Try \`$0 --help' for more information"
2241 *=*)
2242 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2243 # Reject names that are not valid shell variable names.
2244 case $ac_envvar in #(
2245 '' | [0-9]* | *[!_$as_cr_alnum]* )
2246 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2247 esac
2248 eval $ac_envvar=\$ac_optarg
2249 export $ac_envvar ;;
2252 # FIXME: should be removed in autoconf 3.0.
2253 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2254 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2255 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2256 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2259 esac
2260 done
2262 if test -n "$ac_prev"; then
2263 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2264 as_fn_error $? "missing argument to $ac_option"
2267 if test -n "$ac_unrecognized_opts"; then
2268 case $enable_option_checking in
2269 no) ;;
2270 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2271 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2272 esac
2275 # Check all directory arguments for consistency.
2276 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2277 datadir sysconfdir sharedstatedir localstatedir includedir \
2278 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2279 libdir localedir mandir runstatedir
2281 eval ac_val=\$$ac_var
2282 # Remove trailing slashes.
2283 case $ac_val in
2284 */ )
2285 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2286 eval $ac_var=\$ac_val;;
2287 esac
2288 # Be sure to have absolute directory names.
2289 case $ac_val in
2290 [\\/$]* | ?:[\\/]* ) continue;;
2291 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2292 esac
2293 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2294 done
2296 # There might be people who depend on the old broken behavior: `$host'
2297 # used to hold the argument of --host etc.
2298 # FIXME: To remove some day.
2299 build=$build_alias
2300 host=$host_alias
2301 target=$target_alias
2303 # FIXME: To remove some day.
2304 if test "x$host_alias" != x; then
2305 if test "x$build_alias" = x; then
2306 cross_compiling=maybe
2307 elif test "x$build_alias" != "x$host_alias"; then
2308 cross_compiling=yes
2312 ac_tool_prefix=
2313 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2315 test "$silent" = yes && exec 6>/dev/null
2318 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2319 ac_ls_di=`ls -di .` &&
2320 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2321 as_fn_error $? "working directory cannot be determined"
2322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2323 as_fn_error $? "pwd does not report name of working directory"
2326 # Find the source files, if location was not specified.
2327 if test -z "$srcdir"; then
2328 ac_srcdir_defaulted=yes
2329 # Try the directory containing this script, then the parent directory.
2330 ac_confdir=`$as_dirname -- "$as_myself" ||
2331 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2332 X"$as_myself" : 'X\(//\)[^/]' \| \
2333 X"$as_myself" : 'X\(//\)$' \| \
2334 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2335 $as_echo X"$as_myself" |
2336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2337 s//\1/
2340 /^X\(\/\/\)[^/].*/{
2341 s//\1/
2344 /^X\(\/\/\)$/{
2345 s//\1/
2348 /^X\(\/\).*/{
2349 s//\1/
2352 s/.*/./; q'`
2353 srcdir=$ac_confdir
2354 if test ! -r "$srcdir/$ac_unique_file"; then
2355 srcdir=..
2357 else
2358 ac_srcdir_defaulted=no
2360 if test ! -r "$srcdir/$ac_unique_file"; then
2361 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2362 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2364 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2365 ac_abs_confdir=`(
2366 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2367 pwd)`
2368 # When building in place, set srcdir=.
2369 if test "$ac_abs_confdir" = "$ac_pwd"; then
2370 srcdir=.
2372 # Remove unnecessary trailing slashes from srcdir.
2373 # Double slashes in file names in object file debugging info
2374 # mess up M-x gdb in Emacs.
2375 case $srcdir in
2376 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2377 esac
2378 for ac_var in $ac_precious_vars; do
2379 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2380 eval ac_env_${ac_var}_value=\$${ac_var}
2381 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2382 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2383 done
2386 # Report the --help message.
2388 if test "$ac_init_help" = "long"; then
2389 # Omit some internal or obsolete options to make the list less imposing.
2390 # This message is too long to be a string in the A/UX 3.1 sh.
2391 cat <<_ACEOF
2392 \`configure' configures Wine 3.21 to adapt to many kinds of systems.
2394 Usage: $0 [OPTION]... [VAR=VALUE]...
2396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2397 VAR=VALUE. See below for descriptions of some of the useful variables.
2399 Defaults for the options are specified in brackets.
2401 Configuration:
2402 -h, --help display this help and exit
2403 --help=short display options specific to this package
2404 --help=recursive display the short help of all the included packages
2405 -V, --version display version information and exit
2406 -q, --quiet, --silent do not print \`checking ...' messages
2407 --cache-file=FILE cache test results in FILE [disabled]
2408 -C, --config-cache alias for \`--cache-file=config.cache'
2409 -n, --no-create do not create output files
2410 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2412 Installation directories:
2413 --prefix=PREFIX install architecture-independent files in PREFIX
2414 [$ac_default_prefix]
2415 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2416 [PREFIX]
2418 By default, \`make install' will install all the files in
2419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2421 for instance \`--prefix=\$HOME'.
2423 For better control, use the options below.
2425 Fine tuning of the installation directories:
2426 --bindir=DIR user executables [EPREFIX/bin]
2427 --sbindir=DIR system admin executables [EPREFIX/sbin]
2428 --libexecdir=DIR program executables [EPREFIX/libexec]
2429 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2430 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2431 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2432 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2433 --libdir=DIR object code libraries [EPREFIX/lib]
2434 --includedir=DIR C header files [PREFIX/include]
2435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2438 --infodir=DIR info documentation [DATAROOTDIR/info]
2439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2440 --mandir=DIR man documentation [DATAROOTDIR/man]
2441 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2442 --htmldir=DIR html documentation [DOCDIR]
2443 --dvidir=DIR dvi documentation [DOCDIR]
2444 --pdfdir=DIR pdf documentation [DOCDIR]
2445 --psdir=DIR ps documentation [DOCDIR]
2446 _ACEOF
2448 cat <<\_ACEOF
2450 X features:
2451 --x-includes=DIR X include files are in DIR
2452 --x-libraries=DIR X library files are in DIR
2454 System types:
2455 --build=BUILD configure for building on BUILD [guessed]
2456 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2457 _ACEOF
2460 if test -n "$ac_init_help"; then
2461 case $ac_init_help in
2462 short | recursive ) echo "Configuration of Wine 3.21:";;
2463 esac
2464 cat <<\_ACEOF
2466 Optional Features:
2467 --disable-option-checking ignore unrecognized --enable/--with options
2468 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2469 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2470 --disable-win16 do not include Win16 support
2471 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2472 binaries)
2473 --disable-tests do not build the regression tests
2474 --enable-maintainer-mode
2475 enable maintainer-specific build rules
2476 --disable-largefile omit support for large files
2478 Optional Packages:
2479 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2480 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2481 --without-alsa do not use the Alsa sound support
2482 --without-capi do not use CAPI (ISDN support)
2483 --without-cms do not use CMS (color management support)
2484 --without-coreaudio do not use the CoreAudio sound support
2485 --without-cups do not use CUPS
2486 --without-curses do not use (n)curses
2487 --without-dbus do not use DBus (dynamic device support)
2488 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2489 --without-fontconfig do not use fontconfig
2490 --without-freetype do not use the FreeType library
2491 --without-gettext do not use gettext
2492 --with-gettextpo use the GetTextPO library to rebuild po files
2493 --without-gphoto do not use gphoto (Digital Camera support)
2494 --without-glu do not use the GLU library
2495 --without-gnutls do not use GnuTLS (schannel support)
2496 --without-gsm do not use libgsm (GSM 06.10 codec support)
2497 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2498 --without-gstreamer do not use GStreamer (codecs support)
2499 --without-hal do not use HAL (dynamic device support)
2500 --without-jpeg do not use JPEG
2501 --without-krb5 do not use krb5 (Kerberos)
2502 --without-ldap do not use LDAP
2503 --without-mpg123 do not use the mpg123 library
2504 --without-netapi do not use the Samba NetAPI library
2505 --without-openal do not use OpenAL
2506 --without-opencl do not use OpenCL
2507 --without-opengl do not use OpenGL
2508 --without-osmesa do not use the OSMesa library
2509 --without-oss do not use the OSS sound support
2510 --without-pcap do not use the Packet Capture library
2511 --without-png do not use PNG
2512 --without-pthread do not use the pthread library
2513 --without-pulse do not use PulseAudio sound support
2514 --without-sane do not use SANE (scanner support)
2515 --without-sdl do not use SDL
2516 --without-tiff do not use TIFF
2517 --without-udev do not use udev (plug and play support)
2518 --without-v4l do not use v4l1 (v4l support)
2519 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2520 --without-vulkan do not use Vulkan
2521 --without-xcomposite do not use the Xcomposite extension
2522 --without-xcursor do not use the Xcursor extension
2523 --without-xfixes do not use Xfixes for clipboard change notifications
2524 --without-xinerama do not use Xinerama (multi-monitor support)
2525 --without-xinput do not use the Xinput extension
2526 --without-xinput2 do not use the Xinput 2 extension
2527 --without-xml do not use XML
2528 --without-xrandr do not use Xrandr (resolution changes)
2529 --without-xrender do not use the Xrender extension
2530 --without-xshape do not use the Xshape extension
2531 --without-xshm do not use XShm (shared memory extension)
2532 --without-xslt do not use XSLT
2533 --without-xxf86vm do not use XFree video mode extension
2534 --without-zlib do not use Zlib (data compression)
2535 --with-wine-tools=DIR use Wine tools from directory DIR
2536 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2537 --with-x use the X Window System
2539 Some influential environment variables:
2540 CC C compiler command
2541 CFLAGS C compiler flags
2542 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2543 nonstandard directory <lib dir>
2544 LIBS libraries to pass to the linker, e.g. -l<library>
2545 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2546 you have headers in a nonstandard directory <include dir>
2547 CXX C++ compiler command
2548 CXXFLAGS C++ compiler flags
2549 CPP C preprocessor
2550 OBJC Objective C compiler command
2551 OBJCFLAGS Objective C compiler flags
2552 OBJCPP Objective C preprocessor
2553 XMKMF Path to xmkmf, Makefile generator for X Window System
2554 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2555 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2556 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2557 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2558 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2559 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2560 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2561 HAL_LIBS Linker flags for hal, overriding pkg-config
2562 GNUTLS_CFLAGS
2563 C compiler flags for gnutls, overriding pkg-config
2564 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2565 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2566 SANE_LIBS Linker flags for libsane, overriding pkg-config
2567 GPHOTO2_CFLAGS
2568 C compiler flags for libgphoto2, overriding pkg-config
2569 GPHOTO2_LIBS
2570 Linker flags for libgphoto2, overriding pkg-config
2571 GPHOTO2_PORT_CFLAGS
2572 C compiler flags for libgphoto2_port, overriding pkg-config
2573 GPHOTO2_PORT_LIBS
2574 Linker flags for libgphoto2_port, overriding pkg-config
2575 LCMS2_CFLAGS
2576 C compiler flags for lcms2, overriding pkg-config
2577 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2578 FREETYPE_CFLAGS
2579 C compiler flags for freetype2, overriding pkg-config
2580 FREETYPE_LIBS
2581 Linker flags for freetype2, overriding pkg-config
2582 PULSE_CFLAGS
2583 C compiler flags for libpulse, overriding pkg-config
2584 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2585 GSTREAMER_CFLAGS
2586 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2587 gstreamer-audio-1.0, overriding pkg-config
2588 GSTREAMER_LIBS
2589 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2590 gstreamer-audio-1.0, overriding pkg-config
2591 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2592 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2593 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2594 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2595 CAPI20_CFLAGS
2596 C compiler flags for capi20, overriding pkg-config
2597 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2598 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2599 CUPS_LIBS Linker flags for cups, overriding pkg-config
2600 FONTCONFIG_CFLAGS
2601 C compiler flags for fontconfig, overriding pkg-config
2602 FONTCONFIG_LIBS
2603 Linker flags for fontconfig, overriding pkg-config
2604 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2605 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2606 GSSAPI_CFLAGS
2607 C compiler flags for krb5-gssapi, overriding pkg-config
2608 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2609 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2610 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2611 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2612 PNG_LIBS Linker flags for libpng, overriding pkg-config
2613 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2614 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2615 MPG123_CFLAGS
2616 C compiler flags for libmpg123, overriding pkg-config
2617 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2618 NETAPI_CFLAGS
2619 C compiler flags for netapi, overriding pkg-config
2620 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2621 VKD3D_CFLAGS
2622 C compiler flags for libvkd3d, overriding pkg-config
2623 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2624 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2625 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2627 Use these variables to override the choices made by `configure' or to help
2628 it to find libraries and programs with nonstandard names/locations.
2630 Report bugs to <wine-devel@winehq.org>.
2631 Wine home page: <https://www.winehq.org>.
2632 _ACEOF
2633 ac_status=$?
2636 if test "$ac_init_help" = "recursive"; then
2637 # If there are subdirs, report their specific --help.
2638 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2639 test -d "$ac_dir" ||
2640 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2641 continue
2642 ac_builddir=.
2644 case "$ac_dir" in
2645 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2647 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2648 # A ".." for each directory in $ac_dir_suffix.
2649 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2650 case $ac_top_builddir_sub in
2651 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2652 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2653 esac ;;
2654 esac
2655 ac_abs_top_builddir=$ac_pwd
2656 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2657 # for backward compatibility:
2658 ac_top_builddir=$ac_top_build_prefix
2660 case $srcdir in
2661 .) # We are building in place.
2662 ac_srcdir=.
2663 ac_top_srcdir=$ac_top_builddir_sub
2664 ac_abs_top_srcdir=$ac_pwd ;;
2665 [\\/]* | ?:[\\/]* ) # Absolute name.
2666 ac_srcdir=$srcdir$ac_dir_suffix;
2667 ac_top_srcdir=$srcdir
2668 ac_abs_top_srcdir=$srcdir ;;
2669 *) # Relative name.
2670 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2671 ac_top_srcdir=$ac_top_build_prefix$srcdir
2672 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2673 esac
2674 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2676 cd "$ac_dir" || { ac_status=$?; continue; }
2677 # Check for guested configure.
2678 if test -f "$ac_srcdir/configure.gnu"; then
2679 echo &&
2680 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2681 elif test -f "$ac_srcdir/configure"; then
2682 echo &&
2683 $SHELL "$ac_srcdir/configure" --help=recursive
2684 else
2685 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2686 fi || ac_status=$?
2687 cd "$ac_pwd" || { ac_status=$?; break; }
2688 done
2691 test -n "$ac_init_help" && exit $ac_status
2692 if $ac_init_version; then
2693 cat <<\_ACEOF
2694 Wine configure 3.21
2695 generated by GNU Autoconf 2.69
2697 Copyright (C) 2012 Free Software Foundation, Inc.
2698 This configure script is free software; the Free Software Foundation
2699 gives unlimited permission to copy, distribute and modify it.
2700 _ACEOF
2701 exit
2704 ## ------------------------ ##
2705 ## Autoconf initialization. ##
2706 ## ------------------------ ##
2708 # ac_fn_c_try_compile LINENO
2709 # --------------------------
2710 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2711 ac_fn_c_try_compile ()
2713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2714 rm -f conftest.$ac_objext
2715 if { { ac_try="$ac_compile"
2716 case "(($ac_try" in
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2719 esac
2720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2721 $as_echo "$ac_try_echo"; } >&5
2722 (eval "$ac_compile") 2>conftest.err
2723 ac_status=$?
2724 if test -s conftest.err; then
2725 grep -v '^ *+' conftest.err >conftest.er1
2726 cat conftest.er1 >&5
2727 mv -f conftest.er1 conftest.err
2729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2730 test $ac_status = 0; } && {
2731 test -z "$ac_c_werror_flag" ||
2732 test ! -s conftest.err
2733 } && test -s conftest.$ac_objext; then :
2734 ac_retval=0
2735 else
2736 $as_echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2739 ac_retval=1
2741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2742 as_fn_set_status $ac_retval
2744 } # ac_fn_c_try_compile
2746 # ac_fn_cxx_try_compile LINENO
2747 # ----------------------------
2748 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2749 ac_fn_cxx_try_compile ()
2751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2752 rm -f conftest.$ac_objext
2753 if { { ac_try="$ac_compile"
2754 case "(($ac_try" in
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2757 esac
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760 (eval "$ac_compile") 2>conftest.err
2761 ac_status=$?
2762 if test -s conftest.err; then
2763 grep -v '^ *+' conftest.err >conftest.er1
2764 cat conftest.er1 >&5
2765 mv -f conftest.er1 conftest.err
2767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2768 test $ac_status = 0; } && {
2769 test -z "$ac_cxx_werror_flag" ||
2770 test ! -s conftest.err
2771 } && test -s conftest.$ac_objext; then :
2772 ac_retval=0
2773 else
2774 $as_echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5
2777 ac_retval=1
2779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2780 as_fn_set_status $ac_retval
2782 } # ac_fn_cxx_try_compile
2784 # ac_fn_c_try_link LINENO
2785 # -----------------------
2786 # Try to link conftest.$ac_ext, and return whether this succeeded.
2787 ac_fn_c_try_link ()
2789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2790 rm -f conftest.$ac_objext conftest$ac_exeext
2791 if { { ac_try="$ac_link"
2792 case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2795 esac
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798 (eval "$ac_link") 2>conftest.err
2799 ac_status=$?
2800 if test -s conftest.err; then
2801 grep -v '^ *+' conftest.err >conftest.er1
2802 cat conftest.er1 >&5
2803 mv -f conftest.er1 conftest.err
2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2806 test $ac_status = 0; } && {
2807 test -z "$ac_c_werror_flag" ||
2808 test ! -s conftest.err
2809 } && test -s conftest$ac_exeext && {
2810 test "$cross_compiling" = yes ||
2811 test -x conftest$ac_exeext
2812 }; then :
2813 ac_retval=0
2814 else
2815 $as_echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2818 ac_retval=1
2820 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2821 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2822 # interfere with the next link command; also delete a directory that is
2823 # left behind by Apple's compiler. We do this before executing the actions.
2824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2826 as_fn_set_status $ac_retval
2828 } # ac_fn_c_try_link
2830 # ac_fn_c_try_cpp LINENO
2831 # ----------------------
2832 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2833 ac_fn_c_try_cpp ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 if { { ac_try="$ac_cpp conftest.$ac_ext"
2837 case "(($ac_try" in
2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2840 esac
2841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2842 $as_echo "$ac_try_echo"; } >&5
2843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2844 ac_status=$?
2845 if test -s conftest.err; then
2846 grep -v '^ *+' conftest.err >conftest.er1
2847 cat conftest.er1 >&5
2848 mv -f conftest.er1 conftest.err
2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851 test $ac_status = 0; } > conftest.i && {
2852 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2853 test ! -s conftest.err
2854 }; then :
2855 ac_retval=0
2856 else
2857 $as_echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2860 ac_retval=1
2862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2863 as_fn_set_status $ac_retval
2865 } # ac_fn_c_try_cpp
2867 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2868 # -------------------------------------------------------
2869 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2870 # the include files in INCLUDES and setting the cache variable VAR
2871 # accordingly.
2872 ac_fn_c_check_header_mongrel ()
2874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875 if eval \${$3+:} false; then :
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2877 $as_echo_n "checking for $2... " >&6; }
2878 if eval \${$3+:} false; then :
2879 $as_echo_n "(cached) " >&6
2881 eval ac_res=\$$3
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2883 $as_echo "$ac_res" >&6; }
2884 else
2885 # Is the header compilable?
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2887 $as_echo_n "checking $2 usability... " >&6; }
2888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2889 /* end confdefs.h. */
2891 #include <$2>
2892 _ACEOF
2893 if ac_fn_c_try_compile "$LINENO"; then :
2894 ac_header_compiler=yes
2895 else
2896 ac_header_compiler=no
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2900 $as_echo "$ac_header_compiler" >&6; }
2902 # Is the header present?
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2904 $as_echo_n "checking $2 presence... " >&6; }
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2907 #include <$2>
2908 _ACEOF
2909 if ac_fn_c_try_cpp "$LINENO"; then :
2910 ac_header_preproc=yes
2911 else
2912 ac_header_preproc=no
2914 rm -f conftest.err conftest.i conftest.$ac_ext
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2916 $as_echo "$ac_header_preproc" >&6; }
2918 # So? What about this header?
2919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2920 yes:no: )
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2922 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2924 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2926 no:yes:* )
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2928 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2930 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2932 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2934 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2937 ( $as_echo "## ------------------------------------ ##
2938 ## Report this to wine-devel@winehq.org ##
2939 ## ------------------------------------ ##"
2940 ) | sed "s/^/$as_me: WARNING: /" >&2
2942 esac
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2944 $as_echo_n "checking for $2... " >&6; }
2945 if eval \${$3+:} false; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 eval "$3=\$ac_header_compiler"
2950 eval ac_res=\$$3
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2952 $as_echo "$ac_res" >&6; }
2954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2956 } # ac_fn_c_check_header_mongrel
2958 # ac_fn_c_try_run LINENO
2959 # ----------------------
2960 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2961 # that executables *can* be run.
2962 ac_fn_c_try_run ()
2964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2965 if { { ac_try="$ac_link"
2966 case "(($ac_try" in
2967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2969 esac
2970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2971 $as_echo "$ac_try_echo"; } >&5
2972 (eval "$ac_link") 2>&5
2973 ac_status=$?
2974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2975 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2976 { { case "(($ac_try" in
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2979 esac
2980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2981 $as_echo "$ac_try_echo"; } >&5
2982 (eval "$ac_try") 2>&5
2983 ac_status=$?
2984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2985 test $ac_status = 0; }; }; then :
2986 ac_retval=0
2987 else
2988 $as_echo "$as_me: program exited with status $ac_status" >&5
2989 $as_echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2992 ac_retval=$ac_status
2994 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2996 as_fn_set_status $ac_retval
2998 } # ac_fn_c_try_run
3000 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3001 # -------------------------------------------------------
3002 # Tests whether HEADER exists and can be compiled using the include files in
3003 # INCLUDES, setting the cache variable VAR accordingly.
3004 ac_fn_c_check_header_compile ()
3006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3008 $as_echo_n "checking for $2... " >&6; }
3009 if eval \${$3+:} false; then :
3010 $as_echo_n "(cached) " >&6
3011 else
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3015 #include <$2>
3016 _ACEOF
3017 if ac_fn_c_try_compile "$LINENO"; then :
3018 eval "$3=yes"
3019 else
3020 eval "$3=no"
3022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 eval ac_res=\$$3
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3026 $as_echo "$ac_res" >&6; }
3027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 } # ac_fn_c_check_header_compile
3031 # ac_fn_objc_try_compile LINENO
3032 # -----------------------------
3033 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3034 ac_fn_objc_try_compile ()
3036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3037 rm -f conftest.$ac_objext
3038 if { { ac_try="$ac_compile"
3039 case "(($ac_try" in
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3042 esac
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 $as_echo "$ac_try_echo"; } >&5
3045 (eval "$ac_compile") 2>conftest.err
3046 ac_status=$?
3047 if test -s conftest.err; then
3048 grep -v '^ *+' conftest.err >conftest.er1
3049 cat conftest.er1 >&5
3050 mv -f conftest.er1 conftest.err
3052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3053 test $ac_status = 0; } && {
3054 test -z "$ac_objc_werror_flag" ||
3055 test ! -s conftest.err
3056 } && test -s conftest.$ac_objext; then :
3057 ac_retval=0
3058 else
3059 $as_echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3062 ac_retval=1
3064 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3065 as_fn_set_status $ac_retval
3067 } # ac_fn_objc_try_compile
3069 # ac_fn_objc_try_cpp LINENO
3070 # -------------------------
3071 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3072 ac_fn_objc_try_cpp ()
3074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3075 if { { ac_try="$ac_cpp conftest.$ac_ext"
3076 case "(($ac_try" in
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3079 esac
3080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3081 $as_echo "$ac_try_echo"; } >&5
3082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3083 ac_status=$?
3084 if test -s conftest.err; then
3085 grep -v '^ *+' conftest.err >conftest.er1
3086 cat conftest.er1 >&5
3087 mv -f conftest.er1 conftest.err
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; } > conftest.i && {
3091 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3092 test ! -s conftest.err
3093 }; then :
3094 ac_retval=0
3095 else
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3099 ac_retval=1
3101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102 as_fn_set_status $ac_retval
3104 } # ac_fn_objc_try_cpp
3106 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3107 # ----------------------------------------------------------
3108 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3109 # the include files in INCLUDES and setting the cache variable VAR
3110 # accordingly.
3111 ac_fn_objc_check_header_mongrel ()
3113 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3114 if eval \${$3+:} false; then :
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3116 $as_echo_n "checking for $2... " >&6; }
3117 if eval \${$3+:} false; then :
3118 $as_echo_n "(cached) " >&6
3120 eval ac_res=\$$3
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3122 $as_echo "$ac_res" >&6; }
3123 else
3124 # Is the header compilable?
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3126 $as_echo_n "checking $2 usability... " >&6; }
3127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3130 #include <$2>
3131 _ACEOF
3132 if ac_fn_objc_try_compile "$LINENO"; then :
3133 ac_header_compiler=yes
3134 else
3135 ac_header_compiler=no
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3139 $as_echo "$ac_header_compiler" >&6; }
3141 # Is the header present?
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3143 $as_echo_n "checking $2 presence... " >&6; }
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3146 #include <$2>
3147 _ACEOF
3148 if ac_fn_objc_try_cpp "$LINENO"; then :
3149 ac_header_preproc=yes
3150 else
3151 ac_header_preproc=no
3153 rm -f conftest.err conftest.i conftest.$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3155 $as_echo "$ac_header_preproc" >&6; }
3157 # So? What about this header?
3158 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3159 yes:no: )
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3161 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3163 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3165 no:yes:* )
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3167 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3169 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3171 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3173 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3176 ( $as_echo "## ------------------------------------ ##
3177 ## Report this to wine-devel@winehq.org ##
3178 ## ------------------------------------ ##"
3179 ) | sed "s/^/$as_me: WARNING: /" >&2
3181 esac
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3183 $as_echo_n "checking for $2... " >&6; }
3184 if eval \${$3+:} false; then :
3185 $as_echo_n "(cached) " >&6
3186 else
3187 eval "$3=\$ac_header_compiler"
3189 eval ac_res=\$$3
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3191 $as_echo "$ac_res" >&6; }
3193 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3195 } # ac_fn_objc_check_header_mongrel
3197 # ac_fn_c_check_func LINENO FUNC VAR
3198 # ----------------------------------
3199 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3200 ac_fn_c_check_func ()
3202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3204 $as_echo_n "checking for $2... " >&6; }
3205 if eval \${$3+:} false; then :
3206 $as_echo_n "(cached) " >&6
3207 else
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3210 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3212 #define $2 innocuous_$2
3214 /* System header to define __stub macros and hopefully few prototypes,
3215 which can conflict with char $2 (); below.
3216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3217 <limits.h> exists even on freestanding compilers. */
3219 #ifdef __STDC__
3220 # include <limits.h>
3221 #else
3222 # include <assert.h>
3223 #endif
3225 #undef $2
3227 /* Override any GCC internal prototype to avoid an error.
3228 Use char because int might match the return type of a GCC
3229 builtin and then its argument prototype would still apply. */
3230 #ifdef __cplusplus
3231 extern "C"
3232 #endif
3233 char $2 ();
3234 /* The GNU C library defines this for functions which it implements
3235 to always fail with ENOSYS. Some functions are actually named
3236 something starting with __ and the normal name is an alias. */
3237 #if defined __stub_$2 || defined __stub___$2
3238 choke me
3239 #endif
3242 main ()
3244 return $2 ();
3246 return 0;
3248 _ACEOF
3249 if ac_fn_c_try_link "$LINENO"; then :
3250 eval "$3=yes"
3251 else
3252 eval "$3=no"
3254 rm -f core conftest.err conftest.$ac_objext \
3255 conftest$ac_exeext conftest.$ac_ext
3257 eval ac_res=\$$3
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3259 $as_echo "$ac_res" >&6; }
3260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3262 } # ac_fn_c_check_func
3264 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3265 # ----------------------------------------------------
3266 # Tries to find if the field MEMBER exists in type AGGR, after including
3267 # INCLUDES, setting cache variable VAR accordingly.
3268 ac_fn_c_check_member ()
3270 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3272 $as_echo_n "checking for $2.$3... " >&6; }
3273 if eval \${$4+:} false; then :
3274 $as_echo_n "(cached) " >&6
3275 else
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3280 main ()
3282 static $2 ac_aggr;
3283 if (ac_aggr.$3)
3284 return 0;
3286 return 0;
3288 _ACEOF
3289 if ac_fn_c_try_compile "$LINENO"; then :
3290 eval "$4=yes"
3291 else
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3296 main ()
3298 static $2 ac_aggr;
3299 if (sizeof ac_aggr.$3)
3300 return 0;
3302 return 0;
3304 _ACEOF
3305 if ac_fn_c_try_compile "$LINENO"; then :
3306 eval "$4=yes"
3307 else
3308 eval "$4=no"
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 eval ac_res=\$$4
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3316 $as_echo "$ac_res" >&6; }
3317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3319 } # ac_fn_c_check_member
3321 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3322 # -------------------------------------------
3323 # Tests whether TYPE exists after having included INCLUDES, setting cache
3324 # variable VAR accordingly.
3325 ac_fn_c_check_type ()
3327 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3329 $as_echo_n "checking for $2... " >&6; }
3330 if eval \${$3+:} false; then :
3331 $as_echo_n "(cached) " >&6
3332 else
3333 eval "$3=no"
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 main ()
3340 if (sizeof ($2))
3341 return 0;
3343 return 0;
3345 _ACEOF
3346 if ac_fn_c_try_compile "$LINENO"; then :
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3351 main ()
3353 if (sizeof (($2)))
3354 return 0;
3356 return 0;
3358 _ACEOF
3359 if ac_fn_c_try_compile "$LINENO"; then :
3361 else
3362 eval "$3=yes"
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 eval ac_res=\$$3
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3370 $as_echo "$ac_res" >&6; }
3371 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3373 } # ac_fn_c_check_type
3374 cat >config.log <<_ACEOF
3375 This file contains any messages produced by compilers while
3376 running configure, to aid debugging if configure makes a mistake.
3378 It was created by Wine $as_me 3.21, which was
3379 generated by GNU Autoconf 2.69. Invocation command line was
3381 $ $0 $@
3383 _ACEOF
3384 exec 5>>config.log
3386 cat <<_ASUNAME
3387 ## --------- ##
3388 ## Platform. ##
3389 ## --------- ##
3391 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3392 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3393 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3394 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3395 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3397 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3398 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3400 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3401 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3402 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3403 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3404 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3405 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3406 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3408 _ASUNAME
3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 for as_dir in $PATH
3413 IFS=$as_save_IFS
3414 test -z "$as_dir" && as_dir=.
3415 $as_echo "PATH: $as_dir"
3416 done
3417 IFS=$as_save_IFS
3419 } >&5
3421 cat >&5 <<_ACEOF
3424 ## ----------- ##
3425 ## Core tests. ##
3426 ## ----------- ##
3428 _ACEOF
3431 # Keep a trace of the command line.
3432 # Strip out --no-create and --no-recursion so they do not pile up.
3433 # Strip out --silent because we don't want to record it for future runs.
3434 # Also quote any args containing shell meta-characters.
3435 # Make two passes to allow for proper duplicate-argument suppression.
3436 ac_configure_args=
3437 ac_configure_args0=
3438 ac_configure_args1=
3439 ac_must_keep_next=false
3440 for ac_pass in 1 2
3442 for ac_arg
3444 case $ac_arg in
3445 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3446 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3447 | -silent | --silent | --silen | --sile | --sil)
3448 continue ;;
3449 *\'*)
3450 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3451 esac
3452 case $ac_pass in
3453 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3455 as_fn_append ac_configure_args1 " '$ac_arg'"
3456 if test $ac_must_keep_next = true; then
3457 ac_must_keep_next=false # Got value, back to normal.
3458 else
3459 case $ac_arg in
3460 *=* | --config-cache | -C | -disable-* | --disable-* \
3461 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3462 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3463 | -with-* | --with-* | -without-* | --without-* | --x)
3464 case "$ac_configure_args0 " in
3465 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3466 esac
3468 -* ) ac_must_keep_next=true ;;
3469 esac
3471 as_fn_append ac_configure_args " '$ac_arg'"
3473 esac
3474 done
3475 done
3476 { ac_configure_args0=; unset ac_configure_args0;}
3477 { ac_configure_args1=; unset ac_configure_args1;}
3479 # When interrupted or exit'd, cleanup temporary files, and complete
3480 # config.log. We remove comments because anyway the quotes in there
3481 # would cause problems or look ugly.
3482 # WARNING: Use '\'' to represent an apostrophe within the trap.
3483 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3484 trap 'exit_status=$?
3485 # Save into config.log some information that might help in debugging.
3487 echo
3489 $as_echo "## ---------------- ##
3490 ## Cache variables. ##
3491 ## ---------------- ##"
3492 echo
3493 # The following way of writing the cache mishandles newlines in values,
3495 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3496 eval ac_val=\$$ac_var
3497 case $ac_val in #(
3498 *${as_nl}*)
3499 case $ac_var in #(
3500 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3501 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3502 esac
3503 case $ac_var in #(
3504 _ | IFS | as_nl) ;; #(
3505 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3506 *) { eval $ac_var=; unset $ac_var;} ;;
3507 esac ;;
3508 esac
3509 done
3510 (set) 2>&1 |
3511 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3512 *${as_nl}ac_space=\ *)
3513 sed -n \
3514 "s/'\''/'\''\\\\'\'''\''/g;
3515 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3516 ;; #(
3518 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3520 esac |
3521 sort
3523 echo
3525 $as_echo "## ----------------- ##
3526 ## Output variables. ##
3527 ## ----------------- ##"
3528 echo
3529 for ac_var in $ac_subst_vars
3531 eval ac_val=\$$ac_var
3532 case $ac_val in
3533 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3534 esac
3535 $as_echo "$ac_var='\''$ac_val'\''"
3536 done | sort
3537 echo
3539 if test -n "$ac_subst_files"; then
3540 $as_echo "## ------------------- ##
3541 ## File substitutions. ##
3542 ## ------------------- ##"
3543 echo
3544 for ac_var in $ac_subst_files
3546 eval ac_val=\$$ac_var
3547 case $ac_val in
3548 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3549 esac
3550 $as_echo "$ac_var='\''$ac_val'\''"
3551 done | sort
3552 echo
3555 if test -s confdefs.h; then
3556 $as_echo "## ----------- ##
3557 ## confdefs.h. ##
3558 ## ----------- ##"
3559 echo
3560 cat confdefs.h
3561 echo
3563 test "$ac_signal" != 0 &&
3564 $as_echo "$as_me: caught signal $ac_signal"
3565 $as_echo "$as_me: exit $exit_status"
3566 } >&5
3567 rm -f core *.core core.conftest.* &&
3568 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3569 exit $exit_status
3571 for ac_signal in 1 2 13 15; do
3572 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3573 done
3574 ac_signal=0
3576 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3577 rm -f -r conftest* confdefs.h
3579 $as_echo "/* confdefs.h */" > confdefs.h
3581 # Predefined preprocessor variables.
3583 cat >>confdefs.h <<_ACEOF
3584 #define PACKAGE_NAME "$PACKAGE_NAME"
3585 _ACEOF
3587 cat >>confdefs.h <<_ACEOF
3588 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3589 _ACEOF
3591 cat >>confdefs.h <<_ACEOF
3592 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3593 _ACEOF
3595 cat >>confdefs.h <<_ACEOF
3596 #define PACKAGE_STRING "$PACKAGE_STRING"
3597 _ACEOF
3599 cat >>confdefs.h <<_ACEOF
3600 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3601 _ACEOF
3603 cat >>confdefs.h <<_ACEOF
3604 #define PACKAGE_URL "$PACKAGE_URL"
3605 _ACEOF
3608 # Let the site file select an alternate cache file if it wants to.
3609 # Prefer an explicitly selected file to automatically selected ones.
3610 ac_site_file1=NONE
3611 ac_site_file2=NONE
3612 if test -n "$CONFIG_SITE"; then
3613 # We do not want a PATH search for config.site.
3614 case $CONFIG_SITE in #((
3615 -*) ac_site_file1=./$CONFIG_SITE;;
3616 */*) ac_site_file1=$CONFIG_SITE;;
3617 *) ac_site_file1=./$CONFIG_SITE;;
3618 esac
3619 elif test "x$prefix" != xNONE; then
3620 ac_site_file1=$prefix/share/config.site
3621 ac_site_file2=$prefix/etc/config.site
3622 else
3623 ac_site_file1=$ac_default_prefix/share/config.site
3624 ac_site_file2=$ac_default_prefix/etc/config.site
3626 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3628 test "x$ac_site_file" = xNONE && continue
3629 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3631 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3632 sed 's/^/| /' "$ac_site_file" >&5
3633 . "$ac_site_file" \
3634 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3636 as_fn_error $? "failed to load site script $ac_site_file
3637 See \`config.log' for more details" "$LINENO" 5; }
3639 done
3641 if test -r "$cache_file"; then
3642 # Some versions of bash will fail to source /dev/null (special files
3643 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3644 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3646 $as_echo "$as_me: loading cache $cache_file" >&6;}
3647 case $cache_file in
3648 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3649 *) . "./$cache_file";;
3650 esac
3652 else
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3654 $as_echo "$as_me: creating cache $cache_file" >&6;}
3655 >$cache_file
3658 # Check that the precious variables saved in the cache have kept the same
3659 # value.
3660 ac_cache_corrupted=false
3661 for ac_var in $ac_precious_vars; do
3662 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3663 eval ac_new_set=\$ac_env_${ac_var}_set
3664 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3665 eval ac_new_val=\$ac_env_${ac_var}_value
3666 case $ac_old_set,$ac_new_set in
3667 set,)
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3669 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3670 ac_cache_corrupted=: ;;
3671 ,set)
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3673 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3674 ac_cache_corrupted=: ;;
3675 ,);;
3677 if test "x$ac_old_val" != "x$ac_new_val"; then
3678 # differences in whitespace do not lead to failure.
3679 ac_old_val_w=`echo x $ac_old_val`
3680 ac_new_val_w=`echo x $ac_new_val`
3681 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3683 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3684 ac_cache_corrupted=:
3685 else
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3687 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3688 eval $ac_var=\$ac_old_val
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3691 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3693 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3694 fi;;
3695 esac
3696 # Pass precious variables to config.status.
3697 if test "$ac_new_set" = set; then
3698 case $ac_new_val in
3699 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3700 *) ac_arg=$ac_var=$ac_new_val ;;
3701 esac
3702 case " $ac_configure_args " in
3703 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3704 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3705 esac
3707 done
3708 if $ac_cache_corrupted; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3712 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3713 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3715 ## -------------------- ##
3716 ## Main body of script. ##
3717 ## -------------------- ##
3719 ac_ext=c
3720 ac_cpp='$CPP $CPPFLAGS'
3721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3727 ac_config_headers="$ac_config_headers include/config.h"
3729 ac_aux_dir=
3730 for ac_dir in tools "$srcdir"/tools; do
3731 if test -f "$ac_dir/install-sh"; then
3732 ac_aux_dir=$ac_dir
3733 ac_install_sh="$ac_aux_dir/install-sh -c"
3734 break
3735 elif test -f "$ac_dir/install.sh"; then
3736 ac_aux_dir=$ac_dir
3737 ac_install_sh="$ac_aux_dir/install.sh -c"
3738 break
3739 elif test -f "$ac_dir/shtool"; then
3740 ac_aux_dir=$ac_dir
3741 ac_install_sh="$ac_aux_dir/shtool install -c"
3742 break
3744 done
3745 if test -z "$ac_aux_dir"; then
3746 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3749 # These three variables are undocumented and unsupported,
3750 # and are intended to be withdrawn in a future Autoconf release.
3751 # They can cause serious problems if a builder's source tree is in a directory
3752 # whose full name contains unusual characters.
3753 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3754 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3755 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3759 libwine_version="1.0"
3763 # Check whether --enable-win16 was given.
3764 if test "${enable_win16+set}" = set; then :
3765 enableval=$enable_win16;
3768 # Check whether --enable-win64 was given.
3769 if test "${enable_win64+set}" = set; then :
3770 enableval=$enable_win64;
3773 # Check whether --enable-tests was given.
3774 if test "${enable_tests+set}" = set; then :
3775 enableval=$enable_tests;
3778 # Check whether --enable-maintainer-mode was given.
3779 if test "${enable_maintainer_mode+set}" = set; then :
3780 enableval=$enable_maintainer_mode;
3785 # Check whether --with-alsa was given.
3786 if test "${with_alsa+set}" = set; then :
3787 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3791 # Check whether --with-capi was given.
3792 if test "${with_capi+set}" = set; then :
3793 withval=$with_capi;
3797 # Check whether --with-cms was given.
3798 if test "${with_cms+set}" = set; then :
3799 withval=$with_cms;
3803 # Check whether --with-coreaudio was given.
3804 if test "${with_coreaudio+set}" = set; then :
3805 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3809 # Check whether --with-cups was given.
3810 if test "${with_cups+set}" = set; then :
3811 withval=$with_cups;
3815 # Check whether --with-curses was given.
3816 if test "${with_curses+set}" = set; then :
3817 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3821 # Check whether --with-dbus was given.
3822 if test "${with_dbus+set}" = set; then :
3823 withval=$with_dbus;
3827 # Check whether --with-float-abi was given.
3828 if test "${with_float_abi+set}" = set; then :
3829 withval=$with_float_abi;
3833 # Check whether --with-fontconfig was given.
3834 if test "${with_fontconfig+set}" = set; then :
3835 withval=$with_fontconfig;
3839 # Check whether --with-freetype was given.
3840 if test "${with_freetype+set}" = set; then :
3841 withval=$with_freetype;
3845 # Check whether --with-gettext was given.
3846 if test "${with_gettext+set}" = set; then :
3847 withval=$with_gettext;
3851 # Check whether --with-gettextpo was given.
3852 if test "${with_gettextpo+set}" = set; then :
3853 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3857 # Check whether --with-gphoto was given.
3858 if test "${with_gphoto+set}" = set; then :
3859 withval=$with_gphoto;
3863 # Check whether --with-glu was given.
3864 if test "${with_glu+set}" = set; then :
3865 withval=$with_glu;
3869 # Check whether --with-gnutls was given.
3870 if test "${with_gnutls+set}" = set; then :
3871 withval=$with_gnutls;
3875 # Check whether --with-gsm was given.
3876 if test "${with_gsm+set}" = set; then :
3877 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3881 # Check whether --with-gssapi was given.
3882 if test "${with_gssapi+set}" = set; then :
3883 withval=$with_gssapi;
3887 # Check whether --with-gstreamer was given.
3888 if test "${with_gstreamer+set}" = set; then :
3889 withval=$with_gstreamer;
3893 # Check whether --with-hal was given.
3894 if test "${with_hal+set}" = set; then :
3895 withval=$with_hal;
3899 # Check whether --with-jpeg was given.
3900 if test "${with_jpeg+set}" = set; then :
3901 withval=$with_jpeg;
3905 # Check whether --with-krb5 was given.
3906 if test "${with_krb5+set}" = set; then :
3907 withval=$with_krb5;
3911 # Check whether --with-ldap was given.
3912 if test "${with_ldap+set}" = set; then :
3913 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3917 # Check whether --with-mpg123 was given.
3918 if test "${with_mpg123+set}" = set; then :
3919 withval=$with_mpg123;
3923 # Check whether --with-netapi was given.
3924 if test "${with_netapi+set}" = set; then :
3925 withval=$with_netapi;
3929 # Check whether --with-openal was given.
3930 if test "${with_openal+set}" = set; then :
3931 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3935 # Check whether --with-opencl was given.
3936 if test "${with_opencl+set}" = set; then :
3937 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3941 # Check whether --with-opengl was given.
3942 if test "${with_opengl+set}" = set; then :
3943 withval=$with_opengl;
3947 # Check whether --with-osmesa was given.
3948 if test "${with_osmesa+set}" = set; then :
3949 withval=$with_osmesa;
3953 # Check whether --with-oss was given.
3954 if test "${with_oss+set}" = set; then :
3955 withval=$with_oss;
3959 # Check whether --with-pcap was given.
3960 if test "${with_pcap+set}" = set; then :
3961 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3965 # Check whether --with-png was given.
3966 if test "${with_png+set}" = set; then :
3967 withval=$with_png;
3971 # Check whether --with-pthread was given.
3972 if test "${with_pthread+set}" = set; then :
3973 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3977 # Check whether --with-pulse was given.
3978 if test "${with_pulse+set}" = set; then :
3979 withval=$with_pulse;
3983 # Check whether --with-sane was given.
3984 if test "${with_sane+set}" = set; then :
3985 withval=$with_sane;
3989 # Check whether --with-sdl was given.
3990 if test "${with_sdl+set}" = set; then :
3991 withval=$with_sdl;
3995 # Check whether --with-tiff was given.
3996 if test "${with_tiff+set}" = set; then :
3997 withval=$with_tiff;
4001 # Check whether --with-udev was given.
4002 if test "${with_udev+set}" = set; then :
4003 withval=$with_udev;
4007 # Check whether --with-v4l was given.
4008 if test "${with_v4l+set}" = set; then :
4009 withval=$with_v4l;
4013 # Check whether --with-vkd3d was given.
4014 if test "${with_vkd3d+set}" = set; then :
4015 withval=$with_vkd3d;
4019 # Check whether --with-vulkan was given.
4020 if test "${with_vulkan+set}" = set; then :
4021 withval=$with_vulkan;
4025 # Check whether --with-xcomposite was given.
4026 if test "${with_xcomposite+set}" = set; then :
4027 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4031 # Check whether --with-xcursor was given.
4032 if test "${with_xcursor+set}" = set; then :
4033 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4037 # Check whether --with-xfixes was given.
4038 if test "${with_xfixes+set}" = set; then :
4039 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4043 # Check whether --with-xinerama was given.
4044 if test "${with_xinerama+set}" = set; then :
4045 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4049 # Check whether --with-xinput was given.
4050 if test "${with_xinput+set}" = set; then :
4051 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4055 # Check whether --with-xinput2 was given.
4056 if test "${with_xinput2+set}" = set; then :
4057 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4061 # Check whether --with-xml was given.
4062 if test "${with_xml+set}" = set; then :
4063 withval=$with_xml;
4067 # Check whether --with-xrandr was given.
4068 if test "${with_xrandr+set}" = set; then :
4069 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4073 # Check whether --with-xrender was given.
4074 if test "${with_xrender+set}" = set; then :
4075 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4079 # Check whether --with-xshape was given.
4080 if test "${with_xshape+set}" = set; then :
4081 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4085 # Check whether --with-xshm was given.
4086 if test "${with_xshm+set}" = set; then :
4087 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4091 # Check whether --with-xslt was given.
4092 if test "${with_xslt+set}" = set; then :
4093 withval=$with_xslt;
4097 # Check whether --with-xxf86vm was given.
4098 if test "${with_xxf86vm+set}" = set; then :
4099 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
4103 # Check whether --with-zlib was given.
4104 if test "${with_zlib+set}" = set; then :
4105 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4110 # Check whether --with-wine-tools was given.
4111 if test "${with_wine_tools+set}" = set; then :
4112 withval=$with_wine_tools;
4116 # Check whether --with-wine64 was given.
4117 if test "${with_wine64+set}" = set; then :
4118 withval=$with_wine64;
4122 # Make sure we can run config.sub.
4123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4124 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4127 $as_echo_n "checking build system type... " >&6; }
4128 if ${ac_cv_build+:} false; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 ac_build_alias=$build_alias
4132 test "x$ac_build_alias" = x &&
4133 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4134 test "x$ac_build_alias" = x &&
4135 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4136 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4137 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4141 $as_echo "$ac_cv_build" >&6; }
4142 case $ac_cv_build in
4143 *-*-*) ;;
4144 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4145 esac
4146 build=$ac_cv_build
4147 ac_save_IFS=$IFS; IFS='-'
4148 set x $ac_cv_build
4149 shift
4150 build_cpu=$1
4151 build_vendor=$2
4152 shift; shift
4153 # Remember, the first character of IFS is used to create $*,
4154 # except with old shells:
4155 build_os=$*
4156 IFS=$ac_save_IFS
4157 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4161 $as_echo_n "checking host system type... " >&6; }
4162 if ${ac_cv_host+:} false; then :
4163 $as_echo_n "(cached) " >&6
4164 else
4165 if test "x$host_alias" = x; then
4166 ac_cv_host=$ac_cv_build
4167 else
4168 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4169 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4174 $as_echo "$ac_cv_host" >&6; }
4175 case $ac_cv_host in
4176 *-*-*) ;;
4177 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4178 esac
4179 host=$ac_cv_host
4180 ac_save_IFS=$IFS; IFS='-'
4181 set x $ac_cv_host
4182 shift
4183 host_cpu=$1
4184 host_vendor=$2
4185 shift; shift
4186 # Remember, the first character of IFS is used to create $*,
4187 # except with old shells:
4188 host_os=$*
4189 IFS=$ac_save_IFS
4190 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4194 case "$srcdir" in
4195 .) ;;
4196 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4197 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4198 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4199 fi ;;
4200 esac
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4204 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4205 set x ${MAKE-make}
4206 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4207 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4208 $as_echo_n "(cached) " >&6
4209 else
4210 cat >conftest.make <<\_ACEOF
4211 SHELL = /bin/sh
4212 all:
4213 @echo '@@@%%%=$(MAKE)=@@@%%%'
4214 _ACEOF
4215 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4216 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4217 *@@@%%%=?*=@@@%%%*)
4218 eval ac_cv_prog_make_${ac_make}_set=yes;;
4220 eval ac_cv_prog_make_${ac_make}_set=no;;
4221 esac
4222 rm -f conftest.make
4224 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4226 $as_echo "yes" >&6; }
4227 SET_MAKE=
4228 else
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4231 SET_MAKE="MAKE=${MAKE-make}"
4234 ac_ext=c
4235 ac_cpp='$CPP $CPPFLAGS'
4236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4239 if test -n "$ac_tool_prefix"; then
4240 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4241 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4243 $as_echo_n "checking for $ac_word... " >&6; }
4244 if ${ac_cv_prog_CC+:} false; then :
4245 $as_echo_n "(cached) " >&6
4246 else
4247 if test -n "$CC"; then
4248 ac_cv_prog_CC="$CC" # Let the user override the test.
4249 else
4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4251 for as_dir in $PATH
4253 IFS=$as_save_IFS
4254 test -z "$as_dir" && as_dir=.
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4257 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 break 2
4261 done
4262 done
4263 IFS=$as_save_IFS
4267 CC=$ac_cv_prog_CC
4268 if test -n "$CC"; then
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4270 $as_echo "$CC" >&6; }
4271 else
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4273 $as_echo "no" >&6; }
4278 if test -z "$ac_cv_prog_CC"; then
4279 ac_ct_CC=$CC
4280 # Extract the first word of "gcc", so it can be a program name with args.
4281 set dummy gcc; ac_word=$2
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4283 $as_echo_n "checking for $ac_word... " >&6; }
4284 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4285 $as_echo_n "(cached) " >&6
4286 else
4287 if test -n "$ac_ct_CC"; then
4288 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4289 else
4290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4291 for as_dir in $PATH
4293 IFS=$as_save_IFS
4294 test -z "$as_dir" && as_dir=.
4295 for ac_exec_ext in '' $ac_executable_extensions; do
4296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4297 ac_cv_prog_ac_ct_CC="gcc"
4298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4299 break 2
4301 done
4302 done
4303 IFS=$as_save_IFS
4307 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4308 if test -n "$ac_ct_CC"; then
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4310 $as_echo "$ac_ct_CC" >&6; }
4311 else
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4313 $as_echo "no" >&6; }
4316 if test "x$ac_ct_CC" = x; then
4317 CC=""
4318 else
4319 case $cross_compiling:$ac_tool_warned in
4320 yes:)
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4323 ac_tool_warned=yes ;;
4324 esac
4325 CC=$ac_ct_CC
4327 else
4328 CC="$ac_cv_prog_CC"
4331 if test -z "$CC"; then
4332 if test -n "$ac_tool_prefix"; then
4333 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4334 set dummy ${ac_tool_prefix}cc; ac_word=$2
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4336 $as_echo_n "checking for $ac_word... " >&6; }
4337 if ${ac_cv_prog_CC+:} false; then :
4338 $as_echo_n "(cached) " >&6
4339 else
4340 if test -n "$CC"; then
4341 ac_cv_prog_CC="$CC" # Let the user override the test.
4342 else
4343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344 for as_dir in $PATH
4346 IFS=$as_save_IFS
4347 test -z "$as_dir" && as_dir=.
4348 for ac_exec_ext in '' $ac_executable_extensions; do
4349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4350 ac_cv_prog_CC="${ac_tool_prefix}cc"
4351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 break 2
4354 done
4355 done
4356 IFS=$as_save_IFS
4360 CC=$ac_cv_prog_CC
4361 if test -n "$CC"; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4363 $as_echo "$CC" >&6; }
4364 else
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4366 $as_echo "no" >&6; }
4372 if test -z "$CC"; then
4373 # Extract the first word of "cc", so it can be a program name with args.
4374 set dummy cc; ac_word=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if ${ac_cv_prog_CC+:} false; then :
4378 $as_echo_n "(cached) " >&6
4379 else
4380 if test -n "$CC"; then
4381 ac_cv_prog_CC="$CC" # Let the user override the test.
4382 else
4383 ac_prog_rejected=no
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH
4387 IFS=$as_save_IFS
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4392 ac_prog_rejected=yes
4393 continue
4395 ac_cv_prog_CC="cc"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 break 2
4399 done
4400 done
4401 IFS=$as_save_IFS
4403 if test $ac_prog_rejected = yes; then
4404 # We found a bogon in the path, so make sure we never use it.
4405 set dummy $ac_cv_prog_CC
4406 shift
4407 if test $# != 0; then
4408 # We chose a different compiler from the bogus one.
4409 # However, it has the same basename, so the bogon will be chosen
4410 # first if we set CC to just the basename; use the full file name.
4411 shift
4412 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4417 CC=$ac_cv_prog_CC
4418 if test -n "$CC"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4420 $as_echo "$CC" >&6; }
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4428 if test -z "$CC"; then
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in cl.exe
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_prog_CC+:} false; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$CC"; then
4440 ac_cv_prog_CC="$CC" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4453 done
4454 done
4455 IFS=$as_save_IFS
4459 CC=$ac_cv_prog_CC
4460 if test -n "$CC"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4462 $as_echo "$CC" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4469 test -n "$CC" && break
4470 done
4472 if test -z "$CC"; then
4473 ac_ct_CC=$CC
4474 for ac_prog in cl.exe
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy $ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 if test -n "$ac_ct_CC"; then
4484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4485 else
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH
4489 IFS=$as_save_IFS
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_ac_ct_CC="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 break 2
4497 done
4498 done
4499 IFS=$as_save_IFS
4503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4504 if test -n "$ac_ct_CC"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4506 $as_echo "$ac_ct_CC" >&6; }
4507 else
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4513 test -n "$ac_ct_CC" && break
4514 done
4516 if test "x$ac_ct_CC" = x; then
4517 CC=""
4518 else
4519 case $cross_compiling:$ac_tool_warned in
4520 yes:)
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4523 ac_tool_warned=yes ;;
4524 esac
4525 CC=$ac_ct_CC
4532 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4534 as_fn_error $? "no acceptable C compiler found in \$PATH
4535 See \`config.log' for more details" "$LINENO" 5; }
4537 # Provide some information about the compiler.
4538 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4539 set X $ac_compile
4540 ac_compiler=$2
4541 for ac_option in --version -v -V -qversion; do
4542 { { ac_try="$ac_compiler $ac_option >&5"
4543 case "(($ac_try" in
4544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4545 *) ac_try_echo=$ac_try;;
4546 esac
4547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4548 $as_echo "$ac_try_echo"; } >&5
4549 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4550 ac_status=$?
4551 if test -s conftest.err; then
4552 sed '10a\
4553 ... rest of stderr output deleted ...
4554 10q' conftest.err >conftest.er1
4555 cat conftest.er1 >&5
4557 rm -f conftest.er1 conftest.err
4558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4559 test $ac_status = 0; }
4560 done
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4566 main ()
4570 return 0;
4572 _ACEOF
4573 ac_clean_files_save=$ac_clean_files
4574 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4575 # Try to create an executable without -o first, disregard a.out.
4576 # It will help us diagnose broken compilers, and finding out an intuition
4577 # of exeext.
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4579 $as_echo_n "checking whether the C compiler works... " >&6; }
4580 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4582 # The possible output files:
4583 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4585 ac_rmfiles=
4586 for ac_file in $ac_files
4588 case $ac_file in
4589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4590 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4591 esac
4592 done
4593 rm -f $ac_rmfiles
4595 if { { ac_try="$ac_link_default"
4596 case "(($ac_try" in
4597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4598 *) ac_try_echo=$ac_try;;
4599 esac
4600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4601 $as_echo "$ac_try_echo"; } >&5
4602 (eval "$ac_link_default") 2>&5
4603 ac_status=$?
4604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4605 test $ac_status = 0; }; then :
4606 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4607 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4608 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4609 # so that the user can short-circuit this test for compilers unknown to
4610 # Autoconf.
4611 for ac_file in $ac_files ''
4613 test -f "$ac_file" || continue
4614 case $ac_file in
4615 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4617 [ab].out )
4618 # We found the default executable, but exeext='' is most
4619 # certainly right.
4620 break;;
4621 *.* )
4622 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4623 then :; else
4624 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4626 # We set ac_cv_exeext here because the later test for it is not
4627 # safe: cross compilers may not add the suffix if given an `-o'
4628 # argument, so we may need to know it at that point already.
4629 # Even if this section looks crufty: it has the advantage of
4630 # actually working.
4631 break;;
4633 break;;
4634 esac
4635 done
4636 test "$ac_cv_exeext" = no && ac_cv_exeext=
4638 else
4639 ac_file=''
4641 if test -z "$ac_file"; then :
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4644 $as_echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.$ac_ext >&5
4647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4649 as_fn_error 77 "C compiler cannot create executables
4650 See \`config.log' for more details" "$LINENO" 5; }
4651 else
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4653 $as_echo "yes" >&6; }
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4656 $as_echo_n "checking for C compiler default output file name... " >&6; }
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4658 $as_echo "$ac_file" >&6; }
4659 ac_exeext=$ac_cv_exeext
4661 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4662 ac_clean_files=$ac_clean_files_save
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4664 $as_echo_n "checking for suffix of executables... " >&6; }
4665 if { { ac_try="$ac_link"
4666 case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4669 esac
4670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4671 $as_echo "$ac_try_echo"; } >&5
4672 (eval "$ac_link") 2>&5
4673 ac_status=$?
4674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4675 test $ac_status = 0; }; then :
4676 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4677 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4678 # work properly (i.e., refer to `conftest.exe'), while it won't with
4679 # `rm'.
4680 for ac_file in conftest.exe conftest conftest.*; do
4681 test -f "$ac_file" || continue
4682 case $ac_file in
4683 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4684 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4685 break;;
4686 * ) break;;
4687 esac
4688 done
4689 else
4690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4692 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4693 See \`config.log' for more details" "$LINENO" 5; }
4695 rm -f conftest conftest$ac_cv_exeext
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4697 $as_echo "$ac_cv_exeext" >&6; }
4699 rm -f conftest.$ac_ext
4700 EXEEXT=$ac_cv_exeext
4701 ac_exeext=$EXEEXT
4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4704 #include <stdio.h>
4706 main ()
4708 FILE *f = fopen ("conftest.out", "w");
4709 return ferror (f) || fclose (f) != 0;
4712 return 0;
4714 _ACEOF
4715 ac_clean_files="$ac_clean_files conftest.out"
4716 # Check that the compiler produces executables we can run. If not, either
4717 # the compiler is broken, or we cross compile.
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4719 $as_echo_n "checking whether we are cross compiling... " >&6; }
4720 if test "$cross_compiling" != yes; then
4721 { { ac_try="$ac_link"
4722 case "(($ac_try" in
4723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4724 *) ac_try_echo=$ac_try;;
4725 esac
4726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4727 $as_echo "$ac_try_echo"; } >&5
4728 (eval "$ac_link") 2>&5
4729 ac_status=$?
4730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4731 test $ac_status = 0; }
4732 if { ac_try='./conftest$ac_cv_exeext'
4733 { { case "(($ac_try" in
4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 *) ac_try_echo=$ac_try;;
4736 esac
4737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4738 $as_echo "$ac_try_echo"; } >&5
4739 (eval "$ac_try") 2>&5
4740 ac_status=$?
4741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4742 test $ac_status = 0; }; }; then
4743 cross_compiling=no
4744 else
4745 if test "$cross_compiling" = maybe; then
4746 cross_compiling=yes
4747 else
4748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4750 as_fn_error $? "cannot run C compiled programs.
4751 If you meant to cross compile, use \`--host'.
4752 See \`config.log' for more details" "$LINENO" 5; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4757 $as_echo "$cross_compiling" >&6; }
4759 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4760 ac_clean_files=$ac_clean_files_save
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4762 $as_echo_n "checking for suffix of object files... " >&6; }
4763 if ${ac_cv_objext+:} false; then :
4764 $as_echo_n "(cached) " >&6
4765 else
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4770 main ()
4774 return 0;
4776 _ACEOF
4777 rm -f conftest.o conftest.obj
4778 if { { ac_try="$ac_compile"
4779 case "(($ac_try" in
4780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4781 *) ac_try_echo=$ac_try;;
4782 esac
4783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4784 $as_echo "$ac_try_echo"; } >&5
4785 (eval "$ac_compile") 2>&5
4786 ac_status=$?
4787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788 test $ac_status = 0; }; then :
4789 for ac_file in conftest.o conftest.obj conftest.*; do
4790 test -f "$ac_file" || continue;
4791 case $ac_file in
4792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4793 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4794 break;;
4795 esac
4796 done
4797 else
4798 $as_echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4803 as_fn_error $? "cannot compute suffix of object files: cannot compile
4804 See \`config.log' for more details" "$LINENO" 5; }
4806 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4809 $as_echo "$ac_cv_objext" >&6; }
4810 OBJEXT=$ac_cv_objext
4811 ac_objext=$OBJEXT
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4813 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4814 if ${ac_cv_c_compiler_gnu+:} false; then :
4815 $as_echo_n "(cached) " >&6
4816 else
4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4818 /* end confdefs.h. */
4821 main ()
4823 #ifndef __GNUC__
4824 choke me
4825 #endif
4828 return 0;
4830 _ACEOF
4831 if ac_fn_c_try_compile "$LINENO"; then :
4832 ac_compiler_gnu=yes
4833 else
4834 ac_compiler_gnu=no
4836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4837 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4841 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4842 if test $ac_compiler_gnu = yes; then
4843 GCC=yes
4844 else
4845 GCC=
4847 ac_test_CFLAGS=${CFLAGS+set}
4848 ac_save_CFLAGS=$CFLAGS
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4850 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4851 if ${ac_cv_prog_cc_g+:} false; then :
4852 $as_echo_n "(cached) " >&6
4853 else
4854 ac_save_c_werror_flag=$ac_c_werror_flag
4855 ac_c_werror_flag=yes
4856 ac_cv_prog_cc_g=no
4857 CFLAGS="-g"
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4862 main ()
4866 return 0;
4868 _ACEOF
4869 if ac_fn_c_try_compile "$LINENO"; then :
4870 ac_cv_prog_cc_g=yes
4871 else
4872 CFLAGS=""
4873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4874 /* end confdefs.h. */
4877 main ()
4881 return 0;
4883 _ACEOF
4884 if ac_fn_c_try_compile "$LINENO"; then :
4886 else
4887 ac_c_werror_flag=$ac_save_c_werror_flag
4888 CFLAGS="-g"
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4893 main ()
4897 return 0;
4899 _ACEOF
4900 if ac_fn_c_try_compile "$LINENO"; then :
4901 ac_cv_prog_cc_g=yes
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908 ac_c_werror_flag=$ac_save_c_werror_flag
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4911 $as_echo "$ac_cv_prog_cc_g" >&6; }
4912 if test "$ac_test_CFLAGS" = set; then
4913 CFLAGS=$ac_save_CFLAGS
4914 elif test $ac_cv_prog_cc_g = yes; then
4915 if test "$GCC" = yes; then
4916 CFLAGS="-g -O2"
4917 else
4918 CFLAGS="-g"
4920 else
4921 if test "$GCC" = yes; then
4922 CFLAGS="-O2"
4923 else
4924 CFLAGS=
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4928 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4929 if ${ac_cv_prog_cc_c89+:} false; then :
4930 $as_echo_n "(cached) " >&6
4931 else
4932 ac_cv_prog_cc_c89=no
4933 ac_save_CC=$CC
4934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4936 #include <stdarg.h>
4937 #include <stdio.h>
4938 struct stat;
4939 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4940 struct buf { int x; };
4941 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4942 static char *e (p, i)
4943 char **p;
4944 int i;
4946 return p[i];
4948 static char *f (char * (*g) (char **, int), char **p, ...)
4950 char *s;
4951 va_list v;
4952 va_start (v,p);
4953 s = g (p, va_arg (v,int));
4954 va_end (v);
4955 return s;
4958 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4959 function prototypes and stuff, but not '\xHH' hex character constants.
4960 These don't provoke an error unfortunately, instead are silently treated
4961 as 'x'. The following induces an error, until -std is added to get
4962 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4963 array size at least. It's necessary to write '\x00'==0 to get something
4964 that's true only with -std. */
4965 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4967 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4968 inside strings and character constants. */
4969 #define FOO(x) 'x'
4970 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4972 int test (int i, double x);
4973 struct s1 {int (*f) (int a);};
4974 struct s2 {int (*f) (double a);};
4975 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4976 int argc;
4977 char **argv;
4979 main ()
4981 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4983 return 0;
4985 _ACEOF
4986 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4987 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4989 CC="$ac_save_CC $ac_arg"
4990 if ac_fn_c_try_compile "$LINENO"; then :
4991 ac_cv_prog_cc_c89=$ac_arg
4993 rm -f core conftest.err conftest.$ac_objext
4994 test "x$ac_cv_prog_cc_c89" != "xno" && break
4995 done
4996 rm -f conftest.$ac_ext
4997 CC=$ac_save_CC
5000 # AC_CACHE_VAL
5001 case "x$ac_cv_prog_cc_c89" in
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5004 $as_echo "none needed" >&6; } ;;
5005 xno)
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5007 $as_echo "unsupported" >&6; } ;;
5009 CC="$CC $ac_cv_prog_cc_c89"
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5011 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5012 esac
5013 if test "x$ac_cv_prog_cc_c89" != xno; then :
5017 ac_ext=c
5018 ac_cpp='$CPP $CPPFLAGS'
5019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5023 ac_ext=cpp
5024 ac_cpp='$CXXCPP $CPPFLAGS'
5025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5028 if test -z "$CXX"; then
5029 if test -n "$CCC"; then
5030 CXX=$CCC
5031 else
5032 if test -n "$ac_tool_prefix"; then
5033 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5036 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_CXX+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$CXX"; then
5043 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 CXX=$ac_cv_prog_CXX
5063 if test -n "$CXX"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5065 $as_echo "$CXX" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5072 test -n "$CXX" && break
5073 done
5075 if test -z "$CXX"; then
5076 ac_ct_CXX=$CXX
5077 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5079 # Extract the first word of "$ac_prog", so it can be a program name with args.
5080 set dummy $ac_prog; ac_word=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5084 $as_echo_n "(cached) " >&6
5085 else
5086 if test -n "$ac_ct_CXX"; then
5087 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5088 else
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $PATH
5092 IFS=$as_save_IFS
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_ac_ct_CXX="$ac_prog"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 break 2
5100 done
5101 done
5102 IFS=$as_save_IFS
5106 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5107 if test -n "$ac_ct_CXX"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5109 $as_echo "$ac_ct_CXX" >&6; }
5110 else
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5116 test -n "$ac_ct_CXX" && break
5117 done
5119 if test "x$ac_ct_CXX" = x; then
5120 CXX="g++"
5121 else
5122 case $cross_compiling:$ac_tool_warned in
5123 yes:)
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5126 ac_tool_warned=yes ;;
5127 esac
5128 CXX=$ac_ct_CXX
5134 # Provide some information about the compiler.
5135 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5136 set X $ac_compile
5137 ac_compiler=$2
5138 for ac_option in --version -v -V -qversion; do
5139 { { ac_try="$ac_compiler $ac_option >&5"
5140 case "(($ac_try" in
5141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5142 *) ac_try_echo=$ac_try;;
5143 esac
5144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5145 $as_echo "$ac_try_echo"; } >&5
5146 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5147 ac_status=$?
5148 if test -s conftest.err; then
5149 sed '10a\
5150 ... rest of stderr output deleted ...
5151 10q' conftest.err >conftest.er1
5152 cat conftest.er1 >&5
5154 rm -f conftest.er1 conftest.err
5155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5156 test $ac_status = 0; }
5157 done
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5160 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5161 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5162 $as_echo_n "(cached) " >&6
5163 else
5164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5165 /* end confdefs.h. */
5168 main ()
5170 #ifndef __GNUC__
5171 choke me
5172 #endif
5175 return 0;
5177 _ACEOF
5178 if ac_fn_cxx_try_compile "$LINENO"; then :
5179 ac_compiler_gnu=yes
5180 else
5181 ac_compiler_gnu=no
5183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5184 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5188 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5189 if test $ac_compiler_gnu = yes; then
5190 GXX=yes
5191 else
5192 GXX=
5194 ac_test_CXXFLAGS=${CXXFLAGS+set}
5195 ac_save_CXXFLAGS=$CXXFLAGS
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5197 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5198 if ${ac_cv_prog_cxx_g+:} false; then :
5199 $as_echo_n "(cached) " >&6
5200 else
5201 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5202 ac_cxx_werror_flag=yes
5203 ac_cv_prog_cxx_g=no
5204 CXXFLAGS="-g"
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5209 main ()
5213 return 0;
5215 _ACEOF
5216 if ac_fn_cxx_try_compile "$LINENO"; then :
5217 ac_cv_prog_cxx_g=yes
5218 else
5219 CXXFLAGS=""
5220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5221 /* end confdefs.h. */
5224 main ()
5228 return 0;
5230 _ACEOF
5231 if ac_fn_cxx_try_compile "$LINENO"; then :
5233 else
5234 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5235 CXXFLAGS="-g"
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5240 main ()
5244 return 0;
5246 _ACEOF
5247 if ac_fn_cxx_try_compile "$LINENO"; then :
5248 ac_cv_prog_cxx_g=yes
5250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5255 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5258 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5259 if test "$ac_test_CXXFLAGS" = set; then
5260 CXXFLAGS=$ac_save_CXXFLAGS
5261 elif test $ac_cv_prog_cxx_g = yes; then
5262 if test "$GXX" = yes; then
5263 CXXFLAGS="-g -O2"
5264 else
5265 CXXFLAGS="-g"
5267 else
5268 if test "$GXX" = yes; then
5269 CXXFLAGS="-O2"
5270 else
5271 CXXFLAGS=
5274 ac_ext=c
5275 ac_cpp='$CPP $CPPFLAGS'
5276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5280 if test -n "$ac_tool_prefix"; then
5281 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5282 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if ${ac_cv_prog_CPPBIN+:} false; then :
5286 $as_echo_n "(cached) " >&6
5287 else
5288 if test -n "$CPPBIN"; then
5289 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5290 else
5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 for as_dir in $PATH
5294 IFS=$as_save_IFS
5295 test -z "$as_dir" && as_dir=.
5296 for ac_exec_ext in '' $ac_executable_extensions; do
5297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5298 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 break 2
5302 done
5303 done
5304 IFS=$as_save_IFS
5308 CPPBIN=$ac_cv_prog_CPPBIN
5309 if test -n "$CPPBIN"; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5311 $as_echo "$CPPBIN" >&6; }
5312 else
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5319 if test -z "$ac_cv_prog_CPPBIN"; then
5320 ac_ct_CPPBIN=$CPPBIN
5321 # Extract the first word of "cpp", so it can be a program name with args.
5322 set dummy cpp; ac_word=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5326 $as_echo_n "(cached) " >&6
5327 else
5328 if test -n "$ac_ct_CPPBIN"; then
5329 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5330 else
5331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332 for as_dir in $PATH
5334 IFS=$as_save_IFS
5335 test -z "$as_dir" && as_dir=.
5336 for ac_exec_ext in '' $ac_executable_extensions; do
5337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_prog_ac_ct_CPPBIN="cpp"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 break 2
5342 done
5343 done
5344 IFS=$as_save_IFS
5348 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5349 if test -n "$ac_ct_CPPBIN"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5351 $as_echo "$ac_ct_CPPBIN" >&6; }
5352 else
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5357 if test "x$ac_ct_CPPBIN" = x; then
5358 CPPBIN="cpp"
5359 else
5360 case $cross_compiling:$ac_tool_warned in
5361 yes:)
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5364 ac_tool_warned=yes ;;
5365 esac
5366 CPPBIN=$ac_ct_CPPBIN
5368 else
5369 CPPBIN="$ac_cv_prog_CPPBIN"
5373 cat >>confdefs.h <<_ACEOF
5374 #define EXEEXT "$ac_exeext"
5375 _ACEOF
5377 if test -n "$ac_tool_prefix"; then
5378 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5379 set dummy ${ac_tool_prefix}ld; ac_word=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if ${ac_cv_prog_LD+:} false; then :
5383 $as_echo_n "(cached) " >&6
5384 else
5385 if test -n "$LD"; then
5386 ac_cv_prog_LD="$LD" # Let the user override the test.
5387 else
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5395 ac_cv_prog_LD="${ac_tool_prefix}ld"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 break 2
5399 done
5400 done
5401 IFS=$as_save_IFS
5405 LD=$ac_cv_prog_LD
5406 if test -n "$LD"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5408 $as_echo "$LD" >&6; }
5409 else
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }
5416 if test -z "$ac_cv_prog_LD"; then
5417 ac_ct_LD=$LD
5418 # Extract the first word of "ld", so it can be a program name with args.
5419 set dummy ld; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5423 $as_echo_n "(cached) " >&6
5424 else
5425 if test -n "$ac_ct_LD"; then
5426 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5427 else
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in $PATH
5431 IFS=$as_save_IFS
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_ac_ct_LD="ld"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 break 2
5439 done
5440 done
5441 IFS=$as_save_IFS
5445 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5446 if test -n "$ac_ct_LD"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5448 $as_echo "$ac_ct_LD" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5454 if test "x$ac_ct_LD" = x; then
5455 LD=""
5456 else
5457 case $cross_compiling:$ac_tool_warned in
5458 yes:)
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5461 ac_tool_warned=yes ;;
5462 esac
5463 LD=$ac_ct_LD
5465 else
5466 LD="$ac_cv_prog_LD"
5470 case $host in
5471 *-darwin*)
5472 with_fontconfig=${with_fontconfig:-no}
5474 *-mingw32*|*-cygwin*)
5475 enable_win16=${enable_win16:-no}
5476 CFLAGS="$CFLAGS -D_WIN32"
5478 esac
5480 case $host in
5481 x86_64*|amd64*)
5482 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5483 then
5484 CC="$CC -m32"
5485 CXX="$CXX -m32"
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5487 $as_echo_n "checking whether $CC works... " >&6; }
5489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5490 /* end confdefs.h. */
5493 main ()
5497 return 0;
5499 _ACEOF
5500 if ac_fn_c_try_link "$LINENO"; then :
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5502 $as_echo "yes" >&6; }
5503 else
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }
5506 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5508 rm -f core conftest.err conftest.$ac_objext \
5509 conftest$ac_exeext conftest.$ac_ext
5510 host_cpu="i386"
5511 notice_platform="32-bit "
5512 TARGETFLAGS="-m32"
5514 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5515 export PKG_CONFIG_PATH
5516 enable_win16=${enable_win16:-yes}
5517 else
5518 if test "x${GCC}" = "xyes"
5519 then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5521 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5523 /* end confdefs.h. */
5524 #include <stdarg.h>
5526 main ()
5528 void func(__builtin_ms_va_list *args);
5530 return 0;
5532 _ACEOF
5533 if ac_fn_c_try_compile "$LINENO"; then :
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5535 $as_echo "yes" >&6; }
5536 else
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538 $as_echo "no" >&6; }
5539 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5543 CC="$CC -m64"
5544 CXX="$CXX -m64"
5545 host_cpu="x86_64"
5546 notice_platform="64-bit "
5547 TARGETFLAGS="-m64"
5551 arm*)
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5553 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5556 int ac_test(int i) { return i; }
5558 main ()
5560 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5562 return 0;
5564 _ACEOF
5565 if ac_fn_c_try_link "$LINENO"; then :
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5567 $as_echo "yes" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5571 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5573 rm -f core conftest.err conftest.$ac_objext \
5574 conftest$ac_exeext conftest.$ac_ext
5575 case $with_float_abi in
5576 soft|softfp|hard)
5577 float_abi=$with_float_abi ;;
5579 case $host_os in
5580 *eabihf)
5581 float_abi=hard ;;
5583 float_abi=softfp
5584 saved_CFLAGS=$CFLAGS
5585 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5587 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5592 main ()
5594 asm("vmrs r2,fpscr");
5596 return 0;
5598 _ACEOF
5599 if ac_fn_c_try_link "$LINENO"; then :
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5601 $as_echo "yes" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5605 float_abi=soft
5606 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5608 rm -f core conftest.err conftest.$ac_objext \
5609 conftest$ac_exeext conftest.$ac_ext
5610 CFLAGS=$saved_CFLAGS
5611 esac
5613 esac
5614 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5615 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5618 aarch64*)
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5620 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5623 #include <stdarg.h>
5625 main ()
5627 void func(__builtin_ms_va_list *args);
5629 return 0;
5631 _ACEOF
5632 if ac_fn_c_try_compile "$LINENO"; then :
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5634 $as_echo "yes" >&6; }
5635 else
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5638 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5642 i[3456789]86*)
5643 enable_win16=${enable_win16:-yes}
5645 esac
5647 enable_win16=${enable_win16:-no}
5648 enable_win64=${enable_win64:-no}
5650 enable_winetest=${enable_winetest:-$enable_tests}
5652 if test "x$enable_win64" = "xyes"
5653 then
5654 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5655 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5656 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5660 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5661 if ${wine_cv_toolsdir+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 wine_cv_toolsdir="$with_wine_tools"
5665 if test -z "$with_wine_tools"; then
5666 if test "$cross_compiling" = "yes"; then
5667 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5668 elif test -n "$with_wine64"; then
5669 wine_cv_toolsdir="$with_wine64"
5672 if test -z "$wine_cv_toolsdir"; then
5673 wine_makedep=tools/makedep
5674 wine_cv_toolsdir="\$(top_builddir)"
5675 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5676 wine_makedep=$wine_cv_toolsdir/tools/makedep
5677 case "$wine_cv_toolsdir" in
5678 /*) ;;
5679 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5680 esac
5681 enable_tools=${enable_tools:-no}
5682 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5683 else
5684 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5688 $as_echo "$wine_cv_toolsdir" >&6; }
5689 TOOLSDIR=$wine_cv_toolsdir
5691 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5692 then
5693 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5697 for ac_prog in flex
5699 # Extract the first word of "$ac_prog", so it can be a program name with args.
5700 set dummy $ac_prog; ac_word=$2
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 $as_echo_n "checking for $ac_word... " >&6; }
5703 if ${ac_cv_prog_FLEX+:} false; then :
5704 $as_echo_n "(cached) " >&6
5705 else
5706 if test -n "$FLEX"; then
5707 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5708 else
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH
5712 IFS=$as_save_IFS
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5716 ac_cv_prog_FLEX="$ac_prog"
5717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 break 2
5720 done
5721 done
5722 IFS=$as_save_IFS
5726 FLEX=$ac_cv_prog_FLEX
5727 if test -n "$FLEX"; then
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5729 $as_echo "$FLEX" >&6; }
5730 else
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5732 $as_echo "no" >&6; }
5736 test -n "$FLEX" && break
5737 done
5738 test -n "$FLEX" || FLEX="none"
5740 if test "$FLEX" = "none"
5741 then
5742 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5745 $as_echo_n "checking whether flex is recent enough... " >&6; }
5746 cat >conftest.l <<EOF
5747 %top{
5748 #include "prediluvian.h"
5752 if $FLEX -t conftest.l >/dev/null 2>&5
5753 then
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5755 $as_echo "yes" >&6; }
5756 else
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5759 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5762 for ac_prog in bison
5764 # Extract the first word of "$ac_prog", so it can be a program name with args.
5765 set dummy $ac_prog; ac_word=$2
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 $as_echo_n "checking for $ac_word... " >&6; }
5768 if ${ac_cv_prog_BISON+:} false; then :
5769 $as_echo_n "(cached) " >&6
5770 else
5771 if test -n "$BISON"; then
5772 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5773 else
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 for as_dir in $PATH
5777 IFS=$as_save_IFS
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5781 ac_cv_prog_BISON="$ac_prog"
5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 break 2
5785 done
5786 done
5787 IFS=$as_save_IFS
5791 BISON=$ac_cv_prog_BISON
5792 if test -n "$BISON"; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5794 $as_echo "$BISON" >&6; }
5795 else
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5801 test -n "$BISON" && break
5802 done
5803 test -n "$BISON" || BISON="none"
5805 if test "$BISON" = "none"
5806 then
5807 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5810 if test -n "$ac_tool_prefix"; then
5811 for ac_prog in ar gar
5813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5814 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if ${ac_cv_prog_AR+:} false; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 if test -n "$AR"; then
5821 ac_cv_prog_AR="$AR" # Let the user override the test.
5822 else
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 for as_dir in $PATH
5826 IFS=$as_save_IFS
5827 test -z "$as_dir" && as_dir=.
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5830 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 break 2
5834 done
5835 done
5836 IFS=$as_save_IFS
5840 AR=$ac_cv_prog_AR
5841 if test -n "$AR"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5843 $as_echo "$AR" >&6; }
5844 else
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5850 test -n "$AR" && break
5851 done
5853 if test -z "$AR"; then
5854 ac_ct_AR=$AR
5855 for ac_prog in ar gar
5857 # Extract the first word of "$ac_prog", so it can be a program name with args.
5858 set dummy $ac_prog; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 $as_echo_n "checking for $ac_word... " >&6; }
5861 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5862 $as_echo_n "(cached) " >&6
5863 else
5864 if test -n "$ac_ct_AR"; then
5865 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5866 else
5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 for as_dir in $PATH
5870 IFS=$as_save_IFS
5871 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5874 ac_cv_prog_ac_ct_AR="$ac_prog"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 break 2
5878 done
5879 done
5880 IFS=$as_save_IFS
5884 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5885 if test -n "$ac_ct_AR"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5887 $as_echo "$ac_ct_AR" >&6; }
5888 else
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5894 test -n "$ac_ct_AR" && break
5895 done
5897 if test "x$ac_ct_AR" = x; then
5898 AR="ar"
5899 else
5900 case $cross_compiling:$ac_tool_warned in
5901 yes:)
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5904 ac_tool_warned=yes ;;
5905 esac
5906 AR=$ac_ct_AR
5910 if test -n "$ac_tool_prefix"; then
5911 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5912 set dummy ${ac_tool_prefix}strip; ac_word=$2
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5914 $as_echo_n "checking for $ac_word... " >&6; }
5915 if ${ac_cv_prog_STRIP+:} false; then :
5916 $as_echo_n "(cached) " >&6
5917 else
5918 if test -n "$STRIP"; then
5919 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5920 else
5921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 for as_dir in $PATH
5924 IFS=$as_save_IFS
5925 test -z "$as_dir" && as_dir=.
5926 for ac_exec_ext in '' $ac_executable_extensions; do
5927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5928 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5930 break 2
5932 done
5933 done
5934 IFS=$as_save_IFS
5938 STRIP=$ac_cv_prog_STRIP
5939 if test -n "$STRIP"; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5941 $as_echo "$STRIP" >&6; }
5942 else
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5944 $as_echo "no" >&6; }
5949 if test -z "$ac_cv_prog_STRIP"; then
5950 ac_ct_STRIP=$STRIP
5951 # Extract the first word of "strip", so it can be a program name with args.
5952 set dummy strip; ac_word=$2
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5954 $as_echo_n "checking for $ac_word... " >&6; }
5955 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5956 $as_echo_n "(cached) " >&6
5957 else
5958 if test -n "$ac_ct_STRIP"; then
5959 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5960 else
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH
5964 IFS=$as_save_IFS
5965 test -z "$as_dir" && as_dir=.
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5968 ac_cv_prog_ac_ct_STRIP="strip"
5969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5970 break 2
5972 done
5973 done
5974 IFS=$as_save_IFS
5978 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5979 if test -n "$ac_ct_STRIP"; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5981 $as_echo "$ac_ct_STRIP" >&6; }
5982 else
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5984 $as_echo "no" >&6; }
5987 if test "x$ac_ct_STRIP" = x; then
5988 STRIP="strip"
5989 else
5990 case $cross_compiling:$ac_tool_warned in
5991 yes:)
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5994 ac_tool_warned=yes ;;
5995 esac
5996 STRIP=$ac_ct_STRIP
5998 else
5999 STRIP="$ac_cv_prog_STRIP"
6002 if test -n "$ac_tool_prefix"; then
6003 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6004 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6007 if ${ac_cv_prog_RANLIB+:} false; then :
6008 $as_echo_n "(cached) " >&6
6009 else
6010 if test -n "$RANLIB"; then
6011 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6012 else
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 for as_dir in $PATH
6016 IFS=$as_save_IFS
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6020 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 break 2
6024 done
6025 done
6026 IFS=$as_save_IFS
6030 RANLIB=$ac_cv_prog_RANLIB
6031 if test -n "$RANLIB"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6033 $as_echo "$RANLIB" >&6; }
6034 else
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6041 if test -z "$ac_cv_prog_RANLIB"; then
6042 ac_ct_RANLIB=$RANLIB
6043 # Extract the first word of "ranlib", so it can be a program name with args.
6044 set dummy ranlib; ac_word=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6050 if test -n "$ac_ct_RANLIB"; then
6051 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6052 else
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_exec_ext in '' $ac_executable_extensions; do
6059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6060 ac_cv_prog_ac_ct_RANLIB="ranlib"
6061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062 break 2
6064 done
6065 done
6066 IFS=$as_save_IFS
6070 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6071 if test -n "$ac_ct_RANLIB"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6073 $as_echo "$ac_ct_RANLIB" >&6; }
6074 else
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6079 if test "x$ac_ct_RANLIB" = x; then
6080 RANLIB=":"
6081 else
6082 case $cross_compiling:$ac_tool_warned in
6083 yes:)
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6086 ac_tool_warned=yes ;;
6087 esac
6088 RANLIB=$ac_ct_RANLIB
6090 else
6091 RANLIB="$ac_cv_prog_RANLIB"
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6095 $as_echo_n "checking whether ln -s works... " >&6; }
6096 LN_S=$as_ln_s
6097 if test "$LN_S" = "ln -s"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6099 $as_echo "yes" >&6; }
6100 else
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6102 $as_echo "no, using $LN_S" >&6; }
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6106 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6107 if ${ac_cv_path_GREP+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 if test -z "$GREP"; then
6111 ac_path_GREP_found=false
6112 # Loop through the user's path and test for each of PROGNAME-LIST
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6116 IFS=$as_save_IFS
6117 test -z "$as_dir" && as_dir=.
6118 for ac_prog in grep ggrep; do
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6121 as_fn_executable_p "$ac_path_GREP" || continue
6122 # Check for GNU ac_path_GREP and select it if it is found.
6123 # Check for GNU $ac_path_GREP
6124 case `"$ac_path_GREP" --version 2>&1` in
6125 *GNU*)
6126 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6128 ac_count=0
6129 $as_echo_n 0123456789 >"conftest.in"
6130 while :
6132 cat "conftest.in" "conftest.in" >"conftest.tmp"
6133 mv "conftest.tmp" "conftest.in"
6134 cp "conftest.in" "conftest.nl"
6135 $as_echo 'GREP' >> "conftest.nl"
6136 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6137 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6138 as_fn_arith $ac_count + 1 && ac_count=$as_val
6139 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6140 # Best one so far, save it but keep looking for a better one
6141 ac_cv_path_GREP="$ac_path_GREP"
6142 ac_path_GREP_max=$ac_count
6144 # 10*(2^10) chars as input seems more than enough
6145 test $ac_count -gt 10 && break
6146 done
6147 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6148 esac
6150 $ac_path_GREP_found && break 3
6151 done
6152 done
6153 done
6154 IFS=$as_save_IFS
6155 if test -z "$ac_cv_path_GREP"; then
6156 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6158 else
6159 ac_cv_path_GREP=$GREP
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6164 $as_echo "$ac_cv_path_GREP" >&6; }
6165 GREP="$ac_cv_path_GREP"
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6169 $as_echo_n "checking for egrep... " >&6; }
6170 if ${ac_cv_path_EGREP+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6174 then ac_cv_path_EGREP="$GREP -E"
6175 else
6176 if test -z "$EGREP"; then
6177 ac_path_EGREP_found=false
6178 # Loop through the user's path and test for each of PROGNAME-LIST
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6182 IFS=$as_save_IFS
6183 test -z "$as_dir" && as_dir=.
6184 for ac_prog in egrep; do
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6187 as_fn_executable_p "$ac_path_EGREP" || continue
6188 # Check for GNU ac_path_EGREP and select it if it is found.
6189 # Check for GNU $ac_path_EGREP
6190 case `"$ac_path_EGREP" --version 2>&1` in
6191 *GNU*)
6192 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6194 ac_count=0
6195 $as_echo_n 0123456789 >"conftest.in"
6196 while :
6198 cat "conftest.in" "conftest.in" >"conftest.tmp"
6199 mv "conftest.tmp" "conftest.in"
6200 cp "conftest.in" "conftest.nl"
6201 $as_echo 'EGREP' >> "conftest.nl"
6202 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6203 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6204 as_fn_arith $ac_count + 1 && ac_count=$as_val
6205 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6206 # Best one so far, save it but keep looking for a better one
6207 ac_cv_path_EGREP="$ac_path_EGREP"
6208 ac_path_EGREP_max=$ac_count
6210 # 10*(2^10) chars as input seems more than enough
6211 test $ac_count -gt 10 && break
6212 done
6213 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6214 esac
6216 $ac_path_EGREP_found && break 3
6217 done
6218 done
6219 done
6220 IFS=$as_save_IFS
6221 if test -z "$ac_cv_path_EGREP"; then
6222 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6224 else
6225 ac_cv_path_EGREP=$EGREP
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6231 $as_echo "$ac_cv_path_EGREP" >&6; }
6232 EGREP="$ac_cv_path_EGREP"
6235 # Extract the first word of "ldconfig", so it can be a program name with args.
6236 set dummy ldconfig; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if ${ac_cv_path_LDCONFIG+:} false; then :
6240 $as_echo_n "(cached) " >&6
6241 else
6242 case $LDCONFIG in
6243 [\\/]* | ?:[\\/]*)
6244 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 for as_dir in /sbin /usr/sbin $PATH
6250 IFS=$as_save_IFS
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6254 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 break 2
6258 done
6259 done
6260 IFS=$as_save_IFS
6262 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6264 esac
6266 LDCONFIG=$ac_cv_path_LDCONFIG
6267 if test -n "$LDCONFIG"; then
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6269 $as_echo "$LDCONFIG" >&6; }
6270 else
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6272 $as_echo "no" >&6; }
6276 for ac_prog in msgfmt
6278 # Extract the first word of "$ac_prog", so it can be a program name with args.
6279 set dummy $ac_prog; ac_word=$2
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281 $as_echo_n "checking for $ac_word... " >&6; }
6282 if ${ac_cv_prog_MSGFMT+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 if test -n "$MSGFMT"; then
6286 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6287 else
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 for as_dir in $PATH
6291 IFS=$as_save_IFS
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295 ac_cv_prog_MSGFMT="$ac_prog"
6296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 break 2
6299 done
6300 done
6301 IFS=$as_save_IFS
6305 MSGFMT=$ac_cv_prog_MSGFMT
6306 if test -n "$MSGFMT"; then
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6308 $as_echo "$MSGFMT" >&6; }
6309 else
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311 $as_echo "no" >&6; }
6315 test -n "$MSGFMT" && break
6316 done
6317 test -n "$MSGFMT" || MSGFMT="false"
6319 if ${ac_tool_prefix+:} false; then :
6320 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6321 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6325 $as_echo_n "(cached) " >&6
6326 else
6327 if test -n "$PKG_CONFIG"; then
6328 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6329 else
6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331 for as_dir in $PATH
6333 IFS=$as_save_IFS
6334 test -z "$as_dir" && as_dir=.
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6339 break 2
6341 done
6342 done
6343 IFS=$as_save_IFS
6347 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6348 if test -n "$PKG_CONFIG"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6350 $as_echo "$PKG_CONFIG" >&6; }
6351 else
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 $as_echo "no" >&6; }
6358 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6359 if test "x$cross_compiling" = xyes; then :
6361 else
6362 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6363 # Extract the first word of "pkg-config", so it can be a program name with args.
6364 set dummy pkg-config; ac_word=$2
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6366 $as_echo_n "checking for $ac_word... " >&6; }
6367 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6368 $as_echo_n "(cached) " >&6
6369 else
6370 if test -n "$PKG_CONFIG"; then
6371 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6372 else
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374 for as_dir in $PATH
6376 IFS=$as_save_IFS
6377 test -z "$as_dir" && as_dir=.
6378 for ac_exec_ext in '' $ac_executable_extensions; do
6379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6380 ac_cv_prog_PKG_CONFIG="pkg-config"
6381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6382 break 2
6384 done
6385 done
6386 IFS=$as_save_IFS
6390 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6391 if test -n "$PKG_CONFIG"; then
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6393 $as_echo "$PKG_CONFIG" >&6; }
6394 else
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6396 $as_echo "no" >&6; }
6401 else
6402 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6405 if test "x$enable_maintainer_mode" != "xyes"
6406 then
6407 FONTFORGE=""
6408 RSVG=""
6409 CONVERT=""
6410 ICOTOOL=""
6411 else
6412 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6413 for ac_prog in fontforge
6415 # Extract the first word of "$ac_prog", so it can be a program name with args.
6416 set dummy $ac_prog; ac_word=$2
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6418 $as_echo_n "checking for $ac_word... " >&6; }
6419 if ${ac_cv_prog_FONTFORGE+:} false; then :
6420 $as_echo_n "(cached) " >&6
6421 else
6422 if test -n "$FONTFORGE"; then
6423 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6424 else
6425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 for as_dir in $PATH
6428 IFS=$as_save_IFS
6429 test -z "$as_dir" && as_dir=.
6430 for ac_exec_ext in '' $ac_executable_extensions; do
6431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6432 ac_cv_prog_FONTFORGE="$ac_prog"
6433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6434 break 2
6436 done
6437 done
6438 IFS=$as_save_IFS
6442 FONTFORGE=$ac_cv_prog_FONTFORGE
6443 if test -n "$FONTFORGE"; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6445 $as_echo "$FONTFORGE" >&6; }
6446 else
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6448 $as_echo "no" >&6; }
6452 test -n "$FONTFORGE" && break
6453 done
6454 test -n "$FONTFORGE" || FONTFORGE="false"
6456 for ac_prog in rsvg-convert rsvg
6458 # Extract the first word of "$ac_prog", so it can be a program name with args.
6459 set dummy $ac_prog; ac_word=$2
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461 $as_echo_n "checking for $ac_word... " >&6; }
6462 if ${ac_cv_prog_RSVG+:} false; then :
6463 $as_echo_n "(cached) " >&6
6464 else
6465 if test -n "$RSVG"; then
6466 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6467 else
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 for as_dir in $PATH
6471 IFS=$as_save_IFS
6472 test -z "$as_dir" && as_dir=.
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6475 ac_cv_prog_RSVG="$ac_prog"
6476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6477 break 2
6479 done
6480 done
6481 IFS=$as_save_IFS
6485 RSVG=$ac_cv_prog_RSVG
6486 if test -n "$RSVG"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6488 $as_echo "$RSVG" >&6; }
6489 else
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491 $as_echo "no" >&6; }
6495 test -n "$RSVG" && break
6496 done
6497 test -n "$RSVG" || RSVG="false"
6499 for ac_prog in convert
6501 # Extract the first word of "$ac_prog", so it can be a program name with args.
6502 set dummy $ac_prog; ac_word=$2
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 $as_echo_n "checking for $ac_word... " >&6; }
6505 if ${ac_cv_prog_CONVERT+:} false; then :
6506 $as_echo_n "(cached) " >&6
6507 else
6508 if test -n "$CONVERT"; then
6509 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6510 else
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 for as_dir in $PATH
6514 IFS=$as_save_IFS
6515 test -z "$as_dir" && as_dir=.
6516 for ac_exec_ext in '' $ac_executable_extensions; do
6517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6518 ac_cv_prog_CONVERT="$ac_prog"
6519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6520 break 2
6522 done
6523 done
6524 IFS=$as_save_IFS
6528 CONVERT=$ac_cv_prog_CONVERT
6529 if test -n "$CONVERT"; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6531 $as_echo "$CONVERT" >&6; }
6532 else
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6534 $as_echo "no" >&6; }
6538 test -n "$CONVERT" && break
6539 done
6540 test -n "$CONVERT" || CONVERT="false"
6542 for ac_prog in icotool
6544 # Extract the first word of "$ac_prog", so it can be a program name with args.
6545 set dummy $ac_prog; ac_word=$2
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6547 $as_echo_n "checking for $ac_word... " >&6; }
6548 if ${ac_cv_prog_ICOTOOL+:} false; then :
6549 $as_echo_n "(cached) " >&6
6550 else
6551 if test -n "$ICOTOOL"; then
6552 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6553 else
6554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6555 for as_dir in $PATH
6557 IFS=$as_save_IFS
6558 test -z "$as_dir" && as_dir=.
6559 for ac_exec_ext in '' $ac_executable_extensions; do
6560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6561 ac_cv_prog_ICOTOOL="$ac_prog"
6562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6563 break 2
6565 done
6566 done
6567 IFS=$as_save_IFS
6571 ICOTOOL=$ac_cv_prog_ICOTOOL
6572 if test -n "$ICOTOOL"; then
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6574 $as_echo "$ICOTOOL" >&6; }
6575 else
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577 $as_echo "no" >&6; }
6581 test -n "$ICOTOOL" && break
6582 done
6583 test -n "$ICOTOOL" || ICOTOOL="false"
6585 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6586 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6588 if test "$CONVERT" = false
6589 then
6590 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6591 else
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6593 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6594 convert_version=`convert --version | head -n1`
6595 if test "x$convert_version" != "x"
6596 then
6597 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6598 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6599 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6600 then
6601 CONVERT=false
6604 if test "$CONVERT" = false
6605 then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6607 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6608 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6609 else
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6611 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6615 if test "$ICOTOOL" = false
6616 then
6617 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6618 else
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6620 $as_echo_n "checking for recent enough icotool... " >&6; }
6621 icotool_version=`icotool --version | head -n1`
6622 if test "x$icotool_version" != "x"
6623 then
6624 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6625 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6626 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6627 then
6628 ICOTOOL=false
6629 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6632 if test "$ICOTOOL" = false
6633 then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6635 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6636 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6637 else
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6639 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6643 with_gettext=yes
6644 with_gettextpo=yes
6645 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6648 test "x$with_gettext" != xno || MSGFMT=false
6649 if test "$MSGFMT" != "false"
6650 then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6652 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6653 cat >conftest.po <<EOF
6654 # comment
6655 msgctxt "ctxt"
6656 msgid "id"
6657 msgstr "str"
6659 if $MSGFMT -o /dev/null conftest.po 2>&5
6660 then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6662 $as_echo "yes" >&6; }
6663 else
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6665 $as_echo "no" >&6; }
6666 MSGFMT=false
6669 if test "$MSGFMT" = false; then :
6670 case "x$with_gettext" in
6671 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6672 xno) ;;
6673 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6674 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6675 esac
6676 enable_po=${enable_po:-no}
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6681 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6682 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6683 $as_echo_n "(cached) " >&6
6684 else
6685 ac_check_lib_save_LIBS=$LIBS
6686 LIBS="-li386 $LIBS"
6687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6688 /* end confdefs.h. */
6690 /* Override any GCC internal prototype to avoid an error.
6691 Use char because int might match the return type of a GCC
6692 builtin and then its argument prototype would still apply. */
6693 #ifdef __cplusplus
6694 extern "C"
6695 #endif
6696 char i386_set_ldt ();
6698 main ()
6700 return i386_set_ldt ();
6702 return 0;
6704 _ACEOF
6705 if ac_fn_c_try_link "$LINENO"; then :
6706 ac_cv_lib_i386_i386_set_ldt=yes
6707 else
6708 ac_cv_lib_i386_i386_set_ldt=no
6710 rm -f core conftest.err conftest.$ac_objext \
6711 conftest$ac_exeext conftest.$ac_ext
6712 LIBS=$ac_check_lib_save_LIBS
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6715 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6716 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6717 cat >>confdefs.h <<_ACEOF
6718 #define HAVE_LIBI386 1
6719 _ACEOF
6721 LIBS="-li386 $LIBS"
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6726 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6727 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6728 $as_echo_n "(cached) " >&6
6729 else
6730 ac_check_lib_save_LIBS=$LIBS
6731 LIBS="-lossaudio $LIBS"
6732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6733 /* end confdefs.h. */
6735 /* Override any GCC internal prototype to avoid an error.
6736 Use char because int might match the return type of a GCC
6737 builtin and then its argument prototype would still apply. */
6738 #ifdef __cplusplus
6739 extern "C"
6740 #endif
6741 char _oss_ioctl ();
6743 main ()
6745 return _oss_ioctl ();
6747 return 0;
6749 _ACEOF
6750 if ac_fn_c_try_link "$LINENO"; then :
6751 ac_cv_lib_ossaudio__oss_ioctl=yes
6752 else
6753 ac_cv_lib_ossaudio__oss_ioctl=no
6755 rm -f core conftest.err conftest.$ac_objext \
6756 conftest$ac_exeext conftest.$ac_ext
6757 LIBS=$ac_check_lib_save_LIBS
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6760 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6761 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6762 cat >>confdefs.h <<_ACEOF
6763 #define HAVE_LIBOSSAUDIO 1
6764 _ACEOF
6766 LIBS="-lossaudio $LIBS"
6771 OPENGL_LIBS=""
6775 # Check whether --enable-largefile was given.
6776 if test "${enable_largefile+set}" = set; then :
6777 enableval=$enable_largefile;
6780 if test "$enable_largefile" != no; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6783 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6784 if ${ac_cv_sys_largefile_CC+:} false; then :
6785 $as_echo_n "(cached) " >&6
6786 else
6787 ac_cv_sys_largefile_CC=no
6788 if test "$GCC" != yes; then
6789 ac_save_CC=$CC
6790 while :; do
6791 # IRIX 6.2 and later do not support large files by default,
6792 # so use the C compiler's -n32 option if that helps.
6793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6794 /* end confdefs.h. */
6795 #include <sys/types.h>
6796 /* Check that off_t can represent 2**63 - 1 correctly.
6797 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6798 since some C++ compilers masquerading as C compilers
6799 incorrectly reject 9223372036854775807. */
6800 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6801 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6802 && LARGE_OFF_T % 2147483647 == 1)
6803 ? 1 : -1];
6805 main ()
6809 return 0;
6811 _ACEOF
6812 if ac_fn_c_try_compile "$LINENO"; then :
6813 break
6815 rm -f core conftest.err conftest.$ac_objext
6816 CC="$CC -n32"
6817 if ac_fn_c_try_compile "$LINENO"; then :
6818 ac_cv_sys_largefile_CC=' -n32'; break
6820 rm -f core conftest.err conftest.$ac_objext
6821 break
6822 done
6823 CC=$ac_save_CC
6824 rm -f conftest.$ac_ext
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6828 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6829 if test "$ac_cv_sys_largefile_CC" != no; then
6830 CC=$CC$ac_cv_sys_largefile_CC
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6834 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6835 if ${ac_cv_sys_file_offset_bits+:} false; then :
6836 $as_echo_n "(cached) " >&6
6837 else
6838 while :; do
6839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6840 /* end confdefs.h. */
6841 #include <sys/types.h>
6842 /* Check that off_t can represent 2**63 - 1 correctly.
6843 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6844 since some C++ compilers masquerading as C compilers
6845 incorrectly reject 9223372036854775807. */
6846 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6847 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6848 && LARGE_OFF_T % 2147483647 == 1)
6849 ? 1 : -1];
6851 main ()
6855 return 0;
6857 _ACEOF
6858 if ac_fn_c_try_compile "$LINENO"; then :
6859 ac_cv_sys_file_offset_bits=no; break
6861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6863 /* end confdefs.h. */
6864 #define _FILE_OFFSET_BITS 64
6865 #include <sys/types.h>
6866 /* Check that off_t can represent 2**63 - 1 correctly.
6867 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6868 since some C++ compilers masquerading as C compilers
6869 incorrectly reject 9223372036854775807. */
6870 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6871 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6872 && LARGE_OFF_T % 2147483647 == 1)
6873 ? 1 : -1];
6875 main ()
6879 return 0;
6881 _ACEOF
6882 if ac_fn_c_try_compile "$LINENO"; then :
6883 ac_cv_sys_file_offset_bits=64; break
6885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6886 ac_cv_sys_file_offset_bits=unknown
6887 break
6888 done
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6891 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6892 case $ac_cv_sys_file_offset_bits in #(
6893 no | unknown) ;;
6895 cat >>confdefs.h <<_ACEOF
6896 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6897 _ACEOF
6899 esac
6900 rm -rf conftest*
6901 if test $ac_cv_sys_file_offset_bits = unknown; then
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6903 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6904 if ${ac_cv_sys_large_files+:} false; then :
6905 $as_echo_n "(cached) " >&6
6906 else
6907 while :; do
6908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6909 /* end confdefs.h. */
6910 #include <sys/types.h>
6911 /* Check that off_t can represent 2**63 - 1 correctly.
6912 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6913 since some C++ compilers masquerading as C compilers
6914 incorrectly reject 9223372036854775807. */
6915 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6916 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6917 && LARGE_OFF_T % 2147483647 == 1)
6918 ? 1 : -1];
6920 main ()
6924 return 0;
6926 _ACEOF
6927 if ac_fn_c_try_compile "$LINENO"; then :
6928 ac_cv_sys_large_files=no; break
6930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6933 #define _LARGE_FILES 1
6934 #include <sys/types.h>
6935 /* Check that off_t can represent 2**63 - 1 correctly.
6936 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6937 since some C++ compilers masquerading as C compilers
6938 incorrectly reject 9223372036854775807. */
6939 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6940 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6941 && LARGE_OFF_T % 2147483647 == 1)
6942 ? 1 : -1];
6944 main ()
6948 return 0;
6950 _ACEOF
6951 if ac_fn_c_try_compile "$LINENO"; then :
6952 ac_cv_sys_large_files=1; break
6954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6955 ac_cv_sys_large_files=unknown
6956 break
6957 done
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6960 $as_echo "$ac_cv_sys_large_files" >&6; }
6961 case $ac_cv_sys_large_files in #(
6962 no | unknown) ;;
6964 cat >>confdefs.h <<_ACEOF
6965 #define _LARGE_FILES $ac_cv_sys_large_files
6966 _ACEOF
6968 esac
6969 rm -rf conftest*
6976 ac_ext=c
6977 ac_cpp='$CPP $CPPFLAGS'
6978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6982 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6983 # On Suns, sometimes $CPP names a directory.
6984 if test -n "$CPP" && test -d "$CPP"; then
6985 CPP=
6987 if test -z "$CPP"; then
6988 if ${ac_cv_prog_CPP+:} false; then :
6989 $as_echo_n "(cached) " >&6
6990 else
6991 # Double quotes because CPP needs to be expanded
6992 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6994 ac_preproc_ok=false
6995 for ac_c_preproc_warn_flag in '' yes
6997 # Use a header file that comes with gcc, so configuring glibc
6998 # with a fresh cross-compiler works.
6999 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7000 # <limits.h> exists even on freestanding compilers.
7001 # On the NeXT, cc -E runs the code through the compiler's parser,
7002 # not just through cpp. "Syntax error" is here to catch this case.
7003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7004 /* end confdefs.h. */
7005 #ifdef __STDC__
7006 # include <limits.h>
7007 #else
7008 # include <assert.h>
7009 #endif
7010 Syntax error
7011 _ACEOF
7012 if ac_fn_c_try_cpp "$LINENO"; then :
7014 else
7015 # Broken: fails on valid input.
7016 continue
7018 rm -f conftest.err conftest.i conftest.$ac_ext
7020 # OK, works on sane cases. Now check whether nonexistent headers
7021 # can be detected and how.
7022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h. */
7024 #include <ac_nonexistent.h>
7025 _ACEOF
7026 if ac_fn_c_try_cpp "$LINENO"; then :
7027 # Broken: success on invalid input.
7028 continue
7029 else
7030 # Passes both tests.
7031 ac_preproc_ok=:
7032 break
7034 rm -f conftest.err conftest.i conftest.$ac_ext
7036 done
7037 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7038 rm -f conftest.i conftest.err conftest.$ac_ext
7039 if $ac_preproc_ok; then :
7040 break
7043 done
7044 ac_cv_prog_CPP=$CPP
7047 CPP=$ac_cv_prog_CPP
7048 else
7049 ac_cv_prog_CPP=$CPP
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7052 $as_echo "$CPP" >&6; }
7053 ac_preproc_ok=false
7054 for ac_c_preproc_warn_flag in '' yes
7056 # Use a header file that comes with gcc, so configuring glibc
7057 # with a fresh cross-compiler works.
7058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7059 # <limits.h> exists even on freestanding compilers.
7060 # On the NeXT, cc -E runs the code through the compiler's parser,
7061 # not just through cpp. "Syntax error" is here to catch this case.
7062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7063 /* end confdefs.h. */
7064 #ifdef __STDC__
7065 # include <limits.h>
7066 #else
7067 # include <assert.h>
7068 #endif
7069 Syntax error
7070 _ACEOF
7071 if ac_fn_c_try_cpp "$LINENO"; then :
7073 else
7074 # Broken: fails on valid input.
7075 continue
7077 rm -f conftest.err conftest.i conftest.$ac_ext
7079 # OK, works on sane cases. Now check whether nonexistent headers
7080 # can be detected and how.
7081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7082 /* end confdefs.h. */
7083 #include <ac_nonexistent.h>
7084 _ACEOF
7085 if ac_fn_c_try_cpp "$LINENO"; then :
7086 # Broken: success on invalid input.
7087 continue
7088 else
7089 # Passes both tests.
7090 ac_preproc_ok=:
7091 break
7093 rm -f conftest.err conftest.i conftest.$ac_ext
7095 done
7096 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7097 rm -f conftest.i conftest.err conftest.$ac_ext
7098 if $ac_preproc_ok; then :
7100 else
7101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7103 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7104 See \`config.log' for more details" "$LINENO" 5; }
7107 ac_ext=c
7108 ac_cpp='$CPP $CPPFLAGS'
7109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7115 $as_echo_n "checking for ANSI C header files... " >&6; }
7116 if ${ac_cv_header_stdc+:} false; then :
7117 $as_echo_n "(cached) " >&6
7118 else
7119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7120 /* end confdefs.h. */
7121 #include <stdlib.h>
7122 #include <stdarg.h>
7123 #include <string.h>
7124 #include <float.h>
7127 main ()
7131 return 0;
7133 _ACEOF
7134 if ac_fn_c_try_compile "$LINENO"; then :
7135 ac_cv_header_stdc=yes
7136 else
7137 ac_cv_header_stdc=no
7139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7141 if test $ac_cv_header_stdc = yes; then
7142 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7144 /* end confdefs.h. */
7145 #include <string.h>
7147 _ACEOF
7148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7149 $EGREP "memchr" >/dev/null 2>&1; then :
7151 else
7152 ac_cv_header_stdc=no
7154 rm -f conftest*
7158 if test $ac_cv_header_stdc = yes; then
7159 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7161 /* end confdefs.h. */
7162 #include <stdlib.h>
7164 _ACEOF
7165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7166 $EGREP "free" >/dev/null 2>&1; then :
7168 else
7169 ac_cv_header_stdc=no
7171 rm -f conftest*
7175 if test $ac_cv_header_stdc = yes; then
7176 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7177 if test "$cross_compiling" = yes; then :
7179 else
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7182 #include <ctype.h>
7183 #include <stdlib.h>
7184 #if ((' ' & 0x0FF) == 0x020)
7185 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7186 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7187 #else
7188 # define ISLOWER(c) \
7189 (('a' <= (c) && (c) <= 'i') \
7190 || ('j' <= (c) && (c) <= 'r') \
7191 || ('s' <= (c) && (c) <= 'z'))
7192 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7193 #endif
7195 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7197 main ()
7199 int i;
7200 for (i = 0; i < 256; i++)
7201 if (XOR (islower (i), ISLOWER (i))
7202 || toupper (i) != TOUPPER (i))
7203 return 2;
7204 return 0;
7206 _ACEOF
7207 if ac_fn_c_try_run "$LINENO"; then :
7209 else
7210 ac_cv_header_stdc=no
7212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7213 conftest.$ac_objext conftest.beam conftest.$ac_ext
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7219 $as_echo "$ac_cv_header_stdc" >&6; }
7220 if test $ac_cv_header_stdc = yes; then
7222 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7226 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7227 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7228 inttypes.h stdint.h unistd.h
7229 do :
7230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7231 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7233 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7234 cat >>confdefs.h <<_ACEOF
7235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7236 _ACEOF
7240 done
7243 for ac_header in \
7244 AL/al.h \
7245 ApplicationServices/ApplicationServices.h \
7246 AudioToolbox/AudioConverter.h \
7247 AudioUnit/AudioUnit.h \
7248 AudioUnit/AudioComponent.h \
7249 CL/cl.h \
7250 Carbon/Carbon.h \
7251 CommonCrypto/CommonCryptor.h \
7252 CoreAudio/CoreAudio.h \
7253 CoreServices/CoreServices.h \
7254 DiskArbitration/DiskArbitration.h \
7255 EGL/egl.h \
7256 IOKit/IOKitLib.h \
7257 IOKit/hid/IOHIDLib.h \
7258 OpenAL/al.h \
7259 OpenCL/opencl.h \
7260 QuickTime/ImageCompression.h \
7261 Security/Security.h \
7262 alias.h \
7263 alsa/asoundlib.h \
7264 arpa/inet.h \
7265 arpa/nameser.h \
7266 asm/types.h \
7267 asm/user.h \
7268 curses.h \
7269 direct.h \
7270 dirent.h \
7271 dlfcn.h \
7272 elf.h \
7273 float.h \
7274 fnmatch.h \
7275 getopt.h \
7276 gettext-po.h \
7277 grp.h \
7278 gsm.h \
7279 gsm/gsm.h \
7280 ieeefp.h \
7281 inet/mib2.h \
7282 io.h \
7283 kstat.h \
7284 libproc.h \
7285 link.h \
7286 linux/cdrom.h \
7287 linux/compiler.h \
7288 linux/filter.h \
7289 linux/hdreg.h \
7290 linux/hidraw.h \
7291 linux/input.h \
7292 linux/ioctl.h \
7293 linux/joystick.h \
7294 linux/major.h \
7295 linux/param.h \
7296 linux/serial.h \
7297 linux/types.h \
7298 linux/ucdrom.h \
7299 lwp.h \
7300 mach-o/nlist.h \
7301 mach-o/loader.h \
7302 mach/mach.h \
7303 mach/machine.h \
7304 machine/cpu.h \
7305 machine/limits.h \
7306 machine/sysarch.h \
7307 mntent.h \
7308 ncurses.h \
7309 netdb.h \
7310 netinet/in.h \
7311 netinet/in_systm.h \
7312 netinet/tcp.h \
7313 netinet/tcp_fsm.h \
7314 pcap/pcap.h \
7315 poll.h \
7316 port.h \
7317 process.h \
7318 pthread.h \
7319 pwd.h \
7320 sched.h \
7321 scsi/scsi.h \
7322 scsi/scsi_ioctl.h \
7323 scsi/sg.h \
7324 stdbool.h \
7325 stdint.h \
7326 stropts.h \
7327 sys/asoundlib.h \
7328 sys/attr.h \
7329 sys/auxv.h \
7330 sys/cdio.h \
7331 sys/elf32.h \
7332 sys/epoll.h \
7333 sys/event.h \
7334 sys/exec_elf.h \
7335 sys/filio.h \
7336 sys/inotify.h \
7337 sys/ioctl.h \
7338 sys/ipc.h \
7339 sys/limits.h \
7340 sys/link.h \
7341 sys/mman.h \
7342 sys/modem.h \
7343 sys/msg.h \
7344 sys/mtio.h \
7345 sys/param.h \
7346 sys/poll.h \
7347 sys/prctl.h \
7348 sys/protosw.h \
7349 sys/ptrace.h \
7350 sys/queue.h \
7351 sys/resource.h \
7352 sys/scsiio.h \
7353 sys/shm.h \
7354 sys/signal.h \
7355 sys/socket.h \
7356 sys/socketvar.h \
7357 sys/sockio.h \
7358 sys/statvfs.h \
7359 sys/strtio.h \
7360 sys/syscall.h \
7361 sys/sysinfo.h \
7362 sys/tihdr.h \
7363 sys/time.h \
7364 sys/timeout.h \
7365 sys/times.h \
7366 sys/uio.h \
7367 sys/user.h \
7368 sys/utsname.h \
7369 sys/vnode.h \
7370 sys/wait.h \
7371 syscall.h \
7372 termios.h \
7373 unistd.h \
7374 utime.h \
7375 valgrind/memcheck.h \
7376 valgrind/valgrind.h \
7377 zlib.h
7379 do :
7380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7381 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7383 cat >>confdefs.h <<_ACEOF
7384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7385 _ACEOF
7389 done
7391 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7392 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7394 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7399 if test $ac_cv_header_sys_mkdev_h = no; then
7400 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7401 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7403 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7410 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7411 if ${ac_cv_header_stat_broken+:} false; then :
7412 $as_echo_n "(cached) " >&6
7413 else
7414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7415 /* end confdefs.h. */
7416 #include <sys/types.h>
7417 #include <sys/stat.h>
7419 #if defined S_ISBLK && defined S_IFDIR
7420 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7421 #endif
7423 #if defined S_ISBLK && defined S_IFCHR
7424 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7425 #endif
7427 #if defined S_ISLNK && defined S_IFREG
7428 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7429 #endif
7431 #if defined S_ISSOCK && defined S_IFREG
7432 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7433 #endif
7435 _ACEOF
7436 if ac_fn_c_try_compile "$LINENO"; then :
7437 ac_cv_header_stat_broken=no
7438 else
7439 ac_cv_header_stat_broken=yes
7441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7444 $as_echo "$ac_cv_header_stat_broken" >&6; }
7445 if test $ac_cv_header_stat_broken = yes; then
7447 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7453 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7454 do :
7455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7456 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7457 #ifdef HAVE_SYS_PARAM_H
7458 # include <sys/param.h>
7459 #endif
7461 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7462 cat >>confdefs.h <<_ACEOF
7463 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7464 _ACEOF
7468 done
7471 for ac_header in \
7472 netinet/ip.h \
7473 net/if.h \
7474 net/if_arp.h \
7475 net/if_dl.h \
7476 net/if_types.h \
7477 net/route.h \
7478 netinet/if_ether.h \
7479 netinet/if_inarp.h \
7480 netinet/in_pcb.h \
7481 netinet/ip_icmp.h \
7482 netinet/ip_var.h \
7483 netinet/udp.h \
7484 netipx/ipx.h \
7485 sys/un.h \
7487 do :
7488 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7489 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7490 #ifdef HAVE_SYS_SOCKET_H
7491 # include <sys/socket.h>
7492 #endif
7493 #ifdef HAVE_SYS_SOCKETVAR_H
7494 # include <sys/socketvar.h>
7495 #endif
7496 #ifdef HAVE_NET_ROUTE_H
7497 # include <net/route.h>
7498 #endif
7499 #ifdef HAVE_NETINET_IN_H
7500 # include <netinet/in.h>
7501 #endif
7502 #ifdef HAVE_NETINET_IN_SYSTM_H
7503 # include <netinet/in_systm.h>
7504 #endif
7505 #ifdef HAVE_NET_IF_H
7506 # include <net/if.h>
7507 #endif
7508 #ifdef HAVE_NETINET_IP_H
7509 # include <netinet/ip.h>
7510 #endif
7512 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7513 cat >>confdefs.h <<_ACEOF
7514 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7515 _ACEOF
7519 done
7522 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7523 do :
7524 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7525 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7526 #ifdef HAVE_ALIAS_H
7527 # include <alias.h>
7528 #endif
7529 #ifdef HAVE_SYS_SOCKET_H
7530 # include <sys/socket.h>
7531 #endif
7532 #ifdef HAVE_SYS_SOCKETVAR_H
7533 # include <sys/socketvar.h>
7534 #endif
7535 #ifdef HAVE_SYS_TIMEOUT_H
7536 # include <sys/timeout.h>
7537 #endif
7538 #ifdef HAVE_NETINET_IN_H
7539 # include <netinet/in.h>
7540 #endif
7541 #ifdef HAVE_NETINET_IN_SYSTM_H
7542 # include <netinet/in_systm.h>
7543 #endif
7544 #ifdef HAVE_NETINET_IP_H
7545 # include <netinet/ip.h>
7546 #endif
7547 #ifdef HAVE_NETINET_IP_VAR_H
7548 # include <netinet/ip_var.h>
7549 #endif
7550 #ifdef HAVE_NETINET_IP_ICMP_H
7551 # include <netinet/ip_icmp.h>
7552 #endif
7553 #ifdef HAVE_NETINET_UDP_H
7554 # include <netinet/udp.h>
7555 #endif
7556 #ifdef HAVE_NETINET_TCP_H
7557 # include <netinet/tcp.h>
7558 #endif
7559 #ifdef HAVE_NETINET_TCP_TIMER_H
7560 #include <netinet/tcp_timer.h>
7561 #endif
7563 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7564 cat >>confdefs.h <<_ACEOF
7565 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7566 _ACEOF
7570 done
7573 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7574 do :
7575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7576 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7577 #ifdef HAVE_ASM_TYPES_H
7578 # include <asm/types.h>
7579 #endif
7580 #ifdef HAVE_SYS_SOCKET_H
7581 # include <sys/socket.h>
7582 #endif
7583 #ifdef HAVE_LINUX_TYPES_H
7584 # include <linux/types.h>
7585 #endif
7587 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7588 cat >>confdefs.h <<_ACEOF
7589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7590 _ACEOF
7594 done
7597 for ac_header in mach-o/dyld_images.h
7598 do :
7599 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7600 # include <stdbool.h>
7601 #endif
7602 #ifdef HAVE_STDINT_H
7603 # include <stdint.h>
7604 #endif
7606 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7607 cat >>confdefs.h <<_ACEOF
7608 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7609 _ACEOF
7613 done
7616 for ac_header in resolv.h
7617 do :
7618 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7619 #ifdef HAVE_SYS_SOCKET_H
7620 # include <sys/socket.h>
7621 #endif
7622 #ifdef HAVE_NETINET_IN_H
7623 # include <netinet/in.h>
7624 #endif
7625 #ifdef HAVE_ARPA_NAMESER_H
7626 # include <arpa/nameser.h>
7627 #endif
7629 if test "x$ac_cv_header_resolv_h" = xyes; then :
7630 cat >>confdefs.h <<_ACEOF
7631 #define HAVE_RESOLV_H 1
7632 _ACEOF
7636 done
7639 for ac_header in ifaddrs.h
7640 do :
7641 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7643 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7644 cat >>confdefs.h <<_ACEOF
7645 #define HAVE_IFADDRS_H 1
7646 _ACEOF
7650 done
7653 for ac_header in sys/ucontext.h
7654 do :
7655 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7657 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7658 cat >>confdefs.h <<_ACEOF
7659 #define HAVE_SYS_UCONTEXT_H 1
7660 _ACEOF
7664 done
7667 for ac_header in sys/thr.h
7668 do :
7669 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7670 #ifdef HAVE_SYS_UCONTEXT_H
7671 #include <sys/ucontext.h>
7672 #endif
7674 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7675 cat >>confdefs.h <<_ACEOF
7676 #define HAVE_SYS_THR_H 1
7677 _ACEOF
7681 done
7684 for ac_header in pthread_np.h
7685 do :
7686 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7687 #include <pthread.h>
7688 #endif
7690 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7691 cat >>confdefs.h <<_ACEOF
7692 #define HAVE_PTHREAD_NP_H 1
7693 _ACEOF
7697 done
7700 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7701 do :
7702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7703 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7704 #include <sys/time.h>
7705 #endif
7706 #include <sys/types.h>
7707 #ifdef HAVE_ASM_TYPES_H
7708 #include <asm/types.h>
7709 #endif
7711 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7712 cat >>confdefs.h <<_ACEOF
7713 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7714 _ACEOF
7718 done
7721 for ac_header in libprocstat.h
7722 do :
7723 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7724 #include <sys/param.h>
7725 #endif
7726 #ifdef HAVE_SYS_QUEUE_H
7727 #include <sys/queue.h>
7728 #endif
7729 #ifdef HAVE_SYS_SOCKET_H
7730 #include <sys/socket.h>
7731 #endif
7733 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7734 cat >>confdefs.h <<_ACEOF
7735 #define HAVE_LIBPROCSTAT_H 1
7736 _ACEOF
7740 done
7744 DLLFLAGS="-D_REENTRANT"
7746 LDRPATH_INSTALL=""
7748 LDRPATH_LOCAL=""
7750 LDEXECFLAGS=""
7752 TOP_INSTALL_LIB=""
7754 TOP_INSTALL_DEV=""
7756 WINELOADER_LDFLAGS=""
7758 WINEPRELOADER_LDFLAGS=""
7760 LIBEXT="so"
7761 DLLEXT=".so"
7762 IMPLIBEXT="def"
7763 # Extract the first word of "ldd", so it can be a program name with args.
7764 set dummy ldd; ac_word=$2
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7766 $as_echo_n "checking for $ac_word... " >&6; }
7767 if ${ac_cv_path_LDD+:} false; then :
7768 $as_echo_n "(cached) " >&6
7769 else
7770 case $LDD in
7771 [\\/]* | ?:[\\/]*)
7772 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 as_dummy="/sbin:/usr/sbin:$PATH"
7777 for as_dir in $as_dummy
7779 IFS=$as_save_IFS
7780 test -z "$as_dir" && as_dir=.
7781 for ac_exec_ext in '' $ac_executable_extensions; do
7782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7783 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7785 break 2
7787 done
7788 done
7789 IFS=$as_save_IFS
7791 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7793 esac
7795 LDD=$ac_cv_path_LDD
7796 if test -n "$LDD"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7798 $as_echo "$LDD" >&6; }
7799 else
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801 $as_echo "no" >&6; }
7805 if test -n "$ac_tool_prefix"; then
7806 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7807 set dummy ${ac_tool_prefix}otool; ac_word=$2
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7809 $as_echo_n "checking for $ac_word... " >&6; }
7810 if ${ac_cv_prog_OTOOL+:} false; then :
7811 $as_echo_n "(cached) " >&6
7812 else
7813 if test -n "$OTOOL"; then
7814 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7815 else
7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7817 for as_dir in $PATH
7819 IFS=$as_save_IFS
7820 test -z "$as_dir" && as_dir=.
7821 for ac_exec_ext in '' $ac_executable_extensions; do
7822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7823 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7825 break 2
7827 done
7828 done
7829 IFS=$as_save_IFS
7833 OTOOL=$ac_cv_prog_OTOOL
7834 if test -n "$OTOOL"; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7836 $as_echo "$OTOOL" >&6; }
7837 else
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7839 $as_echo "no" >&6; }
7844 if test -z "$ac_cv_prog_OTOOL"; then
7845 ac_ct_OTOOL=$OTOOL
7846 # Extract the first word of "otool", so it can be a program name with args.
7847 set dummy otool; ac_word=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7851 $as_echo_n "(cached) " >&6
7852 else
7853 if test -n "$ac_ct_OTOOL"; then
7854 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7855 else
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857 for as_dir in $PATH
7859 IFS=$as_save_IFS
7860 test -z "$as_dir" && as_dir=.
7861 for ac_exec_ext in '' $ac_executable_extensions; do
7862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7863 ac_cv_prog_ac_ct_OTOOL="otool"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7865 break 2
7867 done
7868 done
7869 IFS=$as_save_IFS
7873 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7874 if test -n "$ac_ct_OTOOL"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7876 $as_echo "$ac_ct_OTOOL" >&6; }
7877 else
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7882 if test "x$ac_ct_OTOOL" = x; then
7883 OTOOL="otool"
7884 else
7885 case $cross_compiling:$ac_tool_warned in
7886 yes:)
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7889 ac_tool_warned=yes ;;
7890 esac
7891 OTOOL=$ac_ct_OTOOL
7893 else
7894 OTOOL="$ac_cv_prog_OTOOL"
7897 if test -n "$ac_tool_prefix"; then
7898 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7899 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7901 $as_echo_n "checking for $ac_word... " >&6; }
7902 if ${ac_cv_prog_READELF+:} false; then :
7903 $as_echo_n "(cached) " >&6
7904 else
7905 if test -n "$READELF"; then
7906 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7907 else
7908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 for as_dir in $PATH
7911 IFS=$as_save_IFS
7912 test -z "$as_dir" && as_dir=.
7913 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7915 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7917 break 2
7919 done
7920 done
7921 IFS=$as_save_IFS
7925 READELF=$ac_cv_prog_READELF
7926 if test -n "$READELF"; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7928 $as_echo "$READELF" >&6; }
7929 else
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7931 $as_echo "no" >&6; }
7936 if test -z "$ac_cv_prog_READELF"; then
7937 ac_ct_READELF=$READELF
7938 # Extract the first word of "readelf", so it can be a program name with args.
7939 set dummy readelf; ac_word=$2
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7941 $as_echo_n "checking for $ac_word... " >&6; }
7942 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7943 $as_echo_n "(cached) " >&6
7944 else
7945 if test -n "$ac_ct_READELF"; then
7946 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7947 else
7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 for as_dir in $PATH
7951 IFS=$as_save_IFS
7952 test -z "$as_dir" && as_dir=.
7953 for ac_exec_ext in '' $ac_executable_extensions; do
7954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7955 ac_cv_prog_ac_ct_READELF="readelf"
7956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7957 break 2
7959 done
7960 done
7961 IFS=$as_save_IFS
7965 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7966 if test -n "$ac_ct_READELF"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7968 $as_echo "$ac_ct_READELF" >&6; }
7969 else
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 $as_echo "no" >&6; }
7974 if test "x$ac_ct_READELF" = x; then
7975 READELF="true"
7976 else
7977 case $cross_compiling:$ac_tool_warned in
7978 yes:)
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7981 ac_tool_warned=yes ;;
7982 esac
7983 READELF=$ac_ct_READELF
7985 else
7986 READELF="$ac_cv_prog_READELF"
7989 wine_rules_file=conf$$rules.make
7990 rm -f $wine_rules_file
7991 SUBDIRS=""
7993 DISABLED_SUBDIRS=""
7995 CONFIGURE_TARGETS=""
7998 wine_fn_append_file ()
8000 as_fn_append $1 " \\$as_nl $2"
8003 wine_fn_append_rule ()
8005 $as_echo "$1" >>$wine_rules_file
8008 wine_fn_config_makefile ()
8010 wine_fn_append_file SUBDIRS $1
8011 if eval test \"x\$"$2"\" = x"no"; then :
8012 wine_fn_append_file DISABLED_SUBDIRS $1
8016 wine_fn_config_symlink ()
8018 ac_links=$@
8019 wine_fn_append_rule \
8020 "$ac_links:
8021 @./config.status \$@"
8022 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8025 wine_binary="wine"
8026 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8027 WINELOADER_PROGRAMS="$wine_binary"
8029 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8031 case $host_os in
8032 cygwin*|mingw32*)
8033 if test -n "$ac_tool_prefix"; then
8034 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8035 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8037 $as_echo_n "checking for $ac_word... " >&6; }
8038 if ${ac_cv_prog_DLLTOOL+:} false; then :
8039 $as_echo_n "(cached) " >&6
8040 else
8041 if test -n "$DLLTOOL"; then
8042 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8043 else
8044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 for as_dir in $PATH
8047 IFS=$as_save_IFS
8048 test -z "$as_dir" && as_dir=.
8049 for ac_exec_ext in '' $ac_executable_extensions; do
8050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8051 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8053 break 2
8055 done
8056 done
8057 IFS=$as_save_IFS
8061 DLLTOOL=$ac_cv_prog_DLLTOOL
8062 if test -n "$DLLTOOL"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8064 $as_echo "$DLLTOOL" >&6; }
8065 else
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8067 $as_echo "no" >&6; }
8072 if test -z "$ac_cv_prog_DLLTOOL"; then
8073 ac_ct_DLLTOOL=$DLLTOOL
8074 # Extract the first word of "dlltool", so it can be a program name with args.
8075 set dummy dlltool; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8077 $as_echo_n "checking for $ac_word... " >&6; }
8078 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8079 $as_echo_n "(cached) " >&6
8080 else
8081 if test -n "$ac_ct_DLLTOOL"; then
8082 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8083 else
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 for as_dir in $PATH
8087 IFS=$as_save_IFS
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8093 break 2
8095 done
8096 done
8097 IFS=$as_save_IFS
8101 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8102 if test -n "$ac_ct_DLLTOOL"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8104 $as_echo "$ac_ct_DLLTOOL" >&6; }
8105 else
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8107 $as_echo "no" >&6; }
8110 if test "x$ac_ct_DLLTOOL" = x; then
8111 DLLTOOL="false"
8112 else
8113 case $cross_compiling:$ac_tool_warned in
8114 yes:)
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8117 ac_tool_warned=yes ;;
8118 esac
8119 DLLTOOL=$ac_ct_DLLTOOL
8121 else
8122 DLLTOOL="$ac_cv_prog_DLLTOOL"
8125 LIBEXT="dll"
8126 DLLEXT=""
8127 IMPLIBEXT="a"
8128 enable_iphlpapi=${enable_iphlpapi:-no}
8129 enable_kernel32=${enable_kernel32:-no}
8130 enable_msvcrt=${enable_msvcrt:-no}
8131 enable_ntdll=${enable_ntdll:-no}
8132 enable_ws2_32=${enable_ws2_32:-no}
8133 enable_loader=${enable_loader:-no}
8134 enable_server=${enable_server:-no}
8135 with_x=${with_x:-no}
8136 with_pthread=${with_pthread:-no}
8138 crtlibs=""
8139 case $host_os in
8140 mingw32*)
8141 crtlibs="-lmsvcrt" ;;
8142 esac
8144 LIBWINE_SHAREDLIB="libwine.dll"
8146 LIBWINE_IMPORTLIB="libwine.a"
8148 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8150 LIBWINE_DEPENDS="wine.def"
8152 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.dll"
8153 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.a"
8156 darwin*|macosx*)
8157 for ac_header in libunwind.h
8158 do :
8159 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8161 cat >>confdefs.h <<_ACEOF
8162 #define HAVE_LIBUNWIND_H 1
8163 _ACEOF
8167 done
8169 ac_ext=m
8170 ac_cpp='$OBJCPP $CPPFLAGS'
8171 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8172 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8173 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8175 ac_ext=m
8176 ac_cpp='$OBJCPP $CPPFLAGS'
8177 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8178 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8179 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8180 if test -n "$ac_tool_prefix"; then
8181 for ac_prog in gcc objcc objc cc CC
8183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8184 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8186 $as_echo_n "checking for $ac_word... " >&6; }
8187 if ${ac_cv_prog_OBJC+:} false; then :
8188 $as_echo_n "(cached) " >&6
8189 else
8190 if test -n "$OBJC"; then
8191 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8192 else
8193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8194 for as_dir in $PATH
8196 IFS=$as_save_IFS
8197 test -z "$as_dir" && as_dir=.
8198 for ac_exec_ext in '' $ac_executable_extensions; do
8199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8200 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8202 break 2
8204 done
8205 done
8206 IFS=$as_save_IFS
8210 OBJC=$ac_cv_prog_OBJC
8211 if test -n "$OBJC"; then
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8213 $as_echo "$OBJC" >&6; }
8214 else
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8216 $as_echo "no" >&6; }
8220 test -n "$OBJC" && break
8221 done
8223 if test -z "$OBJC"; then
8224 ac_ct_OBJC=$OBJC
8225 for ac_prog in gcc objcc objc cc CC
8227 # Extract the first word of "$ac_prog", so it can be a program name with args.
8228 set dummy $ac_prog; ac_word=$2
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8230 $as_echo_n "checking for $ac_word... " >&6; }
8231 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8232 $as_echo_n "(cached) " >&6
8233 else
8234 if test -n "$ac_ct_OBJC"; then
8235 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8236 else
8237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8238 for as_dir in $PATH
8240 IFS=$as_save_IFS
8241 test -z "$as_dir" && as_dir=.
8242 for ac_exec_ext in '' $ac_executable_extensions; do
8243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8244 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8246 break 2
8248 done
8249 done
8250 IFS=$as_save_IFS
8254 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8255 if test -n "$ac_ct_OBJC"; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8257 $as_echo "$ac_ct_OBJC" >&6; }
8258 else
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8264 test -n "$ac_ct_OBJC" && break
8265 done
8267 if test "x$ac_ct_OBJC" = x; then
8268 OBJC="gcc"
8269 else
8270 case $cross_compiling:$ac_tool_warned in
8271 yes:)
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8274 ac_tool_warned=yes ;;
8275 esac
8276 OBJC=$ac_ct_OBJC
8280 # Provide some information about the compiler.
8281 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8282 set X $ac_compile
8283 ac_compiler=$2
8284 for ac_option in --version -v -V -qversion; do
8285 { { ac_try="$ac_compiler $ac_option >&5"
8286 case "(($ac_try" in
8287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8288 *) ac_try_echo=$ac_try;;
8289 esac
8290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8291 $as_echo "$ac_try_echo"; } >&5
8292 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8293 ac_status=$?
8294 if test -s conftest.err; then
8295 sed '10a\
8296 ... rest of stderr output deleted ...
8297 10q' conftest.err >conftest.er1
8298 cat conftest.er1 >&5
8300 rm -f conftest.er1 conftest.err
8301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8302 test $ac_status = 0; }
8303 done
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8306 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8307 if ${ac_cv_objc_compiler_gnu+:} false; then :
8308 $as_echo_n "(cached) " >&6
8309 else
8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8314 main ()
8316 #ifndef __GNUC__
8317 choke me
8318 #endif
8321 return 0;
8323 _ACEOF
8324 if ac_fn_objc_try_compile "$LINENO"; then :
8325 ac_compiler_gnu=yes
8326 else
8327 ac_compiler_gnu=no
8329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8330 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8334 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8335 if test $ac_compiler_gnu = yes; then
8336 GOBJC=yes
8337 else
8338 GOBJC=
8340 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8341 ac_save_OBJCFLAGS=$OBJCFLAGS
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8343 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8344 if ${ac_cv_prog_objc_g+:} false; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8347 ac_save_objc_werror_flag=$ac_objc_werror_flag
8348 ac_objc_werror_flag=yes
8349 ac_cv_prog_objc_g=no
8350 OBJCFLAGS="-g"
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8355 main ()
8359 return 0;
8361 _ACEOF
8362 if ac_fn_objc_try_compile "$LINENO"; then :
8363 ac_cv_prog_objc_g=yes
8364 else
8365 OBJCFLAGS=""
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8370 main ()
8374 return 0;
8376 _ACEOF
8377 if ac_fn_objc_try_compile "$LINENO"; then :
8379 else
8380 ac_objc_werror_flag=$ac_save_objc_werror_flag
8381 OBJCFLAGS="-g"
8382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8386 main ()
8390 return 0;
8392 _ACEOF
8393 if ac_fn_objc_try_compile "$LINENO"; then :
8394 ac_cv_prog_objc_g=yes
8396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8401 ac_objc_werror_flag=$ac_save_objc_werror_flag
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8404 $as_echo "$ac_cv_prog_objc_g" >&6; }
8405 if test "$ac_test_OBJCFLAGS" = set; then
8406 OBJCFLAGS=$ac_save_OBJCFLAGS
8407 elif test $ac_cv_prog_objc_g = yes; then
8408 if test "$GOBJC" = yes; then
8409 OBJCFLAGS="-g -O2"
8410 else
8411 OBJCFLAGS="-g"
8413 else
8414 if test "$GOBJC" = yes; then
8415 OBJCFLAGS="-O2"
8416 else
8417 OBJCFLAGS=
8420 ac_ext=m
8421 ac_cpp='$OBJCPP $CPPFLAGS'
8422 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8423 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8424 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8427 ac_ext=m
8428 ac_cpp='$OBJCPP $CPPFLAGS'
8429 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8430 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8431 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8433 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8434 if test -z "$OBJCPP"; then
8435 if ${ac_cv_prog_OBJCPP+:} false; then :
8436 $as_echo_n "(cached) " >&6
8437 else
8438 # Double quotes because OBJCPP needs to be expanded
8439 for OBJCPP in "$OBJC -E" "/lib/cpp"
8441 ac_preproc_ok=false
8442 for ac_objc_preproc_warn_flag in '' yes
8444 # Use a header file that comes with gcc, so configuring glibc
8445 # with a fresh cross-compiler works.
8446 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8447 # <limits.h> exists even on freestanding compilers.
8448 # On the NeXT, cc -E runs the code through the compiler's parser,
8449 # not just through cpp. "Syntax error" is here to catch this case.
8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8452 #ifdef __STDC__
8453 # include <limits.h>
8454 #else
8455 # include <assert.h>
8456 #endif
8457 Syntax error
8458 _ACEOF
8459 if ac_fn_objc_try_cpp "$LINENO"; then :
8461 else
8462 # Broken: fails on valid input.
8463 continue
8465 rm -f conftest.err conftest.i conftest.$ac_ext
8467 # OK, works on sane cases. Now check whether nonexistent headers
8468 # can be detected and how.
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8471 #include <ac_nonexistent.h>
8472 _ACEOF
8473 if ac_fn_objc_try_cpp "$LINENO"; then :
8474 # Broken: success on invalid input.
8475 continue
8476 else
8477 # Passes both tests.
8478 ac_preproc_ok=:
8479 break
8481 rm -f conftest.err conftest.i conftest.$ac_ext
8483 done
8484 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8485 rm -f conftest.i conftest.err conftest.$ac_ext
8486 if $ac_preproc_ok; then :
8487 break
8490 done
8491 ac_cv_prog_OBJCPP=$OBJCPP
8494 OBJCPP=$ac_cv_prog_OBJCPP
8495 else
8496 ac_cv_prog_OBJCPP=$OBJCPP
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8499 $as_echo "$OBJCPP" >&6; }
8500 ac_preproc_ok=false
8501 for ac_objc_preproc_warn_flag in '' yes
8503 # Use a header file that comes with gcc, so configuring glibc
8504 # with a fresh cross-compiler works.
8505 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8506 # <limits.h> exists even on freestanding compilers.
8507 # On the NeXT, cc -E runs the code through the compiler's parser,
8508 # not just through cpp. "Syntax error" is here to catch this case.
8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8511 #ifdef __STDC__
8512 # include <limits.h>
8513 #else
8514 # include <assert.h>
8515 #endif
8516 Syntax error
8517 _ACEOF
8518 if ac_fn_objc_try_cpp "$LINENO"; then :
8520 else
8521 # Broken: fails on valid input.
8522 continue
8524 rm -f conftest.err conftest.i conftest.$ac_ext
8526 # OK, works on sane cases. Now check whether nonexistent headers
8527 # can be detected and how.
8528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h. */
8530 #include <ac_nonexistent.h>
8531 _ACEOF
8532 if ac_fn_objc_try_cpp "$LINENO"; then :
8533 # Broken: success on invalid input.
8534 continue
8535 else
8536 # Passes both tests.
8537 ac_preproc_ok=:
8538 break
8540 rm -f conftest.err conftest.i conftest.$ac_ext
8542 done
8543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8544 rm -f conftest.i conftest.err conftest.$ac_ext
8545 if $ac_preproc_ok; then :
8547 else
8548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8550 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8551 See \`config.log' for more details" "$LINENO" 5; }
8554 ac_ext=m
8555 ac_cpp='$OBJCPP $CPPFLAGS'
8556 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8557 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8558 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8561 for ac_header in Metal/Metal.h
8562 do :
8563 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8564 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8565 cat >>confdefs.h <<_ACEOF
8566 #define HAVE_METAL_METAL_H 1
8567 _ACEOF
8571 done
8573 ac_ext=c
8574 ac_cpp='$CPP $CPPFLAGS'
8575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8579 LIBEXT="dylib"
8580 DLLFLAGS="$DLLFLAGS -fPIC"
8581 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8582 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8583 COREFOUNDATION_LIBS="-framework CoreFoundation"
8585 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8587 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8589 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8591 CORESERVICES_LIBS="-framework CoreServices"
8593 APPKIT_LIBS="-framework AppKit"
8596 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8598 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8600 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8601 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8602 $as_echo_n "(cached) " >&6
8603 else
8604 ac_wine_try_cflags_saved=$CFLAGS
8605 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8607 /* end confdefs.h. */
8608 int main(int argc, char **argv) { return 0; }
8609 _ACEOF
8610 if ac_fn_c_try_link "$LINENO"; then :
8611 ac_cv_cflags__Wl__no_new_main__e__main=yes
8612 else
8613 ac_cv_cflags__Wl__no_new_main__e__main=no
8615 rm -f core conftest.err conftest.$ac_objext \
8616 conftest$ac_exeext conftest.$ac_ext
8617 CFLAGS=$ac_wine_try_cflags_saved
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8620 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8621 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8622 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8625 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8626 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8627 $as_echo_n "(cached) " >&6
8628 else
8629 ac_wine_try_cflags_saved=$CFLAGS
8630 CFLAGS="$CFLAGS -Wl,-no_pie"
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8633 int main(int argc, char **argv) { return 0; }
8634 _ACEOF
8635 if ac_fn_c_try_link "$LINENO"; then :
8636 ac_cv_cflags__Wl__no_pie=yes
8637 else
8638 ac_cv_cflags__Wl__no_pie=no
8640 rm -f core conftest.err conftest.$ac_objext \
8641 conftest$ac_exeext conftest.$ac_ext
8642 CFLAGS=$ac_wine_try_cflags_saved
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8645 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8646 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8647 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8650 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8651 then
8652 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8655 if test "$ac_cv_header_Security_Security_h" = "yes"
8656 then
8657 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8659 ac_save_LIBS="$LIBS"
8660 LIBS="$LIBS $SECURITY_LIBS"
8661 for ac_func in SSLCopyPeerCertificates
8662 do :
8663 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8664 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8665 cat >>confdefs.h <<_ACEOF
8666 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8667 _ACEOF
8670 done
8672 LIBS="$ac_save_LIBS"
8674 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8675 then
8676 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8677 then
8678 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8680 else
8681 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8684 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8685 ac_save_LIBS="$LIBS"
8686 LIBS="$LIBS $COREAUDIO_LIBS"
8687 for ac_func in AUGraphAddNode
8688 do :
8689 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8690 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8691 cat >>confdefs.h <<_ACEOF
8692 #define HAVE_AUGRAPHADDNODE 1
8693 _ACEOF
8696 done
8698 LIBS="$ac_save_LIBS"
8700 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8701 then
8702 OPENAL_LIBS="-framework OpenAL"
8705 cat >>confdefs.h <<_ACEOF
8706 #define HAVE_OPENAL 1
8707 _ACEOF
8709 ac_cv_lib_openal=yes
8711 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8712 then
8713 OPENCL_LIBS="-framework OpenCL"
8715 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8717 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8718 then
8719 ac_save_LIBS="$LIBS"
8720 LIBS="$LIBS $IOKIT_LIBS"
8721 for ac_func in IOHIDManagerCreate
8722 do :
8723 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8724 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8725 cat >>confdefs.h <<_ACEOF
8726 #define HAVE_IOHIDMANAGERCREATE 1
8727 _ACEOF
8730 done
8732 LIBS="$ac_save_LIBS"
8734 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8735 then
8736 ac_save_LIBS="$LIBS"
8737 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8739 $as_echo_n "checking for the QuickTime framework... " >&6; }
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8742 #include <QuickTime/ImageCompression.h>
8744 main ()
8746 CodecManagerVersion(NULL);
8748 return 0;
8750 _ACEOF
8751 if ac_fn_c_try_link "$LINENO"; then :
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8753 $as_echo "yes" >&6; }
8754 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8756 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8757 else
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8759 $as_echo "no" >&6; }
8760 ac_cv_header_QuickTime_ImageCompression_h=no
8762 rm -f core conftest.err conftest.$ac_objext \
8763 conftest$ac_exeext conftest.$ac_ext
8764 LIBS="$ac_save_LIBS"
8766 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8767 then
8768 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8770 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8771 then
8772 CARBON_LIBS="-framework Carbon"
8775 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8776 then
8777 METAL_LIBS="-framework Metal -framework QuartzCore"
8781 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8782 then
8783 ac_save_LIBS="$LIBS"
8784 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8785 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8786 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8787 enable_winemac_drv=${enable_winemac_drv:-yes}
8790 LIBS="$ac_save_LIBS"
8793 if test "x$enable_win16" = "xyes"
8794 then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8796 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8797 if test "$cross_compiling" = yes; then :
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8799 $as_echo "cross-compiling, assuming yes" >&6; }
8800 else
8801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8803 asm(".text\n"
8804 "bad:\tnop;nop\n"
8805 "good:\tnop;nop\n\t"
8806 ".globl _testfunc\n"
8807 "_testfunc:\tcallw good");
8808 extern void testfunc();
8810 main ()
8812 unsigned short *p = (unsigned short *)testfunc;
8813 return p[0] != 0xe866 || p[1] != 0xfffa
8815 return 0;
8817 _ACEOF
8818 if ac_fn_c_try_run "$LINENO"; then :
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8820 $as_echo "yes" >&6; }
8821 else
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8823 $as_echo "no" >&6; }
8824 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
8826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8827 conftest.$ac_objext conftest.beam conftest.$ac_ext
8832 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8834 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8836 WINELOADER_DEPENDS="wine_info.plist"
8838 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
8839 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
8842 linux-android*)
8843 DLLFLAGS="$DLLFLAGS -fPIC"
8844 LDEXECFLAGS="-Wl,-pie"
8845 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8847 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8848 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8849 $as_echo_n "(cached) " >&6
8850 else
8851 ac_wine_try_cflags_saved=$CFLAGS
8852 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8854 /* end confdefs.h. */
8855 int main(int argc, char **argv) { return 0; }
8856 _ACEOF
8857 if ac_fn_c_try_link "$LINENO"; then :
8858 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8859 else
8860 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8862 rm -f core conftest.err conftest.$ac_objext \
8863 conftest$ac_exeext conftest.$ac_ext
8864 CFLAGS=$ac_wine_try_cflags_saved
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8867 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8868 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8869 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8871 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
8872 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8874 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8875 if eval \${$as_ac_var+:} false; then :
8876 $as_echo_n "(cached) " >&6
8877 else
8878 ac_wine_try_cflags_saved=$CFLAGS
8879 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8882 int main(int argc, char **argv) { return 0; }
8883 _ACEOF
8884 if ac_fn_c_try_link "$LINENO"; then :
8885 eval "$as_ac_var=yes"
8886 else
8887 eval "$as_ac_var=no"
8889 rm -f core conftest.err conftest.$ac_objext \
8890 conftest$ac_exeext conftest.$ac_ext
8891 CFLAGS=$ac_wine_try_cflags_saved
8893 eval ac_res=\$$as_ac_var
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8895 $as_echo "$ac_res" >&6; }
8896 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8897 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8898 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8899 else
8900 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8902 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8903 if eval \${$as_ac_var+:} false; then :
8904 $as_echo_n "(cached) " >&6
8905 else
8906 ac_wine_try_cflags_saved=$CFLAGS
8907 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8910 int main(int argc, char **argv) { return 0; }
8911 _ACEOF
8912 if ac_fn_c_try_link "$LINENO"; then :
8913 eval "$as_ac_var=yes"
8914 else
8915 eval "$as_ac_var=no"
8917 rm -f core conftest.err conftest.$ac_objext \
8918 conftest$ac_exeext conftest.$ac_ext
8919 CFLAGS=$ac_wine_try_cflags_saved
8921 eval ac_res=\$$as_ac_var
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8923 $as_echo "$ac_res" >&6; }
8924 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8925 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8926 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8930 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8931 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8932 $as_echo_n "(cached) " >&6
8933 else
8934 ac_wine_try_cflags_saved=$CFLAGS
8935 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8937 /* end confdefs.h. */
8938 int main(int argc, char **argv) { return 0; }
8939 _ACEOF
8940 if ac_fn_c_try_link "$LINENO"; then :
8941 ac_cv_cflags__Wl___enable_new_dtags=yes
8942 else
8943 ac_cv_cflags__Wl___enable_new_dtags=no
8945 rm -f core conftest.err conftest.$ac_objext \
8946 conftest$ac_exeext conftest.$ac_ext
8947 CFLAGS=$ac_wine_try_cflags_saved
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8950 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8951 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8952 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8955 LIBWINE_SHAREDLIB="libwine.so"
8957 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8959 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8962 $as_echo_n "checking for -lEGL... " >&6; }
8963 if ${ac_cv_lib_soname_EGL+:} false; then :
8964 $as_echo_n "(cached) " >&6
8965 else
8966 ac_check_soname_save_LIBS=$LIBS
8967 LIBS="-lEGL $LIBS"
8968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8969 /* end confdefs.h. */
8971 /* Override any GCC internal prototype to avoid an error.
8972 Use char because int might match the return type of a GCC
8973 builtin and then its argument prototype would still apply. */
8974 #ifdef __cplusplus
8975 extern "C"
8976 #endif
8977 char eglGetProcAddress ();
8979 main ()
8981 return eglGetProcAddress ();
8983 return 0;
8985 _ACEOF
8986 if ac_fn_c_try_link "$LINENO"; then :
8987 case "$LIBEXT" in
8988 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8989 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'` ;;
8990 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8991 if ${ac_cv_lib_soname_EGL:+false} :; then :
8992 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8993 fi ;;
8994 esac
8996 rm -f core conftest.err conftest.$ac_objext \
8997 conftest$ac_exeext conftest.$ac_ext
8998 LIBS=$ac_check_soname_save_LIBS
9000 if ${ac_cv_lib_soname_EGL:+false} :; then :
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9002 $as_echo "not found" >&6; }
9004 else
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9006 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9008 cat >>confdefs.h <<_ACEOF
9009 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9010 _ACEOF
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9015 $as_echo_n "checking for -lGLESv2... " >&6; }
9016 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9017 $as_echo_n "(cached) " >&6
9018 else
9019 ac_check_soname_save_LIBS=$LIBS
9020 LIBS="-lGLESv2 $LIBS"
9021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9022 /* end confdefs.h. */
9024 /* Override any GCC internal prototype to avoid an error.
9025 Use char because int might match the return type of a GCC
9026 builtin and then its argument prototype would still apply. */
9027 #ifdef __cplusplus
9028 extern "C"
9029 #endif
9030 char glFlush ();
9032 main ()
9034 return glFlush ();
9036 return 0;
9038 _ACEOF
9039 if ac_fn_c_try_link "$LINENO"; then :
9040 case "$LIBEXT" in
9041 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9042 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'` ;;
9043 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9044 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9045 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9046 fi ;;
9047 esac
9049 rm -f core conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9051 LIBS=$ac_check_soname_save_LIBS
9053 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9055 $as_echo "not found" >&6; }
9057 else
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9059 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9061 cat >>confdefs.h <<_ACEOF
9062 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9063 _ACEOF
9068 if test "x$exec_prefix" = xNONE
9069 then
9070 case $host_cpu in
9071 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9072 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9073 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9074 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9075 esac
9080 DLLFLAGS="$DLLFLAGS -fPIC"
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9082 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9083 if ${ac_cv_c_dll_gnuelf+:} false; then :
9084 $as_echo_n "(cached) " >&6
9085 else
9086 ac_wine_try_cflags_saved=$CFLAGS
9087 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9090 void myfunc() {}
9091 _ACEOF
9092 if ac_fn_c_try_link "$LINENO"; then :
9093 ac_cv_c_dll_gnuelf="yes"
9094 else
9095 ac_cv_c_dll_gnuelf="no"
9097 rm -f core conftest.err conftest.$ac_objext \
9098 conftest$ac_exeext conftest.$ac_ext
9099 CFLAGS=$ac_wine_try_cflags_saved
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9102 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9103 if test "$ac_cv_c_dll_gnuelf" = "yes"
9104 then
9105 LIBWINE_LDFLAGS="-shared"
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9107 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9108 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9109 $as_echo_n "(cached) " >&6
9110 else
9111 ac_wine_try_cflags_saved=$CFLAGS
9112 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9115 int main(int argc, char **argv) { return 0; }
9116 _ACEOF
9117 if ac_fn_c_try_link "$LINENO"; then :
9118 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9119 else
9120 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9122 rm -f core conftest.err conftest.$ac_objext \
9123 conftest$ac_exeext conftest.$ac_ext
9124 CFLAGS=$ac_wine_try_cflags_saved
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9127 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9128 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9129 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9130 else
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9132 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9133 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9134 $as_echo_n "(cached) " >&6
9135 else
9136 ac_wine_try_cflags_saved=$CFLAGS
9137 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9140 int main(int argc, char **argv) { return 0; }
9141 _ACEOF
9142 if ac_fn_c_try_link "$LINENO"; then :
9143 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9144 else
9145 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9147 rm -f core conftest.err conftest.$ac_objext \
9148 conftest$ac_exeext conftest.$ac_ext
9149 CFLAGS=$ac_wine_try_cflags_saved
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9152 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9153 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9154 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9158 echo '{ global: *; };' >conftest.map
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9160 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9161 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9162 $as_echo_n "(cached) " >&6
9163 else
9164 ac_wine_try_cflags_saved=$CFLAGS
9165 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9167 /* end confdefs.h. */
9168 int main(int argc, char **argv) { return 0; }
9169 _ACEOF
9170 if ac_fn_c_try_link "$LINENO"; then :
9171 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9172 else
9173 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9175 rm -f core conftest.err conftest.$ac_objext \
9176 conftest$ac_exeext conftest.$ac_ext
9177 CFLAGS=$ac_wine_try_cflags_saved
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9180 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9181 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9182 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9184 rm -f conftest.map
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9187 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9188 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9189 $as_echo_n "(cached) " >&6
9190 else
9191 ac_wine_try_cflags_saved=$CFLAGS
9192 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9194 /* end confdefs.h. */
9195 int main(int argc, char **argv) { return 0; }
9196 _ACEOF
9197 if ac_fn_c_try_link "$LINENO"; then :
9198 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9199 else
9200 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9202 rm -f core conftest.err conftest.$ac_objext \
9203 conftest$ac_exeext conftest.$ac_ext
9204 CFLAGS=$ac_wine_try_cflags_saved
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9207 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9208 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9209 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9211 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9213 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9215 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9216 if eval \${$as_ac_var+:} false; then :
9217 $as_echo_n "(cached) " >&6
9218 else
9219 ac_wine_try_cflags_saved=$CFLAGS
9220 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9222 /* end confdefs.h. */
9223 int main(int argc, char **argv) { return 0; }
9224 _ACEOF
9225 if ac_fn_c_try_link "$LINENO"; then :
9226 eval "$as_ac_var=yes"
9227 else
9228 eval "$as_ac_var=no"
9230 rm -f core conftest.err conftest.$ac_objext \
9231 conftest$ac_exeext conftest.$ac_ext
9232 CFLAGS=$ac_wine_try_cflags_saved
9234 eval ac_res=\$$as_ac_var
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9236 $as_echo "$ac_res" >&6; }
9237 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9238 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9239 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9240 else
9241 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9243 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9244 if eval \${$as_ac_var+:} false; then :
9245 $as_echo_n "(cached) " >&6
9246 else
9247 ac_wine_try_cflags_saved=$CFLAGS
9248 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9250 /* end confdefs.h. */
9251 int main(int argc, char **argv) { return 0; }
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9254 eval "$as_ac_var=yes"
9255 else
9256 eval "$as_ac_var=no"
9258 rm -f core conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9260 CFLAGS=$ac_wine_try_cflags_saved
9262 eval ac_res=\$$as_ac_var
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9264 $as_echo "$ac_res" >&6; }
9265 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9266 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9267 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9272 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9273 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9274 $as_echo_n "(cached) " >&6
9275 else
9276 ac_wine_try_cflags_saved=$CFLAGS
9277 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9280 int main(int argc, char **argv) { return 0; }
9281 _ACEOF
9282 if ac_fn_c_try_link "$LINENO"; then :
9283 ac_cv_cflags__Wl___enable_new_dtags=yes
9284 else
9285 ac_cv_cflags__Wl___enable_new_dtags=no
9287 rm -f core conftest.err conftest.$ac_objext \
9288 conftest$ac_exeext conftest.$ac_ext
9289 CFLAGS=$ac_wine_try_cflags_saved
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9292 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9293 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9294 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9297 case $host_cpu in
9298 *i[3456789]86* | x86_64 | *aarch64*)
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9300 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9301 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9302 $as_echo_n "(cached) " >&6
9303 else
9304 ac_wine_try_cflags_saved=$CFLAGS
9305 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9308 int main(int argc, char **argv) { return 0; }
9309 _ACEOF
9310 if ac_fn_c_try_link "$LINENO"; then :
9311 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9312 else
9313 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9315 rm -f core conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 CFLAGS=$ac_wine_try_cflags_saved
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9320 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9321 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9322 case $host_os in
9323 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9324 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9325 esac
9326 else
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9328 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9329 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9330 $as_echo_n "(cached) " >&6
9331 else
9332 ac_wine_try_cflags_saved=$CFLAGS
9333 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h. */
9336 int main(int argc, char **argv) { return 0; }
9337 _ACEOF
9338 if ac_fn_c_try_link "$LINENO"; then :
9339 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9340 else
9341 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9343 rm -f core conftest.err conftest.$ac_objext \
9344 conftest$ac_exeext conftest.$ac_ext
9345 CFLAGS=$ac_wine_try_cflags_saved
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9348 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9349 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9350 case $host_os in
9351 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9352 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9353 esac
9355 # Extract the first word of "prelink", so it can be a program name with args.
9356 set dummy prelink; ac_word=$2
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9358 $as_echo_n "checking for $ac_word... " >&6; }
9359 if ${ac_cv_path_PRELINK+:} false; then :
9360 $as_echo_n "(cached) " >&6
9361 else
9362 case $PRELINK in
9363 [\\/]* | ?:[\\/]*)
9364 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9368 for as_dir in /sbin /usr/sbin $PATH
9370 IFS=$as_save_IFS
9371 test -z "$as_dir" && as_dir=.
9372 for ac_exec_ext in '' $ac_executable_extensions; do
9373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9374 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9376 break 2
9378 done
9379 done
9380 IFS=$as_save_IFS
9382 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9384 esac
9386 PRELINK=$ac_cv_path_PRELINK
9387 if test -n "$PRELINK"; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9389 $as_echo "$PRELINK" >&6; }
9390 else
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9392 $as_echo "no" >&6; }
9396 if test "x$PRELINK" = xfalse
9397 then
9398 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9402 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9403 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9404 $as_echo_n "(cached) " >&6
9405 else
9406 ac_wine_try_cflags_saved=$CFLAGS
9407 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9410 int main(int argc, char **argv) { return 0; }
9411 _ACEOF
9412 if ac_fn_c_try_link "$LINENO"; then :
9413 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9414 else
9415 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 CFLAGS=$ac_wine_try_cflags_saved
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9422 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9423 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9424 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9427 esac
9429 else
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9431 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9432 if ${ac_cv_c_dll_unixware+:} false; then :
9433 $as_echo_n "(cached) " >&6
9434 else
9435 ac_wine_try_cflags_saved=$CFLAGS
9436 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9439 void myfunc() {}
9440 _ACEOF
9441 if ac_fn_c_try_link "$LINENO"; then :
9442 ac_cv_c_dll_unixware="yes"
9443 else
9444 ac_cv_c_dll_unixware="no"
9446 rm -f core conftest.err conftest.$ac_objext \
9447 conftest$ac_exeext conftest.$ac_ext
9448 CFLAGS=$ac_wine_try_cflags_saved
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9451 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9452 if test "$ac_cv_c_dll_unixware" = "yes"
9453 then
9454 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9457 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9459 LIBWINE_DEPENDS="wine.map"
9461 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9462 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9464 esac
9466 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9467 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9468 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9469 enable_winemac_drv=${enable_winemac_drv:-no}
9470 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9472 CROSSTARGET=""
9474 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9475 then
9476 case "$host_cpu" in
9477 aarch64*)
9478 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9479 arm*)
9480 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9481 i[3456789]86*)
9482 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
9483 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9484 mingw32-gcc" ;;
9485 x86_64)
9486 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
9487 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9489 ac_prefix_list="" ;;
9490 esac
9491 for ac_prog in $ac_prefix_list
9493 # Extract the first word of "$ac_prog", so it can be a program name with args.
9494 set dummy $ac_prog; ac_word=$2
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9496 $as_echo_n "checking for $ac_word... " >&6; }
9497 if ${ac_cv_prog_CROSSCC+:} false; then :
9498 $as_echo_n "(cached) " >&6
9499 else
9500 if test -n "$CROSSCC"; then
9501 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9502 else
9503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9504 for as_dir in $PATH
9506 IFS=$as_save_IFS
9507 test -z "$as_dir" && as_dir=.
9508 for ac_exec_ext in '' $ac_executable_extensions; do
9509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9510 ac_cv_prog_CROSSCC="$ac_prog"
9511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9512 break 2
9514 done
9515 done
9516 IFS=$as_save_IFS
9520 CROSSCC=$ac_cv_prog_CROSSCC
9521 if test -n "$CROSSCC"; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9523 $as_echo "$CROSSCC" >&6; }
9524 else
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9526 $as_echo "no" >&6; }
9530 test -n "$CROSSCC" && break
9531 done
9532 test -n "$CROSSCC" || CROSSCC="false"
9534 if test "$CROSSCC" != "false"
9535 then
9536 ac_save_CC="$CC"
9537 CC="$CROSSCC"
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9539 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9544 main ()
9548 return 0;
9550 _ACEOF
9551 if ac_fn_c_try_compile "$LINENO"; then :
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9553 $as_echo "yes" >&6; }
9554 set x $CROSSCC
9555 shift
9556 while test $# -ge 1
9558 case "$1" in
9559 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9560 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9561 esac
9562 shift
9563 done
9564 else
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9566 $as_echo "no" >&6; }
9568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9569 CC="$ac_save_CC"
9570 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9576 if test "$ac_cv_header_pthread_h" = "yes"
9577 then
9578 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9579 if test "x$ac_cv_func_pthread_create" = xyes; then :
9581 else
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9583 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9584 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 ac_check_lib_save_LIBS=$LIBS
9588 LIBS="-lpthread $LIBS"
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9595 #ifdef __cplusplus
9596 extern "C"
9597 #endif
9598 char pthread_create ();
9600 main ()
9602 return pthread_create ();
9604 return 0;
9606 _ACEOF
9607 if ac_fn_c_try_link "$LINENO"; then :
9608 ac_cv_lib_pthread_pthread_create=yes
9609 else
9610 ac_cv_lib_pthread_pthread_create=no
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 LIBS=$ac_check_lib_save_LIBS
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9617 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9618 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9619 PTHREAD_LIBS="-lpthread"
9626 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9627 case "x$with_pthread" in
9628 xno) ;;
9629 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9630 Wine cannot support threads without libpthread.
9631 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9632 esac
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9638 $as_echo_n "checking for X... " >&6; }
9641 # Check whether --with-x was given.
9642 if test "${with_x+set}" = set; then :
9643 withval=$with_x;
9646 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9647 if test "x$with_x" = xno; then
9648 # The user explicitly disabled X.
9649 have_x=disabled
9650 else
9651 case $x_includes,$x_libraries in #(
9652 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9653 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9654 $as_echo_n "(cached) " >&6
9655 else
9656 # One or both of the vars are not set, and there is no cached value.
9657 ac_x_includes=no ac_x_libraries=no
9658 rm -f -r conftest.dir
9659 if mkdir conftest.dir; then
9660 cd conftest.dir
9661 cat >Imakefile <<'_ACEOF'
9662 incroot:
9663 @echo incroot='${INCROOT}'
9664 usrlibdir:
9665 @echo usrlibdir='${USRLIBDIR}'
9666 libdir:
9667 @echo libdir='${LIBDIR}'
9668 _ACEOF
9669 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9670 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9671 for ac_var in incroot usrlibdir libdir; do
9672 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9673 done
9674 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9675 for ac_extension in a so sl dylib la dll; do
9676 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9677 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9678 ac_im_usrlibdir=$ac_im_libdir; break
9680 done
9681 # Screen out bogus values from the imake configuration. They are
9682 # bogus both because they are the default anyway, and because
9683 # using them would break gcc on systems where it needs fixed includes.
9684 case $ac_im_incroot in
9685 /usr/include) ac_x_includes= ;;
9686 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9687 esac
9688 case $ac_im_usrlibdir in
9689 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9690 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9691 esac
9693 cd ..
9694 rm -f -r conftest.dir
9697 # Standard set of common directories for X headers.
9698 # Check X11 before X11Rn because it is often a symlink to the current release.
9699 ac_x_header_dirs='
9700 /usr/X11/include
9701 /usr/X11R7/include
9702 /usr/X11R6/include
9703 /usr/X11R5/include
9704 /usr/X11R4/include
9706 /usr/include/X11
9707 /usr/include/X11R7
9708 /usr/include/X11R6
9709 /usr/include/X11R5
9710 /usr/include/X11R4
9712 /usr/local/X11/include
9713 /usr/local/X11R7/include
9714 /usr/local/X11R6/include
9715 /usr/local/X11R5/include
9716 /usr/local/X11R4/include
9718 /usr/local/include/X11
9719 /usr/local/include/X11R7
9720 /usr/local/include/X11R6
9721 /usr/local/include/X11R5
9722 /usr/local/include/X11R4
9724 /usr/X386/include
9725 /usr/x386/include
9726 /usr/XFree86/include/X11
9728 /usr/include
9729 /usr/local/include
9730 /usr/unsupported/include
9731 /usr/athena/include
9732 /usr/local/x11r5/include
9733 /usr/lpp/Xamples/include
9735 /usr/openwin/include
9736 /usr/openwin/share/include'
9738 if test "$ac_x_includes" = no; then
9739 # Guess where to find include files, by looking for Xlib.h.
9740 # First, try using that file with no special directory specified.
9741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9742 /* end confdefs.h. */
9743 #include <X11/Xlib.h>
9744 _ACEOF
9745 if ac_fn_c_try_cpp "$LINENO"; then :
9746 # We can compile using X headers with no special include directory.
9747 ac_x_includes=
9748 else
9749 for ac_dir in $ac_x_header_dirs; do
9750 if test -r "$ac_dir/X11/Xlib.h"; then
9751 ac_x_includes=$ac_dir
9752 break
9754 done
9756 rm -f conftest.err conftest.i conftest.$ac_ext
9757 fi # $ac_x_includes = no
9759 if test "$ac_x_libraries" = no; then
9760 # Check for the libraries.
9761 # See if we find them without any special options.
9762 # Don't add to $LIBS permanently.
9763 ac_save_LIBS=$LIBS
9764 LIBS="-lX11 $LIBS"
9765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9766 /* end confdefs.h. */
9767 #include <X11/Xlib.h>
9769 main ()
9771 XrmInitialize ()
9773 return 0;
9775 _ACEOF
9776 if ac_fn_c_try_link "$LINENO"; then :
9777 LIBS=$ac_save_LIBS
9778 # We can link X programs with no special library path.
9779 ac_x_libraries=
9780 else
9781 LIBS=$ac_save_LIBS
9782 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9784 # Don't even attempt the hair of trying to link an X program!
9785 for ac_extension in a so sl dylib la dll; do
9786 if test -r "$ac_dir/libX11.$ac_extension"; then
9787 ac_x_libraries=$ac_dir
9788 break 2
9790 done
9791 done
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 fi # $ac_x_libraries = no
9797 case $ac_x_includes,$ac_x_libraries in #(
9798 no,* | *,no | *\'*)
9799 # Didn't find X, or a directory has "'" in its name.
9800 ac_cv_have_x="have_x=no";; #(
9802 # Record where we found X for the cache.
9803 ac_cv_have_x="have_x=yes\
9804 ac_x_includes='$ac_x_includes'\
9805 ac_x_libraries='$ac_x_libraries'"
9806 esac
9808 ;; #(
9809 *) have_x=yes;;
9810 esac
9811 eval "$ac_cv_have_x"
9812 fi # $with_x != no
9814 if test "$have_x" != yes; then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9816 $as_echo "$have_x" >&6; }
9817 no_x=yes
9818 else
9819 # If each of the values was on the command line, it overrides each guess.
9820 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9821 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9822 # Update the cache value to reflect the command line values.
9823 ac_cv_have_x="have_x=yes\
9824 ac_x_includes='$x_includes'\
9825 ac_x_libraries='$x_libraries'"
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9827 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9830 if test "$no_x" = yes; then
9831 # Not all programs may use this symbol, but it does not hurt to define it.
9833 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9835 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9836 else
9837 if test -n "$x_includes"; then
9838 X_CFLAGS="$X_CFLAGS -I$x_includes"
9841 # It would also be nice to do this for all -L options, not just this one.
9842 if test -n "$x_libraries"; then
9843 X_LIBS="$X_LIBS -L$x_libraries"
9844 # For Solaris; some versions of Sun CC require a space after -R and
9845 # others require no space. Words are not sufficient . . . .
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9847 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9848 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9849 ac_xsave_c_werror_flag=$ac_c_werror_flag
9850 ac_c_werror_flag=yes
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9855 main ()
9859 return 0;
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9864 $as_echo "no" >&6; }
9865 X_LIBS="$X_LIBS -R$x_libraries"
9866 else
9867 LIBS="$ac_xsave_LIBS -R $x_libraries"
9868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9872 main ()
9876 return 0;
9878 _ACEOF
9879 if ac_fn_c_try_link "$LINENO"; then :
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9881 $as_echo "yes" >&6; }
9882 X_LIBS="$X_LIBS -R $x_libraries"
9883 else
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9885 $as_echo "neither works" >&6; }
9887 rm -f core conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9890 rm -f core conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
9892 ac_c_werror_flag=$ac_xsave_c_werror_flag
9893 LIBS=$ac_xsave_LIBS
9896 # Check for system-dependent libraries X programs must link with.
9897 # Do this before checking for the system-independent R6 libraries
9898 # (-lICE), since we may need -lsocket or whatever for X linking.
9900 if test "$ISC" = yes; then
9901 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9902 else
9903 # Martyn Johnson says this is needed for Ultrix, if the X
9904 # libraries were built with DECnet support. And Karl Berry says
9905 # the Alpha needs dnet_stub (dnet does not exist).
9906 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9910 /* Override any GCC internal prototype to avoid an error.
9911 Use char because int might match the return type of a GCC
9912 builtin and then its argument prototype would still apply. */
9913 #ifdef __cplusplus
9914 extern "C"
9915 #endif
9916 char XOpenDisplay ();
9918 main ()
9920 return XOpenDisplay ();
9922 return 0;
9924 _ACEOF
9925 if ac_fn_c_try_link "$LINENO"; then :
9927 else
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9929 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9930 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_check_lib_save_LIBS=$LIBS
9934 LIBS="-ldnet $LIBS"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9938 /* Override any GCC internal prototype to avoid an error.
9939 Use char because int might match the return type of a GCC
9940 builtin and then its argument prototype would still apply. */
9941 #ifdef __cplusplus
9942 extern "C"
9943 #endif
9944 char dnet_ntoa ();
9946 main ()
9948 return dnet_ntoa ();
9950 return 0;
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"; then :
9954 ac_cv_lib_dnet_dnet_ntoa=yes
9955 else
9956 ac_cv_lib_dnet_dnet_ntoa=no
9958 rm -f core conftest.err conftest.$ac_objext \
9959 conftest$ac_exeext conftest.$ac_ext
9960 LIBS=$ac_check_lib_save_LIBS
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9963 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9964 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9965 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9968 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9970 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9971 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9972 $as_echo_n "(cached) " >&6
9973 else
9974 ac_check_lib_save_LIBS=$LIBS
9975 LIBS="-ldnet_stub $LIBS"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9979 /* Override any GCC internal prototype to avoid an error.
9980 Use char because int might match the return type of a GCC
9981 builtin and then its argument prototype would still apply. */
9982 #ifdef __cplusplus
9983 extern "C"
9984 #endif
9985 char dnet_ntoa ();
9987 main ()
9989 return dnet_ntoa ();
9991 return 0;
9993 _ACEOF
9994 if ac_fn_c_try_link "$LINENO"; then :
9995 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9996 else
9997 ac_cv_lib_dnet_stub_dnet_ntoa=no
9999 rm -f core conftest.err conftest.$ac_objext \
10000 conftest$ac_exeext conftest.$ac_ext
10001 LIBS=$ac_check_lib_save_LIBS
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10004 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10005 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10006 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10011 rm -f core conftest.err conftest.$ac_objext \
10012 conftest$ac_exeext conftest.$ac_ext
10013 LIBS="$ac_xsave_LIBS"
10015 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10016 # to get the SysV transport functions.
10017 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10018 # needs -lnsl.
10019 # The nsl library prevents programs from opening the X display
10020 # on Irix 5.2, according to T.E. Dickey.
10021 # The functions gethostbyname, getservbyname, and inet_addr are
10022 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10023 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10024 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10028 if test $ac_cv_func_gethostbyname = no; then
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10030 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10031 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10032 $as_echo_n "(cached) " >&6
10033 else
10034 ac_check_lib_save_LIBS=$LIBS
10035 LIBS="-lnsl $LIBS"
10036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10039 /* Override any GCC internal prototype to avoid an error.
10040 Use char because int might match the return type of a GCC
10041 builtin and then its argument prototype would still apply. */
10042 #ifdef __cplusplus
10043 extern "C"
10044 #endif
10045 char gethostbyname ();
10047 main ()
10049 return gethostbyname ();
10051 return 0;
10053 _ACEOF
10054 if ac_fn_c_try_link "$LINENO"; then :
10055 ac_cv_lib_nsl_gethostbyname=yes
10056 else
10057 ac_cv_lib_nsl_gethostbyname=no
10059 rm -f core conftest.err conftest.$ac_objext \
10060 conftest$ac_exeext conftest.$ac_ext
10061 LIBS=$ac_check_lib_save_LIBS
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10064 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10065 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10066 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10069 if test $ac_cv_lib_nsl_gethostbyname = no; then
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10071 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10072 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10073 $as_echo_n "(cached) " >&6
10074 else
10075 ac_check_lib_save_LIBS=$LIBS
10076 LIBS="-lbsd $LIBS"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10080 /* Override any GCC internal prototype to avoid an error.
10081 Use char because int might match the return type of a GCC
10082 builtin and then its argument prototype would still apply. */
10083 #ifdef __cplusplus
10084 extern "C"
10085 #endif
10086 char gethostbyname ();
10088 main ()
10090 return gethostbyname ();
10092 return 0;
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 ac_cv_lib_bsd_gethostbyname=yes
10097 else
10098 ac_cv_lib_bsd_gethostbyname=no
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 LIBS=$ac_check_lib_save_LIBS
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10105 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10106 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10107 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10113 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10114 # socket/setsockopt and other routines are undefined under SCO ODT
10115 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10116 # on later versions), says Simon Leinen: it contains gethostby*
10117 # variants that don't use the name server (or something). -lsocket
10118 # must be given before -lnsl if both are needed. We assume that
10119 # if connect needs -lnsl, so does gethostbyname.
10120 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10121 if test "x$ac_cv_func_connect" = xyes; then :
10125 if test $ac_cv_func_connect = no; then
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10127 $as_echo_n "checking for connect in -lsocket... " >&6; }
10128 if ${ac_cv_lib_socket_connect+:} false; then :
10129 $as_echo_n "(cached) " >&6
10130 else
10131 ac_check_lib_save_LIBS=$LIBS
10132 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134 /* end confdefs.h. */
10136 /* Override any GCC internal prototype to avoid an error.
10137 Use char because int might match the return type of a GCC
10138 builtin and then its argument prototype would still apply. */
10139 #ifdef __cplusplus
10140 extern "C"
10141 #endif
10142 char connect ();
10144 main ()
10146 return connect ();
10148 return 0;
10150 _ACEOF
10151 if ac_fn_c_try_link "$LINENO"; then :
10152 ac_cv_lib_socket_connect=yes
10153 else
10154 ac_cv_lib_socket_connect=no
10156 rm -f core conftest.err conftest.$ac_objext \
10157 conftest$ac_exeext conftest.$ac_ext
10158 LIBS=$ac_check_lib_save_LIBS
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10161 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10162 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10163 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10168 # Guillermo Gomez says -lposix is necessary on A/UX.
10169 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10170 if test "x$ac_cv_func_remove" = xyes; then :
10174 if test $ac_cv_func_remove = no; then
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10176 $as_echo_n "checking for remove in -lposix... " >&6; }
10177 if ${ac_cv_lib_posix_remove+:} false; then :
10178 $as_echo_n "(cached) " >&6
10179 else
10180 ac_check_lib_save_LIBS=$LIBS
10181 LIBS="-lposix $LIBS"
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10185 /* Override any GCC internal prototype to avoid an error.
10186 Use char because int might match the return type of a GCC
10187 builtin and then its argument prototype would still apply. */
10188 #ifdef __cplusplus
10189 extern "C"
10190 #endif
10191 char remove ();
10193 main ()
10195 return remove ();
10197 return 0;
10199 _ACEOF
10200 if ac_fn_c_try_link "$LINENO"; then :
10201 ac_cv_lib_posix_remove=yes
10202 else
10203 ac_cv_lib_posix_remove=no
10205 rm -f core conftest.err conftest.$ac_objext \
10206 conftest$ac_exeext conftest.$ac_ext
10207 LIBS=$ac_check_lib_save_LIBS
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10210 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10211 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10212 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10217 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10218 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10219 if test "x$ac_cv_func_shmat" = xyes; then :
10223 if test $ac_cv_func_shmat = no; then
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10225 $as_echo_n "checking for shmat in -lipc... " >&6; }
10226 if ${ac_cv_lib_ipc_shmat+:} false; then :
10227 $as_echo_n "(cached) " >&6
10228 else
10229 ac_check_lib_save_LIBS=$LIBS
10230 LIBS="-lipc $LIBS"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10237 #ifdef __cplusplus
10238 extern "C"
10239 #endif
10240 char shmat ();
10242 main ()
10244 return shmat ();
10246 return 0;
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_lib_ipc_shmat=yes
10251 else
10252 ac_cv_lib_ipc_shmat=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 LIBS=$ac_check_lib_save_LIBS
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10259 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10260 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10261 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10267 # Check for libraries that X11R6 Xt/Xaw programs need.
10268 ac_save_LDFLAGS=$LDFLAGS
10269 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10270 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10271 # check for ICE first), but we must link in the order -lSM -lICE or
10272 # we get undefined symbols. So assume we have SM if we have ICE.
10273 # These have to be linked with before -lX11, unlike the other
10274 # libraries we check for below, so use a different variable.
10275 # John Interrante, Karl Berry
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10277 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10278 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10279 $as_echo_n "(cached) " >&6
10280 else
10281 ac_check_lib_save_LIBS=$LIBS
10282 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10286 /* Override any GCC internal prototype to avoid an error.
10287 Use char because int might match the return type of a GCC
10288 builtin and then its argument prototype would still apply. */
10289 #ifdef __cplusplus
10290 extern "C"
10291 #endif
10292 char IceConnectionNumber ();
10294 main ()
10296 return IceConnectionNumber ();
10298 return 0;
10300 _ACEOF
10301 if ac_fn_c_try_link "$LINENO"; then :
10302 ac_cv_lib_ICE_IceConnectionNumber=yes
10303 else
10304 ac_cv_lib_ICE_IceConnectionNumber=no
10306 rm -f core conftest.err conftest.$ac_objext \
10307 conftest$ac_exeext conftest.$ac_ext
10308 LIBS=$ac_check_lib_save_LIBS
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10311 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10312 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10313 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10316 LDFLAGS=$ac_save_LDFLAGS
10321 if test "$have_x" = "yes"
10322 then
10323 ac_save_CPPFLAGS="$CPPFLAGS"
10324 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10327 $as_echo_n "checking for -lX11... " >&6; }
10328 if ${ac_cv_lib_soname_X11+:} false; then :
10329 $as_echo_n "(cached) " >&6
10330 else
10331 ac_check_soname_save_LIBS=$LIBS
10332 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10336 /* Override any GCC internal prototype to avoid an error.
10337 Use char because int might match the return type of a GCC
10338 builtin and then its argument prototype would still apply. */
10339 #ifdef __cplusplus
10340 extern "C"
10341 #endif
10342 char XCreateWindow ();
10344 main ()
10346 return XCreateWindow ();
10348 return 0;
10350 _ACEOF
10351 if ac_fn_c_try_link "$LINENO"; then :
10352 case "$LIBEXT" in
10353 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10354 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'` ;;
10355 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10356 if ${ac_cv_lib_soname_X11:+false} :; then :
10357 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10358 fi ;;
10359 esac
10361 rm -f core conftest.err conftest.$ac_objext \
10362 conftest$ac_exeext conftest.$ac_ext
10363 LIBS=$ac_check_soname_save_LIBS
10365 if ${ac_cv_lib_soname_X11:+false} :; then :
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10367 $as_echo "not found" >&6; }
10369 else
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10371 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10373 cat >>confdefs.h <<_ACEOF
10374 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10375 _ACEOF
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10380 $as_echo_n "checking for -lXext... " >&6; }
10381 if ${ac_cv_lib_soname_Xext+:} false; then :
10382 $as_echo_n "(cached) " >&6
10383 else
10384 ac_check_soname_save_LIBS=$LIBS
10385 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10389 /* Override any GCC internal prototype to avoid an error.
10390 Use char because int might match the return type of a GCC
10391 builtin and then its argument prototype would still apply. */
10392 #ifdef __cplusplus
10393 extern "C"
10394 #endif
10395 char XextCreateExtension ();
10397 main ()
10399 return XextCreateExtension ();
10401 return 0;
10403 _ACEOF
10404 if ac_fn_c_try_link "$LINENO"; then :
10405 case "$LIBEXT" in
10406 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10407 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'` ;;
10408 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10409 if ${ac_cv_lib_soname_Xext:+false} :; then :
10410 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10411 fi ;;
10412 esac
10414 rm -f core conftest.err conftest.$ac_objext \
10415 conftest$ac_exeext conftest.$ac_ext
10416 LIBS=$ac_check_soname_save_LIBS
10418 if ${ac_cv_lib_soname_Xext:+false} :; then :
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10420 $as_echo "not found" >&6; }
10422 else
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10424 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10426 cat >>confdefs.h <<_ACEOF
10427 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10428 _ACEOF
10430 X_LIBS="$X_LIBS -lXext"
10432 X_LIBS="$X_LIBS -lX11"
10434 for ac_header in X11/Xlib.h \
10435 X11/XKBlib.h \
10436 X11/Xutil.h \
10437 X11/Xcursor/Xcursor.h \
10438 X11/extensions/shape.h \
10439 X11/extensions/XInput.h \
10440 X11/extensions/XInput2.h \
10441 X11/extensions/XShm.h \
10442 X11/extensions/Xcomposite.h \
10443 X11/extensions/Xfixes.h \
10444 X11/extensions/Xinerama.h \
10445 X11/extensions/Xrandr.h \
10446 X11/extensions/Xrender.h \
10447 X11/extensions/xf86vmode.h \
10448 X11/extensions/xf86vmproto.h
10449 do :
10450 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10451 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10452 # include <X11/Xlib.h>
10453 #endif
10454 #ifdef HAVE_X11_XUTIL_H
10455 # include <X11/Xutil.h>
10456 #endif
10458 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10459 cat >>confdefs.h <<_ACEOF
10460 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10461 _ACEOF
10465 done
10468 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10469 then
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10471 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10472 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10473 $as_echo_n "(cached) " >&6
10474 else
10475 ac_check_lib_save_LIBS=$LIBS
10476 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10480 /* Override any GCC internal prototype to avoid an error.
10481 Use char because int might match the return type of a GCC
10482 builtin and then its argument prototype would still apply. */
10483 #ifdef __cplusplus
10484 extern "C"
10485 #endif
10486 char XkbQueryExtension ();
10488 main ()
10490 return XkbQueryExtension ();
10492 return 0;
10494 _ACEOF
10495 if ac_fn_c_try_link "$LINENO"; then :
10496 ac_cv_lib_X11_XkbQueryExtension=yes
10497 else
10498 ac_cv_lib_X11_XkbQueryExtension=no
10500 rm -f core conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10502 LIBS=$ac_check_lib_save_LIBS
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10505 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10506 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10508 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10514 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10515 then
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10517 $as_echo_n "checking for -lXcursor... " >&6; }
10518 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10519 $as_echo_n "(cached) " >&6
10520 else
10521 ac_check_soname_save_LIBS=$LIBS
10522 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10524 /* end confdefs.h. */
10526 /* Override any GCC internal prototype to avoid an error.
10527 Use char because int might match the return type of a GCC
10528 builtin and then its argument prototype would still apply. */
10529 #ifdef __cplusplus
10530 extern "C"
10531 #endif
10532 char XcursorImageLoadCursor ();
10534 main ()
10536 return XcursorImageLoadCursor ();
10538 return 0;
10540 _ACEOF
10541 if ac_fn_c_try_link "$LINENO"; then :
10542 case "$LIBEXT" in
10543 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10544 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'` ;;
10545 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10546 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10547 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10548 fi ;;
10549 esac
10551 rm -f core conftest.err conftest.$ac_objext \
10552 conftest$ac_exeext conftest.$ac_ext
10553 LIBS=$ac_check_soname_save_LIBS
10555 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10557 $as_echo "not found" >&6; }
10559 else
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10561 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10563 cat >>confdefs.h <<_ACEOF
10564 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10565 _ACEOF
10570 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10571 case "x$with_xcursor" in
10572 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10573 xno) ;;
10574 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10575 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10576 esac
10580 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10581 then
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10583 $as_echo_n "checking for -lXi... " >&6; }
10584 if ${ac_cv_lib_soname_Xi+:} false; then :
10585 $as_echo_n "(cached) " >&6
10586 else
10587 ac_check_soname_save_LIBS=$LIBS
10588 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10592 /* Override any GCC internal prototype to avoid an error.
10593 Use char because int might match the return type of a GCC
10594 builtin and then its argument prototype would still apply. */
10595 #ifdef __cplusplus
10596 extern "C"
10597 #endif
10598 char XOpenDevice ();
10600 main ()
10602 return XOpenDevice ();
10604 return 0;
10606 _ACEOF
10607 if ac_fn_c_try_link "$LINENO"; then :
10608 case "$LIBEXT" in
10609 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10610 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'` ;;
10611 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10612 if ${ac_cv_lib_soname_Xi:+false} :; then :
10613 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10614 fi ;;
10615 esac
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 LIBS=$ac_check_soname_save_LIBS
10621 if ${ac_cv_lib_soname_Xi:+false} :; then :
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10623 $as_echo "not found" >&6; }
10625 else
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10627 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10629 cat >>confdefs.h <<_ACEOF
10630 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10631 _ACEOF
10636 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10637 case "x$with_xinput" in
10638 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10639 xno) ;;
10640 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10641 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10642 esac
10646 if test "x$ac_cv_lib_soname_Xi" != x
10647 then
10648 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10649 case "x$with_xinput2" in
10650 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10651 xno) ;;
10652 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10653 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10654 esac
10659 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10660 then
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10662 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10663 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10664 $as_echo_n "(cached) " >&6
10665 else
10666 ac_check_lib_save_LIBS=$LIBS
10667 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10674 #ifdef __cplusplus
10675 extern "C"
10676 #endif
10677 char XShmQueryExtension ();
10679 main ()
10681 return XShmQueryExtension ();
10683 return 0;
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"; then :
10687 ac_cv_lib_Xext_XShmQueryExtension=yes
10688 else
10689 ac_cv_lib_Xext_XShmQueryExtension=no
10691 rm -f core conftest.err conftest.$ac_objext \
10692 conftest$ac_exeext conftest.$ac_ext
10693 LIBS=$ac_check_lib_save_LIBS
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10696 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10697 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10699 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10704 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10705 case "x$with_xshm" in
10706 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10707 xno) ;;
10708 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10709 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10710 esac
10714 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10715 then
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10717 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10718 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10719 $as_echo_n "(cached) " >&6
10720 else
10721 ac_check_lib_save_LIBS=$LIBS
10722 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10726 /* Override any GCC internal prototype to avoid an error.
10727 Use char because int might match the return type of a GCC
10728 builtin and then its argument prototype would still apply. */
10729 #ifdef __cplusplus
10730 extern "C"
10731 #endif
10732 char XShapeQueryExtension ();
10734 main ()
10736 return XShapeQueryExtension ();
10738 return 0;
10740 _ACEOF
10741 if ac_fn_c_try_link "$LINENO"; then :
10742 ac_cv_lib_Xext_XShapeQueryExtension=yes
10743 else
10744 ac_cv_lib_Xext_XShapeQueryExtension=no
10746 rm -f core conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
10748 LIBS=$ac_check_lib_save_LIBS
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10751 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10752 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10754 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10759 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10760 case "x$with_xshape" in
10761 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10762 xno) ;;
10763 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10764 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10765 esac
10769 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10770 then
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10772 $as_echo_n "checking for -lXxf86vm... " >&6; }
10773 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10774 $as_echo_n "(cached) " >&6
10775 else
10776 ac_check_soname_save_LIBS=$LIBS
10777 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10779 /* end confdefs.h. */
10781 /* Override any GCC internal prototype to avoid an error.
10782 Use char because int might match the return type of a GCC
10783 builtin and then its argument prototype would still apply. */
10784 #ifdef __cplusplus
10785 extern "C"
10786 #endif
10787 char XF86VidModeQueryExtension ();
10789 main ()
10791 return XF86VidModeQueryExtension ();
10793 return 0;
10795 _ACEOF
10796 if ac_fn_c_try_link "$LINENO"; then :
10797 case "$LIBEXT" in
10798 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10799 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'` ;;
10800 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10801 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10802 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10803 fi ;;
10804 esac
10806 rm -f core conftest.err conftest.$ac_objext \
10807 conftest$ac_exeext conftest.$ac_ext
10808 LIBS=$ac_check_soname_save_LIBS
10810 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10812 $as_echo "not found" >&6; }
10814 else
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10816 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10818 cat >>confdefs.h <<_ACEOF
10819 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10820 _ACEOF
10825 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10826 case "x$with_xxf86vm" in
10827 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10828 xno) ;;
10829 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10830 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10831 esac
10835 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10836 then
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10838 $as_echo_n "checking for -lXrender... " >&6; }
10839 if ${ac_cv_lib_soname_Xrender+:} false; then :
10840 $as_echo_n "(cached) " >&6
10841 else
10842 ac_check_soname_save_LIBS=$LIBS
10843 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10847 /* Override any GCC internal prototype to avoid an error.
10848 Use char because int might match the return type of a GCC
10849 builtin and then its argument prototype would still apply. */
10850 #ifdef __cplusplus
10851 extern "C"
10852 #endif
10853 char XRenderQueryExtension ();
10855 main ()
10857 return XRenderQueryExtension ();
10859 return 0;
10861 _ACEOF
10862 if ac_fn_c_try_link "$LINENO"; then :
10863 case "$LIBEXT" in
10864 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10865 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'` ;;
10866 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10867 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10868 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10869 fi ;;
10870 esac
10872 rm -f core conftest.err conftest.$ac_objext \
10873 conftest$ac_exeext conftest.$ac_ext
10874 LIBS=$ac_check_soname_save_LIBS
10876 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10878 $as_echo "not found" >&6; }
10880 else
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10882 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10884 cat >>confdefs.h <<_ACEOF
10885 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10886 _ACEOF
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10889 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10890 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10891 $as_echo_n "(cached) " >&6
10892 else
10893 ac_check_lib_save_LIBS=$LIBS
10894 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10898 /* Override any GCC internal prototype to avoid an error.
10899 Use char because int might match the return type of a GCC
10900 builtin and then its argument prototype would still apply. */
10901 #ifdef __cplusplus
10902 extern "C"
10903 #endif
10904 char XRenderSetPictureTransform ();
10906 main ()
10908 return XRenderSetPictureTransform ();
10910 return 0;
10912 _ACEOF
10913 if ac_fn_c_try_link "$LINENO"; then :
10914 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10915 else
10916 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10918 rm -f core conftest.err conftest.$ac_objext \
10919 conftest$ac_exeext conftest.$ac_ext
10920 LIBS=$ac_check_lib_save_LIBS
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10923 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10924 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10926 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10931 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10932 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10933 $as_echo_n "(cached) " >&6
10934 else
10935 ac_check_lib_save_LIBS=$LIBS
10936 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10940 /* Override any GCC internal prototype to avoid an error.
10941 Use char because int might match the return type of a GCC
10942 builtin and then its argument prototype would still apply. */
10943 #ifdef __cplusplus
10944 extern "C"
10945 #endif
10946 char XRenderCreateLinearGradient ();
10948 main ()
10950 return XRenderCreateLinearGradient ();
10952 return 0;
10954 _ACEOF
10955 if ac_fn_c_try_link "$LINENO"; then :
10956 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10957 else
10958 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10960 rm -f core conftest.err conftest.$ac_objext \
10961 conftest$ac_exeext conftest.$ac_ext
10962 LIBS=$ac_check_lib_save_LIBS
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10965 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10966 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10968 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10975 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10976 case "x$with_xrender" in
10977 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10978 xno) ;;
10979 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10980 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10981 esac
10985 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10986 then
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10989 #include <X11/Xlib.h>
10990 #include <X11/extensions/Xrandr.h>
10992 main ()
10994 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10996 return 0;
10998 _ACEOF
10999 if ac_fn_c_try_compile "$LINENO"; then :
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11001 $as_echo_n "checking for -lXrandr... " >&6; }
11002 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11003 $as_echo_n "(cached) " >&6
11004 else
11005 ac_check_soname_save_LIBS=$LIBS
11006 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11013 #ifdef __cplusplus
11014 extern "C"
11015 #endif
11016 char XRRQueryExtension ();
11018 main ()
11020 return XRRQueryExtension ();
11022 return 0;
11024 _ACEOF
11025 if ac_fn_c_try_link "$LINENO"; then :
11026 case "$LIBEXT" in
11027 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11028 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'` ;;
11029 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11030 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11031 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11032 fi ;;
11033 esac
11035 rm -f core conftest.err conftest.$ac_objext \
11036 conftest$ac_exeext conftest.$ac_ext
11037 LIBS=$ac_check_soname_save_LIBS
11039 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11041 $as_echo "not found" >&6; }
11043 else
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11045 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11047 cat >>confdefs.h <<_ACEOF
11048 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11049 _ACEOF
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11053 #include <X11/Xlib.h>
11054 #include <X11/extensions/Xrandr.h>
11056 main ()
11058 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11060 return 0;
11062 _ACEOF
11063 if ac_fn_c_try_compile "$LINENO"; then :
11065 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11073 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11074 case "x$with_xrandr" in
11075 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11076 xno) ;;
11077 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11078 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11079 esac
11083 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11084 then
11085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11087 #include <X11/Xlib.h>
11088 #include <X11/extensions/Xfixes.h>
11090 main ()
11092 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11094 return 0;
11096 _ACEOF
11097 if ac_fn_c_try_compile "$LINENO"; then :
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11099 $as_echo_n "checking for -lXfixes... " >&6; }
11100 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11101 $as_echo_n "(cached) " >&6
11102 else
11103 ac_check_soname_save_LIBS=$LIBS
11104 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char XFixesQueryVersion ();
11116 main ()
11118 return XFixesQueryVersion ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11124 case "$LIBEXT" in
11125 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11126 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'` ;;
11127 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11128 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11129 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11130 fi ;;
11131 esac
11133 rm -f core conftest.err conftest.$ac_objext \
11134 conftest$ac_exeext conftest.$ac_ext
11135 LIBS=$ac_check_soname_save_LIBS
11137 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11139 $as_echo "not found" >&6; }
11141 else
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11143 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11145 cat >>confdefs.h <<_ACEOF
11146 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11147 _ACEOF
11152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11154 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11155 case "x$with_xfixes" in
11156 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11157 xno) ;;
11158 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11159 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11160 esac
11164 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11165 then
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11168 #include <X11/Xlib.h>
11169 #include <X11/extensions/Xinerama.h>
11171 main ()
11173 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11175 return 0;
11177 _ACEOF
11178 if ac_fn_c_try_compile "$LINENO"; then :
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11180 $as_echo_n "checking for -lXinerama... " >&6; }
11181 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11182 $as_echo_n "(cached) " >&6
11183 else
11184 ac_check_soname_save_LIBS=$LIBS
11185 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11192 #ifdef __cplusplus
11193 extern "C"
11194 #endif
11195 char XineramaQueryScreens ();
11197 main ()
11199 return XineramaQueryScreens ();
11201 return 0;
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"; then :
11205 case "$LIBEXT" in
11206 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11207 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'` ;;
11208 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11209 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11210 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11211 fi ;;
11212 esac
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_soname_save_LIBS
11218 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11220 $as_echo "not found" >&6; }
11222 else
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11224 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11226 cat >>confdefs.h <<_ACEOF
11227 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11228 _ACEOF
11233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11235 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11236 case "x$with_xinerama" in
11237 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11238 xno) ;;
11239 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11240 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11241 esac
11245 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11246 then
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11248 $as_echo_n "checking for -lXcomposite... " >&6; }
11249 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11250 $as_echo_n "(cached) " >&6
11251 else
11252 ac_check_soname_save_LIBS=$LIBS
11253 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11260 #ifdef __cplusplus
11261 extern "C"
11262 #endif
11263 char XCompositeRedirectWindow ();
11265 main ()
11267 return XCompositeRedirectWindow ();
11269 return 0;
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"; then :
11273 case "$LIBEXT" in
11274 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11275 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'` ;;
11276 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11277 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11278 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11279 fi ;;
11280 esac
11282 rm -f core conftest.err conftest.$ac_objext \
11283 conftest$ac_exeext conftest.$ac_ext
11284 LIBS=$ac_check_soname_save_LIBS
11286 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11288 $as_echo "not found" >&6; }
11290 else
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11292 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11294 cat >>confdefs.h <<_ACEOF
11295 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11296 _ACEOF
11301 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11302 case "x$with_xcomposite" in
11303 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11304 xno) ;;
11305 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11306 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11307 esac
11311 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11312 #include <X11/Xlib.h>
11313 #endif
11315 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11317 cat >>confdefs.h <<_ACEOF
11318 #define HAVE_XICCALLBACK_CALLBACK 1
11319 _ACEOF
11323 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11324 #include <X11/Xlib.h>
11325 #endif
11327 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11329 cat >>confdefs.h <<_ACEOF
11330 #define HAVE_XEVENT_XCOOKIE 1
11331 _ACEOF
11338 opengl_msg=""
11339 if test "x$with_opengl" != "xno"
11340 then
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11342 $as_echo_n "checking for -lGL... " >&6; }
11343 if ${ac_cv_lib_soname_GL+:} false; then :
11344 $as_echo_n "(cached) " >&6
11345 else
11346 ac_check_soname_save_LIBS=$LIBS
11347 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h. */
11351 /* Override any GCC internal prototype to avoid an error.
11352 Use char because int might match the return type of a GCC
11353 builtin and then its argument prototype would still apply. */
11354 #ifdef __cplusplus
11355 extern "C"
11356 #endif
11357 char glXCreateContext ();
11359 main ()
11361 return glXCreateContext ();
11363 return 0;
11365 _ACEOF
11366 if ac_fn_c_try_link "$LINENO"; then :
11367 case "$LIBEXT" in
11368 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11369 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'` ;;
11370 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11371 if ${ac_cv_lib_soname_GL:+false} :; then :
11372 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11373 fi ;;
11374 esac
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_soname_save_LIBS
11380 if ${ac_cv_lib_soname_GL:+false} :; then :
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11382 $as_echo "not found" >&6; }
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11384 $as_echo_n "checking for -lGL... " >&6; }
11385 if ${ac_cv_lib_soname_GL+:} false; then :
11386 $as_echo_n "(cached) " >&6
11387 else
11388 ac_check_soname_save_LIBS=$LIBS
11389 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"
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char glXCreateContext ();
11401 main ()
11403 return glXCreateContext ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 case "$LIBEXT" in
11410 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11411 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'` ;;
11412 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11413 if ${ac_cv_lib_soname_GL:+false} :; then :
11414 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11415 fi ;;
11416 esac
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_soname_save_LIBS
11422 if ${ac_cv_lib_soname_GL:+false} :; then :
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11424 $as_echo "not found" >&6; }
11425 if test -f /usr/X11R6/lib/libGL.a
11426 then
11427 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11428 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11429 else
11430 opengl_msg="No OpenGL library found on this system."
11432 else
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11434 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11436 cat >>confdefs.h <<_ACEOF
11437 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11438 _ACEOF
11440 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"
11442 else
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11444 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11446 cat >>confdefs.h <<_ACEOF
11447 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11448 _ACEOF
11450 OPENGL_LIBS="-lGL"
11452 if test "x$with_glu" != "xno"
11453 then
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11455 $as_echo_n "checking for -lGLU... " >&6; }
11456 if ${ac_cv_lib_soname_GLU+:} false; then :
11457 $as_echo_n "(cached) " >&6
11458 else
11459 ac_check_soname_save_LIBS=$LIBS
11460 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11464 /* Override any GCC internal prototype to avoid an error.
11465 Use char because int might match the return type of a GCC
11466 builtin and then its argument prototype would still apply. */
11467 #ifdef __cplusplus
11468 extern "C"
11469 #endif
11470 char gluLookAt ();
11472 main ()
11474 return gluLookAt ();
11476 return 0;
11478 _ACEOF
11479 if ac_fn_c_try_link "$LINENO"; then :
11480 case "$LIBEXT" in
11481 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11482 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'` ;;
11483 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11484 if ${ac_cv_lib_soname_GLU:+false} :; then :
11485 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11486 fi ;;
11487 esac
11489 rm -f core conftest.err conftest.$ac_objext \
11490 conftest$ac_exeext conftest.$ac_ext
11491 LIBS=$ac_check_soname_save_LIBS
11493 if ${ac_cv_lib_soname_GLU:+false} :; then :
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11495 $as_echo "not found" >&6; }
11497 else
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11499 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11501 cat >>confdefs.h <<_ACEOF
11502 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11503 _ACEOF
11507 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11508 case "x$with_glu" in
11509 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11510 xno) ;;
11511 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11512 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11513 esac
11518 if test "x$with_osmesa" != "xno"
11519 then
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11521 $as_echo_n "checking for -lOSMesa... " >&6; }
11522 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11523 $as_echo_n "(cached) " >&6
11524 else
11525 ac_check_soname_save_LIBS=$LIBS
11526 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11528 /* end confdefs.h. */
11530 /* Override any GCC internal prototype to avoid an error.
11531 Use char because int might match the return type of a GCC
11532 builtin and then its argument prototype would still apply. */
11533 #ifdef __cplusplus
11534 extern "C"
11535 #endif
11536 char OSMesaGetProcAddress ();
11538 main ()
11540 return OSMesaGetProcAddress ();
11542 return 0;
11544 _ACEOF
11545 if ac_fn_c_try_link "$LINENO"; then :
11546 case "$LIBEXT" in
11547 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11548 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'` ;;
11549 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11550 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11551 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11552 fi ;;
11553 esac
11555 rm -f core conftest.err conftest.$ac_objext \
11556 conftest$ac_exeext conftest.$ac_ext
11557 LIBS=$ac_check_soname_save_LIBS
11559 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11561 $as_echo "not found" >&6; }
11563 else
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11565 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11567 cat >>confdefs.h <<_ACEOF
11568 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11569 _ACEOF
11573 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11574 case "x$with_osmesa" in
11575 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11576 xno) ;;
11577 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11578 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11579 esac
11584 if test -n "$opengl_msg"; then :
11585 case "x$with_opengl" in
11586 x) as_fn_append wine_warnings "|$opengl_msg
11587 OpenGL and Direct3D won't be supported." ;;
11588 xno) ;;
11589 *) as_fn_error $? "$opengl_msg
11590 OpenGL and Direct3D won't be supported.
11591 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11592 esac
11596 CPPFLAGS="$ac_save_CPPFLAGS"
11597 else
11598 X_CFLAGS=""
11599 X_LIBS=""
11602 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11603 then
11604 if test "x$X_LIBS" = "x"; then :
11605 case "x$with_x" in
11606 xno) ;;
11607 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11608 without X support, which probably isn't what you want. You will need
11609 to install ${notice_platform}development packages of Xlib at the very least.
11610 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11611 esac
11612 enable_winex11_drv=${enable_winex11_drv:-no}
11614 else
11615 if test "x$X_LIBS" = "x"; then :
11616 case "x$with_x" in
11617 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11618 xno) ;;
11619 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11620 This is an error since --with-x was requested." "$LINENO" 5 ;;
11621 esac
11622 enable_winex11_drv=${enable_winex11_drv:-no}
11626 if test "$ac_cv_header_CL_cl_h" = "yes"
11627 then
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11629 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11630 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11631 $as_echo_n "(cached) " >&6
11632 else
11633 ac_check_lib_save_LIBS=$LIBS
11634 LIBS="-lOpenCL $LIBS"
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11638 /* Override any GCC internal prototype to avoid an error.
11639 Use char because int might match the return type of a GCC
11640 builtin and then its argument prototype would still apply. */
11641 #ifdef __cplusplus
11642 extern "C"
11643 #endif
11644 char clGetPlatformInfo ();
11646 main ()
11648 return clGetPlatformInfo ();
11650 return 0;
11652 _ACEOF
11653 if ac_fn_c_try_link "$LINENO"; then :
11654 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11655 else
11656 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11658 rm -f core conftest.err conftest.$ac_objext \
11659 conftest$ac_exeext conftest.$ac_ext
11660 LIBS=$ac_check_lib_save_LIBS
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11663 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11664 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11665 OPENCL_LIBS="-lOpenCL"
11670 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11671 case "x$with_opencl" in
11672 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11673 xno) ;;
11674 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11675 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11676 esac
11677 enable_opencl=${enable_opencl:-no}
11680 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11681 then
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11683 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11684 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11685 $as_echo_n "(cached) " >&6
11686 else
11687 ac_check_lib_save_LIBS=$LIBS
11688 LIBS="-lpcap $LIBS"
11689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11692 /* Override any GCC internal prototype to avoid an error.
11693 Use char because int might match the return type of a GCC
11694 builtin and then its argument prototype would still apply. */
11695 #ifdef __cplusplus
11696 extern "C"
11697 #endif
11698 char pcap_create ();
11700 main ()
11702 return pcap_create ();
11704 return 0;
11706 _ACEOF
11707 if ac_fn_c_try_link "$LINENO"; then :
11708 ac_cv_lib_pcap_pcap_create=yes
11709 else
11710 ac_cv_lib_pcap_pcap_create=no
11712 rm -f core conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11714 LIBS=$ac_check_lib_save_LIBS
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11717 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11718 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11719 PCAP_LIBS="-lpcap"
11724 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11725 case "x$with_pcap" in
11726 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11727 xno) ;;
11728 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11729 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11730 esac
11731 enable_wpcap=${enable_wpcap:-no}
11735 if test "x$with_xml" != "xno"
11736 then
11737 if ${XML2_CFLAGS:+false} :; then :
11738 if ${PKG_CONFIG+:} false; then :
11739 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11742 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11743 if ${XML2_LIBS:+false} :; then :
11744 if ${PKG_CONFIG+:} false; then :
11745 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11748 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11749 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11750 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11751 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11752 ac_save_CPPFLAGS=$CPPFLAGS
11753 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11754 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11755 do :
11756 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11757 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11758 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11759 cat >>confdefs.h <<_ACEOF
11760 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11761 _ACEOF
11765 done
11767 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"
11768 then
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11770 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11771 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11772 $as_echo_n "(cached) " >&6
11773 else
11774 ac_check_lib_save_LIBS=$LIBS
11775 LIBS="-lxml2 $XML2_LIBS $LIBS"
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11779 /* Override any GCC internal prototype to avoid an error.
11780 Use char because int might match the return type of a GCC
11781 builtin and then its argument prototype would still apply. */
11782 #ifdef __cplusplus
11783 extern "C"
11784 #endif
11785 char xmlParseMemory ();
11787 main ()
11789 return xmlParseMemory ();
11791 return 0;
11793 _ACEOF
11794 if ac_fn_c_try_link "$LINENO"; then :
11795 ac_cv_lib_xml2_xmlParseMemory=yes
11796 else
11797 ac_cv_lib_xml2_xmlParseMemory=no
11799 rm -f core conftest.err conftest.$ac_objext \
11800 conftest$ac_exeext conftest.$ac_ext
11801 LIBS=$ac_check_lib_save_LIBS
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11804 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11805 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11807 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11809 else
11810 XML2_LIBS=""
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11814 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11815 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11816 $as_echo_n "(cached) " >&6
11817 else
11818 ac_check_lib_save_LIBS=$LIBS
11819 LIBS="-lxml2 $XML2_LIBS $LIBS"
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11826 #ifdef __cplusplus
11827 extern "C"
11828 #endif
11829 char xmlReadMemory ();
11831 main ()
11833 return xmlReadMemory ();
11835 return 0;
11837 _ACEOF
11838 if ac_fn_c_try_link "$LINENO"; then :
11839 ac_cv_lib_xml2_xmlReadMemory=yes
11840 else
11841 ac_cv_lib_xml2_xmlReadMemory=no
11843 rm -f core conftest.err conftest.$ac_objext \
11844 conftest$ac_exeext conftest.$ac_ext
11845 LIBS=$ac_check_lib_save_LIBS
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11848 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11849 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11851 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11856 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11857 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11858 $as_echo_n "(cached) " >&6
11859 else
11860 ac_check_lib_save_LIBS=$LIBS
11861 LIBS="-lxml2 $XML2_LIBS $LIBS"
11862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11865 /* Override any GCC internal prototype to avoid an error.
11866 Use char because int might match the return type of a GCC
11867 builtin and then its argument prototype would still apply. */
11868 #ifdef __cplusplus
11869 extern "C"
11870 #endif
11871 char xmlNewDocPI ();
11873 main ()
11875 return xmlNewDocPI ();
11877 return 0;
11879 _ACEOF
11880 if ac_fn_c_try_link "$LINENO"; then :
11881 ac_cv_lib_xml2_xmlNewDocPI=yes
11882 else
11883 ac_cv_lib_xml2_xmlNewDocPI=no
11885 rm -f core conftest.err conftest.$ac_objext \
11886 conftest$ac_exeext conftest.$ac_ext
11887 LIBS=$ac_check_lib_save_LIBS
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11890 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11891 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11893 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11898 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11899 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11900 $as_echo_n "(cached) " >&6
11901 else
11902 ac_check_lib_save_LIBS=$LIBS
11903 LIBS="-lxml2 $XML2_LIBS $LIBS"
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 /* Override any GCC internal prototype to avoid an error.
11908 Use char because int might match the return type of a GCC
11909 builtin and then its argument prototype would still apply. */
11910 #ifdef __cplusplus
11911 extern "C"
11912 #endif
11913 char xmlSchemaSetParserStructuredErrors ();
11915 main ()
11917 return xmlSchemaSetParserStructuredErrors ();
11919 return 0;
11921 _ACEOF
11922 if ac_fn_c_try_link "$LINENO"; then :
11923 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11924 else
11925 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11927 rm -f core conftest.err conftest.$ac_objext \
11928 conftest$ac_exeext conftest.$ac_ext
11929 LIBS=$ac_check_lib_save_LIBS
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11932 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11933 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11935 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11940 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11941 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 ac_check_lib_save_LIBS=$LIBS
11945 LIBS="-lxml2 $XML2_LIBS $LIBS"
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11952 #ifdef __cplusplus
11953 extern "C"
11954 #endif
11955 char xmlSchemaSetValidStructuredErrors ();
11957 main ()
11959 return xmlSchemaSetValidStructuredErrors ();
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11966 else
11967 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_lib_save_LIBS
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11974 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11975 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11977 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11982 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11983 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11984 $as_echo_n "(cached) " >&6
11985 else
11986 ac_check_lib_save_LIBS=$LIBS
11987 LIBS="-lxml2 $XML2_LIBS $LIBS"
11988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11989 /* end confdefs.h. */
11991 /* Override any GCC internal prototype to avoid an error.
11992 Use char because int might match the return type of a GCC
11993 builtin and then its argument prototype would still apply. */
11994 #ifdef __cplusplus
11995 extern "C"
11996 #endif
11997 char xmlFirstElementChild ();
11999 main ()
12001 return xmlFirstElementChild ();
12003 return 0;
12005 _ACEOF
12006 if ac_fn_c_try_link "$LINENO"; then :
12007 ac_cv_lib_xml2_xmlFirstElementChild=yes
12008 else
12009 ac_cv_lib_xml2_xmlFirstElementChild=no
12011 rm -f core conftest.err conftest.$ac_objext \
12012 conftest$ac_exeext conftest.$ac_ext
12013 LIBS=$ac_check_lib_save_LIBS
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12016 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12017 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12019 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12023 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12025 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12027 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12031 else
12032 XML2_CFLAGS=""
12033 XML2_LIBS=""
12035 CPPFLAGS=$ac_save_CPPFLAGS
12036 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12037 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12040 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12041 case "x$with_xml" in
12042 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12043 xno) ;;
12044 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12045 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12046 esac
12050 if test "x$with_xslt" != "xno"
12051 then
12052 if ${XSLT_CFLAGS:+false} :; then :
12053 if ${PKG_CONFIG+:} false; then :
12054 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12057 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12058 if ${XSLT_LIBS:+false} :; then :
12059 if ${PKG_CONFIG+:} false; then :
12060 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12063 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12064 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12065 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12066 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12067 ac_save_CPPFLAGS=$CPPFLAGS
12068 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12069 for ac_header in libxslt/pattern.h libxslt/transform.h
12070 do :
12071 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12072 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12073 # include <libxslt/pattern.h>
12074 #endif
12076 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12077 cat >>confdefs.h <<_ACEOF
12078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12079 _ACEOF
12083 done
12085 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12086 then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12088 $as_echo_n "checking for -lxslt... " >&6; }
12089 if ${ac_cv_lib_soname_xslt+:} false; then :
12090 $as_echo_n "(cached) " >&6
12091 else
12092 ac_check_soname_save_LIBS=$LIBS
12093 LIBS="-lxslt $XSLT_LIBS $LIBS"
12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12097 /* Override any GCC internal prototype to avoid an error.
12098 Use char because int might match the return type of a GCC
12099 builtin and then its argument prototype would still apply. */
12100 #ifdef __cplusplus
12101 extern "C"
12102 #endif
12103 char xsltCompilePattern ();
12105 main ()
12107 return xsltCompilePattern ();
12109 return 0;
12111 _ACEOF
12112 if ac_fn_c_try_link "$LINENO"; then :
12113 case "$LIBEXT" in
12114 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12115 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'` ;;
12116 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12117 if ${ac_cv_lib_soname_xslt:+false} :; then :
12118 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12119 fi ;;
12120 esac
12122 rm -f core conftest.err conftest.$ac_objext \
12123 conftest$ac_exeext conftest.$ac_ext
12124 LIBS=$ac_check_soname_save_LIBS
12126 if ${ac_cv_lib_soname_xslt:+false} :; then :
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12128 $as_echo "not found" >&6; }
12130 else
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12132 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12134 cat >>confdefs.h <<_ACEOF
12135 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12136 _ACEOF
12140 else
12141 XSLT_CFLAGS=""
12143 CPPFLAGS=$ac_save_CPPFLAGS
12144 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12145 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12148 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12149 case "x$with_xslt" in
12150 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12151 xno) ;;
12152 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12153 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12154 esac
12158 if test "x$with_dbus" != "xno"
12159 then
12160 if ${DBUS_CFLAGS:+false} :; then :
12161 if ${PKG_CONFIG+:} false; then :
12162 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12166 if ${DBUS_LIBS:+false} :; then :
12167 if ${PKG_CONFIG+:} false; then :
12168 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12173 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12174 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12175 ac_save_CPPFLAGS=$CPPFLAGS
12176 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12177 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12178 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12180 $as_echo_n "checking for -ldbus-1... " >&6; }
12181 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 ac_check_soname_save_LIBS=$LIBS
12185 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12192 #ifdef __cplusplus
12193 extern "C"
12194 #endif
12195 char dbus_connection_close ();
12197 main ()
12199 return dbus_connection_close ();
12201 return 0;
12203 _ACEOF
12204 if ac_fn_c_try_link "$LINENO"; then :
12205 case "$LIBEXT" in
12206 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12207 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'` ;;
12208 *) 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'`
12209 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12210 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12211 fi ;;
12212 esac
12214 rm -f core conftest.err conftest.$ac_objext \
12215 conftest$ac_exeext conftest.$ac_ext
12216 LIBS=$ac_check_soname_save_LIBS
12218 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12220 $as_echo "not found" >&6; }
12221 DBUS_CFLAGS=""
12222 else
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12224 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12226 cat >>confdefs.h <<_ACEOF
12227 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12228 _ACEOF
12232 else
12233 DBUS_CFLAGS=""
12237 CPPFLAGS=$ac_save_CPPFLAGS
12238 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12239 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12242 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12243 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12244 case "x$with_dbus" in
12245 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12246 xno) ;;
12247 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12248 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12249 esac
12253 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12254 then
12255 if ${HAL_CFLAGS:+false} :; then :
12256 if ${PKG_CONFIG+:} false; then :
12257 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12261 if ${HAL_LIBS:+false} :; then :
12262 if ${PKG_CONFIG+:} false; then :
12263 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12267 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12268 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12269 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12270 ac_save_CPPFLAGS=$CPPFLAGS
12271 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12272 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12273 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12275 $as_echo_n "checking for -lhal... " >&6; }
12276 if ${ac_cv_lib_soname_hal+:} false; then :
12277 $as_echo_n "(cached) " >&6
12278 else
12279 ac_check_soname_save_LIBS=$LIBS
12280 LIBS="-lhal $HAL_LIBS $LIBS"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12284 /* Override any GCC internal prototype to avoid an error.
12285 Use char because int might match the return type of a GCC
12286 builtin and then its argument prototype would still apply. */
12287 #ifdef __cplusplus
12288 extern "C"
12289 #endif
12290 char libhal_ctx_new ();
12292 main ()
12294 return libhal_ctx_new ();
12296 return 0;
12298 _ACEOF
12299 if ac_fn_c_try_link "$LINENO"; then :
12300 case "$LIBEXT" in
12301 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12302 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'` ;;
12303 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12304 if ${ac_cv_lib_soname_hal:+false} :; then :
12305 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12306 fi ;;
12307 esac
12309 rm -f core conftest.err conftest.$ac_objext \
12310 conftest$ac_exeext conftest.$ac_ext
12311 LIBS=$ac_check_soname_save_LIBS
12313 if ${ac_cv_lib_soname_hal:+false} :; then :
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12315 $as_echo "not found" >&6; }
12316 HAL_CFLAGS=""
12317 else
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12319 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12321 cat >>confdefs.h <<_ACEOF
12322 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12323 _ACEOF
12327 else
12328 HAL_CFLAGS=""
12332 CPPFLAGS=$ac_save_CPPFLAGS
12333 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12334 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12336 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12337 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12338 case "x$with_hal" in
12339 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12340 xno) ;;
12341 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12342 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12343 esac
12348 if test "x$with_gnutls" != "xno"
12349 then
12350 if ${GNUTLS_CFLAGS:+false} :; then :
12351 if ${PKG_CONFIG+:} false; then :
12352 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12356 if ${GNUTLS_LIBS:+false} :; then :
12357 if ${PKG_CONFIG+:} false; then :
12358 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12363 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12364 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12365 ac_save_CPPFLAGS=$CPPFLAGS
12366 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12367 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12368 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12371 #include <gnutls/gnutls.h>
12372 #include <gnutls/crypto.h>
12374 main ()
12376 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12378 return 0;
12380 _ACEOF
12381 if ac_fn_c_try_compile "$LINENO"; then :
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12383 $as_echo_n "checking for -lgnutls... " >&6; }
12384 if ${ac_cv_lib_soname_gnutls+:} false; then :
12385 $as_echo_n "(cached) " >&6
12386 else
12387 ac_check_soname_save_LIBS=$LIBS
12388 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12392 /* Override any GCC internal prototype to avoid an error.
12393 Use char because int might match the return type of a GCC
12394 builtin and then its argument prototype would still apply. */
12395 #ifdef __cplusplus
12396 extern "C"
12397 #endif
12398 char gnutls_global_init ();
12400 main ()
12402 return gnutls_global_init ();
12404 return 0;
12406 _ACEOF
12407 if ac_fn_c_try_link "$LINENO"; then :
12408 case "$LIBEXT" in
12409 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12410 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'` ;;
12411 *) 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'`
12412 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12413 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'`
12414 fi ;;
12415 esac
12417 rm -f core conftest.err conftest.$ac_objext \
12418 conftest$ac_exeext conftest.$ac_ext
12419 LIBS=$ac_check_soname_save_LIBS
12421 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12423 $as_echo "not found" >&6; }
12424 GNUTLS_CFLAGS=""
12425 else
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12427 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12429 cat >>confdefs.h <<_ACEOF
12430 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12431 _ACEOF
12435 ac_wine_check_funcs_save_LIBS="$LIBS"
12436 LIBS="$LIBS $GNUTLS_LIBS"
12437 for ac_func in gnutls_cipher_init
12438 do :
12439 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12440 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12441 cat >>confdefs.h <<_ACEOF
12442 #define HAVE_GNUTLS_CIPHER_INIT 1
12443 _ACEOF
12445 else
12446 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12448 done
12450 LIBS="$ac_wine_check_funcs_save_LIBS"
12452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12453 else
12454 GNUTLS_CFLAGS=""
12458 CPPFLAGS=$ac_save_CPPFLAGS
12459 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12460 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12463 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12464 case "x$with_gnutls" in
12465 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12466 xno) ;;
12467 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12468 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12469 esac
12473 CURSES_LIBS=""
12474 if test "$ac_cv_header_ncurses_h" = "yes"
12475 then
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12477 $as_echo_n "checking for -lncurses... " >&6; }
12478 if ${ac_cv_lib_soname_ncurses+:} false; then :
12479 $as_echo_n "(cached) " >&6
12480 else
12481 ac_check_soname_save_LIBS=$LIBS
12482 LIBS="-lncurses $LIBS"
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12486 /* Override any GCC internal prototype to avoid an error.
12487 Use char because int might match the return type of a GCC
12488 builtin and then its argument prototype would still apply. */
12489 #ifdef __cplusplus
12490 extern "C"
12491 #endif
12492 char waddch ();
12494 main ()
12496 return waddch ();
12498 return 0;
12500 _ACEOF
12501 if ac_fn_c_try_link "$LINENO"; then :
12502 case "$LIBEXT" in
12503 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12504 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'` ;;
12505 *) 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'`
12506 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12507 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12508 fi ;;
12509 esac
12511 rm -f core conftest.err conftest.$ac_objext \
12512 conftest$ac_exeext conftest.$ac_ext
12513 LIBS=$ac_check_soname_save_LIBS
12515 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12517 $as_echo "not found" >&6; }
12519 else
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12521 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12523 cat >>confdefs.h <<_ACEOF
12524 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12525 _ACEOF
12527 CURSES_LIBS="-lncurses"
12529 elif test "$ac_cv_header_curses_h" = "yes"
12530 then
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12532 $as_echo_n "checking for -lcurses... " >&6; }
12533 if ${ac_cv_lib_soname_curses+:} false; then :
12534 $as_echo_n "(cached) " >&6
12535 else
12536 ac_check_soname_save_LIBS=$LIBS
12537 LIBS="-lcurses $LIBS"
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12544 #ifdef __cplusplus
12545 extern "C"
12546 #endif
12547 char waddch ();
12549 main ()
12551 return waddch ();
12553 return 0;
12555 _ACEOF
12556 if ac_fn_c_try_link "$LINENO"; then :
12557 case "$LIBEXT" in
12558 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12559 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'` ;;
12560 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12561 if ${ac_cv_lib_soname_curses:+false} :; then :
12562 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12563 fi ;;
12564 esac
12566 rm -f core conftest.err conftest.$ac_objext \
12567 conftest$ac_exeext conftest.$ac_ext
12568 LIBS=$ac_check_soname_save_LIBS
12570 if ${ac_cv_lib_soname_curses:+false} :; then :
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12572 $as_echo "not found" >&6; }
12574 else
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12576 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12578 cat >>confdefs.h <<_ACEOF
12579 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12580 _ACEOF
12582 CURSES_LIBS="-lcurses"
12585 ac_save_LIBS="$LIBS"
12586 LIBS="$LIBS $CURSES_LIBS"
12587 for ac_func in mousemask
12588 do :
12589 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12590 if test "x$ac_cv_func_mousemask" = xyes; then :
12591 cat >>confdefs.h <<_ACEOF
12592 #define HAVE_MOUSEMASK 1
12593 _ACEOF
12596 done
12598 LIBS="$ac_save_LIBS"
12599 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12600 case "x$with_curses" in
12601 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12602 xno) ;;
12603 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12604 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12605 esac
12609 if test "x$with_sane" != "xno"
12610 then
12611 if ${SANE_CFLAGS:+false} :; then :
12612 if ${PKG_CONFIG+:} false; then :
12613 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12616 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12617 if ${SANE_LIBS:+false} :; then :
12618 if ${PKG_CONFIG+:} false; then :
12619 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12622 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12624 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12625 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12626 ac_save_CPPFLAGS=$CPPFLAGS
12627 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12628 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12629 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12631 $as_echo_n "checking for -lsane... " >&6; }
12632 if ${ac_cv_lib_soname_sane+:} false; then :
12633 $as_echo_n "(cached) " >&6
12634 else
12635 ac_check_soname_save_LIBS=$LIBS
12636 LIBS="-lsane $SANE_LIBS $LIBS"
12637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638 /* end confdefs.h. */
12640 /* Override any GCC internal prototype to avoid an error.
12641 Use char because int might match the return type of a GCC
12642 builtin and then its argument prototype would still apply. */
12643 #ifdef __cplusplus
12644 extern "C"
12645 #endif
12646 char sane_init ();
12648 main ()
12650 return sane_init ();
12652 return 0;
12654 _ACEOF
12655 if ac_fn_c_try_link "$LINENO"; then :
12656 case "$LIBEXT" in
12657 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12658 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'` ;;
12659 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12660 if ${ac_cv_lib_soname_sane:+false} :; then :
12661 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12662 fi ;;
12663 esac
12665 rm -f core conftest.err conftest.$ac_objext \
12666 conftest$ac_exeext conftest.$ac_ext
12667 LIBS=$ac_check_soname_save_LIBS
12669 if ${ac_cv_lib_soname_sane:+false} :; then :
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12671 $as_echo "not found" >&6; }
12672 SANE_CFLAGS=""
12673 else
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12675 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12677 cat >>confdefs.h <<_ACEOF
12678 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12679 _ACEOF
12683 else
12684 SANE_CFLAGS=""
12688 CPPFLAGS=$ac_save_CPPFLAGS
12689 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12690 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12693 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12694 case "x$with_sane" in
12695 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12696 xno) ;;
12697 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12698 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12699 esac
12703 if test "x$with_v4l" != "xno"
12704 then
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12706 $as_echo_n "checking for -lv4l1... " >&6; }
12707 if ${ac_cv_lib_soname_v4l1+:} false; then :
12708 $as_echo_n "(cached) " >&6
12709 else
12710 ac_check_soname_save_LIBS=$LIBS
12711 LIBS="-lv4l1 $LIBS"
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12715 /* Override any GCC internal prototype to avoid an error.
12716 Use char because int might match the return type of a GCC
12717 builtin and then its argument prototype would still apply. */
12718 #ifdef __cplusplus
12719 extern "C"
12720 #endif
12721 char v4l1_open ();
12723 main ()
12725 return v4l1_open ();
12727 return 0;
12729 _ACEOF
12730 if ac_fn_c_try_link "$LINENO"; then :
12731 case "$LIBEXT" in
12732 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12733 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'` ;;
12734 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12735 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12736 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12737 fi ;;
12738 esac
12740 rm -f core conftest.err conftest.$ac_objext \
12741 conftest$ac_exeext conftest.$ac_ext
12742 LIBS=$ac_check_soname_save_LIBS
12744 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12746 $as_echo "not found" >&6; }
12748 else
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12750 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12752 cat >>confdefs.h <<_ACEOF
12753 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12754 _ACEOF
12759 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12760 case "x$with_v4l" in
12761 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12762 xno) ;;
12763 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12764 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12765 esac
12769 if test "x$with_gphoto" != "xno"
12770 then
12771 if ${GPHOTO2_CFLAGS:+false} :; then :
12772 if ${PKG_CONFIG+:} false; then :
12773 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12776 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12777 if ${GPHOTO2_LIBS:+false} :; then :
12778 if ${PKG_CONFIG+:} false; then :
12779 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12782 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12783 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12784 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12785 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12786 ac_save_CPPFLAGS=$CPPFLAGS
12787 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12788 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12789 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12791 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12792 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12793 $as_echo_n "(cached) " >&6
12794 else
12795 ac_check_lib_save_LIBS=$LIBS
12796 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12798 /* end confdefs.h. */
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12803 #ifdef __cplusplus
12804 extern "C"
12805 #endif
12806 char gp_camera_new ();
12808 main ()
12810 return gp_camera_new ();
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_link "$LINENO"; then :
12816 ac_cv_lib_gphoto2_gp_camera_new=yes
12817 else
12818 ac_cv_lib_gphoto2_gp_camera_new=no
12820 rm -f core conftest.err conftest.$ac_objext \
12821 conftest$ac_exeext conftest.$ac_ext
12822 LIBS=$ac_check_lib_save_LIBS
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12825 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12826 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12828 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12830 else
12831 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12834 else
12835 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12839 CPPFLAGS=$ac_save_CPPFLAGS
12840 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12841 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12843 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12844 if ${PKG_CONFIG+:} false; then :
12845 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12848 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12849 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12850 if ${PKG_CONFIG+:} false; then :
12851 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12854 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12855 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12856 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12857 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12858 ac_save_CPPFLAGS=$CPPFLAGS
12859 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12860 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12861 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12863 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12864 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12865 $as_echo_n "(cached) " >&6
12866 else
12867 ac_check_lib_save_LIBS=$LIBS
12868 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12870 /* end confdefs.h. */
12872 /* Override any GCC internal prototype to avoid an error.
12873 Use char because int might match the return type of a GCC
12874 builtin and then its argument prototype would still apply. */
12875 #ifdef __cplusplus
12876 extern "C"
12877 #endif
12878 char gp_port_info_list_new ();
12880 main ()
12882 return gp_port_info_list_new ();
12884 return 0;
12886 _ACEOF
12887 if ac_fn_c_try_link "$LINENO"; then :
12888 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12889 else
12890 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12892 rm -f core conftest.err conftest.$ac_objext \
12893 conftest$ac_exeext conftest.$ac_ext
12894 LIBS=$ac_check_lib_save_LIBS
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12897 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12898 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12900 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12902 else
12903 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12906 else
12907 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12911 CPPFLAGS=$ac_save_CPPFLAGS
12912 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12913 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12916 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12917 case "x$with_gphoto" in
12918 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12919 xno) ;;
12920 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12921 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12922 esac
12925 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12926 case "x$with_gphoto" in
12927 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12928 xno) ;;
12929 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12930 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12931 esac
12936 if test "$ac_cv_header_resolv_h" = "yes"
12937 then
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12939 $as_echo_n "checking for resolver library... " >&6; }
12940 if ${ac_cv_have_resolv+:} false; then :
12941 $as_echo_n "(cached) " >&6
12942 else
12943 ac_save_LIBS="$LIBS"
12944 for lib in '' -lresolv
12946 LIBS="$lib $ac_save_LIBS"
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12949 #ifdef HAVE_NETINET_IN_H
12950 #include <netinet/in.h>
12951 #endif
12952 #include <resolv.h>
12954 main ()
12956 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12958 return 0;
12960 _ACEOF
12961 if ac_fn_c_try_link "$LINENO"; then :
12962 ac_cv_have_resolv=${lib:-"none required"}
12963 else
12964 ac_cv_have_resolv="not found"
12966 rm -f core conftest.err conftest.$ac_objext \
12967 conftest$ac_exeext conftest.$ac_ext
12968 test "x$ac_cv_have_resolv" = "xnot found" || break
12969 done
12970 LIBS="$ac_save_LIBS"
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12973 $as_echo "$ac_cv_have_resolv" >&6; }
12975 case "$ac_cv_have_resolv" in
12976 "not found") ;;
12977 "none required")
12979 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12982 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12984 RESOLV_LIBS=$ac_cv_have_resolv
12986 esac
12989 if test "x$with_cms" != "xno"
12990 then
12991 if ${LCMS2_CFLAGS:+false} :; then :
12992 if ${PKG_CONFIG+:} false; then :
12993 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12997 if ${LCMS2_LIBS:+false} :; then :
12998 if ${PKG_CONFIG+:} false; then :
12999 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13003 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13004 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13005 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13006 ac_save_CPPFLAGS=$CPPFLAGS
13007 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13008 for ac_header in lcms2.h
13009 do :
13010 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13011 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13012 cat >>confdefs.h <<_ACEOF
13013 #define HAVE_LCMS2_H 1
13014 _ACEOF
13018 done
13020 if test "$ac_cv_header_lcms2_h" = "yes"
13021 then
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13023 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13024 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13025 $as_echo_n "(cached) " >&6
13026 else
13027 ac_check_lib_save_LIBS=$LIBS
13028 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13035 #ifdef __cplusplus
13036 extern "C"
13037 #endif
13038 char cmsOpenProfileFromFile ();
13040 main ()
13042 return cmsOpenProfileFromFile ();
13044 return 0;
13046 _ACEOF
13047 if ac_fn_c_try_link "$LINENO"; then :
13048 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13049 else
13050 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13052 rm -f core conftest.err conftest.$ac_objext \
13053 conftest$ac_exeext conftest.$ac_ext
13054 LIBS=$ac_check_lib_save_LIBS
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13057 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13058 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13060 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13062 else
13063 LCMS2_LIBS=""
13066 else
13067 LCMS2_CFLAGS=""
13068 LCMS2_LIBS=""
13070 CPPFLAGS=$ac_save_CPPFLAGS
13071 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13072 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13075 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13076 case "x$with_cms" in
13077 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13078 xno) ;;
13079 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13080 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13081 esac
13085 if test "x$with_freetype" != "xno"
13086 then
13087 if ${FREETYPE_CFLAGS:+false} :; then :
13088 if ${PKG_CONFIG+:} false; then :
13089 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13092 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13093 if ${FREETYPE_LIBS:+false} :; then :
13094 if ${PKG_CONFIG+:} false; then :
13095 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13098 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13099 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13100 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13101 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13102 ac_save_CPPFLAGS=$CPPFLAGS
13103 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13104 for ac_header in ft2build.h
13105 do :
13106 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13107 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13108 cat >>confdefs.h <<_ACEOF
13109 #define HAVE_FT2BUILD_H 1
13110 _ACEOF
13114 done
13116 if test "$ac_cv_header_ft2build_h" = "yes"
13117 then
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13119 $as_echo_n "checking for -lfreetype... " >&6; }
13120 if ${ac_cv_lib_soname_freetype+:} false; then :
13121 $as_echo_n "(cached) " >&6
13122 else
13123 ac_check_soname_save_LIBS=$LIBS
13124 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13128 /* Override any GCC internal prototype to avoid an error.
13129 Use char because int might match the return type of a GCC
13130 builtin and then its argument prototype would still apply. */
13131 #ifdef __cplusplus
13132 extern "C"
13133 #endif
13134 char FT_Init_FreeType ();
13136 main ()
13138 return FT_Init_FreeType ();
13140 return 0;
13142 _ACEOF
13143 if ac_fn_c_try_link "$LINENO"; then :
13144 case "$LIBEXT" in
13145 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13146 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'` ;;
13147 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13148 if ${ac_cv_lib_soname_freetype:+false} :; then :
13149 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13150 fi ;;
13151 esac
13153 rm -f core conftest.err conftest.$ac_objext \
13154 conftest$ac_exeext conftest.$ac_ext
13155 LIBS=$ac_check_soname_save_LIBS
13157 if ${ac_cv_lib_soname_freetype:+false} :; then :
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13159 $as_echo "not found" >&6; }
13160 FREETYPE_LIBS=""
13161 else
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13163 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13165 cat >>confdefs.h <<_ACEOF
13166 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13167 _ACEOF
13170 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13172 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13173 #include FT_MODULE_H
13175 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13177 cat >>confdefs.h <<_ACEOF
13178 #define HAVE_FT_TRUETYPEENGINETYPE 1
13179 _ACEOF
13185 else
13186 FREETYPE_CFLAGS=""
13187 FREETYPE_LIBS=""
13189 CPPFLAGS=$ac_save_CPPFLAGS
13190 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13191 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13194 if test "x$ac_cv_lib_soname_freetype" = x; then :
13195 case "x$with_freetype" in
13196 xno) ;;
13197 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13198 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13199 esac
13200 enable_fonts=${enable_fonts:-no}
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13204 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13205 if ${ac_cv_c_ppdev+:} false; then :
13206 $as_echo_n "(cached) " >&6
13207 else
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13210 #ifdef HAVE_SYS_IOCTL_H
13211 # include <sys/ioctl.h>
13212 #endif
13213 #include <linux/ppdev.h>
13215 main ()
13217 ioctl (1,PPCLAIM,0)
13219 return 0;
13221 _ACEOF
13222 if ac_fn_c_try_compile "$LINENO"; then :
13223 ac_cv_c_ppdev="yes"
13224 else
13225 ac_cv_c_ppdev="no"
13227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13230 $as_echo "$ac_cv_c_ppdev" >&6; }
13231 if test "$ac_cv_c_ppdev" = "yes"
13232 then
13234 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13238 ac_wine_check_funcs_save_LIBS="$LIBS"
13239 LIBS="$LIBS $PTHREAD_LIBS"
13240 for ac_func in \
13241 pthread_attr_get_np \
13242 pthread_getattr_np \
13243 pthread_getthreadid_np \
13244 pthread_get_stackaddr_np \
13245 pthread_get_stacksize_np
13246 do :
13247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13249 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13250 cat >>confdefs.h <<_ACEOF
13251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13252 _ACEOF
13255 done
13257 LIBS="$ac_wine_check_funcs_save_LIBS"
13259 if test "$ac_cv_header_zlib_h" = "yes"
13260 then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13262 $as_echo_n "checking for inflate in -lz... " >&6; }
13263 if ${ac_cv_lib_z_inflate+:} false; then :
13264 $as_echo_n "(cached) " >&6
13265 else
13266 ac_check_lib_save_LIBS=$LIBS
13267 LIBS="-lz $LIBS"
13268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13274 #ifdef __cplusplus
13275 extern "C"
13276 #endif
13277 char inflate ();
13279 main ()
13281 return inflate ();
13283 return 0;
13285 _ACEOF
13286 if ac_fn_c_try_link "$LINENO"; then :
13287 ac_cv_lib_z_inflate=yes
13288 else
13289 ac_cv_lib_z_inflate=no
13291 rm -f core conftest.err conftest.$ac_objext \
13292 conftest$ac_exeext conftest.$ac_ext
13293 LIBS=$ac_check_lib_save_LIBS
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13296 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13297 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13299 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13301 Z_LIBS="-lz"
13306 if test "x$Z_LIBS" = "x"; then :
13307 case "x$with_zlib" in
13308 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13309 xno) ;;
13310 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13311 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13312 esac
13316 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13317 then
13318 if test "$ac_cv_header_gettext_po_h" = "yes"
13319 then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13321 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13322 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13323 $as_echo_n "(cached) " >&6
13324 else
13325 ac_check_lib_save_LIBS=$LIBS
13326 LIBS="-lgettextpo $LIBS"
13327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13328 /* end confdefs.h. */
13330 /* Override any GCC internal prototype to avoid an error.
13331 Use char because int might match the return type of a GCC
13332 builtin and then its argument prototype would still apply. */
13333 #ifdef __cplusplus
13334 extern "C"
13335 #endif
13336 char po_message_msgctxt ();
13338 main ()
13340 return po_message_msgctxt ();
13342 return 0;
13344 _ACEOF
13345 if ac_fn_c_try_link "$LINENO"; then :
13346 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13347 else
13348 ac_cv_lib_gettextpo_po_message_msgctxt=no
13350 rm -f core conftest.err conftest.$ac_objext \
13351 conftest$ac_exeext conftest.$ac_ext
13352 LIBS=$ac_check_lib_save_LIBS
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13355 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13356 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13358 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13360 GETTEXTPO_LIBS="-lgettextpo"
13365 if test "x$GETTEXTPO_LIBS" = "x"; then :
13366 case "x$with_gettextpo" in
13367 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13368 xno) ;;
13369 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13370 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13371 esac
13374 if test "$srcdir" != .; then :
13375 case "x$with_gettextpo" in
13376 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13377 xno) ;;
13378 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13379 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13380 esac
13385 if test "x$with_pulse" != "xno";
13386 then
13387 if ${PULSE_CFLAGS:+false} :; then :
13388 if ${PKG_CONFIG+:} false; then :
13389 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13393 if ${PULSE_LIBS:+false} :; then :
13394 if ${PKG_CONFIG+:} false; then :
13395 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13400 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13401 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13402 ac_save_CPPFLAGS=$CPPFLAGS
13403 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13404 for ac_header in pulse/pulseaudio.h
13405 do :
13406 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13407 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13408 cat >>confdefs.h <<_ACEOF
13409 #define HAVE_PULSE_PULSEAUDIO_H 1
13410 _ACEOF
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13412 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13413 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13414 $as_echo_n "(cached) " >&6
13415 else
13416 ac_check_lib_save_LIBS=$LIBS
13417 LIBS="-lpulse $PULSE_LIBS $LIBS"
13418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h. */
13421 /* Override any GCC internal prototype to avoid an error.
13422 Use char because int might match the return type of a GCC
13423 builtin and then its argument prototype would still apply. */
13424 #ifdef __cplusplus
13425 extern "C"
13426 #endif
13427 char pa_stream_is_corked ();
13429 main ()
13431 return pa_stream_is_corked ();
13433 return 0;
13435 _ACEOF
13436 if ac_fn_c_try_link "$LINENO"; then :
13437 ac_cv_lib_pulse_pa_stream_is_corked=yes
13438 else
13439 ac_cv_lib_pulse_pa_stream_is_corked=no
13441 rm -f core conftest.err conftest.$ac_objext \
13442 conftest$ac_exeext conftest.$ac_ext
13443 LIBS=$ac_check_lib_save_LIBS
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13446 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13447 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13449 else
13450 PULSE_LIBS=""
13453 else
13454 PULSE_LIBS=""
13457 done
13459 CPPFLAGS=$ac_save_CPPFLAGS
13460 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13461 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13464 if test -z "$PULSE_LIBS"; then :
13465 case "x$with_pulse" in
13466 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13467 xno) ;;
13468 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13469 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13470 esac
13471 enable_winepulse_drv=${enable_winepulse_drv:-no}
13474 if test "x$with_gstreamer" != "xno"
13475 then
13476 if ${GSTREAMER_CFLAGS:+false} :; then :
13477 if ${PKG_CONFIG+:} false; then :
13478 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13482 if ${GSTREAMER_LIBS:+false} :; then :
13483 if ${PKG_CONFIG+:} false; then :
13484 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13489 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13490 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13491 ac_save_CPPFLAGS=$CPPFLAGS
13492 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13493 ac_gst_incl=""
13494 for i in $GSTREAMER_CFLAGS
13496 case "$i" in
13497 -I*) ac_gst_incl="$ac_gst_incl $i";;
13498 esac
13499 done
13500 GSTREAMER_CFLAGS=$ac_gst_incl
13501 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13502 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13503 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13505 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13507 /* end confdefs.h. */
13508 #include <gst/gst.h>
13510 main ()
13512 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13514 return 0;
13516 _ACEOF
13517 if ac_fn_c_try_compile "$LINENO"; then :
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13519 $as_echo "yes" >&6; }
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13521 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13522 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13523 $as_echo_n "(cached) " >&6
13524 else
13525 ac_check_lib_save_LIBS=$LIBS
13526 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13530 /* Override any GCC internal prototype to avoid an error.
13531 Use char because int might match the return type of a GCC
13532 builtin and then its argument prototype would still apply. */
13533 #ifdef __cplusplus
13534 extern "C"
13535 #endif
13536 char gst_pad_new ();
13538 main ()
13540 return gst_pad_new ();
13542 return 0;
13544 _ACEOF
13545 if ac_fn_c_try_link "$LINENO"; then :
13546 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13547 else
13548 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13550 rm -f core conftest.err conftest.$ac_objext \
13551 conftest$ac_exeext conftest.$ac_ext
13552 LIBS=$ac_check_lib_save_LIBS
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13555 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13556 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13560 else
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13562 $as_echo "no" >&6; }
13563 ac_glib2_broken=yes
13564 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13570 CPPFLAGS=$ac_save_CPPFLAGS
13571 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13572 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13575 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 :
13576 case "x$with_gstreamer" in
13577 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13578 xno) ;;
13579 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13580 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13581 esac
13584 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13586 ALSA_LIBS=""
13588 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13589 then
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13591 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13592 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13593 $as_echo_n "(cached) " >&6
13594 else
13595 ac_check_lib_save_LIBS=$LIBS
13596 LIBS="-lasound $LIBS"
13597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13600 /* Override any GCC internal prototype to avoid an error.
13601 Use char because int might match the return type of a GCC
13602 builtin and then its argument prototype would still apply. */
13603 #ifdef __cplusplus
13604 extern "C"
13605 #endif
13606 char snd_pcm_hw_params_get_access_mask ();
13608 main ()
13610 return snd_pcm_hw_params_get_access_mask ();
13612 return 0;
13614 _ACEOF
13615 if ac_fn_c_try_link "$LINENO"; then :
13616 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13617 else
13618 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13620 rm -f core conftest.err conftest.$ac_objext \
13621 conftest$ac_exeext conftest.$ac_ext
13622 LIBS=$ac_check_lib_save_LIBS
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13625 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13626 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13629 #ifdef HAVE_ALSA_ASOUNDLIB_H
13630 #include <alsa/asoundlib.h>
13631 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13632 #include <sys/asoundlib.h>
13633 #endif
13635 main ()
13637 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13639 return 0;
13641 _ACEOF
13642 if ac_fn_c_try_compile "$LINENO"; then :
13643 ALSA_LIBS="-lasound"
13645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13649 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13651 if test "x$with_oss" != xno
13652 then
13653 ac_save_CPPFLAGS="$CPPFLAGS"
13654 if test -f /etc/oss.conf
13655 then
13656 . /etc/oss.conf
13658 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13659 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13660 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13661 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13662 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13664 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13666 cat >>confdefs.h <<_ACEOF
13667 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13668 _ACEOF
13670 OSS4_CFLAGS="$ac_oss_incl"
13677 CPPFLAGS="$ac_save_CPPFLAGS"
13679 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13680 case "x$with_oss" in
13681 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13682 xno) ;;
13683 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13684 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13685 esac
13686 enable_wineoss_drv=${enable_wineoss_drv:-no}
13689 if test "x$with_udev" != "xno"
13690 then
13691 if ${UDEV_CFLAGS:+false} :; then :
13692 if ${PKG_CONFIG+:} false; then :
13693 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13697 if ${UDEV_LIBS:+false} :; then :
13698 if ${PKG_CONFIG+:} false; then :
13699 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13703 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13704 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13705 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13706 ac_save_CPPFLAGS=$CPPFLAGS
13707 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13708 for ac_header in libudev.h
13709 do :
13710 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13711 if test "x$ac_cv_header_libudev_h" = xyes; then :
13712 cat >>confdefs.h <<_ACEOF
13713 #define HAVE_LIBUDEV_H 1
13714 _ACEOF
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13716 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13717 if ${ac_cv_lib_udev_udev_new+:} false; then :
13718 $as_echo_n "(cached) " >&6
13719 else
13720 ac_check_lib_save_LIBS=$LIBS
13721 LIBS="-ludev $UDEV_LIBS $LIBS"
13722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13723 /* end confdefs.h. */
13725 /* Override any GCC internal prototype to avoid an error.
13726 Use char because int might match the return type of a GCC
13727 builtin and then its argument prototype would still apply. */
13728 #ifdef __cplusplus
13729 extern "C"
13730 #endif
13731 char udev_new ();
13733 main ()
13735 return udev_new ();
13737 return 0;
13739 _ACEOF
13740 if ac_fn_c_try_link "$LINENO"; then :
13741 ac_cv_lib_udev_udev_new=yes
13742 else
13743 ac_cv_lib_udev_udev_new=no
13745 rm -f core conftest.err conftest.$ac_objext \
13746 conftest$ac_exeext conftest.$ac_ext
13747 LIBS=$ac_check_lib_save_LIBS
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13750 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13751 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13753 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13755 else
13756 UDEV_LIBS=""
13759 else
13760 UDEV_LIBS=""
13763 done
13765 CPPFLAGS=$ac_save_CPPFLAGS
13766 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13767 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13770 if test "x$UDEV_LIBS" = "x"; then :
13771 case "x$with_udev" in
13772 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13773 xno) ;;
13774 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13775 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13776 esac
13780 if test "x$with_sdl" != "xno"
13781 then
13782 if ${SDL2_CFLAGS:+false} :; then :
13783 if ${PKG_CONFIG+:} false; then :
13784 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13788 if ${SDL2_LIBS:+false} :; then :
13789 if ${PKG_CONFIG+:} false; then :
13790 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13794 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13795 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13796 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13797 ac_save_CPPFLAGS=$CPPFLAGS
13798 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13799 for ac_header in SDL2/SDL.h
13800 do :
13801 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13802 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13803 cat >>confdefs.h <<_ACEOF
13804 #define HAVE_SDL2_SDL_H 1
13805 _ACEOF
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13807 $as_echo_n "checking for -lSDL2... " >&6; }
13808 if ${ac_cv_lib_soname_SDL2+:} false; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 ac_check_soname_save_LIBS=$LIBS
13812 LIBS="-lSDL2 $LIBS"
13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13816 /* Override any GCC internal prototype to avoid an error.
13817 Use char because int might match the return type of a GCC
13818 builtin and then its argument prototype would still apply. */
13819 #ifdef __cplusplus
13820 extern "C"
13821 #endif
13822 char SDL_Init ();
13824 main ()
13826 return SDL_Init ();
13828 return 0;
13830 _ACEOF
13831 if ac_fn_c_try_link "$LINENO"; then :
13832 case "$LIBEXT" in
13833 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13834 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'` ;;
13835 *) 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'`
13836 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13837 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13838 fi ;;
13839 esac
13841 rm -f core conftest.err conftest.$ac_objext \
13842 conftest$ac_exeext conftest.$ac_ext
13843 LIBS=$ac_check_soname_save_LIBS
13845 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13847 $as_echo "not found" >&6; }
13849 else
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13851 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13853 cat >>confdefs.h <<_ACEOF
13854 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13855 _ACEOF
13861 done
13863 CPPFLAGS=$ac_save_CPPFLAGS
13864 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13865 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13868 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13869 case "x$with_sdl" in
13870 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13871 xno) ;;
13872 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13873 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13874 esac
13878 if test "x$with_capi" != "xno"
13879 then
13880 if ${CAPI20_CFLAGS:+false} :; then :
13881 if ${PKG_CONFIG+:} false; then :
13882 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13886 if ${CAPI20_LIBS:+false} :; then :
13887 if ${PKG_CONFIG+:} false; then :
13888 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13893 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13894 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13895 ac_save_CPPFLAGS=$CPPFLAGS
13896 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13897 for ac_header in capi20.h linux/capi.h
13898 do :
13899 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13900 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13902 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13903 cat >>confdefs.h <<_ACEOF
13904 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13905 _ACEOF
13909 done
13911 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13912 then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13914 $as_echo_n "checking for -lcapi20... " >&6; }
13915 if ${ac_cv_lib_soname_capi20+:} false; then :
13916 $as_echo_n "(cached) " >&6
13917 else
13918 ac_check_soname_save_LIBS=$LIBS
13919 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13923 /* Override any GCC internal prototype to avoid an error.
13924 Use char because int might match the return type of a GCC
13925 builtin and then its argument prototype would still apply. */
13926 #ifdef __cplusplus
13927 extern "C"
13928 #endif
13929 char capi20_register ();
13931 main ()
13933 return capi20_register ();
13935 return 0;
13937 _ACEOF
13938 if ac_fn_c_try_link "$LINENO"; then :
13939 case "$LIBEXT" in
13940 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13941 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'` ;;
13942 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13943 if ${ac_cv_lib_soname_capi20:+false} :; then :
13944 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13945 fi ;;
13946 esac
13948 rm -f core conftest.err conftest.$ac_objext \
13949 conftest$ac_exeext conftest.$ac_ext
13950 LIBS=$ac_check_soname_save_LIBS
13952 if ${ac_cv_lib_soname_capi20:+false} :; then :
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13954 $as_echo "not found" >&6; }
13956 else
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13958 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13960 cat >>confdefs.h <<_ACEOF
13961 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13962 _ACEOF
13967 CPPFLAGS=$ac_save_CPPFLAGS
13968 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13969 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13972 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13973 case "x$with_capi" in
13974 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13975 xno) ;;
13976 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13977 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13978 esac
13982 if test "x$with_cups" != "xno"
13983 then
13984 if ${CUPS_CFLAGS:+false} :; then :
13985 if ${PKG_CONFIG+:} false; then :
13986 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13989 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13990 if ${CUPS_LIBS:+false} :; then :
13991 if ${PKG_CONFIG+:} false; then :
13992 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13995 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13996 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13997 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13998 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13999 ac_save_CPPFLAGS=$CPPFLAGS
14000 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
14001 for ac_header in cups/cups.h cups/ppd.h
14002 do :
14003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14004 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14005 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14006 cat >>confdefs.h <<_ACEOF
14007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14008 _ACEOF
14012 done
14014 if test "$ac_cv_header_cups_cups_h" = "yes"
14015 then
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14017 $as_echo_n "checking for -lcups... " >&6; }
14018 if ${ac_cv_lib_soname_cups+:} false; then :
14019 $as_echo_n "(cached) " >&6
14020 else
14021 ac_check_soname_save_LIBS=$LIBS
14022 LIBS="-lcups $CUPS_LIBS $LIBS"
14023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14024 /* end confdefs.h. */
14026 /* Override any GCC internal prototype to avoid an error.
14027 Use char because int might match the return type of a GCC
14028 builtin and then its argument prototype would still apply. */
14029 #ifdef __cplusplus
14030 extern "C"
14031 #endif
14032 char cupsGetDefault ();
14034 main ()
14036 return cupsGetDefault ();
14038 return 0;
14040 _ACEOF
14041 if ac_fn_c_try_link "$LINENO"; then :
14042 case "$LIBEXT" in
14043 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14044 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'` ;;
14045 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14046 if ${ac_cv_lib_soname_cups:+false} :; then :
14047 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14048 fi ;;
14049 esac
14051 rm -f core conftest.err conftest.$ac_objext \
14052 conftest$ac_exeext conftest.$ac_ext
14053 LIBS=$ac_check_soname_save_LIBS
14055 if ${ac_cv_lib_soname_cups:+false} :; then :
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14057 $as_echo "not found" >&6; }
14058 CUPS_LIBS=""
14059 else
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14061 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14063 cat >>confdefs.h <<_ACEOF
14064 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14065 _ACEOF
14069 else
14070 CUPS_CFLAGS=""
14071 CUPS_LIBS=""
14073 CPPFLAGS=$ac_save_CPPFLAGS
14074 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14075 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14078 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14079 case "x$with_cups" in
14080 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14081 xno) ;;
14082 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14083 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14084 esac
14088 if test "x$with_fontconfig" != "xno"
14089 then
14090 if ${FONTCONFIG_CFLAGS:+false} :; then :
14091 if ${PKG_CONFIG+:} false; then :
14092 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14095 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14096 if ${FONTCONFIG_LIBS:+false} :; then :
14097 if ${PKG_CONFIG+:} false; then :
14098 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14101 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14103 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14104 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14105 ac_save_CPPFLAGS=$CPPFLAGS
14106 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14107 for ac_header in fontconfig/fontconfig.h
14108 do :
14109 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14110 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14111 cat >>confdefs.h <<_ACEOF
14112 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14113 _ACEOF
14117 done
14119 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14120 then
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14122 $as_echo_n "checking for -lfontconfig... " >&6; }
14123 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14124 $as_echo_n "(cached) " >&6
14125 else
14126 ac_check_soname_save_LIBS=$LIBS
14127 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14134 #ifdef __cplusplus
14135 extern "C"
14136 #endif
14137 char FcInit ();
14139 main ()
14141 return FcInit ();
14143 return 0;
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 case "$LIBEXT" in
14148 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14149 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'` ;;
14150 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14151 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14152 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14153 fi ;;
14154 esac
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 LIBS=$ac_check_soname_save_LIBS
14160 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14162 $as_echo "not found" >&6; }
14163 FONTCONFIG_CFLAGS=""
14164 else
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14166 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14168 cat >>confdefs.h <<_ACEOF
14169 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14170 _ACEOF
14174 else
14175 FONTCONFIG_CFLAGS=""
14177 CPPFLAGS=$ac_save_CPPFLAGS
14178 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14179 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14182 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14183 case "x$with_fontconfig" in
14184 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14185 xno) ;;
14186 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14187 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14188 esac
14192 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14193 then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14195 $as_echo_n "checking for -lgsm... " >&6; }
14196 if ${ac_cv_lib_soname_gsm+:} false; then :
14197 $as_echo_n "(cached) " >&6
14198 else
14199 ac_check_soname_save_LIBS=$LIBS
14200 LIBS="-lgsm $LIBS"
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14204 /* Override any GCC internal prototype to avoid an error.
14205 Use char because int might match the return type of a GCC
14206 builtin and then its argument prototype would still apply. */
14207 #ifdef __cplusplus
14208 extern "C"
14209 #endif
14210 char gsm_create ();
14212 main ()
14214 return gsm_create ();
14216 return 0;
14218 _ACEOF
14219 if ac_fn_c_try_link "$LINENO"; then :
14220 case "$LIBEXT" in
14221 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14222 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'` ;;
14223 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14224 if ${ac_cv_lib_soname_gsm:+false} :; then :
14225 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14226 fi ;;
14227 esac
14229 rm -f core conftest.err conftest.$ac_objext \
14230 conftest$ac_exeext conftest.$ac_ext
14231 LIBS=$ac_check_soname_save_LIBS
14233 if ${ac_cv_lib_soname_gsm:+false} :; then :
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14235 $as_echo "not found" >&6; }
14237 else
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14239 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14241 cat >>confdefs.h <<_ACEOF
14242 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14243 _ACEOF
14248 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14249 case "x$with_gsm" in
14250 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14251 xno) ;;
14252 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14253 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14254 esac
14258 if test "x$with_krb5" != "xno"
14259 then
14260 if ${KRB5_CFLAGS:+false} :; then :
14261 if ${PKG_CONFIG+:} false; then :
14262 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14265 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14266 if ${KRB5_LIBS:+false} :; then :
14267 if ${PKG_CONFIG+:} false; then :
14268 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14271 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14273 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14274 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14275 ac_save_CPPFLAGS=$CPPFLAGS
14276 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14277 for ac_header in krb5/krb5.h
14278 do :
14279 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14280 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14281 cat >>confdefs.h <<_ACEOF
14282 #define HAVE_KRB5_KRB5_H 1
14283 _ACEOF
14287 done
14289 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14290 then
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14292 $as_echo_n "checking for -lkrb5... " >&6; }
14293 if ${ac_cv_lib_soname_krb5+:} false; then :
14294 $as_echo_n "(cached) " >&6
14295 else
14296 ac_check_soname_save_LIBS=$LIBS
14297 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14301 /* Override any GCC internal prototype to avoid an error.
14302 Use char because int might match the return type of a GCC
14303 builtin and then its argument prototype would still apply. */
14304 #ifdef __cplusplus
14305 extern "C"
14306 #endif
14307 char krb5_is_config_principal ();
14309 main ()
14311 return krb5_is_config_principal ();
14313 return 0;
14315 _ACEOF
14316 if ac_fn_c_try_link "$LINENO"; then :
14317 case "$LIBEXT" in
14318 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14319 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'` ;;
14320 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14321 if ${ac_cv_lib_soname_krb5:+false} :; then :
14322 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14323 fi ;;
14324 esac
14326 rm -f core conftest.err conftest.$ac_objext \
14327 conftest$ac_exeext conftest.$ac_ext
14328 LIBS=$ac_check_soname_save_LIBS
14330 if ${ac_cv_lib_soname_krb5:+false} :; then :
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14332 $as_echo "not found" >&6; }
14333 KRB5_CFLAGS=""
14334 else
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14336 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14338 cat >>confdefs.h <<_ACEOF
14339 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14340 _ACEOF
14344 else
14345 KRB5_CFLAGS=""
14347 CPPFLAGS=$ac_save_CPPFLAGS
14348 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14349 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14351 else
14352 with_gssapi=${with_gssapi:-no}
14354 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14355 case "x$with_krb5" in
14356 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14357 xno) ;;
14358 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14359 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14360 esac
14364 if test "x$with_gssapi" != "xno"
14365 then
14366 if ${GSSAPI_CFLAGS:+false} :; then :
14367 if ${PKG_CONFIG+:} false; then :
14368 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14371 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14372 if ${GSSAPI_LIBS:+false} :; then :
14373 if ${PKG_CONFIG+:} false; then :
14374 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14377 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14379 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14380 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14381 ac_save_CPPFLAGS=$CPPFLAGS
14382 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14383 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14384 do :
14385 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14386 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14387 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14388 cat >>confdefs.h <<_ACEOF
14389 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14390 _ACEOF
14394 done
14396 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14397 then
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14399 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14400 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14401 $as_echo_n "(cached) " >&6
14402 else
14403 ac_check_soname_save_LIBS=$LIBS
14404 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14406 /* end confdefs.h. */
14408 /* Override any GCC internal prototype to avoid an error.
14409 Use char because int might match the return type of a GCC
14410 builtin and then its argument prototype would still apply. */
14411 #ifdef __cplusplus
14412 extern "C"
14413 #endif
14414 char gss_init_sec_context ();
14416 main ()
14418 return gss_init_sec_context ();
14420 return 0;
14422 _ACEOF
14423 if ac_fn_c_try_link "$LINENO"; then :
14424 case "$LIBEXT" in
14425 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14426 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'` ;;
14427 *) 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'`
14428 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14429 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14430 fi ;;
14431 esac
14433 rm -f core conftest.err conftest.$ac_objext \
14434 conftest$ac_exeext conftest.$ac_ext
14435 LIBS=$ac_check_soname_save_LIBS
14437 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14439 $as_echo "not found" >&6; }
14440 GSSAPI_CFLAGS=""
14441 else
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14443 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14445 cat >>confdefs.h <<_ACEOF
14446 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14447 _ACEOF
14451 else
14452 GSSAPI_CFLAGS=""
14454 CPPFLAGS=$ac_save_CPPFLAGS
14455 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14456 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14459 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14460 case "x$with_gssapi" in
14461 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14462 xno) ;;
14463 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14464 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14465 esac
14469 if test "x$with_jpeg" != "xno"
14470 then
14471 if ${JPEG_CFLAGS:+false} :; then :
14472 if ${PKG_CONFIG+:} false; then :
14473 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14477 if ${JPEG_LIBS:+false} :; then :
14478 if ${PKG_CONFIG+:} false; then :
14479 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14484 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14485 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14486 ac_save_CPPFLAGS=$CPPFLAGS
14487 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14488 for ac_header in jpeglib.h
14489 do :
14490 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14491 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14492 cat >>confdefs.h <<_ACEOF
14493 #define HAVE_JPEGLIB_H 1
14494 _ACEOF
14498 done
14500 if test "$ac_cv_header_jpeglib_h" = "yes"
14501 then
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14503 $as_echo_n "checking for -ljpeg... " >&6; }
14504 if ${ac_cv_lib_soname_jpeg+:} false; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 ac_check_soname_save_LIBS=$LIBS
14508 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14510 /* end confdefs.h. */
14512 /* Override any GCC internal prototype to avoid an error.
14513 Use char because int might match the return type of a GCC
14514 builtin and then its argument prototype would still apply. */
14515 #ifdef __cplusplus
14516 extern "C"
14517 #endif
14518 char jpeg_start_decompress ();
14520 main ()
14522 return jpeg_start_decompress ();
14524 return 0;
14526 _ACEOF
14527 if ac_fn_c_try_link "$LINENO"; then :
14528 case "$LIBEXT" in
14529 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14530 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'` ;;
14531 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14532 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14533 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14534 fi ;;
14535 esac
14537 rm -f core conftest.err conftest.$ac_objext \
14538 conftest$ac_exeext conftest.$ac_ext
14539 LIBS=$ac_check_soname_save_LIBS
14541 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14543 $as_echo "not found" >&6; }
14544 JPEG_CFLAGS=""
14545 else
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14547 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14549 cat >>confdefs.h <<_ACEOF
14550 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14551 _ACEOF
14555 else
14556 JPEG_CFLAGS=""
14558 CPPFLAGS=$ac_save_CPPFLAGS
14559 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14560 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14563 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14564 case "x$with_jpeg" in
14565 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14566 xno) ;;
14567 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14568 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14569 esac
14573 if test "x$with_png" != "xno"
14574 then
14575 if ${PNG_CFLAGS:+false} :; then :
14576 if ${PKG_CONFIG+:} false; then :
14577 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14580 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14581 if ${PNG_LIBS:+false} :; then :
14582 if ${PKG_CONFIG+:} false; then :
14583 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14586 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14588 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14589 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14590 ac_save_CPPFLAGS=$CPPFLAGS
14591 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14592 for ac_header in png.h
14593 do :
14594 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14595 if test "x$ac_cv_header_png_h" = xyes; then :
14596 cat >>confdefs.h <<_ACEOF
14597 #define HAVE_PNG_H 1
14598 _ACEOF
14602 done
14604 if test "$ac_cv_header_png_h" = "yes"
14605 then
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14607 $as_echo_n "checking for -lpng... " >&6; }
14608 if ${ac_cv_lib_soname_png+:} false; then :
14609 $as_echo_n "(cached) " >&6
14610 else
14611 ac_check_soname_save_LIBS=$LIBS
14612 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14614 /* end confdefs.h. */
14616 /* Override any GCC internal prototype to avoid an error.
14617 Use char because int might match the return type of a GCC
14618 builtin and then its argument prototype would still apply. */
14619 #ifdef __cplusplus
14620 extern "C"
14621 #endif
14622 char png_create_read_struct ();
14624 main ()
14626 return png_create_read_struct ();
14628 return 0;
14630 _ACEOF
14631 if ac_fn_c_try_link "$LINENO"; then :
14632 case "$LIBEXT" in
14633 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14634 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'` ;;
14635 *) 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'`
14636 if ${ac_cv_lib_soname_png:+false} :; then :
14637 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14638 fi ;;
14639 esac
14641 rm -f core conftest.err conftest.$ac_objext \
14642 conftest$ac_exeext conftest.$ac_ext
14643 LIBS=$ac_check_soname_save_LIBS
14645 if ${ac_cv_lib_soname_png:+false} :; then :
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14647 $as_echo "not found" >&6; }
14648 PNG_CFLAGS=""
14649 else
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14651 $as_echo "$ac_cv_lib_soname_png" >&6; }
14653 cat >>confdefs.h <<_ACEOF
14654 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14655 _ACEOF
14659 else
14660 PNG_CFLAGS=""
14662 CPPFLAGS=$ac_save_CPPFLAGS
14663 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14664 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14667 if test "x$ac_cv_lib_soname_png" = "x"; then :
14668 case "x$with_png" in
14669 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14670 xno) ;;
14671 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14672 This is an error since --with-png was requested." "$LINENO" 5 ;;
14673 esac
14677 if test "x$with_tiff" != "xno"
14678 then
14679 if ${TIFF_CFLAGS:+false} :; then :
14680 if ${PKG_CONFIG+:} false; then :
14681 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14685 if ${TIFF_LIBS:+false} :; then :
14686 if ${PKG_CONFIG+:} false; then :
14687 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14692 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14693 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14694 ac_save_CPPFLAGS=$CPPFLAGS
14695 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14696 for ac_header in tiffio.h
14697 do :
14698 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14699 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14700 cat >>confdefs.h <<_ACEOF
14701 #define HAVE_TIFFIO_H 1
14702 _ACEOF
14706 done
14708 if test "$ac_cv_header_tiffio_h" = "yes"
14709 then
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14711 $as_echo_n "checking for -ltiff... " >&6; }
14712 if ${ac_cv_lib_soname_tiff+:} false; then :
14713 $as_echo_n "(cached) " >&6
14714 else
14715 ac_check_soname_save_LIBS=$LIBS
14716 LIBS="-ltiff $TIFF_LIBS $LIBS"
14717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14720 /* Override any GCC internal prototype to avoid an error.
14721 Use char because int might match the return type of a GCC
14722 builtin and then its argument prototype would still apply. */
14723 #ifdef __cplusplus
14724 extern "C"
14725 #endif
14726 char TIFFClientOpen ();
14728 main ()
14730 return TIFFClientOpen ();
14732 return 0;
14734 _ACEOF
14735 if ac_fn_c_try_link "$LINENO"; then :
14736 case "$LIBEXT" in
14737 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14738 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'` ;;
14739 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14740 if ${ac_cv_lib_soname_tiff:+false} :; then :
14741 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14742 fi ;;
14743 esac
14745 rm -f core conftest.err conftest.$ac_objext \
14746 conftest$ac_exeext conftest.$ac_ext
14747 LIBS=$ac_check_soname_save_LIBS
14749 if ${ac_cv_lib_soname_tiff:+false} :; then :
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14751 $as_echo "not found" >&6; }
14753 else
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14755 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14757 cat >>confdefs.h <<_ACEOF
14758 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14759 _ACEOF
14764 CPPFLAGS=$ac_save_CPPFLAGS
14765 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14766 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14769 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14770 case "x$with_tiff" in
14771 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14772 xno) ;;
14773 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14774 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14775 esac
14779 if test "x$with_mpg123" != "xno"
14780 then
14781 if ${MPG123_CFLAGS:+false} :; then :
14782 if ${PKG_CONFIG+:} false; then :
14783 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14787 if ${MPG123_LIBS:+false} :; then :
14788 if ${PKG_CONFIG+:} false; then :
14789 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14793 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14794 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14795 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14796 ac_save_CPPFLAGS=$CPPFLAGS
14797 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14798 for ac_header in mpg123.h
14799 do :
14800 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14801 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14802 cat >>confdefs.h <<_ACEOF
14803 #define HAVE_MPG123_H 1
14804 _ACEOF
14808 done
14810 if test "$ac_cv_header_mpg123_h" = "yes"
14811 then
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14813 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14814 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14815 $as_echo_n "(cached) " >&6
14816 else
14817 ac_check_lib_save_LIBS=$LIBS
14818 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14822 /* Override any GCC internal prototype to avoid an error.
14823 Use char because int might match the return type of a GCC
14824 builtin and then its argument prototype would still apply. */
14825 #ifdef __cplusplus
14826 extern "C"
14827 #endif
14828 char mpg123_feed ();
14830 main ()
14832 return mpg123_feed ();
14834 return 0;
14836 _ACEOF
14837 if ac_fn_c_try_link "$LINENO"; then :
14838 ac_cv_lib_mpg123_mpg123_feed=yes
14839 else
14840 ac_cv_lib_mpg123_mpg123_feed=no
14842 rm -f core conftest.err conftest.$ac_objext \
14843 conftest$ac_exeext conftest.$ac_ext
14844 LIBS=$ac_check_lib_save_LIBS
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14847 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14848 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14850 else
14851 MPG123_LIBS=""
14854 else
14855 MPG123_CFLAGS=""
14856 MPG123_LIBS=""
14858 CPPFLAGS=$ac_save_CPPFLAGS
14859 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14860 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14863 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14864 case "x$with_mpg123" in
14865 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14866 xno) ;;
14867 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14868 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14869 esac
14870 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14872 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14874 if test "$ac_cv_header_AL_al_h" = "yes"
14875 then
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14877 $as_echo_n "checking for -lopenal... " >&6; }
14878 if ${ac_cv_lib_soname_openal+:} false; then :
14879 $as_echo_n "(cached) " >&6
14880 else
14881 ac_check_soname_save_LIBS=$LIBS
14882 LIBS="-lopenal $LIBS"
14883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14886 /* Override any GCC internal prototype to avoid an error.
14887 Use char because int might match the return type of a GCC
14888 builtin and then its argument prototype would still apply. */
14889 #ifdef __cplusplus
14890 extern "C"
14891 #endif
14892 char alGetSource3i ();
14894 main ()
14896 return alGetSource3i ();
14898 return 0;
14900 _ACEOF
14901 if ac_fn_c_try_link "$LINENO"; then :
14902 case "$LIBEXT" in
14903 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14904 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'` ;;
14905 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14906 if ${ac_cv_lib_soname_openal:+false} :; then :
14907 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14908 fi ;;
14909 esac
14911 rm -f core conftest.err conftest.$ac_objext \
14912 conftest$ac_exeext conftest.$ac_ext
14913 LIBS=$ac_check_soname_save_LIBS
14915 if ${ac_cv_lib_soname_openal:+false} :; then :
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14917 $as_echo "not found" >&6; }
14919 else
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14921 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14923 cat >>confdefs.h <<_ACEOF
14924 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14925 _ACEOF
14927 OPENAL_LIBS="-lopenal"
14929 ac_cv_lib_openal=yes
14931 cat >>confdefs.h <<_ACEOF
14932 #define HAVE_OPENAL 1
14933 _ACEOF
14937 if test "x$ac_cv_lib_openal" != xyes; then :
14938 case "x$with_openal" in
14939 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14940 xno) ;;
14941 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14942 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14943 esac
14944 enable_openal32=${enable_openal32:-no}
14947 if test "x$ac_cv_lib_openal" = xyes
14948 then
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14950 $as_echo_n "checking for openal-soft... " >&6; }
14951 if ${ac_cv_have_openalsoft+:} false; then :
14952 $as_echo_n "(cached) " >&6
14953 else
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14956 #include <AL/al.h>
14957 #include <AL/alc.h>
14958 #include <AL/alext.h>
14959 LPALCRENDERSAMPLESSOFT x;
14961 main ()
14965 return 0;
14967 _ACEOF
14968 if ac_fn_c_try_compile "$LINENO"; then :
14969 ac_cv_have_openalsoft=yes
14970 else
14971 ac_cv_have_openalsoft=no
14973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14976 $as_echo "$ac_cv_have_openalsoft" >&6; }
14978 if test "x$ac_cv_have_openalsoft" != xyes
14979 then
14980 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14981 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14982 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14983 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14984 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14985 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14986 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14987 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14988 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14989 enable_xapofx1_1=${enable_xapofx1_1:-no}
14990 enable_xapofx1_2=${enable_xapofx1_2:-no}
14991 enable_xapofx1_3=${enable_xapofx1_3:-no}
14992 enable_xapofx1_4=${enable_xapofx1_4:-no}
14993 enable_xapofx1_5=${enable_xapofx1_5:-no}
14994 enable_xaudio2_0=${enable_xaudio2_0:-no}
14995 enable_xaudio2_1=${enable_xaudio2_1:-no}
14996 enable_xaudio2_2=${enable_xaudio2_2:-no}
14997 enable_xaudio2_3=${enable_xaudio2_3:-no}
14998 enable_xaudio2_4=${enable_xaudio2_4:-no}
14999 enable_xaudio2_5=${enable_xaudio2_5:-no}
15000 enable_xaudio2_6=${enable_xaudio2_6:-no}
15001 enable_xaudio2_7=${enable_xaudio2_7:-no}
15002 enable_xaudio2_8=${enable_xaudio2_8:-no}
15003 enable_xaudio2_9=${enable_xaudio2_9:-no}
15006 if test "$ac_cv_header_kstat_h" = "yes"
15007 then
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15009 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15010 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15011 $as_echo_n "(cached) " >&6
15012 else
15013 ac_check_lib_save_LIBS=$LIBS
15014 LIBS="-lkstat $LIBS"
15015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15018 /* Override any GCC internal prototype to avoid an error.
15019 Use char because int might match the return type of a GCC
15020 builtin and then its argument prototype would still apply. */
15021 #ifdef __cplusplus
15022 extern "C"
15023 #endif
15024 char kstat_open ();
15026 main ()
15028 return kstat_open ();
15030 return 0;
15032 _ACEOF
15033 if ac_fn_c_try_link "$LINENO"; then :
15034 ac_cv_lib_kstat_kstat_open=yes
15035 else
15036 ac_cv_lib_kstat_kstat_open=no
15038 rm -f core conftest.err conftest.$ac_objext \
15039 conftest$ac_exeext conftest.$ac_ext
15040 LIBS=$ac_check_lib_save_LIBS
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15043 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15044 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15046 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15048 KSTAT_LIBS="-lkstat"
15054 if test "$ac_cv_header_libprocstat_h" = "yes"
15055 then
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15057 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15058 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15059 $as_echo_n "(cached) " >&6
15060 else
15061 ac_check_lib_save_LIBS=$LIBS
15062 LIBS="-lprocstat $LIBS"
15063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15066 /* Override any GCC internal prototype to avoid an error.
15067 Use char because int might match the return type of a GCC
15068 builtin and then its argument prototype would still apply. */
15069 #ifdef __cplusplus
15070 extern "C"
15071 #endif
15072 char procstat_open_sysctl ();
15074 main ()
15076 return procstat_open_sysctl ();
15078 return 0;
15080 _ACEOF
15081 if ac_fn_c_try_link "$LINENO"; then :
15082 ac_cv_lib_procstat_procstat_open_sysctl=yes
15083 else
15084 ac_cv_lib_procstat_procstat_open_sysctl=no
15086 rm -f core conftest.err conftest.$ac_objext \
15087 conftest$ac_exeext conftest.$ac_ext
15088 LIBS=$ac_check_lib_save_LIBS
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15091 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15092 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15094 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15096 PROCSTAT_LIBS="-lprocstat"
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15103 $as_echo_n "checking for -lodbc... " >&6; }
15104 if ${ac_cv_lib_soname_odbc+:} false; then :
15105 $as_echo_n "(cached) " >&6
15106 else
15107 ac_check_soname_save_LIBS=$LIBS
15108 LIBS="-lodbc $LIBS"
15109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15112 /* Override any GCC internal prototype to avoid an error.
15113 Use char because int might match the return type of a GCC
15114 builtin and then its argument prototype would still apply. */
15115 #ifdef __cplusplus
15116 extern "C"
15117 #endif
15118 char SQLConnect ();
15120 main ()
15122 return SQLConnect ();
15124 return 0;
15126 _ACEOF
15127 if ac_fn_c_try_link "$LINENO"; then :
15128 case "$LIBEXT" in
15129 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15130 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'` ;;
15131 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15132 if ${ac_cv_lib_soname_odbc:+false} :; then :
15133 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15134 fi ;;
15135 esac
15137 rm -f core conftest.err conftest.$ac_objext \
15138 conftest$ac_exeext conftest.$ac_ext
15139 LIBS=$ac_check_soname_save_LIBS
15141 if ${ac_cv_lib_soname_odbc:+false} :; then :
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15143 $as_echo "not found" >&6; }
15144 cat >>confdefs.h <<_ACEOF
15145 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15146 _ACEOF
15148 else
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15150 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15152 cat >>confdefs.h <<_ACEOF
15153 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15154 _ACEOF
15159 if test "x$with_netapi" != "xno"
15160 then
15161 if ${NETAPI_CFLAGS:+false} :; then :
15162 if ${PKG_CONFIG+:} false; then :
15163 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15167 if ${NETAPI_LIBS:+false} :; then :
15168 if ${PKG_CONFIG+:} false; then :
15169 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15174 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15175 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15176 ac_save_CPPFLAGS=$CPPFLAGS
15177 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15179 $as_echo_n "checking for -lnetapi... " >&6; }
15180 if ${ac_cv_lib_soname_netapi+:} false; then :
15181 $as_echo_n "(cached) " >&6
15182 else
15183 ac_check_soname_save_LIBS=$LIBS
15184 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15188 /* Override any GCC internal prototype to avoid an error.
15189 Use char because int might match the return type of a GCC
15190 builtin and then its argument prototype would still apply. */
15191 #ifdef __cplusplus
15192 extern "C"
15193 #endif
15194 char libnetapi_init ();
15196 main ()
15198 return libnetapi_init ();
15200 return 0;
15202 _ACEOF
15203 if ac_fn_c_try_link "$LINENO"; then :
15204 case "$LIBEXT" in
15205 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15206 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'` ;;
15207 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15208 if ${ac_cv_lib_soname_netapi:+false} :; then :
15209 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15210 fi ;;
15211 esac
15213 rm -f core conftest.err conftest.$ac_objext \
15214 conftest$ac_exeext conftest.$ac_ext
15215 LIBS=$ac_check_soname_save_LIBS
15217 if ${ac_cv_lib_soname_netapi:+false} :; then :
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15219 $as_echo "not found" >&6; }
15220 cat >>confdefs.h <<_ACEOF
15221 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15222 _ACEOF
15224 else
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15226 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15228 cat >>confdefs.h <<_ACEOF
15229 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15230 _ACEOF
15234 CPPFLAGS=$ac_save_CPPFLAGS
15235 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15236 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15240 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15241 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15242 then
15243 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15246 if test "x$with_vulkan" != "xno"
15247 then
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15249 $as_echo_n "checking for -lvulkan... " >&6; }
15250 if ${ac_cv_lib_soname_vulkan+:} false; then :
15251 $as_echo_n "(cached) " >&6
15252 else
15253 ac_check_soname_save_LIBS=$LIBS
15254 LIBS="-lvulkan $LIBS"
15255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15256 /* end confdefs.h. */
15258 /* Override any GCC internal prototype to avoid an error.
15259 Use char because int might match the return type of a GCC
15260 builtin and then its argument prototype would still apply. */
15261 #ifdef __cplusplus
15262 extern "C"
15263 #endif
15264 char vkGetInstanceProcAddr ();
15266 main ()
15268 return vkGetInstanceProcAddr ();
15270 return 0;
15272 _ACEOF
15273 if ac_fn_c_try_link "$LINENO"; then :
15274 case "$LIBEXT" in
15275 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15276 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'` ;;
15277 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15278 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15279 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15280 fi ;;
15281 esac
15283 rm -f core conftest.err conftest.$ac_objext \
15284 conftest$ac_exeext conftest.$ac_ext
15285 LIBS=$ac_check_soname_save_LIBS
15287 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15289 $as_echo "not found" >&6; }
15291 else
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15293 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15295 cat >>confdefs.h <<_ACEOF
15296 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15297 _ACEOF
15301 if test "x$ac_cv_lib_soname_vulkan" = "x"
15302 then
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15304 $as_echo_n "checking for -lMoltenVK... " >&6; }
15305 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15306 $as_echo_n "(cached) " >&6
15307 else
15308 ac_check_soname_save_LIBS=$LIBS
15309 LIBS="-lMoltenVK $LIBS"
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 #ifdef __cplusplus
15317 extern "C"
15318 #endif
15319 char vkGetInstanceProcAddr ();
15321 main ()
15323 return vkGetInstanceProcAddr ();
15325 return 0;
15327 _ACEOF
15328 if ac_fn_c_try_link "$LINENO"; then :
15329 case "$LIBEXT" in
15330 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15331 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'` ;;
15332 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15333 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15334 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15335 fi ;;
15336 esac
15338 rm -f core conftest.err conftest.$ac_objext \
15339 conftest$ac_exeext conftest.$ac_ext
15340 LIBS=$ac_check_soname_save_LIBS
15342 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15344 $as_echo "not found" >&6; }
15346 else
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15348 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15350 cat >>confdefs.h <<_ACEOF
15351 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15352 _ACEOF
15358 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15359 case "x$with_vulkan" in
15360 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15361 xno) ;;
15362 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15363 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15364 esac
15368 if test "x$with_vkd3d" != "xno"
15369 then
15370 if ${VKD3D_CFLAGS:+false} :; then :
15371 if ${PKG_CONFIG+:} false; then :
15372 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15376 if ${VKD3D_LIBS:+false} :; then :
15377 if ${PKG_CONFIG+:} false; then :
15378 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15383 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15384 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15385 ac_save_CPPFLAGS=$CPPFLAGS
15386 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15388 $as_echo_n "checking for -lvkd3d... " >&6; }
15389 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15390 $as_echo_n "(cached) " >&6
15391 else
15392 ac_check_soname_save_LIBS=$LIBS
15393 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15397 /* Override any GCC internal prototype to avoid an error.
15398 Use char because int might match the return type of a GCC
15399 builtin and then its argument prototype would still apply. */
15400 #ifdef __cplusplus
15401 extern "C"
15402 #endif
15403 char vkd3d_create_device ();
15405 main ()
15407 return vkd3d_create_device ();
15409 return 0;
15411 _ACEOF
15412 if ac_fn_c_try_link "$LINENO"; then :
15413 case "$LIBEXT" in
15414 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15415 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'` ;;
15416 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15417 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15418 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15419 fi ;;
15420 esac
15422 rm -f core conftest.err conftest.$ac_objext \
15423 conftest$ac_exeext conftest.$ac_ext
15424 LIBS=$ac_check_soname_save_LIBS
15426 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15428 $as_echo "not found" >&6; }
15430 else
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15432 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15434 cat >>confdefs.h <<_ACEOF
15435 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15436 _ACEOF
15440 CPPFLAGS=$ac_save_CPPFLAGS
15441 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15442 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15445 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15446 case "x$with_vkd3d" in
15447 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15448 xno) ;;
15449 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15450 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15451 esac
15454 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15457 EXTRACFLAGS=""
15459 if test "x${GCC}" = "xyes"
15460 then
15461 EXTRACFLAGS="-Wall -pipe"
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15464 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15465 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15466 $as_echo_n "(cached) " >&6
15467 else
15468 if test "$cross_compiling" = yes; then :
15469 ac_cv_c_gcc_strength_bug="no"
15470 else
15471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15473 int L[4] = {0,1,2,3};
15475 main ()
15477 static int Array[3];
15478 unsigned int B = 3;
15479 int i;
15480 for(i=0; i<B; i++) Array[i] = i - 3;
15481 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15482 L[i] = 4;
15483 return (Array[1] != -2 || L[2] != 3)
15485 return 0;
15487 _ACEOF
15488 if ac_fn_c_try_run "$LINENO"; then :
15489 ac_cv_c_gcc_strength_bug="no"
15490 else
15491 ac_cv_c_gcc_strength_bug="yes"
15493 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15494 conftest.$ac_objext conftest.beam conftest.$ac_ext
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15499 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15500 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15501 then
15502 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15506 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15507 if ${ac_cv_cflags__fno_builtin+:} false; then :
15508 $as_echo_n "(cached) " >&6
15509 else
15510 ac_wine_try_cflags_saved=$CFLAGS
15511 CFLAGS="$CFLAGS -fno-builtin"
15512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15514 int main(int argc, char **argv) { return 0; }
15515 _ACEOF
15516 if ac_fn_c_try_link "$LINENO"; then :
15517 ac_cv_cflags__fno_builtin=yes
15518 else
15519 ac_cv_cflags__fno_builtin=no
15521 rm -f core conftest.err conftest.$ac_objext \
15522 conftest$ac_exeext conftest.$ac_ext
15523 CFLAGS=$ac_wine_try_cflags_saved
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15526 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15527 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15528 BUILTINFLAG="-fno-builtin"
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15532 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15533 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15534 $as_echo_n "(cached) " >&6
15535 else
15536 ac_wine_try_cflags_saved=$CFLAGS
15537 CFLAGS="$CFLAGS -fno-strict-aliasing"
15538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15539 /* end confdefs.h. */
15540 int main(int argc, char **argv) { return 0; }
15541 _ACEOF
15542 if ac_fn_c_try_link "$LINENO"; then :
15543 ac_cv_cflags__fno_strict_aliasing=yes
15544 else
15545 ac_cv_cflags__fno_strict_aliasing=no
15547 rm -f core conftest.err conftest.$ac_objext \
15548 conftest$ac_exeext conftest.$ac_ext
15549 CFLAGS=$ac_wine_try_cflags_saved
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15552 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15553 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15554 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15557 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15558 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15559 $as_echo_n "(cached) " >&6
15560 else
15561 ac_wine_try_cflags_saved=$CFLAGS
15562 CFLAGS="$CFLAGS -fexcess-precision=standard"
15563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15564 /* end confdefs.h. */
15565 int main(int argc, char **argv) { return 0; }
15566 _ACEOF
15567 if ac_fn_c_try_link "$LINENO"; then :
15568 ac_cv_cflags__fexcess_precision_standard=yes
15569 else
15570 ac_cv_cflags__fexcess_precision_standard=no
15572 rm -f core conftest.err conftest.$ac_objext \
15573 conftest$ac_exeext conftest.$ac_ext
15574 CFLAGS=$ac_wine_try_cflags_saved
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15577 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15578 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15579 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15582 saved_CFLAGS=$CFLAGS
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15584 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15585 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15586 $as_echo_n "(cached) " >&6
15587 else
15588 ac_wine_try_cflags_saved=$CFLAGS
15589 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15592 int main(int argc, char **argv) { return 0; }
15593 _ACEOF
15594 if ac_fn_c_try_link "$LINENO"; then :
15595 ac_cv_cflags__Werror_unknown_warning_option=yes
15596 else
15597 ac_cv_cflags__Werror_unknown_warning_option=no
15599 rm -f core conftest.err conftest.$ac_objext \
15600 conftest$ac_exeext conftest.$ac_ext
15601 CFLAGS=$ac_wine_try_cflags_saved
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15604 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15605 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15606 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15609 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15610 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15611 $as_echo_n "(cached) " >&6
15612 else
15613 ac_wine_try_cflags_saved=$CFLAGS
15614 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15616 /* end confdefs.h. */
15617 int main(int argc, char **argv) { return 0; }
15618 _ACEOF
15619 if ac_fn_c_try_link "$LINENO"; then :
15620 ac_cv_cflags__Wdeclaration_after_statement=yes
15621 else
15622 ac_cv_cflags__Wdeclaration_after_statement=no
15624 rm -f core conftest.err conftest.$ac_objext \
15625 conftest$ac_exeext conftest.$ac_ext
15626 CFLAGS=$ac_wine_try_cflags_saved
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15629 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15630 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15631 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15634 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15635 if ${ac_cv_cflags__Wempty_body+:} false; then :
15636 $as_echo_n "(cached) " >&6
15637 else
15638 ac_wine_try_cflags_saved=$CFLAGS
15639 CFLAGS="$CFLAGS -Wempty-body"
15640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15641 /* end confdefs.h. */
15642 int main(int argc, char **argv) { return 0; }
15643 _ACEOF
15644 if ac_fn_c_try_link "$LINENO"; then :
15645 ac_cv_cflags__Wempty_body=yes
15646 else
15647 ac_cv_cflags__Wempty_body=no
15649 rm -f core conftest.err conftest.$ac_objext \
15650 conftest$ac_exeext conftest.$ac_ext
15651 CFLAGS=$ac_wine_try_cflags_saved
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15654 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15655 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15656 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15659 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15660 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15661 $as_echo_n "(cached) " >&6
15662 else
15663 ac_wine_try_cflags_saved=$CFLAGS
15664 CFLAGS="$CFLAGS -Wignored-qualifiers"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15667 int main(int argc, char **argv) { return 0; }
15668 _ACEOF
15669 if ac_fn_c_try_link "$LINENO"; then :
15670 ac_cv_cflags__Wignored_qualifiers=yes
15671 else
15672 ac_cv_cflags__Wignored_qualifiers=no
15674 rm -f core conftest.err conftest.$ac_objext \
15675 conftest$ac_exeext conftest.$ac_ext
15676 CFLAGS=$ac_wine_try_cflags_saved
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15679 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15680 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15681 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15684 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15685 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15686 $as_echo_n "(cached) " >&6
15687 else
15688 ac_wine_try_cflags_saved=$CFLAGS
15689 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15692 int main(int argc, char **argv) { return 0; }
15693 _ACEOF
15694 if ac_fn_c_try_link "$LINENO"; then :
15695 ac_cv_cflags__Wpacked_not_aligned=yes
15696 else
15697 ac_cv_cflags__Wpacked_not_aligned=no
15699 rm -f core conftest.err conftest.$ac_objext \
15700 conftest$ac_exeext conftest.$ac_ext
15701 CFLAGS=$ac_wine_try_cflags_saved
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15704 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15705 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15706 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15709 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15710 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15711 $as_echo_n "(cached) " >&6
15712 else
15713 ac_wine_try_cflags_saved=$CFLAGS
15714 CFLAGS="$CFLAGS -Wpragma-pack"
15715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h. */
15717 int main(int argc, char **argv) { return 0; }
15718 _ACEOF
15719 if ac_fn_c_try_link "$LINENO"; then :
15720 ac_cv_cflags__Wpragma_pack=yes
15721 else
15722 ac_cv_cflags__Wpragma_pack=no
15724 rm -f core conftest.err conftest.$ac_objext \
15725 conftest$ac_exeext conftest.$ac_ext
15726 CFLAGS=$ac_wine_try_cflags_saved
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15729 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15730 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15731 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15734 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15735 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15736 $as_echo_n "(cached) " >&6
15737 else
15738 ac_wine_try_cflags_saved=$CFLAGS
15739 CFLAGS="$CFLAGS -Wshift-overflow=2"
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15742 int main(int argc, char **argv) { return 0; }
15743 _ACEOF
15744 if ac_fn_c_try_link "$LINENO"; then :
15745 ac_cv_cflags__Wshift_overflow_2=yes
15746 else
15747 ac_cv_cflags__Wshift_overflow_2=no
15749 rm -f core conftest.err conftest.$ac_objext \
15750 conftest$ac_exeext conftest.$ac_ext
15751 CFLAGS=$ac_wine_try_cflags_saved
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15754 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15755 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15756 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15759 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15760 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15761 $as_echo_n "(cached) " >&6
15762 else
15763 ac_wine_try_cflags_saved=$CFLAGS
15764 CFLAGS="$CFLAGS -Wstrict-prototypes"
15765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15767 int main(int argc, char **argv) { return 0; }
15768 _ACEOF
15769 if ac_fn_c_try_link "$LINENO"; then :
15770 ac_cv_cflags__Wstrict_prototypes=yes
15771 else
15772 ac_cv_cflags__Wstrict_prototypes=no
15774 rm -f core conftest.err conftest.$ac_objext \
15775 conftest$ac_exeext conftest.$ac_ext
15776 CFLAGS=$ac_wine_try_cflags_saved
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15779 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15780 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15781 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15784 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15785 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15786 $as_echo_n "(cached) " >&6
15787 else
15788 ac_wine_try_cflags_saved=$CFLAGS
15789 CFLAGS="$CFLAGS -Wtype-limits"
15790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15791 /* end confdefs.h. */
15792 int main(int argc, char **argv) { return 0; }
15793 _ACEOF
15794 if ac_fn_c_try_link "$LINENO"; then :
15795 ac_cv_cflags__Wtype_limits=yes
15796 else
15797 ac_cv_cflags__Wtype_limits=no
15799 rm -f core conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext conftest.$ac_ext
15801 CFLAGS=$ac_wine_try_cflags_saved
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15804 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15805 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15806 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15809 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15810 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15811 $as_echo_n "(cached) " >&6
15812 else
15813 ac_wine_try_cflags_saved=$CFLAGS
15814 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15816 /* end confdefs.h. */
15817 int main(int argc, char **argv) { return 0; }
15818 _ACEOF
15819 if ac_fn_c_try_link "$LINENO"; then :
15820 ac_cv_cflags__Wunused_but_set_parameter=yes
15821 else
15822 ac_cv_cflags__Wunused_but_set_parameter=no
15824 rm -f core conftest.err conftest.$ac_objext \
15825 conftest$ac_exeext conftest.$ac_ext
15826 CFLAGS=$ac_wine_try_cflags_saved
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15829 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15830 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15831 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15834 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15835 if ${ac_cv_cflags__Wvla+:} false; then :
15836 $as_echo_n "(cached) " >&6
15837 else
15838 ac_wine_try_cflags_saved=$CFLAGS
15839 CFLAGS="$CFLAGS -Wvla"
15840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15841 /* end confdefs.h. */
15842 int main(int argc, char **argv) { return 0; }
15843 _ACEOF
15844 if ac_fn_c_try_link "$LINENO"; then :
15845 ac_cv_cflags__Wvla=yes
15846 else
15847 ac_cv_cflags__Wvla=no
15849 rm -f core conftest.err conftest.$ac_objext \
15850 conftest$ac_exeext conftest.$ac_ext
15851 CFLAGS=$ac_wine_try_cflags_saved
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15854 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15855 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15856 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15859 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15860 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15861 $as_echo_n "(cached) " >&6
15862 else
15863 ac_wine_try_cflags_saved=$CFLAGS
15864 CFLAGS="$CFLAGS -Wwrite-strings"
15865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15866 /* end confdefs.h. */
15867 int main(int argc, char **argv) { return 0; }
15868 _ACEOF
15869 if ac_fn_c_try_link "$LINENO"; then :
15870 ac_cv_cflags__Wwrite_strings=yes
15871 else
15872 ac_cv_cflags__Wwrite_strings=no
15874 rm -f core conftest.err conftest.$ac_objext \
15875 conftest$ac_exeext conftest.$ac_ext
15876 CFLAGS=$ac_wine_try_cflags_saved
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15879 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15880 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15881 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15885 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15886 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15887 $as_echo_n "(cached) " >&6
15888 else
15889 ac_wine_try_cflags_saved=$CFLAGS
15890 CFLAGS="$CFLAGS -Wpointer-arith"
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15893 int main(int argc, char **argv) { return 0; }
15894 _ACEOF
15895 if ac_fn_c_try_link "$LINENO"; then :
15896 ac_cv_cflags__Wpointer_arith=yes
15897 else
15898 ac_cv_cflags__Wpointer_arith=no
15900 rm -f core conftest.err conftest.$ac_objext \
15901 conftest$ac_exeext conftest.$ac_ext
15902 CFLAGS=$ac_wine_try_cflags_saved
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15905 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15906 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15907 saved_string_h_CFLAGS=$CFLAGS
15908 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15910 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15911 if ${ac_cv_c_string_h_warnings+:} false; then :
15912 $as_echo_n "(cached) " >&6
15913 else
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15916 #include <string.h>
15918 main ()
15922 return 0;
15924 _ACEOF
15925 if ac_fn_c_try_compile "$LINENO"; then :
15926 ac_cv_c_string_h_warnings=no
15927 else
15928 ac_cv_c_string_h_warnings=yes
15930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15933 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15934 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15935 CFLAGS=$saved_string_h_CFLAGS
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15939 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15940 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15941 $as_echo_n "(cached) " >&6
15942 else
15943 ac_wine_try_cflags_saved=$CFLAGS
15944 CFLAGS="$CFLAGS -Wlogical-op"
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15947 int main(int argc, char **argv) { return 0; }
15948 _ACEOF
15949 if ac_fn_c_try_link "$LINENO"; then :
15950 ac_cv_cflags__Wlogical_op=yes
15951 else
15952 ac_cv_cflags__Wlogical_op=no
15954 rm -f core conftest.err conftest.$ac_objext \
15955 conftest$ac_exeext conftest.$ac_ext
15956 CFLAGS=$ac_wine_try_cflags_saved
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15959 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15960 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15961 saved_string_h_CFLAGS=$CFLAGS
15962 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15964 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15965 if ${ac_cv_c_logicalop_noisy+:} false; then :
15966 $as_echo_n "(cached) " >&6
15967 else
15968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h. */
15970 #include <string.h>
15971 char*f(const char *h,char n) {return strchr(h,n);}
15973 main ()
15977 return 0;
15979 _ACEOF
15980 if ac_fn_c_try_compile "$LINENO"; then :
15981 ac_cv_c_logicalop_noisy=no
15982 else
15983 ac_cv_c_logicalop_noisy=yes
15985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15988 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15989 CFLAGS=$saved_string_h_CFLAGS
15990 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15993 CFLAGS=$saved_CFLAGS
15995 for ac_flag in $CFLAGS; do
15996 case $ac_flag in
15997 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15998 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15999 if ${ac_cv_cflags__gdwarf_2+:} false; then :
16000 $as_echo_n "(cached) " >&6
16001 else
16002 ac_wine_try_cflags_saved=$CFLAGS
16003 CFLAGS="$CFLAGS -gdwarf-2"
16004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16006 int main(int argc, char **argv) { return 0; }
16007 _ACEOF
16008 if ac_fn_c_try_link "$LINENO"; then :
16009 ac_cv_cflags__gdwarf_2=yes
16010 else
16011 ac_cv_cflags__gdwarf_2=no
16013 rm -f core conftest.err conftest.$ac_objext \
16014 conftest$ac_exeext conftest.$ac_ext
16015 CFLAGS=$ac_wine_try_cflags_saved
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16018 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16019 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16020 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16023 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16024 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16025 $as_echo_n "(cached) " >&6
16026 else
16027 ac_wine_try_cflags_saved=$CFLAGS
16028 CFLAGS="$CFLAGS -gstrict-dwarf"
16029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16030 /* end confdefs.h. */
16031 int main(int argc, char **argv) { return 0; }
16032 _ACEOF
16033 if ac_fn_c_try_link "$LINENO"; then :
16034 ac_cv_cflags__gstrict_dwarf=yes
16035 else
16036 ac_cv_cflags__gstrict_dwarf=no
16038 rm -f core conftest.err conftest.$ac_objext \
16039 conftest$ac_exeext conftest.$ac_ext
16040 CFLAGS=$ac_wine_try_cflags_saved
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16043 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16044 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16045 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16046 fi ;;
16047 esac
16048 done
16050 case $host_cpu in
16051 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16052 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16053 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16054 $as_echo_n "(cached) " >&6
16055 else
16056 ac_wine_try_cflags_saved=$CFLAGS
16057 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16059 /* end confdefs.h. */
16060 int main(int argc, char **argv) { return 0; }
16061 _ACEOF
16062 if ac_fn_c_try_link "$LINENO"; then :
16063 ac_cv_cflags__fno_omit_frame_pointer=yes
16064 else
16065 ac_cv_cflags__fno_omit_frame_pointer=no
16067 rm -f core conftest.err conftest.$ac_objext \
16068 conftest$ac_exeext conftest.$ac_ext
16069 CFLAGS=$ac_wine_try_cflags_saved
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16072 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16073 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16074 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16075 fi ;;
16076 esac
16078 case $host in
16079 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16080 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16081 if ${ac_cv_cflags__Wno_format+:} false; then :
16082 $as_echo_n "(cached) " >&6
16083 else
16084 ac_wine_try_cflags_saved=$CFLAGS
16085 CFLAGS="$CFLAGS -Wno-format"
16086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16087 /* end confdefs.h. */
16088 int main(int argc, char **argv) { return 0; }
16089 _ACEOF
16090 if ac_fn_c_try_link "$LINENO"; then :
16091 ac_cv_cflags__Wno_format=yes
16092 else
16093 ac_cv_cflags__Wno_format=no
16095 rm -f core conftest.err conftest.$ac_objext \
16096 conftest$ac_exeext conftest.$ac_ext
16097 CFLAGS=$ac_wine_try_cflags_saved
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16100 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16101 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16102 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16103 fi ;;
16104 esac
16106 if test "x$enable_maintainer_mode" = "xyes"
16107 then
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16109 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16110 if ${ac_cv_cflags__Werror+:} false; then :
16111 $as_echo_n "(cached) " >&6
16112 else
16113 ac_wine_try_cflags_saved=$CFLAGS
16114 CFLAGS="$CFLAGS -Werror"
16115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16116 /* end confdefs.h. */
16117 int main(int argc, char **argv) { return 0; }
16118 _ACEOF
16119 if ac_fn_c_try_link "$LINENO"; then :
16120 ac_cv_cflags__Werror=yes
16121 else
16122 ac_cv_cflags__Werror=no
16124 rm -f core conftest.err conftest.$ac_objext \
16125 conftest$ac_exeext conftest.$ac_ext
16126 CFLAGS=$ac_wine_try_cflags_saved
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16129 $as_echo "$ac_cv_cflags__Werror" >&6; }
16130 if test "x$ac_cv_cflags__Werror" = xyes; then :
16131 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16135 saved_CFLAGS="$CFLAGS"
16136 CFLAGS="$CFLAGS -Werror"
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16138 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16139 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16143 /* end confdefs.h. */
16144 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16146 main ()
16150 return 0;
16152 _ACEOF
16153 if ac_fn_c_try_compile "$LINENO"; then :
16154 ac_cv_have_ms_hook_prologue="yes"
16155 else
16156 ac_cv_have_ms_hook_prologue="no"
16158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16161 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16162 CFLAGS="$saved_CFLAGS"
16163 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16164 then
16166 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16168 else
16169 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16176 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16177 if ${ac_cv_c_fortify_enabled+:} false; then :
16178 $as_echo_n "(cached) " >&6
16179 else
16180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16181 /* end confdefs.h. */
16182 #include <string.h>
16184 main ()
16186 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16187 #error Fortify enabled
16188 #endif
16190 return 0;
16192 _ACEOF
16193 if ac_fn_c_try_compile "$LINENO"; then :
16194 ac_cv_c_fortify_enabled=no
16195 else
16196 ac_cv_c_fortify_enabled=yes
16198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16201 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16202 if test "$ac_cv_c_fortify_enabled" = yes
16203 then
16204 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16209 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16210 if ${ac_cv_c_extern_prefix+:} false; then :
16211 $as_echo_n "(cached) " >&6
16212 else
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16215 extern int ac_test;
16217 main ()
16219 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16221 return 0;
16223 _ACEOF
16224 if ac_fn_c_try_link "$LINENO"; then :
16225 ac_cv_c_extern_prefix="yes"
16226 else
16227 ac_cv_c_extern_prefix="no"
16229 rm -f core conftest.err conftest.$ac_objext \
16230 conftest$ac_exeext conftest.$ac_ext
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16233 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16235 case $host_cpu in
16236 *i[3456789]86*)
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16238 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16239 if ${ac_cv_c_stdcall_suffix+:} false; then :
16240 $as_echo_n "(cached) " >&6
16241 else
16242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16244 #ifndef _MSC_VER
16245 #define __stdcall __attribute__((__stdcall__))
16246 #endif
16247 int __stdcall ac_test(int i) { return i; }
16249 main ()
16251 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16253 return 0;
16255 _ACEOF
16256 if ac_fn_c_try_link "$LINENO"; then :
16257 ac_cv_c_stdcall_suffix="yes"
16258 else
16259 ac_cv_c_stdcall_suffix="no"
16261 rm -f core conftest.err conftest.$ac_objext \
16262 conftest$ac_exeext conftest.$ac_ext
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16265 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16266 *) ac_cv_c_stdcall_suffix="no" ;;
16267 esac
16270 if test "$ac_cv_c_extern_prefix" = "yes"
16271 then
16272 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16274 asm_name_prefix="_"
16275 else
16276 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16278 asm_name_prefix=""
16282 if test "$ac_cv_c_stdcall_suffix" = "yes"
16283 then
16284 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16286 else
16287 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16293 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16294 if ${ac_cv_asm_func_def+:} false; then :
16295 $as_echo_n "(cached) " >&6
16296 else
16297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16298 /* end confdefs.h. */
16301 main ()
16303 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16305 return 0;
16307 _ACEOF
16308 if ac_fn_c_try_link "$LINENO"; then :
16309 ac_cv_asm_func_def=".def"
16310 else
16311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16312 /* end confdefs.h. */
16315 main ()
16317 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16319 return 0;
16321 _ACEOF
16322 if ac_fn_c_try_link "$LINENO"; then :
16323 ac_cv_asm_func_def=".type @function"
16324 else
16325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16329 main ()
16331 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16333 return 0;
16335 _ACEOF
16336 if ac_fn_c_try_link "$LINENO"; then :
16337 ac_cv_asm_func_def=".type 2"
16338 else
16339 ac_cv_asm_func_def="unknown"
16341 rm -f core conftest.err conftest.$ac_objext \
16342 conftest$ac_exeext conftest.$ac_ext
16344 rm -f core conftest.err conftest.$ac_objext \
16345 conftest$ac_exeext conftest.$ac_ext
16347 rm -f core conftest.err conftest.$ac_objext \
16348 conftest$ac_exeext conftest.$ac_ext
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16351 $as_echo "$ac_cv_asm_func_def" >&6; }
16354 case "$ac_cv_asm_func_def" in
16355 ".def")
16356 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16358 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16359 ".type @function")
16360 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16362 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16363 ".type 2")
16364 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16366 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16368 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16370 asm_func_header="" ;;
16371 esac
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16374 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16375 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16376 $as_echo_n "(cached) " >&6
16377 else
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16380 asm(".text\n\t.long 0");
16382 main ()
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_compile "$LINENO"; then :
16390 ac_cv_c_asm_outside_funcs="yes"
16391 else
16392 ac_cv_c_asm_outside_funcs="no"
16394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16397 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16400 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16401 if ${ac_cv_c_dot_previous+:} false; then :
16402 $as_echo_n "(cached) " >&6
16403 else
16404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16405 /* end confdefs.h. */
16408 main ()
16410 asm(".text\nac_test:\t.long 0\n\t.previous");
16412 return 0;
16414 _ACEOF
16415 if ac_fn_c_try_link "$LINENO"; then :
16416 ac_cv_c_dot_previous="yes"
16417 else
16418 ac_cv_c_dot_previous="no"
16420 rm -f core conftest.err conftest.$ac_objext \
16421 conftest$ac_exeext conftest.$ac_ext
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16424 $as_echo "$ac_cv_c_dot_previous" >&6; }
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16427 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16428 if ${ac_cv_c_cfi_support+:} false; then :
16429 $as_echo_n "(cached) " >&6
16430 else
16431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16433 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16435 main ()
16439 return 0;
16441 _ACEOF
16442 if ac_fn_c_try_compile "$LINENO"; then :
16443 ac_cv_c_cfi_support="yes"
16444 else
16445 ac_cv_c_cfi_support="no"
16447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16450 $as_echo "$ac_cv_c_cfi_support" >&6; }
16452 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16453 asm_func_trailer=""
16454 if test "$ac_cv_c_dot_previous" = "yes"
16455 then
16456 asm_func_trailer="\\n\\t.previous"
16458 if test "$ac_cv_c_cfi_support" = "yes"
16459 then
16460 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16461 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16463 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16465 UNWINDFLAGS=-fasynchronous-unwind-tables
16467 else
16468 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16470 if test "x$enable_win64" = "xyes"
16471 then
16472 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16476 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16479 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16480 then
16481 cat >>confdefs.h <<_ACEOF
16482 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16483 _ACEOF
16485 else
16486 cat >>confdefs.h <<_ACEOF
16487 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16488 _ACEOF
16492 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16495 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16499 case $build_os in
16500 cygwin*|mingw32*) TOOLSEXT=".exe"
16502 esac
16504 case $host_os in
16505 linux*)
16506 case $host_cpu in
16507 *i[3456789]86*|x86_64*|*aarch64*)
16508 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16509 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16511 esac
16513 darwin*|macosx*)
16514 case $host_cpu in
16515 *i[3456789]86*|x86_64*)
16516 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16517 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16519 esac
16521 esac
16524 ac_save_CFLAGS="$CFLAGS"
16525 CFLAGS="$CFLAGS $BUILTINFLAG"
16526 for ac_func in \
16527 __res_get_state \
16528 __res_getservers \
16529 _finite \
16530 _isnan \
16531 _pclose \
16532 _popen \
16533 _snprintf \
16534 _spawnvp \
16535 _strdup \
16536 _stricmp \
16537 _strnicmp \
16538 _strtoi64 \
16539 _strtoui64 \
16540 _vsnprintf \
16541 asctime_r \
16542 chsize \
16543 dlopen \
16544 epoll_create \
16545 ffs \
16546 finitef \
16547 fnmatch \
16548 fork \
16549 fpclass \
16550 fstatfs \
16551 fstatvfs \
16552 ftruncate \
16553 futimens \
16554 futimes \
16555 futimesat \
16556 getattrlist \
16557 getauxval \
16558 getifaddrs \
16559 getopt_long_only \
16560 getpwuid \
16561 gettimeofday \
16562 getuid \
16563 kqueue \
16564 lstat \
16565 memmove \
16566 mmap \
16567 pclose \
16568 pipe2 \
16569 poll \
16570 popen \
16571 port_create \
16572 prctl \
16573 pread \
16574 proc_pidinfo \
16575 pwrite \
16576 readdir \
16577 readlink \
16578 sched_yield \
16579 select \
16580 setproctitle \
16581 setprogname \
16582 setrlimit \
16583 settimeofday \
16584 sigaltstack \
16585 sigprocmask \
16586 snprintf \
16587 statfs \
16588 statvfs \
16589 strcasecmp \
16590 strdup \
16591 strerror \
16592 strncasecmp \
16593 strnlen \
16594 strtold \
16595 strtoll \
16596 strtoull \
16597 symlink \
16598 sysinfo \
16599 tcdrain \
16600 thr_kill2 \
16601 timegm \
16602 usleep \
16603 vsnprintf
16605 do :
16606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16608 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16609 cat >>confdefs.h <<_ACEOF
16610 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16611 _ACEOF
16614 done
16616 CFLAGS="$ac_save_CFLAGS"
16618 if test "$ac_cv_func_dlopen" = no
16619 then
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16621 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16622 if ${ac_cv_lib_dl_dlopen+:} false; then :
16623 $as_echo_n "(cached) " >&6
16624 else
16625 ac_check_lib_save_LIBS=$LIBS
16626 LIBS="-ldl $LIBS"
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16630 /* Override any GCC internal prototype to avoid an error.
16631 Use char because int might match the return type of a GCC
16632 builtin and then its argument prototype would still apply. */
16633 #ifdef __cplusplus
16634 extern "C"
16635 #endif
16636 char dlopen ();
16638 main ()
16640 return dlopen ();
16642 return 0;
16644 _ACEOF
16645 if ac_fn_c_try_link "$LINENO"; then :
16646 ac_cv_lib_dl_dlopen=yes
16647 else
16648 ac_cv_lib_dl_dlopen=no
16650 rm -f core conftest.err conftest.$ac_objext \
16651 conftest$ac_exeext conftest.$ac_ext
16652 LIBS=$ac_check_lib_save_LIBS
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16655 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16656 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16657 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16658 DL_LIBS="-ldl"
16663 ac_wine_check_funcs_save_LIBS="$LIBS"
16664 LIBS="$LIBS $DL_LIBS"
16665 for ac_func in dladdr
16666 do :
16667 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16668 if test "x$ac_cv_func_dladdr" = xyes; then :
16669 cat >>confdefs.h <<_ACEOF
16670 #define HAVE_DLADDR 1
16671 _ACEOF
16674 done
16676 LIBS="$ac_wine_check_funcs_save_LIBS"
16678 if test "$ac_cv_func_poll" = no
16679 then
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16681 $as_echo_n "checking for poll in -lpoll... " >&6; }
16682 if ${ac_cv_lib_poll_poll+:} false; then :
16683 $as_echo_n "(cached) " >&6
16684 else
16685 ac_check_lib_save_LIBS=$LIBS
16686 LIBS="-lpoll $LIBS"
16687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688 /* end confdefs.h. */
16690 /* Override any GCC internal prototype to avoid an error.
16691 Use char because int might match the return type of a GCC
16692 builtin and then its argument prototype would still apply. */
16693 #ifdef __cplusplus
16694 extern "C"
16695 #endif
16696 char poll ();
16698 main ()
16700 return poll ();
16702 return 0;
16704 _ACEOF
16705 if ac_fn_c_try_link "$LINENO"; then :
16706 ac_cv_lib_poll_poll=yes
16707 else
16708 ac_cv_lib_poll_poll=no
16710 rm -f core conftest.err conftest.$ac_objext \
16711 conftest$ac_exeext conftest.$ac_ext
16712 LIBS=$ac_check_lib_save_LIBS
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16715 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16716 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16717 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16718 POLL_LIBS="-lpoll"
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16725 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16726 if ${ac_cv_search_gethostbyname+:} false; then :
16727 $as_echo_n "(cached) " >&6
16728 else
16729 ac_func_search_save_LIBS=$LIBS
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16733 /* Override any GCC internal prototype to avoid an error.
16734 Use char because int might match the return type of a GCC
16735 builtin and then its argument prototype would still apply. */
16736 #ifdef __cplusplus
16737 extern "C"
16738 #endif
16739 char gethostbyname ();
16741 main ()
16743 return gethostbyname ();
16745 return 0;
16747 _ACEOF
16748 for ac_lib in '' nsl; do
16749 if test -z "$ac_lib"; then
16750 ac_res="none required"
16751 else
16752 ac_res=-l$ac_lib
16753 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16755 if ac_fn_c_try_link "$LINENO"; then :
16756 ac_cv_search_gethostbyname=$ac_res
16758 rm -f core conftest.err conftest.$ac_objext \
16759 conftest$ac_exeext
16760 if ${ac_cv_search_gethostbyname+:} false; then :
16761 break
16763 done
16764 if ${ac_cv_search_gethostbyname+:} false; then :
16766 else
16767 ac_cv_search_gethostbyname=no
16769 rm conftest.$ac_ext
16770 LIBS=$ac_func_search_save_LIBS
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16773 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16774 ac_res=$ac_cv_search_gethostbyname
16775 if test "$ac_res" != no; then :
16776 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16782 $as_echo_n "checking for library containing connect... " >&6; }
16783 if ${ac_cv_search_connect+:} false; then :
16784 $as_echo_n "(cached) " >&6
16785 else
16786 ac_func_search_save_LIBS=$LIBS
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16790 /* Override any GCC internal prototype to avoid an error.
16791 Use char because int might match the return type of a GCC
16792 builtin and then its argument prototype would still apply. */
16793 #ifdef __cplusplus
16794 extern "C"
16795 #endif
16796 char connect ();
16798 main ()
16800 return connect ();
16802 return 0;
16804 _ACEOF
16805 for ac_lib in '' socket; do
16806 if test -z "$ac_lib"; then
16807 ac_res="none required"
16808 else
16809 ac_res=-l$ac_lib
16810 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16812 if ac_fn_c_try_link "$LINENO"; then :
16813 ac_cv_search_connect=$ac_res
16815 rm -f core conftest.err conftest.$ac_objext \
16816 conftest$ac_exeext
16817 if ${ac_cv_search_connect+:} false; then :
16818 break
16820 done
16821 if ${ac_cv_search_connect+:} false; then :
16823 else
16824 ac_cv_search_connect=no
16826 rm conftest.$ac_ext
16827 LIBS=$ac_func_search_save_LIBS
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16830 $as_echo "$ac_cv_search_connect" >&6; }
16831 ac_res=$ac_cv_search_connect
16832 if test "$ac_res" != no; then :
16833 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16839 $as_echo_n "checking for library containing inet_aton... " >&6; }
16840 if ${ac_cv_search_inet_aton+:} false; then :
16841 $as_echo_n "(cached) " >&6
16842 else
16843 ac_func_search_save_LIBS=$LIBS
16844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16845 /* end confdefs.h. */
16847 /* Override any GCC internal prototype to avoid an error.
16848 Use char because int might match the return type of a GCC
16849 builtin and then its argument prototype would still apply. */
16850 #ifdef __cplusplus
16851 extern "C"
16852 #endif
16853 char inet_aton ();
16855 main ()
16857 return inet_aton ();
16859 return 0;
16861 _ACEOF
16862 for ac_lib in '' resolv; do
16863 if test -z "$ac_lib"; then
16864 ac_res="none required"
16865 else
16866 ac_res=-l$ac_lib
16867 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16869 if ac_fn_c_try_link "$LINENO"; then :
16870 ac_cv_search_inet_aton=$ac_res
16872 rm -f core conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext
16874 if ${ac_cv_search_inet_aton+:} false; then :
16875 break
16877 done
16878 if ${ac_cv_search_inet_aton+:} false; then :
16880 else
16881 ac_cv_search_inet_aton=no
16883 rm conftest.$ac_ext
16884 LIBS=$ac_func_search_save_LIBS
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16887 $as_echo "$ac_cv_search_inet_aton" >&6; }
16888 ac_res=$ac_cv_search_inet_aton
16889 if test "$ac_res" != no; then :
16890 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16895 for ac_func in \
16896 getaddrinfo \
16897 getnameinfo \
16898 getnetbyname \
16899 getprotobyname \
16900 getprotobynumber \
16901 getservbyport \
16902 inet_addr \
16903 inet_network \
16904 inet_ntop \
16905 inet_pton \
16906 sendmsg \
16907 socketpair \
16909 do :
16910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16912 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16913 cat >>confdefs.h <<_ACEOF
16914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16915 _ACEOF
16918 done
16921 ac_save_LIBS=$LIBS
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16923 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16924 if ${ac_cv_search_clock_gettime+:} false; then :
16925 $as_echo_n "(cached) " >&6
16926 else
16927 ac_func_search_save_LIBS=$LIBS
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16931 /* Override any GCC internal prototype to avoid an error.
16932 Use char because int might match the return type of a GCC
16933 builtin and then its argument prototype would still apply. */
16934 #ifdef __cplusplus
16935 extern "C"
16936 #endif
16937 char clock_gettime ();
16939 main ()
16941 return clock_gettime ();
16943 return 0;
16945 _ACEOF
16946 for ac_lib in '' rt; do
16947 if test -z "$ac_lib"; then
16948 ac_res="none required"
16949 else
16950 ac_res=-l$ac_lib
16951 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16953 if ac_fn_c_try_link "$LINENO"; then :
16954 ac_cv_search_clock_gettime=$ac_res
16956 rm -f core conftest.err conftest.$ac_objext \
16957 conftest$ac_exeext
16958 if ${ac_cv_search_clock_gettime+:} false; then :
16959 break
16961 done
16962 if ${ac_cv_search_clock_gettime+:} false; then :
16964 else
16965 ac_cv_search_clock_gettime=no
16967 rm conftest.$ac_ext
16968 LIBS=$ac_func_search_save_LIBS
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16971 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16972 ac_res=$ac_cv_search_clock_gettime
16973 if test "$ac_res" != no; then :
16974 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16976 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16978 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16982 LIBS=$ac_save_LIBS
16984 if test "x$with_ldap" != "xno"
16985 then
16986 if ${LDAP_CFLAGS:+false} :; then :
16987 if ${PKG_CONFIG+:} false; then :
16988 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16992 if ${LDAP_LIBS:+false} :; then :
16993 if ${PKG_CONFIG+:} false; then :
16994 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16998 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16999 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17000 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17001 ac_save_CPPFLAGS=$CPPFLAGS
17002 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17003 for ac_header in ldap.h lber.h
17004 do :
17005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17006 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17007 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17008 cat >>confdefs.h <<_ACEOF
17009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17010 _ACEOF
17014 done
17016 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17017 then
17018 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17020 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17022 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17023 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17024 $as_echo_n "(cached) " >&6
17025 else
17026 ac_check_lib_save_LIBS=$LIBS
17027 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17031 /* Override any GCC internal prototype to avoid an error.
17032 Use char because int might match the return type of a GCC
17033 builtin and then its argument prototype would still apply. */
17034 #ifdef __cplusplus
17035 extern "C"
17036 #endif
17037 char ldap_initialize ();
17039 main ()
17041 return ldap_initialize ();
17043 return 0;
17045 _ACEOF
17046 if ac_fn_c_try_link "$LINENO"; then :
17047 ac_cv_lib_ldap_r_ldap_initialize=yes
17048 else
17049 ac_cv_lib_ldap_r_ldap_initialize=no
17051 rm -f core conftest.err conftest.$ac_objext \
17052 conftest$ac_exeext conftest.$ac_ext
17053 LIBS=$ac_check_lib_save_LIBS
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17056 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17057 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17059 $as_echo_n "checking for ber_init in -llber... " >&6; }
17060 if ${ac_cv_lib_lber_ber_init+:} false; then :
17061 $as_echo_n "(cached) " >&6
17062 else
17063 ac_check_lib_save_LIBS=$LIBS
17064 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17068 /* Override any GCC internal prototype to avoid an error.
17069 Use char because int might match the return type of a GCC
17070 builtin and then its argument prototype would still apply. */
17071 #ifdef __cplusplus
17072 extern "C"
17073 #endif
17074 char ber_init ();
17076 main ()
17078 return ber_init ();
17080 return 0;
17082 _ACEOF
17083 if ac_fn_c_try_link "$LINENO"; then :
17084 ac_cv_lib_lber_ber_init=yes
17085 else
17086 ac_cv_lib_lber_ber_init=no
17088 rm -f core conftest.err conftest.$ac_objext \
17089 conftest$ac_exeext conftest.$ac_ext
17090 LIBS=$ac_check_lib_save_LIBS
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17093 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17094 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17096 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17098 else
17099 LDAP_LIBS=""
17102 else
17103 LDAP_LIBS=""
17106 else
17107 LDAP_LIBS=""
17110 ac_wine_check_funcs_save_LIBS="$LIBS"
17111 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17112 for ac_func in \
17113 ldap_count_references \
17114 ldap_first_reference \
17115 ldap_next_reference \
17116 ldap_parse_reference \
17117 ldap_parse_sort_control \
17118 ldap_parse_sortresponse_control \
17119 ldap_parse_vlv_control \
17120 ldap_parse_vlvresponse_control
17121 do :
17122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17124 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17125 cat >>confdefs.h <<_ACEOF
17126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17127 _ACEOF
17130 done
17132 LIBS="$ac_wine_check_funcs_save_LIBS"
17133 else
17134 LDAP_LIBS=""
17136 CPPFLAGS=$ac_save_CPPFLAGS
17137 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17138 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17141 if test "x$LDAP_LIBS" = "x"; then :
17142 case "x$with_ldap" in
17143 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17144 xno) ;;
17145 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17146 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17147 esac
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17152 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17153 if ${wine_cv_one_arg_mkdir+:} false; then :
17154 $as_echo_n "(cached) " >&6
17155 else
17156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17158 #include <sys/stat.h>
17160 main ()
17162 mkdir("foo");
17164 return 0;
17166 _ACEOF
17167 if ac_fn_c_try_compile "$LINENO"; then :
17168 wine_cv_one_arg_mkdir=yes
17169 else
17170 wine_cv_one_arg_mkdir=no
17172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17175 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17176 if test "$wine_cv_one_arg_mkdir" = "yes"
17177 then
17179 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17184 $as_echo_n "checking for sched_setaffinity... " >&6; }
17185 if ${wine_cv_have_sched_setaffinity+:} false; then :
17186 $as_echo_n "(cached) " >&6
17187 else
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17190 #define _GNU_SOURCE
17191 #include <sched.h>
17193 main ()
17195 sched_setaffinity(0, 0, 0);
17197 return 0;
17199 _ACEOF
17200 if ac_fn_c_try_link "$LINENO"; then :
17201 wine_cv_have_sched_setaffinity=yes
17202 else
17203 wine_cv_have_sched_setaffinity=no
17205 rm -f core conftest.err conftest.$ac_objext \
17206 conftest$ac_exeext conftest.$ac_ext
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17209 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17210 if test "$wine_cv_have_sched_setaffinity" = "yes"
17211 then
17213 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17218 $as_echo_n "checking for fallocate... " >&6; }
17219 if ${wine_cv_have_fallocate+:} false; then :
17220 $as_echo_n "(cached) " >&6
17221 else
17222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17223 /* end confdefs.h. */
17224 #define _GNU_SOURCE
17225 #include <fcntl.h>
17227 main ()
17229 fallocate(-1, 0, 0, 0);
17231 return 0;
17233 _ACEOF
17234 if ac_fn_c_try_link "$LINENO"; then :
17235 wine_cv_have_fallocate=yes
17236 else
17237 wine_cv_have_fallocate=no
17239 rm -f core conftest.err conftest.$ac_objext \
17240 conftest$ac_exeext conftest.$ac_ext
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17243 $as_echo "$wine_cv_have_fallocate" >&6; }
17244 if test "$wine_cv_have_fallocate" = "yes"
17245 then
17247 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17253 $as_echo_n "checking for inline... " >&6; }
17254 if ${ac_cv_c_inline+:} false; then :
17255 $as_echo_n "(cached) " >&6
17256 else
17257 ac_cv_c_inline=no
17258 for ac_kw in inline __inline__ __inline; do
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17261 #ifndef __cplusplus
17262 typedef int foo_t;
17263 static $ac_kw foo_t static_foo () {return 0; }
17264 $ac_kw foo_t foo () {return 0; }
17265 #endif
17267 _ACEOF
17268 if ac_fn_c_try_compile "$LINENO"; then :
17269 ac_cv_c_inline=$ac_kw
17271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17272 test "$ac_cv_c_inline" != no && break
17273 done
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17277 $as_echo "$ac_cv_c_inline" >&6; }
17279 case $ac_cv_c_inline in
17280 inline | yes) ;;
17282 case $ac_cv_c_inline in
17283 no) ac_val=;;
17284 *) ac_val=$ac_cv_c_inline;;
17285 esac
17286 cat >>confdefs.h <<_ACEOF
17287 #ifndef __cplusplus
17288 #define inline $ac_val
17289 #endif
17290 _ACEOF
17292 esac
17294 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17295 if test "x$ac_cv_type_mode_t" = xyes; then :
17297 cat >>confdefs.h <<_ACEOF
17298 #define HAVE_MODE_T 1
17299 _ACEOF
17303 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17304 if test "x$ac_cv_type_off_t" = xyes; then :
17306 cat >>confdefs.h <<_ACEOF
17307 #define HAVE_OFF_T 1
17308 _ACEOF
17312 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17313 if test "x$ac_cv_type_pid_t" = xyes; then :
17315 cat >>confdefs.h <<_ACEOF
17316 #define HAVE_PID_T 1
17317 _ACEOF
17321 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17322 if test "x$ac_cv_type_size_t" = xyes; then :
17324 cat >>confdefs.h <<_ACEOF
17325 #define HAVE_SIZE_T 1
17326 _ACEOF
17330 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17331 if test "x$ac_cv_type_ssize_t" = xyes; then :
17333 cat >>confdefs.h <<_ACEOF
17334 #define HAVE_SSIZE_T 1
17335 _ACEOF
17339 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17340 if test "x$ac_cv_type_long_long" = xyes; then :
17342 cat >>confdefs.h <<_ACEOF
17343 #define HAVE_LONG_LONG 1
17344 _ACEOF
17348 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17349 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17351 cat >>confdefs.h <<_ACEOF
17352 #define HAVE_FSBLKCNT_T 1
17353 _ACEOF
17357 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17358 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17360 cat >>confdefs.h <<_ACEOF
17361 #define HAVE_FSFILCNT_T 1
17362 _ACEOF
17367 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17368 #include <signal.h>
17370 if test "x$ac_cv_type_sigset_t" = xyes; then :
17372 cat >>confdefs.h <<_ACEOF
17373 #define HAVE_SIGSET_T 1
17374 _ACEOF
17379 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17381 if test "x$ac_cv_type_request_sense" = xyes; then :
17383 cat >>confdefs.h <<_ACEOF
17384 #define HAVE_REQUEST_SENSE 1
17385 _ACEOF
17391 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17392 #ifdef HAVE_SYS_SOCKET_H
17393 #include <sys/socket.h>
17394 #endif
17395 #ifdef HAVE_SYS_SOCKETVAR_H
17396 #include <sys/socketvar.h>
17397 #endif
17398 #ifdef HAVE_NET_ROUTE_H
17399 #include <net/route.h>
17400 #endif
17401 #ifdef HAVE_NETINET_IN_H
17402 #include <netinet/in.h>
17403 #endif
17404 #ifdef HAVE_NETINET_IN_SYSTM_H
17405 #include <netinet/in_systm.h>
17406 #endif
17407 #ifdef HAVE_NETINET_IP_H
17408 #include <netinet/ip.h>
17409 #endif
17410 #ifdef HAVE_NETINET_IN_PCB_H
17411 #include <netinet/in_pcb.h>
17412 #endif
17414 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17416 cat >>confdefs.h <<_ACEOF
17417 #define HAVE_STRUCT_XINPGEN 1
17418 _ACEOF
17424 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17425 #include <link.h>
17426 #endif
17427 #ifdef HAVE_SYS_LINK_H
17428 #include <sys/link.h>
17429 #endif
17431 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17433 cat >>confdefs.h <<_ACEOF
17434 #define HAVE_STRUCT_R_DEBUG 1
17435 _ACEOF
17439 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17440 #include <link.h>
17441 #endif
17442 #ifdef HAVE_SYS_LINK_H
17443 #include <sys/link.h>
17444 #endif
17446 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17448 cat >>confdefs.h <<_ACEOF
17449 #define HAVE_STRUCT_LINK_MAP 1
17450 _ACEOF
17456 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17457 #include <linux/input.h>
17458 #endif
17460 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17462 cat >>confdefs.h <<_ACEOF
17463 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17464 _ACEOF
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17471 $as_echo_n "checking for if_nameindex... " >&6; }
17472 if ${wine_cv_have_if_nameindex+:} false; then :
17473 $as_echo_n "(cached) " >&6
17474 else
17475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h. */
17477 #ifdef HAVE_SYS_TYPES_H
17478 #include <sys/types.h>
17479 #endif
17480 #ifdef HAVE_SYS_SOCKET_H
17481 #include <sys/socket.h>
17482 #endif
17483 #ifdef HAVE_NET_IF_H
17484 # include <net/if.h>
17485 #endif
17487 main ()
17489 struct if_nameindex *p = if_nameindex(); return p->if_index;
17491 return 0;
17493 _ACEOF
17494 if ac_fn_c_try_link "$LINENO"; then :
17495 wine_cv_have_if_nameindex=yes
17496 else
17497 wine_cv_have_if_nameindex=no
17499 rm -f core conftest.err conftest.$ac_objext \
17500 conftest$ac_exeext conftest.$ac_ext
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17503 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17504 if test "$wine_cv_have_if_nameindex" = "yes"
17505 then
17507 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17512 $as_echo_n "checking for sigaddset... " >&6; }
17513 if ${wine_cv_have_sigaddset+:} false; then :
17514 $as_echo_n "(cached) " >&6
17515 else
17516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17517 /* end confdefs.h. */
17518 #include <signal.h>
17520 main ()
17522 sigset_t set; sigaddset(&set,SIGTERM);
17524 return 0;
17526 _ACEOF
17527 if ac_fn_c_try_link "$LINENO"; then :
17528 wine_cv_have_sigaddset=yes
17529 else
17530 wine_cv_have_sigaddset=no
17532 rm -f core conftest.err conftest.$ac_objext \
17533 conftest$ac_exeext conftest.$ac_ext
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17536 $as_echo "$wine_cv_have_sigaddset" >&6; }
17537 if test "$wine_cv_have_sigaddset" = "yes"
17538 then
17540 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17546 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17547 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17548 $as_echo_n "(cached) " >&6
17549 else
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17552 #include <netdb.h>
17554 main ()
17557 char *name=0;
17558 struct hostent he;
17559 struct hostent *result;
17560 char *buf=0;
17561 int bufsize=0;
17562 int errnr;
17563 char *addr=0;
17564 int addrlen=0;
17565 int addrtype=0;
17566 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17567 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17570 return 0;
17572 _ACEOF
17573 if ac_fn_c_try_link "$LINENO"; then :
17574 wine_cv_linux_gethostbyname_r_6=yes
17575 else
17576 wine_cv_linux_gethostbyname_r_6=no
17579 rm -f core conftest.err conftest.$ac_objext \
17580 conftest$ac_exeext conftest.$ac_ext
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17584 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17585 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17586 then
17588 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17592 if test "$ac_cv_header_linux_joystick_h" = "yes"
17593 then
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17595 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17596 if ${wine_cv_linux_joystick_22_api+:} false; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17600 /* end confdefs.h. */
17602 #include <sys/ioctl.h>
17603 #include <sys/types.h>
17604 #include <linux/joystick.h>
17606 struct js_event blub;
17607 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17608 #error "no 2.2 header"
17609 #endif
17612 main ()
17614 /*empty*/
17616 return 0;
17618 _ACEOF
17619 if ac_fn_c_try_compile "$LINENO"; then :
17620 wine_cv_linux_joystick_22_api=yes
17621 else
17622 wine_cv_linux_joystick_22_api=no
17624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17628 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17629 if test "$wine_cv_linux_joystick_22_api" = "yes"
17630 then
17632 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17638 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17639 #ifdef HAVE_SYS_PARAM_H
17640 # include <sys/param.h>
17641 #endif
17642 #ifdef HAVE_SYS_MOUNT_H
17643 # include <sys/mount.h>
17644 #endif
17645 #ifdef HAVE_SYS_VFS_H
17646 # include <sys/vfs.h>
17647 #endif
17648 #ifdef HAVE_SYS_STATFS_H
17649 # include <sys/statfs.h>
17650 #endif
17652 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17654 cat >>confdefs.h <<_ACEOF
17655 #define HAVE_STRUCT_STATFS_F_BFREE 1
17656 _ACEOF
17660 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17661 #ifdef HAVE_SYS_PARAM_H
17662 # include <sys/param.h>
17663 #endif
17664 #ifdef HAVE_SYS_MOUNT_H
17665 # include <sys/mount.h>
17666 #endif
17667 #ifdef HAVE_SYS_VFS_H
17668 # include <sys/vfs.h>
17669 #endif
17670 #ifdef HAVE_SYS_STATFS_H
17671 # include <sys/statfs.h>
17672 #endif
17674 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17676 cat >>confdefs.h <<_ACEOF
17677 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17678 _ACEOF
17682 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17683 #ifdef HAVE_SYS_PARAM_H
17684 # include <sys/param.h>
17685 #endif
17686 #ifdef HAVE_SYS_MOUNT_H
17687 # include <sys/mount.h>
17688 #endif
17689 #ifdef HAVE_SYS_VFS_H
17690 # include <sys/vfs.h>
17691 #endif
17692 #ifdef HAVE_SYS_STATFS_H
17693 # include <sys/statfs.h>
17694 #endif
17696 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17698 cat >>confdefs.h <<_ACEOF
17699 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17700 _ACEOF
17704 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17705 #ifdef HAVE_SYS_PARAM_H
17706 # include <sys/param.h>
17707 #endif
17708 #ifdef HAVE_SYS_MOUNT_H
17709 # include <sys/mount.h>
17710 #endif
17711 #ifdef HAVE_SYS_VFS_H
17712 # include <sys/vfs.h>
17713 #endif
17714 #ifdef HAVE_SYS_STATFS_H
17715 # include <sys/statfs.h>
17716 #endif
17718 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17720 cat >>confdefs.h <<_ACEOF
17721 #define HAVE_STRUCT_STATFS_F_FFREE 1
17722 _ACEOF
17726 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17727 #ifdef HAVE_SYS_PARAM_H
17728 # include <sys/param.h>
17729 #endif
17730 #ifdef HAVE_SYS_MOUNT_H
17731 # include <sys/mount.h>
17732 #endif
17733 #ifdef HAVE_SYS_VFS_H
17734 # include <sys/vfs.h>
17735 #endif
17736 #ifdef HAVE_SYS_STATFS_H
17737 # include <sys/statfs.h>
17738 #endif
17740 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17742 cat >>confdefs.h <<_ACEOF
17743 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17744 _ACEOF
17748 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17749 #ifdef HAVE_SYS_PARAM_H
17750 # include <sys/param.h>
17751 #endif
17752 #ifdef HAVE_SYS_MOUNT_H
17753 # include <sys/mount.h>
17754 #endif
17755 #ifdef HAVE_SYS_VFS_H
17756 # include <sys/vfs.h>
17757 #endif
17758 #ifdef HAVE_SYS_STATFS_H
17759 # include <sys/statfs.h>
17760 #endif
17762 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17764 cat >>confdefs.h <<_ACEOF
17765 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17766 _ACEOF
17772 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17773 #include <sys/statvfs.h>
17774 #endif
17776 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17778 cat >>confdefs.h <<_ACEOF
17779 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17780 _ACEOF
17786 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17787 #include <dirent.h>
17788 #endif
17790 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17792 cat >>confdefs.h <<_ACEOF
17793 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17794 _ACEOF
17800 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17801 #ifdef HAVE_SYS_SOCKET_H
17802 # include <sys/socket.h>
17803 #endif
17804 #ifdef HAVE_SYS_UN_H
17805 # include <sys/un.h>
17806 #endif
17808 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17810 cat >>confdefs.h <<_ACEOF
17811 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17812 _ACEOF
17816 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17817 #ifdef HAVE_SYS_SOCKET_H
17818 # include <sys/socket.h>
17819 #endif
17820 #ifdef HAVE_SYS_UN_H
17821 # include <sys/un.h>
17822 #endif
17824 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17826 cat >>confdefs.h <<_ACEOF
17827 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17828 _ACEOF
17832 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17833 #ifdef HAVE_SYS_SOCKET_H
17834 # include <sys/socket.h>
17835 #endif
17836 #ifdef HAVE_SYS_UN_H
17837 # include <sys/un.h>
17838 #endif
17840 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17842 cat >>confdefs.h <<_ACEOF
17843 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17844 _ACEOF
17850 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17851 #ifdef HAVE_SCSI_SG_H
17852 #include <scsi/sg.h>
17853 #endif
17855 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17857 cat >>confdefs.h <<_ACEOF
17858 #define HAVE_SCSIREQ_T_CMD 1
17859 _ACEOF
17863 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>
17864 #ifdef HAVE_SCSI_SG_H
17865 #include <scsi/sg.h>
17866 #endif
17868 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17870 cat >>confdefs.h <<_ACEOF
17871 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17872 _ACEOF
17878 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17880 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17882 cat >>confdefs.h <<_ACEOF
17883 #define HAVE_SIGINFO_T_SI_FD 1
17884 _ACEOF
17890 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17891 #ifdef HAVE_SYS_MTIO_H
17892 #include <sys/mtio.h>
17893 #endif
17895 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17897 cat >>confdefs.h <<_ACEOF
17898 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17899 _ACEOF
17903 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17904 #ifdef HAVE_SYS_MTIO_H
17905 #include <sys/mtio.h>
17906 #endif
17908 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17910 cat >>confdefs.h <<_ACEOF
17911 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17912 _ACEOF
17916 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17917 #ifdef HAVE_SYS_MTIO_H
17918 #include <sys/mtio.h>
17919 #endif
17921 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17923 cat >>confdefs.h <<_ACEOF
17924 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17925 _ACEOF
17931 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17932 #include <getopt.h>
17933 #endif
17935 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17937 cat >>confdefs.h <<_ACEOF
17938 #define HAVE_STRUCT_OPTION_NAME 1
17939 _ACEOF
17945 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17946 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17948 cat >>confdefs.h <<_ACEOF
17949 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17950 _ACEOF
17954 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17955 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17957 cat >>confdefs.h <<_ACEOF
17958 #define HAVE_STRUCT_STAT_ST_MTIM 1
17959 _ACEOF
17963 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17964 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17966 cat >>confdefs.h <<_ACEOF
17967 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17968 _ACEOF
17972 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17973 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17975 cat >>confdefs.h <<_ACEOF
17976 #define HAVE_STRUCT_STAT_ST_CTIM 1
17977 _ACEOF
17981 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17982 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17984 cat >>confdefs.h <<_ACEOF
17985 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17986 _ACEOF
17990 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17991 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17993 cat >>confdefs.h <<_ACEOF
17994 #define HAVE_STRUCT_STAT_ST_ATIM 1
17995 _ACEOF
17999 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18000 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18002 cat >>confdefs.h <<_ACEOF
18003 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18004 _ACEOF
18008 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18009 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18011 cat >>confdefs.h <<_ACEOF
18012 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18013 _ACEOF
18017 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18018 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18020 cat >>confdefs.h <<_ACEOF
18021 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18022 _ACEOF
18026 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18027 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18029 cat >>confdefs.h <<_ACEOF
18030 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18031 _ACEOF
18035 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18036 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18038 cat >>confdefs.h <<_ACEOF
18039 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18040 _ACEOF
18044 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18045 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18047 cat >>confdefs.h <<_ACEOF
18048 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18049 _ACEOF
18055 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
18056 #include <sys/types.h>
18057 #endif
18058 #ifdef HAVE_NETINET_IN_H
18059 #include <netinet/in.h>
18060 #endif
18062 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18064 cat >>confdefs.h <<_ACEOF
18065 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18066 _ACEOF
18072 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18073 #include <sys/types.h>
18074 #endif
18075 #ifdef HAVE_NETINET_IN_H
18076 #include <netinet/in.h>
18077 #endif
18078 #ifdef HAVE_RESOLV_H
18079 #include <resolv.h>
18080 #endif
18082 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18084 cat >>confdefs.h <<_ACEOF
18085 #define HAVE_STRUCT___RES_STATE 1
18086 _ACEOF
18092 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
18093 #include <resolv.h>
18094 #endif
18096 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18098 cat >>confdefs.h <<_ACEOF
18099 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18100 _ACEOF
18106 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18107 #include <sys/types.h>
18108 #endif
18109 #ifdef HAVE_NETINET_IN_H
18110 # include <netinet/in.h>
18111 #endif
18112 #ifdef HAVE_ARPA_NAMESER_H
18113 # include <arpa/nameser.h>
18114 #endif
18116 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18118 cat >>confdefs.h <<_ACEOF
18119 #define HAVE_NS_MSG__MSG_PTR 1
18120 _ACEOF
18126 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18127 #include <sys/types.h>
18128 #endif
18129 #ifdef HAVE_NETINET_IN_H
18130 #include <netinet/in.h>
18131 #endif
18132 #ifdef HAVE_NETINET_IP_H
18133 #include <netinet/ip.h>
18134 #endif
18135 #ifdef HAVE_NETINET_IP_ICMP_H
18136 #include <netinet/ip_icmp.h>
18137 #endif
18138 #ifdef HAVE_NETINET_ICMP_VAR_H
18139 #include <netinet/icmp_var.h>
18140 #endif
18142 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18144 cat >>confdefs.h <<_ACEOF
18145 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18146 _ACEOF
18152 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18153 #include <sys/types.h>
18154 #endif
18155 #ifdef HAVE_ALIAS_H
18156 #include <alias.h>
18157 #endif
18158 #ifdef HAVE_SYS_SOCKET_H
18159 #include <sys/socket.h>
18160 #endif
18161 #ifdef HAVE_SYS_SOCKETVAR_H
18162 #include <sys/socketvar.h>
18163 #endif
18164 #ifdef HAVE_SYS_TIMEOUT_H
18165 #include <sys/timeout.h>
18166 #endif
18167 #ifdef HAVE_NETINET_IN_H
18168 #include <netinet/in.h>
18169 #endif
18170 #ifdef HAVE_NETINET_IN_SYSTM_H
18171 #include <netinet/in_systm.h>
18172 #endif
18173 #ifdef HAVE_NETINET_IP_H
18174 #include <netinet/ip.h>
18175 #endif
18176 #ifdef HAVE_NETINET_IP_VAR_H
18177 #include <netinet/ip_var.h>
18178 #endif
18179 #ifdef HAVE_NETINET_IP_ICMP_H
18180 #include <netinet/ip_icmp.h>
18181 #endif
18182 #ifdef HAVE_NETINET_ICMP_VAR_H
18183 #include <netinet/icmp_var.h>
18184 #endif
18186 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18188 cat >>confdefs.h <<_ACEOF
18189 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18190 _ACEOF
18196 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18197 #include <sys/types.h>
18198 #endif
18199 #ifdef HAVE_SYS_SOCKETVAR_H
18200 #include <sys/socketvar.h>
18201 #endif
18202 #ifdef HAVE_NETINET_IN_H
18203 #include <netinet/in.h>
18204 #endif
18205 #ifdef HAVE_NETINET_IP_VAR_H
18206 #include <netinet/ip_var.h>
18207 #endif
18209 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18211 cat >>confdefs.h <<_ACEOF
18212 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18213 _ACEOF
18219 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
18220 #include <netinet/ip_var.h>
18221 #endif
18223 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18225 cat >>confdefs.h <<_ACEOF
18226 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18227 _ACEOF
18233 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18234 #include <sys/types.h>
18235 #endif
18236 #ifdef HAVE_SYS_SOCKETVAR_H
18237 #include <sys/socketvar.h>
18238 #endif
18239 #ifdef HAVE_NETINET_IN_H
18240 #include <netinet/in.h>
18241 #endif
18242 #ifdef HAVE_NETINET_TCP_H
18243 #include <netinet/tcp.h>
18244 #endif
18245 #ifdef HAVE_NETINET_TCP_VAR_H
18246 #include <netinet/tcp_var.h>
18247 #endif
18249 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18251 cat >>confdefs.h <<_ACEOF
18252 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18253 _ACEOF
18259 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
18260 #include <netinet/tcp_var.h>
18261 #endif
18263 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18265 cat >>confdefs.h <<_ACEOF
18266 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18267 _ACEOF
18273 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18274 #include <sys/types.h>
18275 #endif
18276 #ifdef HAVE_NETINET_IN_H
18277 #include <netinet/in.h>
18278 #endif
18279 #ifdef HAVE_NETINET_IP_VAR_H
18280 #include <netinet/ip_var.h>
18281 #endif
18282 #ifdef HAVE_NETINET_UDP_H
18283 #include <netinet/udp.h>
18284 #endif
18285 #ifdef HAVE_NETINET_UDP_VAR_H
18286 #include <netinet/udp_var.h>
18287 #endif
18289 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18291 cat >>confdefs.h <<_ACEOF
18292 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18293 _ACEOF
18299 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18300 #include <sys/types.h>
18301 #endif
18302 #ifdef HAVE_NET_IF_H
18303 # include <net/if.h>
18304 #endif
18306 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18308 cat >>confdefs.h <<_ACEOF
18309 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18310 _ACEOF
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18317 $as_echo_n "checking for timezone variable... " >&6; }
18318 if ${ac_cv_have_timezone+:} false; then :
18319 $as_echo_n "(cached) " >&6
18320 else
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18323 #include <time.h>
18325 main ()
18327 timezone = 1
18329 return 0;
18331 _ACEOF
18332 if ac_fn_c_try_link "$LINENO"; then :
18333 ac_cv_have_timezone="yes"
18334 else
18335 ac_cv_have_timezone="no"
18337 rm -f core conftest.err conftest.$ac_objext \
18338 conftest$ac_exeext conftest.$ac_ext
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18341 $as_echo "$ac_cv_have_timezone" >&6; }
18342 if test "$ac_cv_have_timezone" = "yes"
18343 then
18345 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18349 $as_echo_n "checking for daylight variable... " >&6; }
18350 if ${ac_cv_have_daylight+:} false; then :
18351 $as_echo_n "(cached) " >&6
18352 else
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18355 #include <time.h>
18357 main ()
18359 daylight = 1
18361 return 0;
18363 _ACEOF
18364 if ac_fn_c_try_link "$LINENO"; then :
18365 ac_cv_have_daylight="yes"
18366 else
18367 ac_cv_have_daylight="no"
18369 rm -f core conftest.err conftest.$ac_objext \
18370 conftest$ac_exeext conftest.$ac_ext
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18373 $as_echo "$ac_cv_have_daylight" >&6; }
18374 if test "$ac_cv_have_daylight" = "yes"
18375 then
18377 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18381 ac_save_LIBS="$LIBS"
18382 LIBS="$LIBS -lm"
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18384 $as_echo_n "checking for isfinite... " >&6; }
18385 if ${ac_cv_have_isfinite+:} false; then :
18386 $as_echo_n "(cached) " >&6
18387 else
18388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18389 /* end confdefs.h. */
18390 #define _GNU_SOURCE
18391 #include <math.h>
18393 main ()
18395 float f = 0.0; return isfinite(f)
18397 return 0;
18399 _ACEOF
18400 if ac_fn_c_try_link "$LINENO"; then :
18401 ac_cv_have_isfinite="yes"
18402 else
18403 ac_cv_have_isfinite="no"
18405 rm -f core conftest.err conftest.$ac_objext \
18406 conftest$ac_exeext conftest.$ac_ext
18408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18409 $as_echo "$ac_cv_have_isfinite" >&6; }
18410 if test "$ac_cv_have_isfinite" = "yes"
18411 then
18413 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18418 $as_echo_n "checking for isinf... " >&6; }
18419 if ${ac_cv_have_isinf+:} false; then :
18420 $as_echo_n "(cached) " >&6
18421 else
18422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18424 #include <math.h>
18426 main ()
18428 float f = 0.0; return isinf(f)
18430 return 0;
18432 _ACEOF
18433 if ac_fn_c_try_link "$LINENO"; then :
18434 ac_cv_have_isinf="yes"
18435 else
18436 ac_cv_have_isinf="no"
18438 rm -f core conftest.err conftest.$ac_objext \
18439 conftest$ac_exeext conftest.$ac_ext
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18442 $as_echo "$ac_cv_have_isinf" >&6; }
18443 if test "$ac_cv_have_isinf" = "yes"
18444 then
18446 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18451 $as_echo_n "checking for isnan... " >&6; }
18452 if ${ac_cv_have_isnan+:} false; then :
18453 $as_echo_n "(cached) " >&6
18454 else
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18457 #include <math.h>
18459 main ()
18461 float f = 0.0; return isnan(f)
18463 return 0;
18465 _ACEOF
18466 if ac_fn_c_try_link "$LINENO"; then :
18467 ac_cv_have_isnan="yes"
18468 else
18469 ac_cv_have_isnan="no"
18471 rm -f core conftest.err conftest.$ac_objext \
18472 conftest$ac_exeext conftest.$ac_ext
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18475 $as_echo "$ac_cv_have_isnan" >&6; }
18476 if test "$ac_cv_have_isnan" = "yes"
18477 then
18479 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18483 for ac_func in \
18484 acosh \
18485 acoshf \
18486 asinh \
18487 asinhf \
18488 atanh \
18489 atanhf \
18490 cbrt \
18491 cbrtf \
18492 erf \
18493 erfc \
18494 erfcf \
18495 erff \
18496 exp2 \
18497 exp2f \
18498 expm1 \
18499 expm1f \
18500 j0 \
18501 j1 \
18502 jn \
18503 lgamma \
18504 lgammaf \
18505 llrint \
18506 llrintf \
18507 llround \
18508 llroundf \
18509 log1p \
18510 log1pf \
18511 log2 \
18512 log2f \
18513 lrint \
18514 lrintf \
18515 lround \
18516 lroundf \
18517 nearbyint \
18518 nearbyintf \
18519 powl \
18520 remainder \
18521 remainderf \
18522 rint \
18523 rintf \
18524 round \
18525 roundf \
18526 trunc \
18527 truncf \
18528 y0 \
18529 y1 \
18532 do :
18533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18535 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18536 cat >>confdefs.h <<_ACEOF
18537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18538 _ACEOF
18541 done
18543 LIBS="$ac_save_LIBS"
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18546 $as_echo_n "checking for __builtin_clz... " >&6; }
18547 if ${ac_cv_have___builtin_clz+:} false; then :
18548 $as_echo_n "(cached) " >&6
18549 else
18550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18551 /* end confdefs.h. */
18554 main ()
18556 return __builtin_clz(1)
18558 return 0;
18560 _ACEOF
18561 if ac_fn_c_try_link "$LINENO"; then :
18562 ac_cv_have___builtin_clz="yes"
18563 else
18564 ac_cv_have___builtin_clz="no"
18566 rm -f core conftest.err conftest.$ac_objext \
18567 conftest$ac_exeext conftest.$ac_ext
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18570 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18571 if test "$ac_cv_have___builtin_clz" = "yes"
18572 then
18574 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18579 $as_echo_n "checking for __builtin_popcount... " >&6; }
18580 if ${ac_cv_have___builtin_popcount+:} false; then :
18581 $as_echo_n "(cached) " >&6
18582 else
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18587 main ()
18589 return __builtin_popcount(1)
18591 return 0;
18593 _ACEOF
18594 if ac_fn_c_try_link "$LINENO"; then :
18595 ac_cv_have___builtin_popcount="yes"
18596 else
18597 ac_cv_have___builtin_popcount="no"
18599 rm -f core conftest.err conftest.$ac_objext \
18600 conftest$ac_exeext conftest.$ac_ext
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18603 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18604 if test "$ac_cv_have___builtin_popcount" = "yes"
18605 then
18607 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18612 $as_echo_n "checking for __clear_cache... " >&6; }
18613 if ${ac_cv_have___clear_cache+:} false; then :
18614 $as_echo_n "(cached) " >&6
18615 else
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18620 main ()
18622 __clear_cache((void*)0, (void*)0); return 0;
18624 return 0;
18626 _ACEOF
18627 if ac_fn_c_try_link "$LINENO"; then :
18628 ac_cv_have___clear_cache="yes"
18629 else
18630 ac_cv_have___clear_cache="no"
18632 rm -f core conftest.err conftest.$ac_objext \
18633 conftest$ac_exeext conftest.$ac_ext
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18636 $as_echo "$ac_cv_have___clear_cache" >&6; }
18637 if test "$ac_cv_have___clear_cache" = "yes"
18638 then
18640 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18645 case $host_cpu in
18646 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18647 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18648 if ${ac_cv_cpp_def___i386__+:} false; then :
18649 $as_echo_n "(cached) " >&6
18650 else
18651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18652 /* end confdefs.h. */
18653 #ifndef __i386__
18655 #endif
18656 _ACEOF
18657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18658 $EGREP "yes" >/dev/null 2>&1; then :
18659 ac_cv_cpp_def___i386__=yes
18660 else
18661 ac_cv_cpp_def___i386__=no
18663 rm -f conftest*
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18667 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18668 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18669 CFLAGS="$CFLAGS -D__i386__"
18670 LINTFLAGS="$LINTFLAGS -D__i386__"
18671 fi ;;
18672 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18673 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18674 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18675 $as_echo_n "(cached) " >&6
18676 else
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h. */
18679 #ifndef __x86_64__
18681 #endif
18682 _ACEOF
18683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18684 $EGREP "yes" >/dev/null 2>&1; then :
18685 ac_cv_cpp_def___x86_64__=yes
18686 else
18687 ac_cv_cpp_def___x86_64__=no
18689 rm -f conftest*
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18693 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18694 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18695 CFLAGS="$CFLAGS -D__x86_64__"
18696 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18697 fi ;;
18698 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18699 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18700 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18701 $as_echo_n "(cached) " >&6
18702 else
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 #ifndef __sparc64__
18707 #endif
18708 _ACEOF
18709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18710 $EGREP "yes" >/dev/null 2>&1; then :
18711 ac_cv_cpp_def___sparc64__=yes
18712 else
18713 ac_cv_cpp_def___sparc64__=no
18715 rm -f conftest*
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18719 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18720 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18721 CFLAGS="$CFLAGS -D__sparc64__"
18722 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18723 fi ;;
18724 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18725 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18726 if ${ac_cv_cpp_def___sparc__+:} false; then :
18727 $as_echo_n "(cached) " >&6
18728 else
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 #ifndef __sparc__
18733 #endif
18734 _ACEOF
18735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18736 $EGREP "yes" >/dev/null 2>&1; then :
18737 ac_cv_cpp_def___sparc__=yes
18738 else
18739 ac_cv_cpp_def___sparc__=no
18741 rm -f conftest*
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18745 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18746 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18747 CFLAGS="$CFLAGS -D__sparc__"
18748 LINTFLAGS="$LINTFLAGS -D__sparc__"
18749 fi ;;
18750 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18751 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18752 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18753 $as_echo_n "(cached) " >&6
18754 else
18755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18756 /* end confdefs.h. */
18757 #ifndef __powerpc64__
18759 #endif
18760 _ACEOF
18761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18762 $EGREP "yes" >/dev/null 2>&1; then :
18763 ac_cv_cpp_def___powerpc64__=yes
18764 else
18765 ac_cv_cpp_def___powerpc64__=no
18767 rm -f conftest*
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18771 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18772 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18773 CFLAGS="$CFLAGS -D__powerpc64__"
18774 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18775 fi ;;
18776 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18777 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18778 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18779 $as_echo_n "(cached) " >&6
18780 else
18781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18782 /* end confdefs.h. */
18783 #ifndef __powerpc__
18785 #endif
18786 _ACEOF
18787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18788 $EGREP "yes" >/dev/null 2>&1; then :
18789 ac_cv_cpp_def___powerpc__=yes
18790 else
18791 ac_cv_cpp_def___powerpc__=no
18793 rm -f conftest*
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18797 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18798 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18799 CFLAGS="$CFLAGS -D__powerpc__"
18800 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18801 fi ;;
18802 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18803 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18804 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18805 $as_echo_n "(cached) " >&6
18806 else
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 #ifndef __aarch64__
18811 #endif
18812 _ACEOF
18813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18814 $EGREP "yes" >/dev/null 2>&1; then :
18815 ac_cv_cpp_def___aarch64__=yes
18816 else
18817 ac_cv_cpp_def___aarch64__=no
18819 rm -f conftest*
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18823 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18824 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18825 CFLAGS="$CFLAGS -D__aarch64__"
18826 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18827 fi ;;
18828 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18829 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18830 if ${ac_cv_cpp_def___arm__+:} false; then :
18831 $as_echo_n "(cached) " >&6
18832 else
18833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18834 /* end confdefs.h. */
18835 #ifndef __arm__
18837 #endif
18838 _ACEOF
18839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18840 $EGREP "yes" >/dev/null 2>&1; then :
18841 ac_cv_cpp_def___arm__=yes
18842 else
18843 ac_cv_cpp_def___arm__=no
18845 rm -f conftest*
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18849 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18850 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18851 CFLAGS="$CFLAGS -D__arm__"
18852 LINTFLAGS="$LINTFLAGS -D__arm__"
18853 fi ;;
18854 esac
18856 case $host_vendor in
18857 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18858 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18859 if ${ac_cv_cpp_def___sun__+:} false; then :
18860 $as_echo_n "(cached) " >&6
18861 else
18862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h. */
18864 #ifndef __sun__
18866 #endif
18867 _ACEOF
18868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18869 $EGREP "yes" >/dev/null 2>&1; then :
18870 ac_cv_cpp_def___sun__=yes
18871 else
18872 ac_cv_cpp_def___sun__=no
18874 rm -f conftest*
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18878 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18879 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18880 CFLAGS="$CFLAGS -D__sun__"
18881 LINTFLAGS="$LINTFLAGS -D__sun__"
18882 fi ;;
18883 esac
18889 ac_config_commands="$ac_config_commands include/stamp-h"
18891 $as_echo_n "creating Makefile rules..." >&6
18893 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18894 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18895 IOKIT_LIBS = $IOKIT_LIBS
18896 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18897 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18898 CORESERVICES_LIBS = $CORESERVICES_LIBS
18899 APPKIT_LIBS = $APPKIT_LIBS
18900 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18901 SECURITY_LIBS = $SECURITY_LIBS
18902 COREAUDIO_LIBS = $COREAUDIO_LIBS
18903 OPENAL_LIBS = $OPENAL_LIBS
18904 OPENCL_LIBS = $OPENCL_LIBS
18905 QUICKTIME_LIBS = $QUICKTIME_LIBS
18906 CARBON_LIBS = $CARBON_LIBS
18907 METAL_LIBS = $METAL_LIBS
18908 PTHREAD_LIBS = $PTHREAD_LIBS
18909 X_CFLAGS = $X_CFLAGS
18910 X_PRE_LIBS = $X_PRE_LIBS
18911 X_LIBS = $X_LIBS
18912 X_EXTRA_LIBS = $X_EXTRA_LIBS
18913 PCAP_LIBS = $PCAP_LIBS
18914 XML2_CFLAGS = $XML2_CFLAGS
18915 XML2_LIBS = $XML2_LIBS
18916 XSLT_CFLAGS = $XSLT_CFLAGS
18917 XSLT_LIBS = $XSLT_LIBS
18918 DBUS_CFLAGS = $DBUS_CFLAGS
18919 DBUS_LIBS = $DBUS_LIBS
18920 HAL_CFLAGS = $HAL_CFLAGS
18921 HAL_LIBS = $HAL_LIBS
18922 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18923 GNUTLS_LIBS = $GNUTLS_LIBS
18924 SANE_CFLAGS = $SANE_CFLAGS
18925 SANE_LIBS = $SANE_LIBS
18926 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18927 GPHOTO2_LIBS = $GPHOTO2_LIBS
18928 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18929 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18930 RESOLV_LIBS = $RESOLV_LIBS
18931 LCMS2_CFLAGS = $LCMS2_CFLAGS
18932 LCMS2_LIBS = $LCMS2_LIBS
18933 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18934 FREETYPE_LIBS = $FREETYPE_LIBS
18935 Z_LIBS = $Z_LIBS
18936 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18937 PULSE_CFLAGS = $PULSE_CFLAGS
18938 PULSE_LIBS = $PULSE_LIBS
18939 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18940 GSTREAMER_LIBS = $GSTREAMER_LIBS
18941 ALSA_LIBS = $ALSA_LIBS
18942 OSS4_CFLAGS = $OSS4_CFLAGS
18943 UDEV_CFLAGS = $UDEV_CFLAGS
18944 UDEV_LIBS = $UDEV_LIBS
18945 SDL2_CFLAGS = $SDL2_CFLAGS
18946 SDL2_LIBS = $SDL2_LIBS
18947 CAPI20_CFLAGS = $CAPI20_CFLAGS
18948 CAPI20_LIBS = $CAPI20_LIBS
18949 CUPS_CFLAGS = $CUPS_CFLAGS
18950 CUPS_LIBS = $CUPS_LIBS
18951 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18952 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18953 KRB5_CFLAGS = $KRB5_CFLAGS
18954 KRB5_LIBS = $KRB5_LIBS
18955 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18956 GSSAPI_LIBS = $GSSAPI_LIBS
18957 JPEG_CFLAGS = $JPEG_CFLAGS
18958 JPEG_LIBS = $JPEG_LIBS
18959 PNG_CFLAGS = $PNG_CFLAGS
18960 PNG_LIBS = $PNG_LIBS
18961 TIFF_CFLAGS = $TIFF_CFLAGS
18962 TIFF_LIBS = $TIFF_LIBS
18963 MPG123_CFLAGS = $MPG123_CFLAGS
18964 MPG123_LIBS = $MPG123_LIBS
18965 KSTAT_LIBS = $KSTAT_LIBS
18966 PROCSTAT_LIBS = $PROCSTAT_LIBS
18967 NETAPI_CFLAGS = $NETAPI_CFLAGS
18968 NETAPI_LIBS = $NETAPI_LIBS
18969 VKD3D_CFLAGS = $VKD3D_CFLAGS
18970 VKD3D_LIBS = $VKD3D_LIBS
18971 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18972 DL_LIBS = $DL_LIBS
18973 POLL_LIBS = $POLL_LIBS
18974 RT_LIBS = $RT_LIBS
18975 LDAP_CFLAGS = $LDAP_CFLAGS
18976 LDAP_LIBS = $LDAP_LIBS
18981 wine_fn_append_rule "
18982 # Rules automatically generated by configure
18984 .INIT: Makefile
18985 .MAKEFILEDEPS:
18986 all: Makefile
18987 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18988 @./config.status Make.tmp Makefile
18989 depend: \$(MAKEDEP) dummy
18990 \$(MAKEDEP)"
18992 if test "x$enable_fonts" != xno; then
18993 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18994 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18995 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18996 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18997 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18998 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19000 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19001 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19002 ac_config_links="$ac_config_links wine:tools/winewrapper"
19003 wine_fn_config_symlink wine
19004 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19005 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19006 wine_fn_config_symlink wine64
19009 wine_fn_config_makefile dlls/acledit enable_acledit
19010 wine_fn_config_makefile dlls/aclui enable_aclui
19011 wine_fn_config_makefile dlls/activeds enable_activeds
19012 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19013 wine_fn_config_makefile dlls/adsiid enable_adsiid
19014 wine_fn_config_makefile dlls/adsldp enable_adsldp
19015 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19016 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19017 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19018 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19019 wine_fn_config_makefile dlls/advpack enable_advpack
19020 wine_fn_config_makefile dlls/advpack/tests enable_tests
19021 wine_fn_config_makefile dlls/amstream enable_amstream
19022 wine_fn_config_makefile dlls/amstream/tests enable_tests
19023 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19024 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19025 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19026 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19027 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19028 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19029 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19030 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19031 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19032 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19033 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19034 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19035 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19036 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19037 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19038 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19040 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19041 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19042 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19043 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19044 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19045 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19046 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19047 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19048 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19049 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19050 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19051 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19052 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19053 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19054 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19055 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19056 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19057 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19058 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19059 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19060 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19061 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19062 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19064 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19065 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19066 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19067 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19068 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19071 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19072 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19073 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19074 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19075 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19076 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19077 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19078 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19079 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19080 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19081 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19084 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19085 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19088 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19089 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19090 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19097 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19101 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19102 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19103 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19105 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19107 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19108 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19111 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19114 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19118 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19124 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19125 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19128 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19129 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19130 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19131 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19132 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19134 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19136 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19142 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19147 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19148 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19153 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19155 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19156 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19174 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19175 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19180 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19182 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19185 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19189 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19191 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19193 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19194 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19195 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19197 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19199 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19201 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19205 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19206 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19207 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19208 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19209 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19210 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19211 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19212 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19213 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19214 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19215 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19216 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19217 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19218 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19219 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19220 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19221 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19222 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19223 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19224 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19225 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19226 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19227 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19228 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19229 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19230 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19231 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19232 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19233 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19234 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19235 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19236 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19237 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19238 wine_fn_config_makefile dlls/apphelp enable_apphelp
19239 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19240 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19241 wine_fn_config_makefile dlls/atl enable_atl
19242 wine_fn_config_makefile dlls/atl/tests enable_tests
19243 wine_fn_config_makefile dlls/atl100 enable_atl100
19244 wine_fn_config_makefile dlls/atl100/tests enable_tests
19245 wine_fn_config_makefile dlls/atl110 enable_atl110
19246 wine_fn_config_makefile dlls/atl80 enable_atl80
19247 wine_fn_config_makefile dlls/atl80/tests enable_tests
19248 wine_fn_config_makefile dlls/atl90 enable_atl90
19249 wine_fn_config_makefile dlls/atmlib enable_atmlib
19250 wine_fn_config_makefile dlls/authz enable_authz
19251 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19252 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19253 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19254 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19255 wine_fn_config_makefile dlls/avrt enable_avrt
19256 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19257 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19258 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19259 wine_fn_config_makefile dlls/browseui enable_browseui
19260 wine_fn_config_makefile dlls/browseui/tests enable_tests
19261 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19262 wine_fn_config_makefile dlls/cabinet enable_cabinet
19263 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19264 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19265 wine_fn_config_makefile dlls/cards enable_cards
19266 wine_fn_config_makefile dlls/cdosys enable_cdosys
19267 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19268 wine_fn_config_makefile dlls/clusapi enable_clusapi
19269 wine_fn_config_makefile dlls/combase enable_combase
19270 wine_fn_config_makefile dlls/combase/tests enable_tests
19271 wine_fn_config_makefile dlls/comcat enable_comcat
19272 wine_fn_config_makefile dlls/comcat/tests enable_tests
19273 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19274 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19275 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19276 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19277 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19278 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19279 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19280 wine_fn_config_makefile dlls/compstui enable_compstui
19281 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19282 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
19283 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19284 wine_fn_config_makefile dlls/connect enable_connect
19285 wine_fn_config_makefile dlls/credui enable_credui
19286 wine_fn_config_makefile dlls/credui/tests enable_tests
19287 wine_fn_config_makefile dlls/crtdll enable_crtdll
19288 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19289 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19290 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19291 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19292 wine_fn_config_makefile dlls/cryptext enable_cryptext
19293 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19294 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19295 wine_fn_config_makefile dlls/cryptui enable_cryptui
19296 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19297 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19298 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19299 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19300 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19301 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19302 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19303 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19304 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19305 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19306 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19307 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19308 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19309 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19310 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19311 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19312 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19313 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19314 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19315 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19316 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19317 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19318 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19319 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19320 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19321 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19322 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19323 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19324 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19325 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19326 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19327 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19328 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19329 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19330 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19331 wine_fn_config_makefile dlls/d3dim enable_d3dim
19332 wine_fn_config_makefile dlls/d3drm enable_d3drm
19333 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19334 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19335 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19336 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19337 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19338 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19339 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19340 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19341 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19342 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19343 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19344 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19345 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19346 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19347 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19348 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19349 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19350 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19351 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19352 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19353 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19354 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19355 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19356 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19357 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19358 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19359 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19360 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19361 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19362 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19363 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19364 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19365 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19366 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19367 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19368 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19369 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19370 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19371 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19372 wine_fn_config_makefile dlls/davclnt enable_davclnt
19373 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19374 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19375 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19376 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19377 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19378 wine_fn_config_makefile dlls/ddraw enable_ddraw
19379 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19380 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19381 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19382 wine_fn_config_makefile dlls/devenum enable_devenum
19383 wine_fn_config_makefile dlls/devenum/tests enable_tests
19384 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19385 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19386 wine_fn_config_makefile dlls/difxapi enable_difxapi
19387 wine_fn_config_makefile dlls/dinput enable_dinput
19388 wine_fn_config_makefile dlls/dinput/tests enable_tests
19389 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19390 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19391 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19392 wine_fn_config_makefile dlls/dispex enable_dispex
19393 wine_fn_config_makefile dlls/dispex/tests enable_tests
19394 wine_fn_config_makefile dlls/display.drv16 enable_win16
19395 wine_fn_config_makefile dlls/dmband enable_dmband
19396 wine_fn_config_makefile dlls/dmband/tests enable_tests
19397 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19398 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19399 wine_fn_config_makefile dlls/dmime enable_dmime
19400 wine_fn_config_makefile dlls/dmime/tests enable_tests
19401 wine_fn_config_makefile dlls/dmloader enable_dmloader
19402 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19403 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19404 wine_fn_config_makefile dlls/dmscript enable_dmscript
19405 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19406 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19407 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19408 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19409 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19410 wine_fn_config_makefile dlls/dmusic enable_dmusic
19411 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19412 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19413 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19414 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19415 wine_fn_config_makefile dlls/dplay enable_dplay
19416 wine_fn_config_makefile dlls/dplayx enable_dplayx
19417 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19418 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19419 wine_fn_config_makefile dlls/dpnet enable_dpnet
19420 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19421 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19422 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19423 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19424 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19425 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19426 wine_fn_config_makefile dlls/drmclien enable_drmclien
19427 wine_fn_config_makefile dlls/dsound enable_dsound
19428 wine_fn_config_makefile dlls/dsound/tests enable_tests
19429 wine_fn_config_makefile dlls/dsquery enable_dsquery
19430 wine_fn_config_makefile dlls/dssenh enable_dssenh
19431 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19432 wine_fn_config_makefile dlls/dswave enable_dswave
19433 wine_fn_config_makefile dlls/dswave/tests enable_tests
19434 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19435 wine_fn_config_makefile dlls/dwrite enable_dwrite
19436 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19437 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19438 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19439 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19440 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19441 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19442 wine_fn_config_makefile dlls/dxgi enable_dxgi
19443 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19444 wine_fn_config_makefile dlls/dxguid enable_dxguid
19445 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19446 wine_fn_config_makefile dlls/esent enable_esent
19447 wine_fn_config_makefile dlls/evr enable_evr
19448 wine_fn_config_makefile dlls/evr/tests enable_tests
19449 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19450 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19451 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19452 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19453 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19454 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19455 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19456 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19457 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19458 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19459 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19460 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19461 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19462 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19463 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19464 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19465 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
19466 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19467 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19468 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19469 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19470 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19471 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19472 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19473 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19474 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19475 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19476 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19477 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19478 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19479 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19480 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19481 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
19482 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19483 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19484 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19485 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19486 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19487 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19488 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19489 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19490 wine_fn_config_makefile dlls/faultrep enable_faultrep
19491 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19492 wine_fn_config_makefile dlls/feclient enable_feclient
19493 wine_fn_config_makefile dlls/fltlib enable_fltlib
19494 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19495 wine_fn_config_makefile dlls/fntcache enable_fntcache
19496 wine_fn_config_makefile dlls/fontsub enable_fontsub
19497 wine_fn_config_makefile dlls/fusion enable_fusion
19498 wine_fn_config_makefile dlls/fusion/tests enable_tests
19499 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19500 wine_fn_config_makefile dlls/gameux enable_gameux
19501 wine_fn_config_makefile dlls/gameux/tests enable_tests
19502 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19503 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19504 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19505 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19506 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19507 wine_fn_config_makefile dlls/glu32 enable_glu32
19508 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19509 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19510 wine_fn_config_makefile dlls/hal enable_hal
19511 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19512 wine_fn_config_makefile dlls/hid enable_hid
19513 wine_fn_config_makefile dlls/hid/tests enable_tests
19514 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19515 wine_fn_config_makefile dlls/hlink enable_hlink
19516 wine_fn_config_makefile dlls/hlink/tests enable_tests
19517 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19518 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19519 wine_fn_config_makefile dlls/httpapi enable_httpapi
19520 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19521 wine_fn_config_makefile dlls/iccvid enable_iccvid
19522 wine_fn_config_makefile dlls/icmp enable_icmp
19523 wine_fn_config_makefile dlls/ieframe enable_ieframe
19524 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19525 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19526 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19527 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19528 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19529 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19530 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19531 wine_fn_config_makefile dlls/imm32 enable_imm32
19532 wine_fn_config_makefile dlls/imm32/tests enable_tests
19533 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19534 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19535 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19536 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19537 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19538 wine_fn_config_makefile dlls/infosoft enable_infosoft
19539 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19540 wine_fn_config_makefile dlls/initpki enable_initpki
19541 wine_fn_config_makefile dlls/inkobj enable_inkobj
19542 wine_fn_config_makefile dlls/inseng enable_inseng
19543 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19544 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19545 wine_fn_config_makefile dlls/iprop enable_iprop
19546 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19547 wine_fn_config_makefile dlls/itircl enable_itircl
19548 wine_fn_config_makefile dlls/itss enable_itss
19549 wine_fn_config_makefile dlls/itss/tests enable_tests
19550 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19551 wine_fn_config_makefile dlls/jscript enable_jscript
19552 wine_fn_config_makefile dlls/jscript/tests enable_tests
19553 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19554 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19555 wine_fn_config_makefile dlls/kerberos enable_kerberos
19556 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19557 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19558 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19559 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19560 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19561 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19562 wine_fn_config_makefile dlls/ksuser enable_ksuser
19563 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19564 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19565 wine_fn_config_makefile dlls/loadperf enable_loadperf
19566 wine_fn_config_makefile dlls/localspl enable_localspl
19567 wine_fn_config_makefile dlls/localspl/tests enable_tests
19568 wine_fn_config_makefile dlls/localui enable_localui
19569 wine_fn_config_makefile dlls/localui/tests enable_tests
19570 wine_fn_config_makefile dlls/lz32 enable_lz32
19571 wine_fn_config_makefile dlls/lz32/tests enable_tests
19572 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19573 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19574 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19575 wine_fn_config_makefile dlls/mapistub enable_mapistub
19576 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19577 wine_fn_config_makefile dlls/mcicda enable_mcicda
19578 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19579 wine_fn_config_makefile dlls/mciseq enable_mciseq
19580 wine_fn_config_makefile dlls/mciwave enable_mciwave
19581 wine_fn_config_makefile dlls/mf enable_mf
19582 wine_fn_config_makefile dlls/mf/tests enable_tests
19583 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19584 wine_fn_config_makefile dlls/mfplat enable_mfplat
19585 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19586 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19587 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19588 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19589 wine_fn_config_makefile dlls/midimap enable_midimap
19590 wine_fn_config_makefile dlls/mlang enable_mlang
19591 wine_fn_config_makefile dlls/mlang/tests enable_tests
19592 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19593 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19594 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19595 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19596 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19597 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19598 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19599 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19600 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19601 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19602 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19603 wine_fn_config_makefile dlls/mpr enable_mpr
19604 wine_fn_config_makefile dlls/mpr/tests enable_tests
19605 wine_fn_config_makefile dlls/mprapi enable_mprapi
19606 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19607 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19608 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19609 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19610 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19611 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19612 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19613 wine_fn_config_makefile dlls/mscms enable_mscms
19614 wine_fn_config_makefile dlls/mscms/tests enable_tests
19615 wine_fn_config_makefile dlls/mscoree enable_mscoree
19616 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19617 wine_fn_config_makefile dlls/msctf enable_msctf
19618 wine_fn_config_makefile dlls/msctf/tests enable_tests
19619 wine_fn_config_makefile dlls/msctfp enable_msctfp
19620 wine_fn_config_makefile dlls/msdaps enable_msdaps
19621 wine_fn_config_makefile dlls/msdelta enable_msdelta
19622 wine_fn_config_makefile dlls/msdmo enable_msdmo
19623 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19624 wine_fn_config_makefile dlls/msdrm enable_msdrm
19625 wine_fn_config_makefile dlls/msftedit enable_msftedit
19626 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19627 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19628 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19629 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19630 wine_fn_config_makefile dlls/mshtml enable_mshtml
19631 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19632 wine_fn_config_makefile dlls/msi enable_msi
19633 wine_fn_config_makefile dlls/msi/tests enable_tests
19634 wine_fn_config_makefile dlls/msident enable_msident
19635 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19636 wine_fn_config_makefile dlls/msimsg enable_msimsg
19637 wine_fn_config_makefile dlls/msimtf enable_msimtf
19638 wine_fn_config_makefile dlls/msisip enable_msisip
19639 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19640 wine_fn_config_makefile dlls/msls31 enable_msls31
19641 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19642 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19643 wine_fn_config_makefile dlls/msports enable_msports
19644 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19645 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19646 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19647 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19648 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19649 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19650 wine_fn_config_makefile dlls/mstask enable_mstask
19651 wine_fn_config_makefile dlls/mstask/tests enable_tests
19652 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19653 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19654 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19655 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19656 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19657 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19658 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19659 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19660 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19661 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19662 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19663 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19664 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19665 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19666 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19667 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19668 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19669 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19670 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19671 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19672 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19673 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19674 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19675 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19676 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19677 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19678 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19679 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19680 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19681 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19682 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19683 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19684 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19685 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19686 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19687 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19688 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19689 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19690 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19691 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19692 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19693 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19694 wine_fn_config_makefile dlls/mswsock enable_mswsock
19695 wine_fn_config_makefile dlls/msxml enable_msxml
19696 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19697 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19698 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19699 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19700 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19701 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19702 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19703 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19704 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19705 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19706 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19707 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19708 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19709 wine_fn_config_makefile dlls/netprofm enable_netprofm
19710 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19711 wine_fn_config_makefile dlls/newdev enable_newdev
19712 wine_fn_config_makefile dlls/ninput enable_ninput
19713 wine_fn_config_makefile dlls/ninput/tests enable_tests
19714 wine_fn_config_makefile dlls/normaliz enable_normaliz
19715 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19716 wine_fn_config_makefile dlls/npptools enable_npptools
19717 wine_fn_config_makefile dlls/ntdll enable_ntdll
19718 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19719 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19720 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19721 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19722 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19723 wine_fn_config_makefile dlls/ntprint enable_ntprint
19724 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19725 wine_fn_config_makefile dlls/objsel enable_objsel
19726 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19727 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19728 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19729 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19730 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19731 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19732 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19733 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19734 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19735 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19736 wine_fn_config_makefile dlls/ole32 enable_ole32
19737 wine_fn_config_makefile dlls/ole32/tests enable_tests
19738 wine_fn_config_makefile dlls/oleacc enable_oleacc
19739 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19740 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19741 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19742 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19743 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19744 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19745 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19746 wine_fn_config_makefile dlls/oledlg enable_oledlg
19747 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19748 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19749 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19750 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19751 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19752 wine_fn_config_makefile dlls/opcservices enable_opcservices
19753 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19754 wine_fn_config_makefile dlls/openal32 enable_openal32
19755 wine_fn_config_makefile dlls/opencl enable_opencl
19756 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19757 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19758 wine_fn_config_makefile dlls/packager enable_packager
19759 wine_fn_config_makefile dlls/packager/tests enable_tests
19760 wine_fn_config_makefile dlls/pdh enable_pdh
19761 wine_fn_config_makefile dlls/pdh/tests enable_tests
19762 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19763 wine_fn_config_makefile dlls/pidgen enable_pidgen
19764 wine_fn_config_makefile dlls/powrprof enable_powrprof
19765 wine_fn_config_makefile dlls/printui enable_printui
19766 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19767 wine_fn_config_makefile dlls/propsys enable_propsys
19768 wine_fn_config_makefile dlls/propsys/tests enable_tests
19769 wine_fn_config_makefile dlls/psapi enable_psapi
19770 wine_fn_config_makefile dlls/psapi/tests enable_tests
19771 wine_fn_config_makefile dlls/pstorec enable_pstorec
19772 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19773 wine_fn_config_makefile dlls/qcap enable_qcap
19774 wine_fn_config_makefile dlls/qcap/tests enable_tests
19775 wine_fn_config_makefile dlls/qedit enable_qedit
19776 wine_fn_config_makefile dlls/qedit/tests enable_tests
19777 wine_fn_config_makefile dlls/qmgr enable_qmgr
19778 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19779 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19780 wine_fn_config_makefile dlls/quartz enable_quartz
19781 wine_fn_config_makefile dlls/quartz/tests enable_tests
19782 wine_fn_config_makefile dlls/query enable_query
19783 wine_fn_config_makefile dlls/qwave enable_qwave
19784 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19785 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19786 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19787 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19788 wine_fn_config_makefile dlls/regapi enable_regapi
19789 wine_fn_config_makefile dlls/resutils enable_resutils
19790 wine_fn_config_makefile dlls/riched20 enable_riched20
19791 wine_fn_config_makefile dlls/riched20/tests enable_tests
19792 wine_fn_config_makefile dlls/riched32 enable_riched32
19793 wine_fn_config_makefile dlls/riched32/tests enable_tests
19794 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19795 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19796 wine_fn_config_makefile dlls/rsabase enable_rsabase
19797 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19798 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19799 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19800 wine_fn_config_makefile dlls/rtutils enable_rtutils
19801 wine_fn_config_makefile dlls/samlib enable_samlib
19802 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19803 wine_fn_config_makefile dlls/sapi enable_sapi
19804 wine_fn_config_makefile dlls/sapi/tests enable_tests
19805 wine_fn_config_makefile dlls/sas enable_sas
19806 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19807 wine_fn_config_makefile dlls/sccbase enable_sccbase
19808 wine_fn_config_makefile dlls/schannel enable_schannel
19809 wine_fn_config_makefile dlls/schannel/tests enable_tests
19810 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19811 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19812 wine_fn_config_makefile dlls/scrobj enable_scrobj
19813 wine_fn_config_makefile dlls/scrrun enable_scrrun
19814 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19815 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19816 wine_fn_config_makefile dlls/secur32 enable_secur32
19817 wine_fn_config_makefile dlls/secur32/tests enable_tests
19818 wine_fn_config_makefile dlls/security enable_security
19819 wine_fn_config_makefile dlls/sensapi enable_sensapi
19820 wine_fn_config_makefile dlls/serialui enable_serialui
19821 wine_fn_config_makefile dlls/serialui/tests enable_tests
19822 wine_fn_config_makefile dlls/setupapi enable_setupapi
19823 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19824 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19825 wine_fn_config_makefile dlls/sfc enable_sfc
19826 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19827 wine_fn_config_makefile dlls/shcore enable_shcore
19828 wine_fn_config_makefile dlls/shcore/tests enable_tests
19829 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19830 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19831 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19832 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19833 wine_fn_config_makefile dlls/shell32 enable_shell32
19834 wine_fn_config_makefile dlls/shell32/tests enable_tests
19835 wine_fn_config_makefile dlls/shfolder enable_shfolder
19836 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19837 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19838 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19839 wine_fn_config_makefile dlls/slc enable_slc
19840 wine_fn_config_makefile dlls/slc/tests enable_tests
19841 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19842 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19843 wine_fn_config_makefile dlls/softpub enable_softpub
19844 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19845 wine_fn_config_makefile dlls/spoolss enable_spoolss
19846 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19847 wine_fn_config_makefile dlls/srclient enable_srclient
19848 wine_fn_config_makefile dlls/sspicli enable_sspicli
19849 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19850 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19851 wine_fn_config_makefile dlls/sti enable_sti
19852 wine_fn_config_makefile dlls/sti/tests enable_tests
19853 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19854 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19855 wine_fn_config_makefile dlls/strmbase enable_strmbase
19856 wine_fn_config_makefile dlls/strmdll enable_strmdll
19857 wine_fn_config_makefile dlls/strmiids enable_strmiids
19858 wine_fn_config_makefile dlls/svrapi enable_svrapi
19859 wine_fn_config_makefile dlls/sxs enable_sxs
19860 wine_fn_config_makefile dlls/sxs/tests enable_tests
19861 wine_fn_config_makefile dlls/system.drv16 enable_win16
19862 wine_fn_config_makefile dlls/t2embed enable_t2embed
19863 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19864 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19865 wine_fn_config_makefile dlls/taskschd enable_taskschd
19866 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19867 wine_fn_config_makefile dlls/tdh enable_tdh
19868 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19869 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19870 wine_fn_config_makefile dlls/traffic enable_traffic
19871 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19872 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19873 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19874 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19875 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19876 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19877 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19878 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19879 wine_fn_config_makefile dlls/unicows enable_unicows
19880 wine_fn_config_makefile dlls/updspapi enable_updspapi
19881 wine_fn_config_makefile dlls/url enable_url
19882 wine_fn_config_makefile dlls/urlmon enable_urlmon
19883 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19884 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19885 wine_fn_config_makefile dlls/user.exe16 enable_win16
19886 wine_fn_config_makefile dlls/user32 enable_user32
19887 wine_fn_config_makefile dlls/user32/tests enable_tests
19888 wine_fn_config_makefile dlls/userenv enable_userenv
19889 wine_fn_config_makefile dlls/userenv/tests enable_tests
19890 wine_fn_config_makefile dlls/usp10 enable_usp10
19891 wine_fn_config_makefile dlls/usp10/tests enable_tests
19892 wine_fn_config_makefile dlls/uuid enable_uuid
19893 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19894 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19895 wine_fn_config_makefile dlls/vbscript enable_vbscript
19896 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19897 wine_fn_config_makefile dlls/vcomp enable_vcomp
19898 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19899 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19900 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19901 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19902 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19903 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19904 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19905 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19906 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19907 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19908 wine_fn_config_makefile dlls/version enable_version
19909 wine_fn_config_makefile dlls/version/tests enable_tests
19910 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19911 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19912 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19913 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19914 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19915 wine_fn_config_makefile dlls/vssapi enable_vssapi
19916 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19917 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19918 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19919 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19920 wine_fn_config_makefile dlls/w32skrnl enable_win16
19921 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19922 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19923 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19924 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19925 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19926 wine_fn_config_makefile dlls/wdscore enable_wdscore
19927 wine_fn_config_makefile dlls/webservices enable_webservices
19928 wine_fn_config_makefile dlls/webservices/tests enable_tests
19929 wine_fn_config_makefile dlls/wer enable_wer
19930 wine_fn_config_makefile dlls/wer/tests enable_tests
19931 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19932 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19933 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19934 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19935 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19936 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19937 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19938 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19939 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19940 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19941 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19942 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19943 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19944 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19945 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19946 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19947 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19948 wine_fn_config_makefile dlls/wined3d enable_wined3d
19949 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19950 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19951 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19952 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19953 wine_fn_config_makefile dlls/winemapi enable_winemapi
19954 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19955 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19956 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19957 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19958 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19959 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19960 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19961 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19962 wine_fn_config_makefile dlls/wing32 enable_wing32
19963 wine_fn_config_makefile dlls/winhttp enable_winhttp
19964 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19965 wine_fn_config_makefile dlls/wininet enable_wininet
19966 wine_fn_config_makefile dlls/wininet/tests enable_tests
19967 wine_fn_config_makefile dlls/winmm enable_winmm
19968 wine_fn_config_makefile dlls/winmm/tests enable_tests
19969 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19970 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19971 wine_fn_config_makefile dlls/winscard enable_winscard
19972 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19973 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19974 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19975 wine_fn_config_makefile dlls/winsta enable_winsta
19976 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19977 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19978 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19979 wine_fn_config_makefile dlls/wintrust enable_wintrust
19980 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19981 wine_fn_config_makefile dlls/winusb enable_winusb
19982 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19983 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19984 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19985 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19986 wine_fn_config_makefile dlls/wmasf enable_wmasf
19987 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19988 wine_fn_config_makefile dlls/wmi enable_wmi
19989 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19990 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19991 wine_fn_config_makefile dlls/wmp enable_wmp
19992 wine_fn_config_makefile dlls/wmp/tests enable_tests
19993 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19994 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19995 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19996 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19997 wine_fn_config_makefile dlls/wow32 enable_win16
19998 wine_fn_config_makefile dlls/wpc enable_wpc
19999 wine_fn_config_makefile dlls/wpc/tests enable_tests
20000 wine_fn_config_makefile dlls/wpcap enable_wpcap
20001 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20002 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20003 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20004 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20005 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20006 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20007 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20008 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20009 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20010 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20011 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20012 wine_fn_config_makefile dlls/wuapi enable_wuapi
20013 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20014 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20015 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20016 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20017 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20018 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20019 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20020 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20021 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20022 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20023 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20024 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20025 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20026 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20027 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20028 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20029 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20030 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20031 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20032 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20033 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20034 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20035 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20036 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20037 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20038 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20039 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20040 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20041 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20042 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20043 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20044 wine_fn_config_makefile dlls/xmllite enable_xmllite
20045 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20046 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20047 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20048 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20049 wine_fn_config_makefile fonts enable_fonts
20050 wine_fn_config_makefile include enable_include
20051 wine_fn_config_makefile libs/port enable_port
20052 wine_fn_config_makefile libs/wine enable_wine
20053 wine_fn_config_makefile libs/wpp enable_wpp
20054 wine_fn_config_makefile loader enable_loader
20055 wine_fn_config_makefile po enable_po
20056 wine_fn_config_makefile programs/arp enable_arp
20057 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20058 wine_fn_config_makefile programs/attrib enable_attrib
20059 wine_fn_config_makefile programs/cabarc enable_cabarc
20060 wine_fn_config_makefile programs/cacls enable_cacls
20061 wine_fn_config_makefile programs/clock enable_clock
20062 wine_fn_config_makefile programs/cmd enable_cmd
20063 wine_fn_config_makefile programs/cmd/tests enable_tests
20064 wine_fn_config_makefile programs/conhost enable_conhost
20065 wine_fn_config_makefile programs/control enable_control
20066 wine_fn_config_makefile programs/cscript enable_cscript
20067 wine_fn_config_makefile programs/dism enable_dism
20068 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20069 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20070 wine_fn_config_makefile programs/eject enable_eject
20071 wine_fn_config_makefile programs/expand enable_expand
20072 wine_fn_config_makefile programs/explorer enable_explorer
20073 wine_fn_config_makefile programs/extrac32 enable_extrac32
20074 wine_fn_config_makefile programs/fc enable_fc
20075 wine_fn_config_makefile programs/find enable_find
20076 wine_fn_config_makefile programs/findstr enable_findstr
20077 wine_fn_config_makefile programs/fsutil enable_fsutil
20078 wine_fn_config_makefile programs/hh enable_hh
20079 wine_fn_config_makefile programs/hostname enable_hostname
20080 wine_fn_config_makefile programs/icacls enable_icacls
20081 wine_fn_config_makefile programs/icinfo enable_icinfo
20082 wine_fn_config_makefile programs/iexplore enable_iexplore
20083 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20084 wine_fn_config_makefile programs/lodctr enable_lodctr
20085 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20086 wine_fn_config_makefile programs/mshta enable_mshta
20087 wine_fn_config_makefile programs/msiexec enable_msiexec
20088 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20089 wine_fn_config_makefile programs/net enable_net
20090 wine_fn_config_makefile programs/netsh enable_netsh
20091 wine_fn_config_makefile programs/netstat enable_netstat
20092 wine_fn_config_makefile programs/ngen enable_ngen
20093 wine_fn_config_makefile programs/notepad enable_notepad
20094 wine_fn_config_makefile programs/oleview enable_oleview
20095 wine_fn_config_makefile programs/ping enable_ping
20096 wine_fn_config_makefile programs/plugplay enable_plugplay
20097 wine_fn_config_makefile programs/powershell enable_powershell
20098 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20099 wine_fn_config_makefile programs/progman enable_progman
20100 wine_fn_config_makefile programs/reg enable_reg
20101 wine_fn_config_makefile programs/reg/tests enable_tests
20102 wine_fn_config_makefile programs/regasm enable_regasm
20103 wine_fn_config_makefile programs/regedit enable_regedit
20104 wine_fn_config_makefile programs/regedit/tests enable_tests
20105 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20106 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20107 wine_fn_config_makefile programs/rpcss enable_rpcss
20108 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20109 wine_fn_config_makefile programs/rundll32 enable_rundll32
20110 wine_fn_config_makefile programs/sc enable_sc
20111 wine_fn_config_makefile programs/schtasks enable_schtasks
20112 wine_fn_config_makefile programs/schtasks/tests enable_tests
20113 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20114 wine_fn_config_makefile programs/secedit enable_secedit
20115 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20116 wine_fn_config_makefile programs/services enable_services
20117 wine_fn_config_makefile programs/services/tests enable_tests
20118 wine_fn_config_makefile programs/shutdown enable_shutdown
20119 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20120 wine_fn_config_makefile programs/start enable_start
20121 wine_fn_config_makefile programs/subst enable_subst
20122 wine_fn_config_makefile programs/svchost enable_svchost
20123 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20124 wine_fn_config_makefile programs/taskkill enable_taskkill
20125 wine_fn_config_makefile programs/tasklist enable_tasklist
20126 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20127 wine_fn_config_makefile programs/termsv enable_termsv
20128 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20129 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20130 wine_fn_config_makefile programs/view enable_view
20131 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20132 wine_fn_config_makefile programs/wineboot enable_wineboot
20133 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20134 wine_fn_config_makefile programs/winecfg enable_winecfg
20135 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20136 wine_fn_config_makefile programs/winedbg enable_winedbg
20137 wine_fn_config_makefile programs/winedevice enable_winedevice
20138 wine_fn_config_makefile programs/winefile enable_winefile
20139 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20140 wine_fn_config_makefile programs/winemine enable_winemine
20141 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20142 wine_fn_config_makefile programs/winepath enable_winepath
20143 wine_fn_config_makefile programs/winetest enable_winetest
20144 wine_fn_config_makefile programs/winevdm enable_win16
20145 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20146 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20147 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20148 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20149 wine_fn_config_makefile programs/winver enable_winver
20150 wine_fn_config_makefile programs/wmic enable_wmic
20151 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20152 wine_fn_config_makefile programs/wordpad enable_wordpad
20153 wine_fn_config_makefile programs/write enable_write
20154 wine_fn_config_makefile programs/wscript enable_wscript
20155 wine_fn_config_makefile programs/wscript/tests enable_tests
20156 wine_fn_config_makefile programs/wusa enable_wusa
20157 wine_fn_config_makefile programs/xcopy enable_xcopy
20158 wine_fn_config_makefile programs/xcopy/tests enable_tests
20159 wine_fn_config_makefile server enable_server
20160 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20161 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20162 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20163 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20164 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20165 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20166 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20167 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20168 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20171 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20172 wine_fn_append_file CONFIGURE_TARGETS "tags"
20173 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20174 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20175 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20176 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20177 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20178 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20180 if test "x$enable_tools" != xno
20181 then
20182 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20183 ac_config_commands="$ac_config_commands tools/makedep"
20187 ac_config_commands="$ac_config_commands Makefile"
20190 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20194 if test "x$enable_maintainer_mode" = xyes
20195 then
20196 wine_fn_append_rule "configure: configure.ac aclocal.m4
20197 autoconf --warnings=all
20198 include/config.h.in: include/stamp-h.in
20199 include/stamp-h.in: configure.ac aclocal.m4
20200 autoheader --warnings=all
20201 @echo timestamp > \$@"
20204 if test "x$enable_tools" != xno
20205 then
20206 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20207 @./config.status tools/makedep
20208 Makefile: tools/makedep$ac_exeext
20209 fonts: tools/sfnt2fon
20210 include: tools tools/widl"
20211 else
20212 wine_fn_append_rule "\$(MAKEDEP):
20213 @echo \"You need to run make in $TOOLSDIR first\" && false"
20216 if test -n "$with_wine64"
20217 then
20218 case "$with_wine64" in
20219 /*) reldir="" ;;
20220 *) reldir="../" ;;
20221 esac
20222 rm -f fonts server 2>/dev/null
20223 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20224 loader/wine64 loader/wine64-preloader:
20225 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20226 $with_wine64/loader/wine:
20227 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20228 $with_wine64/loader/wine-preloader:
20229 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20230 clean::
20231 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20232 else
20233 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
20234 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
20235 fonts \
20236 loader/l_intl.nls \
20237 loader/wine.inf \
20238 programs/msiexec/msiexec \
20239 programs/notepad/notepad \
20240 programs/regedit/regedit \
20241 programs/regsvr32/regsvr32 \
20242 programs/wineboot/wineboot \
20243 programs/winecfg/winecfg \
20244 programs/wineconsole/wineconsole \
20245 programs/winedbg/winedbg \
20246 programs/winefile/winefile \
20247 programs/winemine/winemine \
20248 programs/winepath/winepath \
20249 server/wineserver"
20251 case $host_os in
20252 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20253 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
20254 esac
20257 $as_echo " done" >&6
20258 cat >confcache <<\_ACEOF
20259 # This file is a shell script that caches the results of configure
20260 # tests run on this system so they can be shared between configure
20261 # scripts and configure runs, see configure's option --config-cache.
20262 # It is not useful on other systems. If it contains results you don't
20263 # want to keep, you may remove or edit it.
20265 # config.status only pays attention to the cache file if you give it
20266 # the --recheck option to rerun configure.
20268 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20269 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20270 # following values.
20272 _ACEOF
20274 # The following way of writing the cache mishandles newlines in values,
20275 # but we know of no workaround that is simple, portable, and efficient.
20276 # So, we kill variables containing newlines.
20277 # Ultrix sh set writes to stderr and can't be redirected directly,
20278 # and sets the high bit in the cache file unless we assign to the vars.
20280 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20281 eval ac_val=\$$ac_var
20282 case $ac_val in #(
20283 *${as_nl}*)
20284 case $ac_var in #(
20285 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20286 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20287 esac
20288 case $ac_var in #(
20289 _ | IFS | as_nl) ;; #(
20290 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20291 *) { eval $ac_var=; unset $ac_var;} ;;
20292 esac ;;
20293 esac
20294 done
20296 (set) 2>&1 |
20297 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20298 *${as_nl}ac_space=\ *)
20299 # `set' does not quote correctly, so add quotes: double-quote
20300 # substitution turns \\\\ into \\, and sed turns \\ into \.
20301 sed -n \
20302 "s/'/'\\\\''/g;
20303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20304 ;; #(
20306 # `set' quotes correctly as required by POSIX, so do not add quotes.
20307 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20309 esac |
20310 sort
20312 sed '
20313 /^ac_cv_env_/b end
20314 t clear
20315 :clear
20316 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20317 t end
20318 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20319 :end' >>confcache
20320 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20321 if test -w "$cache_file"; then
20322 if test "x$cache_file" != "x/dev/null"; then
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20324 $as_echo "$as_me: updating cache $cache_file" >&6;}
20325 if test ! -f "$cache_file" || test -h "$cache_file"; then
20326 cat confcache >"$cache_file"
20327 else
20328 case $cache_file in #(
20329 */* | ?:*)
20330 mv -f confcache "$cache_file"$$ &&
20331 mv -f "$cache_file"$$ "$cache_file" ;; #(
20333 mv -f confcache "$cache_file" ;;
20334 esac
20337 else
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20339 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20342 rm -f confcache
20344 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20345 # Let make expand exec_prefix.
20346 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20348 DEFS=-DHAVE_CONFIG_H
20350 ac_libobjs=
20351 ac_ltlibobjs=
20353 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20354 # 1. Remove the extension, and $U if already installed.
20355 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20356 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20357 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20358 # will be set to the directory where LIBOBJS objects are built.
20359 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20360 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20361 done
20362 LIBOBJS=$ac_libobjs
20364 LTLIBOBJS=$ac_ltlibobjs
20368 : "${CONFIG_STATUS=./config.status}"
20369 ac_write_fail=0
20370 ac_clean_files_save=$ac_clean_files
20371 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20373 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20374 as_write_fail=0
20375 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20376 #! $SHELL
20377 # Generated by $as_me.
20378 # Run this file to recreate the current configuration.
20379 # Compiler output produced by configure, useful for debugging
20380 # configure, is in config.log if it exists.
20382 debug=false
20383 ac_cs_recheck=false
20384 ac_cs_silent=false
20386 SHELL=\${CONFIG_SHELL-$SHELL}
20387 export SHELL
20388 _ASEOF
20389 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20390 ## -------------------- ##
20391 ## M4sh Initialization. ##
20392 ## -------------------- ##
20394 # Be more Bourne compatible
20395 DUALCASE=1; export DUALCASE # for MKS sh
20396 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20397 emulate sh
20398 NULLCMD=:
20399 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20400 # is contrary to our usage. Disable this feature.
20401 alias -g '${1+"$@"}'='"$@"'
20402 setopt NO_GLOB_SUBST
20403 else
20404 case `(set -o) 2>/dev/null` in #(
20405 *posix*) :
20406 set -o posix ;; #(
20407 *) :
20409 esac
20413 as_nl='
20415 export as_nl
20416 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20417 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20418 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20419 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20420 # Prefer a ksh shell builtin over an external printf program on Solaris,
20421 # but without wasting forks for bash or zsh.
20422 if test -z "$BASH_VERSION$ZSH_VERSION" \
20423 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20424 as_echo='print -r --'
20425 as_echo_n='print -rn --'
20426 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20427 as_echo='printf %s\n'
20428 as_echo_n='printf %s'
20429 else
20430 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20431 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20432 as_echo_n='/usr/ucb/echo -n'
20433 else
20434 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20435 as_echo_n_body='eval
20436 arg=$1;
20437 case $arg in #(
20438 *"$as_nl"*)
20439 expr "X$arg" : "X\\(.*\\)$as_nl";
20440 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20441 esac;
20442 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20444 export as_echo_n_body
20445 as_echo_n='sh -c $as_echo_n_body as_echo'
20447 export as_echo_body
20448 as_echo='sh -c $as_echo_body as_echo'
20451 # The user is always right.
20452 if test "${PATH_SEPARATOR+set}" != set; then
20453 PATH_SEPARATOR=:
20454 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20455 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20456 PATH_SEPARATOR=';'
20461 # IFS
20462 # We need space, tab and new line, in precisely that order. Quoting is
20463 # there to prevent editors from complaining about space-tab.
20464 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20465 # splitting by setting IFS to empty value.)
20466 IFS=" "" $as_nl"
20468 # Find who we are. Look in the path if we contain no directory separator.
20469 as_myself=
20470 case $0 in #((
20471 *[\\/]* ) as_myself=$0 ;;
20472 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20473 for as_dir in $PATH
20475 IFS=$as_save_IFS
20476 test -z "$as_dir" && as_dir=.
20477 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20478 done
20479 IFS=$as_save_IFS
20482 esac
20483 # We did not find ourselves, most probably we were run as `sh COMMAND'
20484 # in which case we are not to be found in the path.
20485 if test "x$as_myself" = x; then
20486 as_myself=$0
20488 if test ! -f "$as_myself"; then
20489 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20490 exit 1
20493 # Unset variables that we do not need and which cause bugs (e.g. in
20494 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20495 # suppresses any "Segmentation fault" message there. '((' could
20496 # trigger a bug in pdksh 5.2.14.
20497 for as_var in BASH_ENV ENV MAIL MAILPATH
20498 do eval test x\${$as_var+set} = xset \
20499 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20500 done
20501 PS1='$ '
20502 PS2='> '
20503 PS4='+ '
20505 # NLS nuisances.
20506 LC_ALL=C
20507 export LC_ALL
20508 LANGUAGE=C
20509 export LANGUAGE
20511 # CDPATH.
20512 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20515 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20516 # ----------------------------------------
20517 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20518 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20519 # script with STATUS, using 1 if that was 0.
20520 as_fn_error ()
20522 as_status=$1; test $as_status -eq 0 && as_status=1
20523 if test "$4"; then
20524 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20525 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20527 $as_echo "$as_me: error: $2" >&2
20528 as_fn_exit $as_status
20529 } # as_fn_error
20532 # as_fn_set_status STATUS
20533 # -----------------------
20534 # Set $? to STATUS, without forking.
20535 as_fn_set_status ()
20537 return $1
20538 } # as_fn_set_status
20540 # as_fn_exit STATUS
20541 # -----------------
20542 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20543 as_fn_exit ()
20545 set +e
20546 as_fn_set_status $1
20547 exit $1
20548 } # as_fn_exit
20550 # as_fn_unset VAR
20551 # ---------------
20552 # Portably unset VAR.
20553 as_fn_unset ()
20555 { eval $1=; unset $1;}
20557 as_unset=as_fn_unset
20558 # as_fn_append VAR VALUE
20559 # ----------------------
20560 # Append the text in VALUE to the end of the definition contained in VAR. Take
20561 # advantage of any shell optimizations that allow amortized linear growth over
20562 # repeated appends, instead of the typical quadratic growth present in naive
20563 # implementations.
20564 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20565 eval 'as_fn_append ()
20567 eval $1+=\$2
20569 else
20570 as_fn_append ()
20572 eval $1=\$$1\$2
20574 fi # as_fn_append
20576 # as_fn_arith ARG...
20577 # ------------------
20578 # Perform arithmetic evaluation on the ARGs, and store the result in the
20579 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20580 # must be portable across $(()) and expr.
20581 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20582 eval 'as_fn_arith ()
20584 as_val=$(( $* ))
20586 else
20587 as_fn_arith ()
20589 as_val=`expr "$@" || test $? -eq 1`
20591 fi # as_fn_arith
20594 if expr a : '\(a\)' >/dev/null 2>&1 &&
20595 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20596 as_expr=expr
20597 else
20598 as_expr=false
20601 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20602 as_basename=basename
20603 else
20604 as_basename=false
20607 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20608 as_dirname=dirname
20609 else
20610 as_dirname=false
20613 as_me=`$as_basename -- "$0" ||
20614 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20615 X"$0" : 'X\(//\)$' \| \
20616 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20617 $as_echo X/"$0" |
20618 sed '/^.*\/\([^/][^/]*\)\/*$/{
20619 s//\1/
20622 /^X\/\(\/\/\)$/{
20623 s//\1/
20626 /^X\/\(\/\).*/{
20627 s//\1/
20630 s/.*/./; q'`
20632 # Avoid depending upon Character Ranges.
20633 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20634 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20635 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20636 as_cr_digits='0123456789'
20637 as_cr_alnum=$as_cr_Letters$as_cr_digits
20639 ECHO_C= ECHO_N= ECHO_T=
20640 case `echo -n x` in #(((((
20641 -n*)
20642 case `echo 'xy\c'` in
20643 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20644 xy) ECHO_C='\c';;
20645 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20646 ECHO_T=' ';;
20647 esac;;
20649 ECHO_N='-n';;
20650 esac
20652 rm -f conf$$ conf$$.exe conf$$.file
20653 if test -d conf$$.dir; then
20654 rm -f conf$$.dir/conf$$.file
20655 else
20656 rm -f conf$$.dir
20657 mkdir conf$$.dir 2>/dev/null
20659 if (echo >conf$$.file) 2>/dev/null; then
20660 if ln -s conf$$.file conf$$ 2>/dev/null; then
20661 as_ln_s='ln -s'
20662 # ... but there are two gotchas:
20663 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20664 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20665 # In both cases, we have to default to `cp -pR'.
20666 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20667 as_ln_s='cp -pR'
20668 elif ln conf$$.file conf$$ 2>/dev/null; then
20669 as_ln_s=ln
20670 else
20671 as_ln_s='cp -pR'
20673 else
20674 as_ln_s='cp -pR'
20676 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20677 rmdir conf$$.dir 2>/dev/null
20680 # as_fn_mkdir_p
20681 # -------------
20682 # Create "$as_dir" as a directory, including parents if necessary.
20683 as_fn_mkdir_p ()
20686 case $as_dir in #(
20687 -*) as_dir=./$as_dir;;
20688 esac
20689 test -d "$as_dir" || eval $as_mkdir_p || {
20690 as_dirs=
20691 while :; do
20692 case $as_dir in #(
20693 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20694 *) as_qdir=$as_dir;;
20695 esac
20696 as_dirs="'$as_qdir' $as_dirs"
20697 as_dir=`$as_dirname -- "$as_dir" ||
20698 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20699 X"$as_dir" : 'X\(//\)[^/]' \| \
20700 X"$as_dir" : 'X\(//\)$' \| \
20701 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20702 $as_echo X"$as_dir" |
20703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20704 s//\1/
20707 /^X\(\/\/\)[^/].*/{
20708 s//\1/
20711 /^X\(\/\/\)$/{
20712 s//\1/
20715 /^X\(\/\).*/{
20716 s//\1/
20719 s/.*/./; q'`
20720 test -d "$as_dir" && break
20721 done
20722 test -z "$as_dirs" || eval "mkdir $as_dirs"
20723 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20726 } # as_fn_mkdir_p
20727 if mkdir -p . 2>/dev/null; then
20728 as_mkdir_p='mkdir -p "$as_dir"'
20729 else
20730 test -d ./-p && rmdir ./-p
20731 as_mkdir_p=false
20735 # as_fn_executable_p FILE
20736 # -----------------------
20737 # Test if FILE is an executable regular file.
20738 as_fn_executable_p ()
20740 test -f "$1" && test -x "$1"
20741 } # as_fn_executable_p
20742 as_test_x='test -x'
20743 as_executable_p=as_fn_executable_p
20745 # Sed expression to map a string onto a valid CPP name.
20746 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20748 # Sed expression to map a string onto a valid variable name.
20749 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20752 exec 6>&1
20753 ## ----------------------------------- ##
20754 ## Main body of $CONFIG_STATUS script. ##
20755 ## ----------------------------------- ##
20756 _ASEOF
20757 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20760 # Save the log message, to keep $0 and so on meaningful, and to
20761 # report actual input values of CONFIG_FILES etc. instead of their
20762 # values after options handling.
20763 ac_log="
20764 This file was extended by Wine $as_me 3.21, which was
20765 generated by GNU Autoconf 2.69. Invocation command line was
20767 CONFIG_FILES = $CONFIG_FILES
20768 CONFIG_HEADERS = $CONFIG_HEADERS
20769 CONFIG_LINKS = $CONFIG_LINKS
20770 CONFIG_COMMANDS = $CONFIG_COMMANDS
20771 $ $0 $@
20773 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20776 _ACEOF
20778 case $ac_config_files in *"
20779 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20780 esac
20782 case $ac_config_headers in *"
20783 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20784 esac
20787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20788 # Files that config.status was made for.
20789 config_files="$ac_config_files"
20790 config_headers="$ac_config_headers"
20791 config_links="$ac_config_links"
20792 config_commands="$ac_config_commands"
20794 _ACEOF
20796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20797 ac_cs_usage="\
20798 \`$as_me' instantiates files and other configuration actions
20799 from templates according to the current configuration. Unless the files
20800 and actions are specified as TAGs, all are instantiated by default.
20802 Usage: $0 [OPTION]... [TAG]...
20804 -h, --help print this help, then exit
20805 -V, --version print version number and configuration settings, then exit
20806 --config print configuration, then exit
20807 -q, --quiet, --silent
20808 do not print progress messages
20809 -d, --debug don't remove temporary files
20810 --recheck update $as_me by reconfiguring in the same conditions
20811 --file=FILE[:TEMPLATE]
20812 instantiate the configuration file FILE
20813 --header=FILE[:TEMPLATE]
20814 instantiate the configuration header FILE
20816 Configuration files:
20817 $config_files
20819 Configuration headers:
20820 $config_headers
20822 Configuration links:
20823 $config_links
20825 Configuration commands:
20826 $config_commands
20828 Report bugs to <wine-devel@winehq.org>.
20829 Wine home page: <https://www.winehq.org>."
20831 _ACEOF
20832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20833 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20834 ac_cs_version="\\
20835 Wine config.status 3.21
20836 configured by $0, generated by GNU Autoconf 2.69,
20837 with options \\"\$ac_cs_config\\"
20839 Copyright (C) 2012 Free Software Foundation, Inc.
20840 This config.status script is free software; the Free Software Foundation
20841 gives unlimited permission to copy, distribute and modify it."
20843 ac_pwd='$ac_pwd'
20844 srcdir='$srcdir'
20845 test -n "\$AWK" || AWK=awk
20846 _ACEOF
20848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20849 # The default lists apply if the user does not specify any file.
20850 ac_need_defaults=:
20851 while test $# != 0
20853 case $1 in
20854 --*=?*)
20855 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20856 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20857 ac_shift=:
20859 --*=)
20860 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20861 ac_optarg=
20862 ac_shift=:
20865 ac_option=$1
20866 ac_optarg=$2
20867 ac_shift=shift
20869 esac
20871 case $ac_option in
20872 # Handling of the options.
20873 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20874 ac_cs_recheck=: ;;
20875 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20876 $as_echo "$ac_cs_version"; exit ;;
20877 --config | --confi | --conf | --con | --co | --c )
20878 $as_echo "$ac_cs_config"; exit ;;
20879 --debug | --debu | --deb | --de | --d | -d )
20880 debug=: ;;
20881 --file | --fil | --fi | --f )
20882 $ac_shift
20883 case $ac_optarg in
20884 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20885 '') as_fn_error $? "missing file argument" ;;
20886 esac
20887 as_fn_append CONFIG_FILES " '$ac_optarg'"
20888 ac_need_defaults=false;;
20889 --header | --heade | --head | --hea )
20890 $ac_shift
20891 case $ac_optarg in
20892 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20893 esac
20894 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20895 ac_need_defaults=false;;
20896 --he | --h)
20897 # Conflict between --help and --header
20898 as_fn_error $? "ambiguous option: \`$1'
20899 Try \`$0 --help' for more information.";;
20900 --help | --hel | -h )
20901 $as_echo "$ac_cs_usage"; exit ;;
20902 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20903 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20904 ac_cs_silent=: ;;
20906 # This is an error.
20907 -*) as_fn_error $? "unrecognized option: \`$1'
20908 Try \`$0 --help' for more information." ;;
20910 *) as_fn_append ac_config_targets " $1"
20911 ac_need_defaults=false ;;
20913 esac
20914 shift
20915 done
20917 ac_configure_extra_args=
20919 if $ac_cs_silent; then
20920 exec 6>/dev/null
20921 ac_configure_extra_args="$ac_configure_extra_args --silent"
20924 _ACEOF
20925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20926 if \$ac_cs_recheck; then
20927 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20928 shift
20929 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20930 CONFIG_SHELL='$SHELL'
20931 export CONFIG_SHELL
20932 exec "\$@"
20935 _ACEOF
20936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20937 exec 5>>config.log
20939 echo
20940 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20941 ## Running $as_me. ##
20942 _ASBOX
20943 $as_echo "$ac_log"
20944 } >&5
20946 _ACEOF
20947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20949 # INIT-COMMANDS
20951 wine_fn_output_makedep ()
20953 as_dir=tools; as_fn_mkdir_p
20954 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20956 wine_fn_output_makefile ()
20958 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20959 `cat $wine_rules_file`
20960 _WINE_EOF
20961 as_fn_error $? "could not create Makefile" "$LINENO" 5
20964 _ACEOF
20966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20968 # Handling of arguments.
20969 for ac_config_target in $ac_config_targets
20971 case $ac_config_target in
20972 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20973 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20974 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20975 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20976 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20977 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20978 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20979 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20980 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20981 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20982 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20983 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20984 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20986 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20987 esac
20988 done
20991 # If the user did not use the arguments to specify the items to instantiate,
20992 # then the envvar interface is used. Set only those that are not.
20993 # We use the long form for the default assignment because of an extremely
20994 # bizarre bug on SunOS 4.1.3.
20995 if $ac_need_defaults; then
20996 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20997 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20998 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20999 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21002 # Have a temporary directory for convenience. Make it in the build tree
21003 # simply because there is no reason against having it here, and in addition,
21004 # creating and moving files from /tmp can sometimes cause problems.
21005 # Hook for its removal unless debugging.
21006 # Note that there is a small window in which the directory will not be cleaned:
21007 # after its creation but before its name has been assigned to `$tmp'.
21008 $debug ||
21010 tmp= ac_tmp=
21011 trap 'exit_status=$?
21012 : "${ac_tmp:=$tmp}"
21013 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21015 trap 'as_fn_exit 1' 1 2 13 15
21017 # Create a (secure) tmp directory for tmp files.
21020 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21021 test -d "$tmp"
21022 } ||
21024 tmp=./conf$$-$RANDOM
21025 (umask 077 && mkdir "$tmp")
21026 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21027 ac_tmp=$tmp
21029 # Set up the scripts for CONFIG_FILES section.
21030 # No need to generate them if there are no CONFIG_FILES.
21031 # This happens for instance with `./config.status config.h'.
21032 if test -n "$CONFIG_FILES"; then
21035 ac_cr=`echo X | tr X '\015'`
21036 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21037 # But we know of no other shell where ac_cr would be empty at this
21038 # point, so we can use a bashism as a fallback.
21039 if test "x$ac_cr" = x; then
21040 eval ac_cr=\$\'\\r\'
21042 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21043 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21044 ac_cs_awk_cr='\\r'
21045 else
21046 ac_cs_awk_cr=$ac_cr
21049 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21050 _ACEOF
21054 echo "cat >conf$$subs.awk <<_ACEOF" &&
21055 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21056 echo "_ACEOF"
21057 } >conf$$subs.sh ||
21058 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21059 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21060 ac_delim='%!_!# '
21061 for ac_last_try in false false false false false :; do
21062 . ./conf$$subs.sh ||
21063 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21065 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21066 if test $ac_delim_n = $ac_delim_num; then
21067 break
21068 elif $ac_last_try; then
21069 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21070 else
21071 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21073 done
21074 rm -f conf$$subs.sh
21076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21077 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21078 _ACEOF
21079 sed -n '
21081 s/^/S["/; s/!.*/"]=/
21084 s/^[^!]*!//
21085 :repl
21086 t repl
21087 s/'"$ac_delim"'$//
21088 t delim
21091 s/\(.\{148\}\)..*/\1/
21092 t more1
21093 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21096 b repl
21097 :more1
21098 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21101 s/.\{148\}//
21102 t nl
21103 :delim
21105 s/\(.\{148\}\)..*/\1/
21106 t more2
21107 s/["\\]/\\&/g; s/^/"/; s/$/"/
21110 :more2
21111 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21114 s/.\{148\}//
21115 t delim
21116 ' <conf$$subs.awk | sed '
21117 /^[^""]/{
21119 s/\n//
21121 ' >>$CONFIG_STATUS || ac_write_fail=1
21122 rm -f conf$$subs.awk
21123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21124 _ACAWK
21125 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21126 for (key in S) S_is_set[key] = 1
21127 FS = "\a"
21131 line = $ 0
21132 nfields = split(line, field, "@")
21133 substed = 0
21134 len = length(field[1])
21135 for (i = 2; i < nfields; i++) {
21136 key = field[i]
21137 keylen = length(key)
21138 if (S_is_set[key]) {
21139 value = S[key]
21140 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21141 len += length(value) + length(field[++i])
21142 substed = 1
21143 } else
21144 len += 1 + keylen
21147 print line
21150 _ACAWK
21151 _ACEOF
21152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21153 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21154 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21155 else
21157 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21158 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21159 _ACEOF
21161 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21162 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21163 # trailing colons and then remove the whole line if VPATH becomes empty
21164 # (actually we leave an empty line to preserve line numbers).
21165 if test "x$srcdir" = x.; then
21166 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21168 s///
21169 s/^/:/
21170 s/[ ]*$/:/
21171 s/:\$(srcdir):/:/g
21172 s/:\${srcdir}:/:/g
21173 s/:@srcdir@:/:/g
21174 s/^:*//
21175 s/:*$//
21177 s/\(=[ ]*\).*/\1/
21179 s/\n//
21180 s/^[^=]*=[ ]*$//
21184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21185 fi # test -n "$CONFIG_FILES"
21187 # Set up the scripts for CONFIG_HEADERS section.
21188 # No need to generate them if there are no CONFIG_HEADERS.
21189 # This happens for instance with `./config.status Makefile'.
21190 if test -n "$CONFIG_HEADERS"; then
21191 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21192 BEGIN {
21193 _ACEOF
21195 # Transform confdefs.h into an awk script `defines.awk', embedded as
21196 # here-document in config.status, that substitutes the proper values into
21197 # config.h.in to produce config.h.
21199 # Create a delimiter string that does not exist in confdefs.h, to ease
21200 # handling of long lines.
21201 ac_delim='%!_!# '
21202 for ac_last_try in false false :; do
21203 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21204 if test -z "$ac_tt"; then
21205 break
21206 elif $ac_last_try; then
21207 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21208 else
21209 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21211 done
21213 # For the awk script, D is an array of macro values keyed by name,
21214 # likewise P contains macro parameters if any. Preserve backslash
21215 # newline sequences.
21217 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21218 sed -n '
21219 s/.\{148\}/&'"$ac_delim"'/g
21220 t rset
21221 :rset
21222 s/^[ ]*#[ ]*define[ ][ ]*/ /
21223 t def
21225 :def
21226 s/\\$//
21227 t bsnl
21228 s/["\\]/\\&/g
21229 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21230 D["\1"]=" \3"/p
21231 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21233 :bsnl
21234 s/["\\]/\\&/g
21235 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21236 D["\1"]=" \3\\\\\\n"\\/p
21237 t cont
21238 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21239 t cont
21241 :cont
21243 s/.\{148\}/&'"$ac_delim"'/g
21244 t clear
21245 :clear
21246 s/\\$//
21247 t bsnlc
21248 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21250 :bsnlc
21251 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21252 b cont
21253 ' <confdefs.h | sed '
21254 s/'"$ac_delim"'/"\\\
21255 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21258 for (key in D) D_is_set[key] = 1
21259 FS = "\a"
21261 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21262 line = \$ 0
21263 split(line, arg, " ")
21264 if (arg[1] == "#") {
21265 defundef = arg[2]
21266 mac1 = arg[3]
21267 } else {
21268 defundef = substr(arg[1], 2)
21269 mac1 = arg[2]
21271 split(mac1, mac2, "(") #)
21272 macro = mac2[1]
21273 prefix = substr(line, 1, index(line, defundef) - 1)
21274 if (D_is_set[macro]) {
21275 # Preserve the white space surrounding the "#".
21276 print prefix "define", macro P[macro] D[macro]
21277 next
21278 } else {
21279 # Replace #undef with comments. This is necessary, for example,
21280 # in the case of _POSIX_SOURCE, which is predefined and required
21281 # on some systems where configure will not decide to define it.
21282 if (defundef == "undef") {
21283 print "/*", prefix defundef, macro, "*/"
21284 next
21288 { print }
21289 _ACAWK
21290 _ACEOF
21291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21292 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21293 fi # test -n "$CONFIG_HEADERS"
21296 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21297 shift
21298 for ac_tag
21300 case $ac_tag in
21301 :[FHLC]) ac_mode=$ac_tag; continue;;
21302 esac
21303 case $ac_mode$ac_tag in
21304 :[FHL]*:*);;
21305 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21306 :[FH]-) ac_tag=-:-;;
21307 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21308 esac
21309 ac_save_IFS=$IFS
21310 IFS=:
21311 set x $ac_tag
21312 IFS=$ac_save_IFS
21313 shift
21314 ac_file=$1
21315 shift
21317 case $ac_mode in
21318 :L) ac_source=$1;;
21319 :[FH])
21320 ac_file_inputs=
21321 for ac_f
21323 case $ac_f in
21324 -) ac_f="$ac_tmp/stdin";;
21325 *) # Look for the file first in the build tree, then in the source tree
21326 # (if the path is not absolute). The absolute path cannot be DOS-style,
21327 # because $ac_f cannot contain `:'.
21328 test -f "$ac_f" ||
21329 case $ac_f in
21330 [\\/$]*) false;;
21331 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21332 esac ||
21333 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21334 esac
21335 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21336 as_fn_append ac_file_inputs " '$ac_f'"
21337 done
21339 # Let's still pretend it is `configure' which instantiates (i.e., don't
21340 # use $as_me), people would be surprised to read:
21341 # /* config.h. Generated by config.status. */
21342 configure_input='Generated from '`
21343 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21344 `' by configure.'
21345 if test x"$ac_file" != x-; then
21346 configure_input="$ac_file. $configure_input"
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21348 $as_echo "$as_me: creating $ac_file" >&6;}
21350 # Neutralize special characters interpreted by sed in replacement strings.
21351 case $configure_input in #(
21352 *\&* | *\|* | *\\* )
21353 ac_sed_conf_input=`$as_echo "$configure_input" |
21354 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21355 *) ac_sed_conf_input=$configure_input;;
21356 esac
21358 case $ac_tag in
21359 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21360 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21361 esac
21363 esac
21365 ac_dir=`$as_dirname -- "$ac_file" ||
21366 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21367 X"$ac_file" : 'X\(//\)[^/]' \| \
21368 X"$ac_file" : 'X\(//\)$' \| \
21369 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21370 $as_echo X"$ac_file" |
21371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21372 s//\1/
21375 /^X\(\/\/\)[^/].*/{
21376 s//\1/
21379 /^X\(\/\/\)$/{
21380 s//\1/
21383 /^X\(\/\).*/{
21384 s//\1/
21387 s/.*/./; q'`
21388 as_dir="$ac_dir"; as_fn_mkdir_p
21389 ac_builddir=.
21391 case "$ac_dir" in
21392 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21394 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21395 # A ".." for each directory in $ac_dir_suffix.
21396 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21397 case $ac_top_builddir_sub in
21398 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21399 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21400 esac ;;
21401 esac
21402 ac_abs_top_builddir=$ac_pwd
21403 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21404 # for backward compatibility:
21405 ac_top_builddir=$ac_top_build_prefix
21407 case $srcdir in
21408 .) # We are building in place.
21409 ac_srcdir=.
21410 ac_top_srcdir=$ac_top_builddir_sub
21411 ac_abs_top_srcdir=$ac_pwd ;;
21412 [\\/]* | ?:[\\/]* ) # Absolute name.
21413 ac_srcdir=$srcdir$ac_dir_suffix;
21414 ac_top_srcdir=$srcdir
21415 ac_abs_top_srcdir=$srcdir ;;
21416 *) # Relative name.
21417 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21418 ac_top_srcdir=$ac_top_build_prefix$srcdir
21419 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21420 esac
21421 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21424 case $ac_mode in
21427 # CONFIG_FILE
21430 _ACEOF
21432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21433 # If the template does not know about datarootdir, expand it.
21434 # FIXME: This hack should be removed a few years after 2.60.
21435 ac_datarootdir_hack=; ac_datarootdir_seen=
21436 ac_sed_dataroot='
21437 /datarootdir/ {
21441 /@datadir@/p
21442 /@docdir@/p
21443 /@infodir@/p
21444 /@localedir@/p
21445 /@mandir@/p'
21446 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21447 *datarootdir*) ac_datarootdir_seen=yes;;
21448 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21450 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21451 _ACEOF
21452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21453 ac_datarootdir_hack='
21454 s&@datadir@&$datadir&g
21455 s&@docdir@&$docdir&g
21456 s&@infodir@&$infodir&g
21457 s&@localedir@&$localedir&g
21458 s&@mandir@&$mandir&g
21459 s&\\\${datarootdir}&$datarootdir&g' ;;
21460 esac
21461 _ACEOF
21463 # Neutralize VPATH when `$srcdir' = `.'.
21464 # Shell code in configure.ac might set extrasub.
21465 # FIXME: do we really want to maintain this feature?
21466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21467 ac_sed_extra="$ac_vpsub
21468 $extrasub
21469 _ACEOF
21470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21472 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21473 s|@configure_input@|$ac_sed_conf_input|;t t
21474 s&@top_builddir@&$ac_top_builddir_sub&;t t
21475 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21476 s&@srcdir@&$ac_srcdir&;t t
21477 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21478 s&@top_srcdir@&$ac_top_srcdir&;t t
21479 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21480 s&@builddir@&$ac_builddir&;t t
21481 s&@abs_builddir@&$ac_abs_builddir&;t t
21482 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21483 $ac_datarootdir_hack
21485 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21486 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21488 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21489 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21490 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21491 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21493 which seems to be undefined. Please make sure it is defined" >&5
21494 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21495 which seems to be undefined. Please make sure it is defined" >&2;}
21497 rm -f "$ac_tmp/stdin"
21498 case $ac_file in
21499 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21500 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21501 esac \
21502 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21506 # CONFIG_HEADER
21508 if test x"$ac_file" != x-; then
21510 $as_echo "/* $configure_input */" \
21511 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21512 } >"$ac_tmp/config.h" \
21513 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21514 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21516 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21517 else
21518 rm -f "$ac_file"
21519 mv "$ac_tmp/config.h" "$ac_file" \
21520 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21522 else
21523 $as_echo "/* $configure_input */" \
21524 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21525 || as_fn_error $? "could not create -" "$LINENO" 5
21530 # CONFIG_LINK
21533 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21535 else
21536 # Prefer the file from the source tree if names are identical.
21537 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21538 ac_source=$srcdir/$ac_source
21541 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21542 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21544 if test ! -r "$ac_source"; then
21545 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21547 rm -f "$ac_file"
21549 # Try a relative symlink, then a hard link, then a copy.
21550 case $ac_source in
21551 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21552 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21553 esac
21554 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21555 ln "$ac_source" "$ac_file" 2>/dev/null ||
21556 cp -p "$ac_source" "$ac_file" ||
21557 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21560 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21561 $as_echo "$as_me: executing $ac_file commands" >&6;}
21563 esac
21566 case $ac_file$ac_mode in
21567 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21568 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21569 "Makefile":C) wine_fn_output_makefile Makefile ;;
21571 esac
21572 done # for ac_tag
21575 as_fn_exit 0
21576 _ACEOF
21577 ac_clean_files=$ac_clean_files_save
21579 test $ac_write_fail = 0 ||
21580 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21583 # configure is writing to config.log, and then calls config.status.
21584 # config.status does its own redirection, appending to config.log.
21585 # Unfortunately, on DOS this fails, as config.log is still kept open
21586 # by configure, so config.status won't be able to write to it; its
21587 # output is simply discarded. So we exec the FD to /dev/null,
21588 # effectively closing config.log, so it can be properly (re)opened and
21589 # appended to by config.status. When coming back to configure, we
21590 # need to make the FD available again.
21591 if test "$no_create" != yes; then
21592 ac_cs_success=:
21593 ac_config_status_args=
21594 test "$silent" = yes &&
21595 ac_config_status_args="$ac_config_status_args --quiet"
21596 exec 5>/dev/null
21597 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21598 exec 5>>config.log
21599 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21600 # would make configure fail if this is the last instruction.
21601 $ac_cs_success || as_fn_exit 1
21603 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21605 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21609 if test "$no_create" = "yes"
21610 then
21611 exit 0
21614 ac_save_IFS="$IFS"
21615 if test "x$wine_notices" != x; then
21616 echo >&6
21617 IFS="|"
21618 for msg in $wine_notices; do
21619 IFS="$ac_save_IFS"
21620 if ${msg:+false} :; then :
21622 else
21623 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21624 $as_echo "$as_me: $msg" >&6;}
21626 done
21628 IFS="|"
21629 for msg in $wine_warnings; do
21630 IFS="$ac_save_IFS"
21631 if ${msg:+false} :; then :
21633 else
21634 echo >&2
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21636 $as_echo "$as_me: WARNING: $msg" >&2;}
21638 done
21639 IFS="$ac_save_IFS"
21641 $as_echo "
21642 $as_me: Finished. Do '${ac_make}' to compile Wine.
21643 " >&6