dbgeng: Partially implement GetModuleNameString().
[wine.git] / configure
blob158d983329200520e588d6fba7d483e35c42bfbb
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.6.
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='4.6'
584 PACKAGE_STRING='Wine 4.6'
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 FAUDIO_LIBS
663 FAUDIO_CFLAGS
664 SDL2_LIBS
665 SDL2_CFLAGS
666 UDEV_LIBS
667 UDEV_CFLAGS
668 OSS4_CFLAGS
669 ALSA_LIBS
670 GSTREAMER_LIBS
671 GSTREAMER_CFLAGS
672 PULSE_LIBS
673 PULSE_CFLAGS
674 GETTEXTPO_LIBS
675 Z_LIBS
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 LCMS2_LIBS
679 LCMS2_CFLAGS
680 RESOLV_LIBS
681 GPHOTO2_PORT_LIBS
682 GPHOTO2_PORT_CFLAGS
683 GPHOTO2_LIBS
684 GPHOTO2_CFLAGS
685 SANE_LIBS
686 SANE_CFLAGS
687 GNUTLS_LIBS
688 GNUTLS_CFLAGS
689 HAL_LIBS
690 HAL_CFLAGS
691 DBUS_LIBS
692 DBUS_CFLAGS
693 INOTIFY_LIBS
694 INOTIFY_CFLAGS
695 XSLT_LIBS
696 XSLT_CFLAGS
697 XML2_LIBS
698 XML2_CFLAGS
699 PCAP_LIBS
700 X_EXTRA_LIBS
701 X_LIBS
702 X_PRE_LIBS
703 X_CFLAGS
704 XMKMF
705 PTHREAD_LIBS
706 EXTRACROSSCFLAGS
707 CROSSCFLAGS
708 CROSSCC
709 CROSSTARGET
710 LIBWINE_DEPENDS
711 PRELINK
712 WINELOADER_DEPENDS
713 LIBWINE_LDFLAGS
714 LIBWINE_SHAREDLIB
715 METAL_LIBS
716 CARBON_LIBS
717 QUICKTIME_LIBS
718 OPENCL_LIBS
719 OPENAL_LIBS
720 COREAUDIO_LIBS
721 SECURITY_LIBS
722 DISKARBITRATION_LIBS
723 APPKIT_LIBS
724 CORESERVICES_LIBS
725 APPLICATIONSERVICES_LIBS
726 FORCEFEEDBACK_LIBS
727 IOKIT_LIBS
728 COREFOUNDATION_LIBS
729 OBJCPP
730 ac_ct_OBJC
731 OBJCFLAGS
732 OBJC
733 DLLTOOL
734 WINELOADER_PROGRAMS
735 CONFIGURE_TARGETS
736 DISABLED_SUBDIRS
737 SUBDIRS
738 READELF
739 OTOOL
741 WINEPRELOADER_LDFLAGS
742 WINELOADER_LDFLAGS
743 TOP_INSTALL_DEV
744 TOP_INSTALL_LIB
745 LDEXECFLAGS
746 LDRPATH_LOCAL
747 LDRPATH_INSTALL
748 DLLFLAGS
750 OPENGL_LIBS
751 ICOTOOL
752 CONVERT
753 RSVG
754 FONTFORGE
755 PKG_CONFIG
756 MSGFMT
757 LDCONFIG
758 EGREP
759 GREP
760 LN_S
761 RANLIB
762 STRIP
763 ac_ct_AR
765 BISON
766 FLEX
767 TOOLSDIR
768 TARGETFLAGS
770 CPPBIN
771 ac_ct_CXX
772 CXXFLAGS
774 OBJEXT
775 EXEEXT
776 ac_ct_CC
777 CPPFLAGS
778 LDFLAGS
779 CFLAGS
781 SET_MAKE
782 host_os
783 host_vendor
784 host_cpu
785 host
786 build_os
787 build_vendor
788 build_cpu
789 build
790 target_alias
791 host_alias
792 build_alias
793 LIBS
794 ECHO_T
795 ECHO_N
796 ECHO_C
797 DEFS
798 mandir
799 localedir
800 libdir
801 psdir
802 pdfdir
803 dvidir
804 htmldir
805 infodir
806 docdir
807 oldincludedir
808 includedir
809 runstatedir
810 localstatedir
811 sharedstatedir
812 sysconfdir
813 datadir
814 datarootdir
815 libexecdir
816 sbindir
817 bindir
818 program_transform_name
819 prefix
820 exec_prefix
821 PACKAGE_URL
822 PACKAGE_BUGREPORT
823 PACKAGE_STRING
824 PACKAGE_VERSION
825 PACKAGE_TARNAME
826 PACKAGE_NAME
827 PATH_SEPARATOR
828 SHELL'
829 ac_subst_files=''
830 ac_user_opts='
831 enable_option_checking
832 enable_win16
833 enable_win64
834 enable_tests
835 enable_maintainer_mode
836 with_alsa
837 with_capi
838 with_cms
839 with_coreaudio
840 with_cups
841 with_curses
842 with_dbus
843 with_faudio
844 with_float_abi
845 with_fontconfig
846 with_freetype
847 with_gettext
848 with_gettextpo
849 with_gphoto
850 with_glu
851 with_gnutls
852 with_gsm
853 with_gssapi
854 with_gstreamer
855 with_hal
856 with_inotify
857 with_jpeg
858 with_krb5
859 with_ldap
860 with_mingw
861 with_mpg123
862 with_netapi
863 with_openal
864 with_opencl
865 with_opengl
866 with_osmesa
867 with_oss
868 with_pcap
869 with_png
870 with_pthread
871 with_pulse
872 with_sane
873 with_sdl
874 with_tiff
875 with_udev
876 with_v4l2
877 with_vkd3d
878 with_vulkan
879 with_xcomposite
880 with_xcursor
881 with_xfixes
882 with_xinerama
883 with_xinput
884 with_xinput2
885 with_xml
886 with_xrandr
887 with_xrender
888 with_xshape
889 with_xshm
890 with_xslt
891 with_xxf86vm
892 with_zlib
893 with_wine_tools
894 with_wine64
895 enable_largefile
896 with_x
897 enable_acledit
898 enable_aclui
899 enable_activeds
900 enable_actxprxy
901 enable_adsiid
902 enable_adsldp
903 enable_adsldpc
904 enable_advapi32
905 enable_advpack
906 enable_amsi
907 enable_amstream
908 enable_api_ms_win_appmodel_identity_l1_1_0
909 enable_api_ms_win_appmodel_runtime_l1_1_1
910 enable_api_ms_win_appmodel_runtime_l1_1_2
911 enable_api_ms_win_core_apiquery_l1_1_0
912 enable_api_ms_win_core_appcompat_l1_1_1
913 enable_api_ms_win_core_appinit_l1_1_0
914 enable_api_ms_win_core_atoms_l1_1_0
915 enable_api_ms_win_core_bem_l1_1_0
916 enable_api_ms_win_core_com_l1_1_0
917 enable_api_ms_win_core_com_l1_1_1
918 enable_api_ms_win_core_com_private_l1_1_0
919 enable_api_ms_win_core_comm_l1_1_0
920 enable_api_ms_win_core_console_l1_1_0
921 enable_api_ms_win_core_console_l2_1_0
922 enable_api_ms_win_core_crt_l1_1_0
923 enable_api_ms_win_core_crt_l2_1_0
924 enable_api_ms_win_core_datetime_l1_1_0
925 enable_api_ms_win_core_datetime_l1_1_1
926 enable_api_ms_win_core_debug_l1_1_0
927 enable_api_ms_win_core_debug_l1_1_1
928 enable_api_ms_win_core_delayload_l1_1_0
929 enable_api_ms_win_core_delayload_l1_1_1
930 enable_api_ms_win_core_errorhandling_l1_1_0
931 enable_api_ms_win_core_errorhandling_l1_1_1
932 enable_api_ms_win_core_errorhandling_l1_1_2
933 enable_api_ms_win_core_errorhandling_l1_1_3
934 enable_api_ms_win_core_fibers_l1_1_0
935 enable_api_ms_win_core_fibers_l1_1_1
936 enable_api_ms_win_core_file_l1_1_0
937 enable_api_ms_win_core_file_l1_2_0
938 enable_api_ms_win_core_file_l1_2_1
939 enable_api_ms_win_core_file_l1_2_2
940 enable_api_ms_win_core_file_l2_1_0
941 enable_api_ms_win_core_file_l2_1_1
942 enable_api_ms_win_core_file_l2_1_2
943 enable_api_ms_win_core_handle_l1_1_0
944 enable_api_ms_win_core_heap_l1_1_0
945 enable_api_ms_win_core_heap_l1_2_0
946 enable_api_ms_win_core_heap_l2_1_0
947 enable_api_ms_win_core_heap_obsolete_l1_1_0
948 enable_api_ms_win_core_interlocked_l1_1_0
949 enable_api_ms_win_core_interlocked_l1_2_0
950 enable_api_ms_win_core_io_l1_1_0
951 enable_api_ms_win_core_io_l1_1_1
952 enable_api_ms_win_core_job_l1_1_0
953 enable_api_ms_win_core_job_l2_1_0
954 enable_api_ms_win_core_kernel32_legacy_l1_1_0
955 enable_api_ms_win_core_kernel32_legacy_l1_1_1
956 enable_api_ms_win_core_kernel32_private_l1_1_1
957 enable_api_ms_win_core_largeinteger_l1_1_0
958 enable_api_ms_win_core_libraryloader_l1_1_0
959 enable_api_ms_win_core_libraryloader_l1_1_1
960 enable_api_ms_win_core_libraryloader_l1_2_0
961 enable_api_ms_win_core_libraryloader_l1_2_1
962 enable_api_ms_win_core_libraryloader_l1_2_2
963 enable_api_ms_win_core_localization_l1_1_0
964 enable_api_ms_win_core_localization_l1_2_0
965 enable_api_ms_win_core_localization_l1_2_1
966 enable_api_ms_win_core_localization_l2_1_0
967 enable_api_ms_win_core_localization_obsolete_l1_1_0
968 enable_api_ms_win_core_localization_obsolete_l1_2_0
969 enable_api_ms_win_core_localization_obsolete_l1_3_0
970 enable_api_ms_win_core_localization_private_l1_1_0
971 enable_api_ms_win_core_localregistry_l1_1_0
972 enable_api_ms_win_core_memory_l1_1_0
973 enable_api_ms_win_core_memory_l1_1_1
974 enable_api_ms_win_core_memory_l1_1_2
975 enable_api_ms_win_core_misc_l1_1_0
976 enable_api_ms_win_core_namedpipe_l1_1_0
977 enable_api_ms_win_core_namedpipe_l1_2_0
978 enable_api_ms_win_core_namespace_l1_1_0
979 enable_api_ms_win_core_normalization_l1_1_0
980 enable_api_ms_win_core_path_l1_1_0
981 enable_api_ms_win_core_privateprofile_l1_1_1
982 enable_api_ms_win_core_processenvironment_l1_1_0
983 enable_api_ms_win_core_processenvironment_l1_2_0
984 enable_api_ms_win_core_processthreads_l1_1_0
985 enable_api_ms_win_core_processthreads_l1_1_1
986 enable_api_ms_win_core_processthreads_l1_1_2
987 enable_api_ms_win_core_processthreads_l1_1_3
988 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
989 enable_api_ms_win_core_profile_l1_1_0
990 enable_api_ms_win_core_psapi_ansi_l1_1_0
991 enable_api_ms_win_core_psapi_l1_1_0
992 enable_api_ms_win_core_psapi_obsolete_l1_1_0
993 enable_api_ms_win_core_quirks_l1_1_0
994 enable_api_ms_win_core_realtime_l1_1_0
995 enable_api_ms_win_core_registry_l1_1_0
996 enable_api_ms_win_core_registry_l2_1_0
997 enable_api_ms_win_core_registryuserspecific_l1_1_0
998 enable_api_ms_win_core_rtlsupport_l1_1_0
999 enable_api_ms_win_core_rtlsupport_l1_2_0
1000 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1001 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1002 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1003 enable_api_ms_win_core_shutdown_l1_1_0
1004 enable_api_ms_win_core_sidebyside_l1_1_0
1005 enable_api_ms_win_core_string_l1_1_0
1006 enable_api_ms_win_core_string_l2_1_0
1007 enable_api_ms_win_core_string_obsolete_l1_1_0
1008 enable_api_ms_win_core_stringansi_l1_1_0
1009 enable_api_ms_win_core_stringloader_l1_1_1
1010 enable_api_ms_win_core_synch_ansi_l1_1_0
1011 enable_api_ms_win_core_synch_l1_1_0
1012 enable_api_ms_win_core_synch_l1_2_0
1013 enable_api_ms_win_core_synch_l1_2_1
1014 enable_api_ms_win_core_sysinfo_l1_1_0
1015 enable_api_ms_win_core_sysinfo_l1_2_0
1016 enable_api_ms_win_core_sysinfo_l1_2_1
1017 enable_api_ms_win_core_threadpool_l1_1_0
1018 enable_api_ms_win_core_threadpool_l1_2_0
1019 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1020 enable_api_ms_win_core_threadpool_private_l1_1_0
1021 enable_api_ms_win_core_timezone_l1_1_0
1022 enable_api_ms_win_core_toolhelp_l1_1_0
1023 enable_api_ms_win_core_url_l1_1_0
1024 enable_api_ms_win_core_util_l1_1_0
1025 enable_api_ms_win_core_version_l1_1_0
1026 enable_api_ms_win_core_version_l1_1_1
1027 enable_api_ms_win_core_version_private_l1_1_0
1028 enable_api_ms_win_core_versionansi_l1_1_0
1029 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1030 enable_api_ms_win_core_winrt_error_l1_1_0
1031 enable_api_ms_win_core_winrt_error_l1_1_1
1032 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1033 enable_api_ms_win_core_winrt_l1_1_0
1034 enable_api_ms_win_core_winrt_registration_l1_1_0
1035 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1036 enable_api_ms_win_core_winrt_string_l1_1_0
1037 enable_api_ms_win_core_winrt_string_l1_1_1
1038 enable_api_ms_win_core_wow64_l1_1_0
1039 enable_api_ms_win_core_wow64_l1_1_1
1040 enable_api_ms_win_core_xstate_l1_1_0
1041 enable_api_ms_win_core_xstate_l2_1_0
1042 enable_api_ms_win_crt_conio_l1_1_0
1043 enable_api_ms_win_crt_convert_l1_1_0
1044 enable_api_ms_win_crt_environment_l1_1_0
1045 enable_api_ms_win_crt_filesystem_l1_1_0
1046 enable_api_ms_win_crt_heap_l1_1_0
1047 enable_api_ms_win_crt_locale_l1_1_0
1048 enable_api_ms_win_crt_math_l1_1_0
1049 enable_api_ms_win_crt_multibyte_l1_1_0
1050 enable_api_ms_win_crt_private_l1_1_0
1051 enable_api_ms_win_crt_process_l1_1_0
1052 enable_api_ms_win_crt_runtime_l1_1_0
1053 enable_api_ms_win_crt_stdio_l1_1_0
1054 enable_api_ms_win_crt_string_l1_1_0
1055 enable_api_ms_win_crt_time_l1_1_0
1056 enable_api_ms_win_crt_utility_l1_1_0
1057 enable_api_ms_win_devices_config_l1_1_0
1058 enable_api_ms_win_devices_config_l1_1_1
1059 enable_api_ms_win_devices_query_l1_1_1
1060 enable_api_ms_win_downlevel_advapi32_l1_1_0
1061 enable_api_ms_win_downlevel_advapi32_l2_1_0
1062 enable_api_ms_win_downlevel_normaliz_l1_1_0
1063 enable_api_ms_win_downlevel_ole32_l1_1_0
1064 enable_api_ms_win_downlevel_shell32_l1_1_0
1065 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1066 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1067 enable_api_ms_win_downlevel_user32_l1_1_0
1068 enable_api_ms_win_downlevel_version_l1_1_0
1069 enable_api_ms_win_dx_d3dkmt_l1_1_0
1070 enable_api_ms_win_eventing_classicprovider_l1_1_0
1071 enable_api_ms_win_eventing_consumer_l1_1_0
1072 enable_api_ms_win_eventing_controller_l1_1_0
1073 enable_api_ms_win_eventing_legacy_l1_1_0
1074 enable_api_ms_win_eventing_provider_l1_1_0
1075 enable_api_ms_win_eventlog_legacy_l1_1_0
1076 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1077 enable_api_ms_win_mm_joystick_l1_1_0
1078 enable_api_ms_win_mm_misc_l1_1_1
1079 enable_api_ms_win_mm_mme_l1_1_0
1080 enable_api_ms_win_mm_time_l1_1_0
1081 enable_api_ms_win_ntuser_dc_access_l1_1_0
1082 enable_api_ms_win_ntuser_rectangle_l1_1_0
1083 enable_api_ms_win_ntuser_sysparams_l1_1_0
1084 enable_api_ms_win_perf_legacy_l1_1_0
1085 enable_api_ms_win_power_base_l1_1_0
1086 enable_api_ms_win_power_setting_l1_1_0
1087 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1090 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1091 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1092 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1093 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1094 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1095 enable_api_ms_win_security_audit_l1_1_1
1096 enable_api_ms_win_security_base_l1_1_0
1097 enable_api_ms_win_security_base_l1_2_0
1098 enable_api_ms_win_security_base_private_l1_1_1
1099 enable_api_ms_win_security_credentials_l1_1_0
1100 enable_api_ms_win_security_cryptoapi_l1_1_0
1101 enable_api_ms_win_security_grouppolicy_l1_1_0
1102 enable_api_ms_win_security_lsalookup_l1_1_0
1103 enable_api_ms_win_security_lsalookup_l1_1_1
1104 enable_api_ms_win_security_lsalookup_l2_1_0
1105 enable_api_ms_win_security_lsalookup_l2_1_1
1106 enable_api_ms_win_security_lsapolicy_l1_1_0
1107 enable_api_ms_win_security_provider_l1_1_0
1108 enable_api_ms_win_security_sddl_l1_1_0
1109 enable_api_ms_win_security_systemfunctions_l1_1_0
1110 enable_api_ms_win_service_core_l1_1_0
1111 enable_api_ms_win_service_core_l1_1_1
1112 enable_api_ms_win_service_management_l1_1_0
1113 enable_api_ms_win_service_management_l2_1_0
1114 enable_api_ms_win_service_private_l1_1_1
1115 enable_api_ms_win_service_winsvc_l1_1_0
1116 enable_api_ms_win_service_winsvc_l1_2_0
1117 enable_api_ms_win_shcore_obsolete_l1_1_0
1118 enable_api_ms_win_shcore_scaling_l1_1_1
1119 enable_api_ms_win_shcore_stream_l1_1_0
1120 enable_api_ms_win_shcore_thread_l1_1_0
1121 enable_api_ms_win_shell_shellcom_l1_1_0
1122 enable_api_ms_win_shell_shellfolders_l1_1_0
1123 enable_apphelp
1124 enable_appwiz_cpl
1125 enable_atl
1126 enable_atl100
1127 enable_atl110
1128 enable_atl80
1129 enable_atl90
1130 enable_atlthunk
1131 enable_atmlib
1132 enable_authz
1133 enable_avicap32
1134 enable_avifil32
1135 enable_avrt
1136 enable_bcrypt
1137 enable_bluetoothapis
1138 enable_browseui
1139 enable_bthprops_cpl
1140 enable_cabinet
1141 enable_capi2032
1142 enable_cards
1143 enable_cdosys
1144 enable_cfgmgr32
1145 enable_clusapi
1146 enable_combase
1147 enable_comcat
1148 enable_comctl32
1149 enable_comdlg32
1150 enable_compstui
1151 enable_comsvcs
1152 enable_concrt140
1153 enable_connect
1154 enable_credui
1155 enable_crtdll
1156 enable_crypt32
1157 enable_cryptdlg
1158 enable_cryptdll
1159 enable_cryptext
1160 enable_cryptnet
1161 enable_cryptui
1162 enable_ctapi32
1163 enable_ctl3d32
1164 enable_d2d1
1165 enable_d3d10
1166 enable_d3d10_1
1167 enable_d3d10core
1168 enable_d3d11
1169 enable_d3d12
1170 enable_d3d8
1171 enable_d3d9
1172 enable_d3dcompiler_33
1173 enable_d3dcompiler_34
1174 enable_d3dcompiler_35
1175 enable_d3dcompiler_36
1176 enable_d3dcompiler_37
1177 enable_d3dcompiler_38
1178 enable_d3dcompiler_39
1179 enable_d3dcompiler_40
1180 enable_d3dcompiler_41
1181 enable_d3dcompiler_42
1182 enable_d3dcompiler_43
1183 enable_d3dcompiler_46
1184 enable_d3dcompiler_47
1185 enable_d3dim
1186 enable_d3drm
1187 enable_d3dx10_33
1188 enable_d3dx10_34
1189 enable_d3dx10_35
1190 enable_d3dx10_36
1191 enable_d3dx10_37
1192 enable_d3dx10_38
1193 enable_d3dx10_39
1194 enable_d3dx10_40
1195 enable_d3dx10_41
1196 enable_d3dx10_42
1197 enable_d3dx10_43
1198 enable_d3dx11_42
1199 enable_d3dx11_43
1200 enable_d3dx9_24
1201 enable_d3dx9_25
1202 enable_d3dx9_26
1203 enable_d3dx9_27
1204 enable_d3dx9_28
1205 enable_d3dx9_29
1206 enable_d3dx9_30
1207 enable_d3dx9_31
1208 enable_d3dx9_32
1209 enable_d3dx9_33
1210 enable_d3dx9_34
1211 enable_d3dx9_35
1212 enable_d3dx9_36
1213 enable_d3dx9_37
1214 enable_d3dx9_38
1215 enable_d3dx9_39
1216 enable_d3dx9_40
1217 enable_d3dx9_41
1218 enable_d3dx9_42
1219 enable_d3dx9_43
1220 enable_d3dxof
1221 enable_davclnt
1222 enable_dbgeng
1223 enable_dbghelp
1224 enable_dciman32
1225 enable_ddraw
1226 enable_ddrawex
1227 enable_devenum
1228 enable_dhcpcsvc
1229 enable_dhtmled_ocx
1230 enable_difxapi
1231 enable_dinput
1232 enable_dinput8
1233 enable_dispex
1234 enable_dmband
1235 enable_dmcompos
1236 enable_dmime
1237 enable_dmloader
1238 enable_dmoguids
1239 enable_dmscript
1240 enable_dmstyle
1241 enable_dmsynth
1242 enable_dmusic
1243 enable_dmusic32
1244 enable_dnsapi
1245 enable_dplay
1246 enable_dplayx
1247 enable_dpnaddr
1248 enable_dpnet
1249 enable_dpnhpast
1250 enable_dpnlobby
1251 enable_dpvoice
1252 enable_dpwsockx
1253 enable_drmclien
1254 enable_dsound
1255 enable_dsquery
1256 enable_dssenh
1257 enable_dswave
1258 enable_dwmapi
1259 enable_dwrite
1260 enable_dx8vb
1261 enable_dxdiagn
1262 enable_dxerr8
1263 enable_dxerr9
1264 enable_dxgi
1265 enable_dxguid
1266 enable_dxva2
1267 enable_esent
1268 enable_evr
1269 enable_explorerframe
1270 enable_ext_ms_win_authz_context_l1_1_0
1271 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1272 enable_ext_ms_win_dwmapi_ext_l1_1_0
1273 enable_ext_ms_win_gdi_dc_create_l1_1_0
1274 enable_ext_ms_win_gdi_dc_create_l1_1_1
1275 enable_ext_ms_win_gdi_dc_l1_2_0
1276 enable_ext_ms_win_gdi_devcaps_l1_1_0
1277 enable_ext_ms_win_gdi_draw_l1_1_0
1278 enable_ext_ms_win_gdi_draw_l1_1_1
1279 enable_ext_ms_win_gdi_font_l1_1_0
1280 enable_ext_ms_win_gdi_font_l1_1_1
1281 enable_ext_ms_win_gdi_render_l1_1_0
1282 enable_ext_ms_win_kernel32_package_current_l1_1_0
1283 enable_ext_ms_win_kernel32_package_l1_1_1
1284 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1285 enable_ext_ms_win_ntuser_draw_l1_1_0
1286 enable_ext_ms_win_ntuser_gui_l1_1_0
1287 enable_ext_ms_win_ntuser_gui_l1_3_0
1288 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1289 enable_ext_ms_win_ntuser_message_l1_1_0
1290 enable_ext_ms_win_ntuser_message_l1_1_1
1291 enable_ext_ms_win_ntuser_misc_l1_1_0
1292 enable_ext_ms_win_ntuser_misc_l1_2_0
1293 enable_ext_ms_win_ntuser_misc_l1_5_1
1294 enable_ext_ms_win_ntuser_mouse_l1_1_0
1295 enable_ext_ms_win_ntuser_private_l1_1_1
1296 enable_ext_ms_win_ntuser_private_l1_3_1
1297 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1298 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1299 enable_ext_ms_win_ntuser_window_l1_1_0
1300 enable_ext_ms_win_ntuser_window_l1_1_1
1301 enable_ext_ms_win_ntuser_window_l1_1_4
1302 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1303 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1304 enable_ext_ms_win_oleacc_l1_1_0
1305 enable_ext_ms_win_ras_rasapi32_l1_1_0
1306 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1307 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1308 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1309 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1310 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1312 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1313 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1314 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1315 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1316 enable_ext_ms_win_security_credui_l1_1_0
1317 enable_ext_ms_win_security_cryptui_l1_1_0
1318 enable_ext_ms_win_uxtheme_themes_l1_1_0
1319 enable_faultrep
1320 enable_feclient
1321 enable_fltlib
1322 enable_fltmgr_sys
1323 enable_fntcache
1324 enable_fontsub
1325 enable_fusion
1326 enable_fwpuclnt
1327 enable_gameux
1328 enable_gdi32
1329 enable_gdiplus
1330 enable_glu32
1331 enable_gphoto2_ds
1332 enable_gpkcsp
1333 enable_hal
1334 enable_hhctrl_ocx
1335 enable_hid
1336 enable_hidclass_sys
1337 enable_hlink
1338 enable_hnetcfg
1339 enable_httpapi
1340 enable_iccvid
1341 enable_icmp
1342 enable_ieframe
1343 enable_ieproxy
1344 enable_imaadp32_acm
1345 enable_imagehlp
1346 enable_imm32
1347 enable_inetcomm
1348 enable_inetcpl_cpl
1349 enable_inetmib1
1350 enable_infosoft
1351 enable_initpki
1352 enable_inkobj
1353 enable_inseng
1354 enable_iphlpapi
1355 enable_iprop
1356 enable_irprops_cpl
1357 enable_itircl
1358 enable_itss
1359 enable_joy_cpl
1360 enable_jscript
1361 enable_jsproxy
1362 enable_kerberos
1363 enable_kernel32
1364 enable_kernelbase
1365 enable_ksecdd_sys
1366 enable_ksuser
1367 enable_ktmw32
1368 enable_l3codeca_acm
1369 enable_loadperf
1370 enable_localspl
1371 enable_localui
1372 enable_lz32
1373 enable_mapi32
1374 enable_mapistub
1375 enable_mciavi32
1376 enable_mcicda
1377 enable_mciqtz32
1378 enable_mciseq
1379 enable_mciwave
1380 enable_mf
1381 enable_mf3216
1382 enable_mferror
1383 enable_mfplat
1384 enable_mfplay
1385 enable_mfreadwrite
1386 enable_mfuuid
1387 enable_mgmtapi
1388 enable_midimap
1389 enable_mlang
1390 enable_mmcndmgr
1391 enable_mmdevapi
1392 enable_mountmgr_sys
1393 enable_mp3dmod
1394 enable_mpr
1395 enable_mprapi
1396 enable_msacm32_drv
1397 enable_msacm32
1398 enable_msadp32_acm
1399 enable_msasn1
1400 enable_mscat32
1401 enable_mscms
1402 enable_mscoree
1403 enable_msctf
1404 enable_msctfp
1405 enable_msdaps
1406 enable_msdelta
1407 enable_msdmo
1408 enable_msdrm
1409 enable_msftedit
1410 enable_msg711_acm
1411 enable_msgsm32_acm
1412 enable_mshtml_tlb
1413 enable_mshtml
1414 enable_msi
1415 enable_msident
1416 enable_msimg32
1417 enable_msimsg
1418 enable_msimtf
1419 enable_msisip
1420 enable_msisys_ocx
1421 enable_msls31
1422 enable_msnet32
1423 enable_mspatcha
1424 enable_msports
1425 enable_msrle32
1426 enable_msscript_ocx
1427 enable_mssign32
1428 enable_mssip32
1429 enable_mstask
1430 enable_msvcirt
1431 enable_msvcm80
1432 enable_msvcm90
1433 enable_msvcp100
1434 enable_msvcp110
1435 enable_msvcp120
1436 enable_msvcp120_app
1437 enable_msvcp140
1438 enable_msvcp60
1439 enable_msvcp70
1440 enable_msvcp71
1441 enable_msvcp80
1442 enable_msvcp90
1443 enable_msvcr100
1444 enable_msvcr110
1445 enable_msvcr120
1446 enable_msvcr120_app
1447 enable_msvcr70
1448 enable_msvcr71
1449 enable_msvcr80
1450 enable_msvcr90
1451 enable_msvcrt
1452 enable_msvcrt20
1453 enable_msvcrt40
1454 enable_msvcrtd
1455 enable_msvfw32
1456 enable_msvidc32
1457 enable_mswsock
1458 enable_msxml
1459 enable_msxml2
1460 enable_msxml3
1461 enable_msxml4
1462 enable_msxml6
1463 enable_mtxdm
1464 enable_ncrypt
1465 enable_nddeapi
1466 enable_ndis_sys
1467 enable_netapi32
1468 enable_netcfgx
1469 enable_netprofm
1470 enable_newdev
1471 enable_ninput
1472 enable_normaliz
1473 enable_npmshtml
1474 enable_npptools
1475 enable_ntdll
1476 enable_ntdsapi
1477 enable_ntoskrnl_exe
1478 enable_ntprint
1479 enable_objsel
1480 enable_odbc32
1481 enable_odbccp32
1482 enable_odbccu32
1483 enable_ole32
1484 enable_oleacc
1485 enable_oleaut32
1486 enable_olecli32
1487 enable_oledb32
1488 enable_oledlg
1489 enable_olepro32
1490 enable_olesvr32
1491 enable_olethk32
1492 enable_opcservices
1493 enable_openal32
1494 enable_opencl
1495 enable_opengl32
1496 enable_packager
1497 enable_pdh
1498 enable_photometadatahandler
1499 enable_pidgen
1500 enable_powrprof
1501 enable_printui
1502 enable_prntvpt
1503 enable_propsys
1504 enable_psapi
1505 enable_pstorec
1506 enable_qcap
1507 enable_qedit
1508 enable_qmgr
1509 enable_qmgrprxy
1510 enable_quartz
1511 enable_query
1512 enable_qwave
1513 enable_rasapi32
1514 enable_rasdlg
1515 enable_regapi
1516 enable_resutils
1517 enable_riched20
1518 enable_riched32
1519 enable_rpcrt4
1520 enable_rsabase
1521 enable_rsaenh
1522 enable_rstrtmgr
1523 enable_rtutils
1524 enable_samlib
1525 enable_sane_ds
1526 enable_sapi
1527 enable_sas
1528 enable_scarddlg
1529 enable_sccbase
1530 enable_schannel
1531 enable_schedsvc
1532 enable_scrobj
1533 enable_scrrun
1534 enable_scsiport_sys
1535 enable_secur32
1536 enable_security
1537 enable_sensapi
1538 enable_serialui
1539 enable_setupapi
1540 enable_sfc
1541 enable_sfc_os
1542 enable_shcore
1543 enable_shdoclc
1544 enable_shdocvw
1545 enable_shell32
1546 enable_shfolder
1547 enable_shlwapi
1548 enable_slbcsp
1549 enable_slc
1550 enable_snmpapi
1551 enable_softpub
1552 enable_spoolss
1553 enable_srclient
1554 enable_sspicli
1555 enable_stdole2_tlb
1556 enable_stdole32_tlb
1557 enable_sti
1558 enable_strmbase
1559 enable_strmdll
1560 enable_strmiids
1561 enable_svrapi
1562 enable_sxs
1563 enable_t2embed
1564 enable_tapi32
1565 enable_taskschd
1566 enable_tdh
1567 enable_tdi_sys
1568 enable_traffic
1569 enable_twain_32
1570 enable_tzres
1571 enable_ucrtbase
1572 enable_uianimation
1573 enable_uiautomationcore
1574 enable_uiribbon
1575 enable_unicows
1576 enable_updspapi
1577 enable_url
1578 enable_urlmon
1579 enable_usbd_sys
1580 enable_user32
1581 enable_userenv
1582 enable_usp10
1583 enable_uuid
1584 enable_uxtheme
1585 enable_vbscript
1586 enable_vcomp
1587 enable_vcomp100
1588 enable_vcomp110
1589 enable_vcomp120
1590 enable_vcomp140
1591 enable_vcomp90
1592 enable_vcruntime140
1593 enable_vdmdbg
1594 enable_version
1595 enable_virtdisk
1596 enable_vssapi
1597 enable_vulkan_1
1598 enable_wbemdisp
1599 enable_wbemprox
1600 enable_wdscore
1601 enable_webservices
1602 enable_wer
1603 enable_wevtapi
1604 enable_wiaservc
1605 enable_wimgapi
1606 enable_windowscodecs
1607 enable_windowscodecsext
1608 enable_winealsa_drv
1609 enable_wineandroid_drv
1610 enable_winebus_sys
1611 enable_winecoreaudio_drv
1612 enable_winecrt0
1613 enable_wined3d
1614 enable_winegstreamer
1615 enable_winehid_sys
1616 enable_winejoystick_drv
1617 enable_winemac_drv
1618 enable_winemapi
1619 enable_wineoss_drv
1620 enable_wineps_drv
1621 enable_winepulse_drv
1622 enable_wineqtdecoder
1623 enable_winevulkan
1624 enable_winex11_drv
1625 enable_wing32
1626 enable_winhttp
1627 enable_wininet
1628 enable_winmm
1629 enable_winnls32
1630 enable_winscard
1631 enable_winspool_drv
1632 enable_winsta
1633 enable_wintab32
1634 enable_wintrust
1635 enable_winusb
1636 enable_wlanapi
1637 enable_wldap32
1638 enable_wmasf
1639 enable_wmcodecdspuuid
1640 enable_wmi
1641 enable_wmiutils
1642 enable_wmp
1643 enable_wmphoto
1644 enable_wmvcore
1645 enable_wnaspi32
1646 enable_wpc
1647 enable_wpcap
1648 enable_ws2_32
1649 enable_wsdapi
1650 enable_wshom_ocx
1651 enable_wsnmp32
1652 enable_wsock32
1653 enable_wtsapi32
1654 enable_wuapi
1655 enable_wuaueng
1656 enable_x3daudio1_0
1657 enable_x3daudio1_1
1658 enable_x3daudio1_2
1659 enable_x3daudio1_3
1660 enable_x3daudio1_4
1661 enable_x3daudio1_5
1662 enable_x3daudio1_6
1663 enable_x3daudio1_7
1664 enable_xapofx1_1
1665 enable_xapofx1_2
1666 enable_xapofx1_3
1667 enable_xapofx1_4
1668 enable_xapofx1_5
1669 enable_xaudio2_0
1670 enable_xaudio2_1
1671 enable_xaudio2_2
1672 enable_xaudio2_3
1673 enable_xaudio2_4
1674 enable_xaudio2_5
1675 enable_xaudio2_6
1676 enable_xaudio2_7
1677 enable_xaudio2_8
1678 enable_xaudio2_9
1679 enable_xinput1_1
1680 enable_xinput1_2
1681 enable_xinput1_3
1682 enable_xinput1_4
1683 enable_xinput9_1_0
1684 enable_xmllite
1685 enable_xolehlp
1686 enable_xpsprint
1687 enable_xpssvcs
1688 enable_fonts
1689 enable_include
1690 enable_port
1691 enable_wine
1692 enable_wpp
1693 enable_loader
1694 enable_po
1695 enable_arp
1696 enable_aspnet_regiis
1697 enable_attrib
1698 enable_cabarc
1699 enable_cacls
1700 enable_clock
1701 enable_cmd
1702 enable_conhost
1703 enable_control
1704 enable_cscript
1705 enable_dism
1706 enable_dpnsvr
1707 enable_dxdiag
1708 enable_eject
1709 enable_expand
1710 enable_explorer
1711 enable_extrac32
1712 enable_fc
1713 enable_find
1714 enable_findstr
1715 enable_fsutil
1716 enable_hh
1717 enable_hostname
1718 enable_icacls
1719 enable_icinfo
1720 enable_iexplore
1721 enable_ipconfig
1722 enable_lodctr
1723 enable_mofcomp
1724 enable_mshta
1725 enable_msidb
1726 enable_msiexec
1727 enable_msinfo32
1728 enable_net
1729 enable_netsh
1730 enable_netstat
1731 enable_ngen
1732 enable_notepad
1733 enable_oleview
1734 enable_ping
1735 enable_plugplay
1736 enable_powershell
1737 enable_presentationfontcache
1738 enable_progman
1739 enable_reg
1740 enable_regasm
1741 enable_regedit
1742 enable_regsvcs
1743 enable_regsvr32
1744 enable_rpcss
1745 enable_rundll32
1746 enable_sc
1747 enable_schtasks
1748 enable_sdbinst
1749 enable_secedit
1750 enable_servicemodelreg
1751 enable_services
1752 enable_shutdown
1753 enable_spoolsv
1754 enable_start
1755 enable_subst
1756 enable_svchost
1757 enable_systeminfo
1758 enable_taskkill
1759 enable_tasklist
1760 enable_taskmgr
1761 enable_termsv
1762 enable_uninstaller
1763 enable_unlodctr
1764 enable_view
1765 enable_wevtutil
1766 enable_wineboot
1767 enable_winebrowser
1768 enable_winecfg
1769 enable_wineconsole
1770 enable_winedbg
1771 enable_winedevice
1772 enable_winefile
1773 enable_winemenubuilder
1774 enable_winemine
1775 enable_winemsibuilder
1776 enable_winepath
1777 enable_winetest
1778 enable_winhlp32
1779 enable_winmgmt
1780 enable_winver
1781 enable_wmic
1782 enable_wmplayer
1783 enable_wordpad
1784 enable_write
1785 enable_wscript
1786 enable_wusa
1787 enable_xcopy
1788 enable_server
1789 enable_tools
1790 enable_sfnt2fon
1791 enable_widl
1792 enable_winebuild
1793 enable_winedump
1794 enable_winegcc
1795 enable_winemaker
1796 enable_wmc
1797 enable_wrc
1799 ac_precious_vars='build_alias
1800 host_alias
1801 target_alias
1803 CFLAGS
1804 LDFLAGS
1805 LIBS
1806 CPPFLAGS
1808 CXXFLAGS
1811 OBJC
1812 OBJCFLAGS
1813 OBJCPP
1814 XMKMF
1815 XML2_CFLAGS
1816 XML2_LIBS
1817 XSLT_CFLAGS
1818 XSLT_LIBS
1819 INOTIFY_CFLAGS
1820 INOTIFY_LIBS
1821 DBUS_CFLAGS
1822 DBUS_LIBS
1823 HAL_CFLAGS
1824 HAL_LIBS
1825 GNUTLS_CFLAGS
1826 GNUTLS_LIBS
1827 SANE_CFLAGS
1828 SANE_LIBS
1829 GPHOTO2_CFLAGS
1830 GPHOTO2_LIBS
1831 GPHOTO2_PORT_CFLAGS
1832 GPHOTO2_PORT_LIBS
1833 LCMS2_CFLAGS
1834 LCMS2_LIBS
1835 FREETYPE_CFLAGS
1836 FREETYPE_LIBS
1837 PULSE_CFLAGS
1838 PULSE_LIBS
1839 GSTREAMER_CFLAGS
1840 GSTREAMER_LIBS
1841 UDEV_CFLAGS
1842 UDEV_LIBS
1843 SDL2_CFLAGS
1844 SDL2_LIBS
1845 FAUDIO_CFLAGS
1846 FAUDIO_LIBS
1847 CAPI20_CFLAGS
1848 CAPI20_LIBS
1849 CUPS_CFLAGS
1850 CUPS_LIBS
1851 FONTCONFIG_CFLAGS
1852 FONTCONFIG_LIBS
1853 KRB5_CFLAGS
1854 KRB5_LIBS
1855 GSSAPI_CFLAGS
1856 GSSAPI_LIBS
1857 JPEG_CFLAGS
1858 JPEG_LIBS
1859 PNG_CFLAGS
1860 PNG_LIBS
1861 TIFF_CFLAGS
1862 TIFF_LIBS
1863 MPG123_CFLAGS
1864 MPG123_LIBS
1865 NETAPI_CFLAGS
1866 NETAPI_LIBS
1867 VKD3D_CFLAGS
1868 VKD3D_LIBS
1869 LDAP_CFLAGS
1870 LDAP_LIBS'
1873 # Initialize some variables set by options.
1874 ac_init_help=
1875 ac_init_version=false
1876 ac_unrecognized_opts=
1877 ac_unrecognized_sep=
1878 # The variables have the same names as the options, with
1879 # dashes changed to underlines.
1880 cache_file=/dev/null
1881 exec_prefix=NONE
1882 no_create=
1883 no_recursion=
1884 prefix=NONE
1885 program_prefix=NONE
1886 program_suffix=NONE
1887 program_transform_name=s,x,x,
1888 silent=
1889 site=
1890 srcdir=
1891 verbose=
1892 x_includes=NONE
1893 x_libraries=NONE
1895 # Installation directory options.
1896 # These are left unexpanded so users can "make install exec_prefix=/foo"
1897 # and all the variables that are supposed to be based on exec_prefix
1898 # by default will actually change.
1899 # Use braces instead of parens because sh, perl, etc. also accept them.
1900 # (The list follows the same order as the GNU Coding Standards.)
1901 bindir='${exec_prefix}/bin'
1902 sbindir='${exec_prefix}/sbin'
1903 libexecdir='${exec_prefix}/libexec'
1904 datarootdir='${prefix}/share'
1905 datadir='${datarootdir}'
1906 sysconfdir='${prefix}/etc'
1907 sharedstatedir='${prefix}/com'
1908 localstatedir='${prefix}/var'
1909 runstatedir='${localstatedir}/run'
1910 includedir='${prefix}/include'
1911 oldincludedir='/usr/include'
1912 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1913 infodir='${datarootdir}/info'
1914 htmldir='${docdir}'
1915 dvidir='${docdir}'
1916 pdfdir='${docdir}'
1917 psdir='${docdir}'
1918 libdir='${exec_prefix}/lib'
1919 localedir='${datarootdir}/locale'
1920 mandir='${datarootdir}/man'
1922 ac_prev=
1923 ac_dashdash=
1924 for ac_option
1926 # If the previous option needs an argument, assign it.
1927 if test -n "$ac_prev"; then
1928 eval $ac_prev=\$ac_option
1929 ac_prev=
1930 continue
1933 case $ac_option in
1934 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1935 *=) ac_optarg= ;;
1936 *) ac_optarg=yes ;;
1937 esac
1939 # Accept the important Cygnus configure options, so we can diagnose typos.
1941 case $ac_dashdash$ac_option in
1943 ac_dashdash=yes ;;
1945 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1946 ac_prev=bindir ;;
1947 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1948 bindir=$ac_optarg ;;
1950 -build | --build | --buil | --bui | --bu)
1951 ac_prev=build_alias ;;
1952 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1953 build_alias=$ac_optarg ;;
1955 -cache-file | --cache-file | --cache-fil | --cache-fi \
1956 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1957 ac_prev=cache_file ;;
1958 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1959 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1960 cache_file=$ac_optarg ;;
1962 --config-cache | -C)
1963 cache_file=config.cache ;;
1965 -datadir | --datadir | --datadi | --datad)
1966 ac_prev=datadir ;;
1967 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1968 datadir=$ac_optarg ;;
1970 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1971 | --dataroo | --dataro | --datar)
1972 ac_prev=datarootdir ;;
1973 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1974 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1975 datarootdir=$ac_optarg ;;
1977 -disable-* | --disable-*)
1978 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1979 # Reject names that are not valid shell variable names.
1980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1981 as_fn_error $? "invalid feature name: $ac_useropt"
1982 ac_useropt_orig=$ac_useropt
1983 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1984 case $ac_user_opts in
1986 "enable_$ac_useropt"
1987 "*) ;;
1988 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1989 ac_unrecognized_sep=', ';;
1990 esac
1991 eval enable_$ac_useropt=no ;;
1993 -docdir | --docdir | --docdi | --doc | --do)
1994 ac_prev=docdir ;;
1995 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1996 docdir=$ac_optarg ;;
1998 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1999 ac_prev=dvidir ;;
2000 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2001 dvidir=$ac_optarg ;;
2003 -enable-* | --enable-*)
2004 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2005 # Reject names that are not valid shell variable names.
2006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2007 as_fn_error $? "invalid feature name: $ac_useropt"
2008 ac_useropt_orig=$ac_useropt
2009 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2010 case $ac_user_opts in
2012 "enable_$ac_useropt"
2013 "*) ;;
2014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2015 ac_unrecognized_sep=', ';;
2016 esac
2017 eval enable_$ac_useropt=\$ac_optarg ;;
2019 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2020 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2021 | --exec | --exe | --ex)
2022 ac_prev=exec_prefix ;;
2023 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2024 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2025 | --exec=* | --exe=* | --ex=*)
2026 exec_prefix=$ac_optarg ;;
2028 -gas | --gas | --ga | --g)
2029 # Obsolete; use --with-gas.
2030 with_gas=yes ;;
2032 -help | --help | --hel | --he | -h)
2033 ac_init_help=long ;;
2034 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2035 ac_init_help=recursive ;;
2036 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2037 ac_init_help=short ;;
2039 -host | --host | --hos | --ho)
2040 ac_prev=host_alias ;;
2041 -host=* | --host=* | --hos=* | --ho=*)
2042 host_alias=$ac_optarg ;;
2044 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2045 ac_prev=htmldir ;;
2046 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2047 | --ht=*)
2048 htmldir=$ac_optarg ;;
2050 -includedir | --includedir | --includedi | --included | --include \
2051 | --includ | --inclu | --incl | --inc)
2052 ac_prev=includedir ;;
2053 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2054 | --includ=* | --inclu=* | --incl=* | --inc=*)
2055 includedir=$ac_optarg ;;
2057 -infodir | --infodir | --infodi | --infod | --info | --inf)
2058 ac_prev=infodir ;;
2059 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2060 infodir=$ac_optarg ;;
2062 -libdir | --libdir | --libdi | --libd)
2063 ac_prev=libdir ;;
2064 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2065 libdir=$ac_optarg ;;
2067 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2068 | --libexe | --libex | --libe)
2069 ac_prev=libexecdir ;;
2070 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2071 | --libexe=* | --libex=* | --libe=*)
2072 libexecdir=$ac_optarg ;;
2074 -localedir | --localedir | --localedi | --localed | --locale)
2075 ac_prev=localedir ;;
2076 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2077 localedir=$ac_optarg ;;
2079 -localstatedir | --localstatedir | --localstatedi | --localstated \
2080 | --localstate | --localstat | --localsta | --localst | --locals)
2081 ac_prev=localstatedir ;;
2082 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2083 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2084 localstatedir=$ac_optarg ;;
2086 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2087 ac_prev=mandir ;;
2088 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2089 mandir=$ac_optarg ;;
2091 -nfp | --nfp | --nf)
2092 # Obsolete; use --without-fp.
2093 with_fp=no ;;
2095 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2096 | --no-cr | --no-c | -n)
2097 no_create=yes ;;
2099 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2100 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2101 no_recursion=yes ;;
2103 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2104 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2105 | --oldin | --oldi | --old | --ol | --o)
2106 ac_prev=oldincludedir ;;
2107 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2108 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2109 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2110 oldincludedir=$ac_optarg ;;
2112 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2113 ac_prev=prefix ;;
2114 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2115 prefix=$ac_optarg ;;
2117 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2118 | --program-pre | --program-pr | --program-p)
2119 ac_prev=program_prefix ;;
2120 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2121 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2122 program_prefix=$ac_optarg ;;
2124 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2125 | --program-suf | --program-su | --program-s)
2126 ac_prev=program_suffix ;;
2127 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2128 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2129 program_suffix=$ac_optarg ;;
2131 -program-transform-name | --program-transform-name \
2132 | --program-transform-nam | --program-transform-na \
2133 | --program-transform-n | --program-transform- \
2134 | --program-transform | --program-transfor \
2135 | --program-transfo | --program-transf \
2136 | --program-trans | --program-tran \
2137 | --progr-tra | --program-tr | --program-t)
2138 ac_prev=program_transform_name ;;
2139 -program-transform-name=* | --program-transform-name=* \
2140 | --program-transform-nam=* | --program-transform-na=* \
2141 | --program-transform-n=* | --program-transform-=* \
2142 | --program-transform=* | --program-transfor=* \
2143 | --program-transfo=* | --program-transf=* \
2144 | --program-trans=* | --program-tran=* \
2145 | --progr-tra=* | --program-tr=* | --program-t=*)
2146 program_transform_name=$ac_optarg ;;
2148 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2149 ac_prev=pdfdir ;;
2150 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2151 pdfdir=$ac_optarg ;;
2153 -psdir | --psdir | --psdi | --psd | --ps)
2154 ac_prev=psdir ;;
2155 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2156 psdir=$ac_optarg ;;
2158 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2159 | -silent | --silent | --silen | --sile | --sil)
2160 silent=yes ;;
2162 -runstatedir | --runstatedir | --runstatedi | --runstated \
2163 | --runstate | --runstat | --runsta | --runst | --runs \
2164 | --run | --ru | --r)
2165 ac_prev=runstatedir ;;
2166 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2167 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2168 | --run=* | --ru=* | --r=*)
2169 runstatedir=$ac_optarg ;;
2171 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2172 ac_prev=sbindir ;;
2173 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2174 | --sbi=* | --sb=*)
2175 sbindir=$ac_optarg ;;
2177 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2178 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2179 | --sharedst | --shareds | --shared | --share | --shar \
2180 | --sha | --sh)
2181 ac_prev=sharedstatedir ;;
2182 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2183 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2184 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2185 | --sha=* | --sh=*)
2186 sharedstatedir=$ac_optarg ;;
2188 -site | --site | --sit)
2189 ac_prev=site ;;
2190 -site=* | --site=* | --sit=*)
2191 site=$ac_optarg ;;
2193 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2194 ac_prev=srcdir ;;
2195 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2196 srcdir=$ac_optarg ;;
2198 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2199 | --syscon | --sysco | --sysc | --sys | --sy)
2200 ac_prev=sysconfdir ;;
2201 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2202 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2203 sysconfdir=$ac_optarg ;;
2205 -target | --target | --targe | --targ | --tar | --ta | --t)
2206 ac_prev=target_alias ;;
2207 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2208 target_alias=$ac_optarg ;;
2210 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2211 verbose=yes ;;
2213 -version | --version | --versio | --versi | --vers | -V)
2214 ac_init_version=: ;;
2216 -with-* | --with-*)
2217 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2218 # Reject names that are not valid shell variable names.
2219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2220 as_fn_error $? "invalid package name: $ac_useropt"
2221 ac_useropt_orig=$ac_useropt
2222 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2223 case $ac_user_opts in
2225 "with_$ac_useropt"
2226 "*) ;;
2227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2228 ac_unrecognized_sep=', ';;
2229 esac
2230 eval with_$ac_useropt=\$ac_optarg ;;
2232 -without-* | --without-*)
2233 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2234 # Reject names that are not valid shell variable names.
2235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2236 as_fn_error $? "invalid package name: $ac_useropt"
2237 ac_useropt_orig=$ac_useropt
2238 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2239 case $ac_user_opts in
2241 "with_$ac_useropt"
2242 "*) ;;
2243 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2244 ac_unrecognized_sep=', ';;
2245 esac
2246 eval with_$ac_useropt=no ;;
2248 --x)
2249 # Obsolete; use --with-x.
2250 with_x=yes ;;
2252 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2253 | --x-incl | --x-inc | --x-in | --x-i)
2254 ac_prev=x_includes ;;
2255 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2256 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2257 x_includes=$ac_optarg ;;
2259 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2260 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2261 ac_prev=x_libraries ;;
2262 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2263 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2264 x_libraries=$ac_optarg ;;
2266 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2267 Try \`$0 --help' for more information"
2270 *=*)
2271 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2272 # Reject names that are not valid shell variable names.
2273 case $ac_envvar in #(
2274 '' | [0-9]* | *[!_$as_cr_alnum]* )
2275 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2276 esac
2277 eval $ac_envvar=\$ac_optarg
2278 export $ac_envvar ;;
2281 # FIXME: should be removed in autoconf 3.0.
2282 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2283 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2284 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2285 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2288 esac
2289 done
2291 if test -n "$ac_prev"; then
2292 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2293 as_fn_error $? "missing argument to $ac_option"
2296 if test -n "$ac_unrecognized_opts"; then
2297 case $enable_option_checking in
2298 no) ;;
2299 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2300 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2301 esac
2304 # Check all directory arguments for consistency.
2305 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2306 datadir sysconfdir sharedstatedir localstatedir includedir \
2307 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2308 libdir localedir mandir runstatedir
2310 eval ac_val=\$$ac_var
2311 # Remove trailing slashes.
2312 case $ac_val in
2313 */ )
2314 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2315 eval $ac_var=\$ac_val;;
2316 esac
2317 # Be sure to have absolute directory names.
2318 case $ac_val in
2319 [\\/$]* | ?:[\\/]* ) continue;;
2320 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2321 esac
2322 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2323 done
2325 # There might be people who depend on the old broken behavior: `$host'
2326 # used to hold the argument of --host etc.
2327 # FIXME: To remove some day.
2328 build=$build_alias
2329 host=$host_alias
2330 target=$target_alias
2332 # FIXME: To remove some day.
2333 if test "x$host_alias" != x; then
2334 if test "x$build_alias" = x; then
2335 cross_compiling=maybe
2336 elif test "x$build_alias" != "x$host_alias"; then
2337 cross_compiling=yes
2341 ac_tool_prefix=
2342 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2344 test "$silent" = yes && exec 6>/dev/null
2347 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2348 ac_ls_di=`ls -di .` &&
2349 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2350 as_fn_error $? "working directory cannot be determined"
2351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2352 as_fn_error $? "pwd does not report name of working directory"
2355 # Find the source files, if location was not specified.
2356 if test -z "$srcdir"; then
2357 ac_srcdir_defaulted=yes
2358 # Try the directory containing this script, then the parent directory.
2359 ac_confdir=`$as_dirname -- "$as_myself" ||
2360 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2361 X"$as_myself" : 'X\(//\)[^/]' \| \
2362 X"$as_myself" : 'X\(//\)$' \| \
2363 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2364 $as_echo X"$as_myself" |
2365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2366 s//\1/
2369 /^X\(\/\/\)[^/].*/{
2370 s//\1/
2373 /^X\(\/\/\)$/{
2374 s//\1/
2377 /^X\(\/\).*/{
2378 s//\1/
2381 s/.*/./; q'`
2382 srcdir=$ac_confdir
2383 if test ! -r "$srcdir/$ac_unique_file"; then
2384 srcdir=..
2386 else
2387 ac_srcdir_defaulted=no
2389 if test ! -r "$srcdir/$ac_unique_file"; then
2390 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2391 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2393 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2394 ac_abs_confdir=`(
2395 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2396 pwd)`
2397 # When building in place, set srcdir=.
2398 if test "$ac_abs_confdir" = "$ac_pwd"; then
2399 srcdir=.
2401 # Remove unnecessary trailing slashes from srcdir.
2402 # Double slashes in file names in object file debugging info
2403 # mess up M-x gdb in Emacs.
2404 case $srcdir in
2405 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2406 esac
2407 for ac_var in $ac_precious_vars; do
2408 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2409 eval ac_env_${ac_var}_value=\$${ac_var}
2410 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2411 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2412 done
2415 # Report the --help message.
2417 if test "$ac_init_help" = "long"; then
2418 # Omit some internal or obsolete options to make the list less imposing.
2419 # This message is too long to be a string in the A/UX 3.1 sh.
2420 cat <<_ACEOF
2421 \`configure' configures Wine 4.6 to adapt to many kinds of systems.
2423 Usage: $0 [OPTION]... [VAR=VALUE]...
2425 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2426 VAR=VALUE. See below for descriptions of some of the useful variables.
2428 Defaults for the options are specified in brackets.
2430 Configuration:
2431 -h, --help display this help and exit
2432 --help=short display options specific to this package
2433 --help=recursive display the short help of all the included packages
2434 -V, --version display version information and exit
2435 -q, --quiet, --silent do not print \`checking ...' messages
2436 --cache-file=FILE cache test results in FILE [disabled]
2437 -C, --config-cache alias for \`--cache-file=config.cache'
2438 -n, --no-create do not create output files
2439 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2441 Installation directories:
2442 --prefix=PREFIX install architecture-independent files in PREFIX
2443 [$ac_default_prefix]
2444 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2445 [PREFIX]
2447 By default, \`make install' will install all the files in
2448 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2449 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2450 for instance \`--prefix=\$HOME'.
2452 For better control, use the options below.
2454 Fine tuning of the installation directories:
2455 --bindir=DIR user executables [EPREFIX/bin]
2456 --sbindir=DIR system admin executables [EPREFIX/sbin]
2457 --libexecdir=DIR program executables [EPREFIX/libexec]
2458 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2459 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2460 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2461 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2462 --libdir=DIR object code libraries [EPREFIX/lib]
2463 --includedir=DIR C header files [PREFIX/include]
2464 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2465 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2466 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2467 --infodir=DIR info documentation [DATAROOTDIR/info]
2468 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2469 --mandir=DIR man documentation [DATAROOTDIR/man]
2470 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2471 --htmldir=DIR html documentation [DOCDIR]
2472 --dvidir=DIR dvi documentation [DOCDIR]
2473 --pdfdir=DIR pdf documentation [DOCDIR]
2474 --psdir=DIR ps documentation [DOCDIR]
2475 _ACEOF
2477 cat <<\_ACEOF
2479 X features:
2480 --x-includes=DIR X include files are in DIR
2481 --x-libraries=DIR X library files are in DIR
2483 System types:
2484 --build=BUILD configure for building on BUILD [guessed]
2485 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2486 _ACEOF
2489 if test -n "$ac_init_help"; then
2490 case $ac_init_help in
2491 short | recursive ) echo "Configuration of Wine 4.6:";;
2492 esac
2493 cat <<\_ACEOF
2495 Optional Features:
2496 --disable-option-checking ignore unrecognized --enable/--with options
2497 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2498 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2499 --disable-win16 do not include Win16 support
2500 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2501 binaries)
2502 --disable-tests do not build the regression tests
2503 --enable-maintainer-mode
2504 enable maintainer-specific build rules
2505 --disable-largefile omit support for large files
2507 Optional Packages:
2508 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2509 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2510 --without-alsa do not use the Alsa sound support
2511 --without-capi do not use CAPI (ISDN support)
2512 --without-cms do not use CMS (color management support)
2513 --without-coreaudio do not use the CoreAudio sound support
2514 --without-cups do not use CUPS
2515 --without-curses do not use (n)curses
2516 --without-dbus do not use DBus (dynamic device support)
2517 --without-faudio do not use FAudio (XAudio2 support)
2518 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2519 --without-fontconfig do not use fontconfig
2520 --without-freetype do not use the FreeType library
2521 --without-gettext do not use gettext
2522 --with-gettextpo use the GetTextPO library to rebuild po files
2523 --without-gphoto do not use gphoto (Digital Camera support)
2524 --without-glu do not use the GLU library
2525 --without-gnutls do not use GnuTLS (schannel support)
2526 --without-gsm do not use libgsm (GSM 06.10 codec support)
2527 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2528 --without-gstreamer do not use GStreamer (codecs support)
2529 --without-hal do not use HAL (dynamic device support)
2530 --without-inotify do not use inotify (filesystem change notifications)
2531 --without-jpeg do not use JPEG
2532 --without-krb5 do not use krb5 (Kerberos)
2533 --without-ldap do not use LDAP
2534 --without-mingw do not use the MinGW cross-compiler
2535 --without-mpg123 do not use the mpg123 library
2536 --without-netapi do not use the Samba NetAPI library
2537 --without-openal do not use OpenAL
2538 --without-opencl do not use OpenCL
2539 --without-opengl do not use OpenGL
2540 --without-osmesa do not use the OSMesa library
2541 --without-oss do not use the OSS sound support
2542 --without-pcap do not use the Packet Capture library
2543 --without-png do not use PNG
2544 --without-pthread do not use the pthread library
2545 --without-pulse do not use PulseAudio sound support
2546 --without-sane do not use SANE (scanner support)
2547 --without-sdl do not use SDL
2548 --without-tiff do not use TIFF
2549 --without-udev do not use udev (plug and play support)
2550 --without-v4l2 do not use v4l2 (video capture)
2551 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2552 --without-vulkan do not use Vulkan
2553 --without-xcomposite do not use the Xcomposite extension
2554 --without-xcursor do not use the Xcursor extension
2555 --without-xfixes do not use Xfixes for clipboard change notifications
2556 --without-xinerama do not use Xinerama (multi-monitor support)
2557 --without-xinput do not use the Xinput extension
2558 --without-xinput2 do not use the Xinput 2 extension
2559 --without-xml do not use XML
2560 --without-xrandr do not use Xrandr (resolution changes)
2561 --without-xrender do not use the Xrender extension
2562 --without-xshape do not use the Xshape extension
2563 --without-xshm do not use XShm (shared memory extension)
2564 --without-xslt do not use XSLT
2565 --without-xxf86vm do not use XFree video mode extension
2566 --without-zlib do not use Zlib (data compression)
2567 --with-wine-tools=DIR use Wine tools from directory DIR
2568 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2569 --with-x use the X Window System
2571 Some influential environment variables:
2572 CC C compiler command
2573 CFLAGS C compiler flags
2574 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2575 nonstandard directory <lib dir>
2576 LIBS libraries to pass to the linker, e.g. -l<library>
2577 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2578 you have headers in a nonstandard directory <include dir>
2579 CXX C++ compiler command
2580 CXXFLAGS C++ compiler flags
2581 CPP C preprocessor
2582 OBJC Objective C compiler command
2583 OBJCFLAGS Objective C compiler flags
2584 OBJCPP Objective C preprocessor
2585 XMKMF Path to xmkmf, Makefile generator for X Window System
2586 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2587 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2588 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2589 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2590 INOTIFY_CFLAGS
2591 C compiler flags for libinotify, overriding pkg-config
2592 INOTIFY_LIBS
2593 Linker flags for libinotify, overriding pkg-config
2594 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2595 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2596 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2597 HAL_LIBS Linker flags for hal, overriding pkg-config
2598 GNUTLS_CFLAGS
2599 C compiler flags for gnutls, overriding pkg-config
2600 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2601 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2602 SANE_LIBS Linker flags for libsane, overriding pkg-config
2603 GPHOTO2_CFLAGS
2604 C compiler flags for libgphoto2, overriding pkg-config
2605 GPHOTO2_LIBS
2606 Linker flags for libgphoto2, overriding pkg-config
2607 GPHOTO2_PORT_CFLAGS
2608 C compiler flags for libgphoto2_port, overriding pkg-config
2609 GPHOTO2_PORT_LIBS
2610 Linker flags for libgphoto2_port, overriding pkg-config
2611 LCMS2_CFLAGS
2612 C compiler flags for lcms2, overriding pkg-config
2613 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2614 FREETYPE_CFLAGS
2615 C compiler flags for freetype2, overriding pkg-config
2616 FREETYPE_LIBS
2617 Linker flags for freetype2, overriding pkg-config
2618 PULSE_CFLAGS
2619 C compiler flags for libpulse, overriding pkg-config
2620 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2621 GSTREAMER_CFLAGS
2622 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2623 gstreamer-audio-1.0, overriding pkg-config
2624 GSTREAMER_LIBS
2625 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2626 gstreamer-audio-1.0, overriding pkg-config
2627 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2628 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2629 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2630 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2631 FAUDIO_CFLAGS
2632 C compiler flags for faudio, overriding pkg-config
2633 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2634 CAPI20_CFLAGS
2635 C compiler flags for capi20, overriding pkg-config
2636 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2637 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2638 CUPS_LIBS Linker flags for cups, overriding pkg-config
2639 FONTCONFIG_CFLAGS
2640 C compiler flags for fontconfig, overriding pkg-config
2641 FONTCONFIG_LIBS
2642 Linker flags for fontconfig, overriding pkg-config
2643 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2644 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2645 GSSAPI_CFLAGS
2646 C compiler flags for krb5-gssapi, overriding pkg-config
2647 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2648 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2649 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2650 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2651 PNG_LIBS Linker flags for libpng, overriding pkg-config
2652 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2653 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2654 MPG123_CFLAGS
2655 C compiler flags for libmpg123, overriding pkg-config
2656 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2657 NETAPI_CFLAGS
2658 C compiler flags for netapi, overriding pkg-config
2659 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2660 VKD3D_CFLAGS
2661 C compiler flags for libvkd3d, overriding pkg-config
2662 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2663 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2664 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2666 Use these variables to override the choices made by `configure' or to help
2667 it to find libraries and programs with nonstandard names/locations.
2669 Report bugs to <wine-devel@winehq.org>.
2670 Wine home page: <https://www.winehq.org>.
2671 _ACEOF
2672 ac_status=$?
2675 if test "$ac_init_help" = "recursive"; then
2676 # If there are subdirs, report their specific --help.
2677 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2678 test -d "$ac_dir" ||
2679 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2680 continue
2681 ac_builddir=.
2683 case "$ac_dir" in
2684 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2686 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2687 # A ".." for each directory in $ac_dir_suffix.
2688 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2689 case $ac_top_builddir_sub in
2690 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2691 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2692 esac ;;
2693 esac
2694 ac_abs_top_builddir=$ac_pwd
2695 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2696 # for backward compatibility:
2697 ac_top_builddir=$ac_top_build_prefix
2699 case $srcdir in
2700 .) # We are building in place.
2701 ac_srcdir=.
2702 ac_top_srcdir=$ac_top_builddir_sub
2703 ac_abs_top_srcdir=$ac_pwd ;;
2704 [\\/]* | ?:[\\/]* ) # Absolute name.
2705 ac_srcdir=$srcdir$ac_dir_suffix;
2706 ac_top_srcdir=$srcdir
2707 ac_abs_top_srcdir=$srcdir ;;
2708 *) # Relative name.
2709 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2710 ac_top_srcdir=$ac_top_build_prefix$srcdir
2711 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2712 esac
2713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2715 cd "$ac_dir" || { ac_status=$?; continue; }
2716 # Check for guested configure.
2717 if test -f "$ac_srcdir/configure.gnu"; then
2718 echo &&
2719 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2720 elif test -f "$ac_srcdir/configure"; then
2721 echo &&
2722 $SHELL "$ac_srcdir/configure" --help=recursive
2723 else
2724 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2725 fi || ac_status=$?
2726 cd "$ac_pwd" || { ac_status=$?; break; }
2727 done
2730 test -n "$ac_init_help" && exit $ac_status
2731 if $ac_init_version; then
2732 cat <<\_ACEOF
2733 Wine configure 4.6
2734 generated by GNU Autoconf 2.69
2736 Copyright (C) 2012 Free Software Foundation, Inc.
2737 This configure script is free software; the Free Software Foundation
2738 gives unlimited permission to copy, distribute and modify it.
2739 _ACEOF
2740 exit
2743 ## ------------------------ ##
2744 ## Autoconf initialization. ##
2745 ## ------------------------ ##
2747 # ac_fn_c_try_compile LINENO
2748 # --------------------------
2749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2750 ac_fn_c_try_compile ()
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 rm -f conftest.$ac_objext
2754 if { { ac_try="$ac_compile"
2755 case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2758 esac
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_compile") 2>conftest.err
2762 ac_status=$?
2763 if test -s conftest.err; then
2764 grep -v '^ *+' conftest.err >conftest.er1
2765 cat conftest.er1 >&5
2766 mv -f conftest.er1 conftest.err
2768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2769 test $ac_status = 0; } && {
2770 test -z "$ac_c_werror_flag" ||
2771 test ! -s conftest.err
2772 } && test -s conftest.$ac_objext; then :
2773 ac_retval=0
2774 else
2775 $as_echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.$ac_ext >&5
2778 ac_retval=1
2780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781 as_fn_set_status $ac_retval
2783 } # ac_fn_c_try_compile
2785 # ac_fn_cxx_try_compile LINENO
2786 # ----------------------------
2787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2788 ac_fn_cxx_try_compile ()
2790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2791 rm -f conftest.$ac_objext
2792 if { { ac_try="$ac_compile"
2793 case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 $as_echo "$ac_try_echo"; } >&5
2799 (eval "$ac_compile") 2>conftest.err
2800 ac_status=$?
2801 if test -s conftest.err; then
2802 grep -v '^ *+' conftest.err >conftest.er1
2803 cat conftest.er1 >&5
2804 mv -f conftest.er1 conftest.err
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; } && {
2808 test -z "$ac_cxx_werror_flag" ||
2809 test ! -s conftest.err
2810 } && test -s conftest.$ac_objext; then :
2811 ac_retval=0
2812 else
2813 $as_echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.$ac_ext >&5
2816 ac_retval=1
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 as_fn_set_status $ac_retval
2821 } # ac_fn_cxx_try_compile
2823 # ac_fn_c_try_link LINENO
2824 # -----------------------
2825 # Try to link conftest.$ac_ext, and return whether this succeeded.
2826 ac_fn_c_try_link ()
2828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829 rm -f conftest.$ac_objext conftest$ac_exeext
2830 if { { ac_try="$ac_link"
2831 case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2834 esac
2835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836 $as_echo "$ac_try_echo"; } >&5
2837 (eval "$ac_link") 2>conftest.err
2838 ac_status=$?
2839 if test -s conftest.err; then
2840 grep -v '^ *+' conftest.err >conftest.er1
2841 cat conftest.er1 >&5
2842 mv -f conftest.er1 conftest.err
2844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2845 test $ac_status = 0; } && {
2846 test -z "$ac_c_werror_flag" ||
2847 test ! -s conftest.err
2848 } && test -s conftest$ac_exeext && {
2849 test "$cross_compiling" = yes ||
2850 test -x conftest$ac_exeext
2851 }; then :
2852 ac_retval=0
2853 else
2854 $as_echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2857 ac_retval=1
2859 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2860 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2861 # interfere with the next link command; also delete a directory that is
2862 # left behind by Apple's compiler. We do this before executing the actions.
2863 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2865 as_fn_set_status $ac_retval
2867 } # ac_fn_c_try_link
2869 # ac_fn_c_try_cpp LINENO
2870 # ----------------------
2871 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2872 ac_fn_c_try_cpp ()
2874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875 if { { ac_try="$ac_cpp conftest.$ac_ext"
2876 case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2883 ac_status=$?
2884 if test -s conftest.err; then
2885 grep -v '^ *+' conftest.err >conftest.er1
2886 cat conftest.er1 >&5
2887 mv -f conftest.er1 conftest.err
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; } > conftest.i && {
2891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 }; then :
2894 ac_retval=0
2895 else
2896 $as_echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2899 ac_retval=1
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 as_fn_set_status $ac_retval
2904 } # ac_fn_c_try_cpp
2906 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2907 # -------------------------------------------------------
2908 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2909 # the include files in INCLUDES and setting the cache variable VAR
2910 # accordingly.
2911 ac_fn_c_check_header_mongrel ()
2913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2914 if eval \${$3+:} false; then :
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2916 $as_echo_n "checking for $2... " >&6; }
2917 if eval \${$3+:} false; then :
2918 $as_echo_n "(cached) " >&6
2920 eval ac_res=\$$3
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2922 $as_echo "$ac_res" >&6; }
2923 else
2924 # Is the header compilable?
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2926 $as_echo_n "checking $2 usability... " >&6; }
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2930 #include <$2>
2931 _ACEOF
2932 if ac_fn_c_try_compile "$LINENO"; then :
2933 ac_header_compiler=yes
2934 else
2935 ac_header_compiler=no
2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2939 $as_echo "$ac_header_compiler" >&6; }
2941 # Is the header present?
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2943 $as_echo_n "checking $2 presence... " >&6; }
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2946 #include <$2>
2947 _ACEOF
2948 if ac_fn_c_try_cpp "$LINENO"; then :
2949 ac_header_preproc=yes
2950 else
2951 ac_header_preproc=no
2953 rm -f conftest.err conftest.i conftest.$ac_ext
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2955 $as_echo "$ac_header_preproc" >&6; }
2957 # So? What about this header?
2958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2959 yes:no: )
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2961 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2963 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2965 no:yes:* )
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2967 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2969 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2971 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2973 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2975 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2976 ( $as_echo "## ------------------------------------ ##
2977 ## Report this to wine-devel@winehq.org ##
2978 ## ------------------------------------ ##"
2979 ) | sed "s/^/$as_me: WARNING: /" >&2
2981 esac
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2983 $as_echo_n "checking for $2... " >&6; }
2984 if eval \${$3+:} false; then :
2985 $as_echo_n "(cached) " >&6
2986 else
2987 eval "$3=\$ac_header_compiler"
2989 eval ac_res=\$$3
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2991 $as_echo "$ac_res" >&6; }
2993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2995 } # ac_fn_c_check_header_mongrel
2997 # ac_fn_c_try_run LINENO
2998 # ----------------------
2999 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3000 # that executables *can* be run.
3001 ac_fn_c_try_run ()
3003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3004 if { { ac_try="$ac_link"
3005 case "(($ac_try" in
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3008 esac
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_link") 2>&5
3012 ac_status=$?
3013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3015 { { case "(($ac_try" in
3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017 *) ac_try_echo=$ac_try;;
3018 esac
3019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3020 $as_echo "$ac_try_echo"; } >&5
3021 (eval "$ac_try") 2>&5
3022 ac_status=$?
3023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3024 test $ac_status = 0; }; }; then :
3025 ac_retval=0
3026 else
3027 $as_echo "$as_me: program exited with status $ac_status" >&5
3028 $as_echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.$ac_ext >&5
3031 ac_retval=$ac_status
3033 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3035 as_fn_set_status $ac_retval
3037 } # ac_fn_c_try_run
3039 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3040 # -------------------------------------------------------
3041 # Tests whether HEADER exists and can be compiled using the include files in
3042 # INCLUDES, setting the cache variable VAR accordingly.
3043 ac_fn_c_check_header_compile ()
3045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3047 $as_echo_n "checking for $2... " >&6; }
3048 if eval \${$3+:} false; then :
3049 $as_echo_n "(cached) " >&6
3050 else
3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3052 /* end confdefs.h. */
3054 #include <$2>
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 eval "$3=yes"
3058 else
3059 eval "$3=no"
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 eval ac_res=\$$3
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3065 $as_echo "$ac_res" >&6; }
3066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3068 } # ac_fn_c_check_header_compile
3070 # ac_fn_objc_try_compile LINENO
3071 # -----------------------------
3072 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3073 ac_fn_objc_try_compile ()
3075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076 rm -f conftest.$ac_objext
3077 if { { ac_try="$ac_compile"
3078 case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3081 esac
3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084 (eval "$ac_compile") 2>conftest.err
3085 ac_status=$?
3086 if test -s conftest.err; then
3087 grep -v '^ *+' conftest.err >conftest.er1
3088 cat conftest.er1 >&5
3089 mv -f conftest.er1 conftest.err
3091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3092 test $ac_status = 0; } && {
3093 test -z "$ac_objc_werror_flag" ||
3094 test ! -s conftest.err
3095 } && test -s conftest.$ac_objext; then :
3096 ac_retval=0
3097 else
3098 $as_echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3101 ac_retval=1
3103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3104 as_fn_set_status $ac_retval
3106 } # ac_fn_objc_try_compile
3108 # ac_fn_objc_try_cpp LINENO
3109 # -------------------------
3110 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3111 ac_fn_objc_try_cpp ()
3113 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3114 if { { ac_try="$ac_cpp conftest.$ac_ext"
3115 case "(($ac_try" in
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3118 esac
3119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3122 ac_status=$?
3123 if test -s conftest.err; then
3124 grep -v '^ *+' conftest.err >conftest.er1
3125 cat conftest.er1 >&5
3126 mv -f conftest.er1 conftest.err
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; } > conftest.i && {
3130 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3131 test ! -s conftest.err
3132 }; then :
3133 ac_retval=0
3134 else
3135 $as_echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3138 ac_retval=1
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3141 as_fn_set_status $ac_retval
3143 } # ac_fn_objc_try_cpp
3145 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3146 # ----------------------------------------------------------
3147 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3148 # the include files in INCLUDES and setting the cache variable VAR
3149 # accordingly.
3150 ac_fn_objc_check_header_mongrel ()
3152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3153 if eval \${$3+:} false; then :
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3155 $as_echo_n "checking for $2... " >&6; }
3156 if eval \${$3+:} false; then :
3157 $as_echo_n "(cached) " >&6
3159 eval ac_res=\$$3
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3161 $as_echo "$ac_res" >&6; }
3162 else
3163 # Is the header compilable?
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3165 $as_echo_n "checking $2 usability... " >&6; }
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3169 #include <$2>
3170 _ACEOF
3171 if ac_fn_objc_try_compile "$LINENO"; then :
3172 ac_header_compiler=yes
3173 else
3174 ac_header_compiler=no
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3178 $as_echo "$ac_header_compiler" >&6; }
3180 # Is the header present?
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3182 $as_echo_n "checking $2 presence... " >&6; }
3183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184 /* end confdefs.h. */
3185 #include <$2>
3186 _ACEOF
3187 if ac_fn_objc_try_cpp "$LINENO"; then :
3188 ac_header_preproc=yes
3189 else
3190 ac_header_preproc=no
3192 rm -f conftest.err conftest.i conftest.$ac_ext
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3194 $as_echo "$ac_header_preproc" >&6; }
3196 # So? What about this header?
3197 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3198 yes:no: )
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3200 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3204 no:yes:* )
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3206 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3208 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3210 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3212 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3214 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3215 ( $as_echo "## ------------------------------------ ##
3216 ## Report this to wine-devel@winehq.org ##
3217 ## ------------------------------------ ##"
3218 ) | sed "s/^/$as_me: WARNING: /" >&2
3220 esac
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3222 $as_echo_n "checking for $2... " >&6; }
3223 if eval \${$3+:} false; then :
3224 $as_echo_n "(cached) " >&6
3225 else
3226 eval "$3=\$ac_header_compiler"
3228 eval ac_res=\$$3
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3230 $as_echo "$ac_res" >&6; }
3232 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3234 } # ac_fn_objc_check_header_mongrel
3236 # ac_fn_c_check_func LINENO FUNC VAR
3237 # ----------------------------------
3238 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3239 ac_fn_c_check_func ()
3241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3243 $as_echo_n "checking for $2... " >&6; }
3244 if eval \${$3+:} false; then :
3245 $as_echo_n "(cached) " >&6
3246 else
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3249 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3251 #define $2 innocuous_$2
3253 /* System header to define __stub macros and hopefully few prototypes,
3254 which can conflict with char $2 (); below.
3255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3256 <limits.h> exists even on freestanding compilers. */
3258 #ifdef __STDC__
3259 # include <limits.h>
3260 #else
3261 # include <assert.h>
3262 #endif
3264 #undef $2
3266 /* Override any GCC internal prototype to avoid an error.
3267 Use char because int might match the return type of a GCC
3268 builtin and then its argument prototype would still apply. */
3269 #ifdef __cplusplus
3270 extern "C"
3271 #endif
3272 char $2 ();
3273 /* The GNU C library defines this for functions which it implements
3274 to always fail with ENOSYS. Some functions are actually named
3275 something starting with __ and the normal name is an alias. */
3276 #if defined __stub_$2 || defined __stub___$2
3277 choke me
3278 #endif
3281 main ()
3283 return $2 ();
3285 return 0;
3287 _ACEOF
3288 if ac_fn_c_try_link "$LINENO"; then :
3289 eval "$3=yes"
3290 else
3291 eval "$3=no"
3293 rm -f core conftest.err conftest.$ac_objext \
3294 conftest$ac_exeext conftest.$ac_ext
3296 eval ac_res=\$$3
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3298 $as_echo "$ac_res" >&6; }
3299 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3301 } # ac_fn_c_check_func
3303 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3304 # ----------------------------------------------------
3305 # Tries to find if the field MEMBER exists in type AGGR, after including
3306 # INCLUDES, setting cache variable VAR accordingly.
3307 ac_fn_c_check_member ()
3309 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3311 $as_echo_n "checking for $2.$3... " >&6; }
3312 if eval \${$4+:} false; then :
3313 $as_echo_n "(cached) " >&6
3314 else
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3319 main ()
3321 static $2 ac_aggr;
3322 if (ac_aggr.$3)
3323 return 0;
3325 return 0;
3327 _ACEOF
3328 if ac_fn_c_try_compile "$LINENO"; then :
3329 eval "$4=yes"
3330 else
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3335 main ()
3337 static $2 ac_aggr;
3338 if (sizeof ac_aggr.$3)
3339 return 0;
3341 return 0;
3343 _ACEOF
3344 if ac_fn_c_try_compile "$LINENO"; then :
3345 eval "$4=yes"
3346 else
3347 eval "$4=no"
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 eval ac_res=\$$4
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3355 $as_echo "$ac_res" >&6; }
3356 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3358 } # ac_fn_c_check_member
3360 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3361 # -------------------------------------------
3362 # Tests whether TYPE exists after having included INCLUDES, setting cache
3363 # variable VAR accordingly.
3364 ac_fn_c_check_type ()
3366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3368 $as_echo_n "checking for $2... " >&6; }
3369 if eval \${$3+:} false; then :
3370 $as_echo_n "(cached) " >&6
3371 else
3372 eval "$3=no"
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3377 main ()
3379 if (sizeof ($2))
3380 return 0;
3382 return 0;
3384 _ACEOF
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3390 main ()
3392 if (sizeof (($2)))
3393 return 0;
3395 return 0;
3397 _ACEOF
3398 if ac_fn_c_try_compile "$LINENO"; then :
3400 else
3401 eval "$3=yes"
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 eval ac_res=\$$3
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3409 $as_echo "$ac_res" >&6; }
3410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3412 } # ac_fn_c_check_type
3413 cat >config.log <<_ACEOF
3414 This file contains any messages produced by compilers while
3415 running configure, to aid debugging if configure makes a mistake.
3417 It was created by Wine $as_me 4.6, which was
3418 generated by GNU Autoconf 2.69. Invocation command line was
3420 $ $0 $@
3422 _ACEOF
3423 exec 5>>config.log
3425 cat <<_ASUNAME
3426 ## --------- ##
3427 ## Platform. ##
3428 ## --------- ##
3430 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3431 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3432 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3433 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3434 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3436 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3437 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3439 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3440 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3441 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3442 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3443 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3444 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3445 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3447 _ASUNAME
3449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3450 for as_dir in $PATH
3452 IFS=$as_save_IFS
3453 test -z "$as_dir" && as_dir=.
3454 $as_echo "PATH: $as_dir"
3455 done
3456 IFS=$as_save_IFS
3458 } >&5
3460 cat >&5 <<_ACEOF
3463 ## ----------- ##
3464 ## Core tests. ##
3465 ## ----------- ##
3467 _ACEOF
3470 # Keep a trace of the command line.
3471 # Strip out --no-create and --no-recursion so they do not pile up.
3472 # Strip out --silent because we don't want to record it for future runs.
3473 # Also quote any args containing shell meta-characters.
3474 # Make two passes to allow for proper duplicate-argument suppression.
3475 ac_configure_args=
3476 ac_configure_args0=
3477 ac_configure_args1=
3478 ac_must_keep_next=false
3479 for ac_pass in 1 2
3481 for ac_arg
3483 case $ac_arg in
3484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3486 | -silent | --silent | --silen | --sile | --sil)
3487 continue ;;
3488 *\'*)
3489 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3490 esac
3491 case $ac_pass in
3492 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3494 as_fn_append ac_configure_args1 " '$ac_arg'"
3495 if test $ac_must_keep_next = true; then
3496 ac_must_keep_next=false # Got value, back to normal.
3497 else
3498 case $ac_arg in
3499 *=* | --config-cache | -C | -disable-* | --disable-* \
3500 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3501 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3502 | -with-* | --with-* | -without-* | --without-* | --x)
3503 case "$ac_configure_args0 " in
3504 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3505 esac
3507 -* ) ac_must_keep_next=true ;;
3508 esac
3510 as_fn_append ac_configure_args " '$ac_arg'"
3512 esac
3513 done
3514 done
3515 { ac_configure_args0=; unset ac_configure_args0;}
3516 { ac_configure_args1=; unset ac_configure_args1;}
3518 # When interrupted or exit'd, cleanup temporary files, and complete
3519 # config.log. We remove comments because anyway the quotes in there
3520 # would cause problems or look ugly.
3521 # WARNING: Use '\'' to represent an apostrophe within the trap.
3522 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3523 trap 'exit_status=$?
3524 # Save into config.log some information that might help in debugging.
3526 echo
3528 $as_echo "## ---------------- ##
3529 ## Cache variables. ##
3530 ## ---------------- ##"
3531 echo
3532 # The following way of writing the cache mishandles newlines in values,
3534 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3535 eval ac_val=\$$ac_var
3536 case $ac_val in #(
3537 *${as_nl}*)
3538 case $ac_var in #(
3539 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3540 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3541 esac
3542 case $ac_var in #(
3543 _ | IFS | as_nl) ;; #(
3544 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3545 *) { eval $ac_var=; unset $ac_var;} ;;
3546 esac ;;
3547 esac
3548 done
3549 (set) 2>&1 |
3550 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3551 *${as_nl}ac_space=\ *)
3552 sed -n \
3553 "s/'\''/'\''\\\\'\'''\''/g;
3554 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3555 ;; #(
3557 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3559 esac |
3560 sort
3562 echo
3564 $as_echo "## ----------------- ##
3565 ## Output variables. ##
3566 ## ----------------- ##"
3567 echo
3568 for ac_var in $ac_subst_vars
3570 eval ac_val=\$$ac_var
3571 case $ac_val in
3572 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3573 esac
3574 $as_echo "$ac_var='\''$ac_val'\''"
3575 done | sort
3576 echo
3578 if test -n "$ac_subst_files"; then
3579 $as_echo "## ------------------- ##
3580 ## File substitutions. ##
3581 ## ------------------- ##"
3582 echo
3583 for ac_var in $ac_subst_files
3585 eval ac_val=\$$ac_var
3586 case $ac_val in
3587 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3588 esac
3589 $as_echo "$ac_var='\''$ac_val'\''"
3590 done | sort
3591 echo
3594 if test -s confdefs.h; then
3595 $as_echo "## ----------- ##
3596 ## confdefs.h. ##
3597 ## ----------- ##"
3598 echo
3599 cat confdefs.h
3600 echo
3602 test "$ac_signal" != 0 &&
3603 $as_echo "$as_me: caught signal $ac_signal"
3604 $as_echo "$as_me: exit $exit_status"
3605 } >&5
3606 rm -f core *.core core.conftest.* &&
3607 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3608 exit $exit_status
3610 for ac_signal in 1 2 13 15; do
3611 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3612 done
3613 ac_signal=0
3615 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3616 rm -f -r conftest* confdefs.h
3618 $as_echo "/* confdefs.h */" > confdefs.h
3620 # Predefined preprocessor variables.
3622 cat >>confdefs.h <<_ACEOF
3623 #define PACKAGE_NAME "$PACKAGE_NAME"
3624 _ACEOF
3626 cat >>confdefs.h <<_ACEOF
3627 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3628 _ACEOF
3630 cat >>confdefs.h <<_ACEOF
3631 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3632 _ACEOF
3634 cat >>confdefs.h <<_ACEOF
3635 #define PACKAGE_STRING "$PACKAGE_STRING"
3636 _ACEOF
3638 cat >>confdefs.h <<_ACEOF
3639 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3640 _ACEOF
3642 cat >>confdefs.h <<_ACEOF
3643 #define PACKAGE_URL "$PACKAGE_URL"
3644 _ACEOF
3647 # Let the site file select an alternate cache file if it wants to.
3648 # Prefer an explicitly selected file to automatically selected ones.
3649 ac_site_file1=NONE
3650 ac_site_file2=NONE
3651 if test -n "$CONFIG_SITE"; then
3652 # We do not want a PATH search for config.site.
3653 case $CONFIG_SITE in #((
3654 -*) ac_site_file1=./$CONFIG_SITE;;
3655 */*) ac_site_file1=$CONFIG_SITE;;
3656 *) ac_site_file1=./$CONFIG_SITE;;
3657 esac
3658 elif test "x$prefix" != xNONE; then
3659 ac_site_file1=$prefix/share/config.site
3660 ac_site_file2=$prefix/etc/config.site
3661 else
3662 ac_site_file1=$ac_default_prefix/share/config.site
3663 ac_site_file2=$ac_default_prefix/etc/config.site
3665 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3667 test "x$ac_site_file" = xNONE && continue
3668 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3670 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3671 sed 's/^/| /' "$ac_site_file" >&5
3672 . "$ac_site_file" \
3673 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 as_fn_error $? "failed to load site script $ac_site_file
3676 See \`config.log' for more details" "$LINENO" 5; }
3678 done
3680 if test -r "$cache_file"; then
3681 # Some versions of bash will fail to source /dev/null (special files
3682 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3683 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3685 $as_echo "$as_me: loading cache $cache_file" >&6;}
3686 case $cache_file in
3687 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3688 *) . "./$cache_file";;
3689 esac
3691 else
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3693 $as_echo "$as_me: creating cache $cache_file" >&6;}
3694 >$cache_file
3697 # Check that the precious variables saved in the cache have kept the same
3698 # value.
3699 ac_cache_corrupted=false
3700 for ac_var in $ac_precious_vars; do
3701 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3702 eval ac_new_set=\$ac_env_${ac_var}_set
3703 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3704 eval ac_new_val=\$ac_env_${ac_var}_value
3705 case $ac_old_set,$ac_new_set in
3706 set,)
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3708 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3709 ac_cache_corrupted=: ;;
3710 ,set)
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3712 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3713 ac_cache_corrupted=: ;;
3714 ,);;
3716 if test "x$ac_old_val" != "x$ac_new_val"; then
3717 # differences in whitespace do not lead to failure.
3718 ac_old_val_w=`echo x $ac_old_val`
3719 ac_new_val_w=`echo x $ac_new_val`
3720 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3722 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3723 ac_cache_corrupted=:
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3726 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3727 eval $ac_var=\$ac_old_val
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3730 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3732 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3733 fi;;
3734 esac
3735 # Pass precious variables to config.status.
3736 if test "$ac_new_set" = set; then
3737 case $ac_new_val in
3738 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3739 *) ac_arg=$ac_var=$ac_new_val ;;
3740 esac
3741 case " $ac_configure_args " in
3742 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3743 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3744 esac
3746 done
3747 if $ac_cache_corrupted; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3751 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3752 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3754 ## -------------------- ##
3755 ## Main body of script. ##
3756 ## -------------------- ##
3758 ac_ext=c
3759 ac_cpp='$CPP $CPPFLAGS'
3760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3766 ac_config_headers="$ac_config_headers include/config.h"
3768 ac_aux_dir=
3769 for ac_dir in tools "$srcdir"/tools; do
3770 if test -f "$ac_dir/install-sh"; then
3771 ac_aux_dir=$ac_dir
3772 ac_install_sh="$ac_aux_dir/install-sh -c"
3773 break
3774 elif test -f "$ac_dir/install.sh"; then
3775 ac_aux_dir=$ac_dir
3776 ac_install_sh="$ac_aux_dir/install.sh -c"
3777 break
3778 elif test -f "$ac_dir/shtool"; then
3779 ac_aux_dir=$ac_dir
3780 ac_install_sh="$ac_aux_dir/shtool install -c"
3781 break
3783 done
3784 if test -z "$ac_aux_dir"; then
3785 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3788 # These three variables are undocumented and unsupported,
3789 # and are intended to be withdrawn in a future Autoconf release.
3790 # They can cause serious problems if a builder's source tree is in a directory
3791 # whose full name contains unusual characters.
3792 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3793 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3794 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3798 libwine_version="1.0"
3802 # Check whether --enable-win16 was given.
3803 if test "${enable_win16+set}" = set; then :
3804 enableval=$enable_win16;
3807 # Check whether --enable-win64 was given.
3808 if test "${enable_win64+set}" = set; then :
3809 enableval=$enable_win64;
3812 # Check whether --enable-tests was given.
3813 if test "${enable_tests+set}" = set; then :
3814 enableval=$enable_tests;
3817 # Check whether --enable-maintainer-mode was given.
3818 if test "${enable_maintainer_mode+set}" = set; then :
3819 enableval=$enable_maintainer_mode;
3824 # Check whether --with-alsa was given.
3825 if test "${with_alsa+set}" = set; then :
3826 withval=$with_alsa;
3830 # Check whether --with-capi was given.
3831 if test "${with_capi+set}" = set; then :
3832 withval=$with_capi;
3836 # Check whether --with-cms was given.
3837 if test "${with_cms+set}" = set; then :
3838 withval=$with_cms;
3842 # Check whether --with-coreaudio was given.
3843 if test "${with_coreaudio+set}" = set; then :
3844 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3848 # Check whether --with-cups was given.
3849 if test "${with_cups+set}" = set; then :
3850 withval=$with_cups;
3854 # Check whether --with-curses was given.
3855 if test "${with_curses+set}" = set; then :
3856 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3860 # Check whether --with-dbus was given.
3861 if test "${with_dbus+set}" = set; then :
3862 withval=$with_dbus;
3866 # Check whether --with-faudio was given.
3867 if test "${with_faudio+set}" = set; then :
3868 withval=$with_faudio;
3872 # Check whether --with-float-abi was given.
3873 if test "${with_float_abi+set}" = set; then :
3874 withval=$with_float_abi;
3878 # Check whether --with-fontconfig was given.
3879 if test "${with_fontconfig+set}" = set; then :
3880 withval=$with_fontconfig;
3884 # Check whether --with-freetype was given.
3885 if test "${with_freetype+set}" = set; then :
3886 withval=$with_freetype;
3890 # Check whether --with-gettext was given.
3891 if test "${with_gettext+set}" = set; then :
3892 withval=$with_gettext;
3896 # Check whether --with-gettextpo was given.
3897 if test "${with_gettextpo+set}" = set; then :
3898 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3902 # Check whether --with-gphoto was given.
3903 if test "${with_gphoto+set}" = set; then :
3904 withval=$with_gphoto;
3908 # Check whether --with-glu was given.
3909 if test "${with_glu+set}" = set; then :
3910 withval=$with_glu;
3914 # Check whether --with-gnutls was given.
3915 if test "${with_gnutls+set}" = set; then :
3916 withval=$with_gnutls;
3920 # Check whether --with-gsm was given.
3921 if test "${with_gsm+set}" = set; then :
3922 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3926 # Check whether --with-gssapi was given.
3927 if test "${with_gssapi+set}" = set; then :
3928 withval=$with_gssapi;
3932 # Check whether --with-gstreamer was given.
3933 if test "${with_gstreamer+set}" = set; then :
3934 withval=$with_gstreamer;
3938 # Check whether --with-hal was given.
3939 if test "${with_hal+set}" = set; then :
3940 withval=$with_hal;
3944 # Check whether --with-inotify was given.
3945 if test "${with_inotify+set}" = set; then :
3946 withval=$with_inotify;
3950 # Check whether --with-jpeg was given.
3951 if test "${with_jpeg+set}" = set; then :
3952 withval=$with_jpeg;
3956 # Check whether --with-krb5 was given.
3957 if test "${with_krb5+set}" = set; then :
3958 withval=$with_krb5;
3962 # Check whether --with-ldap was given.
3963 if test "${with_ldap+set}" = set; then :
3964 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3968 # Check whether --with-mingw was given.
3969 if test "${with_mingw+set}" = set; then :
3970 withval=$with_mingw;
3974 # Check whether --with-mpg123 was given.
3975 if test "${with_mpg123+set}" = set; then :
3976 withval=$with_mpg123;
3980 # Check whether --with-netapi was given.
3981 if test "${with_netapi+set}" = set; then :
3982 withval=$with_netapi;
3986 # Check whether --with-openal was given.
3987 if test "${with_openal+set}" = set; then :
3988 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3992 # Check whether --with-opencl was given.
3993 if test "${with_opencl+set}" = set; then :
3994 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3998 # Check whether --with-opengl was given.
3999 if test "${with_opengl+set}" = set; then :
4000 withval=$with_opengl;
4004 # Check whether --with-osmesa was given.
4005 if test "${with_osmesa+set}" = set; then :
4006 withval=$with_osmesa;
4010 # Check whether --with-oss was given.
4011 if test "${with_oss+set}" = set; then :
4012 withval=$with_oss;
4016 # Check whether --with-pcap was given.
4017 if test "${with_pcap+set}" = set; then :
4018 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4022 # Check whether --with-png was given.
4023 if test "${with_png+set}" = set; then :
4024 withval=$with_png;
4028 # Check whether --with-pthread was given.
4029 if test "${with_pthread+set}" = set; then :
4030 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4034 # Check whether --with-pulse was given.
4035 if test "${with_pulse+set}" = set; then :
4036 withval=$with_pulse;
4040 # Check whether --with-sane was given.
4041 if test "${with_sane+set}" = set; then :
4042 withval=$with_sane;
4046 # Check whether --with-sdl was given.
4047 if test "${with_sdl+set}" = set; then :
4048 withval=$with_sdl;
4052 # Check whether --with-tiff was given.
4053 if test "${with_tiff+set}" = set; then :
4054 withval=$with_tiff;
4058 # Check whether --with-udev was given.
4059 if test "${with_udev+set}" = set; then :
4060 withval=$with_udev;
4064 # Check whether --with-v4l2 was given.
4065 if test "${with_v4l2+set}" = set; then :
4066 withval=$with_v4l2;
4070 # Check whether --with-vkd3d was given.
4071 if test "${with_vkd3d+set}" = set; then :
4072 withval=$with_vkd3d;
4076 # Check whether --with-vulkan was given.
4077 if test "${with_vulkan+set}" = set; then :
4078 withval=$with_vulkan;
4082 # Check whether --with-xcomposite was given.
4083 if test "${with_xcomposite+set}" = set; then :
4084 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4088 # Check whether --with-xcursor was given.
4089 if test "${with_xcursor+set}" = set; then :
4090 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4094 # Check whether --with-xfixes was given.
4095 if test "${with_xfixes+set}" = set; then :
4096 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4100 # Check whether --with-xinerama was given.
4101 if test "${with_xinerama+set}" = set; then :
4102 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4106 # Check whether --with-xinput was given.
4107 if test "${with_xinput+set}" = set; then :
4108 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4112 # Check whether --with-xinput2 was given.
4113 if test "${with_xinput2+set}" = set; then :
4114 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4118 # Check whether --with-xml was given.
4119 if test "${with_xml+set}" = set; then :
4120 withval=$with_xml;
4124 # Check whether --with-xrandr was given.
4125 if test "${with_xrandr+set}" = set; then :
4126 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4130 # Check whether --with-xrender was given.
4131 if test "${with_xrender+set}" = set; then :
4132 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4136 # Check whether --with-xshape was given.
4137 if test "${with_xshape+set}" = set; then :
4138 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4142 # Check whether --with-xshm was given.
4143 if test "${with_xshm+set}" = set; then :
4144 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4148 # Check whether --with-xslt was given.
4149 if test "${with_xslt+set}" = set; then :
4150 withval=$with_xslt;
4154 # Check whether --with-xxf86vm was given.
4155 if test "${with_xxf86vm+set}" = set; then :
4156 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
4160 # Check whether --with-zlib was given.
4161 if test "${with_zlib+set}" = set; then :
4162 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4167 # Check whether --with-wine-tools was given.
4168 if test "${with_wine_tools+set}" = set; then :
4169 withval=$with_wine_tools;
4173 # Check whether --with-wine64 was given.
4174 if test "${with_wine64+set}" = set; then :
4175 withval=$with_wine64;
4179 # Make sure we can run config.sub.
4180 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4181 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4184 $as_echo_n "checking build system type... " >&6; }
4185 if ${ac_cv_build+:} false; then :
4186 $as_echo_n "(cached) " >&6
4187 else
4188 ac_build_alias=$build_alias
4189 test "x$ac_build_alias" = x &&
4190 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4191 test "x$ac_build_alias" = x &&
4192 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4193 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4194 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4198 $as_echo "$ac_cv_build" >&6; }
4199 case $ac_cv_build in
4200 *-*-*) ;;
4201 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4202 esac
4203 build=$ac_cv_build
4204 ac_save_IFS=$IFS; IFS='-'
4205 set x $ac_cv_build
4206 shift
4207 build_cpu=$1
4208 build_vendor=$2
4209 shift; shift
4210 # Remember, the first character of IFS is used to create $*,
4211 # except with old shells:
4212 build_os=$*
4213 IFS=$ac_save_IFS
4214 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4218 $as_echo_n "checking host system type... " >&6; }
4219 if ${ac_cv_host+:} false; then :
4220 $as_echo_n "(cached) " >&6
4221 else
4222 if test "x$host_alias" = x; then
4223 ac_cv_host=$ac_cv_build
4224 else
4225 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4226 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4231 $as_echo "$ac_cv_host" >&6; }
4232 case $ac_cv_host in
4233 *-*-*) ;;
4234 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4235 esac
4236 host=$ac_cv_host
4237 ac_save_IFS=$IFS; IFS='-'
4238 set x $ac_cv_host
4239 shift
4240 host_cpu=$1
4241 host_vendor=$2
4242 shift; shift
4243 # Remember, the first character of IFS is used to create $*,
4244 # except with old shells:
4245 host_os=$*
4246 IFS=$ac_save_IFS
4247 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4251 case "$srcdir" in
4252 .) ;;
4253 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4254 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4255 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4256 fi ;;
4257 esac
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4261 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4262 set x ${MAKE-make}
4263 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4264 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4265 $as_echo_n "(cached) " >&6
4266 else
4267 cat >conftest.make <<\_ACEOF
4268 SHELL = /bin/sh
4269 all:
4270 @echo '@@@%%%=$(MAKE)=@@@%%%'
4271 _ACEOF
4272 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4273 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4274 *@@@%%%=?*=@@@%%%*)
4275 eval ac_cv_prog_make_${ac_make}_set=yes;;
4277 eval ac_cv_prog_make_${ac_make}_set=no;;
4278 esac
4279 rm -f conftest.make
4281 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4283 $as_echo "yes" >&6; }
4284 SET_MAKE=
4285 else
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4287 $as_echo "no" >&6; }
4288 SET_MAKE="MAKE=${MAKE-make}"
4291 ac_ext=c
4292 ac_cpp='$CPP $CPPFLAGS'
4293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4296 if test -n "$ac_tool_prefix"; then
4297 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4298 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4300 $as_echo_n "checking for $ac_word... " >&6; }
4301 if ${ac_cv_prog_CC+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 if test -n "$CC"; then
4305 ac_cv_prog_CC="$CC" # Let the user override the test.
4306 else
4307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308 for as_dir in $PATH
4310 IFS=$as_save_IFS
4311 test -z "$as_dir" && as_dir=.
4312 for ac_exec_ext in '' $ac_executable_extensions; do
4313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4314 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4316 break 2
4318 done
4319 done
4320 IFS=$as_save_IFS
4324 CC=$ac_cv_prog_CC
4325 if test -n "$CC"; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4327 $as_echo "$CC" >&6; }
4328 else
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330 $as_echo "no" >&6; }
4335 if test -z "$ac_cv_prog_CC"; then
4336 ac_ct_CC=$CC
4337 # Extract the first word of "gcc", so it can be a program name with args.
4338 set dummy gcc; ac_word=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 if test -n "$ac_ct_CC"; then
4345 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4346 else
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4354 ac_cv_prog_ac_ct_CC="gcc"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 break 2
4358 done
4359 done
4360 IFS=$as_save_IFS
4364 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4365 if test -n "$ac_ct_CC"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4367 $as_echo "$ac_ct_CC" >&6; }
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4373 if test "x$ac_ct_CC" = x; then
4374 CC=""
4375 else
4376 case $cross_compiling:$ac_tool_warned in
4377 yes:)
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4380 ac_tool_warned=yes ;;
4381 esac
4382 CC=$ac_ct_CC
4384 else
4385 CC="$ac_cv_prog_CC"
4388 if test -z "$CC"; then
4389 if test -n "$ac_tool_prefix"; then
4390 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4391 set dummy ${ac_tool_prefix}cc; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_CC+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 if test -n "$CC"; then
4398 ac_cv_prog_CC="$CC" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_CC="${ac_tool_prefix}cc"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4413 IFS=$as_save_IFS
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; }
4429 if test -z "$CC"; then
4430 # Extract the first word of "cc", so it can be a program name with args.
4431 set dummy cc; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_CC+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 if test -n "$CC"; then
4438 ac_cv_prog_CC="$CC" # Let the user override the test.
4439 else
4440 ac_prog_rejected=no
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4444 IFS=$as_save_IFS
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4449 ac_prog_rejected=yes
4450 continue
4452 ac_cv_prog_CC="cc"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4456 done
4457 done
4458 IFS=$as_save_IFS
4460 if test $ac_prog_rejected = yes; then
4461 # We found a bogon in the path, so make sure we never use it.
4462 set dummy $ac_cv_prog_CC
4463 shift
4464 if test $# != 0; then
4465 # We chose a different compiler from the bogus one.
4466 # However, it has the same basename, so the bogon will be chosen
4467 # first if we set CC to just the basename; use the full file name.
4468 shift
4469 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4474 CC=$ac_cv_prog_CC
4475 if test -n "$CC"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4477 $as_echo "$CC" >&6; }
4478 else
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4485 if test -z "$CC"; then
4486 if test -n "$ac_tool_prefix"; then
4487 for ac_prog in cl.exe
4489 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4490 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if ${ac_cv_prog_CC+:} false; then :
4494 $as_echo_n "(cached) " >&6
4495 else
4496 if test -n "$CC"; then
4497 ac_cv_prog_CC="$CC" # Let the user override the test.
4498 else
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4502 IFS=$as_save_IFS
4503 test -z "$as_dir" && as_dir=.
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4506 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 break 2
4510 done
4511 done
4512 IFS=$as_save_IFS
4516 CC=$ac_cv_prog_CC
4517 if test -n "$CC"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4519 $as_echo "$CC" >&6; }
4520 else
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4526 test -n "$CC" && break
4527 done
4529 if test -z "$CC"; then
4530 ac_ct_CC=$CC
4531 for ac_prog in cl.exe
4533 # Extract the first word of "$ac_prog", so it can be a program name with args.
4534 set dummy $ac_prog; ac_word=$2
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4538 $as_echo_n "(cached) " >&6
4539 else
4540 if test -n "$ac_ct_CC"; then
4541 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4542 else
4543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4544 for as_dir in $PATH
4546 IFS=$as_save_IFS
4547 test -z "$as_dir" && as_dir=.
4548 for ac_exec_ext in '' $ac_executable_extensions; do
4549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4550 ac_cv_prog_ac_ct_CC="$ac_prog"
4551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 break 2
4554 done
4555 done
4556 IFS=$as_save_IFS
4560 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4561 if test -n "$ac_ct_CC"; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4563 $as_echo "$ac_ct_CC" >&6; }
4564 else
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566 $as_echo "no" >&6; }
4570 test -n "$ac_ct_CC" && break
4571 done
4573 if test "x$ac_ct_CC" = x; then
4574 CC=""
4575 else
4576 case $cross_compiling:$ac_tool_warned in
4577 yes:)
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4580 ac_tool_warned=yes ;;
4581 esac
4582 CC=$ac_ct_CC
4589 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4591 as_fn_error $? "no acceptable C compiler found in \$PATH
4592 See \`config.log' for more details" "$LINENO" 5; }
4594 # Provide some information about the compiler.
4595 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4596 set X $ac_compile
4597 ac_compiler=$2
4598 for ac_option in --version -v -V -qversion; do
4599 { { ac_try="$ac_compiler $ac_option >&5"
4600 case "(($ac_try" in
4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4602 *) ac_try_echo=$ac_try;;
4603 esac
4604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4605 $as_echo "$ac_try_echo"; } >&5
4606 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4607 ac_status=$?
4608 if test -s conftest.err; then
4609 sed '10a\
4610 ... rest of stderr output deleted ...
4611 10q' conftest.err >conftest.er1
4612 cat conftest.er1 >&5
4614 rm -f conftest.er1 conftest.err
4615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4616 test $ac_status = 0; }
4617 done
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 ac_clean_files_save=$ac_clean_files
4631 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4632 # Try to create an executable without -o first, disregard a.out.
4633 # It will help us diagnose broken compilers, and finding out an intuition
4634 # of exeext.
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4636 $as_echo_n "checking whether the C compiler works... " >&6; }
4637 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4639 # The possible output files:
4640 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4642 ac_rmfiles=
4643 for ac_file in $ac_files
4645 case $ac_file in
4646 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4647 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4648 esac
4649 done
4650 rm -f $ac_rmfiles
4652 if { { ac_try="$ac_link_default"
4653 case "(($ac_try" in
4654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;;
4656 esac
4657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4658 $as_echo "$ac_try_echo"; } >&5
4659 (eval "$ac_link_default") 2>&5
4660 ac_status=$?
4661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4662 test $ac_status = 0; }; then :
4663 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4664 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4665 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4666 # so that the user can short-circuit this test for compilers unknown to
4667 # Autoconf.
4668 for ac_file in $ac_files ''
4670 test -f "$ac_file" || continue
4671 case $ac_file in
4672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4674 [ab].out )
4675 # We found the default executable, but exeext='' is most
4676 # certainly right.
4677 break;;
4678 *.* )
4679 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4680 then :; else
4681 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4683 # We set ac_cv_exeext here because the later test for it is not
4684 # safe: cross compilers may not add the suffix if given an `-o'
4685 # argument, so we may need to know it at that point already.
4686 # Even if this section looks crufty: it has the advantage of
4687 # actually working.
4688 break;;
4690 break;;
4691 esac
4692 done
4693 test "$ac_cv_exeext" = no && ac_cv_exeext=
4695 else
4696 ac_file=''
4698 if test -z "$ac_file"; then :
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4701 $as_echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.$ac_ext >&5
4704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4706 as_fn_error 77 "C compiler cannot create executables
4707 See \`config.log' for more details" "$LINENO" 5; }
4708 else
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4710 $as_echo "yes" >&6; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4713 $as_echo_n "checking for C compiler default output file name... " >&6; }
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4715 $as_echo "$ac_file" >&6; }
4716 ac_exeext=$ac_cv_exeext
4718 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4719 ac_clean_files=$ac_clean_files_save
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4721 $as_echo_n "checking for suffix of executables... " >&6; }
4722 if { { ac_try="$ac_link"
4723 case "(($ac_try" in
4724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4725 *) ac_try_echo=$ac_try;;
4726 esac
4727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4728 $as_echo "$ac_try_echo"; } >&5
4729 (eval "$ac_link") 2>&5
4730 ac_status=$?
4731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4732 test $ac_status = 0; }; then :
4733 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4734 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4735 # work properly (i.e., refer to `conftest.exe'), while it won't with
4736 # `rm'.
4737 for ac_file in conftest.exe conftest conftest.*; do
4738 test -f "$ac_file" || continue
4739 case $ac_file in
4740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4741 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4742 break;;
4743 * ) break;;
4744 esac
4745 done
4746 else
4747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4749 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4750 See \`config.log' for more details" "$LINENO" 5; }
4752 rm -f conftest conftest$ac_cv_exeext
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4754 $as_echo "$ac_cv_exeext" >&6; }
4756 rm -f conftest.$ac_ext
4757 EXEEXT=$ac_cv_exeext
4758 ac_exeext=$EXEEXT
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4761 #include <stdio.h>
4763 main ()
4765 FILE *f = fopen ("conftest.out", "w");
4766 return ferror (f) || fclose (f) != 0;
4769 return 0;
4771 _ACEOF
4772 ac_clean_files="$ac_clean_files conftest.out"
4773 # Check that the compiler produces executables we can run. If not, either
4774 # the compiler is broken, or we cross compile.
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4776 $as_echo_n "checking whether we are cross compiling... " >&6; }
4777 if test "$cross_compiling" != yes; then
4778 { { ac_try="$ac_link"
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_link") 2>&5
4786 ac_status=$?
4787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788 test $ac_status = 0; }
4789 if { ac_try='./conftest$ac_cv_exeext'
4790 { { case "(($ac_try" in
4791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4792 *) ac_try_echo=$ac_try;;
4793 esac
4794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4795 $as_echo "$ac_try_echo"; } >&5
4796 (eval "$ac_try") 2>&5
4797 ac_status=$?
4798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4799 test $ac_status = 0; }; }; then
4800 cross_compiling=no
4801 else
4802 if test "$cross_compiling" = maybe; then
4803 cross_compiling=yes
4804 else
4805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4807 as_fn_error $? "cannot run C compiled programs.
4808 If you meant to cross compile, use \`--host'.
4809 See \`config.log' for more details" "$LINENO" 5; }
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4814 $as_echo "$cross_compiling" >&6; }
4816 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4817 ac_clean_files=$ac_clean_files_save
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4819 $as_echo_n "checking for suffix of object files... " >&6; }
4820 if ${ac_cv_objext+:} false; then :
4821 $as_echo_n "(cached) " >&6
4822 else
4823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4824 /* end confdefs.h. */
4827 main ()
4831 return 0;
4833 _ACEOF
4834 rm -f conftest.o conftest.obj
4835 if { { ac_try="$ac_compile"
4836 case "(($ac_try" in
4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4839 esac
4840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4841 $as_echo "$ac_try_echo"; } >&5
4842 (eval "$ac_compile") 2>&5
4843 ac_status=$?
4844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4845 test $ac_status = 0; }; then :
4846 for ac_file in conftest.o conftest.obj conftest.*; do
4847 test -f "$ac_file" || continue;
4848 case $ac_file in
4849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4850 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4851 break;;
4852 esac
4853 done
4854 else
4855 $as_echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4860 as_fn_error $? "cannot compute suffix of object files: cannot compile
4861 See \`config.log' for more details" "$LINENO" 5; }
4863 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4866 $as_echo "$ac_cv_objext" >&6; }
4867 OBJEXT=$ac_cv_objext
4868 ac_objext=$OBJEXT
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4870 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4871 if ${ac_cv_c_compiler_gnu+:} false; then :
4872 $as_echo_n "(cached) " >&6
4873 else
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4878 main ()
4880 #ifndef __GNUC__
4881 choke me
4882 #endif
4885 return 0;
4887 _ACEOF
4888 if ac_fn_c_try_compile "$LINENO"; then :
4889 ac_compiler_gnu=yes
4890 else
4891 ac_compiler_gnu=no
4893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4894 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4898 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4899 if test $ac_compiler_gnu = yes; then
4900 GCC=yes
4901 else
4902 GCC=
4904 ac_test_CFLAGS=${CFLAGS+set}
4905 ac_save_CFLAGS=$CFLAGS
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4907 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4908 if ${ac_cv_prog_cc_g+:} false; then :
4909 $as_echo_n "(cached) " >&6
4910 else
4911 ac_save_c_werror_flag=$ac_c_werror_flag
4912 ac_c_werror_flag=yes
4913 ac_cv_prog_cc_g=no
4914 CFLAGS="-g"
4915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4916 /* end confdefs.h. */
4919 main ()
4923 return 0;
4925 _ACEOF
4926 if ac_fn_c_try_compile "$LINENO"; then :
4927 ac_cv_prog_cc_g=yes
4928 else
4929 CFLAGS=""
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4934 main ()
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"; then :
4943 else
4944 ac_c_werror_flag=$ac_save_c_werror_flag
4945 CFLAGS="-g"
4946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4950 main ()
4954 return 0;
4956 _ACEOF
4957 if ac_fn_c_try_compile "$LINENO"; then :
4958 ac_cv_prog_cc_g=yes
4960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4965 ac_c_werror_flag=$ac_save_c_werror_flag
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4968 $as_echo "$ac_cv_prog_cc_g" >&6; }
4969 if test "$ac_test_CFLAGS" = set; then
4970 CFLAGS=$ac_save_CFLAGS
4971 elif test $ac_cv_prog_cc_g = yes; then
4972 if test "$GCC" = yes; then
4973 CFLAGS="-g -O2"
4974 else
4975 CFLAGS="-g"
4977 else
4978 if test "$GCC" = yes; then
4979 CFLAGS="-O2"
4980 else
4981 CFLAGS=
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4985 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4986 if ${ac_cv_prog_cc_c89+:} false; then :
4987 $as_echo_n "(cached) " >&6
4988 else
4989 ac_cv_prog_cc_c89=no
4990 ac_save_CC=$CC
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4993 #include <stdarg.h>
4994 #include <stdio.h>
4995 struct stat;
4996 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4997 struct buf { int x; };
4998 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4999 static char *e (p, i)
5000 char **p;
5001 int i;
5003 return p[i];
5005 static char *f (char * (*g) (char **, int), char **p, ...)
5007 char *s;
5008 va_list v;
5009 va_start (v,p);
5010 s = g (p, va_arg (v,int));
5011 va_end (v);
5012 return s;
5015 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5016 function prototypes and stuff, but not '\xHH' hex character constants.
5017 These don't provoke an error unfortunately, instead are silently treated
5018 as 'x'. The following induces an error, until -std is added to get
5019 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5020 array size at least. It's necessary to write '\x00'==0 to get something
5021 that's true only with -std. */
5022 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5024 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5025 inside strings and character constants. */
5026 #define FOO(x) 'x'
5027 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5029 int test (int i, double x);
5030 struct s1 {int (*f) (int a);};
5031 struct s2 {int (*f) (double a);};
5032 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5033 int argc;
5034 char **argv;
5036 main ()
5038 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5040 return 0;
5042 _ACEOF
5043 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5044 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5046 CC="$ac_save_CC $ac_arg"
5047 if ac_fn_c_try_compile "$LINENO"; then :
5048 ac_cv_prog_cc_c89=$ac_arg
5050 rm -f core conftest.err conftest.$ac_objext
5051 test "x$ac_cv_prog_cc_c89" != "xno" && break
5052 done
5053 rm -f conftest.$ac_ext
5054 CC=$ac_save_CC
5057 # AC_CACHE_VAL
5058 case "x$ac_cv_prog_cc_c89" in
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5061 $as_echo "none needed" >&6; } ;;
5062 xno)
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5064 $as_echo "unsupported" >&6; } ;;
5066 CC="$CC $ac_cv_prog_cc_c89"
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5068 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5069 esac
5070 if test "x$ac_cv_prog_cc_c89" != xno; then :
5074 ac_ext=c
5075 ac_cpp='$CPP $CPPFLAGS'
5076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5080 ac_ext=cpp
5081 ac_cpp='$CXXCPP $CPPFLAGS'
5082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5085 if test -z "$CXX"; then
5086 if test -n "$CCC"; then
5087 CXX=$CCC
5088 else
5089 if test -n "$ac_tool_prefix"; then
5090 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5092 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5093 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_CXX+:} false; then :
5097 $as_echo_n "(cached) " >&6
5098 else
5099 if test -n "$CXX"; then
5100 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5101 else
5102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 for as_dir in $PATH
5105 IFS=$as_save_IFS
5106 test -z "$as_dir" && as_dir=.
5107 for ac_exec_ext in '' $ac_executable_extensions; do
5108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5109 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 break 2
5113 done
5114 done
5115 IFS=$as_save_IFS
5119 CXX=$ac_cv_prog_CXX
5120 if test -n "$CXX"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5122 $as_echo "$CXX" >&6; }
5123 else
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5129 test -n "$CXX" && break
5130 done
5132 if test -z "$CXX"; then
5133 ac_ct_CXX=$CXX
5134 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5136 # Extract the first word of "$ac_prog", so it can be a program name with args.
5137 set dummy $ac_prog; ac_word=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5141 $as_echo_n "(cached) " >&6
5142 else
5143 if test -n "$ac_ct_CXX"; then
5144 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5145 else
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH
5149 IFS=$as_save_IFS
5150 test -z "$as_dir" && as_dir=.
5151 for ac_exec_ext in '' $ac_executable_extensions; do
5152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5153 ac_cv_prog_ac_ct_CXX="$ac_prog"
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 break 2
5157 done
5158 done
5159 IFS=$as_save_IFS
5163 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5164 if test -n "$ac_ct_CXX"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5166 $as_echo "$ac_ct_CXX" >&6; }
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5173 test -n "$ac_ct_CXX" && break
5174 done
5176 if test "x$ac_ct_CXX" = x; then
5177 CXX="g++"
5178 else
5179 case $cross_compiling:$ac_tool_warned in
5180 yes:)
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5183 ac_tool_warned=yes ;;
5184 esac
5185 CXX=$ac_ct_CXX
5191 # Provide some information about the compiler.
5192 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5193 set X $ac_compile
5194 ac_compiler=$2
5195 for ac_option in --version -v -V -qversion; do
5196 { { ac_try="$ac_compiler $ac_option >&5"
5197 case "(($ac_try" in
5198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5199 *) ac_try_echo=$ac_try;;
5200 esac
5201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5202 $as_echo "$ac_try_echo"; } >&5
5203 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5204 ac_status=$?
5205 if test -s conftest.err; then
5206 sed '10a\
5207 ... rest of stderr output deleted ...
5208 10q' conftest.err >conftest.er1
5209 cat conftest.er1 >&5
5211 rm -f conftest.er1 conftest.err
5212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5213 test $ac_status = 0; }
5214 done
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5217 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5218 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5219 $as_echo_n "(cached) " >&6
5220 else
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5225 main ()
5227 #ifndef __GNUC__
5228 choke me
5229 #endif
5232 return 0;
5234 _ACEOF
5235 if ac_fn_cxx_try_compile "$LINENO"; then :
5236 ac_compiler_gnu=yes
5237 else
5238 ac_compiler_gnu=no
5240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5241 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5245 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5246 if test $ac_compiler_gnu = yes; then
5247 GXX=yes
5248 else
5249 GXX=
5251 ac_test_CXXFLAGS=${CXXFLAGS+set}
5252 ac_save_CXXFLAGS=$CXXFLAGS
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5254 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5255 if ${ac_cv_prog_cxx_g+:} false; then :
5256 $as_echo_n "(cached) " >&6
5257 else
5258 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5259 ac_cxx_werror_flag=yes
5260 ac_cv_prog_cxx_g=no
5261 CXXFLAGS="-g"
5262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5263 /* end confdefs.h. */
5266 main ()
5270 return 0;
5272 _ACEOF
5273 if ac_fn_cxx_try_compile "$LINENO"; then :
5274 ac_cv_prog_cxx_g=yes
5275 else
5276 CXXFLAGS=""
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5281 main ()
5285 return 0;
5287 _ACEOF
5288 if ac_fn_cxx_try_compile "$LINENO"; then :
5290 else
5291 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5292 CXXFLAGS="-g"
5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5297 main ()
5301 return 0;
5303 _ACEOF
5304 if ac_fn_cxx_try_compile "$LINENO"; then :
5305 ac_cv_prog_cxx_g=yes
5307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5312 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5315 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5316 if test "$ac_test_CXXFLAGS" = set; then
5317 CXXFLAGS=$ac_save_CXXFLAGS
5318 elif test $ac_cv_prog_cxx_g = yes; then
5319 if test "$GXX" = yes; then
5320 CXXFLAGS="-g -O2"
5321 else
5322 CXXFLAGS="-g"
5324 else
5325 if test "$GXX" = yes; then
5326 CXXFLAGS="-O2"
5327 else
5328 CXXFLAGS=
5331 ac_ext=c
5332 ac_cpp='$CPP $CPPFLAGS'
5333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5337 if test -n "$ac_tool_prefix"; then
5338 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5339 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5341 $as_echo_n "checking for $ac_word... " >&6; }
5342 if ${ac_cv_prog_CPPBIN+:} false; then :
5343 $as_echo_n "(cached) " >&6
5344 else
5345 if test -n "$CPPBIN"; then
5346 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5347 else
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $PATH
5351 IFS=$as_save_IFS
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 break 2
5359 done
5360 done
5361 IFS=$as_save_IFS
5365 CPPBIN=$ac_cv_prog_CPPBIN
5366 if test -n "$CPPBIN"; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5368 $as_echo "$CPPBIN" >&6; }
5369 else
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5371 $as_echo "no" >&6; }
5376 if test -z "$ac_cv_prog_CPPBIN"; then
5377 ac_ct_CPPBIN=$CPPBIN
5378 # Extract the first word of "cpp", so it can be a program name with args.
5379 set dummy cpp; 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_ac_ct_CPPBIN+:} false; then :
5383 $as_echo_n "(cached) " >&6
5384 else
5385 if test -n "$ac_ct_CPPBIN"; then
5386 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # 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_ac_ct_CPPBIN="cpp"
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 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5406 if test -n "$ac_ct_CPPBIN"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5408 $as_echo "$ac_ct_CPPBIN" >&6; }
5409 else
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }
5414 if test "x$ac_ct_CPPBIN" = x; then
5415 CPPBIN="cpp"
5416 else
5417 case $cross_compiling:$ac_tool_warned in
5418 yes:)
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5421 ac_tool_warned=yes ;;
5422 esac
5423 CPPBIN=$ac_ct_CPPBIN
5425 else
5426 CPPBIN="$ac_cv_prog_CPPBIN"
5430 cat >>confdefs.h <<_ACEOF
5431 #define EXEEXT "$ac_exeext"
5432 _ACEOF
5434 if test -n "$ac_tool_prefix"; then
5435 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5436 set dummy ${ac_tool_prefix}ld; ac_word=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_prog_LD+:} false; then :
5440 $as_echo_n "(cached) " >&6
5441 else
5442 if test -n "$LD"; then
5443 ac_cv_prog_LD="$LD" # Let the user override the test.
5444 else
5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 for as_dir in $PATH
5448 IFS=$as_save_IFS
5449 test -z "$as_dir" && as_dir=.
5450 for ac_exec_ext in '' $ac_executable_extensions; do
5451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5452 ac_cv_prog_LD="${ac_tool_prefix}ld"
5453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 break 2
5456 done
5457 done
5458 IFS=$as_save_IFS
5462 LD=$ac_cv_prog_LD
5463 if test -n "$LD"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5465 $as_echo "$LD" >&6; }
5466 else
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5473 if test -z "$ac_cv_prog_LD"; then
5474 ac_ct_LD=$LD
5475 # Extract the first word of "ld", so it can be a program name with args.
5476 set dummy ld; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 if test -n "$ac_ct_LD"; then
5483 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_ac_ct_LD="ld"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5496 done
5497 done
5498 IFS=$as_save_IFS
5502 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5503 if test -n "$ac_ct_LD"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5505 $as_echo "$ac_ct_LD" >&6; }
5506 else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5511 if test "x$ac_ct_LD" = x; then
5512 LD=""
5513 else
5514 case $cross_compiling:$ac_tool_warned in
5515 yes:)
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5518 ac_tool_warned=yes ;;
5519 esac
5520 LD=$ac_ct_LD
5522 else
5523 LD="$ac_cv_prog_LD"
5527 case $host in
5528 *-darwin*)
5529 with_fontconfig=${with_fontconfig:-no}
5531 *-mingw32*|*-cygwin*)
5532 enable_win16=${enable_win16:-no}
5533 with_mingw=${with_mingw:-no}
5534 CFLAGS="$CFLAGS -D_WIN32"
5536 esac
5538 case $host in
5539 x86_64*|amd64*)
5540 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5541 then
5542 CC="$CC -m32"
5543 CXX="$CXX -m32"
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5546 $as_echo_n "checking whether $CC works... " >&6; }
5547 if ${wine_cv_cc_m32+:} false; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5554 main ()
5558 return 0;
5560 _ACEOF
5561 if ac_fn_c_try_link "$LINENO"; then :
5562 wine_cv_cc_m32=yes
5563 else
5564 wine_cv_cc_m32=no
5566 rm -f core conftest.err conftest.$ac_objext \
5567 conftest$ac_exeext conftest.$ac_ext
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5570 $as_echo "$wine_cv_cc_m32" >&6; }
5571 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5572 host_cpu="i386"
5573 notice_platform="32-bit "
5574 TARGETFLAGS="-m32"
5576 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5577 export PKG_CONFIG_PATH
5578 enable_win16=${enable_win16:-yes}
5579 else
5580 if test "x${GCC}" = "xyes"
5581 then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5583 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5584 if ${wine_cv_builtin_ms_va_list+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5589 #include <stdarg.h>
5591 main ()
5593 void func(__builtin_ms_va_list *args);
5595 return 0;
5597 _ACEOF
5598 if ac_fn_c_try_compile "$LINENO"; then :
5599 wine_cv_builtin_ms_va_list=yes
5600 else
5601 wine_cv_builtin_ms_va_list=no
5603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5606 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5607 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5609 CC="$CC -m64"
5610 CXX="$CXX -m64"
5611 host_cpu="x86_64"
5612 notice_platform="64-bit "
5613 TARGETFLAGS="-m64"
5617 arm*)
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5619 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5620 if ${wine_cv_thumb+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5625 int ac_test(int i) { return i; }
5627 main ()
5629 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5631 return 0;
5633 _ACEOF
5634 if ac_fn_c_try_link "$LINENO"; then :
5635 wine_cv_thumb=yes
5636 else
5637 wine_cv_thumb=no
5639 rm -f core conftest.err conftest.$ac_objext \
5640 conftest$ac_exeext conftest.$ac_ext
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5643 $as_echo "$wine_cv_thumb" >&6; }
5644 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5645 case $with_float_abi in
5646 soft|softfp|hard)
5647 float_abi=$with_float_abi ;;
5649 case $host_os in
5650 *eabihf)
5651 float_abi=hard ;;
5653 float_abi=softfp
5654 saved_CFLAGS=$CFLAGS
5655 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5657 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5658 if ${wine_cv_float_abi+:} false; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5665 main ()
5667 asm("vmrs r2,fpscr");
5669 return 0;
5671 _ACEOF
5672 if ac_fn_c_try_link "$LINENO"; then :
5673 wine_cv_float_abi=yes
5674 else
5675 wine_cv_float_abi=no
5677 rm -f core conftest.err conftest.$ac_objext \
5678 conftest$ac_exeext conftest.$ac_ext
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5681 $as_echo "$wine_cv_float_abi" >&6; }
5682 if test $wine_cv_float_abi = no
5683 then
5684 float_abi=soft
5685 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5687 CFLAGS=$saved_CFLAGS
5688 esac
5690 esac
5691 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5692 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5695 aarch64*)
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5697 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5698 if ${wine_cv_builtin_ms_va_list+:} false; then :
5699 $as_echo_n "(cached) " >&6
5700 else
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5703 #include <stdarg.h>
5705 main ()
5707 void func(__builtin_ms_va_list *args);
5709 return 0;
5711 _ACEOF
5712 if ac_fn_c_try_compile "$LINENO"; then :
5713 wine_cv_builtin_ms_va_list=yes
5714 else
5715 wine_cv_builtin_ms_va_list=no
5717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5720 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5721 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5723 i[3456789]86*)
5724 enable_win16=${enable_win16:-yes}
5726 esac
5728 enable_win16=${enable_win16:-no}
5729 enable_win64=${enable_win64:-no}
5731 enable_winetest=${enable_winetest:-$enable_tests}
5733 if test "x$enable_win64" = "xyes"
5734 then
5735 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5736 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5737 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5741 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5742 if ${wine_cv_toolsdir+:} false; then :
5743 $as_echo_n "(cached) " >&6
5744 else
5745 wine_cv_toolsdir="$with_wine_tools"
5746 if test -z "$with_wine_tools"; then
5747 if test "$cross_compiling" = "yes"; then
5748 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5749 elif test -n "$with_wine64"; then
5750 wine_cv_toolsdir="$with_wine64"
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5755 $as_echo "$wine_cv_toolsdir" >&6; }
5756 if test -z "$wine_cv_toolsdir"; then
5757 wine_makedep=tools/makedep
5758 TOOLSDIR="\$(top_builddir)"
5760 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5761 wine_makedep=$wine_cv_toolsdir/tools/makedep
5762 case "$wine_cv_toolsdir" in
5763 /*) TOOLSDIR=$wine_cv_toolsdir
5765 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5767 esac
5768 enable_tools=${enable_tools:-no}
5769 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5770 else
5771 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5773 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5774 then
5775 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5779 for ac_prog in flex
5781 # Extract the first word of "$ac_prog", so it can be a program name with args.
5782 set dummy $ac_prog; ac_word=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if ${ac_cv_prog_FLEX+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 if test -n "$FLEX"; then
5789 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5790 else
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 for as_dir in $PATH
5794 IFS=$as_save_IFS
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5798 ac_cv_prog_FLEX="$ac_prog"
5799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5800 break 2
5802 done
5803 done
5804 IFS=$as_save_IFS
5808 FLEX=$ac_cv_prog_FLEX
5809 if test -n "$FLEX"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5811 $as_echo "$FLEX" >&6; }
5812 else
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5818 test -n "$FLEX" && break
5819 done
5820 test -n "$FLEX" || FLEX="none"
5822 if test "$FLEX" = "none"
5823 then
5824 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5827 $as_echo_n "checking whether flex is recent enough... " >&6; }
5828 if ${wine_cv_recent_flex+:} false; then :
5829 $as_echo_n "(cached) " >&6
5830 else
5831 cat >conftest.l <<EOF
5832 %top{
5833 #include "prediluvian.h"
5837 if $FLEX -t conftest.l >/dev/null 2>&5
5838 then
5839 wine_cv_recent_flex=yes
5840 else
5841 wine_cv_recent_flex=no
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5845 $as_echo "$wine_cv_recent_flex" >&6; }
5846 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5848 for ac_prog in bison
5850 # Extract the first word of "$ac_prog", so it can be a program name with args.
5851 set dummy $ac_prog; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_BISON+:} false; then :
5855 $as_echo_n "(cached) " >&6
5856 else
5857 if test -n "$BISON"; then
5858 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5863 IFS=$as_save_IFS
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_BISON="$ac_prog"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 break 2
5871 done
5872 done
5873 IFS=$as_save_IFS
5877 BISON=$ac_cv_prog_BISON
5878 if test -n "$BISON"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5880 $as_echo "$BISON" >&6; }
5881 else
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5887 test -n "$BISON" && break
5888 done
5889 test -n "$BISON" || BISON="none"
5891 if test "$BISON" = "none"
5892 then
5893 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5896 if test -n "$ac_tool_prefix"; then
5897 for ac_prog in ar gar
5899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if ${ac_cv_prog_AR+:} false; then :
5904 $as_echo_n "(cached) " >&6
5905 else
5906 if test -n "$AR"; then
5907 ac_cv_prog_AR="$AR" # Let the user override the test.
5908 else
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 for as_dir in $PATH
5912 IFS=$as_save_IFS
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 break 2
5920 done
5921 done
5922 IFS=$as_save_IFS
5926 AR=$ac_cv_prog_AR
5927 if test -n "$AR"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5929 $as_echo "$AR" >&6; }
5930 else
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5936 test -n "$AR" && break
5937 done
5939 if test -z "$AR"; then
5940 ac_ct_AR=$AR
5941 for ac_prog in ar gar
5943 # Extract the first word of "$ac_prog", so it can be a program name with args.
5944 set dummy $ac_prog; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 if test -n "$ac_ct_AR"; then
5951 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5952 else
5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 for as_dir in $PATH
5956 IFS=$as_save_IFS
5957 test -z "$as_dir" && as_dir=.
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5960 ac_cv_prog_ac_ct_AR="$ac_prog"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 break 2
5964 done
5965 done
5966 IFS=$as_save_IFS
5970 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5971 if test -n "$ac_ct_AR"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5973 $as_echo "$ac_ct_AR" >&6; }
5974 else
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5980 test -n "$ac_ct_AR" && break
5981 done
5983 if test "x$ac_ct_AR" = x; then
5984 AR="ar"
5985 else
5986 case $cross_compiling:$ac_tool_warned in
5987 yes:)
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5990 ac_tool_warned=yes ;;
5991 esac
5992 AR=$ac_ct_AR
5996 if test -n "$ac_tool_prefix"; then
5997 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5998 set dummy ${ac_tool_prefix}strip; ac_word=$2
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6000 $as_echo_n "checking for $ac_word... " >&6; }
6001 if ${ac_cv_prog_STRIP+:} false; then :
6002 $as_echo_n "(cached) " >&6
6003 else
6004 if test -n "$STRIP"; then
6005 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6006 else
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in $PATH
6010 IFS=$as_save_IFS
6011 test -z "$as_dir" && as_dir=.
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6014 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 break 2
6018 done
6019 done
6020 IFS=$as_save_IFS
6024 STRIP=$ac_cv_prog_STRIP
6025 if test -n "$STRIP"; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6027 $as_echo "$STRIP" >&6; }
6028 else
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6030 $as_echo "no" >&6; }
6035 if test -z "$ac_cv_prog_STRIP"; then
6036 ac_ct_STRIP=$STRIP
6037 # Extract the first word of "strip", so it can be a program name with args.
6038 set dummy strip; ac_word=$2
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6040 $as_echo_n "checking for $ac_word... " >&6; }
6041 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 if test -n "$ac_ct_STRIP"; then
6045 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6046 else
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 for as_dir in $PATH
6050 IFS=$as_save_IFS
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6054 ac_cv_prog_ac_ct_STRIP="strip"
6055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 break 2
6058 done
6059 done
6060 IFS=$as_save_IFS
6064 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6065 if test -n "$ac_ct_STRIP"; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6067 $as_echo "$ac_ct_STRIP" >&6; }
6068 else
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6070 $as_echo "no" >&6; }
6073 if test "x$ac_ct_STRIP" = x; then
6074 STRIP="strip"
6075 else
6076 case $cross_compiling:$ac_tool_warned in
6077 yes:)
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6080 ac_tool_warned=yes ;;
6081 esac
6082 STRIP=$ac_ct_STRIP
6084 else
6085 STRIP="$ac_cv_prog_STRIP"
6088 if test -n "$ac_tool_prefix"; then
6089 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6090 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092 $as_echo_n "checking for $ac_word... " >&6; }
6093 if ${ac_cv_prog_RANLIB+:} false; then :
6094 $as_echo_n "(cached) " >&6
6095 else
6096 if test -n "$RANLIB"; then
6097 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6098 else
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH
6102 IFS=$as_save_IFS
6103 test -z "$as_dir" && as_dir=.
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6106 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 break 2
6110 done
6111 done
6112 IFS=$as_save_IFS
6116 RANLIB=$ac_cv_prog_RANLIB
6117 if test -n "$RANLIB"; then
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6119 $as_echo "$RANLIB" >&6; }
6120 else
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 $as_echo "no" >&6; }
6127 if test -z "$ac_cv_prog_RANLIB"; then
6128 ac_ct_RANLIB=$RANLIB
6129 # Extract the first word of "ranlib", so it can be a program name with args.
6130 set dummy ranlib; ac_word=$2
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6132 $as_echo_n "checking for $ac_word... " >&6; }
6133 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6134 $as_echo_n "(cached) " >&6
6135 else
6136 if test -n "$ac_ct_RANLIB"; then
6137 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6138 else
6139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 for as_dir in $PATH
6142 IFS=$as_save_IFS
6143 test -z "$as_dir" && as_dir=.
6144 for ac_exec_ext in '' $ac_executable_extensions; do
6145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6146 ac_cv_prog_ac_ct_RANLIB="ranlib"
6147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6148 break 2
6150 done
6151 done
6152 IFS=$as_save_IFS
6156 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6157 if test -n "$ac_ct_RANLIB"; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6159 $as_echo "$ac_ct_RANLIB" >&6; }
6160 else
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6162 $as_echo "no" >&6; }
6165 if test "x$ac_ct_RANLIB" = x; then
6166 RANLIB=":"
6167 else
6168 case $cross_compiling:$ac_tool_warned in
6169 yes:)
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6172 ac_tool_warned=yes ;;
6173 esac
6174 RANLIB=$ac_ct_RANLIB
6176 else
6177 RANLIB="$ac_cv_prog_RANLIB"
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6181 $as_echo_n "checking whether ln -s works... " >&6; }
6182 LN_S=$as_ln_s
6183 if test "$LN_S" = "ln -s"; then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6185 $as_echo "yes" >&6; }
6186 else
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6188 $as_echo "no, using $LN_S" >&6; }
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6192 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6193 if ${ac_cv_path_GREP+:} false; then :
6194 $as_echo_n "(cached) " >&6
6195 else
6196 if test -z "$GREP"; then
6197 ac_path_GREP_found=false
6198 # Loop through the user's path and test for each of PROGNAME-LIST
6199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6202 IFS=$as_save_IFS
6203 test -z "$as_dir" && as_dir=.
6204 for ac_prog in grep ggrep; do
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6207 as_fn_executable_p "$ac_path_GREP" || continue
6208 # Check for GNU ac_path_GREP and select it if it is found.
6209 # Check for GNU $ac_path_GREP
6210 case `"$ac_path_GREP" --version 2>&1` in
6211 *GNU*)
6212 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6214 ac_count=0
6215 $as_echo_n 0123456789 >"conftest.in"
6216 while :
6218 cat "conftest.in" "conftest.in" >"conftest.tmp"
6219 mv "conftest.tmp" "conftest.in"
6220 cp "conftest.in" "conftest.nl"
6221 $as_echo 'GREP' >> "conftest.nl"
6222 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6223 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6224 as_fn_arith $ac_count + 1 && ac_count=$as_val
6225 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6226 # Best one so far, save it but keep looking for a better one
6227 ac_cv_path_GREP="$ac_path_GREP"
6228 ac_path_GREP_max=$ac_count
6230 # 10*(2^10) chars as input seems more than enough
6231 test $ac_count -gt 10 && break
6232 done
6233 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6234 esac
6236 $ac_path_GREP_found && break 3
6237 done
6238 done
6239 done
6240 IFS=$as_save_IFS
6241 if test -z "$ac_cv_path_GREP"; then
6242 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6244 else
6245 ac_cv_path_GREP=$GREP
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6250 $as_echo "$ac_cv_path_GREP" >&6; }
6251 GREP="$ac_cv_path_GREP"
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6255 $as_echo_n "checking for egrep... " >&6; }
6256 if ${ac_cv_path_EGREP+:} false; then :
6257 $as_echo_n "(cached) " >&6
6258 else
6259 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6260 then ac_cv_path_EGREP="$GREP -E"
6261 else
6262 if test -z "$EGREP"; then
6263 ac_path_EGREP_found=false
6264 # Loop through the user's path and test for each of PROGNAME-LIST
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6268 IFS=$as_save_IFS
6269 test -z "$as_dir" && as_dir=.
6270 for ac_prog in egrep; do
6271 for ac_exec_ext in '' $ac_executable_extensions; do
6272 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6273 as_fn_executable_p "$ac_path_EGREP" || continue
6274 # Check for GNU ac_path_EGREP and select it if it is found.
6275 # Check for GNU $ac_path_EGREP
6276 case `"$ac_path_EGREP" --version 2>&1` in
6277 *GNU*)
6278 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6280 ac_count=0
6281 $as_echo_n 0123456789 >"conftest.in"
6282 while :
6284 cat "conftest.in" "conftest.in" >"conftest.tmp"
6285 mv "conftest.tmp" "conftest.in"
6286 cp "conftest.in" "conftest.nl"
6287 $as_echo 'EGREP' >> "conftest.nl"
6288 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6289 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6290 as_fn_arith $ac_count + 1 && ac_count=$as_val
6291 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6292 # Best one so far, save it but keep looking for a better one
6293 ac_cv_path_EGREP="$ac_path_EGREP"
6294 ac_path_EGREP_max=$ac_count
6296 # 10*(2^10) chars as input seems more than enough
6297 test $ac_count -gt 10 && break
6298 done
6299 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6300 esac
6302 $ac_path_EGREP_found && break 3
6303 done
6304 done
6305 done
6306 IFS=$as_save_IFS
6307 if test -z "$ac_cv_path_EGREP"; then
6308 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6310 else
6311 ac_cv_path_EGREP=$EGREP
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6317 $as_echo "$ac_cv_path_EGREP" >&6; }
6318 EGREP="$ac_cv_path_EGREP"
6321 # Extract the first word of "ldconfig", so it can be a program name with args.
6322 set dummy ldconfig; ac_word=$2
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6324 $as_echo_n "checking for $ac_word... " >&6; }
6325 if ${ac_cv_path_LDCONFIG+:} false; then :
6326 $as_echo_n "(cached) " >&6
6327 else
6328 case $LDCONFIG in
6329 [\\/]* | ?:[\\/]*)
6330 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334 for as_dir in /sbin /usr/sbin $PATH
6336 IFS=$as_save_IFS
6337 test -z "$as_dir" && as_dir=.
6338 for ac_exec_ext in '' $ac_executable_extensions; do
6339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6340 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6342 break 2
6344 done
6345 done
6346 IFS=$as_save_IFS
6348 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6350 esac
6352 LDCONFIG=$ac_cv_path_LDCONFIG
6353 if test -n "$LDCONFIG"; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6355 $as_echo "$LDCONFIG" >&6; }
6356 else
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6358 $as_echo "no" >&6; }
6362 for ac_prog in msgfmt
6364 # Extract the first word of "$ac_prog", so it can be a program name with args.
6365 set dummy $ac_prog; ac_word=$2
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6367 $as_echo_n "checking for $ac_word... " >&6; }
6368 if ${ac_cv_prog_MSGFMT+:} false; then :
6369 $as_echo_n "(cached) " >&6
6370 else
6371 if test -n "$MSGFMT"; then
6372 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6373 else
6374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6375 for as_dir in $PATH
6377 IFS=$as_save_IFS
6378 test -z "$as_dir" && as_dir=.
6379 for ac_exec_ext in '' $ac_executable_extensions; do
6380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6381 ac_cv_prog_MSGFMT="$ac_prog"
6382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6383 break 2
6385 done
6386 done
6387 IFS=$as_save_IFS
6391 MSGFMT=$ac_cv_prog_MSGFMT
6392 if test -n "$MSGFMT"; then
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6394 $as_echo "$MSGFMT" >&6; }
6395 else
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6397 $as_echo "no" >&6; }
6401 test -n "$MSGFMT" && break
6402 done
6403 test -n "$MSGFMT" || MSGFMT="false"
6405 if ${ac_tool_prefix+:} false; then :
6406 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6407 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6411 $as_echo_n "(cached) " >&6
6412 else
6413 if test -n "$PKG_CONFIG"; then
6414 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6415 else
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH
6419 IFS=$as_save_IFS
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6423 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 break 2
6427 done
6428 done
6429 IFS=$as_save_IFS
6433 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6434 if test -n "$PKG_CONFIG"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6436 $as_echo "$PKG_CONFIG" >&6; }
6437 else
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6444 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6445 if test "x$cross_compiling" = xyes; then :
6447 else
6448 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6449 # Extract the first word of "pkg-config", so it can be a program name with args.
6450 set dummy pkg-config; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 $as_echo_n "checking for $ac_word... " >&6; }
6453 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6454 $as_echo_n "(cached) " >&6
6455 else
6456 if test -n "$PKG_CONFIG"; then
6457 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6458 else
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 for as_dir in $PATH
6462 IFS=$as_save_IFS
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6466 ac_cv_prog_PKG_CONFIG="pkg-config"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 break 2
6470 done
6471 done
6472 IFS=$as_save_IFS
6476 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6477 if test -n "$PKG_CONFIG"; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6479 $as_echo "$PKG_CONFIG" >&6; }
6480 else
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6482 $as_echo "no" >&6; }
6487 else
6488 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6491 if test "x$enable_maintainer_mode" != "xyes"
6492 then
6493 FONTFORGE=""
6494 RSVG=""
6495 CONVERT=""
6496 ICOTOOL=""
6497 else
6498 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6499 for ac_prog in fontforge
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_FONTFORGE+:} false; then :
6506 $as_echo_n "(cached) " >&6
6507 else
6508 if test -n "$FONTFORGE"; then
6509 ac_cv_prog_FONTFORGE="$FONTFORGE" # 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_FONTFORGE="$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 FONTFORGE=$ac_cv_prog_FONTFORGE
6529 if test -n "$FONTFORGE"; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6531 $as_echo "$FONTFORGE" >&6; }
6532 else
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6534 $as_echo "no" >&6; }
6538 test -n "$FONTFORGE" && break
6539 done
6540 test -n "$FONTFORGE" || FONTFORGE="false"
6542 for ac_prog in rsvg-convert rsvg
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_RSVG+:} false; then :
6549 $as_echo_n "(cached) " >&6
6550 else
6551 if test -n "$RSVG"; then
6552 ac_cv_prog_RSVG="$RSVG" # 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_RSVG="$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 RSVG=$ac_cv_prog_RSVG
6572 if test -n "$RSVG"; then
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6574 $as_echo "$RSVG" >&6; }
6575 else
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577 $as_echo "no" >&6; }
6581 test -n "$RSVG" && break
6582 done
6583 test -n "$RSVG" || RSVG="false"
6585 for ac_prog in convert
6587 # Extract the first word of "$ac_prog", so it can be a program name with args.
6588 set dummy $ac_prog; ac_word=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 $as_echo_n "checking for $ac_word... " >&6; }
6591 if ${ac_cv_prog_CONVERT+:} false; then :
6592 $as_echo_n "(cached) " >&6
6593 else
6594 if test -n "$CONVERT"; then
6595 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6596 else
6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598 for as_dir in $PATH
6600 IFS=$as_save_IFS
6601 test -z "$as_dir" && as_dir=.
6602 for ac_exec_ext in '' $ac_executable_extensions; do
6603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6604 ac_cv_prog_CONVERT="$ac_prog"
6605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6606 break 2
6608 done
6609 done
6610 IFS=$as_save_IFS
6614 CONVERT=$ac_cv_prog_CONVERT
6615 if test -n "$CONVERT"; then
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6617 $as_echo "$CONVERT" >&6; }
6618 else
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620 $as_echo "no" >&6; }
6624 test -n "$CONVERT" && break
6625 done
6626 test -n "$CONVERT" || CONVERT="false"
6628 for ac_prog in icotool
6630 # Extract the first word of "$ac_prog", so it can be a program name with args.
6631 set dummy $ac_prog; ac_word=$2
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633 $as_echo_n "checking for $ac_word... " >&6; }
6634 if ${ac_cv_prog_ICOTOOL+:} false; then :
6635 $as_echo_n "(cached) " >&6
6636 else
6637 if test -n "$ICOTOOL"; then
6638 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6639 else
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641 for as_dir in $PATH
6643 IFS=$as_save_IFS
6644 test -z "$as_dir" && as_dir=.
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_ICOTOOL="$ac_prog"
6648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649 break 2
6651 done
6652 done
6653 IFS=$as_save_IFS
6657 ICOTOOL=$ac_cv_prog_ICOTOOL
6658 if test -n "$ICOTOOL"; then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6660 $as_echo "$ICOTOOL" >&6; }
6661 else
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 $as_echo "no" >&6; }
6667 test -n "$ICOTOOL" && break
6668 done
6669 test -n "$ICOTOOL" || ICOTOOL="false"
6671 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6672 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6674 if test "$CONVERT" = false
6675 then
6676 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6679 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6680 convert_version=`convert --version | head -n1`
6681 if test "x$convert_version" != "x"
6682 then
6683 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6684 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6685 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6686 then
6687 CONVERT=false
6690 if test "$CONVERT" = false
6691 then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6693 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6694 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6695 else
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6697 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6701 if test "$ICOTOOL" = false
6702 then
6703 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6704 else
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6706 $as_echo_n "checking for recent enough icotool... " >&6; }
6707 icotool_version=`icotool --version | head -n1`
6708 if test "x$icotool_version" != "x"
6709 then
6710 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6711 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6712 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6713 then
6714 ICOTOOL=false
6715 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6718 if test "$ICOTOOL" = false
6719 then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6721 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6722 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6723 else
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6725 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6729 with_gettext=yes
6730 with_gettextpo=yes
6733 test "x$with_gettext" != xno || MSGFMT=false
6734 if test "$MSGFMT" != "false"
6735 then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6737 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6738 if ${wine_cv_msgfmt_contexts+:} false; then :
6739 $as_echo_n "(cached) " >&6
6740 else
6741 cat >conftest.po <<EOF
6742 # comment
6743 msgctxt "ctxt"
6744 msgid "id"
6745 msgstr "str"
6747 if $MSGFMT -o /dev/null conftest.po 2>&5
6748 then
6749 wine_cv_msgfmt_contexts=yes
6750 else
6751 wine_cv_msgfmt_contexts=no
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6755 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6756 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6758 if test "$MSGFMT" = false; then :
6759 case "x$with_gettext" in
6760 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6761 xno) ;;
6762 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6763 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6764 esac
6765 enable_po=${enable_po:-no}
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6770 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6771 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6772 $as_echo_n "(cached) " >&6
6773 else
6774 ac_check_lib_save_LIBS=$LIBS
6775 LIBS="-li386 $LIBS"
6776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6777 /* end confdefs.h. */
6779 /* Override any GCC internal prototype to avoid an error.
6780 Use char because int might match the return type of a GCC
6781 builtin and then its argument prototype would still apply. */
6782 #ifdef __cplusplus
6783 extern "C"
6784 #endif
6785 char i386_set_ldt ();
6787 main ()
6789 return i386_set_ldt ();
6791 return 0;
6793 _ACEOF
6794 if ac_fn_c_try_link "$LINENO"; then :
6795 ac_cv_lib_i386_i386_set_ldt=yes
6796 else
6797 ac_cv_lib_i386_i386_set_ldt=no
6799 rm -f core conftest.err conftest.$ac_objext \
6800 conftest$ac_exeext conftest.$ac_ext
6801 LIBS=$ac_check_lib_save_LIBS
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6804 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6805 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6806 cat >>confdefs.h <<_ACEOF
6807 #define HAVE_LIBI386 1
6808 _ACEOF
6810 LIBS="-li386 $LIBS"
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6815 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6816 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6817 $as_echo_n "(cached) " >&6
6818 else
6819 ac_check_lib_save_LIBS=$LIBS
6820 LIBS="-lossaudio $LIBS"
6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6824 /* Override any GCC internal prototype to avoid an error.
6825 Use char because int might match the return type of a GCC
6826 builtin and then its argument prototype would still apply. */
6827 #ifdef __cplusplus
6828 extern "C"
6829 #endif
6830 char _oss_ioctl ();
6832 main ()
6834 return _oss_ioctl ();
6836 return 0;
6838 _ACEOF
6839 if ac_fn_c_try_link "$LINENO"; then :
6840 ac_cv_lib_ossaudio__oss_ioctl=yes
6841 else
6842 ac_cv_lib_ossaudio__oss_ioctl=no
6844 rm -f core conftest.err conftest.$ac_objext \
6845 conftest$ac_exeext conftest.$ac_ext
6846 LIBS=$ac_check_lib_save_LIBS
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6849 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6850 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6851 cat >>confdefs.h <<_ACEOF
6852 #define HAVE_LIBOSSAUDIO 1
6853 _ACEOF
6855 LIBS="-lossaudio $LIBS"
6860 OPENGL_LIBS=""
6864 # Check whether --enable-largefile was given.
6865 if test "${enable_largefile+set}" = set; then :
6866 enableval=$enable_largefile;
6869 if test "$enable_largefile" != no; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6872 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6873 if ${ac_cv_sys_largefile_CC+:} false; then :
6874 $as_echo_n "(cached) " >&6
6875 else
6876 ac_cv_sys_largefile_CC=no
6877 if test "$GCC" != yes; then
6878 ac_save_CC=$CC
6879 while :; do
6880 # IRIX 6.2 and later do not support large files by default,
6881 # so use the C compiler's -n32 option if that helps.
6882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6883 /* end confdefs.h. */
6884 #include <sys/types.h>
6885 /* Check that off_t can represent 2**63 - 1 correctly.
6886 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6887 since some C++ compilers masquerading as C compilers
6888 incorrectly reject 9223372036854775807. */
6889 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6890 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6891 && LARGE_OFF_T % 2147483647 == 1)
6892 ? 1 : -1];
6894 main ()
6898 return 0;
6900 _ACEOF
6901 if ac_fn_c_try_compile "$LINENO"; then :
6902 break
6904 rm -f core conftest.err conftest.$ac_objext
6905 CC="$CC -n32"
6906 if ac_fn_c_try_compile "$LINENO"; then :
6907 ac_cv_sys_largefile_CC=' -n32'; break
6909 rm -f core conftest.err conftest.$ac_objext
6910 break
6911 done
6912 CC=$ac_save_CC
6913 rm -f conftest.$ac_ext
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6917 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6918 if test "$ac_cv_sys_largefile_CC" != no; then
6919 CC=$CC$ac_cv_sys_largefile_CC
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6923 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6924 if ${ac_cv_sys_file_offset_bits+:} false; then :
6925 $as_echo_n "(cached) " >&6
6926 else
6927 while :; do
6928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6929 /* end confdefs.h. */
6930 #include <sys/types.h>
6931 /* Check that off_t can represent 2**63 - 1 correctly.
6932 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6933 since some C++ compilers masquerading as C compilers
6934 incorrectly reject 9223372036854775807. */
6935 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6936 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6937 && LARGE_OFF_T % 2147483647 == 1)
6938 ? 1 : -1];
6940 main ()
6944 return 0;
6946 _ACEOF
6947 if ac_fn_c_try_compile "$LINENO"; then :
6948 ac_cv_sys_file_offset_bits=no; break
6950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6952 /* end confdefs.h. */
6953 #define _FILE_OFFSET_BITS 64
6954 #include <sys/types.h>
6955 /* Check that off_t can represent 2**63 - 1 correctly.
6956 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6957 since some C++ compilers masquerading as C compilers
6958 incorrectly reject 9223372036854775807. */
6959 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6960 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6961 && LARGE_OFF_T % 2147483647 == 1)
6962 ? 1 : -1];
6964 main ()
6968 return 0;
6970 _ACEOF
6971 if ac_fn_c_try_compile "$LINENO"; then :
6972 ac_cv_sys_file_offset_bits=64; break
6974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6975 ac_cv_sys_file_offset_bits=unknown
6976 break
6977 done
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6980 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6981 case $ac_cv_sys_file_offset_bits in #(
6982 no | unknown) ;;
6984 cat >>confdefs.h <<_ACEOF
6985 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6986 _ACEOF
6988 esac
6989 rm -rf conftest*
6990 if test $ac_cv_sys_file_offset_bits = unknown; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6992 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6993 if ${ac_cv_sys_large_files+:} false; then :
6994 $as_echo_n "(cached) " >&6
6995 else
6996 while :; do
6997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6998 /* end confdefs.h. */
6999 #include <sys/types.h>
7000 /* Check that off_t can represent 2**63 - 1 correctly.
7001 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7002 since some C++ compilers masquerading as C compilers
7003 incorrectly reject 9223372036854775807. */
7004 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7005 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7006 && LARGE_OFF_T % 2147483647 == 1)
7007 ? 1 : -1];
7009 main ()
7013 return 0;
7015 _ACEOF
7016 if ac_fn_c_try_compile "$LINENO"; then :
7017 ac_cv_sys_large_files=no; break
7019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7022 #define _LARGE_FILES 1
7023 #include <sys/types.h>
7024 /* Check that off_t can represent 2**63 - 1 correctly.
7025 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7026 since some C++ compilers masquerading as C compilers
7027 incorrectly reject 9223372036854775807. */
7028 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7029 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7030 && LARGE_OFF_T % 2147483647 == 1)
7031 ? 1 : -1];
7033 main ()
7037 return 0;
7039 _ACEOF
7040 if ac_fn_c_try_compile "$LINENO"; then :
7041 ac_cv_sys_large_files=1; break
7043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7044 ac_cv_sys_large_files=unknown
7045 break
7046 done
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7049 $as_echo "$ac_cv_sys_large_files" >&6; }
7050 case $ac_cv_sys_large_files in #(
7051 no | unknown) ;;
7053 cat >>confdefs.h <<_ACEOF
7054 #define _LARGE_FILES $ac_cv_sys_large_files
7055 _ACEOF
7057 esac
7058 rm -rf conftest*
7065 ac_ext=c
7066 ac_cpp='$CPP $CPPFLAGS'
7067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7071 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7072 # On Suns, sometimes $CPP names a directory.
7073 if test -n "$CPP" && test -d "$CPP"; then
7074 CPP=
7076 if test -z "$CPP"; then
7077 if ${ac_cv_prog_CPP+:} false; then :
7078 $as_echo_n "(cached) " >&6
7079 else
7080 # Double quotes because CPP needs to be expanded
7081 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7083 ac_preproc_ok=false
7084 for ac_c_preproc_warn_flag in '' yes
7086 # Use a header file that comes with gcc, so configuring glibc
7087 # with a fresh cross-compiler works.
7088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7089 # <limits.h> exists even on freestanding compilers.
7090 # On the NeXT, cc -E runs the code through the compiler's parser,
7091 # not just through cpp. "Syntax error" is here to catch this case.
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7093 /* end confdefs.h. */
7094 #ifdef __STDC__
7095 # include <limits.h>
7096 #else
7097 # include <assert.h>
7098 #endif
7099 Syntax error
7100 _ACEOF
7101 if ac_fn_c_try_cpp "$LINENO"; then :
7103 else
7104 # Broken: fails on valid input.
7105 continue
7107 rm -f conftest.err conftest.i conftest.$ac_ext
7109 # OK, works on sane cases. Now check whether nonexistent headers
7110 # can be detected and how.
7111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7112 /* end confdefs.h. */
7113 #include <ac_nonexistent.h>
7114 _ACEOF
7115 if ac_fn_c_try_cpp "$LINENO"; then :
7116 # Broken: success on invalid input.
7117 continue
7118 else
7119 # Passes both tests.
7120 ac_preproc_ok=:
7121 break
7123 rm -f conftest.err conftest.i conftest.$ac_ext
7125 done
7126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7127 rm -f conftest.i conftest.err conftest.$ac_ext
7128 if $ac_preproc_ok; then :
7129 break
7132 done
7133 ac_cv_prog_CPP=$CPP
7136 CPP=$ac_cv_prog_CPP
7137 else
7138 ac_cv_prog_CPP=$CPP
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7141 $as_echo "$CPP" >&6; }
7142 ac_preproc_ok=false
7143 for ac_c_preproc_warn_flag in '' yes
7145 # Use a header file that comes with gcc, so configuring glibc
7146 # with a fresh cross-compiler works.
7147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7148 # <limits.h> exists even on freestanding compilers.
7149 # On the NeXT, cc -E runs the code through the compiler's parser,
7150 # not just through cpp. "Syntax error" is here to catch this case.
7151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7152 /* end confdefs.h. */
7153 #ifdef __STDC__
7154 # include <limits.h>
7155 #else
7156 # include <assert.h>
7157 #endif
7158 Syntax error
7159 _ACEOF
7160 if ac_fn_c_try_cpp "$LINENO"; then :
7162 else
7163 # Broken: fails on valid input.
7164 continue
7166 rm -f conftest.err conftest.i conftest.$ac_ext
7168 # OK, works on sane cases. Now check whether nonexistent headers
7169 # can be detected and how.
7170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7171 /* end confdefs.h. */
7172 #include <ac_nonexistent.h>
7173 _ACEOF
7174 if ac_fn_c_try_cpp "$LINENO"; then :
7175 # Broken: success on invalid input.
7176 continue
7177 else
7178 # Passes both tests.
7179 ac_preproc_ok=:
7180 break
7182 rm -f conftest.err conftest.i conftest.$ac_ext
7184 done
7185 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7186 rm -f conftest.i conftest.err conftest.$ac_ext
7187 if $ac_preproc_ok; then :
7189 else
7190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7192 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7193 See \`config.log' for more details" "$LINENO" 5; }
7196 ac_ext=c
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7204 $as_echo_n "checking for ANSI C header files... " >&6; }
7205 if ${ac_cv_header_stdc+:} false; then :
7206 $as_echo_n "(cached) " >&6
7207 else
7208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209 /* end confdefs.h. */
7210 #include <stdlib.h>
7211 #include <stdarg.h>
7212 #include <string.h>
7213 #include <float.h>
7216 main ()
7220 return 0;
7222 _ACEOF
7223 if ac_fn_c_try_compile "$LINENO"; then :
7224 ac_cv_header_stdc=yes
7225 else
7226 ac_cv_header_stdc=no
7228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7230 if test $ac_cv_header_stdc = yes; then
7231 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7233 /* end confdefs.h. */
7234 #include <string.h>
7236 _ACEOF
7237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7238 $EGREP "memchr" >/dev/null 2>&1; then :
7240 else
7241 ac_cv_header_stdc=no
7243 rm -f conftest*
7247 if test $ac_cv_header_stdc = yes; then
7248 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7250 /* end confdefs.h. */
7251 #include <stdlib.h>
7253 _ACEOF
7254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7255 $EGREP "free" >/dev/null 2>&1; then :
7257 else
7258 ac_cv_header_stdc=no
7260 rm -f conftest*
7264 if test $ac_cv_header_stdc = yes; then
7265 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7266 if test "$cross_compiling" = yes; then :
7268 else
7269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7271 #include <ctype.h>
7272 #include <stdlib.h>
7273 #if ((' ' & 0x0FF) == 0x020)
7274 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7275 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7276 #else
7277 # define ISLOWER(c) \
7278 (('a' <= (c) && (c) <= 'i') \
7279 || ('j' <= (c) && (c) <= 'r') \
7280 || ('s' <= (c) && (c) <= 'z'))
7281 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7282 #endif
7284 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7286 main ()
7288 int i;
7289 for (i = 0; i < 256; i++)
7290 if (XOR (islower (i), ISLOWER (i))
7291 || toupper (i) != TOUPPER (i))
7292 return 2;
7293 return 0;
7295 _ACEOF
7296 if ac_fn_c_try_run "$LINENO"; then :
7298 else
7299 ac_cv_header_stdc=no
7301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7302 conftest.$ac_objext conftest.beam conftest.$ac_ext
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7308 $as_echo "$ac_cv_header_stdc" >&6; }
7309 if test $ac_cv_header_stdc = yes; then
7311 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7315 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7316 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7317 inttypes.h stdint.h unistd.h
7318 do :
7319 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7320 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7322 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7323 cat >>confdefs.h <<_ACEOF
7324 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7325 _ACEOF
7329 done
7332 for ac_header in \
7333 AL/al.h \
7334 ApplicationServices/ApplicationServices.h \
7335 AudioToolbox/AudioConverter.h \
7336 AudioUnit/AudioUnit.h \
7337 AudioUnit/AudioComponent.h \
7338 CL/cl.h \
7339 Carbon/Carbon.h \
7340 CommonCrypto/CommonCryptor.h \
7341 CoreAudio/CoreAudio.h \
7342 CoreServices/CoreServices.h \
7343 DiskArbitration/DiskArbitration.h \
7344 EGL/egl.h \
7345 IOKit/IOKitLib.h \
7346 IOKit/hid/IOHIDLib.h \
7347 OpenAL/al.h \
7348 OpenCL/opencl.h \
7349 QuickTime/ImageCompression.h \
7350 Security/Security.h \
7351 alias.h \
7352 arpa/inet.h \
7353 arpa/nameser.h \
7354 asm/types.h \
7355 asm/user.h \
7356 curses.h \
7357 dirent.h \
7358 dlfcn.h \
7359 elf.h \
7360 float.h \
7361 fnmatch.h \
7362 getopt.h \
7363 gettext-po.h \
7364 grp.h \
7365 gsm.h \
7366 gsm/gsm.h \
7367 ieeefp.h \
7368 inet/mib2.h \
7369 kstat.h \
7370 libproc.h \
7371 link.h \
7372 linux/cdrom.h \
7373 linux/compiler.h \
7374 linux/filter.h \
7375 linux/hdreg.h \
7376 linux/hidraw.h \
7377 linux/input.h \
7378 linux/ioctl.h \
7379 linux/joystick.h \
7380 linux/major.h \
7381 linux/param.h \
7382 linux/serial.h \
7383 linux/types.h \
7384 linux/ucdrom.h \
7385 lwp.h \
7386 mach-o/nlist.h \
7387 mach-o/loader.h \
7388 mach/mach.h \
7389 mach/machine.h \
7390 machine/cpu.h \
7391 machine/limits.h \
7392 machine/sysarch.h \
7393 mntent.h \
7394 ncurses.h \
7395 netdb.h \
7396 netinet/in.h \
7397 netinet/in_systm.h \
7398 netinet/tcp.h \
7399 netinet/tcp_fsm.h \
7400 pcap/pcap.h \
7401 poll.h \
7402 port.h \
7403 pthread.h \
7404 pwd.h \
7405 sched.h \
7406 scsi/scsi.h \
7407 scsi/scsi_ioctl.h \
7408 scsi/sg.h \
7409 stdbool.h \
7410 stdint.h \
7411 stropts.h \
7412 sys/attr.h \
7413 sys/auxv.h \
7414 sys/cdio.h \
7415 sys/elf32.h \
7416 sys/epoll.h \
7417 sys/event.h \
7418 sys/exec_elf.h \
7419 sys/filio.h \
7420 sys/ioctl.h \
7421 sys/ipc.h \
7422 sys/limits.h \
7423 sys/link.h \
7424 sys/mman.h \
7425 sys/modem.h \
7426 sys/msg.h \
7427 sys/mtio.h \
7428 sys/param.h \
7429 sys/poll.h \
7430 sys/prctl.h \
7431 sys/protosw.h \
7432 sys/ptrace.h \
7433 sys/queue.h \
7434 sys/resource.h \
7435 sys/scsiio.h \
7436 sys/shm.h \
7437 sys/signal.h \
7438 sys/socket.h \
7439 sys/socketvar.h \
7440 sys/sockio.h \
7441 sys/statvfs.h \
7442 sys/strtio.h \
7443 sys/syscall.h \
7444 sys/sysinfo.h \
7445 sys/tihdr.h \
7446 sys/time.h \
7447 sys/timeout.h \
7448 sys/times.h \
7449 sys/uio.h \
7450 sys/user.h \
7451 sys/utsname.h \
7452 sys/vnode.h \
7453 sys/wait.h \
7454 syscall.h \
7455 termios.h \
7456 unistd.h \
7457 utime.h \
7458 valgrind/memcheck.h \
7459 valgrind/valgrind.h \
7460 zlib.h
7462 do :
7463 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7464 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7465 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7466 cat >>confdefs.h <<_ACEOF
7467 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7468 _ACEOF
7472 done
7474 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7475 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7477 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7482 if test $ac_cv_header_sys_mkdev_h = no; then
7483 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7484 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7486 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7493 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7494 if ${ac_cv_header_stat_broken+:} false; then :
7495 $as_echo_n "(cached) " >&6
7496 else
7497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h. */
7499 #include <sys/types.h>
7500 #include <sys/stat.h>
7502 #if defined S_ISBLK && defined S_IFDIR
7503 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7504 #endif
7506 #if defined S_ISBLK && defined S_IFCHR
7507 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7508 #endif
7510 #if defined S_ISLNK && defined S_IFREG
7511 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7512 #endif
7514 #if defined S_ISSOCK && defined S_IFREG
7515 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7516 #endif
7518 _ACEOF
7519 if ac_fn_c_try_compile "$LINENO"; then :
7520 ac_cv_header_stat_broken=no
7521 else
7522 ac_cv_header_stat_broken=yes
7524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7527 $as_echo "$ac_cv_header_stat_broken" >&6; }
7528 if test $ac_cv_header_stat_broken = yes; then
7530 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7536 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7537 do :
7538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7539 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7540 #ifdef HAVE_SYS_PARAM_H
7541 # include <sys/param.h>
7542 #endif
7544 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7545 cat >>confdefs.h <<_ACEOF
7546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7547 _ACEOF
7551 done
7554 for ac_header in \
7555 netinet/ip.h \
7556 net/if.h \
7557 net/if_arp.h \
7558 net/if_dl.h \
7559 net/if_types.h \
7560 net/route.h \
7561 netinet/if_ether.h \
7562 netinet/if_inarp.h \
7563 netinet/in_pcb.h \
7564 netinet/ip_icmp.h \
7565 netinet/ip_var.h \
7566 netinet/udp.h \
7567 netipx/ipx.h \
7568 sys/un.h \
7570 do :
7571 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7572 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7573 #ifdef HAVE_SYS_SOCKET_H
7574 # include <sys/socket.h>
7575 #endif
7576 #ifdef HAVE_SYS_SOCKETVAR_H
7577 # include <sys/socketvar.h>
7578 #endif
7579 #ifdef HAVE_NET_ROUTE_H
7580 # include <net/route.h>
7581 #endif
7582 #ifdef HAVE_NETINET_IN_H
7583 # include <netinet/in.h>
7584 #endif
7585 #ifdef HAVE_NETINET_IN_SYSTM_H
7586 # include <netinet/in_systm.h>
7587 #endif
7588 #ifdef HAVE_NET_IF_H
7589 # include <net/if.h>
7590 #endif
7591 #ifdef HAVE_NETINET_IP_H
7592 # include <netinet/ip.h>
7593 #endif
7595 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7596 cat >>confdefs.h <<_ACEOF
7597 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7598 _ACEOF
7602 done
7605 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7606 do :
7607 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7608 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7609 #ifdef HAVE_ALIAS_H
7610 # include <alias.h>
7611 #endif
7612 #ifdef HAVE_SYS_SOCKET_H
7613 # include <sys/socket.h>
7614 #endif
7615 #ifdef HAVE_SYS_SOCKETVAR_H
7616 # include <sys/socketvar.h>
7617 #endif
7618 #ifdef HAVE_SYS_TIMEOUT_H
7619 # include <sys/timeout.h>
7620 #endif
7621 #ifdef HAVE_NETINET_IN_H
7622 # include <netinet/in.h>
7623 #endif
7624 #ifdef HAVE_NETINET_IN_SYSTM_H
7625 # include <netinet/in_systm.h>
7626 #endif
7627 #ifdef HAVE_NETINET_IP_H
7628 # include <netinet/ip.h>
7629 #endif
7630 #ifdef HAVE_NETINET_IP_VAR_H
7631 # include <netinet/ip_var.h>
7632 #endif
7633 #ifdef HAVE_NETINET_IP_ICMP_H
7634 # include <netinet/ip_icmp.h>
7635 #endif
7636 #ifdef HAVE_NETINET_UDP_H
7637 # include <netinet/udp.h>
7638 #endif
7639 #ifdef HAVE_NETINET_TCP_H
7640 # include <netinet/tcp.h>
7641 #endif
7642 #ifdef HAVE_NETINET_TCP_TIMER_H
7643 #include <netinet/tcp_timer.h>
7644 #endif
7646 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7647 cat >>confdefs.h <<_ACEOF
7648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7649 _ACEOF
7653 done
7656 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7657 do :
7658 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7659 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7660 #ifdef HAVE_ASM_TYPES_H
7661 # include <asm/types.h>
7662 #endif
7663 #ifdef HAVE_SYS_SOCKET_H
7664 # include <sys/socket.h>
7665 #endif
7666 #ifdef HAVE_LINUX_TYPES_H
7667 # include <linux/types.h>
7668 #endif
7670 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7671 cat >>confdefs.h <<_ACEOF
7672 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7673 _ACEOF
7677 done
7680 for ac_header in mach-o/dyld_images.h
7681 do :
7682 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7683 # include <stdbool.h>
7684 #endif
7685 #ifdef HAVE_STDINT_H
7686 # include <stdint.h>
7687 #endif
7689 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7690 cat >>confdefs.h <<_ACEOF
7691 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7692 _ACEOF
7696 done
7699 for ac_header in resolv.h
7700 do :
7701 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7702 #ifdef HAVE_SYS_SOCKET_H
7703 # include <sys/socket.h>
7704 #endif
7705 #ifdef HAVE_NETINET_IN_H
7706 # include <netinet/in.h>
7707 #endif
7708 #ifdef HAVE_ARPA_NAMESER_H
7709 # include <arpa/nameser.h>
7710 #endif
7712 if test "x$ac_cv_header_resolv_h" = xyes; then :
7713 cat >>confdefs.h <<_ACEOF
7714 #define HAVE_RESOLV_H 1
7715 _ACEOF
7719 done
7722 for ac_header in ifaddrs.h
7723 do :
7724 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7726 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7727 cat >>confdefs.h <<_ACEOF
7728 #define HAVE_IFADDRS_H 1
7729 _ACEOF
7733 done
7736 for ac_header in sys/ucontext.h
7737 do :
7738 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7740 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7741 cat >>confdefs.h <<_ACEOF
7742 #define HAVE_SYS_UCONTEXT_H 1
7743 _ACEOF
7747 done
7750 for ac_header in sys/thr.h
7751 do :
7752 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7753 #ifdef HAVE_SYS_UCONTEXT_H
7754 #include <sys/ucontext.h>
7755 #endif
7757 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7758 cat >>confdefs.h <<_ACEOF
7759 #define HAVE_SYS_THR_H 1
7760 _ACEOF
7764 done
7767 for ac_header in pthread_np.h
7768 do :
7769 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7770 #include <pthread.h>
7771 #endif
7773 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7774 cat >>confdefs.h <<_ACEOF
7775 #define HAVE_PTHREAD_NP_H 1
7776 _ACEOF
7780 done
7783 for ac_header in linux/videodev2.h
7784 do :
7785 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7786 #include <sys/time.h>
7787 #endif
7788 #include <sys/types.h>
7789 #ifdef HAVE_ASM_TYPES_H
7790 #include <asm/types.h>
7791 #endif
7793 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7794 cat >>confdefs.h <<_ACEOF
7795 #define HAVE_LINUX_VIDEODEV2_H 1
7796 _ACEOF
7800 done
7803 for ac_header in libprocstat.h
7804 do :
7805 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7806 #include <sys/param.h>
7807 #endif
7808 #ifdef HAVE_SYS_QUEUE_H
7809 #include <sys/queue.h>
7810 #endif
7811 #ifdef HAVE_SYS_SOCKET_H
7812 #include <sys/socket.h>
7813 #endif
7815 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7816 cat >>confdefs.h <<_ACEOF
7817 #define HAVE_LIBPROCSTAT_H 1
7818 _ACEOF
7822 done
7826 DLLFLAGS="-D_REENTRANT"
7828 LDRPATH_INSTALL=""
7830 LDRPATH_LOCAL=""
7832 LDEXECFLAGS=""
7834 TOP_INSTALL_LIB=""
7836 TOP_INSTALL_DEV=""
7838 WINELOADER_LDFLAGS=""
7840 WINEPRELOADER_LDFLAGS=""
7842 LIBEXT="so"
7843 DLLEXT=".so"
7844 # Extract the first word of "ldd", so it can be a program name with args.
7845 set dummy ldd; ac_word=$2
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7847 $as_echo_n "checking for $ac_word... " >&6; }
7848 if ${ac_cv_path_LDD+:} false; then :
7849 $as_echo_n "(cached) " >&6
7850 else
7851 case $LDD in
7852 [\\/]* | ?:[\\/]*)
7853 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857 as_dummy="/sbin:/usr/sbin:$PATH"
7858 for as_dir in $as_dummy
7860 IFS=$as_save_IFS
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7866 break 2
7868 done
7869 done
7870 IFS=$as_save_IFS
7872 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7874 esac
7876 LDD=$ac_cv_path_LDD
7877 if test -n "$LDD"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7879 $as_echo "$LDD" >&6; }
7880 else
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882 $as_echo "no" >&6; }
7886 if test -n "$ac_tool_prefix"; then
7887 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7888 set dummy ${ac_tool_prefix}otool; ac_word=$2
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7890 $as_echo_n "checking for $ac_word... " >&6; }
7891 if ${ac_cv_prog_OTOOL+:} false; then :
7892 $as_echo_n "(cached) " >&6
7893 else
7894 if test -n "$OTOOL"; then
7895 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7896 else
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7898 for as_dir in $PATH
7900 IFS=$as_save_IFS
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7904 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7906 break 2
7908 done
7909 done
7910 IFS=$as_save_IFS
7914 OTOOL=$ac_cv_prog_OTOOL
7915 if test -n "$OTOOL"; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7917 $as_echo "$OTOOL" >&6; }
7918 else
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920 $as_echo "no" >&6; }
7925 if test -z "$ac_cv_prog_OTOOL"; then
7926 ac_ct_OTOOL=$OTOOL
7927 # Extract the first word of "otool", so it can be a program name with args.
7928 set dummy otool; ac_word=$2
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7930 $as_echo_n "checking for $ac_word... " >&6; }
7931 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7932 $as_echo_n "(cached) " >&6
7933 else
7934 if test -n "$ac_ct_OTOOL"; then
7935 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7936 else
7937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 for as_dir in $PATH
7940 IFS=$as_save_IFS
7941 test -z "$as_dir" && as_dir=.
7942 for ac_exec_ext in '' $ac_executable_extensions; do
7943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7944 ac_cv_prog_ac_ct_OTOOL="otool"
7945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7946 break 2
7948 done
7949 done
7950 IFS=$as_save_IFS
7954 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7955 if test -n "$ac_ct_OTOOL"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7957 $as_echo "$ac_ct_OTOOL" >&6; }
7958 else
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7960 $as_echo "no" >&6; }
7963 if test "x$ac_ct_OTOOL" = x; then
7964 OTOOL="otool"
7965 else
7966 case $cross_compiling:$ac_tool_warned in
7967 yes:)
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7970 ac_tool_warned=yes ;;
7971 esac
7972 OTOOL=$ac_ct_OTOOL
7974 else
7975 OTOOL="$ac_cv_prog_OTOOL"
7978 if test -n "$ac_tool_prefix"; then
7979 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7980 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7982 $as_echo_n "checking for $ac_word... " >&6; }
7983 if ${ac_cv_prog_READELF+:} false; then :
7984 $as_echo_n "(cached) " >&6
7985 else
7986 if test -n "$READELF"; then
7987 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7988 else
7989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7990 for as_dir in $PATH
7992 IFS=$as_save_IFS
7993 test -z "$as_dir" && as_dir=.
7994 for ac_exec_ext in '' $ac_executable_extensions; do
7995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7996 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7998 break 2
8000 done
8001 done
8002 IFS=$as_save_IFS
8006 READELF=$ac_cv_prog_READELF
8007 if test -n "$READELF"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8009 $as_echo "$READELF" >&6; }
8010 else
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 $as_echo "no" >&6; }
8017 if test -z "$ac_cv_prog_READELF"; then
8018 ac_ct_READELF=$READELF
8019 # Extract the first word of "readelf", so it can be a program name with args.
8020 set dummy readelf; ac_word=$2
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 $as_echo_n "checking for $ac_word... " >&6; }
8023 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8024 $as_echo_n "(cached) " >&6
8025 else
8026 if test -n "$ac_ct_READELF"; then
8027 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8028 else
8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 for as_dir in $PATH
8032 IFS=$as_save_IFS
8033 test -z "$as_dir" && as_dir=.
8034 for ac_exec_ext in '' $ac_executable_extensions; do
8035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8036 ac_cv_prog_ac_ct_READELF="readelf"
8037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 break 2
8040 done
8041 done
8042 IFS=$as_save_IFS
8046 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8047 if test -n "$ac_ct_READELF"; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8049 $as_echo "$ac_ct_READELF" >&6; }
8050 else
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052 $as_echo "no" >&6; }
8055 if test "x$ac_ct_READELF" = x; then
8056 READELF="true"
8057 else
8058 case $cross_compiling:$ac_tool_warned in
8059 yes:)
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8062 ac_tool_warned=yes ;;
8063 esac
8064 READELF=$ac_ct_READELF
8066 else
8067 READELF="$ac_cv_prog_READELF"
8070 wine_rules_file=conf$$rules.make
8071 rm -f $wine_rules_file
8072 SUBDIRS=""
8074 DISABLED_SUBDIRS=""
8076 CONFIGURE_TARGETS=""
8079 wine_fn_append_file ()
8081 as_fn_append $1 " \\$as_nl $2"
8084 wine_fn_append_rule ()
8086 $as_echo "$1" >>$wine_rules_file
8089 wine_fn_config_makefile ()
8091 wine_fn_append_file SUBDIRS $1
8092 if eval test \"x\$"$2"\" = x"no"; then :
8093 wine_fn_append_file DISABLED_SUBDIRS $1
8097 wine_fn_config_symlink ()
8099 ac_links=$@
8100 wine_fn_append_rule \
8101 "$ac_links:
8102 @./config.status \$@"
8103 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8106 wine_binary="wine"
8107 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8108 WINELOADER_PROGRAMS="$wine_binary"
8110 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8112 case $host_os in
8113 cygwin*|mingw32*)
8114 if test -n "$ac_tool_prefix"; then
8115 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8116 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8118 $as_echo_n "checking for $ac_word... " >&6; }
8119 if ${ac_cv_prog_DLLTOOL+:} false; then :
8120 $as_echo_n "(cached) " >&6
8121 else
8122 if test -n "$DLLTOOL"; then
8123 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8124 else
8125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8126 for as_dir in $PATH
8128 IFS=$as_save_IFS
8129 test -z "$as_dir" && as_dir=.
8130 for ac_exec_ext in '' $ac_executable_extensions; do
8131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8132 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8134 break 2
8136 done
8137 done
8138 IFS=$as_save_IFS
8142 DLLTOOL=$ac_cv_prog_DLLTOOL
8143 if test -n "$DLLTOOL"; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8145 $as_echo "$DLLTOOL" >&6; }
8146 else
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }
8153 if test -z "$ac_cv_prog_DLLTOOL"; then
8154 ac_ct_DLLTOOL=$DLLTOOL
8155 # Extract the first word of "dlltool", so it can be a program name with args.
8156 set dummy dlltool; ac_word=$2
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8158 $as_echo_n "checking for $ac_word... " >&6; }
8159 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8160 $as_echo_n "(cached) " >&6
8161 else
8162 if test -n "$ac_ct_DLLTOOL"; then
8163 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8164 else
8165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8166 for as_dir in $PATH
8168 IFS=$as_save_IFS
8169 test -z "$as_dir" && as_dir=.
8170 for ac_exec_ext in '' $ac_executable_extensions; do
8171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8172 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8174 break 2
8176 done
8177 done
8178 IFS=$as_save_IFS
8182 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8183 if test -n "$ac_ct_DLLTOOL"; then
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8185 $as_echo "$ac_ct_DLLTOOL" >&6; }
8186 else
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8188 $as_echo "no" >&6; }
8191 if test "x$ac_ct_DLLTOOL" = x; then
8192 DLLTOOL="false"
8193 else
8194 case $cross_compiling:$ac_tool_warned in
8195 yes:)
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8198 ac_tool_warned=yes ;;
8199 esac
8200 DLLTOOL=$ac_ct_DLLTOOL
8202 else
8203 DLLTOOL="$ac_cv_prog_DLLTOOL"
8206 LIBEXT="dll"
8207 DLLEXT=""
8208 enable_iphlpapi=${enable_iphlpapi:-no}
8209 enable_kernel32=${enable_kernel32:-no}
8210 enable_ntdll=${enable_ntdll:-no}
8211 enable_ws2_32=${enable_ws2_32:-no}
8212 enable_loader=${enable_loader:-no}
8213 enable_server=${enable_server:-no}
8214 with_x=${with_x:-no}
8215 with_pthread=${with_pthread:-no}
8218 darwin*|macosx*)
8219 for ac_header in libunwind.h
8220 do :
8221 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8223 cat >>confdefs.h <<_ACEOF
8224 #define HAVE_LIBUNWIND_H 1
8225 _ACEOF
8229 done
8231 ac_ext=m
8232 ac_cpp='$OBJCPP $CPPFLAGS'
8233 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8234 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8235 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8237 ac_ext=m
8238 ac_cpp='$OBJCPP $CPPFLAGS'
8239 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8240 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8241 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8242 if test -n "$ac_tool_prefix"; then
8243 for ac_prog in gcc objcc objc cc CC
8245 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8246 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8248 $as_echo_n "checking for $ac_word... " >&6; }
8249 if ${ac_cv_prog_OBJC+:} false; then :
8250 $as_echo_n "(cached) " >&6
8251 else
8252 if test -n "$OBJC"; then
8253 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8254 else
8255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8256 for as_dir in $PATH
8258 IFS=$as_save_IFS
8259 test -z "$as_dir" && as_dir=.
8260 for ac_exec_ext in '' $ac_executable_extensions; do
8261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8262 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8264 break 2
8266 done
8267 done
8268 IFS=$as_save_IFS
8272 OBJC=$ac_cv_prog_OBJC
8273 if test -n "$OBJC"; then
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8275 $as_echo "$OBJC" >&6; }
8276 else
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8278 $as_echo "no" >&6; }
8282 test -n "$OBJC" && break
8283 done
8285 if test -z "$OBJC"; then
8286 ac_ct_OBJC=$OBJC
8287 for ac_prog in gcc objcc objc cc CC
8289 # Extract the first word of "$ac_prog", so it can be a program name with args.
8290 set dummy $ac_prog; ac_word=$2
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8292 $as_echo_n "checking for $ac_word... " >&6; }
8293 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8294 $as_echo_n "(cached) " >&6
8295 else
8296 if test -n "$ac_ct_OBJC"; then
8297 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8298 else
8299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8300 for as_dir in $PATH
8302 IFS=$as_save_IFS
8303 test -z "$as_dir" && as_dir=.
8304 for ac_exec_ext in '' $ac_executable_extensions; do
8305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8306 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8308 break 2
8310 done
8311 done
8312 IFS=$as_save_IFS
8316 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8317 if test -n "$ac_ct_OBJC"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8319 $as_echo "$ac_ct_OBJC" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8326 test -n "$ac_ct_OBJC" && break
8327 done
8329 if test "x$ac_ct_OBJC" = x; then
8330 OBJC="gcc"
8331 else
8332 case $cross_compiling:$ac_tool_warned in
8333 yes:)
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8336 ac_tool_warned=yes ;;
8337 esac
8338 OBJC=$ac_ct_OBJC
8342 # Provide some information about the compiler.
8343 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8344 set X $ac_compile
8345 ac_compiler=$2
8346 for ac_option in --version -v -V -qversion; do
8347 { { ac_try="$ac_compiler $ac_option >&5"
8348 case "(($ac_try" in
8349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8350 *) ac_try_echo=$ac_try;;
8351 esac
8352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8353 $as_echo "$ac_try_echo"; } >&5
8354 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8355 ac_status=$?
8356 if test -s conftest.err; then
8357 sed '10a\
8358 ... rest of stderr output deleted ...
8359 10q' conftest.err >conftest.er1
8360 cat conftest.er1 >&5
8362 rm -f conftest.er1 conftest.err
8363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8364 test $ac_status = 0; }
8365 done
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8368 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8369 if ${ac_cv_objc_compiler_gnu+:} false; then :
8370 $as_echo_n "(cached) " >&6
8371 else
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8376 main ()
8378 #ifndef __GNUC__
8379 choke me
8380 #endif
8383 return 0;
8385 _ACEOF
8386 if ac_fn_objc_try_compile "$LINENO"; then :
8387 ac_compiler_gnu=yes
8388 else
8389 ac_compiler_gnu=no
8391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8392 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8396 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8397 if test $ac_compiler_gnu = yes; then
8398 GOBJC=yes
8399 else
8400 GOBJC=
8402 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8403 ac_save_OBJCFLAGS=$OBJCFLAGS
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8405 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8406 if ${ac_cv_prog_objc_g+:} false; then :
8407 $as_echo_n "(cached) " >&6
8408 else
8409 ac_save_objc_werror_flag=$ac_objc_werror_flag
8410 ac_objc_werror_flag=yes
8411 ac_cv_prog_objc_g=no
8412 OBJCFLAGS="-g"
8413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8417 main ()
8421 return 0;
8423 _ACEOF
8424 if ac_fn_objc_try_compile "$LINENO"; then :
8425 ac_cv_prog_objc_g=yes
8426 else
8427 OBJCFLAGS=""
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8432 main ()
8436 return 0;
8438 _ACEOF
8439 if ac_fn_objc_try_compile "$LINENO"; then :
8441 else
8442 ac_objc_werror_flag=$ac_save_objc_werror_flag
8443 OBJCFLAGS="-g"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8448 main ()
8452 return 0;
8454 _ACEOF
8455 if ac_fn_objc_try_compile "$LINENO"; then :
8456 ac_cv_prog_objc_g=yes
8458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8463 ac_objc_werror_flag=$ac_save_objc_werror_flag
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8466 $as_echo "$ac_cv_prog_objc_g" >&6; }
8467 if test "$ac_test_OBJCFLAGS" = set; then
8468 OBJCFLAGS=$ac_save_OBJCFLAGS
8469 elif test $ac_cv_prog_objc_g = yes; then
8470 if test "$GOBJC" = yes; then
8471 OBJCFLAGS="-g -O2"
8472 else
8473 OBJCFLAGS="-g"
8475 else
8476 if test "$GOBJC" = yes; then
8477 OBJCFLAGS="-O2"
8478 else
8479 OBJCFLAGS=
8482 ac_ext=m
8483 ac_cpp='$OBJCPP $CPPFLAGS'
8484 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8485 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8486 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8489 ac_ext=m
8490 ac_cpp='$OBJCPP $CPPFLAGS'
8491 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8492 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8493 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8495 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8496 if test -z "$OBJCPP"; then
8497 if ${ac_cv_prog_OBJCPP+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 # Double quotes because OBJCPP needs to be expanded
8501 for OBJCPP in "$OBJC -E" "/lib/cpp"
8503 ac_preproc_ok=false
8504 for ac_objc_preproc_warn_flag in '' yes
8506 # Use a header file that comes with gcc, so configuring glibc
8507 # with a fresh cross-compiler works.
8508 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8509 # <limits.h> exists even on freestanding compilers.
8510 # On the NeXT, cc -E runs the code through the compiler's parser,
8511 # not just through cpp. "Syntax error" is here to catch this case.
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8514 #ifdef __STDC__
8515 # include <limits.h>
8516 #else
8517 # include <assert.h>
8518 #endif
8519 Syntax error
8520 _ACEOF
8521 if ac_fn_objc_try_cpp "$LINENO"; then :
8523 else
8524 # Broken: fails on valid input.
8525 continue
8527 rm -f conftest.err conftest.i conftest.$ac_ext
8529 # OK, works on sane cases. Now check whether nonexistent headers
8530 # can be detected and how.
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8533 #include <ac_nonexistent.h>
8534 _ACEOF
8535 if ac_fn_objc_try_cpp "$LINENO"; then :
8536 # Broken: success on invalid input.
8537 continue
8538 else
8539 # Passes both tests.
8540 ac_preproc_ok=:
8541 break
8543 rm -f conftest.err conftest.i conftest.$ac_ext
8545 done
8546 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8547 rm -f conftest.i conftest.err conftest.$ac_ext
8548 if $ac_preproc_ok; then :
8549 break
8552 done
8553 ac_cv_prog_OBJCPP=$OBJCPP
8556 OBJCPP=$ac_cv_prog_OBJCPP
8557 else
8558 ac_cv_prog_OBJCPP=$OBJCPP
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8561 $as_echo "$OBJCPP" >&6; }
8562 ac_preproc_ok=false
8563 for ac_objc_preproc_warn_flag in '' yes
8565 # Use a header file that comes with gcc, so configuring glibc
8566 # with a fresh cross-compiler works.
8567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8568 # <limits.h> exists even on freestanding compilers.
8569 # On the NeXT, cc -E runs the code through the compiler's parser,
8570 # not just through cpp. "Syntax error" is here to catch this case.
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 #ifdef __STDC__
8574 # include <limits.h>
8575 #else
8576 # include <assert.h>
8577 #endif
8578 Syntax error
8579 _ACEOF
8580 if ac_fn_objc_try_cpp "$LINENO"; then :
8582 else
8583 # Broken: fails on valid input.
8584 continue
8586 rm -f conftest.err conftest.i conftest.$ac_ext
8588 # OK, works on sane cases. Now check whether nonexistent headers
8589 # can be detected and how.
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 #include <ac_nonexistent.h>
8593 _ACEOF
8594 if ac_fn_objc_try_cpp "$LINENO"; then :
8595 # Broken: success on invalid input.
8596 continue
8597 else
8598 # Passes both tests.
8599 ac_preproc_ok=:
8600 break
8602 rm -f conftest.err conftest.i conftest.$ac_ext
8604 done
8605 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8606 rm -f conftest.i conftest.err conftest.$ac_ext
8607 if $ac_preproc_ok; then :
8609 else
8610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8612 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8613 See \`config.log' for more details" "$LINENO" 5; }
8616 ac_ext=m
8617 ac_cpp='$OBJCPP $CPPFLAGS'
8618 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8619 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8620 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8623 for ac_header in Metal/Metal.h
8624 do :
8625 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8626 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8627 cat >>confdefs.h <<_ACEOF
8628 #define HAVE_METAL_METAL_H 1
8629 _ACEOF
8633 done
8635 ac_ext=c
8636 ac_cpp='$CPP $CPPFLAGS'
8637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8641 LIBEXT="dylib"
8642 DLLFLAGS="$DLLFLAGS -fPIC"
8643 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8644 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8645 COREFOUNDATION_LIBS="-framework CoreFoundation"
8647 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8649 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8651 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8653 CORESERVICES_LIBS="-framework CoreServices"
8655 APPKIT_LIBS="-framework AppKit"
8658 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8660 wine_can_build_preloader=yes
8661 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8663 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8664 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 ac_wine_try_cflags_saved=$CFLAGS
8668 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 int main(int argc, char **argv) { return 0; }
8672 _ACEOF
8673 if ac_fn_c_try_link "$LINENO"; then :
8674 ac_cv_cflags__Wl__no_new_main__e__main=yes
8675 else
8676 ac_cv_cflags__Wl__no_new_main__e__main=no
8678 rm -f core conftest.err conftest.$ac_objext \
8679 conftest$ac_exeext conftest.$ac_ext
8680 CFLAGS=$ac_wine_try_cflags_saved
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8683 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8684 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8685 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8687 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8688 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8689 $as_echo_n "(cached) " >&6
8690 else
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8695 int main(int argc, char **argv) { return 0; }
8696 _ACEOF
8697 if ac_fn_c_try_link "$LINENO"; then :
8698 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8699 else
8700 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8702 rm -f core conftest.err conftest.$ac_objext \
8703 conftest$ac_exeext conftest.$ac_ext
8704 CFLAGS=$ac_wine_try_cflags_saved
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8707 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8708 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8709 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8710 else
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8712 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8713 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8724 else
8725 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8732 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8733 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8734 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8735 else
8736 wine_can_build_preloader=no
8739 else
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8741 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8742 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8743 $as_echo_n "(cached) " >&6
8744 else
8745 ac_wine_try_cflags_saved=$CFLAGS
8746 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8748 /* end confdefs.h. */
8749 int main(int argc, char **argv) { return 0; }
8750 _ACEOF
8751 if ac_fn_c_try_link "$LINENO"; then :
8752 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8753 else
8754 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8756 rm -f core conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8758 CFLAGS=$ac_wine_try_cflags_saved
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8761 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8762 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8763 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8764 else
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8766 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8767 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 ac_wine_try_cflags_saved=$CFLAGS
8771 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 int main(int argc, char **argv) { return 0; }
8775 _ACEOF
8776 if ac_fn_c_try_link "$LINENO"; then :
8777 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8778 else
8779 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8781 rm -f core conftest.err conftest.$ac_objext \
8782 conftest$ac_exeext conftest.$ac_ext
8783 CFLAGS=$ac_wine_try_cflags_saved
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8786 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8787 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8788 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8789 else
8790 wine_can_build_preloader=no
8794 if test "$wine_can_build_preloader" = "yes"
8795 then
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8797 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8798 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8799 $as_echo_n "(cached) " >&6
8800 else
8801 ac_wine_try_cflags_saved=$CFLAGS
8802 CFLAGS="$CFLAGS -Wl,-no_pie"
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8805 int main(int argc, char **argv) { return 0; }
8806 _ACEOF
8807 if ac_fn_c_try_link "$LINENO"; then :
8808 ac_cv_cflags__Wl__no_pie=yes
8809 else
8810 ac_cv_cflags__Wl__no_pie=no
8812 rm -f core conftest.err conftest.$ac_objext \
8813 conftest$ac_exeext conftest.$ac_ext
8814 CFLAGS=$ac_wine_try_cflags_saved
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8817 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8818 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8819 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8821 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8822 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8823 else
8824 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8827 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8828 then
8829 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8832 if test "$ac_cv_header_Security_Security_h" = "yes"
8833 then
8834 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8836 ac_save_LIBS="$LIBS"
8837 LIBS="$LIBS $SECURITY_LIBS"
8838 for ac_func in SSLCopyPeerCertificates
8839 do :
8840 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8841 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8842 cat >>confdefs.h <<_ACEOF
8843 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8844 _ACEOF
8847 done
8849 LIBS="$ac_save_LIBS"
8851 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8852 then
8853 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8854 then
8855 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8857 else
8858 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8861 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8862 ac_save_LIBS="$LIBS"
8863 LIBS="$LIBS $COREAUDIO_LIBS"
8864 for ac_func in AUGraphAddNode
8865 do :
8866 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8867 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8868 cat >>confdefs.h <<_ACEOF
8869 #define HAVE_AUGRAPHADDNODE 1
8870 _ACEOF
8873 done
8875 LIBS="$ac_save_LIBS"
8877 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8878 then
8879 OPENAL_LIBS="-framework OpenAL"
8882 cat >>confdefs.h <<_ACEOF
8883 #define HAVE_OPENAL 1
8884 _ACEOF
8886 ac_cv_lib_openal=yes
8888 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8889 then
8890 OPENCL_LIBS="-framework OpenCL"
8892 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8894 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8895 then
8896 ac_save_LIBS="$LIBS"
8897 LIBS="$LIBS $IOKIT_LIBS"
8898 for ac_func in IOHIDManagerCreate
8899 do :
8900 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8901 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8902 cat >>confdefs.h <<_ACEOF
8903 #define HAVE_IOHIDMANAGERCREATE 1
8904 _ACEOF
8907 done
8909 LIBS="$ac_save_LIBS"
8911 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8912 then
8913 ac_save_LIBS="$LIBS"
8914 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8916 $as_echo_n "checking for the QuickTime framework... " >&6; }
8917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8919 #include <QuickTime/ImageCompression.h>
8921 main ()
8923 CodecManagerVersion(NULL);
8925 return 0;
8927 _ACEOF
8928 if ac_fn_c_try_link "$LINENO"; then :
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8930 $as_echo "yes" >&6; }
8931 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8933 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8934 else
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8936 $as_echo "no" >&6; }
8937 ac_cv_header_QuickTime_ImageCompression_h=no
8939 rm -f core conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 LIBS="$ac_save_LIBS"
8943 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8944 then
8945 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8947 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8948 then
8949 CARBON_LIBS="-framework Carbon"
8952 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8953 then
8954 METAL_LIBS="-framework Metal -framework QuartzCore"
8958 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8959 then
8960 ac_save_LIBS="$LIBS"
8961 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8962 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8963 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8964 enable_winemac_drv=${enable_winemac_drv:-yes}
8967 LIBS="$ac_save_LIBS"
8970 if test "x$enable_win16" = "xyes"
8971 then
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8973 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8974 if test "$cross_compiling" = yes; then :
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8976 $as_echo "cross-compiling, assuming yes" >&6; }
8977 else
8978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8979 /* end confdefs.h. */
8980 asm(".text\n"
8981 "bad:\tnop;nop\n"
8982 "good:\tnop;nop\n\t"
8983 ".globl _testfunc\n"
8984 "_testfunc:\tcallw good");
8985 extern void testfunc();
8987 main ()
8989 unsigned short *p = (unsigned short *)testfunc;
8990 return p[0] != 0xe866 || p[1] != 0xfffa
8992 return 0;
8994 _ACEOF
8995 if ac_fn_c_try_run "$LINENO"; then :
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8997 $as_echo "yes" >&6; }
8998 else
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9000 $as_echo "no" >&6; }
9001 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
9003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9004 conftest.$ac_objext conftest.beam conftest.$ac_ext
9009 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9011 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9013 WINELOADER_DEPENDS="wine_info.plist"
9015 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9016 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9019 linux-android*)
9020 DLLFLAGS="$DLLFLAGS -fPIC"
9021 LDEXECFLAGS="-Wl,-pie"
9022 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9024 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9025 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9026 $as_echo_n "(cached) " >&6
9027 else
9028 ac_wine_try_cflags_saved=$CFLAGS
9029 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9032 int main(int argc, char **argv) { return 0; }
9033 _ACEOF
9034 if ac_fn_c_try_link "$LINENO"; then :
9035 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9036 else
9037 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9039 rm -f core conftest.err conftest.$ac_objext \
9040 conftest$ac_exeext conftest.$ac_ext
9041 CFLAGS=$ac_wine_try_cflags_saved
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9044 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9045 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9046 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9048 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9049 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9051 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9052 if eval \${$as_ac_var+:} false; then :
9053 $as_echo_n "(cached) " >&6
9054 else
9055 ac_wine_try_cflags_saved=$CFLAGS
9056 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 int main(int argc, char **argv) { return 0; }
9060 _ACEOF
9061 if ac_fn_c_try_link "$LINENO"; then :
9062 eval "$as_ac_var=yes"
9063 else
9064 eval "$as_ac_var=no"
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 CFLAGS=$ac_wine_try_cflags_saved
9070 eval ac_res=\$$as_ac_var
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9072 $as_echo "$ac_res" >&6; }
9073 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9074 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9075 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9076 else
9077 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9079 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9080 if eval \${$as_ac_var+:} false; then :
9081 $as_echo_n "(cached) " >&6
9082 else
9083 ac_wine_try_cflags_saved=$CFLAGS
9084 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9087 int main(int argc, char **argv) { return 0; }
9088 _ACEOF
9089 if ac_fn_c_try_link "$LINENO"; then :
9090 eval "$as_ac_var=yes"
9091 else
9092 eval "$as_ac_var=no"
9094 rm -f core conftest.err conftest.$ac_objext \
9095 conftest$ac_exeext conftest.$ac_ext
9096 CFLAGS=$ac_wine_try_cflags_saved
9098 eval ac_res=\$$as_ac_var
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9100 $as_echo "$ac_res" >&6; }
9101 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9102 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9103 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9107 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9108 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9109 $as_echo_n "(cached) " >&6
9110 else
9111 ac_wine_try_cflags_saved=$CFLAGS
9112 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
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__Wl___enable_new_dtags=yes
9119 else
9120 ac_cv_cflags__Wl___enable_new_dtags=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__Wl___enable_new_dtags" >&5
9127 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9128 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9129 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9132 LIBWINE_SHAREDLIB="libwine.so"
9134 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9136 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9139 $as_echo_n "checking for -lEGL... " >&6; }
9140 if ${ac_cv_lib_soname_EGL+:} false; then :
9141 $as_echo_n "(cached) " >&6
9142 else
9143 ac_check_soname_save_LIBS=$LIBS
9144 LIBS="-lEGL $LIBS"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9148 /* Override any GCC internal prototype to avoid an error.
9149 Use char because int might match the return type of a GCC
9150 builtin and then its argument prototype would still apply. */
9151 #ifdef __cplusplus
9152 extern "C"
9153 #endif
9154 char eglGetProcAddress ();
9156 main ()
9158 return eglGetProcAddress ();
9160 return 0;
9162 _ACEOF
9163 if ac_fn_c_try_link "$LINENO"; then :
9164 case "$LIBEXT" in
9165 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9166 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'` ;;
9167 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9168 if ${ac_cv_lib_soname_EGL:+false} :; then :
9169 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9170 fi ;;
9171 esac
9172 else
9173 ac_cv_lib_soname_EGL=
9175 rm -f core conftest.err conftest.$ac_objext \
9176 conftest$ac_exeext conftest.$ac_ext
9177 LIBS=$ac_check_soname_save_LIBS
9179 if ${ac_cv_lib_soname_EGL:+false} :; then :
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9181 $as_echo "not found" >&6; }
9183 else
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9185 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9187 cat >>confdefs.h <<_ACEOF
9188 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9189 _ACEOF
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9194 $as_echo_n "checking for -lGLESv2... " >&6; }
9195 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9196 $as_echo_n "(cached) " >&6
9197 else
9198 ac_check_soname_save_LIBS=$LIBS
9199 LIBS="-lGLESv2 $LIBS"
9200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9201 /* end confdefs.h. */
9203 /* Override any GCC internal prototype to avoid an error.
9204 Use char because int might match the return type of a GCC
9205 builtin and then its argument prototype would still apply. */
9206 #ifdef __cplusplus
9207 extern "C"
9208 #endif
9209 char glFlush ();
9211 main ()
9213 return glFlush ();
9215 return 0;
9217 _ACEOF
9218 if ac_fn_c_try_link "$LINENO"; then :
9219 case "$LIBEXT" in
9220 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9221 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'` ;;
9222 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9223 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9224 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9225 fi ;;
9226 esac
9227 else
9228 ac_cv_lib_soname_GLESv2=
9230 rm -f core conftest.err conftest.$ac_objext \
9231 conftest$ac_exeext conftest.$ac_ext
9232 LIBS=$ac_check_soname_save_LIBS
9234 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9236 $as_echo "not found" >&6; }
9238 else
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9240 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9242 cat >>confdefs.h <<_ACEOF
9243 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9244 _ACEOF
9249 if test "x$exec_prefix" = xNONE
9250 then
9251 case $host_cpu in
9252 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9253 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9254 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9255 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9256 esac
9261 DLLFLAGS="$DLLFLAGS -fPIC"
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9263 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9264 if ${ac_cv_c_dll_gnuelf+:} false; then :
9265 $as_echo_n "(cached) " >&6
9266 else
9267 ac_wine_try_cflags_saved=$CFLAGS
9268 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9271 void myfunc() {}
9272 _ACEOF
9273 if ac_fn_c_try_link "$LINENO"; then :
9274 ac_cv_c_dll_gnuelf="yes"
9275 else
9276 ac_cv_c_dll_gnuelf="no"
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 CFLAGS=$ac_wine_try_cflags_saved
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9283 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9284 if test "$ac_cv_c_dll_gnuelf" = "yes"
9285 then
9286 LIBWINE_LDFLAGS="-shared"
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9288 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9289 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9290 $as_echo_n "(cached) " >&6
9291 else
9292 ac_wine_try_cflags_saved=$CFLAGS
9293 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9295 /* end confdefs.h. */
9296 int main(int argc, char **argv) { return 0; }
9297 _ACEOF
9298 if ac_fn_c_try_link "$LINENO"; then :
9299 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9300 else
9301 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9303 rm -f core conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9305 CFLAGS=$ac_wine_try_cflags_saved
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9308 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9309 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9310 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9311 else
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9313 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9314 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9315 $as_echo_n "(cached) " >&6
9316 else
9317 ac_wine_try_cflags_saved=$CFLAGS
9318 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9321 int main(int argc, char **argv) { return 0; }
9322 _ACEOF
9323 if ac_fn_c_try_link "$LINENO"; then :
9324 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9325 else
9326 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 CFLAGS=$ac_wine_try_cflags_saved
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9333 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9334 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9335 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9339 echo '{ global: *; };' >conftest.map
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9341 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9342 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9343 $as_echo_n "(cached) " >&6
9344 else
9345 ac_wine_try_cflags_saved=$CFLAGS
9346 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9348 /* end confdefs.h. */
9349 int main(int argc, char **argv) { return 0; }
9350 _ACEOF
9351 if ac_fn_c_try_link "$LINENO"; then :
9352 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9353 else
9354 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9356 rm -f core conftest.err conftest.$ac_objext \
9357 conftest$ac_exeext conftest.$ac_ext
9358 CFLAGS=$ac_wine_try_cflags_saved
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9361 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9362 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9363 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9365 rm -f conftest.map
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9368 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9369 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9370 $as_echo_n "(cached) " >&6
9371 else
9372 ac_wine_try_cflags_saved=$CFLAGS
9373 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9376 int main(int argc, char **argv) { return 0; }
9377 _ACEOF
9378 if ac_fn_c_try_link "$LINENO"; then :
9379 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9380 else
9381 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9383 rm -f core conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 CFLAGS=$ac_wine_try_cflags_saved
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9388 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9389 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9390 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9392 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9394 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9396 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9397 if eval \${$as_ac_var+:} false; then :
9398 $as_echo_n "(cached) " >&6
9399 else
9400 ac_wine_try_cflags_saved=$CFLAGS
9401 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9404 int main(int argc, char **argv) { return 0; }
9405 _ACEOF
9406 if ac_fn_c_try_link "$LINENO"; then :
9407 eval "$as_ac_var=yes"
9408 else
9409 eval "$as_ac_var=no"
9411 rm -f core conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 CFLAGS=$ac_wine_try_cflags_saved
9415 eval ac_res=\$$as_ac_var
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9417 $as_echo "$ac_res" >&6; }
9418 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9419 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9420 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9421 else
9422 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9424 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9425 if eval \${$as_ac_var+:} false; then :
9426 $as_echo_n "(cached) " >&6
9427 else
9428 ac_wine_try_cflags_saved=$CFLAGS
9429 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9432 int main(int argc, char **argv) { return 0; }
9433 _ACEOF
9434 if ac_fn_c_try_link "$LINENO"; then :
9435 eval "$as_ac_var=yes"
9436 else
9437 eval "$as_ac_var=no"
9439 rm -f core conftest.err conftest.$ac_objext \
9440 conftest$ac_exeext conftest.$ac_ext
9441 CFLAGS=$ac_wine_try_cflags_saved
9443 eval ac_res=\$$as_ac_var
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9445 $as_echo "$ac_res" >&6; }
9446 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9447 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9448 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9453 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9454 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9455 $as_echo_n "(cached) " >&6
9456 else
9457 ac_wine_try_cflags_saved=$CFLAGS
9458 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9460 /* end confdefs.h. */
9461 int main(int argc, char **argv) { return 0; }
9462 _ACEOF
9463 if ac_fn_c_try_link "$LINENO"; then :
9464 ac_cv_cflags__Wl___enable_new_dtags=yes
9465 else
9466 ac_cv_cflags__Wl___enable_new_dtags=no
9468 rm -f core conftest.err conftest.$ac_objext \
9469 conftest$ac_exeext conftest.$ac_ext
9470 CFLAGS=$ac_wine_try_cflags_saved
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9473 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9474 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9475 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9478 case $host_cpu in
9479 *i[3456789]86* | x86_64 | *aarch64*)
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9481 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9482 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9483 $as_echo_n "(cached) " >&6
9484 else
9485 ac_wine_try_cflags_saved=$CFLAGS
9486 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9489 int main(int argc, char **argv) { return 0; }
9490 _ACEOF
9491 if ac_fn_c_try_link "$LINENO"; then :
9492 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9493 else
9494 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9496 rm -f core conftest.err conftest.$ac_objext \
9497 conftest$ac_exeext conftest.$ac_ext
9498 CFLAGS=$ac_wine_try_cflags_saved
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9501 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9502 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9503 case $host_os in
9504 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9505 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9506 esac
9507 else
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9509 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9510 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9511 $as_echo_n "(cached) " >&6
9512 else
9513 ac_wine_try_cflags_saved=$CFLAGS
9514 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9517 int main(int argc, char **argv) { return 0; }
9518 _ACEOF
9519 if ac_fn_c_try_link "$LINENO"; then :
9520 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9521 else
9522 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9524 rm -f core conftest.err conftest.$ac_objext \
9525 conftest$ac_exeext conftest.$ac_ext
9526 CFLAGS=$ac_wine_try_cflags_saved
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9529 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9530 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9531 case $host_os in
9532 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9533 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9534 esac
9536 # Extract the first word of "prelink", so it can be a program name with args.
9537 set dummy prelink; ac_word=$2
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9539 $as_echo_n "checking for $ac_word... " >&6; }
9540 if ${ac_cv_path_PRELINK+:} false; then :
9541 $as_echo_n "(cached) " >&6
9542 else
9543 case $PRELINK in
9544 [\\/]* | ?:[\\/]*)
9545 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9549 for as_dir in /sbin /usr/sbin $PATH
9551 IFS=$as_save_IFS
9552 test -z "$as_dir" && as_dir=.
9553 for ac_exec_ext in '' $ac_executable_extensions; do
9554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9555 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9557 break 2
9559 done
9560 done
9561 IFS=$as_save_IFS
9563 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9565 esac
9567 PRELINK=$ac_cv_path_PRELINK
9568 if test -n "$PRELINK"; then
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9570 $as_echo "$PRELINK" >&6; }
9571 else
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9573 $as_echo "no" >&6; }
9577 if test "x$PRELINK" = xfalse
9578 then
9579 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9583 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9584 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 ac_wine_try_cflags_saved=$CFLAGS
9588 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9591 int main(int argc, char **argv) { return 0; }
9592 _ACEOF
9593 if ac_fn_c_try_link "$LINENO"; then :
9594 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9595 else
9596 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9598 rm -f core conftest.err conftest.$ac_objext \
9599 conftest$ac_exeext conftest.$ac_ext
9600 CFLAGS=$ac_wine_try_cflags_saved
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9603 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9604 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9605 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9608 esac
9610 else
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9612 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9613 if ${ac_cv_c_dll_unixware+:} false; then :
9614 $as_echo_n "(cached) " >&6
9615 else
9616 ac_wine_try_cflags_saved=$CFLAGS
9617 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9619 /* end confdefs.h. */
9620 void myfunc() {}
9621 _ACEOF
9622 if ac_fn_c_try_link "$LINENO"; then :
9623 ac_cv_c_dll_unixware="yes"
9624 else
9625 ac_cv_c_dll_unixware="no"
9627 rm -f core conftest.err conftest.$ac_objext \
9628 conftest$ac_exeext conftest.$ac_ext
9629 CFLAGS=$ac_wine_try_cflags_saved
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9632 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9633 if test "$ac_cv_c_dll_unixware" = "yes"
9634 then
9635 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9638 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9640 LIBWINE_DEPENDS="wine.map"
9642 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9643 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9645 esac
9647 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9648 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9649 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9650 enable_winemac_drv=${enable_winemac_drv:-no}
9651 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9653 CROSSTARGET=""
9655 if test "x$with_mingw" != xno
9656 then
9657 case "x$with_mingw" in
9658 x|xyes) case "$host_cpu" in
9659 aarch64*)
9660 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9661 arm*)
9662 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9663 i[3456789]86*)
9664 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
9665 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9666 mingw32-gcc" ;;
9667 x86_64)
9668 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
9669 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9671 ac_prefix_list="" ;;
9672 esac
9673 for ac_prog in $ac_prefix_list
9675 # Extract the first word of "$ac_prog", so it can be a program name with args.
9676 set dummy $ac_prog; ac_word=$2
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9678 $as_echo_n "checking for $ac_word... " >&6; }
9679 if ${ac_cv_prog_CROSSCC+:} false; then :
9680 $as_echo_n "(cached) " >&6
9681 else
9682 if test -n "$CROSSCC"; then
9683 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9684 else
9685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9686 for as_dir in $PATH
9688 IFS=$as_save_IFS
9689 test -z "$as_dir" && as_dir=.
9690 for ac_exec_ext in '' $ac_executable_extensions; do
9691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9692 ac_cv_prog_CROSSCC="$ac_prog"
9693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9694 break 2
9696 done
9697 done
9698 IFS=$as_save_IFS
9702 CROSSCC=$ac_cv_prog_CROSSCC
9703 if test -n "$CROSSCC"; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9705 $as_echo "$CROSSCC" >&6; }
9706 else
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9708 $as_echo "no" >&6; }
9712 test -n "$CROSSCC" && break
9713 done
9714 test -n "$CROSSCC" || CROSSCC="false"
9716 *) CROSSCC=$with_mingw ;;
9717 esac
9718 if test "$CROSSCC" != "false"
9719 then
9720 ac_save_CC="$CC"
9721 saved_CFLAGS=$CFLAGS
9722 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9724 EXTRACROSSCFLAGS="-DWINE_CROSSTEST -Wall"
9727 CC="$CROSSCC"
9728 CFLAGS=$CROSSCFLAGS
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9730 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9731 if ${wine_cv_crosscc+:} false; then :
9732 $as_echo_n "(cached) " >&6
9733 else
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9738 main ()
9742 return 0;
9744 _ACEOF
9745 if ac_fn_c_try_compile "$LINENO"; then :
9746 wine_cv_crosscc=yes
9747 else
9748 wine_cv_crosscc=no
9750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9753 $as_echo "$wine_cv_crosscc" >&6; }
9754 if test $wine_cv_crosscc = yes
9755 then
9756 set x $CROSSCC
9757 shift
9758 while test $# -ge 1
9760 case "$1" in
9761 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9762 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9763 esac
9764 shift
9765 done
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9768 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9769 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9770 $as_echo_n "(cached) " >&6
9771 else
9772 ac_wine_try_cflags_saved=$CFLAGS
9773 ac_wine_try_cflags_saved_cc=$CC
9774 ac_wine_try_cflags_saved_exeext=$ac_exeext
9775 CFLAGS="$CFLAGS -fno-strict-aliasing"
9776 CC="$CROSSCC"
9777 ac_exeext=".exe"
9778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9779 /* end confdefs.h. */
9780 int main(int argc, char **argv) { return 0; }
9781 _ACEOF
9782 if ac_fn_c_try_link "$LINENO"; then :
9783 ac_cv_crosscflags__fno_strict_aliasing=yes
9784 else
9785 ac_cv_crosscflags__fno_strict_aliasing=no
9787 rm -f core conftest.err conftest.$ac_objext \
9788 conftest$ac_exeext conftest.$ac_ext
9789 CFLAGS=$ac_wine_try_cflags_saved
9790 CC=$ac_wine_try_cflags_saved_cc
9791 ac_exeext=$ac_wine_try_cflags_saved_exeext
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9794 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9795 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9796 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9799 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9800 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9801 $as_echo_n "(cached) " >&6
9802 else
9803 ac_wine_try_cflags_saved=$CFLAGS
9804 ac_wine_try_cflags_saved_cc=$CC
9805 ac_wine_try_cflags_saved_exeext=$ac_exeext
9806 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9807 CC="$CROSSCC"
9808 ac_exeext=".exe"
9809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9810 /* end confdefs.h. */
9811 int main(int argc, char **argv) { return 0; }
9812 _ACEOF
9813 if ac_fn_c_try_link "$LINENO"; then :
9814 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9815 else
9816 ac_cv_crosscflags__Werror_unknown_warning_option=no
9818 rm -f core conftest.err conftest.$ac_objext \
9819 conftest$ac_exeext conftest.$ac_ext
9820 CFLAGS=$ac_wine_try_cflags_saved
9821 CC=$ac_wine_try_cflags_saved_cc
9822 ac_exeext=$ac_wine_try_cflags_saved_exeext
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9825 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9826 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9827 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9830 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9831 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9832 $as_echo_n "(cached) " >&6
9833 else
9834 ac_wine_try_cflags_saved=$CFLAGS
9835 ac_wine_try_cflags_saved_cc=$CC
9836 ac_wine_try_cflags_saved_exeext=$ac_exeext
9837 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9838 CC="$CROSSCC"
9839 ac_exeext=".exe"
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9842 int main(int argc, char **argv) { return 0; }
9843 _ACEOF
9844 if ac_fn_c_try_link "$LINENO"; then :
9845 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9846 else
9847 ac_cv_crosscflags__Wdeclaration_after_statement=no
9849 rm -f core conftest.err conftest.$ac_objext \
9850 conftest$ac_exeext conftest.$ac_ext
9851 CFLAGS=$ac_wine_try_cflags_saved
9852 CC=$ac_wine_try_cflags_saved_cc
9853 ac_exeext=$ac_wine_try_cflags_saved_exeext
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9856 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9857 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9858 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9861 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9862 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9863 $as_echo_n "(cached) " >&6
9864 else
9865 ac_wine_try_cflags_saved=$CFLAGS
9866 ac_wine_try_cflags_saved_cc=$CC
9867 ac_wine_try_cflags_saved_exeext=$ac_exeext
9868 CFLAGS="$CFLAGS -Wempty-body"
9869 CC="$CROSSCC"
9870 ac_exeext=".exe"
9871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9872 /* end confdefs.h. */
9873 int main(int argc, char **argv) { return 0; }
9874 _ACEOF
9875 if ac_fn_c_try_link "$LINENO"; then :
9876 ac_cv_crosscflags__Wempty_body=yes
9877 else
9878 ac_cv_crosscflags__Wempty_body=no
9880 rm -f core conftest.err conftest.$ac_objext \
9881 conftest$ac_exeext conftest.$ac_ext
9882 CFLAGS=$ac_wine_try_cflags_saved
9883 CC=$ac_wine_try_cflags_saved_cc
9884 ac_exeext=$ac_wine_try_cflags_saved_exeext
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9887 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9888 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9889 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9892 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9893 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9894 $as_echo_n "(cached) " >&6
9895 else
9896 ac_wine_try_cflags_saved=$CFLAGS
9897 ac_wine_try_cflags_saved_cc=$CC
9898 ac_wine_try_cflags_saved_exeext=$ac_exeext
9899 CFLAGS="$CFLAGS -Wignored-qualifiers"
9900 CC="$CROSSCC"
9901 ac_exeext=".exe"
9902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9904 int main(int argc, char **argv) { return 0; }
9905 _ACEOF
9906 if ac_fn_c_try_link "$LINENO"; then :
9907 ac_cv_crosscflags__Wignored_qualifiers=yes
9908 else
9909 ac_cv_crosscflags__Wignored_qualifiers=no
9911 rm -f core conftest.err conftest.$ac_objext \
9912 conftest$ac_exeext conftest.$ac_ext
9913 CFLAGS=$ac_wine_try_cflags_saved
9914 CC=$ac_wine_try_cflags_saved_cc
9915 ac_exeext=$ac_wine_try_cflags_saved_exeext
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9918 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9919 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9920 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9923 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9924 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9925 $as_echo_n "(cached) " >&6
9926 else
9927 ac_wine_try_cflags_saved=$CFLAGS
9928 ac_wine_try_cflags_saved_cc=$CC
9929 ac_wine_try_cflags_saved_exeext=$ac_exeext
9930 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9931 CC="$CROSSCC"
9932 ac_exeext=".exe"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9935 int main(int argc, char **argv) { return 0; }
9936 _ACEOF
9937 if ac_fn_c_try_link "$LINENO"; then :
9938 ac_cv_crosscflags__Wpacked_not_aligned=yes
9939 else
9940 ac_cv_crosscflags__Wpacked_not_aligned=no
9942 rm -f core conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 CFLAGS=$ac_wine_try_cflags_saved
9945 CC=$ac_wine_try_cflags_saved_cc
9946 ac_exeext=$ac_wine_try_cflags_saved_exeext
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9949 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9950 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9951 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9954 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9955 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9956 $as_echo_n "(cached) " >&6
9957 else
9958 ac_wine_try_cflags_saved=$CFLAGS
9959 ac_wine_try_cflags_saved_cc=$CC
9960 ac_wine_try_cflags_saved_exeext=$ac_exeext
9961 CFLAGS="$CFLAGS -Wpragma-pack"
9962 CC="$CROSSCC"
9963 ac_exeext=".exe"
9964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9966 int main(int argc, char **argv) { return 0; }
9967 _ACEOF
9968 if ac_fn_c_try_link "$LINENO"; then :
9969 ac_cv_crosscflags__Wpragma_pack=yes
9970 else
9971 ac_cv_crosscflags__Wpragma_pack=no
9973 rm -f core conftest.err conftest.$ac_objext \
9974 conftest$ac_exeext conftest.$ac_ext
9975 CFLAGS=$ac_wine_try_cflags_saved
9976 CC=$ac_wine_try_cflags_saved_cc
9977 ac_exeext=$ac_wine_try_cflags_saved_exeext
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
9980 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
9981 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
9982 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
9985 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
9986 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
9987 $as_echo_n "(cached) " >&6
9988 else
9989 ac_wine_try_cflags_saved=$CFLAGS
9990 ac_wine_try_cflags_saved_cc=$CC
9991 ac_wine_try_cflags_saved_exeext=$ac_exeext
9992 CFLAGS="$CFLAGS -Wshift-overflow=2"
9993 CC="$CROSSCC"
9994 ac_exeext=".exe"
9995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9997 int main(int argc, char **argv) { return 0; }
9998 _ACEOF
9999 if ac_fn_c_try_link "$LINENO"; then :
10000 ac_cv_crosscflags__Wshift_overflow_2=yes
10001 else
10002 ac_cv_crosscflags__Wshift_overflow_2=no
10004 rm -f core conftest.err conftest.$ac_objext \
10005 conftest$ac_exeext conftest.$ac_ext
10006 CFLAGS=$ac_wine_try_cflags_saved
10007 CC=$ac_wine_try_cflags_saved_cc
10008 ac_exeext=$ac_wine_try_cflags_saved_exeext
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10011 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10012 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10013 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10016 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10017 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10018 $as_echo_n "(cached) " >&6
10019 else
10020 ac_wine_try_cflags_saved=$CFLAGS
10021 ac_wine_try_cflags_saved_cc=$CC
10022 ac_wine_try_cflags_saved_exeext=$ac_exeext
10023 CFLAGS="$CFLAGS -Wstrict-prototypes"
10024 CC="$CROSSCC"
10025 ac_exeext=".exe"
10026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10027 /* end confdefs.h. */
10028 int main(int argc, char **argv) { return 0; }
10029 _ACEOF
10030 if ac_fn_c_try_link "$LINENO"; then :
10031 ac_cv_crosscflags__Wstrict_prototypes=yes
10032 else
10033 ac_cv_crosscflags__Wstrict_prototypes=no
10035 rm -f core conftest.err conftest.$ac_objext \
10036 conftest$ac_exeext conftest.$ac_ext
10037 CFLAGS=$ac_wine_try_cflags_saved
10038 CC=$ac_wine_try_cflags_saved_cc
10039 ac_exeext=$ac_wine_try_cflags_saved_exeext
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10042 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10043 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10044 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10047 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10048 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10049 $as_echo_n "(cached) " >&6
10050 else
10051 ac_wine_try_cflags_saved=$CFLAGS
10052 ac_wine_try_cflags_saved_cc=$CC
10053 ac_wine_try_cflags_saved_exeext=$ac_exeext
10054 CFLAGS="$CFLAGS -Wtype-limits"
10055 CC="$CROSSCC"
10056 ac_exeext=".exe"
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10059 int main(int argc, char **argv) { return 0; }
10060 _ACEOF
10061 if ac_fn_c_try_link "$LINENO"; then :
10062 ac_cv_crosscflags__Wtype_limits=yes
10063 else
10064 ac_cv_crosscflags__Wtype_limits=no
10066 rm -f core conftest.err conftest.$ac_objext \
10067 conftest$ac_exeext conftest.$ac_ext
10068 CFLAGS=$ac_wine_try_cflags_saved
10069 CC=$ac_wine_try_cflags_saved_cc
10070 ac_exeext=$ac_wine_try_cflags_saved_exeext
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10073 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10074 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10075 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10078 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10079 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10080 $as_echo_n "(cached) " >&6
10081 else
10082 ac_wine_try_cflags_saved=$CFLAGS
10083 ac_wine_try_cflags_saved_cc=$CC
10084 ac_wine_try_cflags_saved_exeext=$ac_exeext
10085 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10086 CC="$CROSSCC"
10087 ac_exeext=".exe"
10088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10089 /* end confdefs.h. */
10090 int main(int argc, char **argv) { return 0; }
10091 _ACEOF
10092 if ac_fn_c_try_link "$LINENO"; then :
10093 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10094 else
10095 ac_cv_crosscflags__Wunused_but_set_parameter=no
10097 rm -f core conftest.err conftest.$ac_objext \
10098 conftest$ac_exeext conftest.$ac_ext
10099 CFLAGS=$ac_wine_try_cflags_saved
10100 CC=$ac_wine_try_cflags_saved_cc
10101 ac_exeext=$ac_wine_try_cflags_saved_exeext
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10104 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10105 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10106 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10109 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10110 if ${ac_cv_crosscflags__Wvla+:} false; then :
10111 $as_echo_n "(cached) " >&6
10112 else
10113 ac_wine_try_cflags_saved=$CFLAGS
10114 ac_wine_try_cflags_saved_cc=$CC
10115 ac_wine_try_cflags_saved_exeext=$ac_exeext
10116 CFLAGS="$CFLAGS -Wvla"
10117 CC="$CROSSCC"
10118 ac_exeext=".exe"
10119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10120 /* end confdefs.h. */
10121 int main(int argc, char **argv) { return 0; }
10122 _ACEOF
10123 if ac_fn_c_try_link "$LINENO"; then :
10124 ac_cv_crosscflags__Wvla=yes
10125 else
10126 ac_cv_crosscflags__Wvla=no
10128 rm -f core conftest.err conftest.$ac_objext \
10129 conftest$ac_exeext conftest.$ac_ext
10130 CFLAGS=$ac_wine_try_cflags_saved
10131 CC=$ac_wine_try_cflags_saved_cc
10132 ac_exeext=$ac_wine_try_cflags_saved_exeext
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10135 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10136 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10137 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10140 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10141 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_wine_try_cflags_saved=$CFLAGS
10145 ac_wine_try_cflags_saved_cc=$CC
10146 ac_wine_try_cflags_saved_exeext=$ac_exeext
10147 CFLAGS="$CFLAGS -Wwrite-strings"
10148 CC="$CROSSCC"
10149 ac_exeext=".exe"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10152 int main(int argc, char **argv) { return 0; }
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"; then :
10155 ac_cv_crosscflags__Wwrite_strings=yes
10156 else
10157 ac_cv_crosscflags__Wwrite_strings=no
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 CFLAGS=$ac_wine_try_cflags_saved
10162 CC=$ac_wine_try_cflags_saved_cc
10163 ac_exeext=$ac_wine_try_cflags_saved_exeext
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10166 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10167 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10168 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10171 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10172 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 ac_wine_try_cflags_saved=$CFLAGS
10176 ac_wine_try_cflags_saved_cc=$CC
10177 ac_wine_try_cflags_saved_exeext=$ac_exeext
10178 CFLAGS="$CFLAGS -Wpointer-arith"
10179 CC="$CROSSCC"
10180 ac_exeext=".exe"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10183 int main(int argc, char **argv) { return 0; }
10184 _ACEOF
10185 if ac_fn_c_try_link "$LINENO"; then :
10186 ac_cv_crosscflags__Wpointer_arith=yes
10187 else
10188 ac_cv_crosscflags__Wpointer_arith=no
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 CFLAGS=$ac_wine_try_cflags_saved
10193 CC=$ac_wine_try_cflags_saved_cc
10194 ac_exeext=$ac_wine_try_cflags_saved_exeext
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10197 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10198 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10199 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10202 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10203 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10204 $as_echo_n "(cached) " >&6
10205 else
10206 ac_wine_try_cflags_saved=$CFLAGS
10207 ac_wine_try_cflags_saved_cc=$CC
10208 ac_wine_try_cflags_saved_exeext=$ac_exeext
10209 CFLAGS="$CFLAGS -Wlogical-op"
10210 CC="$CROSSCC"
10211 ac_exeext=".exe"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 int main(int argc, char **argv) { return 0; }
10215 _ACEOF
10216 if ac_fn_c_try_link "$LINENO"; then :
10217 ac_cv_crosscflags__Wlogical_op=yes
10218 else
10219 ac_cv_crosscflags__Wlogical_op=no
10221 rm -f core conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 CFLAGS=$ac_wine_try_cflags_saved
10224 CC=$ac_wine_try_cflags_saved_cc
10225 ac_exeext=$ac_wine_try_cflags_saved_exeext
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10228 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10229 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10230 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10233 case $host_cpu in
10234 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10235 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10236 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_wine_try_cflags_saved=$CFLAGS
10240 ac_wine_try_cflags_saved_cc=$CC
10241 ac_wine_try_cflags_saved_exeext=$ac_exeext
10242 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10243 CC="$CROSSCC"
10244 ac_exeext=".exe"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int main(int argc, char **argv) { return 0; }
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10251 else
10252 ac_cv_crosscflags__fno_omit_frame_pointer=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10257 CC=$ac_wine_try_cflags_saved_cc
10258 ac_exeext=$ac_wine_try_cflags_saved_exeext
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10261 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10262 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10263 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10264 fi ;;
10265 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10266 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10267 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10268 $as_echo_n "(cached) " >&6
10269 else
10270 ac_wine_try_cflags_saved=$CFLAGS
10271 ac_wine_try_cflags_saved_cc=$CC
10272 ac_wine_try_cflags_saved_exeext=$ac_exeext
10273 CFLAGS="$CFLAGS -Wno-format"
10274 CC="$CROSSCC"
10275 ac_exeext=".exe"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 int main(int argc, char **argv) { return 0; }
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 ac_cv_crosscflags__Wno_format=yes
10282 else
10283 ac_cv_crosscflags__Wno_format=no
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10288 CC=$ac_wine_try_cflags_saved_cc
10289 ac_exeext=$ac_wine_try_cflags_saved_exeext
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10292 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10293 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10294 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10295 fi ;;
10296 esac
10298 for ac_flag in $CROSSCFLAGS; do
10299 case $ac_flag in
10300 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10301 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10302 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_wine_try_cflags_saved=$CFLAGS
10306 ac_wine_try_cflags_saved_cc=$CC
10307 ac_wine_try_cflags_saved_exeext=$ac_exeext
10308 CFLAGS="$CFLAGS -gdwarf-2"
10309 CC="$CROSSCC"
10310 ac_exeext=".exe"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10313 int main(int argc, char **argv) { return 0; }
10314 _ACEOF
10315 if ac_fn_c_try_link "$LINENO"; then :
10316 ac_cv_crosscflags__gdwarf_2=yes
10317 else
10318 ac_cv_crosscflags__gdwarf_2=no
10320 rm -f core conftest.err conftest.$ac_objext \
10321 conftest$ac_exeext conftest.$ac_ext
10322 CFLAGS=$ac_wine_try_cflags_saved
10323 CC=$ac_wine_try_cflags_saved_cc
10324 ac_exeext=$ac_wine_try_cflags_saved_exeext
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10327 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10328 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10329 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10332 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10333 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10334 $as_echo_n "(cached) " >&6
10335 else
10336 ac_wine_try_cflags_saved=$CFLAGS
10337 ac_wine_try_cflags_saved_cc=$CC
10338 ac_wine_try_cflags_saved_exeext=$ac_exeext
10339 CFLAGS="$CFLAGS -gstrict-dwarf"
10340 CC="$CROSSCC"
10341 ac_exeext=".exe"
10342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10343 /* end confdefs.h. */
10344 int main(int argc, char **argv) { return 0; }
10345 _ACEOF
10346 if ac_fn_c_try_link "$LINENO"; then :
10347 ac_cv_crosscflags__gstrict_dwarf=yes
10348 else
10349 ac_cv_crosscflags__gstrict_dwarf=no
10351 rm -f core conftest.err conftest.$ac_objext \
10352 conftest$ac_exeext conftest.$ac_ext
10353 CFLAGS=$ac_wine_try_cflags_saved
10354 CC=$ac_wine_try_cflags_saved_cc
10355 ac_exeext=$ac_wine_try_cflags_saved_exeext
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10358 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10359 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10360 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10361 fi ;;
10362 esac
10363 done
10365 if test "x$enable_maintainer_mode" = xyes
10366 then
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10368 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10369 if ${ac_cv_crosscflags__Werror+:} false; then :
10370 $as_echo_n "(cached) " >&6
10371 else
10372 ac_wine_try_cflags_saved=$CFLAGS
10373 ac_wine_try_cflags_saved_cc=$CC
10374 ac_wine_try_cflags_saved_exeext=$ac_exeext
10375 CFLAGS="$CFLAGS -Werror"
10376 CC="$CROSSCC"
10377 ac_exeext=".exe"
10378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10380 int main(int argc, char **argv) { return 0; }
10381 _ACEOF
10382 if ac_fn_c_try_link "$LINENO"; then :
10383 ac_cv_crosscflags__Werror=yes
10384 else
10385 ac_cv_crosscflags__Werror=no
10387 rm -f core conftest.err conftest.$ac_objext \
10388 conftest$ac_exeext conftest.$ac_ext
10389 CFLAGS=$ac_wine_try_cflags_saved
10390 CC=$ac_wine_try_cflags_saved_cc
10391 ac_exeext=$ac_wine_try_cflags_saved_exeext
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10394 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10395 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10396 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10400 CFLAGS=$saved_CFLAGS
10401 CC="$ac_save_CC"
10404 if test "x$CROSSTARGET" = "x"; then :
10405 case "x$with_mingw" in
10406 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10407 xno) ;;
10408 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10409 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10410 esac
10415 if test "$ac_cv_header_pthread_h" = "yes"
10416 then
10417 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10418 if test "x$ac_cv_func_pthread_create" = xyes; then :
10420 else
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10422 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10423 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10424 $as_echo_n "(cached) " >&6
10425 else
10426 ac_check_lib_save_LIBS=$LIBS
10427 LIBS="-lpthread $LIBS"
10428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10429 /* end confdefs.h. */
10431 /* Override any GCC internal prototype to avoid an error.
10432 Use char because int might match the return type of a GCC
10433 builtin and then its argument prototype would still apply. */
10434 #ifdef __cplusplus
10435 extern "C"
10436 #endif
10437 char pthread_create ();
10439 main ()
10441 return pthread_create ();
10443 return 0;
10445 _ACEOF
10446 if ac_fn_c_try_link "$LINENO"; then :
10447 ac_cv_lib_pthread_pthread_create=yes
10448 else
10449 ac_cv_lib_pthread_pthread_create=no
10451 rm -f core conftest.err conftest.$ac_objext \
10452 conftest$ac_exeext conftest.$ac_ext
10453 LIBS=$ac_check_lib_save_LIBS
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10456 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10457 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10458 PTHREAD_LIBS="-lpthread"
10465 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10466 case "x$with_pthread" in
10467 xno) ;;
10468 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10469 Wine cannot support threads without libpthread.
10470 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10471 esac
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10477 $as_echo_n "checking for X... " >&6; }
10480 # Check whether --with-x was given.
10481 if test "${with_x+set}" = set; then :
10482 withval=$with_x;
10485 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10486 if test "x$with_x" = xno; then
10487 # The user explicitly disabled X.
10488 have_x=disabled
10489 else
10490 case $x_includes,$x_libraries in #(
10491 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10492 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10493 $as_echo_n "(cached) " >&6
10494 else
10495 # One or both of the vars are not set, and there is no cached value.
10496 ac_x_includes=no ac_x_libraries=no
10497 rm -f -r conftest.dir
10498 if mkdir conftest.dir; then
10499 cd conftest.dir
10500 cat >Imakefile <<'_ACEOF'
10501 incroot:
10502 @echo incroot='${INCROOT}'
10503 usrlibdir:
10504 @echo usrlibdir='${USRLIBDIR}'
10505 libdir:
10506 @echo libdir='${LIBDIR}'
10507 _ACEOF
10508 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10509 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10510 for ac_var in incroot usrlibdir libdir; do
10511 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10512 done
10513 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10514 for ac_extension in a so sl dylib la dll; do
10515 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10516 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10517 ac_im_usrlibdir=$ac_im_libdir; break
10519 done
10520 # Screen out bogus values from the imake configuration. They are
10521 # bogus both because they are the default anyway, and because
10522 # using them would break gcc on systems where it needs fixed includes.
10523 case $ac_im_incroot in
10524 /usr/include) ac_x_includes= ;;
10525 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10526 esac
10527 case $ac_im_usrlibdir in
10528 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10529 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10530 esac
10532 cd ..
10533 rm -f -r conftest.dir
10536 # Standard set of common directories for X headers.
10537 # Check X11 before X11Rn because it is often a symlink to the current release.
10538 ac_x_header_dirs='
10539 /usr/X11/include
10540 /usr/X11R7/include
10541 /usr/X11R6/include
10542 /usr/X11R5/include
10543 /usr/X11R4/include
10545 /usr/include/X11
10546 /usr/include/X11R7
10547 /usr/include/X11R6
10548 /usr/include/X11R5
10549 /usr/include/X11R4
10551 /usr/local/X11/include
10552 /usr/local/X11R7/include
10553 /usr/local/X11R6/include
10554 /usr/local/X11R5/include
10555 /usr/local/X11R4/include
10557 /usr/local/include/X11
10558 /usr/local/include/X11R7
10559 /usr/local/include/X11R6
10560 /usr/local/include/X11R5
10561 /usr/local/include/X11R4
10563 /usr/X386/include
10564 /usr/x386/include
10565 /usr/XFree86/include/X11
10567 /usr/include
10568 /usr/local/include
10569 /usr/unsupported/include
10570 /usr/athena/include
10571 /usr/local/x11r5/include
10572 /usr/lpp/Xamples/include
10574 /usr/openwin/include
10575 /usr/openwin/share/include'
10577 if test "$ac_x_includes" = no; then
10578 # Guess where to find include files, by looking for Xlib.h.
10579 # First, try using that file with no special directory specified.
10580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10581 /* end confdefs.h. */
10582 #include <X11/Xlib.h>
10583 _ACEOF
10584 if ac_fn_c_try_cpp "$LINENO"; then :
10585 # We can compile using X headers with no special include directory.
10586 ac_x_includes=
10587 else
10588 for ac_dir in $ac_x_header_dirs; do
10589 if test -r "$ac_dir/X11/Xlib.h"; then
10590 ac_x_includes=$ac_dir
10591 break
10593 done
10595 rm -f conftest.err conftest.i conftest.$ac_ext
10596 fi # $ac_x_includes = no
10598 if test "$ac_x_libraries" = no; then
10599 # Check for the libraries.
10600 # See if we find them without any special options.
10601 # Don't add to $LIBS permanently.
10602 ac_save_LIBS=$LIBS
10603 LIBS="-lX11 $LIBS"
10604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10606 #include <X11/Xlib.h>
10608 main ()
10610 XrmInitialize ()
10612 return 0;
10614 _ACEOF
10615 if ac_fn_c_try_link "$LINENO"; then :
10616 LIBS=$ac_save_LIBS
10617 # We can link X programs with no special library path.
10618 ac_x_libraries=
10619 else
10620 LIBS=$ac_save_LIBS
10621 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10623 # Don't even attempt the hair of trying to link an X program!
10624 for ac_extension in a so sl dylib la dll; do
10625 if test -r "$ac_dir/libX11.$ac_extension"; then
10626 ac_x_libraries=$ac_dir
10627 break 2
10629 done
10630 done
10632 rm -f core conftest.err conftest.$ac_objext \
10633 conftest$ac_exeext conftest.$ac_ext
10634 fi # $ac_x_libraries = no
10636 case $ac_x_includes,$ac_x_libraries in #(
10637 no,* | *,no | *\'*)
10638 # Didn't find X, or a directory has "'" in its name.
10639 ac_cv_have_x="have_x=no";; #(
10641 # Record where we found X for the cache.
10642 ac_cv_have_x="have_x=yes\
10643 ac_x_includes='$ac_x_includes'\
10644 ac_x_libraries='$ac_x_libraries'"
10645 esac
10647 ;; #(
10648 *) have_x=yes;;
10649 esac
10650 eval "$ac_cv_have_x"
10651 fi # $with_x != no
10653 if test "$have_x" != yes; then
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10655 $as_echo "$have_x" >&6; }
10656 no_x=yes
10657 else
10658 # If each of the values was on the command line, it overrides each guess.
10659 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10660 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10661 # Update the cache value to reflect the command line values.
10662 ac_cv_have_x="have_x=yes\
10663 ac_x_includes='$x_includes'\
10664 ac_x_libraries='$x_libraries'"
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10666 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10669 if test "$no_x" = yes; then
10670 # Not all programs may use this symbol, but it does not hurt to define it.
10672 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10674 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10675 else
10676 if test -n "$x_includes"; then
10677 X_CFLAGS="$X_CFLAGS -I$x_includes"
10680 # It would also be nice to do this for all -L options, not just this one.
10681 if test -n "$x_libraries"; then
10682 X_LIBS="$X_LIBS -L$x_libraries"
10683 # For Solaris; some versions of Sun CC require a space after -R and
10684 # others require no space. Words are not sufficient . . . .
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10686 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10687 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10688 ac_xsave_c_werror_flag=$ac_c_werror_flag
10689 ac_c_werror_flag=yes
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10694 main ()
10698 return 0;
10700 _ACEOF
10701 if ac_fn_c_try_link "$LINENO"; then :
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10703 $as_echo "no" >&6; }
10704 X_LIBS="$X_LIBS -R$x_libraries"
10705 else
10706 LIBS="$ac_xsave_LIBS -R $x_libraries"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10711 main ()
10715 return 0;
10717 _ACEOF
10718 if ac_fn_c_try_link "$LINENO"; then :
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10720 $as_echo "yes" >&6; }
10721 X_LIBS="$X_LIBS -R $x_libraries"
10722 else
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10724 $as_echo "neither works" >&6; }
10726 rm -f core conftest.err conftest.$ac_objext \
10727 conftest$ac_exeext conftest.$ac_ext
10729 rm -f core conftest.err conftest.$ac_objext \
10730 conftest$ac_exeext conftest.$ac_ext
10731 ac_c_werror_flag=$ac_xsave_c_werror_flag
10732 LIBS=$ac_xsave_LIBS
10735 # Check for system-dependent libraries X programs must link with.
10736 # Do this before checking for the system-independent R6 libraries
10737 # (-lICE), since we may need -lsocket or whatever for X linking.
10739 if test "$ISC" = yes; then
10740 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10741 else
10742 # Martyn Johnson says this is needed for Ultrix, if the X
10743 # libraries were built with DECnet support. And Karl Berry says
10744 # the Alpha needs dnet_stub (dnet does not exist).
10745 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10749 /* Override any GCC internal prototype to avoid an error.
10750 Use char because int might match the return type of a GCC
10751 builtin and then its argument prototype would still apply. */
10752 #ifdef __cplusplus
10753 extern "C"
10754 #endif
10755 char XOpenDisplay ();
10757 main ()
10759 return XOpenDisplay ();
10761 return 0;
10763 _ACEOF
10764 if ac_fn_c_try_link "$LINENO"; then :
10766 else
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10768 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10769 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10770 $as_echo_n "(cached) " >&6
10771 else
10772 ac_check_lib_save_LIBS=$LIBS
10773 LIBS="-ldnet $LIBS"
10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10780 #ifdef __cplusplus
10781 extern "C"
10782 #endif
10783 char dnet_ntoa ();
10785 main ()
10787 return dnet_ntoa ();
10789 return 0;
10791 _ACEOF
10792 if ac_fn_c_try_link "$LINENO"; then :
10793 ac_cv_lib_dnet_dnet_ntoa=yes
10794 else
10795 ac_cv_lib_dnet_dnet_ntoa=no
10797 rm -f core conftest.err conftest.$ac_objext \
10798 conftest$ac_exeext conftest.$ac_ext
10799 LIBS=$ac_check_lib_save_LIBS
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10802 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10803 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10804 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10807 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10809 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10810 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10811 $as_echo_n "(cached) " >&6
10812 else
10813 ac_check_lib_save_LIBS=$LIBS
10814 LIBS="-ldnet_stub $LIBS"
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10821 #ifdef __cplusplus
10822 extern "C"
10823 #endif
10824 char dnet_ntoa ();
10826 main ()
10828 return dnet_ntoa ();
10830 return 0;
10832 _ACEOF
10833 if ac_fn_c_try_link "$LINENO"; then :
10834 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10835 else
10836 ac_cv_lib_dnet_stub_dnet_ntoa=no
10838 rm -f core conftest.err conftest.$ac_objext \
10839 conftest$ac_exeext conftest.$ac_ext
10840 LIBS=$ac_check_lib_save_LIBS
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10843 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10844 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10845 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10850 rm -f core conftest.err conftest.$ac_objext \
10851 conftest$ac_exeext conftest.$ac_ext
10852 LIBS="$ac_xsave_LIBS"
10854 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10855 # to get the SysV transport functions.
10856 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10857 # needs -lnsl.
10858 # The nsl library prevents programs from opening the X display
10859 # on Irix 5.2, according to T.E. Dickey.
10860 # The functions gethostbyname, getservbyname, and inet_addr are
10861 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10862 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10863 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10867 if test $ac_cv_func_gethostbyname = no; then
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10869 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10870 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10871 $as_echo_n "(cached) " >&6
10872 else
10873 ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-lnsl $LIBS"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10881 #ifdef __cplusplus
10882 extern "C"
10883 #endif
10884 char gethostbyname ();
10886 main ()
10888 return gethostbyname ();
10890 return 0;
10892 _ACEOF
10893 if ac_fn_c_try_link "$LINENO"; then :
10894 ac_cv_lib_nsl_gethostbyname=yes
10895 else
10896 ac_cv_lib_nsl_gethostbyname=no
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_lib_save_LIBS
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10903 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10904 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10905 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10908 if test $ac_cv_lib_nsl_gethostbyname = no; then
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10910 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10911 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10912 $as_echo_n "(cached) " >&6
10913 else
10914 ac_check_lib_save_LIBS=$LIBS
10915 LIBS="-lbsd $LIBS"
10916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10917 /* end confdefs.h. */
10919 /* Override any GCC internal prototype to avoid an error.
10920 Use char because int might match the return type of a GCC
10921 builtin and then its argument prototype would still apply. */
10922 #ifdef __cplusplus
10923 extern "C"
10924 #endif
10925 char gethostbyname ();
10927 main ()
10929 return gethostbyname ();
10931 return 0;
10933 _ACEOF
10934 if ac_fn_c_try_link "$LINENO"; then :
10935 ac_cv_lib_bsd_gethostbyname=yes
10936 else
10937 ac_cv_lib_bsd_gethostbyname=no
10939 rm -f core conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LIBS=$ac_check_lib_save_LIBS
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10944 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10945 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10946 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10952 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10953 # socket/setsockopt and other routines are undefined under SCO ODT
10954 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10955 # on later versions), says Simon Leinen: it contains gethostby*
10956 # variants that don't use the name server (or something). -lsocket
10957 # must be given before -lnsl if both are needed. We assume that
10958 # if connect needs -lnsl, so does gethostbyname.
10959 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10960 if test "x$ac_cv_func_connect" = xyes; then :
10964 if test $ac_cv_func_connect = no; then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10966 $as_echo_n "checking for connect in -lsocket... " >&6; }
10967 if ${ac_cv_lib_socket_connect+:} false; then :
10968 $as_echo_n "(cached) " >&6
10969 else
10970 ac_check_lib_save_LIBS=$LIBS
10971 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10978 #ifdef __cplusplus
10979 extern "C"
10980 #endif
10981 char connect ();
10983 main ()
10985 return connect ();
10987 return 0;
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"; then :
10991 ac_cv_lib_socket_connect=yes
10992 else
10993 ac_cv_lib_socket_connect=no
10995 rm -f core conftest.err conftest.$ac_objext \
10996 conftest$ac_exeext conftest.$ac_ext
10997 LIBS=$ac_check_lib_save_LIBS
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11000 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11001 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11002 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11007 # Guillermo Gomez says -lposix is necessary on A/UX.
11008 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11009 if test "x$ac_cv_func_remove" = xyes; then :
11013 if test $ac_cv_func_remove = no; then
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11015 $as_echo_n "checking for remove in -lposix... " >&6; }
11016 if ${ac_cv_lib_posix_remove+:} false; then :
11017 $as_echo_n "(cached) " >&6
11018 else
11019 ac_check_lib_save_LIBS=$LIBS
11020 LIBS="-lposix $LIBS"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11027 #ifdef __cplusplus
11028 extern "C"
11029 #endif
11030 char remove ();
11032 main ()
11034 return remove ();
11036 return 0;
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"; then :
11040 ac_cv_lib_posix_remove=yes
11041 else
11042 ac_cv_lib_posix_remove=no
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11049 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11050 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11051 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11056 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11057 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11058 if test "x$ac_cv_func_shmat" = xyes; then :
11062 if test $ac_cv_func_shmat = no; then
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11064 $as_echo_n "checking for shmat in -lipc... " >&6; }
11065 if ${ac_cv_lib_ipc_shmat+:} false; then :
11066 $as_echo_n "(cached) " >&6
11067 else
11068 ac_check_lib_save_LIBS=$LIBS
11069 LIBS="-lipc $LIBS"
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11073 /* Override any GCC internal prototype to avoid an error.
11074 Use char because int might match the return type of a GCC
11075 builtin and then its argument prototype would still apply. */
11076 #ifdef __cplusplus
11077 extern "C"
11078 #endif
11079 char shmat ();
11081 main ()
11083 return shmat ();
11085 return 0;
11087 _ACEOF
11088 if ac_fn_c_try_link "$LINENO"; then :
11089 ac_cv_lib_ipc_shmat=yes
11090 else
11091 ac_cv_lib_ipc_shmat=no
11093 rm -f core conftest.err conftest.$ac_objext \
11094 conftest$ac_exeext conftest.$ac_ext
11095 LIBS=$ac_check_lib_save_LIBS
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11098 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11099 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11100 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11106 # Check for libraries that X11R6 Xt/Xaw programs need.
11107 ac_save_LDFLAGS=$LDFLAGS
11108 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11109 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11110 # check for ICE first), but we must link in the order -lSM -lICE or
11111 # we get undefined symbols. So assume we have SM if we have ICE.
11112 # These have to be linked with before -lX11, unlike the other
11113 # libraries we check for below, so use a different variable.
11114 # John Interrante, Karl Berry
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11116 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11117 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11118 $as_echo_n "(cached) " >&6
11119 else
11120 ac_check_lib_save_LIBS=$LIBS
11121 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char IceConnectionNumber ();
11133 main ()
11135 return IceConnectionNumber ();
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11141 ac_cv_lib_ICE_IceConnectionNumber=yes
11142 else
11143 ac_cv_lib_ICE_IceConnectionNumber=no
11145 rm -f core conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147 LIBS=$ac_check_lib_save_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11150 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11151 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11152 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11155 LDFLAGS=$ac_save_LDFLAGS
11160 if test "$have_x" = "yes"
11161 then
11162 ac_save_CPPFLAGS="$CPPFLAGS"
11163 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11166 $as_echo_n "checking for -lX11... " >&6; }
11167 if ${ac_cv_lib_soname_X11+:} false; then :
11168 $as_echo_n "(cached) " >&6
11169 else
11170 ac_check_soname_save_LIBS=$LIBS
11171 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11178 #ifdef __cplusplus
11179 extern "C"
11180 #endif
11181 char XCreateWindow ();
11183 main ()
11185 return XCreateWindow ();
11187 return 0;
11189 _ACEOF
11190 if ac_fn_c_try_link "$LINENO"; then :
11191 case "$LIBEXT" in
11192 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11193 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'` ;;
11194 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11195 if ${ac_cv_lib_soname_X11:+false} :; then :
11196 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11197 fi ;;
11198 esac
11199 else
11200 ac_cv_lib_soname_X11=
11202 rm -f core conftest.err conftest.$ac_objext \
11203 conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_soname_save_LIBS
11206 if ${ac_cv_lib_soname_X11:+false} :; then :
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11208 $as_echo "not found" >&6; }
11210 else
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11212 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11214 cat >>confdefs.h <<_ACEOF
11215 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11216 _ACEOF
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11221 $as_echo_n "checking for -lXext... " >&6; }
11222 if ${ac_cv_lib_soname_Xext+:} false; then :
11223 $as_echo_n "(cached) " >&6
11224 else
11225 ac_check_soname_save_LIBS=$LIBS
11226 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11233 #ifdef __cplusplus
11234 extern "C"
11235 #endif
11236 char XextCreateExtension ();
11238 main ()
11240 return XextCreateExtension ();
11242 return 0;
11244 _ACEOF
11245 if ac_fn_c_try_link "$LINENO"; then :
11246 case "$LIBEXT" in
11247 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11248 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'` ;;
11249 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11250 if ${ac_cv_lib_soname_Xext:+false} :; then :
11251 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11252 fi ;;
11253 esac
11254 else
11255 ac_cv_lib_soname_Xext=
11257 rm -f core conftest.err conftest.$ac_objext \
11258 conftest$ac_exeext conftest.$ac_ext
11259 LIBS=$ac_check_soname_save_LIBS
11261 if ${ac_cv_lib_soname_Xext:+false} :; then :
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11263 $as_echo "not found" >&6; }
11265 else
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11267 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11269 cat >>confdefs.h <<_ACEOF
11270 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11271 _ACEOF
11273 X_LIBS="$X_LIBS -lXext"
11275 X_LIBS="$X_LIBS -lX11"
11277 for ac_header in X11/Xlib.h \
11278 X11/XKBlib.h \
11279 X11/Xutil.h \
11280 X11/Xcursor/Xcursor.h \
11281 X11/extensions/shape.h \
11282 X11/extensions/XInput.h \
11283 X11/extensions/XInput2.h \
11284 X11/extensions/XShm.h \
11285 X11/extensions/Xcomposite.h \
11286 X11/extensions/Xfixes.h \
11287 X11/extensions/Xinerama.h \
11288 X11/extensions/Xrandr.h \
11289 X11/extensions/Xrender.h \
11290 X11/extensions/xf86vmode.h \
11291 X11/extensions/xf86vmproto.h
11292 do :
11293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11294 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11295 # include <X11/Xlib.h>
11296 #endif
11297 #ifdef HAVE_X11_XUTIL_H
11298 # include <X11/Xutil.h>
11299 #endif
11301 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11302 cat >>confdefs.h <<_ACEOF
11303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11304 _ACEOF
11308 done
11311 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11312 then
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11314 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11315 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11316 $as_echo_n "(cached) " >&6
11317 else
11318 ac_check_lib_save_LIBS=$LIBS
11319 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char XkbQueryExtension ();
11331 main ()
11333 return XkbQueryExtension ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_X11_XkbQueryExtension=yes
11340 else
11341 ac_cv_lib_X11_XkbQueryExtension=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11348 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11349 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11351 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11357 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11358 then
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11360 $as_echo_n "checking for -lXcursor... " >&6; }
11361 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11362 $as_echo_n "(cached) " >&6
11363 else
11364 ac_check_soname_save_LIBS=$LIBS
11365 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char XcursorImageLoadCursor ();
11377 main ()
11379 return XcursorImageLoadCursor ();
11381 return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 case "$LIBEXT" in
11386 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11387 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'` ;;
11388 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11389 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11390 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11391 fi ;;
11392 esac
11393 else
11394 ac_cv_lib_soname_Xcursor=
11396 rm -f core conftest.err conftest.$ac_objext \
11397 conftest$ac_exeext conftest.$ac_ext
11398 LIBS=$ac_check_soname_save_LIBS
11400 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11402 $as_echo "not found" >&6; }
11404 else
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11406 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11408 cat >>confdefs.h <<_ACEOF
11409 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11410 _ACEOF
11415 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11416 case "x$with_xcursor" in
11417 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11418 xno) ;;
11419 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11420 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11421 esac
11425 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11426 then
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11428 $as_echo_n "checking for -lXi... " >&6; }
11429 if ${ac_cv_lib_soname_Xi+:} false; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_soname_save_LIBS=$LIBS
11433 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char XOpenDevice ();
11445 main ()
11447 return XOpenDevice ();
11449 return 0;
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 case "$LIBEXT" in
11454 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11455 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'` ;;
11456 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11457 if ${ac_cv_lib_soname_Xi:+false} :; then :
11458 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11459 fi ;;
11460 esac
11461 else
11462 ac_cv_lib_soname_Xi=
11464 rm -f core conftest.err conftest.$ac_objext \
11465 conftest$ac_exeext conftest.$ac_ext
11466 LIBS=$ac_check_soname_save_LIBS
11468 if ${ac_cv_lib_soname_Xi:+false} :; then :
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11470 $as_echo "not found" >&6; }
11472 else
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11474 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11476 cat >>confdefs.h <<_ACEOF
11477 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11478 _ACEOF
11483 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11484 case "x$with_xinput" in
11485 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11486 xno) ;;
11487 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11488 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11489 esac
11493 if test "x$ac_cv_lib_soname_Xi" != x
11494 then
11495 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11496 case "x$with_xinput2" in
11497 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11498 xno) ;;
11499 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11500 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11501 esac
11506 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11507 then
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11509 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11510 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11518 /* Override any GCC internal prototype to avoid an error.
11519 Use char because int might match the return type of a GCC
11520 builtin and then its argument prototype would still apply. */
11521 #ifdef __cplusplus
11522 extern "C"
11523 #endif
11524 char XShmQueryExtension ();
11526 main ()
11528 return XShmQueryExtension ();
11530 return 0;
11532 _ACEOF
11533 if ac_fn_c_try_link "$LINENO"; then :
11534 ac_cv_lib_Xext_XShmQueryExtension=yes
11535 else
11536 ac_cv_lib_Xext_XShmQueryExtension=no
11538 rm -f core conftest.err conftest.$ac_objext \
11539 conftest$ac_exeext conftest.$ac_ext
11540 LIBS=$ac_check_lib_save_LIBS
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11543 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11544 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11546 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11551 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11552 case "x$with_xshm" in
11553 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11554 xno) ;;
11555 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11556 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11557 esac
11561 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11562 then
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11564 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11565 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11566 $as_echo_n "(cached) " >&6
11567 else
11568 ac_check_lib_save_LIBS=$LIBS
11569 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11576 #ifdef __cplusplus
11577 extern "C"
11578 #endif
11579 char XShapeQueryExtension ();
11581 main ()
11583 return XShapeQueryExtension ();
11585 return 0;
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"; then :
11589 ac_cv_lib_Xext_XShapeQueryExtension=yes
11590 else
11591 ac_cv_lib_Xext_XShapeQueryExtension=no
11593 rm -f core conftest.err conftest.$ac_objext \
11594 conftest$ac_exeext conftest.$ac_ext
11595 LIBS=$ac_check_lib_save_LIBS
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11598 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11599 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11601 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11606 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11607 case "x$with_xshape" in
11608 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11609 xno) ;;
11610 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11611 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11612 esac
11616 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11617 then
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11619 $as_echo_n "checking for -lXxf86vm... " >&6; }
11620 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11621 $as_echo_n "(cached) " >&6
11622 else
11623 ac_check_soname_save_LIBS=$LIBS
11624 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11628 /* Override any GCC internal prototype to avoid an error.
11629 Use char because int might match the return type of a GCC
11630 builtin and then its argument prototype would still apply. */
11631 #ifdef __cplusplus
11632 extern "C"
11633 #endif
11634 char XF86VidModeQueryExtension ();
11636 main ()
11638 return XF86VidModeQueryExtension ();
11640 return 0;
11642 _ACEOF
11643 if ac_fn_c_try_link "$LINENO"; then :
11644 case "$LIBEXT" in
11645 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11646 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'` ;;
11647 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11648 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11649 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11650 fi ;;
11651 esac
11652 else
11653 ac_cv_lib_soname_Xxf86vm=
11655 rm -f core conftest.err conftest.$ac_objext \
11656 conftest$ac_exeext conftest.$ac_ext
11657 LIBS=$ac_check_soname_save_LIBS
11659 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11661 $as_echo "not found" >&6; }
11663 else
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11665 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11667 cat >>confdefs.h <<_ACEOF
11668 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11669 _ACEOF
11674 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11675 case "x$with_xxf86vm" in
11676 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11677 xno) ;;
11678 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11679 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11680 esac
11684 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11685 then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11687 $as_echo_n "checking for -lXrender... " >&6; }
11688 if ${ac_cv_lib_soname_Xrender+:} false; then :
11689 $as_echo_n "(cached) " >&6
11690 else
11691 ac_check_soname_save_LIBS=$LIBS
11692 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11694 /* end confdefs.h. */
11696 /* Override any GCC internal prototype to avoid an error.
11697 Use char because int might match the return type of a GCC
11698 builtin and then its argument prototype would still apply. */
11699 #ifdef __cplusplus
11700 extern "C"
11701 #endif
11702 char XRenderQueryExtension ();
11704 main ()
11706 return XRenderQueryExtension ();
11708 return 0;
11710 _ACEOF
11711 if ac_fn_c_try_link "$LINENO"; then :
11712 case "$LIBEXT" in
11713 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11714 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'` ;;
11715 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11716 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11717 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11718 fi ;;
11719 esac
11720 else
11721 ac_cv_lib_soname_Xrender=
11723 rm -f core conftest.err conftest.$ac_objext \
11724 conftest$ac_exeext conftest.$ac_ext
11725 LIBS=$ac_check_soname_save_LIBS
11727 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11729 $as_echo "not found" >&6; }
11731 else
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11733 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11735 cat >>confdefs.h <<_ACEOF
11736 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11737 _ACEOF
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11740 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11741 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11742 $as_echo_n "(cached) " >&6
11743 else
11744 ac_check_lib_save_LIBS=$LIBS
11745 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 /* Override any GCC internal prototype to avoid an error.
11750 Use char because int might match the return type of a GCC
11751 builtin and then its argument prototype would still apply. */
11752 #ifdef __cplusplus
11753 extern "C"
11754 #endif
11755 char XRenderSetPictureTransform ();
11757 main ()
11759 return XRenderSetPictureTransform ();
11761 return 0;
11763 _ACEOF
11764 if ac_fn_c_try_link "$LINENO"; then :
11765 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11766 else
11767 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11769 rm -f core conftest.err conftest.$ac_objext \
11770 conftest$ac_exeext conftest.$ac_ext
11771 LIBS=$ac_check_lib_save_LIBS
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11774 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11775 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11777 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11782 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11783 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11784 $as_echo_n "(cached) " >&6
11785 else
11786 ac_check_lib_save_LIBS=$LIBS
11787 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11791 /* Override any GCC internal prototype to avoid an error.
11792 Use char because int might match the return type of a GCC
11793 builtin and then its argument prototype would still apply. */
11794 #ifdef __cplusplus
11795 extern "C"
11796 #endif
11797 char XRenderCreateLinearGradient ();
11799 main ()
11801 return XRenderCreateLinearGradient ();
11803 return 0;
11805 _ACEOF
11806 if ac_fn_c_try_link "$LINENO"; then :
11807 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11808 else
11809 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11811 rm -f core conftest.err conftest.$ac_objext \
11812 conftest$ac_exeext conftest.$ac_ext
11813 LIBS=$ac_check_lib_save_LIBS
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11816 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11817 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11819 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11826 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11827 case "x$with_xrender" in
11828 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11829 xno) ;;
11830 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11831 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11832 esac
11836 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11837 then
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11840 #include <X11/Xlib.h>
11841 #include <X11/extensions/Xrandr.h>
11843 main ()
11845 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_compile "$LINENO"; then :
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11852 $as_echo_n "checking for -lXrandr... " >&6; }
11853 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11854 $as_echo_n "(cached) " >&6
11855 else
11856 ac_check_soname_save_LIBS=$LIBS
11857 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11861 /* Override any GCC internal prototype to avoid an error.
11862 Use char because int might match the return type of a GCC
11863 builtin and then its argument prototype would still apply. */
11864 #ifdef __cplusplus
11865 extern "C"
11866 #endif
11867 char XRRQueryExtension ();
11869 main ()
11871 return XRRQueryExtension ();
11873 return 0;
11875 _ACEOF
11876 if ac_fn_c_try_link "$LINENO"; then :
11877 case "$LIBEXT" in
11878 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11879 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'` ;;
11880 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11881 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11882 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11883 fi ;;
11884 esac
11885 else
11886 ac_cv_lib_soname_Xrandr=
11888 rm -f core conftest.err conftest.$ac_objext \
11889 conftest$ac_exeext conftest.$ac_ext
11890 LIBS=$ac_check_soname_save_LIBS
11892 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11894 $as_echo "not found" >&6; }
11896 else
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11898 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11900 cat >>confdefs.h <<_ACEOF
11901 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11902 _ACEOF
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11906 #include <X11/Xlib.h>
11907 #include <X11/extensions/Xrandr.h>
11909 main ()
11911 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11913 return 0;
11915 _ACEOF
11916 if ac_fn_c_try_compile "$LINENO"; then :
11918 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11926 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11927 case "x$with_xrandr" in
11928 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11929 xno) ;;
11930 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11931 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11932 esac
11936 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11937 then
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 #include <X11/Xlib.h>
11941 #include <X11/extensions/Xfixes.h>
11943 main ()
11945 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_compile "$LINENO"; then :
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11952 $as_echo_n "checking for -lXfixes... " >&6; }
11953 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11954 $as_echo_n "(cached) " >&6
11955 else
11956 ac_check_soname_save_LIBS=$LIBS
11957 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11961 /* Override any GCC internal prototype to avoid an error.
11962 Use char because int might match the return type of a GCC
11963 builtin and then its argument prototype would still apply. */
11964 #ifdef __cplusplus
11965 extern "C"
11966 #endif
11967 char XFixesQueryVersion ();
11969 main ()
11971 return XFixesQueryVersion ();
11973 return 0;
11975 _ACEOF
11976 if ac_fn_c_try_link "$LINENO"; then :
11977 case "$LIBEXT" in
11978 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11979 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'` ;;
11980 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11981 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11982 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11983 fi ;;
11984 esac
11985 else
11986 ac_cv_lib_soname_Xfixes=
11988 rm -f core conftest.err conftest.$ac_objext \
11989 conftest$ac_exeext conftest.$ac_ext
11990 LIBS=$ac_check_soname_save_LIBS
11992 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11994 $as_echo "not found" >&6; }
11996 else
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11998 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12000 cat >>confdefs.h <<_ACEOF
12001 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12002 _ACEOF
12007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12009 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12010 case "x$with_xfixes" in
12011 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12012 xno) ;;
12013 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12014 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12015 esac
12019 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12020 then
12021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12022 /* end confdefs.h. */
12023 #include <X11/Xlib.h>
12024 #include <X11/extensions/Xinerama.h>
12026 main ()
12028 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12030 return 0;
12032 _ACEOF
12033 if ac_fn_c_try_compile "$LINENO"; then :
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12035 $as_echo_n "checking for -lXinerama... " >&6; }
12036 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12037 $as_echo_n "(cached) " >&6
12038 else
12039 ac_check_soname_save_LIBS=$LIBS
12040 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12044 /* Override any GCC internal prototype to avoid an error.
12045 Use char because int might match the return type of a GCC
12046 builtin and then its argument prototype would still apply. */
12047 #ifdef __cplusplus
12048 extern "C"
12049 #endif
12050 char XineramaQueryScreens ();
12052 main ()
12054 return XineramaQueryScreens ();
12056 return 0;
12058 _ACEOF
12059 if ac_fn_c_try_link "$LINENO"; then :
12060 case "$LIBEXT" in
12061 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12062 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'` ;;
12063 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12064 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12065 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12066 fi ;;
12067 esac
12068 else
12069 ac_cv_lib_soname_Xinerama=
12071 rm -f core conftest.err conftest.$ac_objext \
12072 conftest$ac_exeext conftest.$ac_ext
12073 LIBS=$ac_check_soname_save_LIBS
12075 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12077 $as_echo "not found" >&6; }
12079 else
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12081 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12083 cat >>confdefs.h <<_ACEOF
12084 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12085 _ACEOF
12090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12092 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12093 case "x$with_xinerama" in
12094 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12095 xno) ;;
12096 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12097 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12098 esac
12102 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12103 then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12105 $as_echo_n "checking for -lXcomposite... " >&6; }
12106 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12107 $as_echo_n "(cached) " >&6
12108 else
12109 ac_check_soname_save_LIBS=$LIBS
12110 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char XCompositeRedirectWindow ();
12122 main ()
12124 return XCompositeRedirectWindow ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 case "$LIBEXT" in
12131 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12132 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'` ;;
12133 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12134 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12135 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12136 fi ;;
12137 esac
12138 else
12139 ac_cv_lib_soname_Xcomposite=
12141 rm -f core conftest.err conftest.$ac_objext \
12142 conftest$ac_exeext conftest.$ac_ext
12143 LIBS=$ac_check_soname_save_LIBS
12145 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12147 $as_echo "not found" >&6; }
12149 else
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12151 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12153 cat >>confdefs.h <<_ACEOF
12154 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12155 _ACEOF
12160 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12161 case "x$with_xcomposite" in
12162 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12163 xno) ;;
12164 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12165 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12166 esac
12170 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12171 #include <X11/Xlib.h>
12172 #endif
12174 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12176 cat >>confdefs.h <<_ACEOF
12177 #define HAVE_XICCALLBACK_CALLBACK 1
12178 _ACEOF
12182 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12183 #include <X11/Xlib.h>
12184 #endif
12186 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12188 cat >>confdefs.h <<_ACEOF
12189 #define HAVE_XEVENT_XCOOKIE 1
12190 _ACEOF
12197 opengl_msg=""
12198 if test "x$with_opengl" != "xno"
12199 then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12201 $as_echo_n "checking for -lGL... " >&6; }
12202 if ${ac_cv_lib_soname_GL+:} false; then :
12203 $as_echo_n "(cached) " >&6
12204 else
12205 ac_check_soname_save_LIBS=$LIBS
12206 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12210 /* Override any GCC internal prototype to avoid an error.
12211 Use char because int might match the return type of a GCC
12212 builtin and then its argument prototype would still apply. */
12213 #ifdef __cplusplus
12214 extern "C"
12215 #endif
12216 char glXCreateContext ();
12218 main ()
12220 return glXCreateContext ();
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_link "$LINENO"; then :
12226 case "$LIBEXT" in
12227 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12228 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'` ;;
12229 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12230 if ${ac_cv_lib_soname_GL:+false} :; then :
12231 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12232 fi ;;
12233 esac
12234 else
12235 ac_cv_lib_soname_GL=
12237 rm -f core conftest.err conftest.$ac_objext \
12238 conftest$ac_exeext conftest.$ac_ext
12239 LIBS=$ac_check_soname_save_LIBS
12241 if ${ac_cv_lib_soname_GL:+false} :; then :
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12243 $as_echo "not found" >&6; }
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12245 $as_echo_n "checking for -lGL... " >&6; }
12246 if ${ac_cv_lib_soname_GL+:} false; then :
12247 $as_echo_n "(cached) " >&6
12248 else
12249 ac_check_soname_save_LIBS=$LIBS
12250 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"
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12254 /* Override any GCC internal prototype to avoid an error.
12255 Use char because int might match the return type of a GCC
12256 builtin and then its argument prototype would still apply. */
12257 #ifdef __cplusplus
12258 extern "C"
12259 #endif
12260 char glXCreateContext ();
12262 main ()
12264 return glXCreateContext ();
12266 return 0;
12268 _ACEOF
12269 if ac_fn_c_try_link "$LINENO"; then :
12270 case "$LIBEXT" in
12271 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12272 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'` ;;
12273 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12274 if ${ac_cv_lib_soname_GL:+false} :; then :
12275 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12276 fi ;;
12277 esac
12278 else
12279 ac_cv_lib_soname_GL=
12281 rm -f core conftest.err conftest.$ac_objext \
12282 conftest$ac_exeext conftest.$ac_ext
12283 LIBS=$ac_check_soname_save_LIBS
12285 if ${ac_cv_lib_soname_GL:+false} :; then :
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12287 $as_echo "not found" >&6; }
12288 if test -f /usr/X11R6/lib/libGL.a
12289 then
12290 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12291 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12292 else
12293 opengl_msg="No OpenGL library found on this system."
12295 else
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12297 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12299 cat >>confdefs.h <<_ACEOF
12300 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12301 _ACEOF
12303 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"
12305 else
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12307 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12309 cat >>confdefs.h <<_ACEOF
12310 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12311 _ACEOF
12313 OPENGL_LIBS="-lGL"
12315 if test "x$with_glu" != "xno"
12316 then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12318 $as_echo_n "checking for -lGLU... " >&6; }
12319 if ${ac_cv_lib_soname_GLU+:} false; then :
12320 $as_echo_n "(cached) " >&6
12321 else
12322 ac_check_soname_save_LIBS=$LIBS
12323 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 #ifdef __cplusplus
12331 extern "C"
12332 #endif
12333 char gluLookAt ();
12335 main ()
12337 return gluLookAt ();
12339 return 0;
12341 _ACEOF
12342 if ac_fn_c_try_link "$LINENO"; then :
12343 case "$LIBEXT" in
12344 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12345 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'` ;;
12346 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12347 if ${ac_cv_lib_soname_GLU:+false} :; then :
12348 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12349 fi ;;
12350 esac
12351 else
12352 ac_cv_lib_soname_GLU=
12354 rm -f core conftest.err conftest.$ac_objext \
12355 conftest$ac_exeext conftest.$ac_ext
12356 LIBS=$ac_check_soname_save_LIBS
12358 if ${ac_cv_lib_soname_GLU:+false} :; then :
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12360 $as_echo "not found" >&6; }
12362 else
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12364 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12366 cat >>confdefs.h <<_ACEOF
12367 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12368 _ACEOF
12372 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12373 case "x$with_glu" in
12374 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12375 xno) ;;
12376 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12377 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12378 esac
12383 if test "x$with_osmesa" != "xno"
12384 then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12386 $as_echo_n "checking for -lOSMesa... " >&6; }
12387 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12388 $as_echo_n "(cached) " >&6
12389 else
12390 ac_check_soname_save_LIBS=$LIBS
12391 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h. */
12395 /* Override any GCC internal prototype to avoid an error.
12396 Use char because int might match the return type of a GCC
12397 builtin and then its argument prototype would still apply. */
12398 #ifdef __cplusplus
12399 extern "C"
12400 #endif
12401 char OSMesaGetProcAddress ();
12403 main ()
12405 return OSMesaGetProcAddress ();
12407 return 0;
12409 _ACEOF
12410 if ac_fn_c_try_link "$LINENO"; then :
12411 case "$LIBEXT" in
12412 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12413 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'` ;;
12414 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12415 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12416 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12417 fi ;;
12418 esac
12419 else
12420 ac_cv_lib_soname_OSMesa=
12422 rm -f core conftest.err conftest.$ac_objext \
12423 conftest$ac_exeext conftest.$ac_ext
12424 LIBS=$ac_check_soname_save_LIBS
12426 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12428 $as_echo "not found" >&6; }
12430 else
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12432 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12434 cat >>confdefs.h <<_ACEOF
12435 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12436 _ACEOF
12440 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12441 case "x$with_osmesa" in
12442 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12443 xno) ;;
12444 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12445 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12446 esac
12451 if test -n "$opengl_msg"; then :
12452 case "x$with_opengl" in
12453 x) as_fn_append wine_warnings "|$opengl_msg
12454 OpenGL and Direct3D won't be supported." ;;
12455 xno) ;;
12456 *) as_fn_error $? "$opengl_msg
12457 OpenGL and Direct3D won't be supported.
12458 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12459 esac
12463 CPPFLAGS="$ac_save_CPPFLAGS"
12464 else
12465 X_CFLAGS=""
12466 X_LIBS=""
12469 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12470 then
12471 if test "x$X_LIBS" = "x"; then :
12472 case "x$with_x" in
12473 xno) ;;
12474 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12475 without X support, which probably isn't what you want. You will need
12476 to install ${notice_platform}development packages of Xlib at the very least.
12477 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12478 esac
12479 enable_winex11_drv=${enable_winex11_drv:-no}
12481 else
12482 if test "x$X_LIBS" = "x"; then :
12483 case "x$with_x" in
12484 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12485 xno) ;;
12486 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12487 This is an error since --with-x was requested." "$LINENO" 5 ;;
12488 esac
12489 enable_winex11_drv=${enable_winex11_drv:-no}
12493 if test "$ac_cv_header_CL_cl_h" = "yes"
12494 then
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12496 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12497 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12498 $as_echo_n "(cached) " >&6
12499 else
12500 ac_check_lib_save_LIBS=$LIBS
12501 LIBS="-lOpenCL $LIBS"
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12505 /* Override any GCC internal prototype to avoid an error.
12506 Use char because int might match the return type of a GCC
12507 builtin and then its argument prototype would still apply. */
12508 #ifdef __cplusplus
12509 extern "C"
12510 #endif
12511 char clGetPlatformInfo ();
12513 main ()
12515 return clGetPlatformInfo ();
12517 return 0;
12519 _ACEOF
12520 if ac_fn_c_try_link "$LINENO"; then :
12521 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12522 else
12523 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12525 rm -f core conftest.err conftest.$ac_objext \
12526 conftest$ac_exeext conftest.$ac_ext
12527 LIBS=$ac_check_lib_save_LIBS
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12530 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12531 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12532 OPENCL_LIBS="-lOpenCL"
12537 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12538 case "x$with_opencl" in
12539 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12540 xno) ;;
12541 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12542 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12543 esac
12544 enable_opencl=${enable_opencl:-no}
12547 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12548 then
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12550 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12551 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12552 $as_echo_n "(cached) " >&6
12553 else
12554 ac_check_lib_save_LIBS=$LIBS
12555 LIBS="-lpcap $LIBS"
12556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12557 /* end confdefs.h. */
12559 /* Override any GCC internal prototype to avoid an error.
12560 Use char because int might match the return type of a GCC
12561 builtin and then its argument prototype would still apply. */
12562 #ifdef __cplusplus
12563 extern "C"
12564 #endif
12565 char pcap_create ();
12567 main ()
12569 return pcap_create ();
12571 return 0;
12573 _ACEOF
12574 if ac_fn_c_try_link "$LINENO"; then :
12575 ac_cv_lib_pcap_pcap_create=yes
12576 else
12577 ac_cv_lib_pcap_pcap_create=no
12579 rm -f core conftest.err conftest.$ac_objext \
12580 conftest$ac_exeext conftest.$ac_ext
12581 LIBS=$ac_check_lib_save_LIBS
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12584 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12585 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12586 PCAP_LIBS="-lpcap"
12591 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12592 case "x$with_pcap" in
12593 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12594 xno) ;;
12595 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12596 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12597 esac
12598 enable_wpcap=${enable_wpcap:-no}
12602 if test "x$with_xml" != "xno"
12603 then
12604 if ${XML2_CFLAGS:+false} :; then :
12605 if ${PKG_CONFIG+:} false; then :
12606 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12609 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12610 if ${XML2_LIBS:+false} :; then :
12611 if ${PKG_CONFIG+:} false; then :
12612 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12615 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12616 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12617 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12618 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12619 ac_save_CPPFLAGS=$CPPFLAGS
12620 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12621 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12622 do :
12623 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12624 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12625 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12626 cat >>confdefs.h <<_ACEOF
12627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12628 _ACEOF
12632 done
12634 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"
12635 then
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12637 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12638 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12639 $as_echo_n "(cached) " >&6
12640 else
12641 ac_check_lib_save_LIBS=$LIBS
12642 LIBS="-lxml2 $XML2_LIBS $LIBS"
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12646 /* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
12649 #ifdef __cplusplus
12650 extern "C"
12651 #endif
12652 char xmlParseMemory ();
12654 main ()
12656 return xmlParseMemory ();
12658 return 0;
12660 _ACEOF
12661 if ac_fn_c_try_link "$LINENO"; then :
12662 ac_cv_lib_xml2_xmlParseMemory=yes
12663 else
12664 ac_cv_lib_xml2_xmlParseMemory=no
12666 rm -f core conftest.err conftest.$ac_objext \
12667 conftest$ac_exeext conftest.$ac_ext
12668 LIBS=$ac_check_lib_save_LIBS
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12671 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12672 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12674 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12676 else
12677 XML2_LIBS=""
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12681 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12682 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12683 $as_echo_n "(cached) " >&6
12684 else
12685 ac_check_lib_save_LIBS=$LIBS
12686 LIBS="-lxml2 $XML2_LIBS $LIBS"
12687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12693 #ifdef __cplusplus
12694 extern "C"
12695 #endif
12696 char xmlReadMemory ();
12698 main ()
12700 return xmlReadMemory ();
12702 return 0;
12704 _ACEOF
12705 if ac_fn_c_try_link "$LINENO"; then :
12706 ac_cv_lib_xml2_xmlReadMemory=yes
12707 else
12708 ac_cv_lib_xml2_xmlReadMemory=no
12710 rm -f core conftest.err conftest.$ac_objext \
12711 conftest$ac_exeext conftest.$ac_ext
12712 LIBS=$ac_check_lib_save_LIBS
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12715 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12716 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12718 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12723 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12724 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12725 $as_echo_n "(cached) " >&6
12726 else
12727 ac_check_lib_save_LIBS=$LIBS
12728 LIBS="-lxml2 $XML2_LIBS $LIBS"
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 /* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12735 #ifdef __cplusplus
12736 extern "C"
12737 #endif
12738 char xmlNewDocPI ();
12740 main ()
12742 return xmlNewDocPI ();
12744 return 0;
12746 _ACEOF
12747 if ac_fn_c_try_link "$LINENO"; then :
12748 ac_cv_lib_xml2_xmlNewDocPI=yes
12749 else
12750 ac_cv_lib_xml2_xmlNewDocPI=no
12752 rm -f core conftest.err conftest.$ac_objext \
12753 conftest$ac_exeext conftest.$ac_ext
12754 LIBS=$ac_check_lib_save_LIBS
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12757 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12758 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12760 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12765 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12766 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12767 $as_echo_n "(cached) " >&6
12768 else
12769 ac_check_lib_save_LIBS=$LIBS
12770 LIBS="-lxml2 $XML2_LIBS $LIBS"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777 #ifdef __cplusplus
12778 extern "C"
12779 #endif
12780 char xmlSchemaSetParserStructuredErrors ();
12782 main ()
12784 return xmlSchemaSetParserStructuredErrors ();
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_link "$LINENO"; then :
12790 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12791 else
12792 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12794 rm -f core conftest.err conftest.$ac_objext \
12795 conftest$ac_exeext conftest.$ac_ext
12796 LIBS=$ac_check_lib_save_LIBS
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12799 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12800 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12802 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12807 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12808 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 ac_check_lib_save_LIBS=$LIBS
12812 LIBS="-lxml2 $XML2_LIBS $LIBS"
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12816 /* Override any GCC internal prototype to avoid an error.
12817 Use char because int might match the return type of a GCC
12818 builtin and then its argument prototype would still apply. */
12819 #ifdef __cplusplus
12820 extern "C"
12821 #endif
12822 char xmlSchemaSetValidStructuredErrors ();
12824 main ()
12826 return xmlSchemaSetValidStructuredErrors ();
12828 return 0;
12830 _ACEOF
12831 if ac_fn_c_try_link "$LINENO"; then :
12832 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12833 else
12834 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12836 rm -f core conftest.err conftest.$ac_objext \
12837 conftest$ac_exeext conftest.$ac_ext
12838 LIBS=$ac_check_lib_save_LIBS
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12841 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12842 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12844 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12849 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12850 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12851 $as_echo_n "(cached) " >&6
12852 else
12853 ac_check_lib_save_LIBS=$LIBS
12854 LIBS="-lxml2 $XML2_LIBS $LIBS"
12855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12861 #ifdef __cplusplus
12862 extern "C"
12863 #endif
12864 char xmlFirstElementChild ();
12866 main ()
12868 return xmlFirstElementChild ();
12870 return 0;
12872 _ACEOF
12873 if ac_fn_c_try_link "$LINENO"; then :
12874 ac_cv_lib_xml2_xmlFirstElementChild=yes
12875 else
12876 ac_cv_lib_xml2_xmlFirstElementChild=no
12878 rm -f core conftest.err conftest.$ac_objext \
12879 conftest$ac_exeext conftest.$ac_ext
12880 LIBS=$ac_check_lib_save_LIBS
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12883 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12884 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12886 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12890 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12892 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12894 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12898 else
12899 XML2_CFLAGS=""
12900 XML2_LIBS=""
12902 CPPFLAGS=$ac_save_CPPFLAGS
12903 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12904 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12907 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12908 case "x$with_xml" in
12909 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12910 xno) ;;
12911 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12912 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12913 esac
12917 if test "x$with_xslt" != "xno"
12918 then
12919 if ${XSLT_CFLAGS:+false} :; then :
12920 if ${PKG_CONFIG+:} false; then :
12921 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12924 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12925 if ${XSLT_LIBS:+false} :; then :
12926 if ${PKG_CONFIG+:} false; then :
12927 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12930 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12931 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12932 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12933 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12934 ac_save_CPPFLAGS=$CPPFLAGS
12935 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12936 for ac_header in libxslt/pattern.h libxslt/transform.h
12937 do :
12938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12939 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12940 # include <libxslt/pattern.h>
12941 #endif
12943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12944 cat >>confdefs.h <<_ACEOF
12945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12946 _ACEOF
12950 done
12952 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12953 then
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12955 $as_echo_n "checking for -lxslt... " >&6; }
12956 if ${ac_cv_lib_soname_xslt+:} false; then :
12957 $as_echo_n "(cached) " >&6
12958 else
12959 ac_check_soname_save_LIBS=$LIBS
12960 LIBS="-lxslt $XSLT_LIBS $LIBS"
12961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12962 /* end confdefs.h. */
12964 /* Override any GCC internal prototype to avoid an error.
12965 Use char because int might match the return type of a GCC
12966 builtin and then its argument prototype would still apply. */
12967 #ifdef __cplusplus
12968 extern "C"
12969 #endif
12970 char xsltCompilePattern ();
12972 main ()
12974 return xsltCompilePattern ();
12976 return 0;
12978 _ACEOF
12979 if ac_fn_c_try_link "$LINENO"; then :
12980 case "$LIBEXT" in
12981 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12982 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'` ;;
12983 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12984 if ${ac_cv_lib_soname_xslt:+false} :; then :
12985 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12986 fi ;;
12987 esac
12988 else
12989 ac_cv_lib_soname_xslt=
12991 rm -f core conftest.err conftest.$ac_objext \
12992 conftest$ac_exeext conftest.$ac_ext
12993 LIBS=$ac_check_soname_save_LIBS
12995 if ${ac_cv_lib_soname_xslt:+false} :; then :
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12997 $as_echo "not found" >&6; }
12999 else
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13001 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13003 cat >>confdefs.h <<_ACEOF
13004 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13005 _ACEOF
13009 else
13010 XSLT_CFLAGS=""
13012 CPPFLAGS=$ac_save_CPPFLAGS
13013 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13014 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13017 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13018 case "x$with_xslt" in
13019 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13020 xno) ;;
13021 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13022 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13023 esac
13027 if test "x$with_inotify" != "xno"
13028 then
13029 if ${INOTIFY_CFLAGS:+false} :; then :
13030 if ${PKG_CONFIG+:} false; then :
13031 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13035 if ${INOTIFY_LIBS:+false} :; then :
13036 if ${PKG_CONFIG+:} false; then :
13037 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13042 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13043 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13044 ac_save_CPPFLAGS=$CPPFLAGS
13045 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13046 for ac_header in sys/inotify.h
13047 do :
13048 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13049 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13050 cat >>confdefs.h <<_ACEOF
13051 #define HAVE_SYS_INOTIFY_H 1
13052 _ACEOF
13056 done
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13059 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13060 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13061 $as_echo_n "(cached) " >&6
13062 else
13063 ac_check_lib_save_LIBS=$LIBS
13064 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13071 #ifdef __cplusplus
13072 extern "C"
13073 #endif
13074 char inotify_add_watch ();
13076 main ()
13078 return inotify_add_watch ();
13080 return 0;
13082 _ACEOF
13083 if ac_fn_c_try_link "$LINENO"; then :
13084 ac_cv_lib_inotify_inotify_add_watch=yes
13085 else
13086 ac_cv_lib_inotify_inotify_add_watch=no
13088 rm -f core conftest.err conftest.$ac_objext \
13089 conftest$ac_exeext conftest.$ac_ext
13090 LIBS=$ac_check_lib_save_LIBS
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13093 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13094 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13096 else
13097 INOTIFY_LIBS=""
13100 CPPFLAGS=$ac_save_CPPFLAGS
13101 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13102 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13105 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13106 case "x$with_inotify" in
13107 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13108 xno) ;;
13109 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13110 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13111 esac
13115 if test "x$with_dbus" != "xno"
13116 then
13117 if ${DBUS_CFLAGS:+false} :; then :
13118 if ${PKG_CONFIG+:} false; then :
13119 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13123 if ${DBUS_LIBS:+false} :; then :
13124 if ${PKG_CONFIG+:} false; then :
13125 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13130 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13131 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13132 ac_save_CPPFLAGS=$CPPFLAGS
13133 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13134 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13135 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13137 $as_echo_n "checking for -ldbus-1... " >&6; }
13138 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13139 $as_echo_n "(cached) " >&6
13140 else
13141 ac_check_soname_save_LIBS=$LIBS
13142 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13146 /* Override any GCC internal prototype to avoid an error.
13147 Use char because int might match the return type of a GCC
13148 builtin and then its argument prototype would still apply. */
13149 #ifdef __cplusplus
13150 extern "C"
13151 #endif
13152 char dbus_connection_close ();
13154 main ()
13156 return dbus_connection_close ();
13158 return 0;
13160 _ACEOF
13161 if ac_fn_c_try_link "$LINENO"; then :
13162 case "$LIBEXT" in
13163 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13164 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'` ;;
13165 *) 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'`
13166 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13167 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13168 fi ;;
13169 esac
13170 else
13171 ac_cv_lib_soname_dbus_1=
13173 rm -f core conftest.err conftest.$ac_objext \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS=$ac_check_soname_save_LIBS
13177 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13179 $as_echo "not found" >&6; }
13180 DBUS_CFLAGS=""
13181 else
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13183 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13185 cat >>confdefs.h <<_ACEOF
13186 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13187 _ACEOF
13191 else
13192 DBUS_CFLAGS=""
13196 CPPFLAGS=$ac_save_CPPFLAGS
13197 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13198 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13201 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13202 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13203 case "x$with_dbus" in
13204 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13205 xno) ;;
13206 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13207 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13208 esac
13212 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13213 then
13214 if ${HAL_CFLAGS:+false} :; then :
13215 if ${PKG_CONFIG+:} false; then :
13216 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13220 if ${HAL_LIBS:+false} :; then :
13221 if ${PKG_CONFIG+:} false; then :
13222 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13226 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13227 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13228 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13229 ac_save_CPPFLAGS=$CPPFLAGS
13230 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13231 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13232 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13234 $as_echo_n "checking for -lhal... " >&6; }
13235 if ${ac_cv_lib_soname_hal+:} false; then :
13236 $as_echo_n "(cached) " >&6
13237 else
13238 ac_check_soname_save_LIBS=$LIBS
13239 LIBS="-lhal $HAL_LIBS $LIBS"
13240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13241 /* end confdefs.h. */
13243 /* Override any GCC internal prototype to avoid an error.
13244 Use char because int might match the return type of a GCC
13245 builtin and then its argument prototype would still apply. */
13246 #ifdef __cplusplus
13247 extern "C"
13248 #endif
13249 char libhal_ctx_new ();
13251 main ()
13253 return libhal_ctx_new ();
13255 return 0;
13257 _ACEOF
13258 if ac_fn_c_try_link "$LINENO"; then :
13259 case "$LIBEXT" in
13260 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13261 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'` ;;
13262 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13263 if ${ac_cv_lib_soname_hal:+false} :; then :
13264 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13265 fi ;;
13266 esac
13267 else
13268 ac_cv_lib_soname_hal=
13270 rm -f core conftest.err conftest.$ac_objext \
13271 conftest$ac_exeext conftest.$ac_ext
13272 LIBS=$ac_check_soname_save_LIBS
13274 if ${ac_cv_lib_soname_hal:+false} :; then :
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13276 $as_echo "not found" >&6; }
13277 HAL_CFLAGS=""
13278 else
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13280 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13282 cat >>confdefs.h <<_ACEOF
13283 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13284 _ACEOF
13288 else
13289 HAL_CFLAGS=""
13293 CPPFLAGS=$ac_save_CPPFLAGS
13294 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13295 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13297 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13298 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13299 case "x$with_hal" in
13300 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13301 xno) ;;
13302 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13303 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13304 esac
13309 if test "x$with_gnutls" != "xno"
13310 then
13311 if ${GNUTLS_CFLAGS:+false} :; then :
13312 if ${PKG_CONFIG+:} false; then :
13313 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13317 if ${GNUTLS_LIBS:+false} :; then :
13318 if ${PKG_CONFIG+:} false; then :
13319 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13324 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13325 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13326 ac_save_CPPFLAGS=$CPPFLAGS
13327 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13328 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13329 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13331 /* end confdefs.h. */
13332 #include <gnutls/gnutls.h>
13333 #include <gnutls/crypto.h>
13335 main ()
13337 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13339 return 0;
13341 _ACEOF
13342 if ac_fn_c_try_compile "$LINENO"; then :
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13344 $as_echo_n "checking for -lgnutls... " >&6; }
13345 if ${ac_cv_lib_soname_gnutls+:} false; then :
13346 $as_echo_n "(cached) " >&6
13347 else
13348 ac_check_soname_save_LIBS=$LIBS
13349 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13353 /* Override any GCC internal prototype to avoid an error.
13354 Use char because int might match the return type of a GCC
13355 builtin and then its argument prototype would still apply. */
13356 #ifdef __cplusplus
13357 extern "C"
13358 #endif
13359 char gnutls_global_init ();
13361 main ()
13363 return gnutls_global_init ();
13365 return 0;
13367 _ACEOF
13368 if ac_fn_c_try_link "$LINENO"; then :
13369 case "$LIBEXT" in
13370 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13371 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'` ;;
13372 *) 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'`
13373 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13374 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'`
13375 fi ;;
13376 esac
13377 else
13378 ac_cv_lib_soname_gnutls=
13380 rm -f core conftest.err conftest.$ac_objext \
13381 conftest$ac_exeext conftest.$ac_ext
13382 LIBS=$ac_check_soname_save_LIBS
13384 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13386 $as_echo "not found" >&6; }
13387 GNUTLS_CFLAGS=""
13388 else
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13390 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13392 cat >>confdefs.h <<_ACEOF
13393 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13394 _ACEOF
13398 ac_wine_check_funcs_save_LIBS="$LIBS"
13399 LIBS="$LIBS $GNUTLS_LIBS"
13400 for ac_func in gnutls_cipher_init
13401 do :
13402 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13403 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13404 cat >>confdefs.h <<_ACEOF
13405 #define HAVE_GNUTLS_CIPHER_INIT 1
13406 _ACEOF
13408 else
13409 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13411 done
13413 LIBS="$ac_wine_check_funcs_save_LIBS"
13415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13416 else
13417 GNUTLS_CFLAGS=""
13421 CPPFLAGS=$ac_save_CPPFLAGS
13422 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13423 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13426 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13427 case "x$with_gnutls" in
13428 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13429 xno) ;;
13430 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13431 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13432 esac
13436 CURSES_LIBS=""
13437 if test "$ac_cv_header_ncurses_h" = "yes"
13438 then
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13440 $as_echo_n "checking for -lncurses... " >&6; }
13441 if ${ac_cv_lib_soname_ncurses+:} false; then :
13442 $as_echo_n "(cached) " >&6
13443 else
13444 ac_check_soname_save_LIBS=$LIBS
13445 LIBS="-lncurses $LIBS"
13446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h. */
13449 /* Override any GCC internal prototype to avoid an error.
13450 Use char because int might match the return type of a GCC
13451 builtin and then its argument prototype would still apply. */
13452 #ifdef __cplusplus
13453 extern "C"
13454 #endif
13455 char waddch ();
13457 main ()
13459 return waddch ();
13461 return 0;
13463 _ACEOF
13464 if ac_fn_c_try_link "$LINENO"; then :
13465 case "$LIBEXT" in
13466 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13467 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'` ;;
13468 *) 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'`
13469 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13470 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13471 fi ;;
13472 esac
13473 else
13474 ac_cv_lib_soname_ncurses=
13476 rm -f core conftest.err conftest.$ac_objext \
13477 conftest$ac_exeext conftest.$ac_ext
13478 LIBS=$ac_check_soname_save_LIBS
13480 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13482 $as_echo "not found" >&6; }
13484 else
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13486 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13488 cat >>confdefs.h <<_ACEOF
13489 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13490 _ACEOF
13492 CURSES_LIBS="-lncurses"
13494 elif test "$ac_cv_header_curses_h" = "yes"
13495 then
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13497 $as_echo_n "checking for -lcurses... " >&6; }
13498 if ${ac_cv_lib_soname_curses+:} false; then :
13499 $as_echo_n "(cached) " >&6
13500 else
13501 ac_check_soname_save_LIBS=$LIBS
13502 LIBS="-lcurses $LIBS"
13503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13506 /* Override any GCC internal prototype to avoid an error.
13507 Use char because int might match the return type of a GCC
13508 builtin and then its argument prototype would still apply. */
13509 #ifdef __cplusplus
13510 extern "C"
13511 #endif
13512 char waddch ();
13514 main ()
13516 return waddch ();
13518 return 0;
13520 _ACEOF
13521 if ac_fn_c_try_link "$LINENO"; then :
13522 case "$LIBEXT" in
13523 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13524 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'` ;;
13525 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13526 if ${ac_cv_lib_soname_curses:+false} :; then :
13527 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13528 fi ;;
13529 esac
13530 else
13531 ac_cv_lib_soname_curses=
13533 rm -f core conftest.err conftest.$ac_objext \
13534 conftest$ac_exeext conftest.$ac_ext
13535 LIBS=$ac_check_soname_save_LIBS
13537 if ${ac_cv_lib_soname_curses:+false} :; then :
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13539 $as_echo "not found" >&6; }
13541 else
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13543 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13545 cat >>confdefs.h <<_ACEOF
13546 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13547 _ACEOF
13549 CURSES_LIBS="-lcurses"
13552 ac_save_LIBS="$LIBS"
13553 LIBS="$LIBS $CURSES_LIBS"
13554 for ac_func in mousemask
13555 do :
13556 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13557 if test "x$ac_cv_func_mousemask" = xyes; then :
13558 cat >>confdefs.h <<_ACEOF
13559 #define HAVE_MOUSEMASK 1
13560 _ACEOF
13563 done
13565 LIBS="$ac_save_LIBS"
13566 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13567 case "x$with_curses" in
13568 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13569 xno) ;;
13570 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13571 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13572 esac
13576 if test "x$with_sane" != "xno"
13577 then
13578 if ${SANE_CFLAGS:+false} :; then :
13579 if ${PKG_CONFIG+:} false; then :
13580 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13583 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13584 if ${SANE_LIBS:+false} :; then :
13585 if ${PKG_CONFIG+:} false; then :
13586 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13589 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13591 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13592 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13593 ac_save_CPPFLAGS=$CPPFLAGS
13594 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13595 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13596 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13598 $as_echo_n "checking for -lsane... " >&6; }
13599 if ${ac_cv_lib_soname_sane+:} false; then :
13600 $as_echo_n "(cached) " >&6
13601 else
13602 ac_check_soname_save_LIBS=$LIBS
13603 LIBS="-lsane $SANE_LIBS $LIBS"
13604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13607 /* Override any GCC internal prototype to avoid an error.
13608 Use char because int might match the return type of a GCC
13609 builtin and then its argument prototype would still apply. */
13610 #ifdef __cplusplus
13611 extern "C"
13612 #endif
13613 char sane_init ();
13615 main ()
13617 return sane_init ();
13619 return 0;
13621 _ACEOF
13622 if ac_fn_c_try_link "$LINENO"; then :
13623 case "$LIBEXT" in
13624 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13625 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'` ;;
13626 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13627 if ${ac_cv_lib_soname_sane:+false} :; then :
13628 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13629 fi ;;
13630 esac
13631 else
13632 ac_cv_lib_soname_sane=
13634 rm -f core conftest.err conftest.$ac_objext \
13635 conftest$ac_exeext conftest.$ac_ext
13636 LIBS=$ac_check_soname_save_LIBS
13638 if ${ac_cv_lib_soname_sane:+false} :; then :
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13640 $as_echo "not found" >&6; }
13641 SANE_CFLAGS=""
13642 else
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13644 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13646 cat >>confdefs.h <<_ACEOF
13647 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13648 _ACEOF
13652 else
13653 SANE_CFLAGS=""
13657 CPPFLAGS=$ac_save_CPPFLAGS
13658 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13659 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13662 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13663 case "x$with_sane" in
13664 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13665 xno) ;;
13666 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13667 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13668 esac
13672 if test "x$with_v4l2" != "xno"
13673 then
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13675 $as_echo_n "checking for -lv4l2... " >&6; }
13676 if ${ac_cv_lib_soname_v4l2+:} false; then :
13677 $as_echo_n "(cached) " >&6
13678 else
13679 ac_check_soname_save_LIBS=$LIBS
13680 LIBS="-lv4l2 $LIBS"
13681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13684 /* Override any GCC internal prototype to avoid an error.
13685 Use char because int might match the return type of a GCC
13686 builtin and then its argument prototype would still apply. */
13687 #ifdef __cplusplus
13688 extern "C"
13689 #endif
13690 char v4l2_open ();
13692 main ()
13694 return v4l2_open ();
13696 return 0;
13698 _ACEOF
13699 if ac_fn_c_try_link "$LINENO"; then :
13700 case "$LIBEXT" in
13701 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13702 dylib) ac_cv_lib_soname_v4l2=`$OTOOL -L conftest$ac_exeext | grep "libv4l2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13703 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13704 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13705 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13706 fi ;;
13707 esac
13708 else
13709 ac_cv_lib_soname_v4l2=
13711 rm -f core conftest.err conftest.$ac_objext \
13712 conftest$ac_exeext conftest.$ac_ext
13713 LIBS=$ac_check_soname_save_LIBS
13715 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13717 $as_echo "not found" >&6; }
13719 else
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13721 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13723 cat >>confdefs.h <<_ACEOF
13724 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13725 _ACEOF
13730 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13731 case "x$with_v4l2" in
13732 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13733 xno) ;;
13734 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13735 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13736 esac
13740 if test "x$with_gphoto" != "xno"
13741 then
13742 if ${GPHOTO2_CFLAGS:+false} :; then :
13743 if ${PKG_CONFIG+:} false; then :
13744 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13747 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13748 if ${GPHOTO2_LIBS:+false} :; then :
13749 if ${PKG_CONFIG+:} false; then :
13750 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13753 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13754 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13755 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13756 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13757 ac_save_CPPFLAGS=$CPPFLAGS
13758 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13759 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13760 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13762 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13763 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13764 $as_echo_n "(cached) " >&6
13765 else
13766 ac_check_lib_save_LIBS=$LIBS
13767 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13769 /* end confdefs.h. */
13771 /* Override any GCC internal prototype to avoid an error.
13772 Use char because int might match the return type of a GCC
13773 builtin and then its argument prototype would still apply. */
13774 #ifdef __cplusplus
13775 extern "C"
13776 #endif
13777 char gp_camera_new ();
13779 main ()
13781 return gp_camera_new ();
13783 return 0;
13785 _ACEOF
13786 if ac_fn_c_try_link "$LINENO"; then :
13787 ac_cv_lib_gphoto2_gp_camera_new=yes
13788 else
13789 ac_cv_lib_gphoto2_gp_camera_new=no
13791 rm -f core conftest.err conftest.$ac_objext \
13792 conftest$ac_exeext conftest.$ac_ext
13793 LIBS=$ac_check_lib_save_LIBS
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13796 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13797 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13799 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13801 else
13802 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13805 else
13806 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13810 CPPFLAGS=$ac_save_CPPFLAGS
13811 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13812 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13814 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13815 if ${PKG_CONFIG+:} false; then :
13816 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13819 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13820 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13821 if ${PKG_CONFIG+:} false; then :
13822 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13825 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13826 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13827 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13828 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13829 ac_save_CPPFLAGS=$CPPFLAGS
13830 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13831 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13832 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13834 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13835 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13836 $as_echo_n "(cached) " >&6
13837 else
13838 ac_check_lib_save_LIBS=$LIBS
13839 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13846 #ifdef __cplusplus
13847 extern "C"
13848 #endif
13849 char gp_port_info_list_new ();
13851 main ()
13853 return gp_port_info_list_new ();
13855 return 0;
13857 _ACEOF
13858 if ac_fn_c_try_link "$LINENO"; then :
13859 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13860 else
13861 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13863 rm -f core conftest.err conftest.$ac_objext \
13864 conftest$ac_exeext conftest.$ac_ext
13865 LIBS=$ac_check_lib_save_LIBS
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13868 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13869 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13871 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13873 else
13874 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13877 else
13878 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13882 CPPFLAGS=$ac_save_CPPFLAGS
13883 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13884 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13887 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13888 case "x$with_gphoto" in
13889 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13890 xno) ;;
13891 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13892 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13893 esac
13896 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13897 case "x$with_gphoto" in
13898 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13899 xno) ;;
13900 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13901 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13902 esac
13907 if test "$ac_cv_header_resolv_h" = "yes"
13908 then
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13910 $as_echo_n "checking for resolver library... " >&6; }
13911 if ${ac_cv_have_resolv+:} false; then :
13912 $as_echo_n "(cached) " >&6
13913 else
13914 ac_save_LIBS="$LIBS"
13915 for lib in '' -lresolv
13917 LIBS="$lib $ac_save_LIBS"
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13920 #ifdef HAVE_NETINET_IN_H
13921 #include <netinet/in.h>
13922 #endif
13923 #include <resolv.h>
13925 main ()
13927 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13929 return 0;
13931 _ACEOF
13932 if ac_fn_c_try_link "$LINENO"; then :
13933 ac_cv_have_resolv=${lib:-"none required"}
13934 else
13935 ac_cv_have_resolv="not found"
13937 rm -f core conftest.err conftest.$ac_objext \
13938 conftest$ac_exeext conftest.$ac_ext
13939 test "x$ac_cv_have_resolv" = "xnot found" || break
13940 done
13941 LIBS="$ac_save_LIBS"
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13944 $as_echo "$ac_cv_have_resolv" >&6; }
13946 case "$ac_cv_have_resolv" in
13947 "not found") ;;
13948 "none required")
13950 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13953 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13955 RESOLV_LIBS=$ac_cv_have_resolv
13957 esac
13960 if test "x$with_cms" != "xno"
13961 then
13962 if ${LCMS2_CFLAGS:+false} :; then :
13963 if ${PKG_CONFIG+:} false; then :
13964 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13968 if ${LCMS2_LIBS:+false} :; then :
13969 if ${PKG_CONFIG+:} false; then :
13970 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13974 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13975 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13976 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13977 ac_save_CPPFLAGS=$CPPFLAGS
13978 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13979 for ac_header in lcms2.h
13980 do :
13981 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13982 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13983 cat >>confdefs.h <<_ACEOF
13984 #define HAVE_LCMS2_H 1
13985 _ACEOF
13989 done
13991 if test "$ac_cv_header_lcms2_h" = "yes"
13992 then
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13994 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13995 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13996 $as_echo_n "(cached) " >&6
13997 else
13998 ac_check_lib_save_LIBS=$LIBS
13999 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14003 /* Override any GCC internal prototype to avoid an error.
14004 Use char because int might match the return type of a GCC
14005 builtin and then its argument prototype would still apply. */
14006 #ifdef __cplusplus
14007 extern "C"
14008 #endif
14009 char cmsOpenProfileFromFile ();
14011 main ()
14013 return cmsOpenProfileFromFile ();
14015 return 0;
14017 _ACEOF
14018 if ac_fn_c_try_link "$LINENO"; then :
14019 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14020 else
14021 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14023 rm -f core conftest.err conftest.$ac_objext \
14024 conftest$ac_exeext conftest.$ac_ext
14025 LIBS=$ac_check_lib_save_LIBS
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14028 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14029 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14031 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14033 else
14034 LCMS2_LIBS=""
14037 else
14038 LCMS2_CFLAGS=""
14039 LCMS2_LIBS=""
14041 CPPFLAGS=$ac_save_CPPFLAGS
14042 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14043 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14046 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14047 case "x$with_cms" in
14048 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14049 xno) ;;
14050 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14051 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14052 esac
14056 if test "x$with_freetype" != "xno"
14057 then
14058 if ${FREETYPE_CFLAGS:+false} :; then :
14059 if ${PKG_CONFIG+:} false; then :
14060 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14063 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14064 if ${FREETYPE_LIBS:+false} :; then :
14065 if ${PKG_CONFIG+:} false; then :
14066 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14069 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14070 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14071 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14072 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14073 ac_save_CPPFLAGS=$CPPFLAGS
14074 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14075 for ac_header in ft2build.h
14076 do :
14077 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14078 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14079 cat >>confdefs.h <<_ACEOF
14080 #define HAVE_FT2BUILD_H 1
14081 _ACEOF
14085 done
14087 if test "$ac_cv_header_ft2build_h" = "yes"
14088 then
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14090 $as_echo_n "checking for -lfreetype... " >&6; }
14091 if ${ac_cv_lib_soname_freetype+:} false; then :
14092 $as_echo_n "(cached) " >&6
14093 else
14094 ac_check_soname_save_LIBS=$LIBS
14095 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14099 /* Override any GCC internal prototype to avoid an error.
14100 Use char because int might match the return type of a GCC
14101 builtin and then its argument prototype would still apply. */
14102 #ifdef __cplusplus
14103 extern "C"
14104 #endif
14105 char FT_Init_FreeType ();
14107 main ()
14109 return FT_Init_FreeType ();
14111 return 0;
14113 _ACEOF
14114 if ac_fn_c_try_link "$LINENO"; then :
14115 case "$LIBEXT" in
14116 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14117 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'` ;;
14118 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14119 if ${ac_cv_lib_soname_freetype:+false} :; then :
14120 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14121 fi ;;
14122 esac
14123 else
14124 ac_cv_lib_soname_freetype=
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14128 LIBS=$ac_check_soname_save_LIBS
14130 if ${ac_cv_lib_soname_freetype:+false} :; then :
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14132 $as_echo "not found" >&6; }
14133 FREETYPE_LIBS=""
14134 else
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14136 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14138 cat >>confdefs.h <<_ACEOF
14139 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14140 _ACEOF
14143 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14145 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14146 #include FT_MODULE_H
14148 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14150 cat >>confdefs.h <<_ACEOF
14151 #define HAVE_FT_TRUETYPEENGINETYPE 1
14152 _ACEOF
14158 else
14159 FREETYPE_CFLAGS=""
14160 FREETYPE_LIBS=""
14162 CPPFLAGS=$ac_save_CPPFLAGS
14163 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14164 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14167 if test "x$ac_cv_lib_soname_freetype" = x; then :
14168 case "x$with_freetype" in
14169 xno) ;;
14170 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14171 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14172 esac
14173 enable_fonts=${enable_fonts:-no}
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14177 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14178 if ${ac_cv_c_ppdev+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14183 #ifdef HAVE_SYS_IOCTL_H
14184 # include <sys/ioctl.h>
14185 #endif
14186 #include <linux/ppdev.h>
14188 main ()
14190 ioctl (1,PPCLAIM,0)
14192 return 0;
14194 _ACEOF
14195 if ac_fn_c_try_compile "$LINENO"; then :
14196 ac_cv_c_ppdev="yes"
14197 else
14198 ac_cv_c_ppdev="no"
14200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14203 $as_echo "$ac_cv_c_ppdev" >&6; }
14204 if test "$ac_cv_c_ppdev" = "yes"
14205 then
14207 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14211 ac_wine_check_funcs_save_LIBS="$LIBS"
14212 LIBS="$LIBS "
14213 for ac_func in \
14214 pthread_getthreadid_np \
14215 $PTHREAD_LIBS
14216 do :
14217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14218 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14219 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14220 cat >>confdefs.h <<_ACEOF
14221 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14222 _ACEOF
14225 done
14227 LIBS="$ac_wine_check_funcs_save_LIBS"
14229 if test "$ac_cv_header_zlib_h" = "yes"
14230 then
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14232 $as_echo_n "checking for inflate in -lz... " >&6; }
14233 if ${ac_cv_lib_z_inflate+:} false; then :
14234 $as_echo_n "(cached) " >&6
14235 else
14236 ac_check_lib_save_LIBS=$LIBS
14237 LIBS="-lz $LIBS"
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14241 /* Override any GCC internal prototype to avoid an error.
14242 Use char because int might match the return type of a GCC
14243 builtin and then its argument prototype would still apply. */
14244 #ifdef __cplusplus
14245 extern "C"
14246 #endif
14247 char inflate ();
14249 main ()
14251 return inflate ();
14253 return 0;
14255 _ACEOF
14256 if ac_fn_c_try_link "$LINENO"; then :
14257 ac_cv_lib_z_inflate=yes
14258 else
14259 ac_cv_lib_z_inflate=no
14261 rm -f core conftest.err conftest.$ac_objext \
14262 conftest$ac_exeext conftest.$ac_ext
14263 LIBS=$ac_check_lib_save_LIBS
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14266 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14267 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14269 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14271 Z_LIBS="-lz"
14276 if test "x$Z_LIBS" = "x"; then :
14277 case "x$with_zlib" in
14278 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14279 xno) ;;
14280 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14281 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14282 esac
14286 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14287 then
14288 if test "$ac_cv_header_gettext_po_h" = "yes"
14289 then
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14291 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14292 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14293 $as_echo_n "(cached) " >&6
14294 else
14295 ac_check_lib_save_LIBS=$LIBS
14296 LIBS="-lgettextpo $LIBS"
14297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14300 /* Override any GCC internal prototype to avoid an error.
14301 Use char because int might match the return type of a GCC
14302 builtin and then its argument prototype would still apply. */
14303 #ifdef __cplusplus
14304 extern "C"
14305 #endif
14306 char po_message_msgctxt ();
14308 main ()
14310 return po_message_msgctxt ();
14312 return 0;
14314 _ACEOF
14315 if ac_fn_c_try_link "$LINENO"; then :
14316 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14317 else
14318 ac_cv_lib_gettextpo_po_message_msgctxt=no
14320 rm -f core conftest.err conftest.$ac_objext \
14321 conftest$ac_exeext conftest.$ac_ext
14322 LIBS=$ac_check_lib_save_LIBS
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14325 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14326 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14328 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14330 GETTEXTPO_LIBS="-lgettextpo"
14335 if test "x$GETTEXTPO_LIBS" = "x"; then :
14336 case "x$with_gettextpo" in
14337 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14338 xno) ;;
14339 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14340 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14341 esac
14344 if test "$srcdir" != .; then :
14345 case "x$with_gettextpo" in
14346 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14347 xno) ;;
14348 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14349 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14350 esac
14355 if test "x$with_pulse" != "xno";
14356 then
14357 if ${PULSE_CFLAGS:+false} :; then :
14358 if ${PKG_CONFIG+:} false; then :
14359 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14363 if ${PULSE_LIBS:+false} :; then :
14364 if ${PKG_CONFIG+:} false; then :
14365 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14370 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14371 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14372 ac_save_CPPFLAGS=$CPPFLAGS
14373 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14374 for ac_header in pulse/pulseaudio.h
14375 do :
14376 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14377 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14378 cat >>confdefs.h <<_ACEOF
14379 #define HAVE_PULSE_PULSEAUDIO_H 1
14380 _ACEOF
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14382 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14383 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14384 $as_echo_n "(cached) " >&6
14385 else
14386 ac_check_lib_save_LIBS=$LIBS
14387 LIBS="-lpulse $PULSE_LIBS $LIBS"
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14391 /* Override any GCC internal prototype to avoid an error.
14392 Use char because int might match the return type of a GCC
14393 builtin and then its argument prototype would still apply. */
14394 #ifdef __cplusplus
14395 extern "C"
14396 #endif
14397 char pa_stream_is_corked ();
14399 main ()
14401 return pa_stream_is_corked ();
14403 return 0;
14405 _ACEOF
14406 if ac_fn_c_try_link "$LINENO"; then :
14407 ac_cv_lib_pulse_pa_stream_is_corked=yes
14408 else
14409 ac_cv_lib_pulse_pa_stream_is_corked=no
14411 rm -f core conftest.err conftest.$ac_objext \
14412 conftest$ac_exeext conftest.$ac_ext
14413 LIBS=$ac_check_lib_save_LIBS
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14416 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14417 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14419 else
14420 PULSE_LIBS=""
14423 else
14424 PULSE_LIBS=""
14427 done
14429 CPPFLAGS=$ac_save_CPPFLAGS
14430 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14431 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14434 if test -z "$PULSE_LIBS"; then :
14435 case "x$with_pulse" in
14436 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14437 xno) ;;
14438 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14439 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14440 esac
14441 enable_winepulse_drv=${enable_winepulse_drv:-no}
14444 if test "x$with_gstreamer" != "xno"
14445 then
14446 if ${GSTREAMER_CFLAGS:+false} :; then :
14447 if ${PKG_CONFIG+:} false; then :
14448 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14452 if ${GSTREAMER_LIBS:+false} :; then :
14453 if ${PKG_CONFIG+:} false; then :
14454 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14459 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14460 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14461 ac_save_CPPFLAGS=$CPPFLAGS
14462 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14463 ac_gst_incl=""
14464 for i in $GSTREAMER_CFLAGS
14466 case "$i" in
14467 -I*) ac_gst_incl="$ac_gst_incl $i";;
14468 esac
14469 done
14470 GSTREAMER_CFLAGS=$ac_gst_incl
14471 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14472 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14473 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14475 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14478 #include <gst/gst.h>
14480 main ()
14482 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14484 return 0;
14486 _ACEOF
14487 if ac_fn_c_try_compile "$LINENO"; then :
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14489 $as_echo "yes" >&6; }
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14491 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14492 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14493 $as_echo_n "(cached) " >&6
14494 else
14495 ac_check_lib_save_LIBS=$LIBS
14496 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14500 /* Override any GCC internal prototype to avoid an error.
14501 Use char because int might match the return type of a GCC
14502 builtin and then its argument prototype would still apply. */
14503 #ifdef __cplusplus
14504 extern "C"
14505 #endif
14506 char gst_pad_new ();
14508 main ()
14510 return gst_pad_new ();
14512 return 0;
14514 _ACEOF
14515 if ac_fn_c_try_link "$LINENO"; then :
14516 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14517 else
14518 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14520 rm -f core conftest.err conftest.$ac_objext \
14521 conftest$ac_exeext conftest.$ac_ext
14522 LIBS=$ac_check_lib_save_LIBS
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14525 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14526 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14530 else
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14532 $as_echo "no" >&6; }
14533 ac_glib2_broken=yes
14534 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14540 CPPFLAGS=$ac_save_CPPFLAGS
14541 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14542 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14545 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 :
14546 case "x$with_gstreamer" in
14547 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14548 xno) ;;
14549 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14550 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14551 esac
14554 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14556 ALSA_LIBS=""
14558 if test "x$with_alsa" != "xno"
14559 then
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14561 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14562 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14563 $as_echo_n "(cached) " >&6
14564 else
14565 ac_check_lib_save_LIBS=$LIBS
14566 LIBS="-lasound $LIBS"
14567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14568 /* end confdefs.h. */
14570 /* Override any GCC internal prototype to avoid an error.
14571 Use char because int might match the return type of a GCC
14572 builtin and then its argument prototype would still apply. */
14573 #ifdef __cplusplus
14574 extern "C"
14575 #endif
14576 char snd_pcm_hw_params_get_access_mask ();
14578 main ()
14580 return snd_pcm_hw_params_get_access_mask ();
14582 return 0;
14584 _ACEOF
14585 if ac_fn_c_try_link "$LINENO"; then :
14586 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14587 else
14588 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14590 rm -f core conftest.err conftest.$ac_objext \
14591 conftest$ac_exeext conftest.$ac_ext
14592 LIBS=$ac_check_lib_save_LIBS
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14595 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14596 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14599 #include <alsa/asoundlib.h>
14601 main ()
14603 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14605 return 0;
14607 _ACEOF
14608 if ac_fn_c_try_compile "$LINENO"; then :
14609 ALSA_LIBS="-lasound"
14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14615 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14617 if test "x$with_oss" != xno
14618 then
14619 ac_save_CPPFLAGS="$CPPFLAGS"
14620 if test -f /etc/oss.conf
14621 then
14622 . /etc/oss.conf
14624 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14625 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14626 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14627 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14628 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14630 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14632 cat >>confdefs.h <<_ACEOF
14633 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14634 _ACEOF
14636 OSS4_CFLAGS="$ac_oss_incl"
14643 CPPFLAGS="$ac_save_CPPFLAGS"
14645 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14646 case "x$with_oss" in
14647 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14648 xno) ;;
14649 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14650 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14651 esac
14652 enable_wineoss_drv=${enable_wineoss_drv:-no}
14655 if test "x$with_udev" != "xno"
14656 then
14657 if ${UDEV_CFLAGS:+false} :; then :
14658 if ${PKG_CONFIG+:} false; then :
14659 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14663 if ${UDEV_LIBS:+false} :; then :
14664 if ${PKG_CONFIG+:} false; then :
14665 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14669 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14670 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14671 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14672 ac_save_CPPFLAGS=$CPPFLAGS
14673 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14674 for ac_header in libudev.h
14675 do :
14676 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14677 if test "x$ac_cv_header_libudev_h" = xyes; then :
14678 cat >>confdefs.h <<_ACEOF
14679 #define HAVE_LIBUDEV_H 1
14680 _ACEOF
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14682 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14683 if ${ac_cv_lib_udev_udev_new+:} false; then :
14684 $as_echo_n "(cached) " >&6
14685 else
14686 ac_check_lib_save_LIBS=$LIBS
14687 LIBS="-ludev $UDEV_LIBS $LIBS"
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14691 /* Override any GCC internal prototype to avoid an error.
14692 Use char because int might match the return type of a GCC
14693 builtin and then its argument prototype would still apply. */
14694 #ifdef __cplusplus
14695 extern "C"
14696 #endif
14697 char udev_new ();
14699 main ()
14701 return udev_new ();
14703 return 0;
14705 _ACEOF
14706 if ac_fn_c_try_link "$LINENO"; then :
14707 ac_cv_lib_udev_udev_new=yes
14708 else
14709 ac_cv_lib_udev_udev_new=no
14711 rm -f core conftest.err conftest.$ac_objext \
14712 conftest$ac_exeext conftest.$ac_ext
14713 LIBS=$ac_check_lib_save_LIBS
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14716 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14717 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14719 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14721 else
14722 UDEV_LIBS=""
14725 else
14726 UDEV_LIBS=""
14729 done
14731 CPPFLAGS=$ac_save_CPPFLAGS
14732 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14733 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14736 if test "x$UDEV_LIBS" = "x"; then :
14737 case "x$with_udev" in
14738 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14739 xno) ;;
14740 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14741 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14742 esac
14746 if test "x$with_sdl" != "xno"
14747 then
14748 if ${SDL2_CFLAGS:+false} :; then :
14749 if ${PKG_CONFIG+:} false; then :
14750 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14754 if ${SDL2_LIBS:+false} :; then :
14755 if ${PKG_CONFIG+:} false; then :
14756 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14760 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14761 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14762 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14763 ac_save_CPPFLAGS=$CPPFLAGS
14764 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14765 for ac_header in SDL2/SDL.h
14766 do :
14767 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14768 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14769 cat >>confdefs.h <<_ACEOF
14770 #define HAVE_SDL2_SDL_H 1
14771 _ACEOF
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14773 $as_echo_n "checking for -lSDL2... " >&6; }
14774 if ${ac_cv_lib_soname_SDL2+:} false; then :
14775 $as_echo_n "(cached) " >&6
14776 else
14777 ac_check_soname_save_LIBS=$LIBS
14778 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14780 /* end confdefs.h. */
14782 /* Override any GCC internal prototype to avoid an error.
14783 Use char because int might match the return type of a GCC
14784 builtin and then its argument prototype would still apply. */
14785 #ifdef __cplusplus
14786 extern "C"
14787 #endif
14788 char SDL_Init ();
14790 main ()
14792 return SDL_Init ();
14794 return 0;
14796 _ACEOF
14797 if ac_fn_c_try_link "$LINENO"; then :
14798 case "$LIBEXT" in
14799 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14800 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'` ;;
14801 *) 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'`
14802 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14803 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14804 fi ;;
14805 esac
14806 else
14807 ac_cv_lib_soname_SDL2=
14809 rm -f core conftest.err conftest.$ac_objext \
14810 conftest$ac_exeext conftest.$ac_ext
14811 LIBS=$ac_check_soname_save_LIBS
14813 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14815 $as_echo "not found" >&6; }
14817 else
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14819 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14821 cat >>confdefs.h <<_ACEOF
14822 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14823 _ACEOF
14829 done
14831 CPPFLAGS=$ac_save_CPPFLAGS
14832 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14833 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14836 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14837 case "x$with_sdl" in
14838 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14839 xno) ;;
14840 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14841 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14842 esac
14846 if test "x$with_faudio" != "xno"
14847 then
14848 if ${FAUDIO_CFLAGS:+false} :; then :
14849 if ${PKG_CONFIG+:} false; then :
14850 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14854 if ${FAUDIO_LIBS:+false} :; then :
14855 if ${PKG_CONFIG+:} false; then :
14856 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14860 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14861 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14862 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14863 ac_save_CPPFLAGS=$CPPFLAGS
14864 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14865 for ac_header in FAudio.h
14866 do :
14867 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14868 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14869 cat >>confdefs.h <<_ACEOF
14870 #define HAVE_FAUDIO_H 1
14871 _ACEOF
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14873 $as_echo_n "checking for -lFAudio... " >&6; }
14874 if ${ac_cv_lib_soname_FAudio+:} false; then :
14875 $as_echo_n "(cached) " >&6
14876 else
14877 ac_check_soname_save_LIBS=$LIBS
14878 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14882 /* Override any GCC internal prototype to avoid an error.
14883 Use char because int might match the return type of a GCC
14884 builtin and then its argument prototype would still apply. */
14885 #ifdef __cplusplus
14886 extern "C"
14887 #endif
14888 char FAudioCreate ();
14890 main ()
14892 return FAudioCreate ();
14894 return 0;
14896 _ACEOF
14897 if ac_fn_c_try_link "$LINENO"; then :
14898 case "$LIBEXT" in
14899 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14900 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14901 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14902 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14903 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14904 fi ;;
14905 esac
14906 else
14907 ac_cv_lib_soname_FAudio=
14909 rm -f core conftest.err conftest.$ac_objext \
14910 conftest$ac_exeext conftest.$ac_ext
14911 LIBS=$ac_check_soname_save_LIBS
14913 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14915 $as_echo "not found" >&6; }
14917 else
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14919 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14921 cat >>confdefs.h <<_ACEOF
14922 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14923 _ACEOF
14929 done
14931 CPPFLAGS=$ac_save_CPPFLAGS
14932 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14933 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14936 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14937 case "x$with_faudio" in
14938 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14939 xno) ;;
14940 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14941 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14942 esac
14946 if test "x$with_capi" != "xno"
14947 then
14948 if ${CAPI20_CFLAGS:+false} :; then :
14949 if ${PKG_CONFIG+:} false; then :
14950 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14954 if ${CAPI20_LIBS:+false} :; then :
14955 if ${PKG_CONFIG+:} false; then :
14956 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14961 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14962 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14963 ac_save_CPPFLAGS=$CPPFLAGS
14964 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14965 for ac_header in capi20.h linux/capi.h
14966 do :
14967 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14968 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14970 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14971 cat >>confdefs.h <<_ACEOF
14972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14973 _ACEOF
14977 done
14979 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14980 then
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
14982 $as_echo_n "checking for -lcapi20... " >&6; }
14983 if ${ac_cv_lib_soname_capi20+:} false; then :
14984 $as_echo_n "(cached) " >&6
14985 else
14986 ac_check_soname_save_LIBS=$LIBS
14987 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
14988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14989 /* end confdefs.h. */
14991 /* Override any GCC internal prototype to avoid an error.
14992 Use char because int might match the return type of a GCC
14993 builtin and then its argument prototype would still apply. */
14994 #ifdef __cplusplus
14995 extern "C"
14996 #endif
14997 char capi20_register ();
14999 main ()
15001 return capi20_register ();
15003 return 0;
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"; then :
15007 case "$LIBEXT" in
15008 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15009 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'` ;;
15010 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15011 if ${ac_cv_lib_soname_capi20:+false} :; then :
15012 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15013 fi ;;
15014 esac
15015 else
15016 ac_cv_lib_soname_capi20=
15018 rm -f core conftest.err conftest.$ac_objext \
15019 conftest$ac_exeext conftest.$ac_ext
15020 LIBS=$ac_check_soname_save_LIBS
15022 if ${ac_cv_lib_soname_capi20:+false} :; then :
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15024 $as_echo "not found" >&6; }
15026 else
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15028 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15030 cat >>confdefs.h <<_ACEOF
15031 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15032 _ACEOF
15037 CPPFLAGS=$ac_save_CPPFLAGS
15038 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15039 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15042 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15043 case "x$with_capi" in
15044 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15045 xno) ;;
15046 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15047 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15048 esac
15052 if test "x$with_cups" != "xno"
15053 then
15054 if ${CUPS_CFLAGS:+false} :; then :
15055 if ${PKG_CONFIG+:} false; then :
15056 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15059 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15060 if ${CUPS_LIBS:+false} :; then :
15061 if ${PKG_CONFIG+:} false; then :
15062 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15065 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15066 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15067 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15068 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15069 ac_save_CPPFLAGS=$CPPFLAGS
15070 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15071 for ac_header in cups/cups.h cups/ppd.h
15072 do :
15073 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15074 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15075 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15076 cat >>confdefs.h <<_ACEOF
15077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15078 _ACEOF
15082 done
15084 if test "$ac_cv_header_cups_cups_h" = "yes"
15085 then
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15087 $as_echo_n "checking for -lcups... " >&6; }
15088 if ${ac_cv_lib_soname_cups+:} false; then :
15089 $as_echo_n "(cached) " >&6
15090 else
15091 ac_check_soname_save_LIBS=$LIBS
15092 LIBS="-lcups $CUPS_LIBS $LIBS"
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15099 #ifdef __cplusplus
15100 extern "C"
15101 #endif
15102 char cupsGetDefault ();
15104 main ()
15106 return cupsGetDefault ();
15108 return 0;
15110 _ACEOF
15111 if ac_fn_c_try_link "$LINENO"; then :
15112 case "$LIBEXT" in
15113 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15114 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'` ;;
15115 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15116 if ${ac_cv_lib_soname_cups:+false} :; then :
15117 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15118 fi ;;
15119 esac
15120 else
15121 ac_cv_lib_soname_cups=
15123 rm -f core conftest.err conftest.$ac_objext \
15124 conftest$ac_exeext conftest.$ac_ext
15125 LIBS=$ac_check_soname_save_LIBS
15127 if ${ac_cv_lib_soname_cups:+false} :; then :
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15129 $as_echo "not found" >&6; }
15130 CUPS_LIBS=""
15131 else
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15133 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15135 cat >>confdefs.h <<_ACEOF
15136 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15137 _ACEOF
15141 else
15142 CUPS_CFLAGS=""
15143 CUPS_LIBS=""
15145 CPPFLAGS=$ac_save_CPPFLAGS
15146 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15147 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15150 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15151 case "x$with_cups" in
15152 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15153 xno) ;;
15154 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15155 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15156 esac
15160 if test "x$with_fontconfig" != "xno"
15161 then
15162 if ${FONTCONFIG_CFLAGS:+false} :; then :
15163 if ${PKG_CONFIG+:} false; then :
15164 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15167 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15168 if ${FONTCONFIG_LIBS:+false} :; then :
15169 if ${PKG_CONFIG+:} false; then :
15170 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15173 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15175 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15176 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15177 ac_save_CPPFLAGS=$CPPFLAGS
15178 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15179 for ac_header in fontconfig/fontconfig.h
15180 do :
15181 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15182 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15183 cat >>confdefs.h <<_ACEOF
15184 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15185 _ACEOF
15189 done
15191 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15192 then
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15194 $as_echo_n "checking for -lfontconfig... " >&6; }
15195 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15196 $as_echo_n "(cached) " >&6
15197 else
15198 ac_check_soname_save_LIBS=$LIBS
15199 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15203 /* Override any GCC internal prototype to avoid an error.
15204 Use char because int might match the return type of a GCC
15205 builtin and then its argument prototype would still apply. */
15206 #ifdef __cplusplus
15207 extern "C"
15208 #endif
15209 char FcInit ();
15211 main ()
15213 return FcInit ();
15215 return 0;
15217 _ACEOF
15218 if ac_fn_c_try_link "$LINENO"; then :
15219 case "$LIBEXT" in
15220 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15221 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'` ;;
15222 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15223 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15224 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15225 fi ;;
15226 esac
15227 else
15228 ac_cv_lib_soname_fontconfig=
15230 rm -f core conftest.err conftest.$ac_objext \
15231 conftest$ac_exeext conftest.$ac_ext
15232 LIBS=$ac_check_soname_save_LIBS
15234 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15236 $as_echo "not found" >&6; }
15237 FONTCONFIG_CFLAGS=""
15238 else
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15240 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15242 cat >>confdefs.h <<_ACEOF
15243 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15244 _ACEOF
15248 else
15249 FONTCONFIG_CFLAGS=""
15251 CPPFLAGS=$ac_save_CPPFLAGS
15252 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15253 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15256 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15257 case "x$with_fontconfig" in
15258 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15259 xno) ;;
15260 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15261 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15262 esac
15266 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15267 then
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15269 $as_echo_n "checking for -lgsm... " >&6; }
15270 if ${ac_cv_lib_soname_gsm+:} false; then :
15271 $as_echo_n "(cached) " >&6
15272 else
15273 ac_check_soname_save_LIBS=$LIBS
15274 LIBS="-lgsm $LIBS"
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15278 /* Override any GCC internal prototype to avoid an error.
15279 Use char because int might match the return type of a GCC
15280 builtin and then its argument prototype would still apply. */
15281 #ifdef __cplusplus
15282 extern "C"
15283 #endif
15284 char gsm_create ();
15286 main ()
15288 return gsm_create ();
15290 return 0;
15292 _ACEOF
15293 if ac_fn_c_try_link "$LINENO"; then :
15294 case "$LIBEXT" in
15295 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15296 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'` ;;
15297 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15298 if ${ac_cv_lib_soname_gsm:+false} :; then :
15299 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15300 fi ;;
15301 esac
15302 else
15303 ac_cv_lib_soname_gsm=
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15307 LIBS=$ac_check_soname_save_LIBS
15309 if ${ac_cv_lib_soname_gsm:+false} :; then :
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15311 $as_echo "not found" >&6; }
15313 else
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15315 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15317 cat >>confdefs.h <<_ACEOF
15318 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15319 _ACEOF
15324 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15325 case "x$with_gsm" in
15326 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15327 xno) ;;
15328 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15329 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15330 esac
15334 if test "x$with_krb5" != "xno"
15335 then
15336 if ${KRB5_CFLAGS:+false} :; then :
15337 if ${PKG_CONFIG+:} false; then :
15338 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15341 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15342 if ${KRB5_LIBS:+false} :; then :
15343 if ${PKG_CONFIG+:} false; then :
15344 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15347 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15349 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15350 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15351 ac_save_CPPFLAGS=$CPPFLAGS
15352 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15353 for ac_header in krb5/krb5.h
15354 do :
15355 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15356 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15357 cat >>confdefs.h <<_ACEOF
15358 #define HAVE_KRB5_KRB5_H 1
15359 _ACEOF
15363 done
15365 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15366 then
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15368 $as_echo_n "checking for -lkrb5... " >&6; }
15369 if ${ac_cv_lib_soname_krb5+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 ac_check_soname_save_LIBS=$LIBS
15373 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15377 /* Override any GCC internal prototype to avoid an error.
15378 Use char because int might match the return type of a GCC
15379 builtin and then its argument prototype would still apply. */
15380 #ifdef __cplusplus
15381 extern "C"
15382 #endif
15383 char krb5_is_config_principal ();
15385 main ()
15387 return krb5_is_config_principal ();
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_link "$LINENO"; then :
15393 case "$LIBEXT" in
15394 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15395 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'` ;;
15396 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15397 if ${ac_cv_lib_soname_krb5:+false} :; then :
15398 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15399 fi ;;
15400 esac
15401 else
15402 ac_cv_lib_soname_krb5=
15404 rm -f core conftest.err conftest.$ac_objext \
15405 conftest$ac_exeext conftest.$ac_ext
15406 LIBS=$ac_check_soname_save_LIBS
15408 if ${ac_cv_lib_soname_krb5:+false} :; then :
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15410 $as_echo "not found" >&6; }
15411 KRB5_CFLAGS=""
15412 else
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15414 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15416 cat >>confdefs.h <<_ACEOF
15417 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15418 _ACEOF
15422 else
15423 KRB5_CFLAGS=""
15425 CPPFLAGS=$ac_save_CPPFLAGS
15426 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15427 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15429 else
15430 with_gssapi=${with_gssapi:-no}
15432 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15433 case "x$with_krb5" in
15434 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15435 xno) ;;
15436 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15437 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15438 esac
15442 if test "x$with_gssapi" != "xno"
15443 then
15444 if ${GSSAPI_CFLAGS:+false} :; then :
15445 if ${PKG_CONFIG+:} false; then :
15446 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15449 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15450 if ${GSSAPI_LIBS:+false} :; then :
15451 if ${PKG_CONFIG+:} false; then :
15452 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15455 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15457 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15458 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15459 ac_save_CPPFLAGS=$CPPFLAGS
15460 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15461 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15462 do :
15463 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15464 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15465 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15466 cat >>confdefs.h <<_ACEOF
15467 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15468 _ACEOF
15472 done
15474 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15475 then
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15477 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15478 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15479 $as_echo_n "(cached) " >&6
15480 else
15481 ac_check_soname_save_LIBS=$LIBS
15482 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15484 /* end confdefs.h. */
15486 /* Override any GCC internal prototype to avoid an error.
15487 Use char because int might match the return type of a GCC
15488 builtin and then its argument prototype would still apply. */
15489 #ifdef __cplusplus
15490 extern "C"
15491 #endif
15492 char gss_init_sec_context ();
15494 main ()
15496 return gss_init_sec_context ();
15498 return 0;
15500 _ACEOF
15501 if ac_fn_c_try_link "$LINENO"; then :
15502 case "$LIBEXT" in
15503 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15504 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'` ;;
15505 *) 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'`
15506 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15507 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15508 fi ;;
15509 esac
15510 else
15511 ac_cv_lib_soname_gssapi_krb5=
15513 rm -f core conftest.err conftest.$ac_objext \
15514 conftest$ac_exeext conftest.$ac_ext
15515 LIBS=$ac_check_soname_save_LIBS
15517 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15519 $as_echo "not found" >&6; }
15520 GSSAPI_CFLAGS=""
15521 else
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15523 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15525 cat >>confdefs.h <<_ACEOF
15526 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15527 _ACEOF
15531 else
15532 GSSAPI_CFLAGS=""
15534 CPPFLAGS=$ac_save_CPPFLAGS
15535 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15536 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15539 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15540 case "x$with_gssapi" in
15541 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15542 xno) ;;
15543 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15544 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15545 esac
15549 if test "x$with_jpeg" != "xno"
15550 then
15551 if ${JPEG_CFLAGS:+false} :; then :
15552 if ${PKG_CONFIG+:} false; then :
15553 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15557 if ${JPEG_LIBS:+false} :; then :
15558 if ${PKG_CONFIG+:} false; then :
15559 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15564 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15565 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15566 ac_save_CPPFLAGS=$CPPFLAGS
15567 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15568 for ac_header in jpeglib.h
15569 do :
15570 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15571 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15572 cat >>confdefs.h <<_ACEOF
15573 #define HAVE_JPEGLIB_H 1
15574 _ACEOF
15578 done
15580 if test "$ac_cv_header_jpeglib_h" = "yes"
15581 then
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15583 $as_echo_n "checking for -ljpeg... " >&6; }
15584 if ${ac_cv_lib_soname_jpeg+:} false; then :
15585 $as_echo_n "(cached) " >&6
15586 else
15587 ac_check_soname_save_LIBS=$LIBS
15588 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15590 /* end confdefs.h. */
15592 /* Override any GCC internal prototype to avoid an error.
15593 Use char because int might match the return type of a GCC
15594 builtin and then its argument prototype would still apply. */
15595 #ifdef __cplusplus
15596 extern "C"
15597 #endif
15598 char jpeg_start_decompress ();
15600 main ()
15602 return jpeg_start_decompress ();
15604 return 0;
15606 _ACEOF
15607 if ac_fn_c_try_link "$LINENO"; then :
15608 case "$LIBEXT" in
15609 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15610 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'` ;;
15611 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15612 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15613 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15614 fi ;;
15615 esac
15616 else
15617 ac_cv_lib_soname_jpeg=
15619 rm -f core conftest.err conftest.$ac_objext \
15620 conftest$ac_exeext conftest.$ac_ext
15621 LIBS=$ac_check_soname_save_LIBS
15623 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15625 $as_echo "not found" >&6; }
15626 JPEG_CFLAGS=""
15627 else
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15629 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15631 cat >>confdefs.h <<_ACEOF
15632 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15633 _ACEOF
15637 else
15638 JPEG_CFLAGS=""
15640 CPPFLAGS=$ac_save_CPPFLAGS
15641 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15642 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15645 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15646 case "x$with_jpeg" in
15647 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15648 xno) ;;
15649 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15650 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15651 esac
15655 if test "x$with_png" != "xno"
15656 then
15657 if ${PNG_CFLAGS:+false} :; then :
15658 if ${PKG_CONFIG+:} false; then :
15659 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15662 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15663 if ${PNG_LIBS:+false} :; then :
15664 if ${PKG_CONFIG+:} false; then :
15665 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15668 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15670 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15671 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15672 ac_save_CPPFLAGS=$CPPFLAGS
15673 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15674 for ac_header in png.h
15675 do :
15676 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15677 if test "x$ac_cv_header_png_h" = xyes; then :
15678 cat >>confdefs.h <<_ACEOF
15679 #define HAVE_PNG_H 1
15680 _ACEOF
15684 done
15686 if test "$ac_cv_header_png_h" = "yes"
15687 then
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15689 $as_echo_n "checking for -lpng... " >&6; }
15690 if ${ac_cv_lib_soname_png+:} false; then :
15691 $as_echo_n "(cached) " >&6
15692 else
15693 ac_check_soname_save_LIBS=$LIBS
15694 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15698 /* Override any GCC internal prototype to avoid an error.
15699 Use char because int might match the return type of a GCC
15700 builtin and then its argument prototype would still apply. */
15701 #ifdef __cplusplus
15702 extern "C"
15703 #endif
15704 char png_create_read_struct ();
15706 main ()
15708 return png_create_read_struct ();
15710 return 0;
15712 _ACEOF
15713 if ac_fn_c_try_link "$LINENO"; then :
15714 case "$LIBEXT" in
15715 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15716 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'` ;;
15717 *) 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'`
15718 if ${ac_cv_lib_soname_png:+false} :; then :
15719 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15720 fi ;;
15721 esac
15722 else
15723 ac_cv_lib_soname_png=
15725 rm -f core conftest.err conftest.$ac_objext \
15726 conftest$ac_exeext conftest.$ac_ext
15727 LIBS=$ac_check_soname_save_LIBS
15729 if ${ac_cv_lib_soname_png:+false} :; then :
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15731 $as_echo "not found" >&6; }
15732 PNG_CFLAGS=""
15733 else
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15735 $as_echo "$ac_cv_lib_soname_png" >&6; }
15737 cat >>confdefs.h <<_ACEOF
15738 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15739 _ACEOF
15743 else
15744 PNG_CFLAGS=""
15746 CPPFLAGS=$ac_save_CPPFLAGS
15747 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15748 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15751 if test "x$ac_cv_lib_soname_png" = "x"; then :
15752 case "x$with_png" in
15753 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15754 xno) ;;
15755 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15756 This is an error since --with-png was requested." "$LINENO" 5 ;;
15757 esac
15761 if test "x$with_tiff" != "xno"
15762 then
15763 if ${TIFF_CFLAGS:+false} :; then :
15764 if ${PKG_CONFIG+:} false; then :
15765 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15769 if ${TIFF_LIBS:+false} :; then :
15770 if ${PKG_CONFIG+:} false; then :
15771 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15776 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15777 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15778 ac_save_CPPFLAGS=$CPPFLAGS
15779 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15780 for ac_header in tiffio.h
15781 do :
15782 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15783 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define HAVE_TIFFIO_H 1
15786 _ACEOF
15790 done
15792 if test "$ac_cv_header_tiffio_h" = "yes"
15793 then
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15795 $as_echo_n "checking for -ltiff... " >&6; }
15796 if ${ac_cv_lib_soname_tiff+:} false; then :
15797 $as_echo_n "(cached) " >&6
15798 else
15799 ac_check_soname_save_LIBS=$LIBS
15800 LIBS="-ltiff $TIFF_LIBS $LIBS"
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15804 /* Override any GCC internal prototype to avoid an error.
15805 Use char because int might match the return type of a GCC
15806 builtin and then its argument prototype would still apply. */
15807 #ifdef __cplusplus
15808 extern "C"
15809 #endif
15810 char TIFFClientOpen ();
15812 main ()
15814 return TIFFClientOpen ();
15816 return 0;
15818 _ACEOF
15819 if ac_fn_c_try_link "$LINENO"; then :
15820 case "$LIBEXT" in
15821 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15822 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'` ;;
15823 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15824 if ${ac_cv_lib_soname_tiff:+false} :; then :
15825 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15826 fi ;;
15827 esac
15828 else
15829 ac_cv_lib_soname_tiff=
15831 rm -f core conftest.err conftest.$ac_objext \
15832 conftest$ac_exeext conftest.$ac_ext
15833 LIBS=$ac_check_soname_save_LIBS
15835 if ${ac_cv_lib_soname_tiff:+false} :; then :
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15837 $as_echo "not found" >&6; }
15839 else
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15841 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15843 cat >>confdefs.h <<_ACEOF
15844 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15845 _ACEOF
15850 CPPFLAGS=$ac_save_CPPFLAGS
15851 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15852 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15855 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15856 case "x$with_tiff" in
15857 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15858 xno) ;;
15859 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15860 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15861 esac
15865 if test "x$with_mpg123" != "xno"
15866 then
15867 if ${MPG123_CFLAGS:+false} :; then :
15868 if ${PKG_CONFIG+:} false; then :
15869 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15873 if ${MPG123_LIBS:+false} :; then :
15874 if ${PKG_CONFIG+:} false; then :
15875 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15879 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15880 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15881 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15882 ac_save_CPPFLAGS=$CPPFLAGS
15883 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15884 for ac_header in mpg123.h
15885 do :
15886 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15887 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15888 cat >>confdefs.h <<_ACEOF
15889 #define HAVE_MPG123_H 1
15890 _ACEOF
15894 done
15896 if test "$ac_cv_header_mpg123_h" = "yes"
15897 then
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15899 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15900 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 ac_check_lib_save_LIBS=$LIBS
15904 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 #ifdef __cplusplus
15912 extern "C"
15913 #endif
15914 char mpg123_feed ();
15916 main ()
15918 return mpg123_feed ();
15920 return 0;
15922 _ACEOF
15923 if ac_fn_c_try_link "$LINENO"; then :
15924 ac_cv_lib_mpg123_mpg123_feed=yes
15925 else
15926 ac_cv_lib_mpg123_mpg123_feed=no
15928 rm -f core conftest.err conftest.$ac_objext \
15929 conftest$ac_exeext conftest.$ac_ext
15930 LIBS=$ac_check_lib_save_LIBS
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15933 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15934 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15936 else
15937 MPG123_LIBS=""
15940 else
15941 MPG123_CFLAGS=""
15942 MPG123_LIBS=""
15944 CPPFLAGS=$ac_save_CPPFLAGS
15945 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15946 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15949 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15950 case "x$with_mpg123" in
15951 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15952 xno) ;;
15953 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15954 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15955 esac
15956 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15958 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15960 if test "$ac_cv_header_AL_al_h" = "yes"
15961 then
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15963 $as_echo_n "checking for -lopenal... " >&6; }
15964 if ${ac_cv_lib_soname_openal+:} false; then :
15965 $as_echo_n "(cached) " >&6
15966 else
15967 ac_check_soname_save_LIBS=$LIBS
15968 LIBS="-lopenal $LIBS"
15969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15970 /* end confdefs.h. */
15972 /* Override any GCC internal prototype to avoid an error.
15973 Use char because int might match the return type of a GCC
15974 builtin and then its argument prototype would still apply. */
15975 #ifdef __cplusplus
15976 extern "C"
15977 #endif
15978 char alGetSource3i ();
15980 main ()
15982 return alGetSource3i ();
15984 return 0;
15986 _ACEOF
15987 if ac_fn_c_try_link "$LINENO"; then :
15988 case "$LIBEXT" in
15989 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15990 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'` ;;
15991 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15992 if ${ac_cv_lib_soname_openal:+false} :; then :
15993 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15994 fi ;;
15995 esac
15996 else
15997 ac_cv_lib_soname_openal=
15999 rm -f core conftest.err conftest.$ac_objext \
16000 conftest$ac_exeext conftest.$ac_ext
16001 LIBS=$ac_check_soname_save_LIBS
16003 if ${ac_cv_lib_soname_openal:+false} :; then :
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16005 $as_echo "not found" >&6; }
16007 else
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16009 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16011 cat >>confdefs.h <<_ACEOF
16012 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16013 _ACEOF
16015 OPENAL_LIBS="-lopenal"
16017 ac_cv_lib_openal=yes
16019 cat >>confdefs.h <<_ACEOF
16020 #define HAVE_OPENAL 1
16021 _ACEOF
16025 if test "x$ac_cv_lib_openal" != xyes; then :
16026 case "x$with_openal" in
16027 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16028 xno) ;;
16029 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16030 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16031 esac
16032 enable_openal32=${enable_openal32:-no}
16035 if test "x$ac_cv_lib_soname_FAudio" = "x"
16036 then
16037 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16038 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16039 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16040 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16041 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16042 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16043 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16044 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16045 enable_xapofx1_1=${enable_xapofx1_1:-no}
16046 enable_xapofx1_2=${enable_xapofx1_2:-no}
16047 enable_xapofx1_3=${enable_xapofx1_3:-no}
16048 enable_xapofx1_4=${enable_xapofx1_4:-no}
16049 enable_xapofx1_5=${enable_xapofx1_5:-no}
16050 enable_xaudio2_0=${enable_xaudio2_0:-no}
16051 enable_xaudio2_1=${enable_xaudio2_1:-no}
16052 enable_xaudio2_2=${enable_xaudio2_2:-no}
16053 enable_xaudio2_3=${enable_xaudio2_3:-no}
16054 enable_xaudio2_4=${enable_xaudio2_4:-no}
16055 enable_xaudio2_5=${enable_xaudio2_5:-no}
16056 enable_xaudio2_6=${enable_xaudio2_6:-no}
16057 enable_xaudio2_7=${enable_xaudio2_7:-no}
16058 enable_xaudio2_8=${enable_xaudio2_8:-no}
16059 enable_xaudio2_9=${enable_xaudio2_9:-no}
16062 if test "$ac_cv_header_kstat_h" = "yes"
16063 then
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16065 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16066 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16067 $as_echo_n "(cached) " >&6
16068 else
16069 ac_check_lib_save_LIBS=$LIBS
16070 LIBS="-lkstat $LIBS"
16071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072 /* end confdefs.h. */
16074 /* Override any GCC internal prototype to avoid an error.
16075 Use char because int might match the return type of a GCC
16076 builtin and then its argument prototype would still apply. */
16077 #ifdef __cplusplus
16078 extern "C"
16079 #endif
16080 char kstat_open ();
16082 main ()
16084 return kstat_open ();
16086 return 0;
16088 _ACEOF
16089 if ac_fn_c_try_link "$LINENO"; then :
16090 ac_cv_lib_kstat_kstat_open=yes
16091 else
16092 ac_cv_lib_kstat_kstat_open=no
16094 rm -f core conftest.err conftest.$ac_objext \
16095 conftest$ac_exeext conftest.$ac_ext
16096 LIBS=$ac_check_lib_save_LIBS
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16099 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16100 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16102 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16104 KSTAT_LIBS="-lkstat"
16110 if test "$ac_cv_header_libprocstat_h" = "yes"
16111 then
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16113 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16114 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16115 $as_echo_n "(cached) " >&6
16116 else
16117 ac_check_lib_save_LIBS=$LIBS
16118 LIBS="-lprocstat $LIBS"
16119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16120 /* end confdefs.h. */
16122 /* Override any GCC internal prototype to avoid an error.
16123 Use char because int might match the return type of a GCC
16124 builtin and then its argument prototype would still apply. */
16125 #ifdef __cplusplus
16126 extern "C"
16127 #endif
16128 char procstat_open_sysctl ();
16130 main ()
16132 return procstat_open_sysctl ();
16134 return 0;
16136 _ACEOF
16137 if ac_fn_c_try_link "$LINENO"; then :
16138 ac_cv_lib_procstat_procstat_open_sysctl=yes
16139 else
16140 ac_cv_lib_procstat_procstat_open_sysctl=no
16142 rm -f core conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext conftest.$ac_ext
16144 LIBS=$ac_check_lib_save_LIBS
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16147 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16148 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16150 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16152 PROCSTAT_LIBS="-lprocstat"
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16159 $as_echo_n "checking for -lodbc... " >&6; }
16160 if ${ac_cv_lib_soname_odbc+:} false; then :
16161 $as_echo_n "(cached) " >&6
16162 else
16163 ac_check_soname_save_LIBS=$LIBS
16164 LIBS="-lodbc $LIBS"
16165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166 /* end confdefs.h. */
16168 /* Override any GCC internal prototype to avoid an error.
16169 Use char because int might match the return type of a GCC
16170 builtin and then its argument prototype would still apply. */
16171 #ifdef __cplusplus
16172 extern "C"
16173 #endif
16174 char SQLConnect ();
16176 main ()
16178 return SQLConnect ();
16180 return 0;
16182 _ACEOF
16183 if ac_fn_c_try_link "$LINENO"; then :
16184 case "$LIBEXT" in
16185 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16186 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'` ;;
16187 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16188 if ${ac_cv_lib_soname_odbc:+false} :; then :
16189 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16190 fi ;;
16191 esac
16192 else
16193 ac_cv_lib_soname_odbc=
16195 rm -f core conftest.err conftest.$ac_objext \
16196 conftest$ac_exeext conftest.$ac_ext
16197 LIBS=$ac_check_soname_save_LIBS
16199 if ${ac_cv_lib_soname_odbc:+false} :; then :
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16201 $as_echo "not found" >&6; }
16202 cat >>confdefs.h <<_ACEOF
16203 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16204 _ACEOF
16206 else
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16208 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16210 cat >>confdefs.h <<_ACEOF
16211 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16212 _ACEOF
16217 if test "x$with_netapi" != "xno"
16218 then
16219 if ${NETAPI_CFLAGS:+false} :; then :
16220 if ${PKG_CONFIG+:} false; then :
16221 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16225 if ${NETAPI_LIBS:+false} :; then :
16226 if ${PKG_CONFIG+:} false; then :
16227 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16232 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16233 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16234 ac_save_CPPFLAGS=$CPPFLAGS
16235 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16237 $as_echo_n "checking for -lnetapi... " >&6; }
16238 if ${ac_cv_lib_soname_netapi+:} false; then :
16239 $as_echo_n "(cached) " >&6
16240 else
16241 ac_check_soname_save_LIBS=$LIBS
16242 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16246 /* Override any GCC internal prototype to avoid an error.
16247 Use char because int might match the return type of a GCC
16248 builtin and then its argument prototype would still apply. */
16249 #ifdef __cplusplus
16250 extern "C"
16251 #endif
16252 char libnetapi_init ();
16254 main ()
16256 return libnetapi_init ();
16258 return 0;
16260 _ACEOF
16261 if ac_fn_c_try_link "$LINENO"; then :
16262 case "$LIBEXT" in
16263 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16264 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'` ;;
16265 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16266 if ${ac_cv_lib_soname_netapi:+false} :; then :
16267 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16268 fi ;;
16269 esac
16270 else
16271 ac_cv_lib_soname_netapi=
16273 rm -f core conftest.err conftest.$ac_objext \
16274 conftest$ac_exeext conftest.$ac_ext
16275 LIBS=$ac_check_soname_save_LIBS
16277 if ${ac_cv_lib_soname_netapi:+false} :; then :
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16279 $as_echo "not found" >&6; }
16280 cat >>confdefs.h <<_ACEOF
16281 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16282 _ACEOF
16284 else
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16286 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16288 cat >>confdefs.h <<_ACEOF
16289 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16290 _ACEOF
16294 CPPFLAGS=$ac_save_CPPFLAGS
16295 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16296 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16300 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16301 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16302 then
16303 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16306 if test "x$with_vulkan" != "xno"
16307 then
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16309 $as_echo_n "checking for -lvulkan... " >&6; }
16310 if ${ac_cv_lib_soname_vulkan+:} false; then :
16311 $as_echo_n "(cached) " >&6
16312 else
16313 ac_check_soname_save_LIBS=$LIBS
16314 LIBS="-lvulkan $LIBS"
16315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16316 /* end confdefs.h. */
16318 /* Override any GCC internal prototype to avoid an error.
16319 Use char because int might match the return type of a GCC
16320 builtin and then its argument prototype would still apply. */
16321 #ifdef __cplusplus
16322 extern "C"
16323 #endif
16324 char vkGetInstanceProcAddr ();
16326 main ()
16328 return vkGetInstanceProcAddr ();
16330 return 0;
16332 _ACEOF
16333 if ac_fn_c_try_link "$LINENO"; then :
16334 case "$LIBEXT" in
16335 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16336 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'` ;;
16337 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16338 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16339 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16340 fi ;;
16341 esac
16342 else
16343 ac_cv_lib_soname_vulkan=
16345 rm -f core conftest.err conftest.$ac_objext \
16346 conftest$ac_exeext conftest.$ac_ext
16347 LIBS=$ac_check_soname_save_LIBS
16349 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16351 $as_echo "not found" >&6; }
16353 else
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16355 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16357 cat >>confdefs.h <<_ACEOF
16358 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16359 _ACEOF
16363 if test "x$ac_cv_lib_soname_vulkan" = "x"
16364 then
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16366 $as_echo_n "checking for -lMoltenVK... " >&6; }
16367 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16368 $as_echo_n "(cached) " >&6
16369 else
16370 ac_check_soname_save_LIBS=$LIBS
16371 LIBS="-lMoltenVK $LIBS"
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16375 /* Override any GCC internal prototype to avoid an error.
16376 Use char because int might match the return type of a GCC
16377 builtin and then its argument prototype would still apply. */
16378 #ifdef __cplusplus
16379 extern "C"
16380 #endif
16381 char vkGetInstanceProcAddr ();
16383 main ()
16385 return vkGetInstanceProcAddr ();
16387 return 0;
16389 _ACEOF
16390 if ac_fn_c_try_link "$LINENO"; then :
16391 case "$LIBEXT" in
16392 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16393 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'` ;;
16394 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16395 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16396 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16397 fi ;;
16398 esac
16399 else
16400 ac_cv_lib_soname_MoltenVK=
16402 rm -f core conftest.err conftest.$ac_objext \
16403 conftest$ac_exeext conftest.$ac_ext
16404 LIBS=$ac_check_soname_save_LIBS
16406 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16408 $as_echo "not found" >&6; }
16410 else
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16412 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16414 cat >>confdefs.h <<_ACEOF
16415 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16416 _ACEOF
16422 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16423 case "x$with_vulkan" in
16424 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16425 xno) ;;
16426 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16427 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16428 esac
16432 if test "x$with_vkd3d" != "xno"
16433 then
16434 if ${VKD3D_CFLAGS:+false} :; then :
16435 if ${PKG_CONFIG+:} false; then :
16436 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16440 if ${VKD3D_LIBS:+false} :; then :
16441 if ${PKG_CONFIG+:} false; then :
16442 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16447 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16448 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16449 ac_save_CPPFLAGS=$CPPFLAGS
16450 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16452 $as_echo_n "checking for -lvkd3d... " >&6; }
16453 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16454 $as_echo_n "(cached) " >&6
16455 else
16456 ac_check_soname_save_LIBS=$LIBS
16457 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16461 /* Override any GCC internal prototype to avoid an error.
16462 Use char because int might match the return type of a GCC
16463 builtin and then its argument prototype would still apply. */
16464 #ifdef __cplusplus
16465 extern "C"
16466 #endif
16467 char vkd3d_get_dxgi_format ();
16469 main ()
16471 return vkd3d_get_dxgi_format ();
16473 return 0;
16475 _ACEOF
16476 if ac_fn_c_try_link "$LINENO"; then :
16477 case "$LIBEXT" in
16478 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16479 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'` ;;
16480 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16481 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16482 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16483 fi ;;
16484 esac
16485 else
16486 ac_cv_lib_soname_vkd3d=
16488 rm -f core conftest.err conftest.$ac_objext \
16489 conftest$ac_exeext conftest.$ac_ext
16490 LIBS=$ac_check_soname_save_LIBS
16492 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16494 $as_echo "not found" >&6; }
16496 else
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16498 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16500 cat >>confdefs.h <<_ACEOF
16501 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16502 _ACEOF
16506 CPPFLAGS=$ac_save_CPPFLAGS
16507 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16508 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16511 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16512 case "x$with_vkd3d" in
16513 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16514 xno) ;;
16515 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16516 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16517 esac
16520 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16523 EXTRACFLAGS=""
16525 if test "x${GCC}" = "xyes"
16526 then
16527 EXTRACFLAGS="-Wall -pipe"
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16530 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16531 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16532 $as_echo_n "(cached) " >&6
16533 else
16534 if test "$cross_compiling" = yes; then :
16535 ac_cv_c_gcc_strength_bug="no"
16536 else
16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16539 int L[4] = {0,1,2,3};
16541 main ()
16543 static int Array[3];
16544 unsigned int B = 3;
16545 int i;
16546 for(i=0; i<B; i++) Array[i] = i - 3;
16547 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16548 L[i] = 4;
16549 return (Array[1] != -2 || L[2] != 3)
16551 return 0;
16553 _ACEOF
16554 if ac_fn_c_try_run "$LINENO"; then :
16555 ac_cv_c_gcc_strength_bug="no"
16556 else
16557 ac_cv_c_gcc_strength_bug="yes"
16559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16560 conftest.$ac_objext conftest.beam conftest.$ac_ext
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16565 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16566 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16567 then
16568 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
16572 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
16573 if ${ac_cv_cflags__fno_builtin+:} false; then :
16574 $as_echo_n "(cached) " >&6
16575 else
16576 ac_wine_try_cflags_saved=$CFLAGS
16577 CFLAGS="$CFLAGS -fno-builtin"
16578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16580 int main(int argc, char **argv) { return 0; }
16581 _ACEOF
16582 if ac_fn_c_try_link "$LINENO"; then :
16583 ac_cv_cflags__fno_builtin=yes
16584 else
16585 ac_cv_cflags__fno_builtin=no
16587 rm -f core conftest.err conftest.$ac_objext \
16588 conftest$ac_exeext conftest.$ac_ext
16589 CFLAGS=$ac_wine_try_cflags_saved
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
16592 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
16593 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
16594 BUILTINFLAG="-fno-builtin"
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16598 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16599 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16600 $as_echo_n "(cached) " >&6
16601 else
16602 ac_wine_try_cflags_saved=$CFLAGS
16603 CFLAGS="$CFLAGS -fno-strict-aliasing"
16604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16605 /* end confdefs.h. */
16606 int main(int argc, char **argv) { return 0; }
16607 _ACEOF
16608 if ac_fn_c_try_link "$LINENO"; then :
16609 ac_cv_cflags__fno_strict_aliasing=yes
16610 else
16611 ac_cv_cflags__fno_strict_aliasing=no
16613 rm -f core conftest.err conftest.$ac_objext \
16614 conftest$ac_exeext conftest.$ac_ext
16615 CFLAGS=$ac_wine_try_cflags_saved
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16618 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16619 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16620 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16623 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16624 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16625 $as_echo_n "(cached) " >&6
16626 else
16627 ac_wine_try_cflags_saved=$CFLAGS
16628 CFLAGS="$CFLAGS -fexcess-precision=standard"
16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16631 int main(int argc, char **argv) { return 0; }
16632 _ACEOF
16633 if ac_fn_c_try_link "$LINENO"; then :
16634 ac_cv_cflags__fexcess_precision_standard=yes
16635 else
16636 ac_cv_cflags__fexcess_precision_standard=no
16638 rm -f core conftest.err conftest.$ac_objext \
16639 conftest$ac_exeext conftest.$ac_ext
16640 CFLAGS=$ac_wine_try_cflags_saved
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16643 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16644 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16645 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16648 saved_CFLAGS=$CFLAGS
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16650 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16651 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16652 $as_echo_n "(cached) " >&6
16653 else
16654 ac_wine_try_cflags_saved=$CFLAGS
16655 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16658 int main(int argc, char **argv) { return 0; }
16659 _ACEOF
16660 if ac_fn_c_try_link "$LINENO"; then :
16661 ac_cv_cflags__Werror_unknown_warning_option=yes
16662 else
16663 ac_cv_cflags__Werror_unknown_warning_option=no
16665 rm -f core conftest.err conftest.$ac_objext \
16666 conftest$ac_exeext conftest.$ac_ext
16667 CFLAGS=$ac_wine_try_cflags_saved
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16670 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16671 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16672 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16675 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16676 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16677 $as_echo_n "(cached) " >&6
16678 else
16679 ac_wine_try_cflags_saved=$CFLAGS
16680 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16682 /* end confdefs.h. */
16683 int main(int argc, char **argv) { return 0; }
16684 _ACEOF
16685 if ac_fn_c_try_link "$LINENO"; then :
16686 ac_cv_cflags__Wdeclaration_after_statement=yes
16687 else
16688 ac_cv_cflags__Wdeclaration_after_statement=no
16690 rm -f core conftest.err conftest.$ac_objext \
16691 conftest$ac_exeext conftest.$ac_ext
16692 CFLAGS=$ac_wine_try_cflags_saved
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16695 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16696 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16697 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16700 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16701 if ${ac_cv_cflags__Wempty_body+:} false; then :
16702 $as_echo_n "(cached) " >&6
16703 else
16704 ac_wine_try_cflags_saved=$CFLAGS
16705 CFLAGS="$CFLAGS -Wempty-body"
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16708 int main(int argc, char **argv) { return 0; }
16709 _ACEOF
16710 if ac_fn_c_try_link "$LINENO"; then :
16711 ac_cv_cflags__Wempty_body=yes
16712 else
16713 ac_cv_cflags__Wempty_body=no
16715 rm -f core conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16717 CFLAGS=$ac_wine_try_cflags_saved
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16720 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16721 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16722 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16725 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16726 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16727 $as_echo_n "(cached) " >&6
16728 else
16729 ac_wine_try_cflags_saved=$CFLAGS
16730 CFLAGS="$CFLAGS -Wignored-qualifiers"
16731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16733 int main(int argc, char **argv) { return 0; }
16734 _ACEOF
16735 if ac_fn_c_try_link "$LINENO"; then :
16736 ac_cv_cflags__Wignored_qualifiers=yes
16737 else
16738 ac_cv_cflags__Wignored_qualifiers=no
16740 rm -f core conftest.err conftest.$ac_objext \
16741 conftest$ac_exeext conftest.$ac_ext
16742 CFLAGS=$ac_wine_try_cflags_saved
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16745 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16746 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16747 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16750 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16751 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16752 $as_echo_n "(cached) " >&6
16753 else
16754 ac_wine_try_cflags_saved=$CFLAGS
16755 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16758 int main(int argc, char **argv) { return 0; }
16759 _ACEOF
16760 if ac_fn_c_try_link "$LINENO"; then :
16761 ac_cv_cflags__Wpacked_not_aligned=yes
16762 else
16763 ac_cv_cflags__Wpacked_not_aligned=no
16765 rm -f core conftest.err conftest.$ac_objext \
16766 conftest$ac_exeext conftest.$ac_ext
16767 CFLAGS=$ac_wine_try_cflags_saved
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16770 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16771 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16772 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16775 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16776 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16777 $as_echo_n "(cached) " >&6
16778 else
16779 ac_wine_try_cflags_saved=$CFLAGS
16780 CFLAGS="$CFLAGS -Wpragma-pack"
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16783 int main(int argc, char **argv) { return 0; }
16784 _ACEOF
16785 if ac_fn_c_try_link "$LINENO"; then :
16786 ac_cv_cflags__Wpragma_pack=yes
16787 else
16788 ac_cv_cflags__Wpragma_pack=no
16790 rm -f core conftest.err conftest.$ac_objext \
16791 conftest$ac_exeext conftest.$ac_ext
16792 CFLAGS=$ac_wine_try_cflags_saved
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16795 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16796 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16797 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16800 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16801 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16802 $as_echo_n "(cached) " >&6
16803 else
16804 ac_wine_try_cflags_saved=$CFLAGS
16805 CFLAGS="$CFLAGS -Wshift-overflow=2"
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16808 int main(int argc, char **argv) { return 0; }
16809 _ACEOF
16810 if ac_fn_c_try_link "$LINENO"; then :
16811 ac_cv_cflags__Wshift_overflow_2=yes
16812 else
16813 ac_cv_cflags__Wshift_overflow_2=no
16815 rm -f core conftest.err conftest.$ac_objext \
16816 conftest$ac_exeext conftest.$ac_ext
16817 CFLAGS=$ac_wine_try_cflags_saved
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16820 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16821 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16822 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16825 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16826 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16827 $as_echo_n "(cached) " >&6
16828 else
16829 ac_wine_try_cflags_saved=$CFLAGS
16830 CFLAGS="$CFLAGS -Wstrict-prototypes"
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16833 int main(int argc, char **argv) { return 0; }
16834 _ACEOF
16835 if ac_fn_c_try_link "$LINENO"; then :
16836 ac_cv_cflags__Wstrict_prototypes=yes
16837 else
16838 ac_cv_cflags__Wstrict_prototypes=no
16840 rm -f core conftest.err conftest.$ac_objext \
16841 conftest$ac_exeext conftest.$ac_ext
16842 CFLAGS=$ac_wine_try_cflags_saved
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16845 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16846 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16847 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16850 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16851 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16852 $as_echo_n "(cached) " >&6
16853 else
16854 ac_wine_try_cflags_saved=$CFLAGS
16855 CFLAGS="$CFLAGS -Wtype-limits"
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16858 int main(int argc, char **argv) { return 0; }
16859 _ACEOF
16860 if ac_fn_c_try_link "$LINENO"; then :
16861 ac_cv_cflags__Wtype_limits=yes
16862 else
16863 ac_cv_cflags__Wtype_limits=no
16865 rm -f core conftest.err conftest.$ac_objext \
16866 conftest$ac_exeext conftest.$ac_ext
16867 CFLAGS=$ac_wine_try_cflags_saved
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16870 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16871 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16872 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16875 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16876 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16877 $as_echo_n "(cached) " >&6
16878 else
16879 ac_wine_try_cflags_saved=$CFLAGS
16880 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h. */
16883 int main(int argc, char **argv) { return 0; }
16884 _ACEOF
16885 if ac_fn_c_try_link "$LINENO"; then :
16886 ac_cv_cflags__Wunused_but_set_parameter=yes
16887 else
16888 ac_cv_cflags__Wunused_but_set_parameter=no
16890 rm -f core conftest.err conftest.$ac_objext \
16891 conftest$ac_exeext conftest.$ac_ext
16892 CFLAGS=$ac_wine_try_cflags_saved
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16895 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16896 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16897 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16900 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16901 if ${ac_cv_cflags__Wvla+:} false; then :
16902 $as_echo_n "(cached) " >&6
16903 else
16904 ac_wine_try_cflags_saved=$CFLAGS
16905 CFLAGS="$CFLAGS -Wvla"
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16908 int main(int argc, char **argv) { return 0; }
16909 _ACEOF
16910 if ac_fn_c_try_link "$LINENO"; then :
16911 ac_cv_cflags__Wvla=yes
16912 else
16913 ac_cv_cflags__Wvla=no
16915 rm -f core conftest.err conftest.$ac_objext \
16916 conftest$ac_exeext conftest.$ac_ext
16917 CFLAGS=$ac_wine_try_cflags_saved
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16920 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16921 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16922 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16925 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16926 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16927 $as_echo_n "(cached) " >&6
16928 else
16929 ac_wine_try_cflags_saved=$CFLAGS
16930 CFLAGS="$CFLAGS -Wwrite-strings"
16931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16933 int main(int argc, char **argv) { return 0; }
16934 _ACEOF
16935 if ac_fn_c_try_link "$LINENO"; then :
16936 ac_cv_cflags__Wwrite_strings=yes
16937 else
16938 ac_cv_cflags__Wwrite_strings=no
16940 rm -f core conftest.err conftest.$ac_objext \
16941 conftest$ac_exeext conftest.$ac_ext
16942 CFLAGS=$ac_wine_try_cflags_saved
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16945 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16946 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16947 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16951 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16952 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16953 $as_echo_n "(cached) " >&6
16954 else
16955 ac_wine_try_cflags_saved=$CFLAGS
16956 CFLAGS="$CFLAGS -Wpointer-arith"
16957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16958 /* end confdefs.h. */
16959 int main(int argc, char **argv) { return 0; }
16960 _ACEOF
16961 if ac_fn_c_try_link "$LINENO"; then :
16962 ac_cv_cflags__Wpointer_arith=yes
16963 else
16964 ac_cv_cflags__Wpointer_arith=no
16966 rm -f core conftest.err conftest.$ac_objext \
16967 conftest$ac_exeext conftest.$ac_ext
16968 CFLAGS=$ac_wine_try_cflags_saved
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16971 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16972 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16973 saved_string_h_CFLAGS=$CFLAGS
16974 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16976 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16977 if ${ac_cv_c_string_h_warnings+:} false; then :
16978 $as_echo_n "(cached) " >&6
16979 else
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16982 #include <string.h>
16984 main ()
16988 return 0;
16990 _ACEOF
16991 if ac_fn_c_try_compile "$LINENO"; then :
16992 ac_cv_c_string_h_warnings=no
16993 else
16994 ac_cv_c_string_h_warnings=yes
16996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16999 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17000 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17001 CFLAGS=$saved_string_h_CFLAGS
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17005 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17006 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17007 $as_echo_n "(cached) " >&6
17008 else
17009 ac_wine_try_cflags_saved=$CFLAGS
17010 CFLAGS="$CFLAGS -Wlogical-op"
17011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17013 int main(int argc, char **argv) { return 0; }
17014 _ACEOF
17015 if ac_fn_c_try_link "$LINENO"; then :
17016 ac_cv_cflags__Wlogical_op=yes
17017 else
17018 ac_cv_cflags__Wlogical_op=no
17020 rm -f core conftest.err conftest.$ac_objext \
17021 conftest$ac_exeext conftest.$ac_ext
17022 CFLAGS=$ac_wine_try_cflags_saved
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17025 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17026 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17027 saved_string_h_CFLAGS=$CFLAGS
17028 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17030 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17031 if ${ac_cv_c_logicalop_noisy+:} false; then :
17032 $as_echo_n "(cached) " >&6
17033 else
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17036 #include <string.h>
17037 char*f(const char *h,char n) {return strchr(h,n);}
17039 main ()
17043 return 0;
17045 _ACEOF
17046 if ac_fn_c_try_compile "$LINENO"; then :
17047 ac_cv_c_logicalop_noisy=no
17048 else
17049 ac_cv_c_logicalop_noisy=yes
17051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17054 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17055 CFLAGS=$saved_string_h_CFLAGS
17056 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17059 CFLAGS=$saved_CFLAGS
17061 for ac_flag in $CFLAGS; do
17062 case $ac_flag in
17063 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17064 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17065 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17066 $as_echo_n "(cached) " >&6
17067 else
17068 ac_wine_try_cflags_saved=$CFLAGS
17069 CFLAGS="$CFLAGS -gdwarf-2"
17070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071 /* end confdefs.h. */
17072 int main(int argc, char **argv) { return 0; }
17073 _ACEOF
17074 if ac_fn_c_try_link "$LINENO"; then :
17075 ac_cv_cflags__gdwarf_2=yes
17076 else
17077 ac_cv_cflags__gdwarf_2=no
17079 rm -f core conftest.err conftest.$ac_objext \
17080 conftest$ac_exeext conftest.$ac_ext
17081 CFLAGS=$ac_wine_try_cflags_saved
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17084 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17085 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17086 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17089 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17090 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17091 $as_echo_n "(cached) " >&6
17092 else
17093 ac_wine_try_cflags_saved=$CFLAGS
17094 CFLAGS="$CFLAGS -gstrict-dwarf"
17095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17096 /* end confdefs.h. */
17097 int main(int argc, char **argv) { return 0; }
17098 _ACEOF
17099 if ac_fn_c_try_link "$LINENO"; then :
17100 ac_cv_cflags__gstrict_dwarf=yes
17101 else
17102 ac_cv_cflags__gstrict_dwarf=no
17104 rm -f core conftest.err conftest.$ac_objext \
17105 conftest$ac_exeext conftest.$ac_ext
17106 CFLAGS=$ac_wine_try_cflags_saved
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17109 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17110 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17111 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17112 fi ;;
17113 esac
17114 done
17116 case $host_cpu in
17117 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17118 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17119 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17120 $as_echo_n "(cached) " >&6
17121 else
17122 ac_wine_try_cflags_saved=$CFLAGS
17123 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17125 /* end confdefs.h. */
17126 int main(int argc, char **argv) { return 0; }
17127 _ACEOF
17128 if ac_fn_c_try_link "$LINENO"; then :
17129 ac_cv_cflags__fno_omit_frame_pointer=yes
17130 else
17131 ac_cv_cflags__fno_omit_frame_pointer=no
17133 rm -f core conftest.err conftest.$ac_objext \
17134 conftest$ac_exeext conftest.$ac_ext
17135 CFLAGS=$ac_wine_try_cflags_saved
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17138 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17139 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17140 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17141 fi ;;
17142 esac
17144 case $host in
17145 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17146 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17147 if ${ac_cv_cflags__Wno_format+:} false; then :
17148 $as_echo_n "(cached) " >&6
17149 else
17150 ac_wine_try_cflags_saved=$CFLAGS
17151 CFLAGS="$CFLAGS -Wno-format"
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 int main(int argc, char **argv) { return 0; }
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"; then :
17157 ac_cv_cflags__Wno_format=yes
17158 else
17159 ac_cv_cflags__Wno_format=no
17161 rm -f core conftest.err conftest.$ac_objext \
17162 conftest$ac_exeext conftest.$ac_ext
17163 CFLAGS=$ac_wine_try_cflags_saved
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17166 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17167 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17168 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17169 fi ;;
17170 esac
17172 if test "x$enable_maintainer_mode" = "xyes"
17173 then
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17175 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17176 if ${ac_cv_cflags__Werror+:} false; then :
17177 $as_echo_n "(cached) " >&6
17178 else
17179 ac_wine_try_cflags_saved=$CFLAGS
17180 CFLAGS="$CFLAGS -Werror"
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 int main(int argc, char **argv) { return 0; }
17184 _ACEOF
17185 if ac_fn_c_try_link "$LINENO"; then :
17186 ac_cv_cflags__Werror=yes
17187 else
17188 ac_cv_cflags__Werror=no
17190 rm -f core conftest.err conftest.$ac_objext \
17191 conftest$ac_exeext conftest.$ac_ext
17192 CFLAGS=$ac_wine_try_cflags_saved
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17195 $as_echo "$ac_cv_cflags__Werror" >&6; }
17196 if test "x$ac_cv_cflags__Werror" = xyes; then :
17197 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17201 saved_CFLAGS="$CFLAGS"
17202 CFLAGS="$CFLAGS -Werror"
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
17204 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
17205 if ${ac_cv_have_ms_hook_prologue+:} false; then :
17206 $as_echo_n "(cached) " >&6
17207 else
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
17212 main ()
17216 return 0;
17218 _ACEOF
17219 if ac_fn_c_try_compile "$LINENO"; then :
17220 ac_cv_have_ms_hook_prologue="yes"
17221 else
17222 ac_cv_have_ms_hook_prologue="no"
17224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
17227 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
17228 CFLAGS="$saved_CFLAGS"
17229 if test "$ac_cv_have_ms_hook_prologue" = "yes"
17230 then
17232 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
17234 else
17235 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17242 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17243 if ${ac_cv_c_fortify_enabled+:} false; then :
17244 $as_echo_n "(cached) " >&6
17245 else
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 #include <string.h>
17250 main ()
17252 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17253 #error Fortify enabled
17254 #endif
17256 return 0;
17258 _ACEOF
17259 if ac_fn_c_try_compile "$LINENO"; then :
17260 ac_cv_c_fortify_enabled=no
17261 else
17262 ac_cv_c_fortify_enabled=yes
17264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17267 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17268 if test "$ac_cv_c_fortify_enabled" = yes
17269 then
17270 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
17275 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
17276 if ${ac_cv_c_extern_prefix+:} false; then :
17277 $as_echo_n "(cached) " >&6
17278 else
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 extern int ac_test;
17283 main ()
17285 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
17287 return 0;
17289 _ACEOF
17290 if ac_fn_c_try_link "$LINENO"; then :
17291 ac_cv_c_extern_prefix="yes"
17292 else
17293 ac_cv_c_extern_prefix="no"
17295 rm -f core conftest.err conftest.$ac_objext \
17296 conftest$ac_exeext conftest.$ac_ext
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
17299 $as_echo "$ac_cv_c_extern_prefix" >&6; }
17301 case $host_cpu in
17302 *i[3456789]86*)
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
17304 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
17305 if ${ac_cv_c_stdcall_suffix+:} false; then :
17306 $as_echo_n "(cached) " >&6
17307 else
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310 #ifndef _MSC_VER
17311 #define __stdcall __attribute__((__stdcall__))
17312 #endif
17313 int __stdcall ac_test(int i) { return i; }
17315 main ()
17317 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
17319 return 0;
17321 _ACEOF
17322 if ac_fn_c_try_link "$LINENO"; then :
17323 ac_cv_c_stdcall_suffix="yes"
17324 else
17325 ac_cv_c_stdcall_suffix="no"
17327 rm -f core conftest.err conftest.$ac_objext \
17328 conftest$ac_exeext conftest.$ac_ext
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
17331 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
17332 *) ac_cv_c_stdcall_suffix="no" ;;
17333 esac
17336 if test "$ac_cv_c_extern_prefix" = "yes"
17337 then
17338 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
17340 asm_name_prefix="_"
17341 else
17342 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
17344 asm_name_prefix=""
17348 if test "$ac_cv_c_stdcall_suffix" = "yes"
17349 then
17350 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
17352 else
17353 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
17359 $as_echo_n "checking how to define a function in assembly code... " >&6; }
17360 if ${ac_cv_asm_func_def+:} false; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17367 main ()
17369 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
17371 return 0;
17373 _ACEOF
17374 if ac_fn_c_try_link "$LINENO"; then :
17375 ac_cv_asm_func_def=".def"
17376 else
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17381 main ()
17383 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
17385 return 0;
17387 _ACEOF
17388 if ac_fn_c_try_link "$LINENO"; then :
17389 ac_cv_asm_func_def=".type @function"
17390 else
17391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h. */
17395 main ()
17397 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
17399 return 0;
17401 _ACEOF
17402 if ac_fn_c_try_link "$LINENO"; then :
17403 ac_cv_asm_func_def=".type 2"
17404 else
17405 ac_cv_asm_func_def="unknown"
17407 rm -f core conftest.err conftest.$ac_objext \
17408 conftest$ac_exeext conftest.$ac_ext
17410 rm -f core conftest.err conftest.$ac_objext \
17411 conftest$ac_exeext conftest.$ac_ext
17413 rm -f core conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
17417 $as_echo "$ac_cv_asm_func_def" >&6; }
17419 case "$ac_cv_asm_func_def" in
17420 ".def")
17421 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
17422 ".type @function")
17423 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
17424 ".type 2")
17425 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
17427 asm_func_header="" ;;
17428 esac
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
17431 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
17432 if ${ac_cv_c_asm_outside_funcs+:} false; then :
17433 $as_echo_n "(cached) " >&6
17434 else
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 asm(".text\n\t.long 0");
17439 main ()
17443 return 0;
17445 _ACEOF
17446 if ac_fn_c_try_compile "$LINENO"; then :
17447 ac_cv_c_asm_outside_funcs="yes"
17448 else
17449 ac_cv_c_asm_outside_funcs="no"
17451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
17454 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
17457 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
17458 if ${ac_cv_c_dot_previous+:} false; then :
17459 $as_echo_n "(cached) " >&6
17460 else
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17465 main ()
17467 asm(".text\nac_test:\t.long 0\n\t.previous");
17469 return 0;
17471 _ACEOF
17472 if ac_fn_c_try_link "$LINENO"; then :
17473 ac_cv_c_dot_previous="yes"
17474 else
17475 ac_cv_c_dot_previous="no"
17477 rm -f core conftest.err conftest.$ac_objext \
17478 conftest$ac_exeext conftest.$ac_ext
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
17481 $as_echo "$ac_cv_c_dot_previous" >&6; }
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17484 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17485 if ${ac_cv_c_cfi_support+:} false; then :
17486 $as_echo_n "(cached) " >&6
17487 else
17488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17492 main ()
17496 return 0;
17498 _ACEOF
17499 if ac_fn_c_try_compile "$LINENO"; then :
17500 ac_cv_c_cfi_support="yes"
17501 else
17502 ac_cv_c_cfi_support="no"
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17507 $as_echo "$ac_cv_c_cfi_support" >&6; }
17509 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
17510 asm_func_trailer=""
17511 if test "$ac_cv_c_dot_previous" = "yes"
17512 then
17513 asm_func_trailer="\\n\\t.previous"
17515 if test "$ac_cv_c_cfi_support" = "yes"
17516 then
17517 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
17518 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
17520 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
17522 UNWINDFLAGS=-fasynchronous-unwind-tables
17524 else
17525 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
17527 if test "x$enable_win64" = "xyes"
17528 then
17529 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17533 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
17536 if test "$ac_cv_c_asm_outside_funcs" = "yes"
17537 then
17538 cat >>confdefs.h <<_ACEOF
17539 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
17540 _ACEOF
17542 else
17543 cat >>confdefs.h <<_ACEOF
17544 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
17545 _ACEOF
17549 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
17552 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
17556 case $build_os in
17557 cygwin*|mingw32*) TOOLSEXT=".exe"
17559 esac
17561 case $host_os in
17562 linux*)
17563 case $host_cpu in
17564 *i[3456789]86*|x86_64*|*aarch64*)
17565 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17566 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17568 esac
17570 esac
17573 ac_save_CFLAGS="$CFLAGS"
17574 CFLAGS="$CFLAGS $BUILTINFLAG"
17575 for ac_func in \
17576 __res_get_state \
17577 __res_getservers \
17578 _spawnvp \
17579 dlopen \
17580 epoll_create \
17581 ffs \
17582 finitef \
17583 fnmatch \
17584 fork \
17585 fpclass \
17586 fstatfs \
17587 fstatvfs \
17588 futimens \
17589 futimes \
17590 futimesat \
17591 getattrlist \
17592 getauxval \
17593 getifaddrs \
17594 getopt_long_only \
17595 kqueue \
17596 lstat \
17597 pipe2 \
17598 poll \
17599 port_create \
17600 prctl \
17601 pread \
17602 proc_pidinfo \
17603 pwrite \
17604 readdir \
17605 readlink \
17606 sched_yield \
17607 select \
17608 setproctitle \
17609 setprogname \
17610 settimeofday \
17611 sigprocmask \
17612 statfs \
17613 statvfs \
17614 strnlen \
17615 strtold \
17616 symlink \
17617 sysinfo \
17618 tcdrain \
17619 thr_kill2 \
17620 timegm \
17621 usleep
17623 do :
17624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17626 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17627 cat >>confdefs.h <<_ACEOF
17628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17629 _ACEOF
17632 done
17634 CFLAGS="$ac_save_CFLAGS"
17636 if test "$ac_cv_func_dlopen" = no
17637 then
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17639 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17640 if ${ac_cv_lib_dl_dlopen+:} false; then :
17641 $as_echo_n "(cached) " >&6
17642 else
17643 ac_check_lib_save_LIBS=$LIBS
17644 LIBS="-ldl $LIBS"
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17648 /* Override any GCC internal prototype to avoid an error.
17649 Use char because int might match the return type of a GCC
17650 builtin and then its argument prototype would still apply. */
17651 #ifdef __cplusplus
17652 extern "C"
17653 #endif
17654 char dlopen ();
17656 main ()
17658 return dlopen ();
17660 return 0;
17662 _ACEOF
17663 if ac_fn_c_try_link "$LINENO"; then :
17664 ac_cv_lib_dl_dlopen=yes
17665 else
17666 ac_cv_lib_dl_dlopen=no
17668 rm -f core conftest.err conftest.$ac_objext \
17669 conftest$ac_exeext conftest.$ac_ext
17670 LIBS=$ac_check_lib_save_LIBS
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17673 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17674 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17675 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17676 DL_LIBS="-ldl"
17681 ac_wine_check_funcs_save_LIBS="$LIBS"
17682 LIBS="$LIBS $DL_LIBS"
17683 for ac_func in dladdr
17684 do :
17685 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17686 if test "x$ac_cv_func_dladdr" = xyes; then :
17687 cat >>confdefs.h <<_ACEOF
17688 #define HAVE_DLADDR 1
17689 _ACEOF
17692 done
17694 LIBS="$ac_wine_check_funcs_save_LIBS"
17696 if test "$ac_cv_func_poll" = no
17697 then
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17699 $as_echo_n "checking for poll in -lpoll... " >&6; }
17700 if ${ac_cv_lib_poll_poll+:} false; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17703 ac_check_lib_save_LIBS=$LIBS
17704 LIBS="-lpoll $LIBS"
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17708 /* Override any GCC internal prototype to avoid an error.
17709 Use char because int might match the return type of a GCC
17710 builtin and then its argument prototype would still apply. */
17711 #ifdef __cplusplus
17712 extern "C"
17713 #endif
17714 char poll ();
17716 main ()
17718 return poll ();
17720 return 0;
17722 _ACEOF
17723 if ac_fn_c_try_link "$LINENO"; then :
17724 ac_cv_lib_poll_poll=yes
17725 else
17726 ac_cv_lib_poll_poll=no
17728 rm -f core conftest.err conftest.$ac_objext \
17729 conftest$ac_exeext conftest.$ac_ext
17730 LIBS=$ac_check_lib_save_LIBS
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17733 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17734 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17735 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17736 POLL_LIBS="-lpoll"
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17743 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17744 if ${ac_cv_search_gethostbyname+:} false; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17747 ac_func_search_save_LIBS=$LIBS
17748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17749 /* end confdefs.h. */
17751 /* Override any GCC internal prototype to avoid an error.
17752 Use char because int might match the return type of a GCC
17753 builtin and then its argument prototype would still apply. */
17754 #ifdef __cplusplus
17755 extern "C"
17756 #endif
17757 char gethostbyname ();
17759 main ()
17761 return gethostbyname ();
17763 return 0;
17765 _ACEOF
17766 for ac_lib in '' nsl; do
17767 if test -z "$ac_lib"; then
17768 ac_res="none required"
17769 else
17770 ac_res=-l$ac_lib
17771 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17773 if ac_fn_c_try_link "$LINENO"; then :
17774 ac_cv_search_gethostbyname=$ac_res
17776 rm -f core conftest.err conftest.$ac_objext \
17777 conftest$ac_exeext
17778 if ${ac_cv_search_gethostbyname+:} false; then :
17779 break
17781 done
17782 if ${ac_cv_search_gethostbyname+:} false; then :
17784 else
17785 ac_cv_search_gethostbyname=no
17787 rm conftest.$ac_ext
17788 LIBS=$ac_func_search_save_LIBS
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17791 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17792 ac_res=$ac_cv_search_gethostbyname
17793 if test "$ac_res" != no; then :
17794 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17800 $as_echo_n "checking for library containing connect... " >&6; }
17801 if ${ac_cv_search_connect+:} false; then :
17802 $as_echo_n "(cached) " >&6
17803 else
17804 ac_func_search_save_LIBS=$LIBS
17805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17806 /* end confdefs.h. */
17808 /* Override any GCC internal prototype to avoid an error.
17809 Use char because int might match the return type of a GCC
17810 builtin and then its argument prototype would still apply. */
17811 #ifdef __cplusplus
17812 extern "C"
17813 #endif
17814 char connect ();
17816 main ()
17818 return connect ();
17820 return 0;
17822 _ACEOF
17823 for ac_lib in '' socket; do
17824 if test -z "$ac_lib"; then
17825 ac_res="none required"
17826 else
17827 ac_res=-l$ac_lib
17828 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17830 if ac_fn_c_try_link "$LINENO"; then :
17831 ac_cv_search_connect=$ac_res
17833 rm -f core conftest.err conftest.$ac_objext \
17834 conftest$ac_exeext
17835 if ${ac_cv_search_connect+:} false; then :
17836 break
17838 done
17839 if ${ac_cv_search_connect+:} false; then :
17841 else
17842 ac_cv_search_connect=no
17844 rm conftest.$ac_ext
17845 LIBS=$ac_func_search_save_LIBS
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17848 $as_echo "$ac_cv_search_connect" >&6; }
17849 ac_res=$ac_cv_search_connect
17850 if test "$ac_res" != no; then :
17851 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17857 $as_echo_n "checking for library containing inet_aton... " >&6; }
17858 if ${ac_cv_search_inet_aton+:} false; then :
17859 $as_echo_n "(cached) " >&6
17860 else
17861 ac_func_search_save_LIBS=$LIBS
17862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17863 /* end confdefs.h. */
17865 /* Override any GCC internal prototype to avoid an error.
17866 Use char because int might match the return type of a GCC
17867 builtin and then its argument prototype would still apply. */
17868 #ifdef __cplusplus
17869 extern "C"
17870 #endif
17871 char inet_aton ();
17873 main ()
17875 return inet_aton ();
17877 return 0;
17879 _ACEOF
17880 for ac_lib in '' resolv; do
17881 if test -z "$ac_lib"; then
17882 ac_res="none required"
17883 else
17884 ac_res=-l$ac_lib
17885 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17887 if ac_fn_c_try_link "$LINENO"; then :
17888 ac_cv_search_inet_aton=$ac_res
17890 rm -f core conftest.err conftest.$ac_objext \
17891 conftest$ac_exeext
17892 if ${ac_cv_search_inet_aton+:} false; then :
17893 break
17895 done
17896 if ${ac_cv_search_inet_aton+:} false; then :
17898 else
17899 ac_cv_search_inet_aton=no
17901 rm conftest.$ac_ext
17902 LIBS=$ac_func_search_save_LIBS
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17905 $as_echo "$ac_cv_search_inet_aton" >&6; }
17906 ac_res=$ac_cv_search_inet_aton
17907 if test "$ac_res" != no; then :
17908 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17913 for ac_func in \
17914 getaddrinfo \
17915 getnameinfo \
17916 getnetbyname \
17917 getprotobyname \
17918 getprotobynumber \
17919 getservbyport \
17920 inet_addr \
17921 inet_network \
17922 inet_ntop \
17923 inet_pton \
17925 do :
17926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17928 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17929 cat >>confdefs.h <<_ACEOF
17930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17931 _ACEOF
17934 done
17937 ac_save_LIBS=$LIBS
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17939 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17940 if ${ac_cv_search_clock_gettime+:} false; then :
17941 $as_echo_n "(cached) " >&6
17942 else
17943 ac_func_search_save_LIBS=$LIBS
17944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17945 /* end confdefs.h. */
17947 /* Override any GCC internal prototype to avoid an error.
17948 Use char because int might match the return type of a GCC
17949 builtin and then its argument prototype would still apply. */
17950 #ifdef __cplusplus
17951 extern "C"
17952 #endif
17953 char clock_gettime ();
17955 main ()
17957 return clock_gettime ();
17959 return 0;
17961 _ACEOF
17962 for ac_lib in '' rt; do
17963 if test -z "$ac_lib"; then
17964 ac_res="none required"
17965 else
17966 ac_res=-l$ac_lib
17967 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17969 if ac_fn_c_try_link "$LINENO"; then :
17970 ac_cv_search_clock_gettime=$ac_res
17972 rm -f core conftest.err conftest.$ac_objext \
17973 conftest$ac_exeext
17974 if ${ac_cv_search_clock_gettime+:} false; then :
17975 break
17977 done
17978 if ${ac_cv_search_clock_gettime+:} false; then :
17980 else
17981 ac_cv_search_clock_gettime=no
17983 rm conftest.$ac_ext
17984 LIBS=$ac_func_search_save_LIBS
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17987 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17988 ac_res=$ac_cv_search_clock_gettime
17989 if test "$ac_res" != no; then :
17990 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17992 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17994 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17998 LIBS=$ac_save_LIBS
18000 if test "x$with_ldap" != "xno"
18001 then
18002 if ${LDAP_CFLAGS:+false} :; then :
18003 if ${PKG_CONFIG+:} false; then :
18004 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18008 if ${LDAP_LIBS:+false} :; then :
18009 if ${PKG_CONFIG+:} false; then :
18010 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18014 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18015 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18016 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18017 ac_save_CPPFLAGS=$CPPFLAGS
18018 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18019 for ac_header in ldap.h lber.h
18020 do :
18021 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18022 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18023 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18024 cat >>confdefs.h <<_ACEOF
18025 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18026 _ACEOF
18030 done
18032 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18033 then
18034 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18036 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18038 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18039 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18040 $as_echo_n "(cached) " >&6
18041 else
18042 ac_check_lib_save_LIBS=$LIBS
18043 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18047 /* Override any GCC internal prototype to avoid an error.
18048 Use char because int might match the return type of a GCC
18049 builtin and then its argument prototype would still apply. */
18050 #ifdef __cplusplus
18051 extern "C"
18052 #endif
18053 char ldap_initialize ();
18055 main ()
18057 return ldap_initialize ();
18059 return 0;
18061 _ACEOF
18062 if ac_fn_c_try_link "$LINENO"; then :
18063 ac_cv_lib_ldap_r_ldap_initialize=yes
18064 else
18065 ac_cv_lib_ldap_r_ldap_initialize=no
18067 rm -f core conftest.err conftest.$ac_objext \
18068 conftest$ac_exeext conftest.$ac_ext
18069 LIBS=$ac_check_lib_save_LIBS
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18072 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18073 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18075 $as_echo_n "checking for ber_init in -llber... " >&6; }
18076 if ${ac_cv_lib_lber_ber_init+:} false; then :
18077 $as_echo_n "(cached) " >&6
18078 else
18079 ac_check_lib_save_LIBS=$LIBS
18080 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18084 /* Override any GCC internal prototype to avoid an error.
18085 Use char because int might match the return type of a GCC
18086 builtin and then its argument prototype would still apply. */
18087 #ifdef __cplusplus
18088 extern "C"
18089 #endif
18090 char ber_init ();
18092 main ()
18094 return ber_init ();
18096 return 0;
18098 _ACEOF
18099 if ac_fn_c_try_link "$LINENO"; then :
18100 ac_cv_lib_lber_ber_init=yes
18101 else
18102 ac_cv_lib_lber_ber_init=no
18104 rm -f core conftest.err conftest.$ac_objext \
18105 conftest$ac_exeext conftest.$ac_ext
18106 LIBS=$ac_check_lib_save_LIBS
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18109 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18110 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18112 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18114 else
18115 LDAP_LIBS=""
18118 else
18119 LDAP_LIBS=""
18122 else
18123 LDAP_LIBS=""
18126 ac_wine_check_funcs_save_LIBS="$LIBS"
18127 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18128 for ac_func in \
18129 ldap_count_references \
18130 ldap_first_reference \
18131 ldap_next_reference \
18132 ldap_parse_reference \
18133 ldap_parse_sort_control \
18134 ldap_parse_sortresponse_control \
18135 ldap_parse_vlv_control \
18136 ldap_parse_vlvresponse_control
18137 do :
18138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18140 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18141 cat >>confdefs.h <<_ACEOF
18142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18143 _ACEOF
18146 done
18148 LIBS="$ac_wine_check_funcs_save_LIBS"
18149 else
18150 LDAP_LIBS=""
18152 CPPFLAGS=$ac_save_CPPFLAGS
18153 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18154 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18157 if test "x$LDAP_LIBS" = "x"; then :
18158 case "x$with_ldap" in
18159 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18160 xno) ;;
18161 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18162 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18163 esac
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18168 $as_echo_n "checking for sched_setaffinity... " >&6; }
18169 if ${wine_cv_have_sched_setaffinity+:} false; then :
18170 $as_echo_n "(cached) " >&6
18171 else
18172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18173 /* end confdefs.h. */
18174 #define _GNU_SOURCE
18175 #include <sched.h>
18177 main ()
18179 sched_setaffinity(0, 0, 0);
18181 return 0;
18183 _ACEOF
18184 if ac_fn_c_try_link "$LINENO"; then :
18185 wine_cv_have_sched_setaffinity=yes
18186 else
18187 wine_cv_have_sched_setaffinity=no
18189 rm -f core conftest.err conftest.$ac_objext \
18190 conftest$ac_exeext conftest.$ac_ext
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18193 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18194 if test "$wine_cv_have_sched_setaffinity" = "yes"
18195 then
18197 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18202 $as_echo_n "checking for fallocate... " >&6; }
18203 if ${wine_cv_have_fallocate+:} false; then :
18204 $as_echo_n "(cached) " >&6
18205 else
18206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18207 /* end confdefs.h. */
18208 #define _GNU_SOURCE
18209 #include <fcntl.h>
18211 main ()
18213 fallocate(-1, 0, 0, 0);
18215 return 0;
18217 _ACEOF
18218 if ac_fn_c_try_link "$LINENO"; then :
18219 wine_cv_have_fallocate=yes
18220 else
18221 wine_cv_have_fallocate=no
18223 rm -f core conftest.err conftest.$ac_objext \
18224 conftest$ac_exeext conftest.$ac_ext
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18227 $as_echo "$wine_cv_have_fallocate" >&6; }
18228 if test "$wine_cv_have_fallocate" = "yes"
18229 then
18231 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18237 $as_echo_n "checking for inline... " >&6; }
18238 if ${ac_cv_c_inline+:} false; then :
18239 $as_echo_n "(cached) " >&6
18240 else
18241 ac_cv_c_inline=no
18242 for ac_kw in inline __inline__ __inline; do
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245 #ifndef __cplusplus
18246 typedef int foo_t;
18247 static $ac_kw foo_t static_foo () {return 0; }
18248 $ac_kw foo_t foo () {return 0; }
18249 #endif
18251 _ACEOF
18252 if ac_fn_c_try_compile "$LINENO"; then :
18253 ac_cv_c_inline=$ac_kw
18255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18256 test "$ac_cv_c_inline" != no && break
18257 done
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18261 $as_echo "$ac_cv_c_inline" >&6; }
18263 case $ac_cv_c_inline in
18264 inline | yes) ;;
18266 case $ac_cv_c_inline in
18267 no) ac_val=;;
18268 *) ac_val=$ac_cv_c_inline;;
18269 esac
18270 cat >>confdefs.h <<_ACEOF
18271 #ifndef __cplusplus
18272 #define inline $ac_val
18273 #endif
18274 _ACEOF
18276 esac
18278 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18279 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18281 cat >>confdefs.h <<_ACEOF
18282 #define HAVE_FSBLKCNT_T 1
18283 _ACEOF
18287 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18288 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18290 cat >>confdefs.h <<_ACEOF
18291 #define HAVE_FSFILCNT_T 1
18292 _ACEOF
18297 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18298 #include <signal.h>
18300 if test "x$ac_cv_type_sigset_t" = xyes; then :
18302 cat >>confdefs.h <<_ACEOF
18303 #define HAVE_SIGSET_T 1
18304 _ACEOF
18309 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18311 if test "x$ac_cv_type_request_sense" = xyes; then :
18313 cat >>confdefs.h <<_ACEOF
18314 #define HAVE_REQUEST_SENSE 1
18315 _ACEOF
18321 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18322 #ifdef HAVE_SYS_SOCKET_H
18323 #include <sys/socket.h>
18324 #endif
18325 #ifdef HAVE_SYS_SOCKETVAR_H
18326 #include <sys/socketvar.h>
18327 #endif
18328 #ifdef HAVE_NET_ROUTE_H
18329 #include <net/route.h>
18330 #endif
18331 #ifdef HAVE_NETINET_IN_H
18332 #include <netinet/in.h>
18333 #endif
18334 #ifdef HAVE_NETINET_IN_SYSTM_H
18335 #include <netinet/in_systm.h>
18336 #endif
18337 #ifdef HAVE_NETINET_IP_H
18338 #include <netinet/ip.h>
18339 #endif
18340 #ifdef HAVE_NETINET_IN_PCB_H
18341 #include <netinet/in_pcb.h>
18342 #endif
18344 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18346 cat >>confdefs.h <<_ACEOF
18347 #define HAVE_STRUCT_XINPGEN 1
18348 _ACEOF
18354 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18355 #include <link.h>
18356 #endif
18357 #ifdef HAVE_SYS_LINK_H
18358 #include <sys/link.h>
18359 #endif
18361 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18363 cat >>confdefs.h <<_ACEOF
18364 #define HAVE_STRUCT_R_DEBUG 1
18365 _ACEOF
18369 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18370 #include <link.h>
18371 #endif
18372 #ifdef HAVE_SYS_LINK_H
18373 #include <sys/link.h>
18374 #endif
18376 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18378 cat >>confdefs.h <<_ACEOF
18379 #define HAVE_STRUCT_LINK_MAP 1
18380 _ACEOF
18386 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18387 #include <linux/input.h>
18388 #endif
18390 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18392 cat >>confdefs.h <<_ACEOF
18393 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18394 _ACEOF
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18401 $as_echo_n "checking for if_nameindex... " >&6; }
18402 if ${wine_cv_have_if_nameindex+:} false; then :
18403 $as_echo_n "(cached) " >&6
18404 else
18405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18407 #ifdef HAVE_SYS_TYPES_H
18408 #include <sys/types.h>
18409 #endif
18410 #ifdef HAVE_SYS_SOCKET_H
18411 #include <sys/socket.h>
18412 #endif
18413 #ifdef HAVE_NET_IF_H
18414 # include <net/if.h>
18415 #endif
18417 main ()
18419 struct if_nameindex *p = if_nameindex(); return p->if_index;
18421 return 0;
18423 _ACEOF
18424 if ac_fn_c_try_link "$LINENO"; then :
18425 wine_cv_have_if_nameindex=yes
18426 else
18427 wine_cv_have_if_nameindex=no
18429 rm -f core conftest.err conftest.$ac_objext \
18430 conftest$ac_exeext conftest.$ac_ext
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18433 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18434 if test "$wine_cv_have_if_nameindex" = "yes"
18435 then
18437 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18442 $as_echo_n "checking for sigaddset... " >&6; }
18443 if ${wine_cv_have_sigaddset+:} false; then :
18444 $as_echo_n "(cached) " >&6
18445 else
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18448 #include <signal.h>
18450 main ()
18452 sigset_t set; sigaddset(&set,SIGTERM);
18454 return 0;
18456 _ACEOF
18457 if ac_fn_c_try_link "$LINENO"; then :
18458 wine_cv_have_sigaddset=yes
18459 else
18460 wine_cv_have_sigaddset=no
18462 rm -f core conftest.err conftest.$ac_objext \
18463 conftest$ac_exeext conftest.$ac_ext
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18466 $as_echo "$wine_cv_have_sigaddset" >&6; }
18467 if test "$wine_cv_have_sigaddset" = "yes"
18468 then
18470 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18476 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18477 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18478 $as_echo_n "(cached) " >&6
18479 else
18480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18481 /* end confdefs.h. */
18482 #include <netdb.h>
18484 main ()
18487 char *name=0;
18488 struct hostent he;
18489 struct hostent *result;
18490 char *buf=0;
18491 int bufsize=0;
18492 int errnr;
18493 char *addr=0;
18494 int addrlen=0;
18495 int addrtype=0;
18496 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18497 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18500 return 0;
18502 _ACEOF
18503 if ac_fn_c_try_link "$LINENO"; then :
18504 wine_cv_linux_gethostbyname_r_6=yes
18505 else
18506 wine_cv_linux_gethostbyname_r_6=no
18509 rm -f core conftest.err conftest.$ac_objext \
18510 conftest$ac_exeext conftest.$ac_ext
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18514 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18515 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18516 then
18518 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18522 if test "$ac_cv_header_linux_joystick_h" = "yes"
18523 then
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18525 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18526 if ${wine_cv_linux_joystick_22_api+:} false; then :
18527 $as_echo_n "(cached) " >&6
18528 else
18529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18532 #include <sys/ioctl.h>
18533 #include <sys/types.h>
18534 #include <linux/joystick.h>
18536 struct js_event blub;
18537 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18538 #error "no 2.2 header"
18539 #endif
18542 main ()
18544 /*empty*/
18546 return 0;
18548 _ACEOF
18549 if ac_fn_c_try_compile "$LINENO"; then :
18550 wine_cv_linux_joystick_22_api=yes
18551 else
18552 wine_cv_linux_joystick_22_api=no
18554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18558 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18559 if test "$wine_cv_linux_joystick_22_api" = "yes"
18560 then
18562 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18568 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18569 #ifdef HAVE_SYS_PARAM_H
18570 # include <sys/param.h>
18571 #endif
18572 #ifdef HAVE_SYS_MOUNT_H
18573 # include <sys/mount.h>
18574 #endif
18575 #ifdef HAVE_SYS_VFS_H
18576 # include <sys/vfs.h>
18577 #endif
18578 #ifdef HAVE_SYS_STATFS_H
18579 # include <sys/statfs.h>
18580 #endif
18582 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18584 cat >>confdefs.h <<_ACEOF
18585 #define HAVE_STRUCT_STATFS_F_BFREE 1
18586 _ACEOF
18590 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18591 #ifdef HAVE_SYS_PARAM_H
18592 # include <sys/param.h>
18593 #endif
18594 #ifdef HAVE_SYS_MOUNT_H
18595 # include <sys/mount.h>
18596 #endif
18597 #ifdef HAVE_SYS_VFS_H
18598 # include <sys/vfs.h>
18599 #endif
18600 #ifdef HAVE_SYS_STATFS_H
18601 # include <sys/statfs.h>
18602 #endif
18604 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18606 cat >>confdefs.h <<_ACEOF
18607 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18608 _ACEOF
18612 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18613 #ifdef HAVE_SYS_PARAM_H
18614 # include <sys/param.h>
18615 #endif
18616 #ifdef HAVE_SYS_MOUNT_H
18617 # include <sys/mount.h>
18618 #endif
18619 #ifdef HAVE_SYS_VFS_H
18620 # include <sys/vfs.h>
18621 #endif
18622 #ifdef HAVE_SYS_STATFS_H
18623 # include <sys/statfs.h>
18624 #endif
18626 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18628 cat >>confdefs.h <<_ACEOF
18629 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18630 _ACEOF
18634 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18635 #ifdef HAVE_SYS_PARAM_H
18636 # include <sys/param.h>
18637 #endif
18638 #ifdef HAVE_SYS_MOUNT_H
18639 # include <sys/mount.h>
18640 #endif
18641 #ifdef HAVE_SYS_VFS_H
18642 # include <sys/vfs.h>
18643 #endif
18644 #ifdef HAVE_SYS_STATFS_H
18645 # include <sys/statfs.h>
18646 #endif
18648 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18650 cat >>confdefs.h <<_ACEOF
18651 #define HAVE_STRUCT_STATFS_F_FFREE 1
18652 _ACEOF
18656 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18657 #ifdef HAVE_SYS_PARAM_H
18658 # include <sys/param.h>
18659 #endif
18660 #ifdef HAVE_SYS_MOUNT_H
18661 # include <sys/mount.h>
18662 #endif
18663 #ifdef HAVE_SYS_VFS_H
18664 # include <sys/vfs.h>
18665 #endif
18666 #ifdef HAVE_SYS_STATFS_H
18667 # include <sys/statfs.h>
18668 #endif
18670 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18672 cat >>confdefs.h <<_ACEOF
18673 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18674 _ACEOF
18678 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18679 #ifdef HAVE_SYS_PARAM_H
18680 # include <sys/param.h>
18681 #endif
18682 #ifdef HAVE_SYS_MOUNT_H
18683 # include <sys/mount.h>
18684 #endif
18685 #ifdef HAVE_SYS_VFS_H
18686 # include <sys/vfs.h>
18687 #endif
18688 #ifdef HAVE_SYS_STATFS_H
18689 # include <sys/statfs.h>
18690 #endif
18692 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18694 cat >>confdefs.h <<_ACEOF
18695 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18696 _ACEOF
18702 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18703 #include <sys/statvfs.h>
18704 #endif
18706 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18708 cat >>confdefs.h <<_ACEOF
18709 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18710 _ACEOF
18716 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18717 #include <dirent.h>
18718 #endif
18720 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18722 cat >>confdefs.h <<_ACEOF
18723 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18724 _ACEOF
18730 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18731 #ifdef HAVE_SYS_SOCKET_H
18732 # include <sys/socket.h>
18733 #endif
18734 #ifdef HAVE_SYS_UN_H
18735 # include <sys/un.h>
18736 #endif
18738 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18740 cat >>confdefs.h <<_ACEOF
18741 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18742 _ACEOF
18746 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18747 #ifdef HAVE_SYS_SOCKET_H
18748 # include <sys/socket.h>
18749 #endif
18750 #ifdef HAVE_SYS_UN_H
18751 # include <sys/un.h>
18752 #endif
18754 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18756 cat >>confdefs.h <<_ACEOF
18757 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18758 _ACEOF
18762 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18763 #ifdef HAVE_SYS_SOCKET_H
18764 # include <sys/socket.h>
18765 #endif
18766 #ifdef HAVE_SYS_UN_H
18767 # include <sys/un.h>
18768 #endif
18770 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18772 cat >>confdefs.h <<_ACEOF
18773 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18774 _ACEOF
18780 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18781 #ifdef HAVE_SCSI_SG_H
18782 #include <scsi/sg.h>
18783 #endif
18785 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18787 cat >>confdefs.h <<_ACEOF
18788 #define HAVE_SCSIREQ_T_CMD 1
18789 _ACEOF
18793 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>
18794 #ifdef HAVE_SCSI_SG_H
18795 #include <scsi/sg.h>
18796 #endif
18798 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18800 cat >>confdefs.h <<_ACEOF
18801 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18802 _ACEOF
18808 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18810 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18812 cat >>confdefs.h <<_ACEOF
18813 #define HAVE_SIGINFO_T_SI_FD 1
18814 _ACEOF
18820 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18821 #ifdef HAVE_SYS_MTIO_H
18822 #include <sys/mtio.h>
18823 #endif
18825 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18827 cat >>confdefs.h <<_ACEOF
18828 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18829 _ACEOF
18833 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18834 #ifdef HAVE_SYS_MTIO_H
18835 #include <sys/mtio.h>
18836 #endif
18838 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18840 cat >>confdefs.h <<_ACEOF
18841 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18842 _ACEOF
18846 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18847 #ifdef HAVE_SYS_MTIO_H
18848 #include <sys/mtio.h>
18849 #endif
18851 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18853 cat >>confdefs.h <<_ACEOF
18854 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18855 _ACEOF
18861 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18862 #include <getopt.h>
18863 #endif
18865 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18867 cat >>confdefs.h <<_ACEOF
18868 #define HAVE_STRUCT_OPTION_NAME 1
18869 _ACEOF
18875 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18876 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18878 cat >>confdefs.h <<_ACEOF
18879 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18880 _ACEOF
18884 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18885 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18887 cat >>confdefs.h <<_ACEOF
18888 #define HAVE_STRUCT_STAT_ST_MTIM 1
18889 _ACEOF
18893 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18894 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18896 cat >>confdefs.h <<_ACEOF
18897 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18898 _ACEOF
18902 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18903 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18905 cat >>confdefs.h <<_ACEOF
18906 #define HAVE_STRUCT_STAT_ST_CTIM 1
18907 _ACEOF
18911 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18912 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18914 cat >>confdefs.h <<_ACEOF
18915 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18916 _ACEOF
18920 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18921 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18923 cat >>confdefs.h <<_ACEOF
18924 #define HAVE_STRUCT_STAT_ST_ATIM 1
18925 _ACEOF
18929 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18930 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18932 cat >>confdefs.h <<_ACEOF
18933 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18934 _ACEOF
18938 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18939 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18941 cat >>confdefs.h <<_ACEOF
18942 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18943 _ACEOF
18947 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18948 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18950 cat >>confdefs.h <<_ACEOF
18951 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18952 _ACEOF
18956 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18957 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18959 cat >>confdefs.h <<_ACEOF
18960 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18961 _ACEOF
18965 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18966 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18968 cat >>confdefs.h <<_ACEOF
18969 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18970 _ACEOF
18974 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18975 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18977 cat >>confdefs.h <<_ACEOF
18978 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18979 _ACEOF
18985 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
18986 #include <sys/types.h>
18987 #endif
18988 #ifdef HAVE_NETINET_IN_H
18989 #include <netinet/in.h>
18990 #endif
18992 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18994 cat >>confdefs.h <<_ACEOF
18995 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18996 _ACEOF
19002 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19003 #include <sys/types.h>
19004 #endif
19005 #ifdef HAVE_NETINET_IN_H
19006 #include <netinet/in.h>
19007 #endif
19008 #ifdef HAVE_RESOLV_H
19009 #include <resolv.h>
19010 #endif
19012 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19014 cat >>confdefs.h <<_ACEOF
19015 #define HAVE_STRUCT___RES_STATE 1
19016 _ACEOF
19022 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
19023 #include <resolv.h>
19024 #endif
19026 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19028 cat >>confdefs.h <<_ACEOF
19029 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19030 _ACEOF
19036 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19037 #include <sys/types.h>
19038 #endif
19039 #ifdef HAVE_NETINET_IN_H
19040 # include <netinet/in.h>
19041 #endif
19042 #ifdef HAVE_ARPA_NAMESER_H
19043 # include <arpa/nameser.h>
19044 #endif
19046 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19048 cat >>confdefs.h <<_ACEOF
19049 #define HAVE_NS_MSG__MSG_PTR 1
19050 _ACEOF
19056 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19057 #include <sys/types.h>
19058 #endif
19059 #ifdef HAVE_NETINET_IN_H
19060 #include <netinet/in.h>
19061 #endif
19062 #ifdef HAVE_NETINET_IP_H
19063 #include <netinet/ip.h>
19064 #endif
19065 #ifdef HAVE_NETINET_IP_ICMP_H
19066 #include <netinet/ip_icmp.h>
19067 #endif
19068 #ifdef HAVE_NETINET_ICMP_VAR_H
19069 #include <netinet/icmp_var.h>
19070 #endif
19072 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19074 cat >>confdefs.h <<_ACEOF
19075 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19076 _ACEOF
19082 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19083 #include <sys/types.h>
19084 #endif
19085 #ifdef HAVE_ALIAS_H
19086 #include <alias.h>
19087 #endif
19088 #ifdef HAVE_SYS_SOCKET_H
19089 #include <sys/socket.h>
19090 #endif
19091 #ifdef HAVE_SYS_SOCKETVAR_H
19092 #include <sys/socketvar.h>
19093 #endif
19094 #ifdef HAVE_SYS_TIMEOUT_H
19095 #include <sys/timeout.h>
19096 #endif
19097 #ifdef HAVE_NETINET_IN_H
19098 #include <netinet/in.h>
19099 #endif
19100 #ifdef HAVE_NETINET_IN_SYSTM_H
19101 #include <netinet/in_systm.h>
19102 #endif
19103 #ifdef HAVE_NETINET_IP_H
19104 #include <netinet/ip.h>
19105 #endif
19106 #ifdef HAVE_NETINET_IP_VAR_H
19107 #include <netinet/ip_var.h>
19108 #endif
19109 #ifdef HAVE_NETINET_IP_ICMP_H
19110 #include <netinet/ip_icmp.h>
19111 #endif
19112 #ifdef HAVE_NETINET_ICMP_VAR_H
19113 #include <netinet/icmp_var.h>
19114 #endif
19116 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19120 _ACEOF
19126 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19127 #include <sys/types.h>
19128 #endif
19129 #ifdef HAVE_SYS_SOCKETVAR_H
19130 #include <sys/socketvar.h>
19131 #endif
19132 #ifdef HAVE_NETINET_IN_H
19133 #include <netinet/in.h>
19134 #endif
19135 #ifdef HAVE_NETINET_IP_VAR_H
19136 #include <netinet/ip_var.h>
19137 #endif
19139 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19141 cat >>confdefs.h <<_ACEOF
19142 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19143 _ACEOF
19149 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
19150 #include <netinet/ip_var.h>
19151 #endif
19153 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19157 _ACEOF
19163 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19164 #include <sys/types.h>
19165 #endif
19166 #ifdef HAVE_SYS_SOCKETVAR_H
19167 #include <sys/socketvar.h>
19168 #endif
19169 #ifdef HAVE_NETINET_IN_H
19170 #include <netinet/in.h>
19171 #endif
19172 #ifdef HAVE_NETINET_TCP_H
19173 #include <netinet/tcp.h>
19174 #endif
19175 #ifdef HAVE_NETINET_TCP_VAR_H
19176 #include <netinet/tcp_var.h>
19177 #endif
19179 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19183 _ACEOF
19189 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
19190 #include <netinet/tcp_var.h>
19191 #endif
19193 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19195 cat >>confdefs.h <<_ACEOF
19196 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19197 _ACEOF
19203 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19204 #include <sys/types.h>
19205 #endif
19206 #ifdef HAVE_NETINET_IN_H
19207 #include <netinet/in.h>
19208 #endif
19209 #ifdef HAVE_NETINET_IP_VAR_H
19210 #include <netinet/ip_var.h>
19211 #endif
19212 #ifdef HAVE_NETINET_UDP_H
19213 #include <netinet/udp.h>
19214 #endif
19215 #ifdef HAVE_NETINET_UDP_VAR_H
19216 #include <netinet/udp_var.h>
19217 #endif
19219 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19221 cat >>confdefs.h <<_ACEOF
19222 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19223 _ACEOF
19229 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19230 #include <sys/types.h>
19231 #endif
19232 #ifdef HAVE_NET_IF_H
19233 # include <net/if.h>
19234 #endif
19236 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19240 _ACEOF
19246 ac_save_LIBS="$LIBS"
19247 LIBS="$LIBS -lm"
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19249 $as_echo_n "checking for isfinite... " >&6; }
19250 if ${ac_cv_have_isfinite+:} false; then :
19251 $as_echo_n "(cached) " >&6
19252 else
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h. */
19255 #define _GNU_SOURCE
19256 #include <math.h>
19258 main ()
19260 float f = 0.0; return isfinite(f)
19262 return 0;
19264 _ACEOF
19265 if ac_fn_c_try_link "$LINENO"; then :
19266 ac_cv_have_isfinite="yes"
19267 else
19268 ac_cv_have_isfinite="no"
19270 rm -f core conftest.err conftest.$ac_objext \
19271 conftest$ac_exeext conftest.$ac_ext
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19274 $as_echo "$ac_cv_have_isfinite" >&6; }
19275 if test "$ac_cv_have_isfinite" = "yes"
19276 then
19278 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19283 $as_echo_n "checking for isinf... " >&6; }
19284 if ${ac_cv_have_isinf+:} false; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19289 #include <math.h>
19291 main ()
19293 float f = 0.0; return isinf(f)
19295 return 0;
19297 _ACEOF
19298 if ac_fn_c_try_link "$LINENO"; then :
19299 ac_cv_have_isinf="yes"
19300 else
19301 ac_cv_have_isinf="no"
19303 rm -f core conftest.err conftest.$ac_objext \
19304 conftest$ac_exeext conftest.$ac_ext
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19307 $as_echo "$ac_cv_have_isinf" >&6; }
19308 if test "$ac_cv_have_isinf" = "yes"
19309 then
19311 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19316 $as_echo_n "checking for isnan... " >&6; }
19317 if ${ac_cv_have_isnan+:} false; then :
19318 $as_echo_n "(cached) " >&6
19319 else
19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h. */
19322 #include <math.h>
19324 main ()
19326 float f = 0.0; return isnan(f)
19328 return 0;
19330 _ACEOF
19331 if ac_fn_c_try_link "$LINENO"; then :
19332 ac_cv_have_isnan="yes"
19333 else
19334 ac_cv_have_isnan="no"
19336 rm -f core conftest.err conftest.$ac_objext \
19337 conftest$ac_exeext conftest.$ac_ext
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19340 $as_echo "$ac_cv_have_isnan" >&6; }
19341 if test "$ac_cv_have_isnan" = "yes"
19342 then
19344 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19348 for ac_func in \
19349 acosh \
19350 acoshf \
19351 asinh \
19352 asinhf \
19353 atanh \
19354 atanhf \
19355 cbrt \
19356 cbrtf \
19357 erf \
19358 erfc \
19359 erfcf \
19360 erff \
19361 exp2 \
19362 exp2f \
19363 expm1 \
19364 expm1f \
19365 ilogb \
19366 ilogbf \
19367 j0 \
19368 j1 \
19369 jn \
19370 lgamma \
19371 lgammaf \
19372 llrint \
19373 llrintf \
19374 llround \
19375 llroundf \
19376 log1p \
19377 log1pf \
19378 log2 \
19379 log2f \
19380 lrint \
19381 lrintf \
19382 lround \
19383 lroundf \
19384 nearbyint \
19385 nearbyintf \
19386 nexttoward \
19387 nexttowardf \
19388 powl \
19389 remainder \
19390 remainderf \
19391 remquo \
19392 remquof \
19393 rint \
19394 rintf \
19395 round \
19396 roundf \
19397 trunc \
19398 truncf \
19399 y0 \
19400 y1 \
19403 do :
19404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19406 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19407 cat >>confdefs.h <<_ACEOF
19408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19409 _ACEOF
19412 done
19414 LIBS="$ac_save_LIBS"
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19417 $as_echo_n "checking for __builtin_clz... " >&6; }
19418 if ${ac_cv_have___builtin_clz+:} false; then :
19419 $as_echo_n "(cached) " >&6
19420 else
19421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19422 /* end confdefs.h. */
19425 main ()
19427 return __builtin_clz(1)
19429 return 0;
19431 _ACEOF
19432 if ac_fn_c_try_link "$LINENO"; then :
19433 ac_cv_have___builtin_clz="yes"
19434 else
19435 ac_cv_have___builtin_clz="no"
19437 rm -f core conftest.err conftest.$ac_objext \
19438 conftest$ac_exeext conftest.$ac_ext
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19441 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19442 if test "$ac_cv_have___builtin_clz" = "yes"
19443 then
19445 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19450 $as_echo_n "checking for __builtin_popcount... " >&6; }
19451 if ${ac_cv_have___builtin_popcount+:} false; then :
19452 $as_echo_n "(cached) " >&6
19453 else
19454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19455 /* end confdefs.h. */
19458 main ()
19460 return __builtin_popcount(1)
19462 return 0;
19464 _ACEOF
19465 if ac_fn_c_try_link "$LINENO"; then :
19466 ac_cv_have___builtin_popcount="yes"
19467 else
19468 ac_cv_have___builtin_popcount="no"
19470 rm -f core conftest.err conftest.$ac_objext \
19471 conftest$ac_exeext conftest.$ac_ext
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19474 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19475 if test "$ac_cv_have___builtin_popcount" = "yes"
19476 then
19478 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19483 $as_echo_n "checking for __clear_cache... " >&6; }
19484 if ${ac_cv_have___clear_cache+:} false; then :
19485 $as_echo_n "(cached) " >&6
19486 else
19487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19488 /* end confdefs.h. */
19491 main ()
19493 __clear_cache((void*)0, (void*)0); return 0;
19495 return 0;
19497 _ACEOF
19498 if ac_fn_c_try_link "$LINENO"; then :
19499 ac_cv_have___clear_cache="yes"
19500 else
19501 ac_cv_have___clear_cache="no"
19503 rm -f core conftest.err conftest.$ac_objext \
19504 conftest$ac_exeext conftest.$ac_ext
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19507 $as_echo "$ac_cv_have___clear_cache" >&6; }
19508 if test "$ac_cv_have___clear_cache" = "yes"
19509 then
19511 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19516 case $host_cpu in
19517 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19518 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19519 if ${ac_cv_cpp_def___i386__+:} false; then :
19520 $as_echo_n "(cached) " >&6
19521 else
19522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19523 /* end confdefs.h. */
19524 #ifndef __i386__
19526 #endif
19527 _ACEOF
19528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19529 $EGREP "yes" >/dev/null 2>&1; then :
19530 ac_cv_cpp_def___i386__=yes
19531 else
19532 ac_cv_cpp_def___i386__=no
19534 rm -f conftest*
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19538 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19539 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19540 CFLAGS="$CFLAGS -D__i386__"
19541 LINTFLAGS="$LINTFLAGS -D__i386__"
19542 fi ;;
19543 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19544 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19545 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19546 $as_echo_n "(cached) " >&6
19547 else
19548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19549 /* end confdefs.h. */
19550 #ifndef __x86_64__
19552 #endif
19553 _ACEOF
19554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19555 $EGREP "yes" >/dev/null 2>&1; then :
19556 ac_cv_cpp_def___x86_64__=yes
19557 else
19558 ac_cv_cpp_def___x86_64__=no
19560 rm -f conftest*
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19564 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19565 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19566 CFLAGS="$CFLAGS -D__x86_64__"
19567 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19568 fi ;;
19569 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19570 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19571 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19572 $as_echo_n "(cached) " >&6
19573 else
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19576 #ifndef __sparc64__
19578 #endif
19579 _ACEOF
19580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19581 $EGREP "yes" >/dev/null 2>&1; then :
19582 ac_cv_cpp_def___sparc64__=yes
19583 else
19584 ac_cv_cpp_def___sparc64__=no
19586 rm -f conftest*
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19590 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19591 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19592 CFLAGS="$CFLAGS -D__sparc64__"
19593 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19594 fi ;;
19595 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19596 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19597 if ${ac_cv_cpp_def___sparc__+:} false; then :
19598 $as_echo_n "(cached) " >&6
19599 else
19600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19601 /* end confdefs.h. */
19602 #ifndef __sparc__
19604 #endif
19605 _ACEOF
19606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19607 $EGREP "yes" >/dev/null 2>&1; then :
19608 ac_cv_cpp_def___sparc__=yes
19609 else
19610 ac_cv_cpp_def___sparc__=no
19612 rm -f conftest*
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19616 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19617 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19618 CFLAGS="$CFLAGS -D__sparc__"
19619 LINTFLAGS="$LINTFLAGS -D__sparc__"
19620 fi ;;
19621 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19622 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19623 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19624 $as_echo_n "(cached) " >&6
19625 else
19626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19627 /* end confdefs.h. */
19628 #ifndef __powerpc64__
19630 #endif
19631 _ACEOF
19632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19633 $EGREP "yes" >/dev/null 2>&1; then :
19634 ac_cv_cpp_def___powerpc64__=yes
19635 else
19636 ac_cv_cpp_def___powerpc64__=no
19638 rm -f conftest*
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19642 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19643 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19644 CFLAGS="$CFLAGS -D__powerpc64__"
19645 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19646 fi ;;
19647 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19648 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19649 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19650 $as_echo_n "(cached) " >&6
19651 else
19652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19653 /* end confdefs.h. */
19654 #ifndef __powerpc__
19656 #endif
19657 _ACEOF
19658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19659 $EGREP "yes" >/dev/null 2>&1; then :
19660 ac_cv_cpp_def___powerpc__=yes
19661 else
19662 ac_cv_cpp_def___powerpc__=no
19664 rm -f conftest*
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19668 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19669 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19670 CFLAGS="$CFLAGS -D__powerpc__"
19671 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19672 fi ;;
19673 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19674 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19675 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19676 $as_echo_n "(cached) " >&6
19677 else
19678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h. */
19680 #ifndef __aarch64__
19682 #endif
19683 _ACEOF
19684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19685 $EGREP "yes" >/dev/null 2>&1; then :
19686 ac_cv_cpp_def___aarch64__=yes
19687 else
19688 ac_cv_cpp_def___aarch64__=no
19690 rm -f conftest*
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19694 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19695 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19696 CFLAGS="$CFLAGS -D__aarch64__"
19697 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19698 fi ;;
19699 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19700 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19701 if ${ac_cv_cpp_def___arm__+:} false; then :
19702 $as_echo_n "(cached) " >&6
19703 else
19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h. */
19706 #ifndef __arm__
19708 #endif
19709 _ACEOF
19710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19711 $EGREP "yes" >/dev/null 2>&1; then :
19712 ac_cv_cpp_def___arm__=yes
19713 else
19714 ac_cv_cpp_def___arm__=no
19716 rm -f conftest*
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19720 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19721 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19722 CFLAGS="$CFLAGS -D__arm__"
19723 LINTFLAGS="$LINTFLAGS -D__arm__"
19724 fi ;;
19725 esac
19727 case $host_vendor in
19728 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19729 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19730 if ${ac_cv_cpp_def___sun__+:} false; then :
19731 $as_echo_n "(cached) " >&6
19732 else
19733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19734 /* end confdefs.h. */
19735 #ifndef __sun__
19737 #endif
19738 _ACEOF
19739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19740 $EGREP "yes" >/dev/null 2>&1; then :
19741 ac_cv_cpp_def___sun__=yes
19742 else
19743 ac_cv_cpp_def___sun__=no
19745 rm -f conftest*
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19749 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19750 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19751 CFLAGS="$CFLAGS -D__sun__"
19752 LINTFLAGS="$LINTFLAGS -D__sun__"
19753 fi ;;
19754 esac
19760 ac_config_commands="$ac_config_commands include/stamp-h"
19762 $as_echo_n "creating Makefile rules..." >&6
19764 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19765 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19766 IOKIT_LIBS = $IOKIT_LIBS
19767 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19768 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19769 CORESERVICES_LIBS = $CORESERVICES_LIBS
19770 APPKIT_LIBS = $APPKIT_LIBS
19771 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19772 SECURITY_LIBS = $SECURITY_LIBS
19773 COREAUDIO_LIBS = $COREAUDIO_LIBS
19774 OPENAL_LIBS = $OPENAL_LIBS
19775 OPENCL_LIBS = $OPENCL_LIBS
19776 QUICKTIME_LIBS = $QUICKTIME_LIBS
19777 CARBON_LIBS = $CARBON_LIBS
19778 METAL_LIBS = $METAL_LIBS
19779 PTHREAD_LIBS = $PTHREAD_LIBS
19780 X_CFLAGS = $X_CFLAGS
19781 X_PRE_LIBS = $X_PRE_LIBS
19782 X_LIBS = $X_LIBS
19783 X_EXTRA_LIBS = $X_EXTRA_LIBS
19784 PCAP_LIBS = $PCAP_LIBS
19785 XML2_CFLAGS = $XML2_CFLAGS
19786 XML2_LIBS = $XML2_LIBS
19787 XSLT_CFLAGS = $XSLT_CFLAGS
19788 XSLT_LIBS = $XSLT_LIBS
19789 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19790 INOTIFY_LIBS = $INOTIFY_LIBS
19791 DBUS_CFLAGS = $DBUS_CFLAGS
19792 DBUS_LIBS = $DBUS_LIBS
19793 HAL_CFLAGS = $HAL_CFLAGS
19794 HAL_LIBS = $HAL_LIBS
19795 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19796 GNUTLS_LIBS = $GNUTLS_LIBS
19797 SANE_CFLAGS = $SANE_CFLAGS
19798 SANE_LIBS = $SANE_LIBS
19799 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19800 GPHOTO2_LIBS = $GPHOTO2_LIBS
19801 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19802 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19803 RESOLV_LIBS = $RESOLV_LIBS
19804 LCMS2_CFLAGS = $LCMS2_CFLAGS
19805 LCMS2_LIBS = $LCMS2_LIBS
19806 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19807 FREETYPE_LIBS = $FREETYPE_LIBS
19808 Z_LIBS = $Z_LIBS
19809 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19810 PULSE_CFLAGS = $PULSE_CFLAGS
19811 PULSE_LIBS = $PULSE_LIBS
19812 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19813 GSTREAMER_LIBS = $GSTREAMER_LIBS
19814 ALSA_LIBS = $ALSA_LIBS
19815 OSS4_CFLAGS = $OSS4_CFLAGS
19816 UDEV_CFLAGS = $UDEV_CFLAGS
19817 UDEV_LIBS = $UDEV_LIBS
19818 SDL2_CFLAGS = $SDL2_CFLAGS
19819 SDL2_LIBS = $SDL2_LIBS
19820 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19821 FAUDIO_LIBS = $FAUDIO_LIBS
19822 CAPI20_CFLAGS = $CAPI20_CFLAGS
19823 CAPI20_LIBS = $CAPI20_LIBS
19824 CUPS_CFLAGS = $CUPS_CFLAGS
19825 CUPS_LIBS = $CUPS_LIBS
19826 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19827 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19828 KRB5_CFLAGS = $KRB5_CFLAGS
19829 KRB5_LIBS = $KRB5_LIBS
19830 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19831 GSSAPI_LIBS = $GSSAPI_LIBS
19832 JPEG_CFLAGS = $JPEG_CFLAGS
19833 JPEG_LIBS = $JPEG_LIBS
19834 PNG_CFLAGS = $PNG_CFLAGS
19835 PNG_LIBS = $PNG_LIBS
19836 TIFF_CFLAGS = $TIFF_CFLAGS
19837 TIFF_LIBS = $TIFF_LIBS
19838 MPG123_CFLAGS = $MPG123_CFLAGS
19839 MPG123_LIBS = $MPG123_LIBS
19840 KSTAT_LIBS = $KSTAT_LIBS
19841 PROCSTAT_LIBS = $PROCSTAT_LIBS
19842 NETAPI_CFLAGS = $NETAPI_CFLAGS
19843 NETAPI_LIBS = $NETAPI_LIBS
19844 VKD3D_CFLAGS = $VKD3D_CFLAGS
19845 VKD3D_LIBS = $VKD3D_LIBS
19846 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19847 DL_LIBS = $DL_LIBS
19848 POLL_LIBS = $POLL_LIBS
19849 RT_LIBS = $RT_LIBS
19850 LDAP_CFLAGS = $LDAP_CFLAGS
19851 LDAP_LIBS = $LDAP_LIBS
19856 wine_fn_append_rule "
19857 # Rules automatically generated by configure
19859 .INIT: Makefile
19860 .MAKEFILEDEPS:
19861 all: Makefile
19862 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19863 @./config.status Make.tmp Makefile
19864 depend: \$(MAKEDEP) dummy
19865 \$(MAKEDEP)"
19867 if test "x$enable_fonts" != xno; then
19868 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19869 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19870 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19871 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19872 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19873 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19875 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19876 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19877 ac_config_links="$ac_config_links wine:tools/winewrapper"
19878 wine_fn_config_symlink wine
19879 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19880 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19881 wine_fn_config_symlink wine64
19884 wine_fn_config_makefile dlls/acledit enable_acledit
19885 wine_fn_config_makefile dlls/aclui enable_aclui
19886 wine_fn_config_makefile dlls/activeds enable_activeds
19887 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19888 wine_fn_config_makefile dlls/adsiid enable_adsiid
19889 wine_fn_config_makefile dlls/adsldp enable_adsldp
19890 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19891 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19892 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19893 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19894 wine_fn_config_makefile dlls/advpack enable_advpack
19895 wine_fn_config_makefile dlls/advpack/tests enable_tests
19896 wine_fn_config_makefile dlls/amsi enable_amsi
19897 wine_fn_config_makefile dlls/amstream enable_amstream
19898 wine_fn_config_makefile dlls/amstream/tests enable_tests
19899 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19900 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19901 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19902 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19903 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19904 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19906 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19907 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19908 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19909 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19911 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19912 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19913 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19916 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19917 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19918 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19919 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19920 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19921 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19922 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19923 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19924 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19925 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19926 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19927 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19928 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19929 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19930 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19931 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19932 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19933 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19934 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19937 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19941 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19942 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19943 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19945 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19947 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19948 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19950 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19951 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19952 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19953 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19954 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19955 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19956 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19957 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19960 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19961 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19965 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19966 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19973 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19975 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19976 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19977 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19978 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19979 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19994 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20001 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20005 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20008 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20018 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20023 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20024 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20029 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20031 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20050 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20051 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20070 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20081 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20085 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20087 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20089 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20090 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20095 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20103 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20106 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20108 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20110 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20114 wine_fn_config_makefile dlls/apphelp enable_apphelp
20115 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20116 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20117 wine_fn_config_makefile dlls/atl enable_atl
20118 wine_fn_config_makefile dlls/atl/tests enable_tests
20119 wine_fn_config_makefile dlls/atl100 enable_atl100
20120 wine_fn_config_makefile dlls/atl100/tests enable_tests
20121 wine_fn_config_makefile dlls/atl110 enable_atl110
20122 wine_fn_config_makefile dlls/atl80 enable_atl80
20123 wine_fn_config_makefile dlls/atl80/tests enable_tests
20124 wine_fn_config_makefile dlls/atl90 enable_atl90
20125 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20126 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20127 wine_fn_config_makefile dlls/atmlib enable_atmlib
20128 wine_fn_config_makefile dlls/authz enable_authz
20129 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20130 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20131 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20132 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20133 wine_fn_config_makefile dlls/avrt enable_avrt
20134 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20135 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20136 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20137 wine_fn_config_makefile dlls/browseui enable_browseui
20138 wine_fn_config_makefile dlls/browseui/tests enable_tests
20139 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20140 wine_fn_config_makefile dlls/cabinet enable_cabinet
20141 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20142 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20143 wine_fn_config_makefile dlls/cards enable_cards
20144 wine_fn_config_makefile dlls/cdosys enable_cdosys
20145 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20146 wine_fn_config_makefile dlls/clusapi enable_clusapi
20147 wine_fn_config_makefile dlls/combase enable_combase
20148 wine_fn_config_makefile dlls/combase/tests enable_tests
20149 wine_fn_config_makefile dlls/comcat enable_comcat
20150 wine_fn_config_makefile dlls/comcat/tests enable_tests
20151 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20152 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20153 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20154 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20155 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20156 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20157 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20158 wine_fn_config_makefile dlls/compstui enable_compstui
20159 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20160 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20161 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20162 wine_fn_config_makefile dlls/connect enable_connect
20163 wine_fn_config_makefile dlls/credui enable_credui
20164 wine_fn_config_makefile dlls/credui/tests enable_tests
20165 wine_fn_config_makefile dlls/crtdll enable_crtdll
20166 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20167 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20168 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20169 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20170 wine_fn_config_makefile dlls/cryptext enable_cryptext
20171 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20172 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20173 wine_fn_config_makefile dlls/cryptui enable_cryptui
20174 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20175 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20176 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20177 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20178 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20179 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20180 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20181 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20182 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20183 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20184 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20185 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20186 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20187 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20188 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20189 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20190 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20191 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20192 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20193 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20194 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20195 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20196 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20197 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20198 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20199 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20200 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20201 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20202 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20203 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20204 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20205 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20206 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20207 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20208 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20209 wine_fn_config_makefile dlls/d3dim enable_d3dim
20210 wine_fn_config_makefile dlls/d3drm enable_d3drm
20211 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20212 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20213 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20214 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20215 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20216 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20217 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20218 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20219 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20220 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20221 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20222 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20223 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20224 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20225 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20226 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20227 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20228 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20229 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20230 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20231 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20232 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20233 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20234 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20235 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20236 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20237 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20238 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20239 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20240 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20241 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20242 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20243 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20244 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20245 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20246 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20247 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20248 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20249 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20250 wine_fn_config_makefile dlls/davclnt enable_davclnt
20251 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20252 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20253 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20254 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20255 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20256 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20257 wine_fn_config_makefile dlls/ddraw enable_ddraw
20258 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20259 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20260 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20261 wine_fn_config_makefile dlls/devenum enable_devenum
20262 wine_fn_config_makefile dlls/devenum/tests enable_tests
20263 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20264 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20265 wine_fn_config_makefile dlls/difxapi enable_difxapi
20266 wine_fn_config_makefile dlls/dinput enable_dinput
20267 wine_fn_config_makefile dlls/dinput/tests enable_tests
20268 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20269 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20270 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20271 wine_fn_config_makefile dlls/dispex enable_dispex
20272 wine_fn_config_makefile dlls/dispex/tests enable_tests
20273 wine_fn_config_makefile dlls/display.drv16 enable_win16
20274 wine_fn_config_makefile dlls/dmband enable_dmband
20275 wine_fn_config_makefile dlls/dmband/tests enable_tests
20276 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20277 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20278 wine_fn_config_makefile dlls/dmime enable_dmime
20279 wine_fn_config_makefile dlls/dmime/tests enable_tests
20280 wine_fn_config_makefile dlls/dmloader enable_dmloader
20281 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20282 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20283 wine_fn_config_makefile dlls/dmscript enable_dmscript
20284 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20285 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20286 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20287 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20288 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20289 wine_fn_config_makefile dlls/dmusic enable_dmusic
20290 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20291 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20292 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20293 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20294 wine_fn_config_makefile dlls/dplay enable_dplay
20295 wine_fn_config_makefile dlls/dplayx enable_dplayx
20296 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20297 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20298 wine_fn_config_makefile dlls/dpnet enable_dpnet
20299 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20300 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20301 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20302 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20303 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20304 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20305 wine_fn_config_makefile dlls/drmclien enable_drmclien
20306 wine_fn_config_makefile dlls/dsound enable_dsound
20307 wine_fn_config_makefile dlls/dsound/tests enable_tests
20308 wine_fn_config_makefile dlls/dsquery enable_dsquery
20309 wine_fn_config_makefile dlls/dssenh enable_dssenh
20310 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20311 wine_fn_config_makefile dlls/dswave enable_dswave
20312 wine_fn_config_makefile dlls/dswave/tests enable_tests
20313 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20314 wine_fn_config_makefile dlls/dwrite enable_dwrite
20315 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20316 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20317 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20318 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20319 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20320 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20321 wine_fn_config_makefile dlls/dxgi enable_dxgi
20322 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20323 wine_fn_config_makefile dlls/dxguid enable_dxguid
20324 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20325 wine_fn_config_makefile dlls/esent enable_esent
20326 wine_fn_config_makefile dlls/evr enable_evr
20327 wine_fn_config_makefile dlls/evr/tests enable_tests
20328 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20329 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20330 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20331 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20332 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20333 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20334 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20335 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20336 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20337 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20338 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20339 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20340 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20341 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20342 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20343 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20344 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20345 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20346 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20347 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20348 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20349 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20350 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20351 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20352 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20353 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20354 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20355 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20356 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20357 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20358 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20359 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20360 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20361 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20362 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20363 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20364 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20365 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20366 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20367 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20368 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20369 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20370 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
20371 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20372 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20373 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20374 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20375 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20376 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20377 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20378 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20379 wine_fn_config_makefile dlls/faultrep enable_faultrep
20380 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20381 wine_fn_config_makefile dlls/feclient enable_feclient
20382 wine_fn_config_makefile dlls/fltlib enable_fltlib
20383 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20384 wine_fn_config_makefile dlls/fntcache enable_fntcache
20385 wine_fn_config_makefile dlls/fontsub enable_fontsub
20386 wine_fn_config_makefile dlls/fusion enable_fusion
20387 wine_fn_config_makefile dlls/fusion/tests enable_tests
20388 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20389 wine_fn_config_makefile dlls/gameux enable_gameux
20390 wine_fn_config_makefile dlls/gameux/tests enable_tests
20391 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20392 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20393 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20394 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20395 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20396 wine_fn_config_makefile dlls/glu32 enable_glu32
20397 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20398 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20399 wine_fn_config_makefile dlls/hal enable_hal
20400 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20401 wine_fn_config_makefile dlls/hid enable_hid
20402 wine_fn_config_makefile dlls/hid/tests enable_tests
20403 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20404 wine_fn_config_makefile dlls/hlink enable_hlink
20405 wine_fn_config_makefile dlls/hlink/tests enable_tests
20406 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20407 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20408 wine_fn_config_makefile dlls/httpapi enable_httpapi
20409 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20410 wine_fn_config_makefile dlls/iccvid enable_iccvid
20411 wine_fn_config_makefile dlls/icmp enable_icmp
20412 wine_fn_config_makefile dlls/ieframe enable_ieframe
20413 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20414 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20415 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20416 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20417 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20418 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20419 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20420 wine_fn_config_makefile dlls/imm32 enable_imm32
20421 wine_fn_config_makefile dlls/imm32/tests enable_tests
20422 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20423 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20424 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20425 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20426 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20427 wine_fn_config_makefile dlls/infosoft enable_infosoft
20428 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20429 wine_fn_config_makefile dlls/initpki enable_initpki
20430 wine_fn_config_makefile dlls/inkobj enable_inkobj
20431 wine_fn_config_makefile dlls/inseng enable_inseng
20432 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20433 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20434 wine_fn_config_makefile dlls/iprop enable_iprop
20435 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20436 wine_fn_config_makefile dlls/itircl enable_itircl
20437 wine_fn_config_makefile dlls/itss enable_itss
20438 wine_fn_config_makefile dlls/itss/tests enable_tests
20439 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20440 wine_fn_config_makefile dlls/jscript enable_jscript
20441 wine_fn_config_makefile dlls/jscript/tests enable_tests
20442 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20443 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20444 wine_fn_config_makefile dlls/kerberos enable_kerberos
20445 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20446 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20447 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20448 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20449 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20450 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20451 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20452 wine_fn_config_makefile dlls/ksuser enable_ksuser
20453 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20454 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20455 wine_fn_config_makefile dlls/loadperf enable_loadperf
20456 wine_fn_config_makefile dlls/localspl enable_localspl
20457 wine_fn_config_makefile dlls/localspl/tests enable_tests
20458 wine_fn_config_makefile dlls/localui enable_localui
20459 wine_fn_config_makefile dlls/localui/tests enable_tests
20460 wine_fn_config_makefile dlls/lz32 enable_lz32
20461 wine_fn_config_makefile dlls/lz32/tests enable_tests
20462 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20463 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20464 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20465 wine_fn_config_makefile dlls/mapistub enable_mapistub
20466 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20467 wine_fn_config_makefile dlls/mcicda enable_mcicda
20468 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20469 wine_fn_config_makefile dlls/mciseq enable_mciseq
20470 wine_fn_config_makefile dlls/mciwave enable_mciwave
20471 wine_fn_config_makefile dlls/mf enable_mf
20472 wine_fn_config_makefile dlls/mf/tests enable_tests
20473 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20474 wine_fn_config_makefile dlls/mferror enable_mferror
20475 wine_fn_config_makefile dlls/mfplat enable_mfplat
20476 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20477 wine_fn_config_makefile dlls/mfplay enable_mfplay
20478 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20479 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20480 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20481 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20482 wine_fn_config_makefile dlls/midimap enable_midimap
20483 wine_fn_config_makefile dlls/mlang enable_mlang
20484 wine_fn_config_makefile dlls/mlang/tests enable_tests
20485 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20486 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20487 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20488 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20489 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20490 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20491 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20492 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20493 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20494 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20495 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20496 wine_fn_config_makefile dlls/mpr enable_mpr
20497 wine_fn_config_makefile dlls/mpr/tests enable_tests
20498 wine_fn_config_makefile dlls/mprapi enable_mprapi
20499 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20500 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20501 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20502 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20503 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20504 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20505 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20506 wine_fn_config_makefile dlls/mscms enable_mscms
20507 wine_fn_config_makefile dlls/mscms/tests enable_tests
20508 wine_fn_config_makefile dlls/mscoree enable_mscoree
20509 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20510 wine_fn_config_makefile dlls/msctf enable_msctf
20511 wine_fn_config_makefile dlls/msctf/tests enable_tests
20512 wine_fn_config_makefile dlls/msctfp enable_msctfp
20513 wine_fn_config_makefile dlls/msdaps enable_msdaps
20514 wine_fn_config_makefile dlls/msdelta enable_msdelta
20515 wine_fn_config_makefile dlls/msdmo enable_msdmo
20516 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20517 wine_fn_config_makefile dlls/msdrm enable_msdrm
20518 wine_fn_config_makefile dlls/msftedit enable_msftedit
20519 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20520 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20521 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20522 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20523 wine_fn_config_makefile dlls/mshtml enable_mshtml
20524 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20525 wine_fn_config_makefile dlls/msi enable_msi
20526 wine_fn_config_makefile dlls/msi/tests enable_tests
20527 wine_fn_config_makefile dlls/msident enable_msident
20528 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20529 wine_fn_config_makefile dlls/msimsg enable_msimsg
20530 wine_fn_config_makefile dlls/msimtf enable_msimtf
20531 wine_fn_config_makefile dlls/msisip enable_msisip
20532 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20533 wine_fn_config_makefile dlls/msls31 enable_msls31
20534 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20535 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20536 wine_fn_config_makefile dlls/msports enable_msports
20537 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20538 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20539 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20540 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20541 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20542 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20543 wine_fn_config_makefile dlls/mstask enable_mstask
20544 wine_fn_config_makefile dlls/mstask/tests enable_tests
20545 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20546 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20547 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20548 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20549 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20550 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20551 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20552 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20553 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20554 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20555 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20556 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20557 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20558 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20559 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20560 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20561 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20562 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20563 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20564 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20565 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20566 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20567 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20568 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20569 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20570 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20571 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20572 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20573 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20574 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20575 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20576 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20577 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20578 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20579 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20580 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20581 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20582 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20583 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20584 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20585 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20586 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20587 wine_fn_config_makefile dlls/mswsock enable_mswsock
20588 wine_fn_config_makefile dlls/msxml enable_msxml
20589 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20590 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20591 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20592 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20593 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20594 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20595 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20596 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20597 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20598 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20599 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20600 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20601 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20602 wine_fn_config_makefile dlls/netprofm enable_netprofm
20603 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20604 wine_fn_config_makefile dlls/newdev enable_newdev
20605 wine_fn_config_makefile dlls/ninput enable_ninput
20606 wine_fn_config_makefile dlls/ninput/tests enable_tests
20607 wine_fn_config_makefile dlls/normaliz enable_normaliz
20608 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20609 wine_fn_config_makefile dlls/npptools enable_npptools
20610 wine_fn_config_makefile dlls/ntdll enable_ntdll
20611 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20612 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20613 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20614 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20615 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20616 wine_fn_config_makefile dlls/ntprint enable_ntprint
20617 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20618 wine_fn_config_makefile dlls/objsel enable_objsel
20619 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20620 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20621 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20622 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20623 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20624 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20625 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20626 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20627 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20628 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20629 wine_fn_config_makefile dlls/ole32 enable_ole32
20630 wine_fn_config_makefile dlls/ole32/tests enable_tests
20631 wine_fn_config_makefile dlls/oleacc enable_oleacc
20632 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20633 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20634 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20635 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20636 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20637 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20638 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20639 wine_fn_config_makefile dlls/oledlg enable_oledlg
20640 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20641 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20642 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20643 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20644 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20645 wine_fn_config_makefile dlls/opcservices enable_opcservices
20646 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20647 wine_fn_config_makefile dlls/openal32 enable_openal32
20648 wine_fn_config_makefile dlls/opencl enable_opencl
20649 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20650 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20651 wine_fn_config_makefile dlls/packager enable_packager
20652 wine_fn_config_makefile dlls/packager/tests enable_tests
20653 wine_fn_config_makefile dlls/pdh enable_pdh
20654 wine_fn_config_makefile dlls/pdh/tests enable_tests
20655 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20656 wine_fn_config_makefile dlls/pidgen enable_pidgen
20657 wine_fn_config_makefile dlls/powrprof enable_powrprof
20658 wine_fn_config_makefile dlls/printui enable_printui
20659 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20660 wine_fn_config_makefile dlls/propsys enable_propsys
20661 wine_fn_config_makefile dlls/propsys/tests enable_tests
20662 wine_fn_config_makefile dlls/psapi enable_psapi
20663 wine_fn_config_makefile dlls/psapi/tests enable_tests
20664 wine_fn_config_makefile dlls/pstorec enable_pstorec
20665 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20666 wine_fn_config_makefile dlls/qcap enable_qcap
20667 wine_fn_config_makefile dlls/qcap/tests enable_tests
20668 wine_fn_config_makefile dlls/qedit enable_qedit
20669 wine_fn_config_makefile dlls/qedit/tests enable_tests
20670 wine_fn_config_makefile dlls/qmgr enable_qmgr
20671 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20672 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20673 wine_fn_config_makefile dlls/quartz enable_quartz
20674 wine_fn_config_makefile dlls/quartz/tests enable_tests
20675 wine_fn_config_makefile dlls/query enable_query
20676 wine_fn_config_makefile dlls/qwave enable_qwave
20677 wine_fn_config_makefile dlls/qwave/tests enable_tests
20678 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20679 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20680 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20681 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20682 wine_fn_config_makefile dlls/regapi enable_regapi
20683 wine_fn_config_makefile dlls/resutils enable_resutils
20684 wine_fn_config_makefile dlls/riched20 enable_riched20
20685 wine_fn_config_makefile dlls/riched20/tests enable_tests
20686 wine_fn_config_makefile dlls/riched32 enable_riched32
20687 wine_fn_config_makefile dlls/riched32/tests enable_tests
20688 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20689 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20690 wine_fn_config_makefile dlls/rsabase enable_rsabase
20691 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20692 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20693 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20694 wine_fn_config_makefile dlls/rtutils enable_rtutils
20695 wine_fn_config_makefile dlls/samlib enable_samlib
20696 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20697 wine_fn_config_makefile dlls/sapi enable_sapi
20698 wine_fn_config_makefile dlls/sapi/tests enable_tests
20699 wine_fn_config_makefile dlls/sas enable_sas
20700 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20701 wine_fn_config_makefile dlls/sccbase enable_sccbase
20702 wine_fn_config_makefile dlls/schannel enable_schannel
20703 wine_fn_config_makefile dlls/schannel/tests enable_tests
20704 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20705 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20706 wine_fn_config_makefile dlls/scrobj enable_scrobj
20707 wine_fn_config_makefile dlls/scrrun enable_scrrun
20708 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20709 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20710 wine_fn_config_makefile dlls/secur32 enable_secur32
20711 wine_fn_config_makefile dlls/secur32/tests enable_tests
20712 wine_fn_config_makefile dlls/security enable_security
20713 wine_fn_config_makefile dlls/sensapi enable_sensapi
20714 wine_fn_config_makefile dlls/serialui enable_serialui
20715 wine_fn_config_makefile dlls/serialui/tests enable_tests
20716 wine_fn_config_makefile dlls/setupapi enable_setupapi
20717 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20718 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20719 wine_fn_config_makefile dlls/sfc enable_sfc
20720 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20721 wine_fn_config_makefile dlls/shcore enable_shcore
20722 wine_fn_config_makefile dlls/shcore/tests enable_tests
20723 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20724 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20725 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20726 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20727 wine_fn_config_makefile dlls/shell32 enable_shell32
20728 wine_fn_config_makefile dlls/shell32/tests enable_tests
20729 wine_fn_config_makefile dlls/shfolder enable_shfolder
20730 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20731 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20732 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20733 wine_fn_config_makefile dlls/slc enable_slc
20734 wine_fn_config_makefile dlls/slc/tests enable_tests
20735 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20736 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20737 wine_fn_config_makefile dlls/softpub enable_softpub
20738 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20739 wine_fn_config_makefile dlls/spoolss enable_spoolss
20740 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20741 wine_fn_config_makefile dlls/srclient enable_srclient
20742 wine_fn_config_makefile dlls/sspicli enable_sspicli
20743 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20744 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20745 wine_fn_config_makefile dlls/sti enable_sti
20746 wine_fn_config_makefile dlls/sti/tests enable_tests
20747 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20748 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20749 wine_fn_config_makefile dlls/strmbase enable_strmbase
20750 wine_fn_config_makefile dlls/strmdll enable_strmdll
20751 wine_fn_config_makefile dlls/strmiids enable_strmiids
20752 wine_fn_config_makefile dlls/svrapi enable_svrapi
20753 wine_fn_config_makefile dlls/sxs enable_sxs
20754 wine_fn_config_makefile dlls/sxs/tests enable_tests
20755 wine_fn_config_makefile dlls/system.drv16 enable_win16
20756 wine_fn_config_makefile dlls/t2embed enable_t2embed
20757 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20758 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20759 wine_fn_config_makefile dlls/taskschd enable_taskschd
20760 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20761 wine_fn_config_makefile dlls/tdh enable_tdh
20762 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20763 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20764 wine_fn_config_makefile dlls/traffic enable_traffic
20765 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20766 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20767 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20768 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20769 wine_fn_config_makefile dlls/tzres enable_tzres
20770 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20771 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20772 wine_fn_config_makefile dlls/uianimation enable_uianimation
20773 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20774 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20775 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20776 wine_fn_config_makefile dlls/unicows enable_unicows
20777 wine_fn_config_makefile dlls/updspapi enable_updspapi
20778 wine_fn_config_makefile dlls/url enable_url
20779 wine_fn_config_makefile dlls/urlmon enable_urlmon
20780 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20781 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20782 wine_fn_config_makefile dlls/user.exe16 enable_win16
20783 wine_fn_config_makefile dlls/user32 enable_user32
20784 wine_fn_config_makefile dlls/user32/tests enable_tests
20785 wine_fn_config_makefile dlls/userenv enable_userenv
20786 wine_fn_config_makefile dlls/userenv/tests enable_tests
20787 wine_fn_config_makefile dlls/usp10 enable_usp10
20788 wine_fn_config_makefile dlls/usp10/tests enable_tests
20789 wine_fn_config_makefile dlls/uuid enable_uuid
20790 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20791 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20792 wine_fn_config_makefile dlls/vbscript enable_vbscript
20793 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20794 wine_fn_config_makefile dlls/vcomp enable_vcomp
20795 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20796 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20797 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20798 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20799 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20800 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20801 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20802 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20803 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20804 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20805 wine_fn_config_makefile dlls/version enable_version
20806 wine_fn_config_makefile dlls/version/tests enable_tests
20807 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20808 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20809 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20810 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20811 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20812 wine_fn_config_makefile dlls/vssapi enable_vssapi
20813 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20814 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20815 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20816 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20817 wine_fn_config_makefile dlls/w32skrnl enable_win16
20818 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20819 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20820 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20821 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20822 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20823 wine_fn_config_makefile dlls/wdscore enable_wdscore
20824 wine_fn_config_makefile dlls/webservices enable_webservices
20825 wine_fn_config_makefile dlls/webservices/tests enable_tests
20826 wine_fn_config_makefile dlls/wer enable_wer
20827 wine_fn_config_makefile dlls/wer/tests enable_tests
20828 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20829 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20830 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20831 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20832 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20833 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20834 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20835 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20836 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20837 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20838 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20839 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20840 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20841 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20842 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20843 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20844 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20845 wine_fn_config_makefile dlls/wined3d enable_wined3d
20846 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20847 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20848 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20849 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20850 wine_fn_config_makefile dlls/winemapi enable_winemapi
20851 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20852 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20853 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20854 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20855 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20856 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20857 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20858 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20859 wine_fn_config_makefile dlls/wing32 enable_wing32
20860 wine_fn_config_makefile dlls/winhttp enable_winhttp
20861 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20862 wine_fn_config_makefile dlls/wininet enable_wininet
20863 wine_fn_config_makefile dlls/wininet/tests enable_tests
20864 wine_fn_config_makefile dlls/winmm enable_winmm
20865 wine_fn_config_makefile dlls/winmm/tests enable_tests
20866 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20867 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20868 wine_fn_config_makefile dlls/winscard enable_winscard
20869 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20870 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20871 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20872 wine_fn_config_makefile dlls/winsta enable_winsta
20873 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20874 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20875 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20876 wine_fn_config_makefile dlls/wintrust enable_wintrust
20877 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20878 wine_fn_config_makefile dlls/winusb enable_winusb
20879 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20880 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20881 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20882 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20883 wine_fn_config_makefile dlls/wmasf enable_wmasf
20884 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20885 wine_fn_config_makefile dlls/wmi enable_wmi
20886 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20887 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20888 wine_fn_config_makefile dlls/wmp enable_wmp
20889 wine_fn_config_makefile dlls/wmp/tests enable_tests
20890 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20891 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20892 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20893 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20894 wine_fn_config_makefile dlls/wow32 enable_win16
20895 wine_fn_config_makefile dlls/wpc enable_wpc
20896 wine_fn_config_makefile dlls/wpc/tests enable_tests
20897 wine_fn_config_makefile dlls/wpcap enable_wpcap
20898 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20899 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20900 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20901 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20902 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20903 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20904 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20905 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20906 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20907 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20908 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20909 wine_fn_config_makefile dlls/wuapi enable_wuapi
20910 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20911 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20912 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20913 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20914 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20915 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20916 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20917 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20918 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20919 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20920 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20921 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20922 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20923 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20924 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20925 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20926 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20927 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20928 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20929 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20930 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20931 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20932 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20933 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20934 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20935 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20936 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20937 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20938 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20939 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20940 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20941 wine_fn_config_makefile dlls/xmllite enable_xmllite
20942 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20943 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20944 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20945 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20946 wine_fn_config_makefile fonts enable_fonts
20947 wine_fn_config_makefile include enable_include
20948 wine_fn_config_makefile libs/port enable_port
20949 wine_fn_config_makefile libs/wine enable_wine
20950 wine_fn_config_makefile libs/wpp enable_wpp
20951 wine_fn_config_makefile loader enable_loader
20952 wine_fn_config_makefile po enable_po
20953 wine_fn_config_makefile programs/arp enable_arp
20954 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20955 wine_fn_config_makefile programs/attrib enable_attrib
20956 wine_fn_config_makefile programs/cabarc enable_cabarc
20957 wine_fn_config_makefile programs/cacls enable_cacls
20958 wine_fn_config_makefile programs/clock enable_clock
20959 wine_fn_config_makefile programs/cmd enable_cmd
20960 wine_fn_config_makefile programs/cmd/tests enable_tests
20961 wine_fn_config_makefile programs/conhost enable_conhost
20962 wine_fn_config_makefile programs/control enable_control
20963 wine_fn_config_makefile programs/cscript enable_cscript
20964 wine_fn_config_makefile programs/dism enable_dism
20965 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20966 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20967 wine_fn_config_makefile programs/eject enable_eject
20968 wine_fn_config_makefile programs/expand enable_expand
20969 wine_fn_config_makefile programs/explorer enable_explorer
20970 wine_fn_config_makefile programs/extrac32 enable_extrac32
20971 wine_fn_config_makefile programs/fc enable_fc
20972 wine_fn_config_makefile programs/find enable_find
20973 wine_fn_config_makefile programs/findstr enable_findstr
20974 wine_fn_config_makefile programs/fsutil enable_fsutil
20975 wine_fn_config_makefile programs/hh enable_hh
20976 wine_fn_config_makefile programs/hostname enable_hostname
20977 wine_fn_config_makefile programs/icacls enable_icacls
20978 wine_fn_config_makefile programs/icinfo enable_icinfo
20979 wine_fn_config_makefile programs/iexplore enable_iexplore
20980 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20981 wine_fn_config_makefile programs/lodctr enable_lodctr
20982 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20983 wine_fn_config_makefile programs/mshta enable_mshta
20984 wine_fn_config_makefile programs/msidb enable_msidb
20985 wine_fn_config_makefile programs/msiexec enable_msiexec
20986 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20987 wine_fn_config_makefile programs/net enable_net
20988 wine_fn_config_makefile programs/netsh enable_netsh
20989 wine_fn_config_makefile programs/netstat enable_netstat
20990 wine_fn_config_makefile programs/ngen enable_ngen
20991 wine_fn_config_makefile programs/notepad enable_notepad
20992 wine_fn_config_makefile programs/oleview enable_oleview
20993 wine_fn_config_makefile programs/ping enable_ping
20994 wine_fn_config_makefile programs/plugplay enable_plugplay
20995 wine_fn_config_makefile programs/powershell enable_powershell
20996 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20997 wine_fn_config_makefile programs/progman enable_progman
20998 wine_fn_config_makefile programs/reg enable_reg
20999 wine_fn_config_makefile programs/reg/tests enable_tests
21000 wine_fn_config_makefile programs/regasm enable_regasm
21001 wine_fn_config_makefile programs/regedit enable_regedit
21002 wine_fn_config_makefile programs/regedit/tests enable_tests
21003 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21004 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21005 wine_fn_config_makefile programs/rpcss enable_rpcss
21006 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21007 wine_fn_config_makefile programs/rundll32 enable_rundll32
21008 wine_fn_config_makefile programs/sc enable_sc
21009 wine_fn_config_makefile programs/schtasks enable_schtasks
21010 wine_fn_config_makefile programs/schtasks/tests enable_tests
21011 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21012 wine_fn_config_makefile programs/secedit enable_secedit
21013 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21014 wine_fn_config_makefile programs/services enable_services
21015 wine_fn_config_makefile programs/services/tests enable_tests
21016 wine_fn_config_makefile programs/shutdown enable_shutdown
21017 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21018 wine_fn_config_makefile programs/start enable_start
21019 wine_fn_config_makefile programs/subst enable_subst
21020 wine_fn_config_makefile programs/svchost enable_svchost
21021 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21022 wine_fn_config_makefile programs/taskkill enable_taskkill
21023 wine_fn_config_makefile programs/tasklist enable_tasklist
21024 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21025 wine_fn_config_makefile programs/termsv enable_termsv
21026 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21027 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21028 wine_fn_config_makefile programs/view enable_view
21029 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21030 wine_fn_config_makefile programs/wineboot enable_wineboot
21031 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21032 wine_fn_config_makefile programs/winecfg enable_winecfg
21033 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21034 wine_fn_config_makefile programs/winedbg enable_winedbg
21035 wine_fn_config_makefile programs/winedevice enable_winedevice
21036 wine_fn_config_makefile programs/winefile enable_winefile
21037 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21038 wine_fn_config_makefile programs/winemine enable_winemine
21039 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21040 wine_fn_config_makefile programs/winepath enable_winepath
21041 wine_fn_config_makefile programs/winetest enable_winetest
21042 wine_fn_config_makefile programs/winevdm enable_win16
21043 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21044 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21045 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21046 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21047 wine_fn_config_makefile programs/winver enable_winver
21048 wine_fn_config_makefile programs/wmic enable_wmic
21049 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21050 wine_fn_config_makefile programs/wordpad enable_wordpad
21051 wine_fn_config_makefile programs/write enable_write
21052 wine_fn_config_makefile programs/wscript enable_wscript
21053 wine_fn_config_makefile programs/wscript/tests enable_tests
21054 wine_fn_config_makefile programs/wusa enable_wusa
21055 wine_fn_config_makefile programs/xcopy enable_xcopy
21056 wine_fn_config_makefile programs/xcopy/tests enable_tests
21057 wine_fn_config_makefile server enable_server
21058 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21059 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21060 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21061 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21062 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21063 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21064 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21065 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21066 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21069 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21070 wine_fn_append_file CONFIGURE_TARGETS "tags"
21071 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21072 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21073 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21074 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21075 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21076 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21078 if test "x$enable_tools" != xno
21079 then
21080 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21081 ac_config_commands="$ac_config_commands tools/makedep"
21085 ac_config_commands="$ac_config_commands Makefile"
21088 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21092 if test "x$enable_maintainer_mode" = xyes
21093 then
21094 wine_fn_append_rule "configure: configure.ac aclocal.m4
21095 autoconf --warnings=all
21096 include/config.h.in: include/stamp-h.in
21097 include/stamp-h.in: configure.ac aclocal.m4
21098 autoheader --warnings=all
21099 @echo timestamp > \$@"
21102 if test "x$enable_tools" != xno
21103 then
21104 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21105 @./config.status tools/makedep
21106 Makefile: tools/makedep$ac_exeext
21107 fonts: tools/sfnt2fon
21108 include: tools tools/widl"
21109 else
21110 wine_fn_append_rule "\$(MAKEDEP):
21111 @echo \"You need to run make in $TOOLSDIR first\" && false"
21114 if test -n "$with_wine64"
21115 then
21116 case "$with_wine64" in
21117 /*) reldir="" ;;
21118 *) reldir="../" ;;
21119 esac
21120 rm -f fonts server 2>/dev/null
21121 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21122 loader/wine64 loader/wine64-preloader:
21123 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21124 $with_wine64/loader/wine:
21125 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21126 $with_wine64/loader/wine-preloader:
21127 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21128 clean::
21129 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21130 else
21131 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21132 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21133 fonts \
21134 loader/l_intl.nls \
21135 loader/wine.inf \
21136 programs/msidb/msidb \
21137 programs/msiexec/msiexec \
21138 programs/notepad/notepad \
21139 programs/regedit/regedit \
21140 programs/regsvr32/regsvr32 \
21141 programs/wineboot/wineboot \
21142 programs/winecfg/winecfg \
21143 programs/wineconsole/wineconsole \
21144 programs/winedbg/winedbg \
21145 programs/winefile/winefile \
21146 programs/winemine/winemine \
21147 programs/winepath/winepath \
21148 server/wineserver"
21150 case $host_os in
21151 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21152 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21153 esac
21156 $as_echo " done" >&6
21157 cat >confcache <<\_ACEOF
21158 # This file is a shell script that caches the results of configure
21159 # tests run on this system so they can be shared between configure
21160 # scripts and configure runs, see configure's option --config-cache.
21161 # It is not useful on other systems. If it contains results you don't
21162 # want to keep, you may remove or edit it.
21164 # config.status only pays attention to the cache file if you give it
21165 # the --recheck option to rerun configure.
21167 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21168 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21169 # following values.
21171 _ACEOF
21173 # The following way of writing the cache mishandles newlines in values,
21174 # but we know of no workaround that is simple, portable, and efficient.
21175 # So, we kill variables containing newlines.
21176 # Ultrix sh set writes to stderr and can't be redirected directly,
21177 # and sets the high bit in the cache file unless we assign to the vars.
21179 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21180 eval ac_val=\$$ac_var
21181 case $ac_val in #(
21182 *${as_nl}*)
21183 case $ac_var in #(
21184 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21185 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21186 esac
21187 case $ac_var in #(
21188 _ | IFS | as_nl) ;; #(
21189 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21190 *) { eval $ac_var=; unset $ac_var;} ;;
21191 esac ;;
21192 esac
21193 done
21195 (set) 2>&1 |
21196 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21197 *${as_nl}ac_space=\ *)
21198 # `set' does not quote correctly, so add quotes: double-quote
21199 # substitution turns \\\\ into \\, and sed turns \\ into \.
21200 sed -n \
21201 "s/'/'\\\\''/g;
21202 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21203 ;; #(
21205 # `set' quotes correctly as required by POSIX, so do not add quotes.
21206 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21208 esac |
21209 sort
21211 sed '
21212 /^ac_cv_env_/b end
21213 t clear
21214 :clear
21215 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21216 t end
21217 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21218 :end' >>confcache
21219 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21220 if test -w "$cache_file"; then
21221 if test "x$cache_file" != "x/dev/null"; then
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21223 $as_echo "$as_me: updating cache $cache_file" >&6;}
21224 if test ! -f "$cache_file" || test -h "$cache_file"; then
21225 cat confcache >"$cache_file"
21226 else
21227 case $cache_file in #(
21228 */* | ?:*)
21229 mv -f confcache "$cache_file"$$ &&
21230 mv -f "$cache_file"$$ "$cache_file" ;; #(
21232 mv -f confcache "$cache_file" ;;
21233 esac
21236 else
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21238 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21241 rm -f confcache
21243 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21244 # Let make expand exec_prefix.
21245 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21247 DEFS=-DHAVE_CONFIG_H
21249 ac_libobjs=
21250 ac_ltlibobjs=
21252 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21253 # 1. Remove the extension, and $U if already installed.
21254 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21255 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21256 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21257 # will be set to the directory where LIBOBJS objects are built.
21258 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21259 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21260 done
21261 LIBOBJS=$ac_libobjs
21263 LTLIBOBJS=$ac_ltlibobjs
21267 : "${CONFIG_STATUS=./config.status}"
21268 ac_write_fail=0
21269 ac_clean_files_save=$ac_clean_files
21270 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21272 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21273 as_write_fail=0
21274 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21275 #! $SHELL
21276 # Generated by $as_me.
21277 # Run this file to recreate the current configuration.
21278 # Compiler output produced by configure, useful for debugging
21279 # configure, is in config.log if it exists.
21281 debug=false
21282 ac_cs_recheck=false
21283 ac_cs_silent=false
21285 SHELL=\${CONFIG_SHELL-$SHELL}
21286 export SHELL
21287 _ASEOF
21288 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21289 ## -------------------- ##
21290 ## M4sh Initialization. ##
21291 ## -------------------- ##
21293 # Be more Bourne compatible
21294 DUALCASE=1; export DUALCASE # for MKS sh
21295 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21296 emulate sh
21297 NULLCMD=:
21298 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21299 # is contrary to our usage. Disable this feature.
21300 alias -g '${1+"$@"}'='"$@"'
21301 setopt NO_GLOB_SUBST
21302 else
21303 case `(set -o) 2>/dev/null` in #(
21304 *posix*) :
21305 set -o posix ;; #(
21306 *) :
21308 esac
21312 as_nl='
21314 export as_nl
21315 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21316 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21317 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21318 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21319 # Prefer a ksh shell builtin over an external printf program on Solaris,
21320 # but without wasting forks for bash or zsh.
21321 if test -z "$BASH_VERSION$ZSH_VERSION" \
21322 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21323 as_echo='print -r --'
21324 as_echo_n='print -rn --'
21325 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21326 as_echo='printf %s\n'
21327 as_echo_n='printf %s'
21328 else
21329 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21330 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21331 as_echo_n='/usr/ucb/echo -n'
21332 else
21333 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21334 as_echo_n_body='eval
21335 arg=$1;
21336 case $arg in #(
21337 *"$as_nl"*)
21338 expr "X$arg" : "X\\(.*\\)$as_nl";
21339 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21340 esac;
21341 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21343 export as_echo_n_body
21344 as_echo_n='sh -c $as_echo_n_body as_echo'
21346 export as_echo_body
21347 as_echo='sh -c $as_echo_body as_echo'
21350 # The user is always right.
21351 if test "${PATH_SEPARATOR+set}" != set; then
21352 PATH_SEPARATOR=:
21353 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21354 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21355 PATH_SEPARATOR=';'
21360 # IFS
21361 # We need space, tab and new line, in precisely that order. Quoting is
21362 # there to prevent editors from complaining about space-tab.
21363 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21364 # splitting by setting IFS to empty value.)
21365 IFS=" "" $as_nl"
21367 # Find who we are. Look in the path if we contain no directory separator.
21368 as_myself=
21369 case $0 in #((
21370 *[\\/]* ) as_myself=$0 ;;
21371 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21372 for as_dir in $PATH
21374 IFS=$as_save_IFS
21375 test -z "$as_dir" && as_dir=.
21376 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21377 done
21378 IFS=$as_save_IFS
21381 esac
21382 # We did not find ourselves, most probably we were run as `sh COMMAND'
21383 # in which case we are not to be found in the path.
21384 if test "x$as_myself" = x; then
21385 as_myself=$0
21387 if test ! -f "$as_myself"; then
21388 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21389 exit 1
21392 # Unset variables that we do not need and which cause bugs (e.g. in
21393 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21394 # suppresses any "Segmentation fault" message there. '((' could
21395 # trigger a bug in pdksh 5.2.14.
21396 for as_var in BASH_ENV ENV MAIL MAILPATH
21397 do eval test x\${$as_var+set} = xset \
21398 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21399 done
21400 PS1='$ '
21401 PS2='> '
21402 PS4='+ '
21404 # NLS nuisances.
21405 LC_ALL=C
21406 export LC_ALL
21407 LANGUAGE=C
21408 export LANGUAGE
21410 # CDPATH.
21411 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21415 # ----------------------------------------
21416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21418 # script with STATUS, using 1 if that was 0.
21419 as_fn_error ()
21421 as_status=$1; test $as_status -eq 0 && as_status=1
21422 if test "$4"; then
21423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21426 $as_echo "$as_me: error: $2" >&2
21427 as_fn_exit $as_status
21428 } # as_fn_error
21431 # as_fn_set_status STATUS
21432 # -----------------------
21433 # Set $? to STATUS, without forking.
21434 as_fn_set_status ()
21436 return $1
21437 } # as_fn_set_status
21439 # as_fn_exit STATUS
21440 # -----------------
21441 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21442 as_fn_exit ()
21444 set +e
21445 as_fn_set_status $1
21446 exit $1
21447 } # as_fn_exit
21449 # as_fn_unset VAR
21450 # ---------------
21451 # Portably unset VAR.
21452 as_fn_unset ()
21454 { eval $1=; unset $1;}
21456 as_unset=as_fn_unset
21457 # as_fn_append VAR VALUE
21458 # ----------------------
21459 # Append the text in VALUE to the end of the definition contained in VAR. Take
21460 # advantage of any shell optimizations that allow amortized linear growth over
21461 # repeated appends, instead of the typical quadratic growth present in naive
21462 # implementations.
21463 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21464 eval 'as_fn_append ()
21466 eval $1+=\$2
21468 else
21469 as_fn_append ()
21471 eval $1=\$$1\$2
21473 fi # as_fn_append
21475 # as_fn_arith ARG...
21476 # ------------------
21477 # Perform arithmetic evaluation on the ARGs, and store the result in the
21478 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21479 # must be portable across $(()) and expr.
21480 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21481 eval 'as_fn_arith ()
21483 as_val=$(( $* ))
21485 else
21486 as_fn_arith ()
21488 as_val=`expr "$@" || test $? -eq 1`
21490 fi # as_fn_arith
21493 if expr a : '\(a\)' >/dev/null 2>&1 &&
21494 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21495 as_expr=expr
21496 else
21497 as_expr=false
21500 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21501 as_basename=basename
21502 else
21503 as_basename=false
21506 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21507 as_dirname=dirname
21508 else
21509 as_dirname=false
21512 as_me=`$as_basename -- "$0" ||
21513 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21514 X"$0" : 'X\(//\)$' \| \
21515 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21516 $as_echo X/"$0" |
21517 sed '/^.*\/\([^/][^/]*\)\/*$/{
21518 s//\1/
21521 /^X\/\(\/\/\)$/{
21522 s//\1/
21525 /^X\/\(\/\).*/{
21526 s//\1/
21529 s/.*/./; q'`
21531 # Avoid depending upon Character Ranges.
21532 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21533 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21534 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21535 as_cr_digits='0123456789'
21536 as_cr_alnum=$as_cr_Letters$as_cr_digits
21538 ECHO_C= ECHO_N= ECHO_T=
21539 case `echo -n x` in #(((((
21540 -n*)
21541 case `echo 'xy\c'` in
21542 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21543 xy) ECHO_C='\c';;
21544 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21545 ECHO_T=' ';;
21546 esac;;
21548 ECHO_N='-n';;
21549 esac
21551 rm -f conf$$ conf$$.exe conf$$.file
21552 if test -d conf$$.dir; then
21553 rm -f conf$$.dir/conf$$.file
21554 else
21555 rm -f conf$$.dir
21556 mkdir conf$$.dir 2>/dev/null
21558 if (echo >conf$$.file) 2>/dev/null; then
21559 if ln -s conf$$.file conf$$ 2>/dev/null; then
21560 as_ln_s='ln -s'
21561 # ... but there are two gotchas:
21562 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21563 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21564 # In both cases, we have to default to `cp -pR'.
21565 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21566 as_ln_s='cp -pR'
21567 elif ln conf$$.file conf$$ 2>/dev/null; then
21568 as_ln_s=ln
21569 else
21570 as_ln_s='cp -pR'
21572 else
21573 as_ln_s='cp -pR'
21575 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21576 rmdir conf$$.dir 2>/dev/null
21579 # as_fn_mkdir_p
21580 # -------------
21581 # Create "$as_dir" as a directory, including parents if necessary.
21582 as_fn_mkdir_p ()
21585 case $as_dir in #(
21586 -*) as_dir=./$as_dir;;
21587 esac
21588 test -d "$as_dir" || eval $as_mkdir_p || {
21589 as_dirs=
21590 while :; do
21591 case $as_dir in #(
21592 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21593 *) as_qdir=$as_dir;;
21594 esac
21595 as_dirs="'$as_qdir' $as_dirs"
21596 as_dir=`$as_dirname -- "$as_dir" ||
21597 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21598 X"$as_dir" : 'X\(//\)[^/]' \| \
21599 X"$as_dir" : 'X\(//\)$' \| \
21600 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21601 $as_echo X"$as_dir" |
21602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21603 s//\1/
21606 /^X\(\/\/\)[^/].*/{
21607 s//\1/
21610 /^X\(\/\/\)$/{
21611 s//\1/
21614 /^X\(\/\).*/{
21615 s//\1/
21618 s/.*/./; q'`
21619 test -d "$as_dir" && break
21620 done
21621 test -z "$as_dirs" || eval "mkdir $as_dirs"
21622 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21625 } # as_fn_mkdir_p
21626 if mkdir -p . 2>/dev/null; then
21627 as_mkdir_p='mkdir -p "$as_dir"'
21628 else
21629 test -d ./-p && rmdir ./-p
21630 as_mkdir_p=false
21634 # as_fn_executable_p FILE
21635 # -----------------------
21636 # Test if FILE is an executable regular file.
21637 as_fn_executable_p ()
21639 test -f "$1" && test -x "$1"
21640 } # as_fn_executable_p
21641 as_test_x='test -x'
21642 as_executable_p=as_fn_executable_p
21644 # Sed expression to map a string onto a valid CPP name.
21645 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21647 # Sed expression to map a string onto a valid variable name.
21648 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21651 exec 6>&1
21652 ## ----------------------------------- ##
21653 ## Main body of $CONFIG_STATUS script. ##
21654 ## ----------------------------------- ##
21655 _ASEOF
21656 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21659 # Save the log message, to keep $0 and so on meaningful, and to
21660 # report actual input values of CONFIG_FILES etc. instead of their
21661 # values after options handling.
21662 ac_log="
21663 This file was extended by Wine $as_me 4.6, which was
21664 generated by GNU Autoconf 2.69. Invocation command line was
21666 CONFIG_FILES = $CONFIG_FILES
21667 CONFIG_HEADERS = $CONFIG_HEADERS
21668 CONFIG_LINKS = $CONFIG_LINKS
21669 CONFIG_COMMANDS = $CONFIG_COMMANDS
21670 $ $0 $@
21672 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21675 _ACEOF
21677 case $ac_config_files in *"
21678 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21679 esac
21681 case $ac_config_headers in *"
21682 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21683 esac
21686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21687 # Files that config.status was made for.
21688 config_files="$ac_config_files"
21689 config_headers="$ac_config_headers"
21690 config_links="$ac_config_links"
21691 config_commands="$ac_config_commands"
21693 _ACEOF
21695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21696 ac_cs_usage="\
21697 \`$as_me' instantiates files and other configuration actions
21698 from templates according to the current configuration. Unless the files
21699 and actions are specified as TAGs, all are instantiated by default.
21701 Usage: $0 [OPTION]... [TAG]...
21703 -h, --help print this help, then exit
21704 -V, --version print version number and configuration settings, then exit
21705 --config print configuration, then exit
21706 -q, --quiet, --silent
21707 do not print progress messages
21708 -d, --debug don't remove temporary files
21709 --recheck update $as_me by reconfiguring in the same conditions
21710 --file=FILE[:TEMPLATE]
21711 instantiate the configuration file FILE
21712 --header=FILE[:TEMPLATE]
21713 instantiate the configuration header FILE
21715 Configuration files:
21716 $config_files
21718 Configuration headers:
21719 $config_headers
21721 Configuration links:
21722 $config_links
21724 Configuration commands:
21725 $config_commands
21727 Report bugs to <wine-devel@winehq.org>.
21728 Wine home page: <https://www.winehq.org>."
21730 _ACEOF
21731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21732 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21733 ac_cs_version="\\
21734 Wine config.status 4.6
21735 configured by $0, generated by GNU Autoconf 2.69,
21736 with options \\"\$ac_cs_config\\"
21738 Copyright (C) 2012 Free Software Foundation, Inc.
21739 This config.status script is free software; the Free Software Foundation
21740 gives unlimited permission to copy, distribute and modify it."
21742 ac_pwd='$ac_pwd'
21743 srcdir='$srcdir'
21744 test -n "\$AWK" || AWK=awk
21745 _ACEOF
21747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21748 # The default lists apply if the user does not specify any file.
21749 ac_need_defaults=:
21750 while test $# != 0
21752 case $1 in
21753 --*=?*)
21754 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21755 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21756 ac_shift=:
21758 --*=)
21759 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21760 ac_optarg=
21761 ac_shift=:
21764 ac_option=$1
21765 ac_optarg=$2
21766 ac_shift=shift
21768 esac
21770 case $ac_option in
21771 # Handling of the options.
21772 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21773 ac_cs_recheck=: ;;
21774 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21775 $as_echo "$ac_cs_version"; exit ;;
21776 --config | --confi | --conf | --con | --co | --c )
21777 $as_echo "$ac_cs_config"; exit ;;
21778 --debug | --debu | --deb | --de | --d | -d )
21779 debug=: ;;
21780 --file | --fil | --fi | --f )
21781 $ac_shift
21782 case $ac_optarg in
21783 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21784 '') as_fn_error $? "missing file argument" ;;
21785 esac
21786 as_fn_append CONFIG_FILES " '$ac_optarg'"
21787 ac_need_defaults=false;;
21788 --header | --heade | --head | --hea )
21789 $ac_shift
21790 case $ac_optarg in
21791 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21792 esac
21793 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21794 ac_need_defaults=false;;
21795 --he | --h)
21796 # Conflict between --help and --header
21797 as_fn_error $? "ambiguous option: \`$1'
21798 Try \`$0 --help' for more information.";;
21799 --help | --hel | -h )
21800 $as_echo "$ac_cs_usage"; exit ;;
21801 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21802 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21803 ac_cs_silent=: ;;
21805 # This is an error.
21806 -*) as_fn_error $? "unrecognized option: \`$1'
21807 Try \`$0 --help' for more information." ;;
21809 *) as_fn_append ac_config_targets " $1"
21810 ac_need_defaults=false ;;
21812 esac
21813 shift
21814 done
21816 ac_configure_extra_args=
21818 if $ac_cs_silent; then
21819 exec 6>/dev/null
21820 ac_configure_extra_args="$ac_configure_extra_args --silent"
21823 _ACEOF
21824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21825 if \$ac_cs_recheck; then
21826 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21827 shift
21828 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21829 CONFIG_SHELL='$SHELL'
21830 export CONFIG_SHELL
21831 exec "\$@"
21834 _ACEOF
21835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21836 exec 5>>config.log
21838 echo
21839 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21840 ## Running $as_me. ##
21841 _ASBOX
21842 $as_echo "$ac_log"
21843 } >&5
21845 _ACEOF
21846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21848 # INIT-COMMANDS
21850 wine_fn_output_makedep ()
21852 as_dir=tools; as_fn_mkdir_p
21853 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21855 wine_fn_output_makefile ()
21857 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21858 `cat $wine_rules_file`
21859 _WINE_EOF
21860 as_fn_error $? "could not create Makefile" "$LINENO" 5
21863 _ACEOF
21865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21867 # Handling of arguments.
21868 for ac_config_target in $ac_config_targets
21870 case $ac_config_target in
21871 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21872 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21873 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21874 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21875 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21876 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21877 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21878 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21879 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21880 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21881 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21882 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21883 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21885 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21886 esac
21887 done
21890 # If the user did not use the arguments to specify the items to instantiate,
21891 # then the envvar interface is used. Set only those that are not.
21892 # We use the long form for the default assignment because of an extremely
21893 # bizarre bug on SunOS 4.1.3.
21894 if $ac_need_defaults; then
21895 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21896 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21897 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21898 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21901 # Have a temporary directory for convenience. Make it in the build tree
21902 # simply because there is no reason against having it here, and in addition,
21903 # creating and moving files from /tmp can sometimes cause problems.
21904 # Hook for its removal unless debugging.
21905 # Note that there is a small window in which the directory will not be cleaned:
21906 # after its creation but before its name has been assigned to `$tmp'.
21907 $debug ||
21909 tmp= ac_tmp=
21910 trap 'exit_status=$?
21911 : "${ac_tmp:=$tmp}"
21912 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21914 trap 'as_fn_exit 1' 1 2 13 15
21916 # Create a (secure) tmp directory for tmp files.
21919 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21920 test -d "$tmp"
21921 } ||
21923 tmp=./conf$$-$RANDOM
21924 (umask 077 && mkdir "$tmp")
21925 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21926 ac_tmp=$tmp
21928 # Set up the scripts for CONFIG_FILES section.
21929 # No need to generate them if there are no CONFIG_FILES.
21930 # This happens for instance with `./config.status config.h'.
21931 if test -n "$CONFIG_FILES"; then
21934 ac_cr=`echo X | tr X '\015'`
21935 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21936 # But we know of no other shell where ac_cr would be empty at this
21937 # point, so we can use a bashism as a fallback.
21938 if test "x$ac_cr" = x; then
21939 eval ac_cr=\$\'\\r\'
21941 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21942 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21943 ac_cs_awk_cr='\\r'
21944 else
21945 ac_cs_awk_cr=$ac_cr
21948 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21949 _ACEOF
21953 echo "cat >conf$$subs.awk <<_ACEOF" &&
21954 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21955 echo "_ACEOF"
21956 } >conf$$subs.sh ||
21957 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21958 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21959 ac_delim='%!_!# '
21960 for ac_last_try in false false false false false :; do
21961 . ./conf$$subs.sh ||
21962 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21964 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21965 if test $ac_delim_n = $ac_delim_num; then
21966 break
21967 elif $ac_last_try; then
21968 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21969 else
21970 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21972 done
21973 rm -f conf$$subs.sh
21975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21976 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21977 _ACEOF
21978 sed -n '
21980 s/^/S["/; s/!.*/"]=/
21983 s/^[^!]*!//
21984 :repl
21985 t repl
21986 s/'"$ac_delim"'$//
21987 t delim
21990 s/\(.\{148\}\)..*/\1/
21991 t more1
21992 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21995 b repl
21996 :more1
21997 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22000 s/.\{148\}//
22001 t nl
22002 :delim
22004 s/\(.\{148\}\)..*/\1/
22005 t more2
22006 s/["\\]/\\&/g; s/^/"/; s/$/"/
22009 :more2
22010 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22013 s/.\{148\}//
22014 t delim
22015 ' <conf$$subs.awk | sed '
22016 /^[^""]/{
22018 s/\n//
22020 ' >>$CONFIG_STATUS || ac_write_fail=1
22021 rm -f conf$$subs.awk
22022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22023 _ACAWK
22024 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22025 for (key in S) S_is_set[key] = 1
22026 FS = "\a"
22030 line = $ 0
22031 nfields = split(line, field, "@")
22032 substed = 0
22033 len = length(field[1])
22034 for (i = 2; i < nfields; i++) {
22035 key = field[i]
22036 keylen = length(key)
22037 if (S_is_set[key]) {
22038 value = S[key]
22039 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22040 len += length(value) + length(field[++i])
22041 substed = 1
22042 } else
22043 len += 1 + keylen
22046 print line
22049 _ACAWK
22050 _ACEOF
22051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22052 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22053 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22054 else
22056 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22057 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22058 _ACEOF
22060 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22061 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22062 # trailing colons and then remove the whole line if VPATH becomes empty
22063 # (actually we leave an empty line to preserve line numbers).
22064 if test "x$srcdir" = x.; then
22065 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22067 s///
22068 s/^/:/
22069 s/[ ]*$/:/
22070 s/:\$(srcdir):/:/g
22071 s/:\${srcdir}:/:/g
22072 s/:@srcdir@:/:/g
22073 s/^:*//
22074 s/:*$//
22076 s/\(=[ ]*\).*/\1/
22078 s/\n//
22079 s/^[^=]*=[ ]*$//
22083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22084 fi # test -n "$CONFIG_FILES"
22086 # Set up the scripts for CONFIG_HEADERS section.
22087 # No need to generate them if there are no CONFIG_HEADERS.
22088 # This happens for instance with `./config.status Makefile'.
22089 if test -n "$CONFIG_HEADERS"; then
22090 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22091 BEGIN {
22092 _ACEOF
22094 # Transform confdefs.h into an awk script `defines.awk', embedded as
22095 # here-document in config.status, that substitutes the proper values into
22096 # config.h.in to produce config.h.
22098 # Create a delimiter string that does not exist in confdefs.h, to ease
22099 # handling of long lines.
22100 ac_delim='%!_!# '
22101 for ac_last_try in false false :; do
22102 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22103 if test -z "$ac_tt"; then
22104 break
22105 elif $ac_last_try; then
22106 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22107 else
22108 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22110 done
22112 # For the awk script, D is an array of macro values keyed by name,
22113 # likewise P contains macro parameters if any. Preserve backslash
22114 # newline sequences.
22116 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22117 sed -n '
22118 s/.\{148\}/&'"$ac_delim"'/g
22119 t rset
22120 :rset
22121 s/^[ ]*#[ ]*define[ ][ ]*/ /
22122 t def
22124 :def
22125 s/\\$//
22126 t bsnl
22127 s/["\\]/\\&/g
22128 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22129 D["\1"]=" \3"/p
22130 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22132 :bsnl
22133 s/["\\]/\\&/g
22134 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22135 D["\1"]=" \3\\\\\\n"\\/p
22136 t cont
22137 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22138 t cont
22140 :cont
22142 s/.\{148\}/&'"$ac_delim"'/g
22143 t clear
22144 :clear
22145 s/\\$//
22146 t bsnlc
22147 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22149 :bsnlc
22150 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22151 b cont
22152 ' <confdefs.h | sed '
22153 s/'"$ac_delim"'/"\\\
22154 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22157 for (key in D) D_is_set[key] = 1
22158 FS = "\a"
22160 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22161 line = \$ 0
22162 split(line, arg, " ")
22163 if (arg[1] == "#") {
22164 defundef = arg[2]
22165 mac1 = arg[3]
22166 } else {
22167 defundef = substr(arg[1], 2)
22168 mac1 = arg[2]
22170 split(mac1, mac2, "(") #)
22171 macro = mac2[1]
22172 prefix = substr(line, 1, index(line, defundef) - 1)
22173 if (D_is_set[macro]) {
22174 # Preserve the white space surrounding the "#".
22175 print prefix "define", macro P[macro] D[macro]
22176 next
22177 } else {
22178 # Replace #undef with comments. This is necessary, for example,
22179 # in the case of _POSIX_SOURCE, which is predefined and required
22180 # on some systems where configure will not decide to define it.
22181 if (defundef == "undef") {
22182 print "/*", prefix defundef, macro, "*/"
22183 next
22187 { print }
22188 _ACAWK
22189 _ACEOF
22190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22191 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22192 fi # test -n "$CONFIG_HEADERS"
22195 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22196 shift
22197 for ac_tag
22199 case $ac_tag in
22200 :[FHLC]) ac_mode=$ac_tag; continue;;
22201 esac
22202 case $ac_mode$ac_tag in
22203 :[FHL]*:*);;
22204 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22205 :[FH]-) ac_tag=-:-;;
22206 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22207 esac
22208 ac_save_IFS=$IFS
22209 IFS=:
22210 set x $ac_tag
22211 IFS=$ac_save_IFS
22212 shift
22213 ac_file=$1
22214 shift
22216 case $ac_mode in
22217 :L) ac_source=$1;;
22218 :[FH])
22219 ac_file_inputs=
22220 for ac_f
22222 case $ac_f in
22223 -) ac_f="$ac_tmp/stdin";;
22224 *) # Look for the file first in the build tree, then in the source tree
22225 # (if the path is not absolute). The absolute path cannot be DOS-style,
22226 # because $ac_f cannot contain `:'.
22227 test -f "$ac_f" ||
22228 case $ac_f in
22229 [\\/$]*) false;;
22230 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22231 esac ||
22232 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22233 esac
22234 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22235 as_fn_append ac_file_inputs " '$ac_f'"
22236 done
22238 # Let's still pretend it is `configure' which instantiates (i.e., don't
22239 # use $as_me), people would be surprised to read:
22240 # /* config.h. Generated by config.status. */
22241 configure_input='Generated from '`
22242 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22243 `' by configure.'
22244 if test x"$ac_file" != x-; then
22245 configure_input="$ac_file. $configure_input"
22246 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22247 $as_echo "$as_me: creating $ac_file" >&6;}
22249 # Neutralize special characters interpreted by sed in replacement strings.
22250 case $configure_input in #(
22251 *\&* | *\|* | *\\* )
22252 ac_sed_conf_input=`$as_echo "$configure_input" |
22253 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22254 *) ac_sed_conf_input=$configure_input;;
22255 esac
22257 case $ac_tag in
22258 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22259 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22260 esac
22262 esac
22264 ac_dir=`$as_dirname -- "$ac_file" ||
22265 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22266 X"$ac_file" : 'X\(//\)[^/]' \| \
22267 X"$ac_file" : 'X\(//\)$' \| \
22268 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22269 $as_echo X"$ac_file" |
22270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22271 s//\1/
22274 /^X\(\/\/\)[^/].*/{
22275 s//\1/
22278 /^X\(\/\/\)$/{
22279 s//\1/
22282 /^X\(\/\).*/{
22283 s//\1/
22286 s/.*/./; q'`
22287 as_dir="$ac_dir"; as_fn_mkdir_p
22288 ac_builddir=.
22290 case "$ac_dir" in
22291 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22293 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22294 # A ".." for each directory in $ac_dir_suffix.
22295 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22296 case $ac_top_builddir_sub in
22297 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22298 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22299 esac ;;
22300 esac
22301 ac_abs_top_builddir=$ac_pwd
22302 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22303 # for backward compatibility:
22304 ac_top_builddir=$ac_top_build_prefix
22306 case $srcdir in
22307 .) # We are building in place.
22308 ac_srcdir=.
22309 ac_top_srcdir=$ac_top_builddir_sub
22310 ac_abs_top_srcdir=$ac_pwd ;;
22311 [\\/]* | ?:[\\/]* ) # Absolute name.
22312 ac_srcdir=$srcdir$ac_dir_suffix;
22313 ac_top_srcdir=$srcdir
22314 ac_abs_top_srcdir=$srcdir ;;
22315 *) # Relative name.
22316 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22317 ac_top_srcdir=$ac_top_build_prefix$srcdir
22318 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22319 esac
22320 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22323 case $ac_mode in
22326 # CONFIG_FILE
22329 _ACEOF
22331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22332 # If the template does not know about datarootdir, expand it.
22333 # FIXME: This hack should be removed a few years after 2.60.
22334 ac_datarootdir_hack=; ac_datarootdir_seen=
22335 ac_sed_dataroot='
22336 /datarootdir/ {
22340 /@datadir@/p
22341 /@docdir@/p
22342 /@infodir@/p
22343 /@localedir@/p
22344 /@mandir@/p'
22345 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22346 *datarootdir*) ac_datarootdir_seen=yes;;
22347 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22349 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22350 _ACEOF
22351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22352 ac_datarootdir_hack='
22353 s&@datadir@&$datadir&g
22354 s&@docdir@&$docdir&g
22355 s&@infodir@&$infodir&g
22356 s&@localedir@&$localedir&g
22357 s&@mandir@&$mandir&g
22358 s&\\\${datarootdir}&$datarootdir&g' ;;
22359 esac
22360 _ACEOF
22362 # Neutralize VPATH when `$srcdir' = `.'.
22363 # Shell code in configure.ac might set extrasub.
22364 # FIXME: do we really want to maintain this feature?
22365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22366 ac_sed_extra="$ac_vpsub
22367 $extrasub
22368 _ACEOF
22369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22371 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22372 s|@configure_input@|$ac_sed_conf_input|;t t
22373 s&@top_builddir@&$ac_top_builddir_sub&;t t
22374 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22375 s&@srcdir@&$ac_srcdir&;t t
22376 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22377 s&@top_srcdir@&$ac_top_srcdir&;t t
22378 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22379 s&@builddir@&$ac_builddir&;t t
22380 s&@abs_builddir@&$ac_abs_builddir&;t t
22381 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22382 $ac_datarootdir_hack
22384 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22385 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22387 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22388 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22389 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22390 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22392 which seems to be undefined. Please make sure it is defined" >&5
22393 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22394 which seems to be undefined. Please make sure it is defined" >&2;}
22396 rm -f "$ac_tmp/stdin"
22397 case $ac_file in
22398 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22399 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22400 esac \
22401 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22405 # CONFIG_HEADER
22407 if test x"$ac_file" != x-; then
22409 $as_echo "/* $configure_input */" \
22410 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22411 } >"$ac_tmp/config.h" \
22412 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22413 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22414 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22415 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22416 else
22417 rm -f "$ac_file"
22418 mv "$ac_tmp/config.h" "$ac_file" \
22419 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22421 else
22422 $as_echo "/* $configure_input */" \
22423 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22424 || as_fn_error $? "could not create -" "$LINENO" 5
22429 # CONFIG_LINK
22432 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22434 else
22435 # Prefer the file from the source tree if names are identical.
22436 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22437 ac_source=$srcdir/$ac_source
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22441 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22443 if test ! -r "$ac_source"; then
22444 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22446 rm -f "$ac_file"
22448 # Try a relative symlink, then a hard link, then a copy.
22449 case $ac_source in
22450 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22451 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22452 esac
22453 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22454 ln "$ac_source" "$ac_file" 2>/dev/null ||
22455 cp -p "$ac_source" "$ac_file" ||
22456 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22459 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22460 $as_echo "$as_me: executing $ac_file commands" >&6;}
22462 esac
22465 case $ac_file$ac_mode in
22466 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22467 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22468 "Makefile":C) wine_fn_output_makefile Makefile ;;
22470 esac
22471 done # for ac_tag
22474 as_fn_exit 0
22475 _ACEOF
22476 ac_clean_files=$ac_clean_files_save
22478 test $ac_write_fail = 0 ||
22479 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22482 # configure is writing to config.log, and then calls config.status.
22483 # config.status does its own redirection, appending to config.log.
22484 # Unfortunately, on DOS this fails, as config.log is still kept open
22485 # by configure, so config.status won't be able to write to it; its
22486 # output is simply discarded. So we exec the FD to /dev/null,
22487 # effectively closing config.log, so it can be properly (re)opened and
22488 # appended to by config.status. When coming back to configure, we
22489 # need to make the FD available again.
22490 if test "$no_create" != yes; then
22491 ac_cs_success=:
22492 ac_config_status_args=
22493 test "$silent" = yes &&
22494 ac_config_status_args="$ac_config_status_args --quiet"
22495 exec 5>/dev/null
22496 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22497 exec 5>>config.log
22498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22499 # would make configure fail if this is the last instruction.
22500 $ac_cs_success || as_fn_exit 1
22502 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22504 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22508 if test "$no_create" = "yes"
22509 then
22510 exit 0
22513 ac_save_IFS="$IFS"
22514 if test "x$wine_notices" != x; then
22515 echo >&6
22516 IFS="|"
22517 for msg in $wine_notices; do
22518 IFS="$ac_save_IFS"
22519 if ${msg:+false} :; then :
22521 else
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22523 $as_echo "$as_me: $msg" >&6;}
22525 done
22527 IFS="|"
22528 for msg in $wine_warnings; do
22529 IFS="$ac_save_IFS"
22530 if ${msg:+false} :; then :
22532 else
22533 echo >&2
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22535 $as_echo "$as_me: WARNING: $msg" >&2;}
22537 done
22538 IFS="$ac_save_IFS"
22540 $as_echo "
22541 $as_me: Finished. Do '${ac_make}' to compile Wine.
22542 " >&6