Release 4.7.
[wine.git] / configure
blob653e97623f4b23018d0b486d20359a507196742e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.7.
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.7'
584 PACKAGE_STRING='Wine 4.7'
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 BUILTINFLAG
636 EXCESS_PRECISION_CFLAGS
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.7 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.7:";;
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.7
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.7, 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
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5896 $as_echo_n "checking whether bison is recent enough... " >&6; }
5897 if ${wine_cv_recent_bison+:} false; then :
5898 $as_echo_n "(cached) " >&6
5899 else
5900 cat >conftest.y <<EOF
5901 %define parse.error verbose
5903 empty: ;
5905 if $BISON conftest.y >/dev/null 2>&5
5906 then
5907 wine_cv_recent_bison=yes
5908 else
5909 wine_cv_recent_bison=no
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5913 $as_echo "$wine_cv_recent_bison" >&6; }
5914 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
5916 if test -n "$ac_tool_prefix"; then
5917 for ac_prog in ar gar
5919 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5920 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if ${ac_cv_prog_AR+:} false; then :
5924 $as_echo_n "(cached) " >&6
5925 else
5926 if test -n "$AR"; then
5927 ac_cv_prog_AR="$AR" # Let the user override the test.
5928 else
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5936 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5938 break 2
5940 done
5941 done
5942 IFS=$as_save_IFS
5946 AR=$ac_cv_prog_AR
5947 if test -n "$AR"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5949 $as_echo "$AR" >&6; }
5950 else
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5956 test -n "$AR" && break
5957 done
5959 if test -z "$AR"; then
5960 ac_ct_AR=$AR
5961 for ac_prog in ar gar
5963 # Extract the first word of "$ac_prog", so it can be a program name with args.
5964 set dummy $ac_prog; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5968 $as_echo_n "(cached) " >&6
5969 else
5970 if test -n "$ac_ct_AR"; then
5971 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5976 IFS=$as_save_IFS
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_ac_ct_AR="$ac_prog"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 break 2
5984 done
5985 done
5986 IFS=$as_save_IFS
5990 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5991 if test -n "$ac_ct_AR"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5993 $as_echo "$ac_ct_AR" >&6; }
5994 else
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
6000 test -n "$ac_ct_AR" && break
6001 done
6003 if test "x$ac_ct_AR" = x; then
6004 AR="ar"
6005 else
6006 case $cross_compiling:$ac_tool_warned in
6007 yes:)
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6010 ac_tool_warned=yes ;;
6011 esac
6012 AR=$ac_ct_AR
6016 if test -n "$ac_tool_prefix"; then
6017 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6018 set dummy ${ac_tool_prefix}strip; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_STRIP+:} false; then :
6022 $as_echo_n "(cached) " >&6
6023 else
6024 if test -n "$STRIP"; then
6025 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 STRIP=$ac_cv_prog_STRIP
6045 if test -n "$STRIP"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6047 $as_echo "$STRIP" >&6; }
6048 else
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6055 if test -z "$ac_cv_prog_STRIP"; then
6056 ac_ct_STRIP=$STRIP
6057 # Extract the first word of "strip", so it can be a program name with args.
6058 set dummy strip; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6062 $as_echo_n "(cached) " >&6
6063 else
6064 if test -n "$ac_ct_STRIP"; then
6065 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6070 IFS=$as_save_IFS
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_ac_ct_STRIP="strip"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 break 2
6078 done
6079 done
6080 IFS=$as_save_IFS
6084 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6085 if test -n "$ac_ct_STRIP"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6087 $as_echo "$ac_ct_STRIP" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6093 if test "x$ac_ct_STRIP" = x; then
6094 STRIP="strip"
6095 else
6096 case $cross_compiling:$ac_tool_warned in
6097 yes:)
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6100 ac_tool_warned=yes ;;
6101 esac
6102 STRIP=$ac_ct_STRIP
6104 else
6105 STRIP="$ac_cv_prog_STRIP"
6108 if test -n "$ac_tool_prefix"; then
6109 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6110 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 $as_echo_n "checking for $ac_word... " >&6; }
6113 if ${ac_cv_prog_RANLIB+:} false; then :
6114 $as_echo_n "(cached) " >&6
6115 else
6116 if test -n "$RANLIB"; then
6117 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6118 else
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH
6122 IFS=$as_save_IFS
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6126 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 break 2
6130 done
6131 done
6132 IFS=$as_save_IFS
6136 RANLIB=$ac_cv_prog_RANLIB
6137 if test -n "$RANLIB"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6139 $as_echo "$RANLIB" >&6; }
6140 else
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 $as_echo "no" >&6; }
6147 if test -z "$ac_cv_prog_RANLIB"; then
6148 ac_ct_RANLIB=$RANLIB
6149 # Extract the first word of "ranlib", so it can be a program name with args.
6150 set dummy ranlib; ac_word=$2
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 $as_echo_n "checking for $ac_word... " >&6; }
6153 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 if test -n "$ac_ct_RANLIB"; then
6157 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6158 else
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 for as_dir in $PATH
6162 IFS=$as_save_IFS
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6166 ac_cv_prog_ac_ct_RANLIB="ranlib"
6167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6168 break 2
6170 done
6171 done
6172 IFS=$as_save_IFS
6176 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6177 if test -n "$ac_ct_RANLIB"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6179 $as_echo "$ac_ct_RANLIB" >&6; }
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6185 if test "x$ac_ct_RANLIB" = x; then
6186 RANLIB=":"
6187 else
6188 case $cross_compiling:$ac_tool_warned in
6189 yes:)
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6192 ac_tool_warned=yes ;;
6193 esac
6194 RANLIB=$ac_ct_RANLIB
6196 else
6197 RANLIB="$ac_cv_prog_RANLIB"
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6201 $as_echo_n "checking whether ln -s works... " >&6; }
6202 LN_S=$as_ln_s
6203 if test "$LN_S" = "ln -s"; then
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6205 $as_echo "yes" >&6; }
6206 else
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6208 $as_echo "no, using $LN_S" >&6; }
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6212 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6213 if ${ac_cv_path_GREP+:} false; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 if test -z "$GREP"; then
6217 ac_path_GREP_found=false
6218 # Loop through the user's path and test for each of PROGNAME-LIST
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6222 IFS=$as_save_IFS
6223 test -z "$as_dir" && as_dir=.
6224 for ac_prog in grep ggrep; do
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6227 as_fn_executable_p "$ac_path_GREP" || continue
6228 # Check for GNU ac_path_GREP and select it if it is found.
6229 # Check for GNU $ac_path_GREP
6230 case `"$ac_path_GREP" --version 2>&1` in
6231 *GNU*)
6232 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6234 ac_count=0
6235 $as_echo_n 0123456789 >"conftest.in"
6236 while :
6238 cat "conftest.in" "conftest.in" >"conftest.tmp"
6239 mv "conftest.tmp" "conftest.in"
6240 cp "conftest.in" "conftest.nl"
6241 $as_echo 'GREP' >> "conftest.nl"
6242 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6243 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6244 as_fn_arith $ac_count + 1 && ac_count=$as_val
6245 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6246 # Best one so far, save it but keep looking for a better one
6247 ac_cv_path_GREP="$ac_path_GREP"
6248 ac_path_GREP_max=$ac_count
6250 # 10*(2^10) chars as input seems more than enough
6251 test $ac_count -gt 10 && break
6252 done
6253 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6254 esac
6256 $ac_path_GREP_found && break 3
6257 done
6258 done
6259 done
6260 IFS=$as_save_IFS
6261 if test -z "$ac_cv_path_GREP"; then
6262 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6264 else
6265 ac_cv_path_GREP=$GREP
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6270 $as_echo "$ac_cv_path_GREP" >&6; }
6271 GREP="$ac_cv_path_GREP"
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6275 $as_echo_n "checking for egrep... " >&6; }
6276 if ${ac_cv_path_EGREP+:} false; then :
6277 $as_echo_n "(cached) " >&6
6278 else
6279 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6280 then ac_cv_path_EGREP="$GREP -E"
6281 else
6282 if test -z "$EGREP"; then
6283 ac_path_EGREP_found=false
6284 # Loop through the user's path and test for each of PROGNAME-LIST
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6288 IFS=$as_save_IFS
6289 test -z "$as_dir" && as_dir=.
6290 for ac_prog in egrep; do
6291 for ac_exec_ext in '' $ac_executable_extensions; do
6292 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6293 as_fn_executable_p "$ac_path_EGREP" || continue
6294 # Check for GNU ac_path_EGREP and select it if it is found.
6295 # Check for GNU $ac_path_EGREP
6296 case `"$ac_path_EGREP" --version 2>&1` in
6297 *GNU*)
6298 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6300 ac_count=0
6301 $as_echo_n 0123456789 >"conftest.in"
6302 while :
6304 cat "conftest.in" "conftest.in" >"conftest.tmp"
6305 mv "conftest.tmp" "conftest.in"
6306 cp "conftest.in" "conftest.nl"
6307 $as_echo 'EGREP' >> "conftest.nl"
6308 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6309 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6310 as_fn_arith $ac_count + 1 && ac_count=$as_val
6311 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6312 # Best one so far, save it but keep looking for a better one
6313 ac_cv_path_EGREP="$ac_path_EGREP"
6314 ac_path_EGREP_max=$ac_count
6316 # 10*(2^10) chars as input seems more than enough
6317 test $ac_count -gt 10 && break
6318 done
6319 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6320 esac
6322 $ac_path_EGREP_found && break 3
6323 done
6324 done
6325 done
6326 IFS=$as_save_IFS
6327 if test -z "$ac_cv_path_EGREP"; then
6328 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6330 else
6331 ac_cv_path_EGREP=$EGREP
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6337 $as_echo "$ac_cv_path_EGREP" >&6; }
6338 EGREP="$ac_cv_path_EGREP"
6341 # Extract the first word of "ldconfig", so it can be a program name with args.
6342 set dummy ldconfig; ac_word=$2
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6344 $as_echo_n "checking for $ac_word... " >&6; }
6345 if ${ac_cv_path_LDCONFIG+:} false; then :
6346 $as_echo_n "(cached) " >&6
6347 else
6348 case $LDCONFIG in
6349 [\\/]* | ?:[\\/]*)
6350 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 for as_dir in /sbin /usr/sbin $PATH
6356 IFS=$as_save_IFS
6357 test -z "$as_dir" && as_dir=.
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6360 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 break 2
6364 done
6365 done
6366 IFS=$as_save_IFS
6368 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6370 esac
6372 LDCONFIG=$ac_cv_path_LDCONFIG
6373 if test -n "$LDCONFIG"; then
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6375 $as_echo "$LDCONFIG" >&6; }
6376 else
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6378 $as_echo "no" >&6; }
6382 for ac_prog in msgfmt
6384 # Extract the first word of "$ac_prog", so it can be a program name with args.
6385 set dummy $ac_prog; ac_word=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387 $as_echo_n "checking for $ac_word... " >&6; }
6388 if ${ac_cv_prog_MSGFMT+:} false; then :
6389 $as_echo_n "(cached) " >&6
6390 else
6391 if test -n "$MSGFMT"; then
6392 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6393 else
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in $PATH
6397 IFS=$as_save_IFS
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_prog_MSGFMT="$ac_prog"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 break 2
6405 done
6406 done
6407 IFS=$as_save_IFS
6411 MSGFMT=$ac_cv_prog_MSGFMT
6412 if test -n "$MSGFMT"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6414 $as_echo "$MSGFMT" >&6; }
6415 else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6421 test -n "$MSGFMT" && break
6422 done
6423 test -n "$MSGFMT" || MSGFMT="false"
6425 if ${ac_tool_prefix+:} false; then :
6426 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6427 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 if test -n "$PKG_CONFIG"; then
6434 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6435 else
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in $PATH
6439 IFS=$as_save_IFS
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 break 2
6447 done
6448 done
6449 IFS=$as_save_IFS
6453 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6454 if test -n "$PKG_CONFIG"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6456 $as_echo "$PKG_CONFIG" >&6; }
6457 else
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6464 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6465 if test "x$cross_compiling" = xyes; then :
6467 else
6468 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6469 # Extract the first word of "pkg-config", so it can be a program name with args.
6470 set dummy pkg-config; ac_word=$2
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6472 $as_echo_n "checking for $ac_word... " >&6; }
6473 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6474 $as_echo_n "(cached) " >&6
6475 else
6476 if test -n "$PKG_CONFIG"; then
6477 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6478 else
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 for as_dir in $PATH
6482 IFS=$as_save_IFS
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6486 ac_cv_prog_PKG_CONFIG="pkg-config"
6487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 break 2
6490 done
6491 done
6492 IFS=$as_save_IFS
6496 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6497 if test -n "$PKG_CONFIG"; then
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6499 $as_echo "$PKG_CONFIG" >&6; }
6500 else
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 $as_echo "no" >&6; }
6507 else
6508 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6511 if test "x$enable_maintainer_mode" != "xyes"
6512 then
6513 FONTFORGE=""
6514 RSVG=""
6515 CONVERT=""
6516 ICOTOOL=""
6517 else
6518 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6519 for ac_prog in fontforge
6521 # Extract the first word of "$ac_prog", so it can be a program name with args.
6522 set dummy $ac_prog; ac_word=$2
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6524 $as_echo_n "checking for $ac_word... " >&6; }
6525 if ${ac_cv_prog_FONTFORGE+:} false; then :
6526 $as_echo_n "(cached) " >&6
6527 else
6528 if test -n "$FONTFORGE"; then
6529 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6530 else
6531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 for as_dir in $PATH
6534 IFS=$as_save_IFS
6535 test -z "$as_dir" && as_dir=.
6536 for ac_exec_ext in '' $ac_executable_extensions; do
6537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6538 ac_cv_prog_FONTFORGE="$ac_prog"
6539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 break 2
6542 done
6543 done
6544 IFS=$as_save_IFS
6548 FONTFORGE=$ac_cv_prog_FONTFORGE
6549 if test -n "$FONTFORGE"; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6551 $as_echo "$FONTFORGE" >&6; }
6552 else
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6554 $as_echo "no" >&6; }
6558 test -n "$FONTFORGE" && break
6559 done
6560 test -n "$FONTFORGE" || FONTFORGE="false"
6562 for ac_prog in rsvg-convert rsvg
6564 # Extract the first word of "$ac_prog", so it can be a program name with args.
6565 set dummy $ac_prog; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 $as_echo_n "checking for $ac_word... " >&6; }
6568 if ${ac_cv_prog_RSVG+:} false; then :
6569 $as_echo_n "(cached) " >&6
6570 else
6571 if test -n "$RSVG"; then
6572 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6573 else
6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6575 for as_dir in $PATH
6577 IFS=$as_save_IFS
6578 test -z "$as_dir" && as_dir=.
6579 for ac_exec_ext in '' $ac_executable_extensions; do
6580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6581 ac_cv_prog_RSVG="$ac_prog"
6582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6583 break 2
6585 done
6586 done
6587 IFS=$as_save_IFS
6591 RSVG=$ac_cv_prog_RSVG
6592 if test -n "$RSVG"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6594 $as_echo "$RSVG" >&6; }
6595 else
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6597 $as_echo "no" >&6; }
6601 test -n "$RSVG" && break
6602 done
6603 test -n "$RSVG" || RSVG="false"
6605 for ac_prog in convert
6607 # Extract the first word of "$ac_prog", so it can be a program name with args.
6608 set dummy $ac_prog; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if ${ac_cv_prog_CONVERT+:} false; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 if test -n "$CONVERT"; then
6615 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6620 IFS=$as_save_IFS
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6624 ac_cv_prog_CONVERT="$ac_prog"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 CONVERT=$ac_cv_prog_CONVERT
6635 if test -n "$CONVERT"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6637 $as_echo "$CONVERT" >&6; }
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6644 test -n "$CONVERT" && break
6645 done
6646 test -n "$CONVERT" || CONVERT="false"
6648 for ac_prog in icotool
6650 # Extract the first word of "$ac_prog", so it can be a program name with args.
6651 set dummy $ac_prog; ac_word=$2
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 $as_echo_n "checking for $ac_word... " >&6; }
6654 if ${ac_cv_prog_ICOTOOL+:} false; then :
6655 $as_echo_n "(cached) " >&6
6656 else
6657 if test -n "$ICOTOOL"; then
6658 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6659 else
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 for as_dir in $PATH
6663 IFS=$as_save_IFS
6664 test -z "$as_dir" && as_dir=.
6665 for ac_exec_ext in '' $ac_executable_extensions; do
6666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6667 ac_cv_prog_ICOTOOL="$ac_prog"
6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 break 2
6671 done
6672 done
6673 IFS=$as_save_IFS
6677 ICOTOOL=$ac_cv_prog_ICOTOOL
6678 if test -n "$ICOTOOL"; then
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6680 $as_echo "$ICOTOOL" >&6; }
6681 else
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 $as_echo "no" >&6; }
6687 test -n "$ICOTOOL" && break
6688 done
6689 test -n "$ICOTOOL" || ICOTOOL="false"
6691 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6692 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6694 if test "$CONVERT" = false
6695 then
6696 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6697 else
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6699 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6700 convert_version=`convert --version | head -n1`
6701 if test "x$convert_version" != "x"
6702 then
6703 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6704 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6705 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6706 then
6707 CONVERT=false
6710 if test "$CONVERT" = false
6711 then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6713 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6714 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6715 else
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6717 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6721 if test "$ICOTOOL" = false
6722 then
6723 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6724 else
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6726 $as_echo_n "checking for recent enough icotool... " >&6; }
6727 icotool_version=`icotool --version | head -n1`
6728 if test "x$icotool_version" != "x"
6729 then
6730 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6731 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6732 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6733 then
6734 ICOTOOL=false
6735 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6738 if test "$ICOTOOL" = false
6739 then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6741 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6742 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6743 else
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6745 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6749 with_gettext=yes
6750 with_gettextpo=yes
6753 test "x$with_gettext" != xno || MSGFMT=false
6754 if test "$MSGFMT" != "false"
6755 then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6757 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6758 if ${wine_cv_msgfmt_contexts+:} false; then :
6759 $as_echo_n "(cached) " >&6
6760 else
6761 cat >conftest.po <<EOF
6762 # comment
6763 msgctxt "ctxt"
6764 msgid "id"
6765 msgstr "str"
6767 if $MSGFMT -o /dev/null conftest.po 2>&5
6768 then
6769 wine_cv_msgfmt_contexts=yes
6770 else
6771 wine_cv_msgfmt_contexts=no
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6775 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6776 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6778 if test "$MSGFMT" = false; then :
6779 case "x$with_gettext" in
6780 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6781 xno) ;;
6782 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6783 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6784 esac
6785 enable_po=${enable_po:-no}
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6790 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6791 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6792 $as_echo_n "(cached) " >&6
6793 else
6794 ac_check_lib_save_LIBS=$LIBS
6795 LIBS="-li386 $LIBS"
6796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6797 /* end confdefs.h. */
6799 /* Override any GCC internal prototype to avoid an error.
6800 Use char because int might match the return type of a GCC
6801 builtin and then its argument prototype would still apply. */
6802 #ifdef __cplusplus
6803 extern "C"
6804 #endif
6805 char i386_set_ldt ();
6807 main ()
6809 return i386_set_ldt ();
6811 return 0;
6813 _ACEOF
6814 if ac_fn_c_try_link "$LINENO"; then :
6815 ac_cv_lib_i386_i386_set_ldt=yes
6816 else
6817 ac_cv_lib_i386_i386_set_ldt=no
6819 rm -f core conftest.err conftest.$ac_objext \
6820 conftest$ac_exeext conftest.$ac_ext
6821 LIBS=$ac_check_lib_save_LIBS
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6824 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6825 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6826 cat >>confdefs.h <<_ACEOF
6827 #define HAVE_LIBI386 1
6828 _ACEOF
6830 LIBS="-li386 $LIBS"
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6835 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6836 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6837 $as_echo_n "(cached) " >&6
6838 else
6839 ac_check_lib_save_LIBS=$LIBS
6840 LIBS="-lossaudio $LIBS"
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6844 /* Override any GCC internal prototype to avoid an error.
6845 Use char because int might match the return type of a GCC
6846 builtin and then its argument prototype would still apply. */
6847 #ifdef __cplusplus
6848 extern "C"
6849 #endif
6850 char _oss_ioctl ();
6852 main ()
6854 return _oss_ioctl ();
6856 return 0;
6858 _ACEOF
6859 if ac_fn_c_try_link "$LINENO"; then :
6860 ac_cv_lib_ossaudio__oss_ioctl=yes
6861 else
6862 ac_cv_lib_ossaudio__oss_ioctl=no
6864 rm -f core conftest.err conftest.$ac_objext \
6865 conftest$ac_exeext conftest.$ac_ext
6866 LIBS=$ac_check_lib_save_LIBS
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6869 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6870 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6871 cat >>confdefs.h <<_ACEOF
6872 #define HAVE_LIBOSSAUDIO 1
6873 _ACEOF
6875 LIBS="-lossaudio $LIBS"
6880 OPENGL_LIBS=""
6884 # Check whether --enable-largefile was given.
6885 if test "${enable_largefile+set}" = set; then :
6886 enableval=$enable_largefile;
6889 if test "$enable_largefile" != no; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6892 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6893 if ${ac_cv_sys_largefile_CC+:} false; then :
6894 $as_echo_n "(cached) " >&6
6895 else
6896 ac_cv_sys_largefile_CC=no
6897 if test "$GCC" != yes; then
6898 ac_save_CC=$CC
6899 while :; do
6900 # IRIX 6.2 and later do not support large files by default,
6901 # so use the C compiler's -n32 option if that helps.
6902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6904 #include <sys/types.h>
6905 /* Check that off_t can represent 2**63 - 1 correctly.
6906 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6907 since some C++ compilers masquerading as C compilers
6908 incorrectly reject 9223372036854775807. */
6909 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6910 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6911 && LARGE_OFF_T % 2147483647 == 1)
6912 ? 1 : -1];
6914 main ()
6918 return 0;
6920 _ACEOF
6921 if ac_fn_c_try_compile "$LINENO"; then :
6922 break
6924 rm -f core conftest.err conftest.$ac_objext
6925 CC="$CC -n32"
6926 if ac_fn_c_try_compile "$LINENO"; then :
6927 ac_cv_sys_largefile_CC=' -n32'; break
6929 rm -f core conftest.err conftest.$ac_objext
6930 break
6931 done
6932 CC=$ac_save_CC
6933 rm -f conftest.$ac_ext
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6937 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6938 if test "$ac_cv_sys_largefile_CC" != no; then
6939 CC=$CC$ac_cv_sys_largefile_CC
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6943 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6944 if ${ac_cv_sys_file_offset_bits+:} false; then :
6945 $as_echo_n "(cached) " >&6
6946 else
6947 while :; do
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6950 #include <sys/types.h>
6951 /* Check that off_t can represent 2**63 - 1 correctly.
6952 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6953 since some C++ compilers masquerading as C compilers
6954 incorrectly reject 9223372036854775807. */
6955 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6956 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6957 && LARGE_OFF_T % 2147483647 == 1)
6958 ? 1 : -1];
6960 main ()
6964 return 0;
6966 _ACEOF
6967 if ac_fn_c_try_compile "$LINENO"; then :
6968 ac_cv_sys_file_offset_bits=no; break
6970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 #define _FILE_OFFSET_BITS 64
6974 #include <sys/types.h>
6975 /* Check that off_t can represent 2**63 - 1 correctly.
6976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6977 since some C++ compilers masquerading as C compilers
6978 incorrectly reject 9223372036854775807. */
6979 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6981 && LARGE_OFF_T % 2147483647 == 1)
6982 ? 1 : -1];
6984 main ()
6988 return 0;
6990 _ACEOF
6991 if ac_fn_c_try_compile "$LINENO"; then :
6992 ac_cv_sys_file_offset_bits=64; break
6994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6995 ac_cv_sys_file_offset_bits=unknown
6996 break
6997 done
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7000 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7001 case $ac_cv_sys_file_offset_bits in #(
7002 no | unknown) ;;
7004 cat >>confdefs.h <<_ACEOF
7005 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7006 _ACEOF
7008 esac
7009 rm -rf conftest*
7010 if test $ac_cv_sys_file_offset_bits = unknown; then
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7012 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7013 if ${ac_cv_sys_large_files+:} false; then :
7014 $as_echo_n "(cached) " >&6
7015 else
7016 while :; do
7017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7018 /* end confdefs.h. */
7019 #include <sys/types.h>
7020 /* Check that off_t can represent 2**63 - 1 correctly.
7021 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7022 since some C++ compilers masquerading as C compilers
7023 incorrectly reject 9223372036854775807. */
7024 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7025 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7026 && LARGE_OFF_T % 2147483647 == 1)
7027 ? 1 : -1];
7029 main ()
7033 return 0;
7035 _ACEOF
7036 if ac_fn_c_try_compile "$LINENO"; then :
7037 ac_cv_sys_large_files=no; break
7039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7041 /* end confdefs.h. */
7042 #define _LARGE_FILES 1
7043 #include <sys/types.h>
7044 /* Check that off_t can represent 2**63 - 1 correctly.
7045 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7046 since some C++ compilers masquerading as C compilers
7047 incorrectly reject 9223372036854775807. */
7048 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7049 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7050 && LARGE_OFF_T % 2147483647 == 1)
7051 ? 1 : -1];
7053 main ()
7057 return 0;
7059 _ACEOF
7060 if ac_fn_c_try_compile "$LINENO"; then :
7061 ac_cv_sys_large_files=1; break
7063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7064 ac_cv_sys_large_files=unknown
7065 break
7066 done
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7069 $as_echo "$ac_cv_sys_large_files" >&6; }
7070 case $ac_cv_sys_large_files in #(
7071 no | unknown) ;;
7073 cat >>confdefs.h <<_ACEOF
7074 #define _LARGE_FILES $ac_cv_sys_large_files
7075 _ACEOF
7077 esac
7078 rm -rf conftest*
7085 ac_ext=c
7086 ac_cpp='$CPP $CPPFLAGS'
7087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7091 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7092 # On Suns, sometimes $CPP names a directory.
7093 if test -n "$CPP" && test -d "$CPP"; then
7094 CPP=
7096 if test -z "$CPP"; then
7097 if ${ac_cv_prog_CPP+:} false; then :
7098 $as_echo_n "(cached) " >&6
7099 else
7100 # Double quotes because CPP needs to be expanded
7101 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7103 ac_preproc_ok=false
7104 for ac_c_preproc_warn_flag in '' yes
7106 # Use a header file that comes with gcc, so configuring glibc
7107 # with a fresh cross-compiler works.
7108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7109 # <limits.h> exists even on freestanding compilers.
7110 # On the NeXT, cc -E runs the code through the compiler's parser,
7111 # not just through cpp. "Syntax error" is here to catch this case.
7112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113 /* end confdefs.h. */
7114 #ifdef __STDC__
7115 # include <limits.h>
7116 #else
7117 # include <assert.h>
7118 #endif
7119 Syntax error
7120 _ACEOF
7121 if ac_fn_c_try_cpp "$LINENO"; then :
7123 else
7124 # Broken: fails on valid input.
7125 continue
7127 rm -f conftest.err conftest.i conftest.$ac_ext
7129 # OK, works on sane cases. Now check whether nonexistent headers
7130 # can be detected and how.
7131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7132 /* end confdefs.h. */
7133 #include <ac_nonexistent.h>
7134 _ACEOF
7135 if ac_fn_c_try_cpp "$LINENO"; then :
7136 # Broken: success on invalid input.
7137 continue
7138 else
7139 # Passes both tests.
7140 ac_preproc_ok=:
7141 break
7143 rm -f conftest.err conftest.i conftest.$ac_ext
7145 done
7146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7147 rm -f conftest.i conftest.err conftest.$ac_ext
7148 if $ac_preproc_ok; then :
7149 break
7152 done
7153 ac_cv_prog_CPP=$CPP
7156 CPP=$ac_cv_prog_CPP
7157 else
7158 ac_cv_prog_CPP=$CPP
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7161 $as_echo "$CPP" >&6; }
7162 ac_preproc_ok=false
7163 for ac_c_preproc_warn_flag in '' yes
7165 # Use a header file that comes with gcc, so configuring glibc
7166 # with a fresh cross-compiler works.
7167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7168 # <limits.h> exists even on freestanding compilers.
7169 # On the NeXT, cc -E runs the code through the compiler's parser,
7170 # not just through cpp. "Syntax error" is here to catch this case.
7171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7173 #ifdef __STDC__
7174 # include <limits.h>
7175 #else
7176 # include <assert.h>
7177 #endif
7178 Syntax error
7179 _ACEOF
7180 if ac_fn_c_try_cpp "$LINENO"; then :
7182 else
7183 # Broken: fails on valid input.
7184 continue
7186 rm -f conftest.err conftest.i conftest.$ac_ext
7188 # OK, works on sane cases. Now check whether nonexistent headers
7189 # can be detected and how.
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7192 #include <ac_nonexistent.h>
7193 _ACEOF
7194 if ac_fn_c_try_cpp "$LINENO"; then :
7195 # Broken: success on invalid input.
7196 continue
7197 else
7198 # Passes both tests.
7199 ac_preproc_ok=:
7200 break
7202 rm -f conftest.err conftest.i conftest.$ac_ext
7204 done
7205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7206 rm -f conftest.i conftest.err conftest.$ac_ext
7207 if $ac_preproc_ok; then :
7209 else
7210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7212 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7213 See \`config.log' for more details" "$LINENO" 5; }
7216 ac_ext=c
7217 ac_cpp='$CPP $CPPFLAGS'
7218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7224 $as_echo_n "checking for ANSI C header files... " >&6; }
7225 if ${ac_cv_header_stdc+:} false; then :
7226 $as_echo_n "(cached) " >&6
7227 else
7228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7229 /* end confdefs.h. */
7230 #include <stdlib.h>
7231 #include <stdarg.h>
7232 #include <string.h>
7233 #include <float.h>
7236 main ()
7240 return 0;
7242 _ACEOF
7243 if ac_fn_c_try_compile "$LINENO"; then :
7244 ac_cv_header_stdc=yes
7245 else
7246 ac_cv_header_stdc=no
7248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7250 if test $ac_cv_header_stdc = yes; then
7251 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h. */
7254 #include <string.h>
7256 _ACEOF
7257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7258 $EGREP "memchr" >/dev/null 2>&1; then :
7260 else
7261 ac_cv_header_stdc=no
7263 rm -f conftest*
7267 if test $ac_cv_header_stdc = yes; then
7268 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7271 #include <stdlib.h>
7273 _ACEOF
7274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7275 $EGREP "free" >/dev/null 2>&1; then :
7277 else
7278 ac_cv_header_stdc=no
7280 rm -f conftest*
7284 if test $ac_cv_header_stdc = yes; then
7285 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7286 if test "$cross_compiling" = yes; then :
7288 else
7289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290 /* end confdefs.h. */
7291 #include <ctype.h>
7292 #include <stdlib.h>
7293 #if ((' ' & 0x0FF) == 0x020)
7294 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7295 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7296 #else
7297 # define ISLOWER(c) \
7298 (('a' <= (c) && (c) <= 'i') \
7299 || ('j' <= (c) && (c) <= 'r') \
7300 || ('s' <= (c) && (c) <= 'z'))
7301 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7302 #endif
7304 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7306 main ()
7308 int i;
7309 for (i = 0; i < 256; i++)
7310 if (XOR (islower (i), ISLOWER (i))
7311 || toupper (i) != TOUPPER (i))
7312 return 2;
7313 return 0;
7315 _ACEOF
7316 if ac_fn_c_try_run "$LINENO"; then :
7318 else
7319 ac_cv_header_stdc=no
7321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7322 conftest.$ac_objext conftest.beam conftest.$ac_ext
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7328 $as_echo "$ac_cv_header_stdc" >&6; }
7329 if test $ac_cv_header_stdc = yes; then
7331 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7335 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7336 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7337 inttypes.h stdint.h unistd.h
7338 do :
7339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7340 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7343 cat >>confdefs.h <<_ACEOF
7344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7345 _ACEOF
7349 done
7352 for ac_header in \
7353 AL/al.h \
7354 ApplicationServices/ApplicationServices.h \
7355 AudioToolbox/AudioConverter.h \
7356 AudioUnit/AudioUnit.h \
7357 AudioUnit/AudioComponent.h \
7358 CL/cl.h \
7359 Carbon/Carbon.h \
7360 CommonCrypto/CommonCryptor.h \
7361 CoreAudio/CoreAudio.h \
7362 CoreServices/CoreServices.h \
7363 DiskArbitration/DiskArbitration.h \
7364 EGL/egl.h \
7365 IOKit/IOKitLib.h \
7366 IOKit/hid/IOHIDLib.h \
7367 OpenAL/al.h \
7368 OpenCL/opencl.h \
7369 QuickTime/ImageCompression.h \
7370 Security/Security.h \
7371 alias.h \
7372 arpa/inet.h \
7373 arpa/nameser.h \
7374 asm/types.h \
7375 asm/user.h \
7376 curses.h \
7377 dirent.h \
7378 dlfcn.h \
7379 elf.h \
7380 float.h \
7381 fnmatch.h \
7382 getopt.h \
7383 gettext-po.h \
7384 grp.h \
7385 gsm.h \
7386 gsm/gsm.h \
7387 ieeefp.h \
7388 inet/mib2.h \
7389 kstat.h \
7390 libproc.h \
7391 link.h \
7392 linux/cdrom.h \
7393 linux/compiler.h \
7394 linux/filter.h \
7395 linux/hdreg.h \
7396 linux/hidraw.h \
7397 linux/input.h \
7398 linux/ioctl.h \
7399 linux/joystick.h \
7400 linux/major.h \
7401 linux/param.h \
7402 linux/serial.h \
7403 linux/types.h \
7404 linux/ucdrom.h \
7405 lwp.h \
7406 mach-o/nlist.h \
7407 mach-o/loader.h \
7408 mach/mach.h \
7409 mach/machine.h \
7410 machine/cpu.h \
7411 machine/limits.h \
7412 machine/sysarch.h \
7413 mntent.h \
7414 ncurses.h \
7415 netdb.h \
7416 netinet/in.h \
7417 netinet/in_systm.h \
7418 netinet/tcp.h \
7419 netinet/tcp_fsm.h \
7420 pcap/pcap.h \
7421 poll.h \
7422 port.h \
7423 pthread.h \
7424 pwd.h \
7425 sched.h \
7426 scsi/scsi.h \
7427 scsi/scsi_ioctl.h \
7428 scsi/sg.h \
7429 stdbool.h \
7430 stdint.h \
7431 stropts.h \
7432 sys/attr.h \
7433 sys/auxv.h \
7434 sys/cdio.h \
7435 sys/elf32.h \
7436 sys/epoll.h \
7437 sys/event.h \
7438 sys/exec_elf.h \
7439 sys/filio.h \
7440 sys/ioctl.h \
7441 sys/ipc.h \
7442 sys/limits.h \
7443 sys/link.h \
7444 sys/mman.h \
7445 sys/modem.h \
7446 sys/msg.h \
7447 sys/mtio.h \
7448 sys/param.h \
7449 sys/poll.h \
7450 sys/prctl.h \
7451 sys/protosw.h \
7452 sys/ptrace.h \
7453 sys/queue.h \
7454 sys/resource.h \
7455 sys/scsiio.h \
7456 sys/shm.h \
7457 sys/signal.h \
7458 sys/socket.h \
7459 sys/socketvar.h \
7460 sys/sockio.h \
7461 sys/statvfs.h \
7462 sys/strtio.h \
7463 sys/syscall.h \
7464 sys/sysinfo.h \
7465 sys/tihdr.h \
7466 sys/time.h \
7467 sys/timeout.h \
7468 sys/times.h \
7469 sys/uio.h \
7470 sys/user.h \
7471 sys/utsname.h \
7472 sys/vnode.h \
7473 sys/wait.h \
7474 syscall.h \
7475 termios.h \
7476 unistd.h \
7477 utime.h \
7478 valgrind/memcheck.h \
7479 valgrind/valgrind.h \
7480 zlib.h
7482 do :
7483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7484 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7486 cat >>confdefs.h <<_ACEOF
7487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7488 _ACEOF
7492 done
7494 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7495 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7497 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7502 if test $ac_cv_header_sys_mkdev_h = no; then
7503 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7504 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7506 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7513 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7514 if ${ac_cv_header_stat_broken+:} false; then :
7515 $as_echo_n "(cached) " >&6
7516 else
7517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7518 /* end confdefs.h. */
7519 #include <sys/types.h>
7520 #include <sys/stat.h>
7522 #if defined S_ISBLK && defined S_IFDIR
7523 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7524 #endif
7526 #if defined S_ISBLK && defined S_IFCHR
7527 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7528 #endif
7530 #if defined S_ISLNK && defined S_IFREG
7531 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7532 #endif
7534 #if defined S_ISSOCK && defined S_IFREG
7535 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7536 #endif
7538 _ACEOF
7539 if ac_fn_c_try_compile "$LINENO"; then :
7540 ac_cv_header_stat_broken=no
7541 else
7542 ac_cv_header_stat_broken=yes
7544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7547 $as_echo "$ac_cv_header_stat_broken" >&6; }
7548 if test $ac_cv_header_stat_broken = yes; then
7550 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7556 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7557 do :
7558 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7559 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7560 #ifdef HAVE_SYS_PARAM_H
7561 # include <sys/param.h>
7562 #endif
7564 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7565 cat >>confdefs.h <<_ACEOF
7566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7567 _ACEOF
7571 done
7574 for ac_header in \
7575 netinet/ip.h \
7576 net/if.h \
7577 net/if_arp.h \
7578 net/if_dl.h \
7579 net/if_types.h \
7580 net/route.h \
7581 netinet/if_ether.h \
7582 netinet/if_inarp.h \
7583 netinet/in_pcb.h \
7584 netinet/ip_icmp.h \
7585 netinet/ip_var.h \
7586 netinet/udp.h \
7587 netipx/ipx.h \
7588 sys/un.h \
7590 do :
7591 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7592 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7593 #ifdef HAVE_SYS_SOCKET_H
7594 # include <sys/socket.h>
7595 #endif
7596 #ifdef HAVE_SYS_SOCKETVAR_H
7597 # include <sys/socketvar.h>
7598 #endif
7599 #ifdef HAVE_NET_ROUTE_H
7600 # include <net/route.h>
7601 #endif
7602 #ifdef HAVE_NETINET_IN_H
7603 # include <netinet/in.h>
7604 #endif
7605 #ifdef HAVE_NETINET_IN_SYSTM_H
7606 # include <netinet/in_systm.h>
7607 #endif
7608 #ifdef HAVE_NET_IF_H
7609 # include <net/if.h>
7610 #endif
7611 #ifdef HAVE_NETINET_IP_H
7612 # include <netinet/ip.h>
7613 #endif
7615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7616 cat >>confdefs.h <<_ACEOF
7617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 _ACEOF
7622 done
7625 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7626 do :
7627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7628 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7629 #ifdef HAVE_ALIAS_H
7630 # include <alias.h>
7631 #endif
7632 #ifdef HAVE_SYS_SOCKET_H
7633 # include <sys/socket.h>
7634 #endif
7635 #ifdef HAVE_SYS_SOCKETVAR_H
7636 # include <sys/socketvar.h>
7637 #endif
7638 #ifdef HAVE_SYS_TIMEOUT_H
7639 # include <sys/timeout.h>
7640 #endif
7641 #ifdef HAVE_NETINET_IN_H
7642 # include <netinet/in.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IN_SYSTM_H
7645 # include <netinet/in_systm.h>
7646 #endif
7647 #ifdef HAVE_NETINET_IP_H
7648 # include <netinet/ip.h>
7649 #endif
7650 #ifdef HAVE_NETINET_IP_VAR_H
7651 # include <netinet/ip_var.h>
7652 #endif
7653 #ifdef HAVE_NETINET_IP_ICMP_H
7654 # include <netinet/ip_icmp.h>
7655 #endif
7656 #ifdef HAVE_NETINET_UDP_H
7657 # include <netinet/udp.h>
7658 #endif
7659 #ifdef HAVE_NETINET_TCP_H
7660 # include <netinet/tcp.h>
7661 #endif
7662 #ifdef HAVE_NETINET_TCP_TIMER_H
7663 #include <netinet/tcp_timer.h>
7664 #endif
7666 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7667 cat >>confdefs.h <<_ACEOF
7668 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 _ACEOF
7673 done
7676 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7677 do :
7678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7679 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7680 #ifdef HAVE_ASM_TYPES_H
7681 # include <asm/types.h>
7682 #endif
7683 #ifdef HAVE_SYS_SOCKET_H
7684 # include <sys/socket.h>
7685 #endif
7686 #ifdef HAVE_LINUX_TYPES_H
7687 # include <linux/types.h>
7688 #endif
7690 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7691 cat >>confdefs.h <<_ACEOF
7692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7693 _ACEOF
7697 done
7700 for ac_header in mach-o/dyld_images.h
7701 do :
7702 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7703 # include <stdbool.h>
7704 #endif
7705 #ifdef HAVE_STDINT_H
7706 # include <stdint.h>
7707 #endif
7709 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7710 cat >>confdefs.h <<_ACEOF
7711 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7712 _ACEOF
7716 done
7719 for ac_header in resolv.h
7720 do :
7721 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7722 #ifdef HAVE_SYS_SOCKET_H
7723 # include <sys/socket.h>
7724 #endif
7725 #ifdef HAVE_NETINET_IN_H
7726 # include <netinet/in.h>
7727 #endif
7728 #ifdef HAVE_ARPA_NAMESER_H
7729 # include <arpa/nameser.h>
7730 #endif
7732 if test "x$ac_cv_header_resolv_h" = xyes; then :
7733 cat >>confdefs.h <<_ACEOF
7734 #define HAVE_RESOLV_H 1
7735 _ACEOF
7739 done
7742 for ac_header in ifaddrs.h
7743 do :
7744 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7746 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define HAVE_IFADDRS_H 1
7749 _ACEOF
7753 done
7756 for ac_header in sys/ucontext.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7760 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7761 cat >>confdefs.h <<_ACEOF
7762 #define HAVE_SYS_UCONTEXT_H 1
7763 _ACEOF
7767 done
7770 for ac_header in sys/thr.h
7771 do :
7772 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7773 #ifdef HAVE_SYS_UCONTEXT_H
7774 #include <sys/ucontext.h>
7775 #endif
7777 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define HAVE_SYS_THR_H 1
7780 _ACEOF
7784 done
7787 for ac_header in pthread_np.h
7788 do :
7789 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7790 #include <pthread.h>
7791 #endif
7793 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7794 cat >>confdefs.h <<_ACEOF
7795 #define HAVE_PTHREAD_NP_H 1
7796 _ACEOF
7800 done
7803 for ac_header in linux/videodev2.h
7804 do :
7805 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7806 #include <sys/time.h>
7807 #endif
7808 #include <sys/types.h>
7809 #ifdef HAVE_ASM_TYPES_H
7810 #include <asm/types.h>
7811 #endif
7813 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7814 cat >>confdefs.h <<_ACEOF
7815 #define HAVE_LINUX_VIDEODEV2_H 1
7816 _ACEOF
7820 done
7823 for ac_header in libprocstat.h
7824 do :
7825 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7826 #include <sys/param.h>
7827 #endif
7828 #ifdef HAVE_SYS_QUEUE_H
7829 #include <sys/queue.h>
7830 #endif
7831 #ifdef HAVE_SYS_SOCKET_H
7832 #include <sys/socket.h>
7833 #endif
7835 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7836 cat >>confdefs.h <<_ACEOF
7837 #define HAVE_LIBPROCSTAT_H 1
7838 _ACEOF
7842 done
7846 DLLFLAGS="-D_REENTRANT"
7848 LDRPATH_INSTALL=""
7850 LDRPATH_LOCAL=""
7852 LDEXECFLAGS=""
7854 TOP_INSTALL_LIB=""
7856 TOP_INSTALL_DEV=""
7858 WINELOADER_LDFLAGS=""
7860 WINEPRELOADER_LDFLAGS=""
7862 LIBEXT="so"
7863 DLLEXT=".so"
7864 # Extract the first word of "ldd", so it can be a program name with args.
7865 set dummy ldd; ac_word=$2
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7867 $as_echo_n "checking for $ac_word... " >&6; }
7868 if ${ac_cv_path_LDD+:} false; then :
7869 $as_echo_n "(cached) " >&6
7870 else
7871 case $LDD in
7872 [\\/]* | ?:[\\/]*)
7873 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7877 as_dummy="/sbin:/usr/sbin:$PATH"
7878 for as_dir in $as_dummy
7880 IFS=$as_save_IFS
7881 test -z "$as_dir" && as_dir=.
7882 for ac_exec_ext in '' $ac_executable_extensions; do
7883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7884 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7886 break 2
7888 done
7889 done
7890 IFS=$as_save_IFS
7892 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7894 esac
7896 LDD=$ac_cv_path_LDD
7897 if test -n "$LDD"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7899 $as_echo "$LDD" >&6; }
7900 else
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902 $as_echo "no" >&6; }
7906 if test -n "$ac_tool_prefix"; then
7907 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7908 set dummy ${ac_tool_prefix}otool; ac_word=$2
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7910 $as_echo_n "checking for $ac_word... " >&6; }
7911 if ${ac_cv_prog_OTOOL+:} false; then :
7912 $as_echo_n "(cached) " >&6
7913 else
7914 if test -n "$OTOOL"; then
7915 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7916 else
7917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7918 for as_dir in $PATH
7920 IFS=$as_save_IFS
7921 test -z "$as_dir" && as_dir=.
7922 for ac_exec_ext in '' $ac_executable_extensions; do
7923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7924 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7926 break 2
7928 done
7929 done
7930 IFS=$as_save_IFS
7934 OTOOL=$ac_cv_prog_OTOOL
7935 if test -n "$OTOOL"; then
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7937 $as_echo "$OTOOL" >&6; }
7938 else
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7940 $as_echo "no" >&6; }
7945 if test -z "$ac_cv_prog_OTOOL"; then
7946 ac_ct_OTOOL=$OTOOL
7947 # Extract the first word of "otool", so it can be a program name with args.
7948 set dummy otool; ac_word=$2
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7950 $as_echo_n "checking for $ac_word... " >&6; }
7951 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7952 $as_echo_n "(cached) " >&6
7953 else
7954 if test -n "$ac_ct_OTOOL"; then
7955 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7956 else
7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7958 for as_dir in $PATH
7960 IFS=$as_save_IFS
7961 test -z "$as_dir" && as_dir=.
7962 for ac_exec_ext in '' $ac_executable_extensions; do
7963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7964 ac_cv_prog_ac_ct_OTOOL="otool"
7965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7966 break 2
7968 done
7969 done
7970 IFS=$as_save_IFS
7974 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7975 if test -n "$ac_ct_OTOOL"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7977 $as_echo "$ac_ct_OTOOL" >&6; }
7978 else
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7980 $as_echo "no" >&6; }
7983 if test "x$ac_ct_OTOOL" = x; then
7984 OTOOL="otool"
7985 else
7986 case $cross_compiling:$ac_tool_warned in
7987 yes:)
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7990 ac_tool_warned=yes ;;
7991 esac
7992 OTOOL=$ac_ct_OTOOL
7994 else
7995 OTOOL="$ac_cv_prog_OTOOL"
7998 if test -n "$ac_tool_prefix"; then
7999 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8000 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8002 $as_echo_n "checking for $ac_word... " >&6; }
8003 if ${ac_cv_prog_READELF+:} false; then :
8004 $as_echo_n "(cached) " >&6
8005 else
8006 if test -n "$READELF"; then
8007 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8008 else
8009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8010 for as_dir in $PATH
8012 IFS=$as_save_IFS
8013 test -z "$as_dir" && as_dir=.
8014 for ac_exec_ext in '' $ac_executable_extensions; do
8015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8016 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8018 break 2
8020 done
8021 done
8022 IFS=$as_save_IFS
8026 READELF=$ac_cv_prog_READELF
8027 if test -n "$READELF"; then
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8029 $as_echo "$READELF" >&6; }
8030 else
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8032 $as_echo "no" >&6; }
8037 if test -z "$ac_cv_prog_READELF"; then
8038 ac_ct_READELF=$READELF
8039 # Extract the first word of "readelf", so it can be a program name with args.
8040 set dummy readelf; ac_word=$2
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8042 $as_echo_n "checking for $ac_word... " >&6; }
8043 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8044 $as_echo_n "(cached) " >&6
8045 else
8046 if test -n "$ac_ct_READELF"; then
8047 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8048 else
8049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8050 for as_dir in $PATH
8052 IFS=$as_save_IFS
8053 test -z "$as_dir" && as_dir=.
8054 for ac_exec_ext in '' $ac_executable_extensions; do
8055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8056 ac_cv_prog_ac_ct_READELF="readelf"
8057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 break 2
8060 done
8061 done
8062 IFS=$as_save_IFS
8066 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8067 if test -n "$ac_ct_READELF"; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8069 $as_echo "$ac_ct_READELF" >&6; }
8070 else
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8072 $as_echo "no" >&6; }
8075 if test "x$ac_ct_READELF" = x; then
8076 READELF="true"
8077 else
8078 case $cross_compiling:$ac_tool_warned in
8079 yes:)
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8082 ac_tool_warned=yes ;;
8083 esac
8084 READELF=$ac_ct_READELF
8086 else
8087 READELF="$ac_cv_prog_READELF"
8090 wine_rules_file=conf$$rules.make
8091 rm -f $wine_rules_file
8092 SUBDIRS=""
8094 DISABLED_SUBDIRS=""
8096 CONFIGURE_TARGETS=""
8099 wine_fn_append_file ()
8101 as_fn_append $1 " \\$as_nl $2"
8104 wine_fn_append_rule ()
8106 $as_echo "$1" >>$wine_rules_file
8109 wine_fn_config_makefile ()
8111 wine_fn_append_file SUBDIRS $1
8112 if eval test \"x\$"$2"\" = x"no"; then :
8113 wine_fn_append_file DISABLED_SUBDIRS $1
8117 wine_fn_config_symlink ()
8119 ac_links=$@
8120 wine_fn_append_rule \
8121 "$ac_links:
8122 @./config.status \$@"
8123 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8126 wine_binary="wine"
8127 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8128 WINELOADER_PROGRAMS="$wine_binary"
8130 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8132 case $host_os in
8133 cygwin*|mingw32*)
8134 if test -n "$ac_tool_prefix"; then
8135 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8136 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8138 $as_echo_n "checking for $ac_word... " >&6; }
8139 if ${ac_cv_prog_DLLTOOL+:} false; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 if test -n "$DLLTOOL"; then
8143 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8144 else
8145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8146 for as_dir in $PATH
8148 IFS=$as_save_IFS
8149 test -z "$as_dir" && as_dir=.
8150 for ac_exec_ext in '' $ac_executable_extensions; do
8151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8152 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8154 break 2
8156 done
8157 done
8158 IFS=$as_save_IFS
8162 DLLTOOL=$ac_cv_prog_DLLTOOL
8163 if test -n "$DLLTOOL"; then
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8165 $as_echo "$DLLTOOL" >&6; }
8166 else
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168 $as_echo "no" >&6; }
8173 if test -z "$ac_cv_prog_DLLTOOL"; then
8174 ac_ct_DLLTOOL=$DLLTOOL
8175 # Extract the first word of "dlltool", so it can be a program name with args.
8176 set dummy dlltool; ac_word=$2
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8178 $as_echo_n "checking for $ac_word... " >&6; }
8179 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8180 $as_echo_n "(cached) " >&6
8181 else
8182 if test -n "$ac_ct_DLLTOOL"; then
8183 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8184 else
8185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8186 for as_dir in $PATH
8188 IFS=$as_save_IFS
8189 test -z "$as_dir" && as_dir=.
8190 for ac_exec_ext in '' $ac_executable_extensions; do
8191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8192 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8194 break 2
8196 done
8197 done
8198 IFS=$as_save_IFS
8202 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8203 if test -n "$ac_ct_DLLTOOL"; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8205 $as_echo "$ac_ct_DLLTOOL" >&6; }
8206 else
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8208 $as_echo "no" >&6; }
8211 if test "x$ac_ct_DLLTOOL" = x; then
8212 DLLTOOL="false"
8213 else
8214 case $cross_compiling:$ac_tool_warned in
8215 yes:)
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8218 ac_tool_warned=yes ;;
8219 esac
8220 DLLTOOL=$ac_ct_DLLTOOL
8222 else
8223 DLLTOOL="$ac_cv_prog_DLLTOOL"
8226 LIBEXT="dll"
8227 DLLEXT=""
8228 enable_iphlpapi=${enable_iphlpapi:-no}
8229 enable_kernel32=${enable_kernel32:-no}
8230 enable_ntdll=${enable_ntdll:-no}
8231 enable_ws2_32=${enable_ws2_32:-no}
8232 enable_loader=${enable_loader:-no}
8233 enable_server=${enable_server:-no}
8234 with_x=${with_x:-no}
8235 with_pthread=${with_pthread:-no}
8238 darwin*|macosx*)
8239 for ac_header in libunwind.h
8240 do :
8241 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8243 cat >>confdefs.h <<_ACEOF
8244 #define HAVE_LIBUNWIND_H 1
8245 _ACEOF
8249 done
8251 ac_ext=m
8252 ac_cpp='$OBJCPP $CPPFLAGS'
8253 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8254 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8255 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8257 ac_ext=m
8258 ac_cpp='$OBJCPP $CPPFLAGS'
8259 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8260 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8261 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8262 if test -n "$ac_tool_prefix"; then
8263 for ac_prog in gcc objcc objc cc CC
8265 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8266 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8268 $as_echo_n "checking for $ac_word... " >&6; }
8269 if ${ac_cv_prog_OBJC+:} false; then :
8270 $as_echo_n "(cached) " >&6
8271 else
8272 if test -n "$OBJC"; then
8273 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8274 else
8275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 for as_dir in $PATH
8278 IFS=$as_save_IFS
8279 test -z "$as_dir" && as_dir=.
8280 for ac_exec_ext in '' $ac_executable_extensions; do
8281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8282 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8284 break 2
8286 done
8287 done
8288 IFS=$as_save_IFS
8292 OBJC=$ac_cv_prog_OBJC
8293 if test -n "$OBJC"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8295 $as_echo "$OBJC" >&6; }
8296 else
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8302 test -n "$OBJC" && break
8303 done
8305 if test -z "$OBJC"; then
8306 ac_ct_OBJC=$OBJC
8307 for ac_prog in gcc objcc objc cc CC
8309 # Extract the first word of "$ac_prog", so it can be a program name with args.
8310 set dummy $ac_prog; ac_word=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8312 $as_echo_n "checking for $ac_word... " >&6; }
8313 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 if test -n "$ac_ct_OBJC"; then
8317 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8318 else
8319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8320 for as_dir in $PATH
8322 IFS=$as_save_IFS
8323 test -z "$as_dir" && as_dir=.
8324 for ac_exec_ext in '' $ac_executable_extensions; do
8325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8326 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8328 break 2
8330 done
8331 done
8332 IFS=$as_save_IFS
8336 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8337 if test -n "$ac_ct_OBJC"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8339 $as_echo "$ac_ct_OBJC" >&6; }
8340 else
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8342 $as_echo "no" >&6; }
8346 test -n "$ac_ct_OBJC" && break
8347 done
8349 if test "x$ac_ct_OBJC" = x; then
8350 OBJC="gcc"
8351 else
8352 case $cross_compiling:$ac_tool_warned in
8353 yes:)
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8356 ac_tool_warned=yes ;;
8357 esac
8358 OBJC=$ac_ct_OBJC
8362 # Provide some information about the compiler.
8363 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8364 set X $ac_compile
8365 ac_compiler=$2
8366 for ac_option in --version -v -V -qversion; do
8367 { { ac_try="$ac_compiler $ac_option >&5"
8368 case "(($ac_try" in
8369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8370 *) ac_try_echo=$ac_try;;
8371 esac
8372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8373 $as_echo "$ac_try_echo"; } >&5
8374 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8375 ac_status=$?
8376 if test -s conftest.err; then
8377 sed '10a\
8378 ... rest of stderr output deleted ...
8379 10q' conftest.err >conftest.er1
8380 cat conftest.er1 >&5
8382 rm -f conftest.er1 conftest.err
8383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8384 test $ac_status = 0; }
8385 done
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8388 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8389 if ${ac_cv_objc_compiler_gnu+:} false; then :
8390 $as_echo_n "(cached) " >&6
8391 else
8392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8396 main ()
8398 #ifndef __GNUC__
8399 choke me
8400 #endif
8403 return 0;
8405 _ACEOF
8406 if ac_fn_objc_try_compile "$LINENO"; then :
8407 ac_compiler_gnu=yes
8408 else
8409 ac_compiler_gnu=no
8411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8412 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8416 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8417 if test $ac_compiler_gnu = yes; then
8418 GOBJC=yes
8419 else
8420 GOBJC=
8422 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8423 ac_save_OBJCFLAGS=$OBJCFLAGS
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8425 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8426 if ${ac_cv_prog_objc_g+:} false; then :
8427 $as_echo_n "(cached) " >&6
8428 else
8429 ac_save_objc_werror_flag=$ac_objc_werror_flag
8430 ac_objc_werror_flag=yes
8431 ac_cv_prog_objc_g=no
8432 OBJCFLAGS="-g"
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8437 main ()
8441 return 0;
8443 _ACEOF
8444 if ac_fn_objc_try_compile "$LINENO"; then :
8445 ac_cv_prog_objc_g=yes
8446 else
8447 OBJCFLAGS=""
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8452 main ()
8456 return 0;
8458 _ACEOF
8459 if ac_fn_objc_try_compile "$LINENO"; then :
8461 else
8462 ac_objc_werror_flag=$ac_save_objc_werror_flag
8463 OBJCFLAGS="-g"
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8468 main ()
8472 return 0;
8474 _ACEOF
8475 if ac_fn_objc_try_compile "$LINENO"; then :
8476 ac_cv_prog_objc_g=yes
8478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8483 ac_objc_werror_flag=$ac_save_objc_werror_flag
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8486 $as_echo "$ac_cv_prog_objc_g" >&6; }
8487 if test "$ac_test_OBJCFLAGS" = set; then
8488 OBJCFLAGS=$ac_save_OBJCFLAGS
8489 elif test $ac_cv_prog_objc_g = yes; then
8490 if test "$GOBJC" = yes; then
8491 OBJCFLAGS="-g -O2"
8492 else
8493 OBJCFLAGS="-g"
8495 else
8496 if test "$GOBJC" = yes; then
8497 OBJCFLAGS="-O2"
8498 else
8499 OBJCFLAGS=
8502 ac_ext=m
8503 ac_cpp='$OBJCPP $CPPFLAGS'
8504 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8505 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8506 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8509 ac_ext=m
8510 ac_cpp='$OBJCPP $CPPFLAGS'
8511 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8512 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8513 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8515 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8516 if test -z "$OBJCPP"; then
8517 if ${ac_cv_prog_OBJCPP+:} false; then :
8518 $as_echo_n "(cached) " >&6
8519 else
8520 # Double quotes because OBJCPP needs to be expanded
8521 for OBJCPP in "$OBJC -E" "/lib/cpp"
8523 ac_preproc_ok=false
8524 for ac_objc_preproc_warn_flag in '' yes
8526 # Use a header file that comes with gcc, so configuring glibc
8527 # with a fresh cross-compiler works.
8528 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8529 # <limits.h> exists even on freestanding compilers.
8530 # On the NeXT, cc -E runs the code through the compiler's parser,
8531 # not just through cpp. "Syntax error" is here to catch this case.
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 #ifdef __STDC__
8535 # include <limits.h>
8536 #else
8537 # include <assert.h>
8538 #endif
8539 Syntax error
8540 _ACEOF
8541 if ac_fn_objc_try_cpp "$LINENO"; then :
8543 else
8544 # Broken: fails on valid input.
8545 continue
8547 rm -f conftest.err conftest.i conftest.$ac_ext
8549 # OK, works on sane cases. Now check whether nonexistent headers
8550 # can be detected and how.
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8553 #include <ac_nonexistent.h>
8554 _ACEOF
8555 if ac_fn_objc_try_cpp "$LINENO"; then :
8556 # Broken: success on invalid input.
8557 continue
8558 else
8559 # Passes both tests.
8560 ac_preproc_ok=:
8561 break
8563 rm -f conftest.err conftest.i conftest.$ac_ext
8565 done
8566 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8567 rm -f conftest.i conftest.err conftest.$ac_ext
8568 if $ac_preproc_ok; then :
8569 break
8572 done
8573 ac_cv_prog_OBJCPP=$OBJCPP
8576 OBJCPP=$ac_cv_prog_OBJCPP
8577 else
8578 ac_cv_prog_OBJCPP=$OBJCPP
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8581 $as_echo "$OBJCPP" >&6; }
8582 ac_preproc_ok=false
8583 for ac_objc_preproc_warn_flag in '' yes
8585 # Use a header file that comes with gcc, so configuring glibc
8586 # with a fresh cross-compiler works.
8587 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8588 # <limits.h> exists even on freestanding compilers.
8589 # On the NeXT, cc -E runs the code through the compiler's parser,
8590 # not just through cpp. "Syntax error" is here to catch this case.
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8593 #ifdef __STDC__
8594 # include <limits.h>
8595 #else
8596 # include <assert.h>
8597 #endif
8598 Syntax error
8599 _ACEOF
8600 if ac_fn_objc_try_cpp "$LINENO"; then :
8602 else
8603 # Broken: fails on valid input.
8604 continue
8606 rm -f conftest.err conftest.i conftest.$ac_ext
8608 # OK, works on sane cases. Now check whether nonexistent headers
8609 # can be detected and how.
8610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8612 #include <ac_nonexistent.h>
8613 _ACEOF
8614 if ac_fn_objc_try_cpp "$LINENO"; then :
8615 # Broken: success on invalid input.
8616 continue
8617 else
8618 # Passes both tests.
8619 ac_preproc_ok=:
8620 break
8622 rm -f conftest.err conftest.i conftest.$ac_ext
8624 done
8625 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8626 rm -f conftest.i conftest.err conftest.$ac_ext
8627 if $ac_preproc_ok; then :
8629 else
8630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8632 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8633 See \`config.log' for more details" "$LINENO" 5; }
8636 ac_ext=m
8637 ac_cpp='$OBJCPP $CPPFLAGS'
8638 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8639 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8640 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8643 for ac_header in Metal/Metal.h
8644 do :
8645 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8646 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8647 cat >>confdefs.h <<_ACEOF
8648 #define HAVE_METAL_METAL_H 1
8649 _ACEOF
8653 done
8655 ac_ext=c
8656 ac_cpp='$CPP $CPPFLAGS'
8657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8661 LIBEXT="dylib"
8662 DLLFLAGS="$DLLFLAGS -fPIC"
8663 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8664 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8665 COREFOUNDATION_LIBS="-framework CoreFoundation"
8667 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8669 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8671 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8673 CORESERVICES_LIBS="-framework CoreServices"
8675 APPKIT_LIBS="-framework AppKit"
8678 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8680 wine_can_build_preloader=yes
8681 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8683 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8684 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8685 $as_echo_n "(cached) " >&6
8686 else
8687 ac_wine_try_cflags_saved=$CFLAGS
8688 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 int main(int argc, char **argv) { return 0; }
8692 _ACEOF
8693 if ac_fn_c_try_link "$LINENO"; then :
8694 ac_cv_cflags__Wl__no_new_main__e__main=yes
8695 else
8696 ac_cv_cflags__Wl__no_new_main__e__main=no
8698 rm -f core conftest.err conftest.$ac_objext \
8699 conftest$ac_exeext conftest.$ac_ext
8700 CFLAGS=$ac_wine_try_cflags_saved
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8703 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8704 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8705 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8707 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8708 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8709 $as_echo_n "(cached) " >&6
8710 else
8711 ac_wine_try_cflags_saved=$CFLAGS
8712 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 int main(int argc, char **argv) { return 0; }
8716 _ACEOF
8717 if ac_fn_c_try_link "$LINENO"; then :
8718 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8719 else
8720 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8722 rm -f core conftest.err conftest.$ac_objext \
8723 conftest$ac_exeext conftest.$ac_ext
8724 CFLAGS=$ac_wine_try_cflags_saved
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8727 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8728 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8729 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8730 else
8731 { $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
8732 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8733 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8734 $as_echo_n "(cached) " >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8740 int main(int argc, char **argv) { return 0; }
8741 _ACEOF
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8744 else
8745 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8747 rm -f core conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 CFLAGS=$ac_wine_try_cflags_saved
8751 { $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
8752 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8753 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8754 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8755 else
8756 wine_can_build_preloader=no
8759 else
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8761 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8762 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 ac_wine_try_cflags_saved=$CFLAGS
8766 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8769 int main(int argc, char **argv) { return 0; }
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8773 else
8774 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8776 rm -f core conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 CFLAGS=$ac_wine_try_cflags_saved
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8781 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8782 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8783 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8784 else
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8786 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8787 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8788 $as_echo_n "(cached) " >&6
8789 else
8790 ac_wine_try_cflags_saved=$CFLAGS
8791 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8794 int main(int argc, char **argv) { return 0; }
8795 _ACEOF
8796 if ac_fn_c_try_link "$LINENO"; then :
8797 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8798 else
8799 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8801 rm -f core conftest.err conftest.$ac_objext \
8802 conftest$ac_exeext conftest.$ac_ext
8803 CFLAGS=$ac_wine_try_cflags_saved
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8806 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8807 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8808 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8809 else
8810 wine_can_build_preloader=no
8814 if test "$wine_can_build_preloader" = "yes"
8815 then
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8817 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8818 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8819 $as_echo_n "(cached) " >&6
8820 else
8821 ac_wine_try_cflags_saved=$CFLAGS
8822 CFLAGS="$CFLAGS -Wl,-no_pie"
8823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8824 /* end confdefs.h. */
8825 int main(int argc, char **argv) { return 0; }
8826 _ACEOF
8827 if ac_fn_c_try_link "$LINENO"; then :
8828 ac_cv_cflags__Wl__no_pie=yes
8829 else
8830 ac_cv_cflags__Wl__no_pie=no
8832 rm -f core conftest.err conftest.$ac_objext \
8833 conftest$ac_exeext conftest.$ac_ext
8834 CFLAGS=$ac_wine_try_cflags_saved
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8837 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8838 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8839 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8841 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8842 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8843 else
8844 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8847 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8848 then
8849 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8852 if test "$ac_cv_header_Security_Security_h" = "yes"
8853 then
8854 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8856 ac_save_LIBS="$LIBS"
8857 LIBS="$LIBS $SECURITY_LIBS"
8858 for ac_func in SSLCopyPeerCertificates
8859 do :
8860 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8861 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8862 cat >>confdefs.h <<_ACEOF
8863 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8864 _ACEOF
8867 done
8869 LIBS="$ac_save_LIBS"
8871 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8872 then
8873 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8874 then
8875 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8877 else
8878 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8881 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8882 ac_save_LIBS="$LIBS"
8883 LIBS="$LIBS $COREAUDIO_LIBS"
8884 for ac_func in AUGraphAddNode
8885 do :
8886 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8887 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8888 cat >>confdefs.h <<_ACEOF
8889 #define HAVE_AUGRAPHADDNODE 1
8890 _ACEOF
8893 done
8895 LIBS="$ac_save_LIBS"
8897 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8898 then
8899 OPENAL_LIBS="-framework OpenAL"
8902 cat >>confdefs.h <<_ACEOF
8903 #define HAVE_OPENAL 1
8904 _ACEOF
8906 ac_cv_lib_openal=yes
8908 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8909 then
8910 OPENCL_LIBS="-framework OpenCL"
8912 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8914 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8915 then
8916 ac_save_LIBS="$LIBS"
8917 LIBS="$LIBS $IOKIT_LIBS"
8918 for ac_func in IOHIDManagerCreate
8919 do :
8920 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8921 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8922 cat >>confdefs.h <<_ACEOF
8923 #define HAVE_IOHIDMANAGERCREATE 1
8924 _ACEOF
8927 done
8929 LIBS="$ac_save_LIBS"
8931 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8932 then
8933 ac_save_LIBS="$LIBS"
8934 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8936 $as_echo_n "checking for the QuickTime framework... " >&6; }
8937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8938 /* end confdefs.h. */
8939 #include <QuickTime/ImageCompression.h>
8941 main ()
8943 CodecManagerVersion(NULL);
8945 return 0;
8947 _ACEOF
8948 if ac_fn_c_try_link "$LINENO"; then :
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8950 $as_echo "yes" >&6; }
8951 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8953 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8954 else
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8956 $as_echo "no" >&6; }
8957 ac_cv_header_QuickTime_ImageCompression_h=no
8959 rm -f core conftest.err conftest.$ac_objext \
8960 conftest$ac_exeext conftest.$ac_ext
8961 LIBS="$ac_save_LIBS"
8963 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8964 then
8965 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8967 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8968 then
8969 CARBON_LIBS="-framework Carbon"
8972 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8973 then
8974 METAL_LIBS="-framework Metal -framework QuartzCore"
8978 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8979 then
8980 ac_save_LIBS="$LIBS"
8981 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8982 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8983 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8984 enable_winemac_drv=${enable_winemac_drv:-yes}
8987 LIBS="$ac_save_LIBS"
8990 if test "x$enable_win16" = "xyes"
8991 then
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8993 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8994 if test "$cross_compiling" = yes; then :
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8996 $as_echo "cross-compiling, assuming yes" >&6; }
8997 else
8998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8999 /* end confdefs.h. */
9000 asm(".text\n"
9001 "bad:\tnop;nop\n"
9002 "good:\tnop;nop\n\t"
9003 ".globl _testfunc\n"
9004 "_testfunc:\tcallw good");
9005 extern void testfunc();
9007 main ()
9009 unsigned short *p = (unsigned short *)testfunc;
9010 return p[0] != 0xe866 || p[1] != 0xfffa
9012 return 0;
9014 _ACEOF
9015 if ac_fn_c_try_run "$LINENO"; then :
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9017 $as_echo "yes" >&6; }
9018 else
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9020 $as_echo "no" >&6; }
9021 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
9023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9024 conftest.$ac_objext conftest.beam conftest.$ac_ext
9029 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9031 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9033 WINELOADER_DEPENDS="wine_info.plist"
9035 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9036 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9039 linux-android*)
9040 DLLFLAGS="$DLLFLAGS -fPIC"
9041 LDEXECFLAGS="-Wl,-pie"
9042 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9044 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9045 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9046 $as_echo_n "(cached) " >&6
9047 else
9048 ac_wine_try_cflags_saved=$CFLAGS
9049 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9052 int main(int argc, char **argv) { return 0; }
9053 _ACEOF
9054 if ac_fn_c_try_link "$LINENO"; then :
9055 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9056 else
9057 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9059 rm -f core conftest.err conftest.$ac_objext \
9060 conftest$ac_exeext conftest.$ac_ext
9061 CFLAGS=$ac_wine_try_cflags_saved
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9064 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9065 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9066 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9068 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9069 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9071 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9072 if eval \${$as_ac_var+:} false; then :
9073 $as_echo_n "(cached) " >&6
9074 else
9075 ac_wine_try_cflags_saved=$CFLAGS
9076 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9078 /* end confdefs.h. */
9079 int main(int argc, char **argv) { return 0; }
9080 _ACEOF
9081 if ac_fn_c_try_link "$LINENO"; then :
9082 eval "$as_ac_var=yes"
9083 else
9084 eval "$as_ac_var=no"
9086 rm -f core conftest.err conftest.$ac_objext \
9087 conftest$ac_exeext conftest.$ac_ext
9088 CFLAGS=$ac_wine_try_cflags_saved
9090 eval ac_res=\$$as_ac_var
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9092 $as_echo "$ac_res" >&6; }
9093 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9094 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9095 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9096 else
9097 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9099 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9100 if eval \${$as_ac_var+:} false; then :
9101 $as_echo_n "(cached) " >&6
9102 else
9103 ac_wine_try_cflags_saved=$CFLAGS
9104 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9106 /* end confdefs.h. */
9107 int main(int argc, char **argv) { return 0; }
9108 _ACEOF
9109 if ac_fn_c_try_link "$LINENO"; then :
9110 eval "$as_ac_var=yes"
9111 else
9112 eval "$as_ac_var=no"
9114 rm -f core conftest.err conftest.$ac_objext \
9115 conftest$ac_exeext conftest.$ac_ext
9116 CFLAGS=$ac_wine_try_cflags_saved
9118 eval ac_res=\$$as_ac_var
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9120 $as_echo "$ac_res" >&6; }
9121 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9122 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9123 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9127 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9128 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9129 $as_echo_n "(cached) " >&6
9130 else
9131 ac_wine_try_cflags_saved=$CFLAGS
9132 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9134 /* end confdefs.h. */
9135 int main(int argc, char **argv) { return 0; }
9136 _ACEOF
9137 if ac_fn_c_try_link "$LINENO"; then :
9138 ac_cv_cflags__Wl___enable_new_dtags=yes
9139 else
9140 ac_cv_cflags__Wl___enable_new_dtags=no
9142 rm -f core conftest.err conftest.$ac_objext \
9143 conftest$ac_exeext conftest.$ac_ext
9144 CFLAGS=$ac_wine_try_cflags_saved
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9147 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9148 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9149 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9152 LIBWINE_SHAREDLIB="libwine.so"
9154 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9156 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9159 $as_echo_n "checking for -lEGL... " >&6; }
9160 if ${ac_cv_lib_soname_EGL+:} false; then :
9161 $as_echo_n "(cached) " >&6
9162 else
9163 ac_check_soname_save_LIBS=$LIBS
9164 LIBS="-lEGL $LIBS"
9165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9166 /* end confdefs.h. */
9168 /* Override any GCC internal prototype to avoid an error.
9169 Use char because int might match the return type of a GCC
9170 builtin and then its argument prototype would still apply. */
9171 #ifdef __cplusplus
9172 extern "C"
9173 #endif
9174 char eglGetProcAddress ();
9176 main ()
9178 return eglGetProcAddress ();
9180 return 0;
9182 _ACEOF
9183 if ac_fn_c_try_link "$LINENO"; then :
9184 case "$LIBEXT" in
9185 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9186 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'` ;;
9187 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9188 if ${ac_cv_lib_soname_EGL:+false} :; then :
9189 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9190 fi ;;
9191 esac
9192 else
9193 ac_cv_lib_soname_EGL=
9195 rm -f core conftest.err conftest.$ac_objext \
9196 conftest$ac_exeext conftest.$ac_ext
9197 LIBS=$ac_check_soname_save_LIBS
9199 if ${ac_cv_lib_soname_EGL:+false} :; then :
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9201 $as_echo "not found" >&6; }
9203 else
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9205 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9207 cat >>confdefs.h <<_ACEOF
9208 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9209 _ACEOF
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9214 $as_echo_n "checking for -lGLESv2... " >&6; }
9215 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9216 $as_echo_n "(cached) " >&6
9217 else
9218 ac_check_soname_save_LIBS=$LIBS
9219 LIBS="-lGLESv2 $LIBS"
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9223 /* Override any GCC internal prototype to avoid an error.
9224 Use char because int might match the return type of a GCC
9225 builtin and then its argument prototype would still apply. */
9226 #ifdef __cplusplus
9227 extern "C"
9228 #endif
9229 char glFlush ();
9231 main ()
9233 return glFlush ();
9235 return 0;
9237 _ACEOF
9238 if ac_fn_c_try_link "$LINENO"; then :
9239 case "$LIBEXT" in
9240 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9241 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'` ;;
9242 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9243 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9244 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9245 fi ;;
9246 esac
9247 else
9248 ac_cv_lib_soname_GLESv2=
9250 rm -f core conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
9252 LIBS=$ac_check_soname_save_LIBS
9254 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9256 $as_echo "not found" >&6; }
9258 else
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9260 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9262 cat >>confdefs.h <<_ACEOF
9263 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9264 _ACEOF
9269 if test "x$exec_prefix" = xNONE
9270 then
9271 case $host_cpu in
9272 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9273 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9274 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9275 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9276 esac
9281 DLLFLAGS="$DLLFLAGS -fPIC"
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9283 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9284 if ${ac_cv_c_dll_gnuelf+:} false; then :
9285 $as_echo_n "(cached) " >&6
9286 else
9287 ac_wine_try_cflags_saved=$CFLAGS
9288 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9291 void myfunc() {}
9292 _ACEOF
9293 if ac_fn_c_try_link "$LINENO"; then :
9294 ac_cv_c_dll_gnuelf="yes"
9295 else
9296 ac_cv_c_dll_gnuelf="no"
9298 rm -f core conftest.err conftest.$ac_objext \
9299 conftest$ac_exeext conftest.$ac_ext
9300 CFLAGS=$ac_wine_try_cflags_saved
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9303 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9304 if test "$ac_cv_c_dll_gnuelf" = "yes"
9305 then
9306 LIBWINE_LDFLAGS="-shared"
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9308 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9309 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9310 $as_echo_n "(cached) " >&6
9311 else
9312 ac_wine_try_cflags_saved=$CFLAGS
9313 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9316 int main(int argc, char **argv) { return 0; }
9317 _ACEOF
9318 if ac_fn_c_try_link "$LINENO"; then :
9319 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9320 else
9321 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9323 rm -f core conftest.err conftest.$ac_objext \
9324 conftest$ac_exeext conftest.$ac_ext
9325 CFLAGS=$ac_wine_try_cflags_saved
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9328 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9329 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9330 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9331 else
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9333 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9334 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9335 $as_echo_n "(cached) " >&6
9336 else
9337 ac_wine_try_cflags_saved=$CFLAGS
9338 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9340 /* end confdefs.h. */
9341 int main(int argc, char **argv) { return 0; }
9342 _ACEOF
9343 if ac_fn_c_try_link "$LINENO"; then :
9344 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9345 else
9346 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9348 rm -f core conftest.err conftest.$ac_objext \
9349 conftest$ac_exeext conftest.$ac_ext
9350 CFLAGS=$ac_wine_try_cflags_saved
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9353 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9354 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9355 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9359 echo '{ global: *; };' >conftest.map
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9361 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9362 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9363 $as_echo_n "(cached) " >&6
9364 else
9365 ac_wine_try_cflags_saved=$CFLAGS
9366 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9368 /* end confdefs.h. */
9369 int main(int argc, char **argv) { return 0; }
9370 _ACEOF
9371 if ac_fn_c_try_link "$LINENO"; then :
9372 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9373 else
9374 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9376 rm -f core conftest.err conftest.$ac_objext \
9377 conftest$ac_exeext conftest.$ac_ext
9378 CFLAGS=$ac_wine_try_cflags_saved
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9381 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9382 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9383 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9385 rm -f conftest.map
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9388 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9389 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9390 $as_echo_n "(cached) " >&6
9391 else
9392 ac_wine_try_cflags_saved=$CFLAGS
9393 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9396 int main(int argc, char **argv) { return 0; }
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9400 else
9401 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 CFLAGS=$ac_wine_try_cflags_saved
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9408 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9409 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9410 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9412 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9414 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9416 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9417 if eval \${$as_ac_var+:} false; then :
9418 $as_echo_n "(cached) " >&6
9419 else
9420 ac_wine_try_cflags_saved=$CFLAGS
9421 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9423 /* end confdefs.h. */
9424 int main(int argc, char **argv) { return 0; }
9425 _ACEOF
9426 if ac_fn_c_try_link "$LINENO"; then :
9427 eval "$as_ac_var=yes"
9428 else
9429 eval "$as_ac_var=no"
9431 rm -f core conftest.err conftest.$ac_objext \
9432 conftest$ac_exeext conftest.$ac_ext
9433 CFLAGS=$ac_wine_try_cflags_saved
9435 eval ac_res=\$$as_ac_var
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9437 $as_echo "$ac_res" >&6; }
9438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9439 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9440 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9441 else
9442 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9444 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9445 if eval \${$as_ac_var+:} false; then :
9446 $as_echo_n "(cached) " >&6
9447 else
9448 ac_wine_try_cflags_saved=$CFLAGS
9449 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9452 int main(int argc, char **argv) { return 0; }
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"; then :
9455 eval "$as_ac_var=yes"
9456 else
9457 eval "$as_ac_var=no"
9459 rm -f core conftest.err conftest.$ac_objext \
9460 conftest$ac_exeext conftest.$ac_ext
9461 CFLAGS=$ac_wine_try_cflags_saved
9463 eval ac_res=\$$as_ac_var
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9465 $as_echo "$ac_res" >&6; }
9466 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9467 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9468 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9473 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9474 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9475 $as_echo_n "(cached) " >&6
9476 else
9477 ac_wine_try_cflags_saved=$CFLAGS
9478 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9481 int main(int argc, char **argv) { return 0; }
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 ac_cv_cflags__Wl___enable_new_dtags=yes
9485 else
9486 ac_cv_cflags__Wl___enable_new_dtags=no
9488 rm -f core conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 CFLAGS=$ac_wine_try_cflags_saved
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9493 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9494 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9495 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9498 case $host_cpu in
9499 *i[3456789]86* | x86_64 | *aarch64*)
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9501 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9502 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9503 $as_echo_n "(cached) " >&6
9504 else
9505 ac_wine_try_cflags_saved=$CFLAGS
9506 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9509 int main(int argc, char **argv) { return 0; }
9510 _ACEOF
9511 if ac_fn_c_try_link "$LINENO"; then :
9512 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9513 else
9514 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9516 rm -f core conftest.err conftest.$ac_objext \
9517 conftest$ac_exeext conftest.$ac_ext
9518 CFLAGS=$ac_wine_try_cflags_saved
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9521 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9522 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9523 case $host_os in
9524 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9525 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9526 esac
9527 else
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9529 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9530 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 ac_wine_try_cflags_saved=$CFLAGS
9534 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9537 int main(int argc, char **argv) { return 0; }
9538 _ACEOF
9539 if ac_fn_c_try_link "$LINENO"; then :
9540 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9541 else
9542 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9544 rm -f core conftest.err conftest.$ac_objext \
9545 conftest$ac_exeext conftest.$ac_ext
9546 CFLAGS=$ac_wine_try_cflags_saved
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9549 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9550 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9551 case $host_os in
9552 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9553 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9554 esac
9556 # Extract the first word of "prelink", so it can be a program name with args.
9557 set dummy prelink; ac_word=$2
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9559 $as_echo_n "checking for $ac_word... " >&6; }
9560 if ${ac_cv_path_PRELINK+:} false; then :
9561 $as_echo_n "(cached) " >&6
9562 else
9563 case $PRELINK in
9564 [\\/]* | ?:[\\/]*)
9565 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9569 for as_dir in /sbin /usr/sbin $PATH
9571 IFS=$as_save_IFS
9572 test -z "$as_dir" && as_dir=.
9573 for ac_exec_ext in '' $ac_executable_extensions; do
9574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9575 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9577 break 2
9579 done
9580 done
9581 IFS=$as_save_IFS
9583 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9585 esac
9587 PRELINK=$ac_cv_path_PRELINK
9588 if test -n "$PRELINK"; then
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9590 $as_echo "$PRELINK" >&6; }
9591 else
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9593 $as_echo "no" >&6; }
9597 if test "x$PRELINK" = xfalse
9598 then
9599 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9603 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9604 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9605 $as_echo_n "(cached) " >&6
9606 else
9607 ac_wine_try_cflags_saved=$CFLAGS
9608 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9610 /* end confdefs.h. */
9611 int main(int argc, char **argv) { return 0; }
9612 _ACEOF
9613 if ac_fn_c_try_link "$LINENO"; then :
9614 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9615 else
9616 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 CFLAGS=$ac_wine_try_cflags_saved
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9623 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9624 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9625 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9628 esac
9630 else
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9632 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9633 if ${ac_cv_c_dll_unixware+:} false; then :
9634 $as_echo_n "(cached) " >&6
9635 else
9636 ac_wine_try_cflags_saved=$CFLAGS
9637 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9639 /* end confdefs.h. */
9640 void myfunc() {}
9641 _ACEOF
9642 if ac_fn_c_try_link "$LINENO"; then :
9643 ac_cv_c_dll_unixware="yes"
9644 else
9645 ac_cv_c_dll_unixware="no"
9647 rm -f core conftest.err conftest.$ac_objext \
9648 conftest$ac_exeext conftest.$ac_ext
9649 CFLAGS=$ac_wine_try_cflags_saved
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9652 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9653 if test "$ac_cv_c_dll_unixware" = "yes"
9654 then
9655 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9658 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9660 LIBWINE_DEPENDS="wine.map"
9662 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9663 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9665 esac
9667 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9668 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9669 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9670 enable_winemac_drv=${enable_winemac_drv:-no}
9671 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9673 CROSSTARGET=""
9675 if test "x$with_mingw" != xno
9676 then
9677 case "x$with_mingw" in
9678 x|xyes) case "$host_cpu" in
9679 aarch64*)
9680 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9681 arm*)
9682 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9683 i[3456789]86*)
9684 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
9685 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9686 mingw32-gcc" ;;
9687 x86_64)
9688 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
9689 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9691 ac_prefix_list="" ;;
9692 esac
9693 for ac_prog in $ac_prefix_list
9695 # Extract the first word of "$ac_prog", so it can be a program name with args.
9696 set dummy $ac_prog; ac_word=$2
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9698 $as_echo_n "checking for $ac_word... " >&6; }
9699 if ${ac_cv_prog_CROSSCC+:} false; then :
9700 $as_echo_n "(cached) " >&6
9701 else
9702 if test -n "$CROSSCC"; then
9703 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9704 else
9705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9706 for as_dir in $PATH
9708 IFS=$as_save_IFS
9709 test -z "$as_dir" && as_dir=.
9710 for ac_exec_ext in '' $ac_executable_extensions; do
9711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9712 ac_cv_prog_CROSSCC="$ac_prog"
9713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9714 break 2
9716 done
9717 done
9718 IFS=$as_save_IFS
9722 CROSSCC=$ac_cv_prog_CROSSCC
9723 if test -n "$CROSSCC"; then
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9725 $as_echo "$CROSSCC" >&6; }
9726 else
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9728 $as_echo "no" >&6; }
9732 test -n "$CROSSCC" && break
9733 done
9734 test -n "$CROSSCC" || CROSSCC="false"
9736 *) CROSSCC=$with_mingw ;;
9737 esac
9738 if test "$CROSSCC" != "false"
9739 then
9740 ac_save_CC="$CC"
9741 saved_CFLAGS=$CFLAGS
9742 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9744 EXTRACROSSCFLAGS="-DWINE_CROSSTEST -Wall"
9747 CC="$CROSSCC"
9748 CFLAGS=$CROSSCFLAGS
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9750 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9751 if ${wine_cv_crosscc+:} false; then :
9752 $as_echo_n "(cached) " >&6
9753 else
9754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9755 /* end confdefs.h. */
9758 main ()
9762 return 0;
9764 _ACEOF
9765 if ac_fn_c_try_compile "$LINENO"; then :
9766 wine_cv_crosscc=yes
9767 else
9768 wine_cv_crosscc=no
9770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9773 $as_echo "$wine_cv_crosscc" >&6; }
9774 if test $wine_cv_crosscc = yes
9775 then
9776 set x $CROSSCC
9777 shift
9778 while test $# -ge 1
9780 case "$1" in
9781 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9782 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9783 esac
9784 shift
9785 done
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9788 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9789 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9790 $as_echo_n "(cached) " >&6
9791 else
9792 ac_wine_try_cflags_saved=$CFLAGS
9793 ac_wine_try_cflags_saved_cc=$CC
9794 ac_wine_try_cflags_saved_exeext=$ac_exeext
9795 CFLAGS="$CFLAGS -fno-strict-aliasing"
9796 CC="$CROSSCC"
9797 ac_exeext=".exe"
9798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9800 int main(int argc, char **argv) { return 0; }
9801 _ACEOF
9802 if ac_fn_c_try_link "$LINENO"; then :
9803 ac_cv_crosscflags__fno_strict_aliasing=yes
9804 else
9805 ac_cv_crosscflags__fno_strict_aliasing=no
9807 rm -f core conftest.err conftest.$ac_objext \
9808 conftest$ac_exeext conftest.$ac_ext
9809 CFLAGS=$ac_wine_try_cflags_saved
9810 CC=$ac_wine_try_cflags_saved_cc
9811 ac_exeext=$ac_wine_try_cflags_saved_exeext
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9814 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9815 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9816 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9819 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9820 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 ac_wine_try_cflags_saved=$CFLAGS
9824 ac_wine_try_cflags_saved_cc=$CC
9825 ac_wine_try_cflags_saved_exeext=$ac_exeext
9826 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9827 CC="$CROSSCC"
9828 ac_exeext=".exe"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9831 int main(int argc, char **argv) { return 0; }
9832 _ACEOF
9833 if ac_fn_c_try_link "$LINENO"; then :
9834 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9835 else
9836 ac_cv_crosscflags__Werror_unknown_warning_option=no
9838 rm -f core conftest.err conftest.$ac_objext \
9839 conftest$ac_exeext conftest.$ac_ext
9840 CFLAGS=$ac_wine_try_cflags_saved
9841 CC=$ac_wine_try_cflags_saved_cc
9842 ac_exeext=$ac_wine_try_cflags_saved_exeext
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9845 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9846 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9847 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9850 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9851 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9852 $as_echo_n "(cached) " >&6
9853 else
9854 ac_wine_try_cflags_saved=$CFLAGS
9855 ac_wine_try_cflags_saved_cc=$CC
9856 ac_wine_try_cflags_saved_exeext=$ac_exeext
9857 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9858 CC="$CROSSCC"
9859 ac_exeext=".exe"
9860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9862 int main(int argc, char **argv) { return 0; }
9863 _ACEOF
9864 if ac_fn_c_try_link "$LINENO"; then :
9865 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9866 else
9867 ac_cv_crosscflags__Wdeclaration_after_statement=no
9869 rm -f core conftest.err conftest.$ac_objext \
9870 conftest$ac_exeext conftest.$ac_ext
9871 CFLAGS=$ac_wine_try_cflags_saved
9872 CC=$ac_wine_try_cflags_saved_cc
9873 ac_exeext=$ac_wine_try_cflags_saved_exeext
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9876 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9877 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9878 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9881 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9882 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9883 $as_echo_n "(cached) " >&6
9884 else
9885 ac_wine_try_cflags_saved=$CFLAGS
9886 ac_wine_try_cflags_saved_cc=$CC
9887 ac_wine_try_cflags_saved_exeext=$ac_exeext
9888 CFLAGS="$CFLAGS -Wempty-body"
9889 CC="$CROSSCC"
9890 ac_exeext=".exe"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int main(int argc, char **argv) { return 0; }
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 ac_cv_crosscflags__Wempty_body=yes
9897 else
9898 ac_cv_crosscflags__Wempty_body=no
9900 rm -f core conftest.err conftest.$ac_objext \
9901 conftest$ac_exeext conftest.$ac_ext
9902 CFLAGS=$ac_wine_try_cflags_saved
9903 CC=$ac_wine_try_cflags_saved_cc
9904 ac_exeext=$ac_wine_try_cflags_saved_exeext
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9907 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9908 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9909 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9912 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9913 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9914 $as_echo_n "(cached) " >&6
9915 else
9916 ac_wine_try_cflags_saved=$CFLAGS
9917 ac_wine_try_cflags_saved_cc=$CC
9918 ac_wine_try_cflags_saved_exeext=$ac_exeext
9919 CFLAGS="$CFLAGS -Wignored-qualifiers"
9920 CC="$CROSSCC"
9921 ac_exeext=".exe"
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9924 int main(int argc, char **argv) { return 0; }
9925 _ACEOF
9926 if ac_fn_c_try_link "$LINENO"; then :
9927 ac_cv_crosscflags__Wignored_qualifiers=yes
9928 else
9929 ac_cv_crosscflags__Wignored_qualifiers=no
9931 rm -f core conftest.err conftest.$ac_objext \
9932 conftest$ac_exeext conftest.$ac_ext
9933 CFLAGS=$ac_wine_try_cflags_saved
9934 CC=$ac_wine_try_cflags_saved_cc
9935 ac_exeext=$ac_wine_try_cflags_saved_exeext
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9938 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9939 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9940 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9943 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9944 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9945 $as_echo_n "(cached) " >&6
9946 else
9947 ac_wine_try_cflags_saved=$CFLAGS
9948 ac_wine_try_cflags_saved_cc=$CC
9949 ac_wine_try_cflags_saved_exeext=$ac_exeext
9950 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9951 CC="$CROSSCC"
9952 ac_exeext=".exe"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9955 int main(int argc, char **argv) { return 0; }
9956 _ACEOF
9957 if ac_fn_c_try_link "$LINENO"; then :
9958 ac_cv_crosscflags__Wpacked_not_aligned=yes
9959 else
9960 ac_cv_crosscflags__Wpacked_not_aligned=no
9962 rm -f core conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 CFLAGS=$ac_wine_try_cflags_saved
9965 CC=$ac_wine_try_cflags_saved_cc
9966 ac_exeext=$ac_wine_try_cflags_saved_exeext
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9969 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9970 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9971 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9974 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9975 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9976 $as_echo_n "(cached) " >&6
9977 else
9978 ac_wine_try_cflags_saved=$CFLAGS
9979 ac_wine_try_cflags_saved_cc=$CC
9980 ac_wine_try_cflags_saved_exeext=$ac_exeext
9981 CFLAGS="$CFLAGS -Wpragma-pack"
9982 CC="$CROSSCC"
9983 ac_exeext=".exe"
9984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9986 int main(int argc, char **argv) { return 0; }
9987 _ACEOF
9988 if ac_fn_c_try_link "$LINENO"; then :
9989 ac_cv_crosscflags__Wpragma_pack=yes
9990 else
9991 ac_cv_crosscflags__Wpragma_pack=no
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9995 CFLAGS=$ac_wine_try_cflags_saved
9996 CC=$ac_wine_try_cflags_saved_cc
9997 ac_exeext=$ac_wine_try_cflags_saved_exeext
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10000 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10001 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10002 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10005 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10006 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10007 $as_echo_n "(cached) " >&6
10008 else
10009 ac_wine_try_cflags_saved=$CFLAGS
10010 ac_wine_try_cflags_saved_cc=$CC
10011 ac_wine_try_cflags_saved_exeext=$ac_exeext
10012 CFLAGS="$CFLAGS -Wshift-overflow=2"
10013 CC="$CROSSCC"
10014 ac_exeext=".exe"
10015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10017 int main(int argc, char **argv) { return 0; }
10018 _ACEOF
10019 if ac_fn_c_try_link "$LINENO"; then :
10020 ac_cv_crosscflags__Wshift_overflow_2=yes
10021 else
10022 ac_cv_crosscflags__Wshift_overflow_2=no
10024 rm -f core conftest.err conftest.$ac_objext \
10025 conftest$ac_exeext conftest.$ac_ext
10026 CFLAGS=$ac_wine_try_cflags_saved
10027 CC=$ac_wine_try_cflags_saved_cc
10028 ac_exeext=$ac_wine_try_cflags_saved_exeext
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10031 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10032 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10033 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10036 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10037 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10038 $as_echo_n "(cached) " >&6
10039 else
10040 ac_wine_try_cflags_saved=$CFLAGS
10041 ac_wine_try_cflags_saved_cc=$CC
10042 ac_wine_try_cflags_saved_exeext=$ac_exeext
10043 CFLAGS="$CFLAGS -Wstrict-prototypes"
10044 CC="$CROSSCC"
10045 ac_exeext=".exe"
10046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 /* end confdefs.h. */
10048 int main(int argc, char **argv) { return 0; }
10049 _ACEOF
10050 if ac_fn_c_try_link "$LINENO"; then :
10051 ac_cv_crosscflags__Wstrict_prototypes=yes
10052 else
10053 ac_cv_crosscflags__Wstrict_prototypes=no
10055 rm -f core conftest.err conftest.$ac_objext \
10056 conftest$ac_exeext conftest.$ac_ext
10057 CFLAGS=$ac_wine_try_cflags_saved
10058 CC=$ac_wine_try_cflags_saved_cc
10059 ac_exeext=$ac_wine_try_cflags_saved_exeext
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10062 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10063 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10064 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10067 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10068 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10069 $as_echo_n "(cached) " >&6
10070 else
10071 ac_wine_try_cflags_saved=$CFLAGS
10072 ac_wine_try_cflags_saved_cc=$CC
10073 ac_wine_try_cflags_saved_exeext=$ac_exeext
10074 CFLAGS="$CFLAGS -Wtype-limits"
10075 CC="$CROSSCC"
10076 ac_exeext=".exe"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10079 int main(int argc, char **argv) { return 0; }
10080 _ACEOF
10081 if ac_fn_c_try_link "$LINENO"; then :
10082 ac_cv_crosscflags__Wtype_limits=yes
10083 else
10084 ac_cv_crosscflags__Wtype_limits=no
10086 rm -f core conftest.err conftest.$ac_objext \
10087 conftest$ac_exeext conftest.$ac_ext
10088 CFLAGS=$ac_wine_try_cflags_saved
10089 CC=$ac_wine_try_cflags_saved_cc
10090 ac_exeext=$ac_wine_try_cflags_saved_exeext
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10093 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10094 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10095 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10098 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10099 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10100 $as_echo_n "(cached) " >&6
10101 else
10102 ac_wine_try_cflags_saved=$CFLAGS
10103 ac_wine_try_cflags_saved_cc=$CC
10104 ac_wine_try_cflags_saved_exeext=$ac_exeext
10105 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10106 CC="$CROSSCC"
10107 ac_exeext=".exe"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10110 int main(int argc, char **argv) { return 0; }
10111 _ACEOF
10112 if ac_fn_c_try_link "$LINENO"; then :
10113 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10114 else
10115 ac_cv_crosscflags__Wunused_but_set_parameter=no
10117 rm -f core conftest.err conftest.$ac_objext \
10118 conftest$ac_exeext conftest.$ac_ext
10119 CFLAGS=$ac_wine_try_cflags_saved
10120 CC=$ac_wine_try_cflags_saved_cc
10121 ac_exeext=$ac_wine_try_cflags_saved_exeext
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10124 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10125 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10126 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10129 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10130 if ${ac_cv_crosscflags__Wvla+:} false; then :
10131 $as_echo_n "(cached) " >&6
10132 else
10133 ac_wine_try_cflags_saved=$CFLAGS
10134 ac_wine_try_cflags_saved_cc=$CC
10135 ac_wine_try_cflags_saved_exeext=$ac_exeext
10136 CFLAGS="$CFLAGS -Wvla"
10137 CC="$CROSSCC"
10138 ac_exeext=".exe"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10141 int main(int argc, char **argv) { return 0; }
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"; then :
10144 ac_cv_crosscflags__Wvla=yes
10145 else
10146 ac_cv_crosscflags__Wvla=no
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 CFLAGS=$ac_wine_try_cflags_saved
10151 CC=$ac_wine_try_cflags_saved_cc
10152 ac_exeext=$ac_wine_try_cflags_saved_exeext
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10155 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10156 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10157 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10160 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10161 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10162 $as_echo_n "(cached) " >&6
10163 else
10164 ac_wine_try_cflags_saved=$CFLAGS
10165 ac_wine_try_cflags_saved_cc=$CC
10166 ac_wine_try_cflags_saved_exeext=$ac_exeext
10167 CFLAGS="$CFLAGS -Wwrite-strings"
10168 CC="$CROSSCC"
10169 ac_exeext=".exe"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10172 int main(int argc, char **argv) { return 0; }
10173 _ACEOF
10174 if ac_fn_c_try_link "$LINENO"; then :
10175 ac_cv_crosscflags__Wwrite_strings=yes
10176 else
10177 ac_cv_crosscflags__Wwrite_strings=no
10179 rm -f core conftest.err conftest.$ac_objext \
10180 conftest$ac_exeext conftest.$ac_ext
10181 CFLAGS=$ac_wine_try_cflags_saved
10182 CC=$ac_wine_try_cflags_saved_cc
10183 ac_exeext=$ac_wine_try_cflags_saved_exeext
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10186 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10187 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10188 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10191 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10192 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10193 $as_echo_n "(cached) " >&6
10194 else
10195 ac_wine_try_cflags_saved=$CFLAGS
10196 ac_wine_try_cflags_saved_cc=$CC
10197 ac_wine_try_cflags_saved_exeext=$ac_exeext
10198 CFLAGS="$CFLAGS -Wpointer-arith"
10199 CC="$CROSSCC"
10200 ac_exeext=".exe"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10203 int main(int argc, char **argv) { return 0; }
10204 _ACEOF
10205 if ac_fn_c_try_link "$LINENO"; then :
10206 ac_cv_crosscflags__Wpointer_arith=yes
10207 else
10208 ac_cv_crosscflags__Wpointer_arith=no
10210 rm -f core conftest.err conftest.$ac_objext \
10211 conftest$ac_exeext conftest.$ac_ext
10212 CFLAGS=$ac_wine_try_cflags_saved
10213 CC=$ac_wine_try_cflags_saved_cc
10214 ac_exeext=$ac_wine_try_cflags_saved_exeext
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10217 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10218 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10219 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10222 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10223 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10224 $as_echo_n "(cached) " >&6
10225 else
10226 ac_wine_try_cflags_saved=$CFLAGS
10227 ac_wine_try_cflags_saved_cc=$CC
10228 ac_wine_try_cflags_saved_exeext=$ac_exeext
10229 CFLAGS="$CFLAGS -Wlogical-op"
10230 CC="$CROSSCC"
10231 ac_exeext=".exe"
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10234 int main(int argc, char **argv) { return 0; }
10235 _ACEOF
10236 if ac_fn_c_try_link "$LINENO"; then :
10237 ac_cv_crosscflags__Wlogical_op=yes
10238 else
10239 ac_cv_crosscflags__Wlogical_op=no
10241 rm -f core conftest.err conftest.$ac_objext \
10242 conftest$ac_exeext conftest.$ac_ext
10243 CFLAGS=$ac_wine_try_cflags_saved
10244 CC=$ac_wine_try_cflags_saved_cc
10245 ac_exeext=$ac_wine_try_cflags_saved_exeext
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10248 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10249 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10250 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10253 case $host_cpu in
10254 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10255 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10256 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10257 $as_echo_n "(cached) " >&6
10258 else
10259 ac_wine_try_cflags_saved=$CFLAGS
10260 ac_wine_try_cflags_saved_cc=$CC
10261 ac_wine_try_cflags_saved_exeext=$ac_exeext
10262 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10263 CC="$CROSSCC"
10264 ac_exeext=".exe"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10267 int main(int argc, char **argv) { return 0; }
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"; then :
10270 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10271 else
10272 ac_cv_crosscflags__fno_omit_frame_pointer=no
10274 rm -f core conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 CFLAGS=$ac_wine_try_cflags_saved
10277 CC=$ac_wine_try_cflags_saved_cc
10278 ac_exeext=$ac_wine_try_cflags_saved_exeext
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10281 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10282 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10283 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10284 fi ;;
10285 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10286 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10287 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10288 $as_echo_n "(cached) " >&6
10289 else
10290 ac_wine_try_cflags_saved=$CFLAGS
10291 ac_wine_try_cflags_saved_cc=$CC
10292 ac_wine_try_cflags_saved_exeext=$ac_exeext
10293 CFLAGS="$CFLAGS -Wno-format"
10294 CC="$CROSSCC"
10295 ac_exeext=".exe"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 int main(int argc, char **argv) { return 0; }
10299 _ACEOF
10300 if ac_fn_c_try_link "$LINENO"; then :
10301 ac_cv_crosscflags__Wno_format=yes
10302 else
10303 ac_cv_crosscflags__Wno_format=no
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 CFLAGS=$ac_wine_try_cflags_saved
10308 CC=$ac_wine_try_cflags_saved_cc
10309 ac_exeext=$ac_wine_try_cflags_saved_exeext
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10312 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10313 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10314 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10315 fi ;;
10316 esac
10318 for ac_flag in $CROSSCFLAGS; do
10319 case $ac_flag in
10320 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10321 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10322 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10323 $as_echo_n "(cached) " >&6
10324 else
10325 ac_wine_try_cflags_saved=$CFLAGS
10326 ac_wine_try_cflags_saved_cc=$CC
10327 ac_wine_try_cflags_saved_exeext=$ac_exeext
10328 CFLAGS="$CFLAGS -gdwarf-2"
10329 CC="$CROSSCC"
10330 ac_exeext=".exe"
10331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10332 /* end confdefs.h. */
10333 int main(int argc, char **argv) { return 0; }
10334 _ACEOF
10335 if ac_fn_c_try_link "$LINENO"; then :
10336 ac_cv_crosscflags__gdwarf_2=yes
10337 else
10338 ac_cv_crosscflags__gdwarf_2=no
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10342 CFLAGS=$ac_wine_try_cflags_saved
10343 CC=$ac_wine_try_cflags_saved_cc
10344 ac_exeext=$ac_wine_try_cflags_saved_exeext
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10347 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10348 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10349 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10352 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10353 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10354 $as_echo_n "(cached) " >&6
10355 else
10356 ac_wine_try_cflags_saved=$CFLAGS
10357 ac_wine_try_cflags_saved_cc=$CC
10358 ac_wine_try_cflags_saved_exeext=$ac_exeext
10359 CFLAGS="$CFLAGS -gstrict-dwarf"
10360 CC="$CROSSCC"
10361 ac_exeext=".exe"
10362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10363 /* end confdefs.h. */
10364 int main(int argc, char **argv) { return 0; }
10365 _ACEOF
10366 if ac_fn_c_try_link "$LINENO"; then :
10367 ac_cv_crosscflags__gstrict_dwarf=yes
10368 else
10369 ac_cv_crosscflags__gstrict_dwarf=no
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 CFLAGS=$ac_wine_try_cflags_saved
10374 CC=$ac_wine_try_cflags_saved_cc
10375 ac_exeext=$ac_wine_try_cflags_saved_exeext
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10378 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10379 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10380 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10381 fi ;;
10382 esac
10383 done
10385 if test "x$enable_maintainer_mode" = xyes
10386 then
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10388 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10389 if ${ac_cv_crosscflags__Werror+:} false; then :
10390 $as_echo_n "(cached) " >&6
10391 else
10392 ac_wine_try_cflags_saved=$CFLAGS
10393 ac_wine_try_cflags_saved_cc=$CC
10394 ac_wine_try_cflags_saved_exeext=$ac_exeext
10395 CFLAGS="$CFLAGS -Werror"
10396 CC="$CROSSCC"
10397 ac_exeext=".exe"
10398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10399 /* end confdefs.h. */
10400 int main(int argc, char **argv) { return 0; }
10401 _ACEOF
10402 if ac_fn_c_try_link "$LINENO"; then :
10403 ac_cv_crosscflags__Werror=yes
10404 else
10405 ac_cv_crosscflags__Werror=no
10407 rm -f core conftest.err conftest.$ac_objext \
10408 conftest$ac_exeext conftest.$ac_ext
10409 CFLAGS=$ac_wine_try_cflags_saved
10410 CC=$ac_wine_try_cflags_saved_cc
10411 ac_exeext=$ac_wine_try_cflags_saved_exeext
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10414 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10415 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10416 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10420 CFLAGS=$saved_CFLAGS
10421 CC="$ac_save_CC"
10424 if test "x$CROSSTARGET" = "x"; then :
10425 case "x$with_mingw" in
10426 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10427 xno) ;;
10428 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10429 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10430 esac
10435 if test "$ac_cv_header_pthread_h" = "yes"
10436 then
10437 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10438 if test "x$ac_cv_func_pthread_create" = xyes; then :
10440 else
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10442 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10443 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10444 $as_echo_n "(cached) " >&6
10445 else
10446 ac_check_lib_save_LIBS=$LIBS
10447 LIBS="-lpthread $LIBS"
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10454 #ifdef __cplusplus
10455 extern "C"
10456 #endif
10457 char pthread_create ();
10459 main ()
10461 return pthread_create ();
10463 return 0;
10465 _ACEOF
10466 if ac_fn_c_try_link "$LINENO"; then :
10467 ac_cv_lib_pthread_pthread_create=yes
10468 else
10469 ac_cv_lib_pthread_pthread_create=no
10471 rm -f core conftest.err conftest.$ac_objext \
10472 conftest$ac_exeext conftest.$ac_ext
10473 LIBS=$ac_check_lib_save_LIBS
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10476 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10477 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10478 PTHREAD_LIBS="-lpthread"
10485 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10486 case "x$with_pthread" in
10487 xno) ;;
10488 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10489 Wine cannot support threads without libpthread.
10490 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10491 esac
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10497 $as_echo_n "checking for X... " >&6; }
10500 # Check whether --with-x was given.
10501 if test "${with_x+set}" = set; then :
10502 withval=$with_x;
10505 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10506 if test "x$with_x" = xno; then
10507 # The user explicitly disabled X.
10508 have_x=disabled
10509 else
10510 case $x_includes,$x_libraries in #(
10511 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10512 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10513 $as_echo_n "(cached) " >&6
10514 else
10515 # One or both of the vars are not set, and there is no cached value.
10516 ac_x_includes=no ac_x_libraries=no
10517 rm -f -r conftest.dir
10518 if mkdir conftest.dir; then
10519 cd conftest.dir
10520 cat >Imakefile <<'_ACEOF'
10521 incroot:
10522 @echo incroot='${INCROOT}'
10523 usrlibdir:
10524 @echo usrlibdir='${USRLIBDIR}'
10525 libdir:
10526 @echo libdir='${LIBDIR}'
10527 _ACEOF
10528 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10529 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10530 for ac_var in incroot usrlibdir libdir; do
10531 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10532 done
10533 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10534 for ac_extension in a so sl dylib la dll; do
10535 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10536 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10537 ac_im_usrlibdir=$ac_im_libdir; break
10539 done
10540 # Screen out bogus values from the imake configuration. They are
10541 # bogus both because they are the default anyway, and because
10542 # using them would break gcc on systems where it needs fixed includes.
10543 case $ac_im_incroot in
10544 /usr/include) ac_x_includes= ;;
10545 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10546 esac
10547 case $ac_im_usrlibdir in
10548 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10549 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10550 esac
10552 cd ..
10553 rm -f -r conftest.dir
10556 # Standard set of common directories for X headers.
10557 # Check X11 before X11Rn because it is often a symlink to the current release.
10558 ac_x_header_dirs='
10559 /usr/X11/include
10560 /usr/X11R7/include
10561 /usr/X11R6/include
10562 /usr/X11R5/include
10563 /usr/X11R4/include
10565 /usr/include/X11
10566 /usr/include/X11R7
10567 /usr/include/X11R6
10568 /usr/include/X11R5
10569 /usr/include/X11R4
10571 /usr/local/X11/include
10572 /usr/local/X11R7/include
10573 /usr/local/X11R6/include
10574 /usr/local/X11R5/include
10575 /usr/local/X11R4/include
10577 /usr/local/include/X11
10578 /usr/local/include/X11R7
10579 /usr/local/include/X11R6
10580 /usr/local/include/X11R5
10581 /usr/local/include/X11R4
10583 /usr/X386/include
10584 /usr/x386/include
10585 /usr/XFree86/include/X11
10587 /usr/include
10588 /usr/local/include
10589 /usr/unsupported/include
10590 /usr/athena/include
10591 /usr/local/x11r5/include
10592 /usr/lpp/Xamples/include
10594 /usr/openwin/include
10595 /usr/openwin/share/include'
10597 if test "$ac_x_includes" = no; then
10598 # Guess where to find include files, by looking for Xlib.h.
10599 # First, try using that file with no special directory specified.
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10602 #include <X11/Xlib.h>
10603 _ACEOF
10604 if ac_fn_c_try_cpp "$LINENO"; then :
10605 # We can compile using X headers with no special include directory.
10606 ac_x_includes=
10607 else
10608 for ac_dir in $ac_x_header_dirs; do
10609 if test -r "$ac_dir/X11/Xlib.h"; then
10610 ac_x_includes=$ac_dir
10611 break
10613 done
10615 rm -f conftest.err conftest.i conftest.$ac_ext
10616 fi # $ac_x_includes = no
10618 if test "$ac_x_libraries" = no; then
10619 # Check for the libraries.
10620 # See if we find them without any special options.
10621 # Don't add to $LIBS permanently.
10622 ac_save_LIBS=$LIBS
10623 LIBS="-lX11 $LIBS"
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10626 #include <X11/Xlib.h>
10628 main ()
10630 XrmInitialize ()
10632 return 0;
10634 _ACEOF
10635 if ac_fn_c_try_link "$LINENO"; then :
10636 LIBS=$ac_save_LIBS
10637 # We can link X programs with no special library path.
10638 ac_x_libraries=
10639 else
10640 LIBS=$ac_save_LIBS
10641 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10643 # Don't even attempt the hair of trying to link an X program!
10644 for ac_extension in a so sl dylib la dll; do
10645 if test -r "$ac_dir/libX11.$ac_extension"; then
10646 ac_x_libraries=$ac_dir
10647 break 2
10649 done
10650 done
10652 rm -f core conftest.err conftest.$ac_objext \
10653 conftest$ac_exeext conftest.$ac_ext
10654 fi # $ac_x_libraries = no
10656 case $ac_x_includes,$ac_x_libraries in #(
10657 no,* | *,no | *\'*)
10658 # Didn't find X, or a directory has "'" in its name.
10659 ac_cv_have_x="have_x=no";; #(
10661 # Record where we found X for the cache.
10662 ac_cv_have_x="have_x=yes\
10663 ac_x_includes='$ac_x_includes'\
10664 ac_x_libraries='$ac_x_libraries'"
10665 esac
10667 ;; #(
10668 *) have_x=yes;;
10669 esac
10670 eval "$ac_cv_have_x"
10671 fi # $with_x != no
10673 if test "$have_x" != yes; then
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10675 $as_echo "$have_x" >&6; }
10676 no_x=yes
10677 else
10678 # If each of the values was on the command line, it overrides each guess.
10679 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10680 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10681 # Update the cache value to reflect the command line values.
10682 ac_cv_have_x="have_x=yes\
10683 ac_x_includes='$x_includes'\
10684 ac_x_libraries='$x_libraries'"
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10686 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10689 if test "$no_x" = yes; then
10690 # Not all programs may use this symbol, but it does not hurt to define it.
10692 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10694 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10695 else
10696 if test -n "$x_includes"; then
10697 X_CFLAGS="$X_CFLAGS -I$x_includes"
10700 # It would also be nice to do this for all -L options, not just this one.
10701 if test -n "$x_libraries"; then
10702 X_LIBS="$X_LIBS -L$x_libraries"
10703 # For Solaris; some versions of Sun CC require a space after -R and
10704 # others require no space. Words are not sufficient . . . .
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10706 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10707 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10708 ac_xsave_c_werror_flag=$ac_c_werror_flag
10709 ac_c_werror_flag=yes
10710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10714 main ()
10718 return 0;
10720 _ACEOF
10721 if ac_fn_c_try_link "$LINENO"; then :
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10723 $as_echo "no" >&6; }
10724 X_LIBS="$X_LIBS -R$x_libraries"
10725 else
10726 LIBS="$ac_xsave_LIBS -R $x_libraries"
10727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10731 main ()
10735 return 0;
10737 _ACEOF
10738 if ac_fn_c_try_link "$LINENO"; then :
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10740 $as_echo "yes" >&6; }
10741 X_LIBS="$X_LIBS -R $x_libraries"
10742 else
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10744 $as_echo "neither works" >&6; }
10746 rm -f core conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
10749 rm -f core conftest.err conftest.$ac_objext \
10750 conftest$ac_exeext conftest.$ac_ext
10751 ac_c_werror_flag=$ac_xsave_c_werror_flag
10752 LIBS=$ac_xsave_LIBS
10755 # Check for system-dependent libraries X programs must link with.
10756 # Do this before checking for the system-independent R6 libraries
10757 # (-lICE), since we may need -lsocket or whatever for X linking.
10759 if test "$ISC" = yes; then
10760 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10761 else
10762 # Martyn Johnson says this is needed for Ultrix, if the X
10763 # libraries were built with DECnet support. And Karl Berry says
10764 # the Alpha needs dnet_stub (dnet does not exist).
10765 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10767 /* end confdefs.h. */
10769 /* Override any GCC internal prototype to avoid an error.
10770 Use char because int might match the return type of a GCC
10771 builtin and then its argument prototype would still apply. */
10772 #ifdef __cplusplus
10773 extern "C"
10774 #endif
10775 char XOpenDisplay ();
10777 main ()
10779 return XOpenDisplay ();
10781 return 0;
10783 _ACEOF
10784 if ac_fn_c_try_link "$LINENO"; then :
10786 else
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10788 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10789 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10790 $as_echo_n "(cached) " >&6
10791 else
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-ldnet $LIBS"
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10800 #ifdef __cplusplus
10801 extern "C"
10802 #endif
10803 char dnet_ntoa ();
10805 main ()
10807 return dnet_ntoa ();
10809 return 0;
10811 _ACEOF
10812 if ac_fn_c_try_link "$LINENO"; then :
10813 ac_cv_lib_dnet_dnet_ntoa=yes
10814 else
10815 ac_cv_lib_dnet_dnet_ntoa=no
10817 rm -f core conftest.err conftest.$ac_objext \
10818 conftest$ac_exeext conftest.$ac_ext
10819 LIBS=$ac_check_lib_save_LIBS
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10822 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10823 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10824 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10827 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10829 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10830 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10831 $as_echo_n "(cached) " >&6
10832 else
10833 ac_check_lib_save_LIBS=$LIBS
10834 LIBS="-ldnet_stub $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10841 #ifdef __cplusplus
10842 extern "C"
10843 #endif
10844 char dnet_ntoa ();
10846 main ()
10848 return dnet_ntoa ();
10850 return 0;
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"; then :
10854 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10855 else
10856 ac_cv_lib_dnet_stub_dnet_ntoa=no
10858 rm -f core conftest.err conftest.$ac_objext \
10859 conftest$ac_exeext conftest.$ac_ext
10860 LIBS=$ac_check_lib_save_LIBS
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10863 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10864 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10865 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10870 rm -f core conftest.err conftest.$ac_objext \
10871 conftest$ac_exeext conftest.$ac_ext
10872 LIBS="$ac_xsave_LIBS"
10874 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10875 # to get the SysV transport functions.
10876 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10877 # needs -lnsl.
10878 # The nsl library prevents programs from opening the X display
10879 # on Irix 5.2, according to T.E. Dickey.
10880 # The functions gethostbyname, getservbyname, and inet_addr are
10881 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10882 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10883 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10887 if test $ac_cv_func_gethostbyname = no; then
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10889 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10890 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10891 $as_echo_n "(cached) " >&6
10892 else
10893 ac_check_lib_save_LIBS=$LIBS
10894 LIBS="-lnsl $LIBS"
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10898 /* Override any GCC internal prototype to avoid an error.
10899 Use char because int might match the return type of a GCC
10900 builtin and then its argument prototype would still apply. */
10901 #ifdef __cplusplus
10902 extern "C"
10903 #endif
10904 char gethostbyname ();
10906 main ()
10908 return gethostbyname ();
10910 return 0;
10912 _ACEOF
10913 if ac_fn_c_try_link "$LINENO"; then :
10914 ac_cv_lib_nsl_gethostbyname=yes
10915 else
10916 ac_cv_lib_nsl_gethostbyname=no
10918 rm -f core conftest.err conftest.$ac_objext \
10919 conftest$ac_exeext conftest.$ac_ext
10920 LIBS=$ac_check_lib_save_LIBS
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10923 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10924 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10925 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10928 if test $ac_cv_lib_nsl_gethostbyname = no; then
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10930 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10931 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10932 $as_echo_n "(cached) " >&6
10933 else
10934 ac_check_lib_save_LIBS=$LIBS
10935 LIBS="-lbsd $LIBS"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10939 /* Override any GCC internal prototype to avoid an error.
10940 Use char because int might match the return type of a GCC
10941 builtin and then its argument prototype would still apply. */
10942 #ifdef __cplusplus
10943 extern "C"
10944 #endif
10945 char gethostbyname ();
10947 main ()
10949 return gethostbyname ();
10951 return 0;
10953 _ACEOF
10954 if ac_fn_c_try_link "$LINENO"; then :
10955 ac_cv_lib_bsd_gethostbyname=yes
10956 else
10957 ac_cv_lib_bsd_gethostbyname=no
10959 rm -f core conftest.err conftest.$ac_objext \
10960 conftest$ac_exeext conftest.$ac_ext
10961 LIBS=$ac_check_lib_save_LIBS
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10964 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10965 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10966 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10972 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10973 # socket/setsockopt and other routines are undefined under SCO ODT
10974 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10975 # on later versions), says Simon Leinen: it contains gethostby*
10976 # variants that don't use the name server (or something). -lsocket
10977 # must be given before -lnsl if both are needed. We assume that
10978 # if connect needs -lnsl, so does gethostbyname.
10979 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10980 if test "x$ac_cv_func_connect" = xyes; then :
10984 if test $ac_cv_func_connect = no; then
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10986 $as_echo_n "checking for connect in -lsocket... " >&6; }
10987 if ${ac_cv_lib_socket_connect+:} false; then :
10988 $as_echo_n "(cached) " >&6
10989 else
10990 ac_check_lib_save_LIBS=$LIBS
10991 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10995 /* Override any GCC internal prototype to avoid an error.
10996 Use char because int might match the return type of a GCC
10997 builtin and then its argument prototype would still apply. */
10998 #ifdef __cplusplus
10999 extern "C"
11000 #endif
11001 char connect ();
11003 main ()
11005 return connect ();
11007 return 0;
11009 _ACEOF
11010 if ac_fn_c_try_link "$LINENO"; then :
11011 ac_cv_lib_socket_connect=yes
11012 else
11013 ac_cv_lib_socket_connect=no
11015 rm -f core conftest.err conftest.$ac_objext \
11016 conftest$ac_exeext conftest.$ac_ext
11017 LIBS=$ac_check_lib_save_LIBS
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11020 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11021 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11022 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11027 # Guillermo Gomez says -lposix is necessary on A/UX.
11028 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11029 if test "x$ac_cv_func_remove" = xyes; then :
11033 if test $ac_cv_func_remove = no; then
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11035 $as_echo_n "checking for remove in -lposix... " >&6; }
11036 if ${ac_cv_lib_posix_remove+:} false; then :
11037 $as_echo_n "(cached) " >&6
11038 else
11039 ac_check_lib_save_LIBS=$LIBS
11040 LIBS="-lposix $LIBS"
11041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h. */
11044 /* Override any GCC internal prototype to avoid an error.
11045 Use char because int might match the return type of a GCC
11046 builtin and then its argument prototype would still apply. */
11047 #ifdef __cplusplus
11048 extern "C"
11049 #endif
11050 char remove ();
11052 main ()
11054 return remove ();
11056 return 0;
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"; then :
11060 ac_cv_lib_posix_remove=yes
11061 else
11062 ac_cv_lib_posix_remove=no
11064 rm -f core conftest.err conftest.$ac_objext \
11065 conftest$ac_exeext conftest.$ac_ext
11066 LIBS=$ac_check_lib_save_LIBS
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11069 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11070 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11071 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11076 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11077 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11078 if test "x$ac_cv_func_shmat" = xyes; then :
11082 if test $ac_cv_func_shmat = no; then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11084 $as_echo_n "checking for shmat in -lipc... " >&6; }
11085 if ${ac_cv_lib_ipc_shmat+:} false; then :
11086 $as_echo_n "(cached) " >&6
11087 else
11088 ac_check_lib_save_LIBS=$LIBS
11089 LIBS="-lipc $LIBS"
11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11093 /* Override any GCC internal prototype to avoid an error.
11094 Use char because int might match the return type of a GCC
11095 builtin and then its argument prototype would still apply. */
11096 #ifdef __cplusplus
11097 extern "C"
11098 #endif
11099 char shmat ();
11101 main ()
11103 return shmat ();
11105 return 0;
11107 _ACEOF
11108 if ac_fn_c_try_link "$LINENO"; then :
11109 ac_cv_lib_ipc_shmat=yes
11110 else
11111 ac_cv_lib_ipc_shmat=no
11113 rm -f core conftest.err conftest.$ac_objext \
11114 conftest$ac_exeext conftest.$ac_ext
11115 LIBS=$ac_check_lib_save_LIBS
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11118 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11119 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11120 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11126 # Check for libraries that X11R6 Xt/Xaw programs need.
11127 ac_save_LDFLAGS=$LDFLAGS
11128 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11129 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11130 # check for ICE first), but we must link in the order -lSM -lICE or
11131 # we get undefined symbols. So assume we have SM if we have ICE.
11132 # These have to be linked with before -lX11, unlike the other
11133 # libraries we check for below, so use a different variable.
11134 # John Interrante, Karl Berry
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11136 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11137 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11138 $as_echo_n "(cached) " >&6
11139 else
11140 ac_check_lib_save_LIBS=$LIBS
11141 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char IceConnectionNumber ();
11153 main ()
11155 return IceConnectionNumber ();
11157 return 0;
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"; then :
11161 ac_cv_lib_ICE_IceConnectionNumber=yes
11162 else
11163 ac_cv_lib_ICE_IceConnectionNumber=no
11165 rm -f core conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11167 LIBS=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11170 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11171 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11172 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11175 LDFLAGS=$ac_save_LDFLAGS
11180 if test "$have_x" = "yes"
11181 then
11182 ac_save_CPPFLAGS="$CPPFLAGS"
11183 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11186 $as_echo_n "checking for -lX11... " >&6; }
11187 if ${ac_cv_lib_soname_X11+:} false; then :
11188 $as_echo_n "(cached) " >&6
11189 else
11190 ac_check_soname_save_LIBS=$LIBS
11191 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11195 /* Override any GCC internal prototype to avoid an error.
11196 Use char because int might match the return type of a GCC
11197 builtin and then its argument prototype would still apply. */
11198 #ifdef __cplusplus
11199 extern "C"
11200 #endif
11201 char XCreateWindow ();
11203 main ()
11205 return XCreateWindow ();
11207 return 0;
11209 _ACEOF
11210 if ac_fn_c_try_link "$LINENO"; then :
11211 case "$LIBEXT" in
11212 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11213 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'` ;;
11214 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11215 if ${ac_cv_lib_soname_X11:+false} :; then :
11216 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11217 fi ;;
11218 esac
11219 else
11220 ac_cv_lib_soname_X11=
11222 rm -f core conftest.err conftest.$ac_objext \
11223 conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_soname_save_LIBS
11226 if ${ac_cv_lib_soname_X11:+false} :; then :
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11228 $as_echo "not found" >&6; }
11230 else
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11232 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11234 cat >>confdefs.h <<_ACEOF
11235 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11236 _ACEOF
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11241 $as_echo_n "checking for -lXext... " >&6; }
11242 if ${ac_cv_lib_soname_Xext+:} false; then :
11243 $as_echo_n "(cached) " >&6
11244 else
11245 ac_check_soname_save_LIBS=$LIBS
11246 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11253 #ifdef __cplusplus
11254 extern "C"
11255 #endif
11256 char XextCreateExtension ();
11258 main ()
11260 return XextCreateExtension ();
11262 return 0;
11264 _ACEOF
11265 if ac_fn_c_try_link "$LINENO"; then :
11266 case "$LIBEXT" in
11267 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11268 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'` ;;
11269 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11270 if ${ac_cv_lib_soname_Xext:+false} :; then :
11271 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11272 fi ;;
11273 esac
11274 else
11275 ac_cv_lib_soname_Xext=
11277 rm -f core conftest.err conftest.$ac_objext \
11278 conftest$ac_exeext conftest.$ac_ext
11279 LIBS=$ac_check_soname_save_LIBS
11281 if ${ac_cv_lib_soname_Xext:+false} :; then :
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11283 $as_echo "not found" >&6; }
11285 else
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11287 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11289 cat >>confdefs.h <<_ACEOF
11290 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11291 _ACEOF
11293 X_LIBS="$X_LIBS -lXext"
11295 X_LIBS="$X_LIBS -lX11"
11297 for ac_header in X11/Xlib.h \
11298 X11/XKBlib.h \
11299 X11/Xutil.h \
11300 X11/Xcursor/Xcursor.h \
11301 X11/extensions/shape.h \
11302 X11/extensions/XInput.h \
11303 X11/extensions/XInput2.h \
11304 X11/extensions/XShm.h \
11305 X11/extensions/Xcomposite.h \
11306 X11/extensions/Xfixes.h \
11307 X11/extensions/Xinerama.h \
11308 X11/extensions/Xrandr.h \
11309 X11/extensions/Xrender.h \
11310 X11/extensions/xf86vmode.h \
11311 X11/extensions/xf86vmproto.h
11312 do :
11313 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11314 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11315 # include <X11/Xlib.h>
11316 #endif
11317 #ifdef HAVE_X11_XUTIL_H
11318 # include <X11/Xutil.h>
11319 #endif
11321 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11322 cat >>confdefs.h <<_ACEOF
11323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11324 _ACEOF
11328 done
11331 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11332 then
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11334 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11335 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11336 $as_echo_n "(cached) " >&6
11337 else
11338 ac_check_lib_save_LIBS=$LIBS
11339 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11343 /* Override any GCC internal prototype to avoid an error.
11344 Use char because int might match the return type of a GCC
11345 builtin and then its argument prototype would still apply. */
11346 #ifdef __cplusplus
11347 extern "C"
11348 #endif
11349 char XkbQueryExtension ();
11351 main ()
11353 return XkbQueryExtension ();
11355 return 0;
11357 _ACEOF
11358 if ac_fn_c_try_link "$LINENO"; then :
11359 ac_cv_lib_X11_XkbQueryExtension=yes
11360 else
11361 ac_cv_lib_X11_XkbQueryExtension=no
11363 rm -f core conftest.err conftest.$ac_objext \
11364 conftest$ac_exeext conftest.$ac_ext
11365 LIBS=$ac_check_lib_save_LIBS
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11368 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11369 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11371 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11377 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11378 then
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11380 $as_echo_n "checking for -lXcursor... " >&6; }
11381 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11382 $as_echo_n "(cached) " >&6
11383 else
11384 ac_check_soname_save_LIBS=$LIBS
11385 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11389 /* Override any GCC internal prototype to avoid an error.
11390 Use char because int might match the return type of a GCC
11391 builtin and then its argument prototype would still apply. */
11392 #ifdef __cplusplus
11393 extern "C"
11394 #endif
11395 char XcursorImageLoadCursor ();
11397 main ()
11399 return XcursorImageLoadCursor ();
11401 return 0;
11403 _ACEOF
11404 if ac_fn_c_try_link "$LINENO"; then :
11405 case "$LIBEXT" in
11406 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11407 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'` ;;
11408 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11409 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11410 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11411 fi ;;
11412 esac
11413 else
11414 ac_cv_lib_soname_Xcursor=
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_soname_save_LIBS
11420 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11422 $as_echo "not found" >&6; }
11424 else
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11426 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11428 cat >>confdefs.h <<_ACEOF
11429 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11430 _ACEOF
11435 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11436 case "x$with_xcursor" in
11437 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11438 xno) ;;
11439 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11440 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11441 esac
11445 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11446 then
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11448 $as_echo_n "checking for -lXi... " >&6; }
11449 if ${ac_cv_lib_soname_Xi+:} false; then :
11450 $as_echo_n "(cached) " >&6
11451 else
11452 ac_check_soname_save_LIBS=$LIBS
11453 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11457 /* Override any GCC internal prototype to avoid an error.
11458 Use char because int might match the return type of a GCC
11459 builtin and then its argument prototype would still apply. */
11460 #ifdef __cplusplus
11461 extern "C"
11462 #endif
11463 char XOpenDevice ();
11465 main ()
11467 return XOpenDevice ();
11469 return 0;
11471 _ACEOF
11472 if ac_fn_c_try_link "$LINENO"; then :
11473 case "$LIBEXT" in
11474 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11475 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'` ;;
11476 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11477 if ${ac_cv_lib_soname_Xi:+false} :; then :
11478 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11479 fi ;;
11480 esac
11481 else
11482 ac_cv_lib_soname_Xi=
11484 rm -f core conftest.err conftest.$ac_objext \
11485 conftest$ac_exeext conftest.$ac_ext
11486 LIBS=$ac_check_soname_save_LIBS
11488 if ${ac_cv_lib_soname_Xi:+false} :; then :
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11490 $as_echo "not found" >&6; }
11492 else
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11494 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11496 cat >>confdefs.h <<_ACEOF
11497 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11498 _ACEOF
11503 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11504 case "x$with_xinput" in
11505 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11506 xno) ;;
11507 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11508 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11509 esac
11513 if test "x$ac_cv_lib_soname_Xi" != x
11514 then
11515 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11516 case "x$with_xinput2" in
11517 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11518 xno) ;;
11519 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11520 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11521 esac
11526 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11527 then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11529 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11530 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11531 $as_echo_n "(cached) " >&6
11532 else
11533 ac_check_lib_save_LIBS=$LIBS
11534 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11541 #ifdef __cplusplus
11542 extern "C"
11543 #endif
11544 char XShmQueryExtension ();
11546 main ()
11548 return XShmQueryExtension ();
11550 return 0;
11552 _ACEOF
11553 if ac_fn_c_try_link "$LINENO"; then :
11554 ac_cv_lib_Xext_XShmQueryExtension=yes
11555 else
11556 ac_cv_lib_Xext_XShmQueryExtension=no
11558 rm -f core conftest.err conftest.$ac_objext \
11559 conftest$ac_exeext conftest.$ac_ext
11560 LIBS=$ac_check_lib_save_LIBS
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11563 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11564 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11566 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11571 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11572 case "x$with_xshm" in
11573 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11574 xno) ;;
11575 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11576 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11577 esac
11581 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11582 then
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11584 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11585 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11586 $as_echo_n "(cached) " >&6
11587 else
11588 ac_check_lib_save_LIBS=$LIBS
11589 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11593 /* Override any GCC internal prototype to avoid an error.
11594 Use char because int might match the return type of a GCC
11595 builtin and then its argument prototype would still apply. */
11596 #ifdef __cplusplus
11597 extern "C"
11598 #endif
11599 char XShapeQueryExtension ();
11601 main ()
11603 return XShapeQueryExtension ();
11605 return 0;
11607 _ACEOF
11608 if ac_fn_c_try_link "$LINENO"; then :
11609 ac_cv_lib_Xext_XShapeQueryExtension=yes
11610 else
11611 ac_cv_lib_Xext_XShapeQueryExtension=no
11613 rm -f core conftest.err conftest.$ac_objext \
11614 conftest$ac_exeext conftest.$ac_ext
11615 LIBS=$ac_check_lib_save_LIBS
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11618 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11619 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11621 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11626 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11627 case "x$with_xshape" in
11628 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11629 xno) ;;
11630 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11631 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11632 esac
11636 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11637 then
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11639 $as_echo_n "checking for -lXxf86vm... " >&6; }
11640 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11641 $as_echo_n "(cached) " >&6
11642 else
11643 ac_check_soname_save_LIBS=$LIBS
11644 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11651 #ifdef __cplusplus
11652 extern "C"
11653 #endif
11654 char XF86VidModeQueryExtension ();
11656 main ()
11658 return XF86VidModeQueryExtension ();
11660 return 0;
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"; then :
11664 case "$LIBEXT" in
11665 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11666 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'` ;;
11667 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11668 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11669 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11670 fi ;;
11671 esac
11672 else
11673 ac_cv_lib_soname_Xxf86vm=
11675 rm -f core conftest.err conftest.$ac_objext \
11676 conftest$ac_exeext conftest.$ac_ext
11677 LIBS=$ac_check_soname_save_LIBS
11679 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11681 $as_echo "not found" >&6; }
11683 else
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11685 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11687 cat >>confdefs.h <<_ACEOF
11688 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11689 _ACEOF
11694 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11695 case "x$with_xxf86vm" in
11696 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11697 xno) ;;
11698 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11699 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11700 esac
11704 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11705 then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11707 $as_echo_n "checking for -lXrender... " >&6; }
11708 if ${ac_cv_lib_soname_Xrender+:} false; then :
11709 $as_echo_n "(cached) " >&6
11710 else
11711 ac_check_soname_save_LIBS=$LIBS
11712 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11714 /* end confdefs.h. */
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11719 #ifdef __cplusplus
11720 extern "C"
11721 #endif
11722 char XRenderQueryExtension ();
11724 main ()
11726 return XRenderQueryExtension ();
11728 return 0;
11730 _ACEOF
11731 if ac_fn_c_try_link "$LINENO"; then :
11732 case "$LIBEXT" in
11733 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11734 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'` ;;
11735 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11736 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11737 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11738 fi ;;
11739 esac
11740 else
11741 ac_cv_lib_soname_Xrender=
11743 rm -f core conftest.err conftest.$ac_objext \
11744 conftest$ac_exeext conftest.$ac_ext
11745 LIBS=$ac_check_soname_save_LIBS
11747 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11749 $as_echo "not found" >&6; }
11751 else
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11753 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11755 cat >>confdefs.h <<_ACEOF
11756 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11757 _ACEOF
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11760 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11761 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11762 $as_echo_n "(cached) " >&6
11763 else
11764 ac_check_lib_save_LIBS=$LIBS
11765 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11769 /* Override any GCC internal prototype to avoid an error.
11770 Use char because int might match the return type of a GCC
11771 builtin and then its argument prototype would still apply. */
11772 #ifdef __cplusplus
11773 extern "C"
11774 #endif
11775 char XRenderSetPictureTransform ();
11777 main ()
11779 return XRenderSetPictureTransform ();
11781 return 0;
11783 _ACEOF
11784 if ac_fn_c_try_link "$LINENO"; then :
11785 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11786 else
11787 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11789 rm -f core conftest.err conftest.$ac_objext \
11790 conftest$ac_exeext conftest.$ac_ext
11791 LIBS=$ac_check_lib_save_LIBS
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11794 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11795 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11797 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11802 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11803 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11804 $as_echo_n "(cached) " >&6
11805 else
11806 ac_check_lib_save_LIBS=$LIBS
11807 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h. */
11811 /* Override any GCC internal prototype to avoid an error.
11812 Use char because int might match the return type of a GCC
11813 builtin and then its argument prototype would still apply. */
11814 #ifdef __cplusplus
11815 extern "C"
11816 #endif
11817 char XRenderCreateLinearGradient ();
11819 main ()
11821 return XRenderCreateLinearGradient ();
11823 return 0;
11825 _ACEOF
11826 if ac_fn_c_try_link "$LINENO"; then :
11827 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11828 else
11829 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11831 rm -f core conftest.err conftest.$ac_objext \
11832 conftest$ac_exeext conftest.$ac_ext
11833 LIBS=$ac_check_lib_save_LIBS
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11836 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11837 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11839 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11846 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11847 case "x$with_xrender" in
11848 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11849 xno) ;;
11850 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11851 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11852 esac
11856 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11857 then
11858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11860 #include <X11/Xlib.h>
11861 #include <X11/extensions/Xrandr.h>
11863 main ()
11865 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11867 return 0;
11869 _ACEOF
11870 if ac_fn_c_try_compile "$LINENO"; then :
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11872 $as_echo_n "checking for -lXrandr... " >&6; }
11873 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11874 $as_echo_n "(cached) " >&6
11875 else
11876 ac_check_soname_save_LIBS=$LIBS
11877 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11884 #ifdef __cplusplus
11885 extern "C"
11886 #endif
11887 char XRRQueryExtension ();
11889 main ()
11891 return XRRQueryExtension ();
11893 return 0;
11895 _ACEOF
11896 if ac_fn_c_try_link "$LINENO"; then :
11897 case "$LIBEXT" in
11898 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11899 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'` ;;
11900 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11901 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11902 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11903 fi ;;
11904 esac
11905 else
11906 ac_cv_lib_soname_Xrandr=
11908 rm -f core conftest.err conftest.$ac_objext \
11909 conftest$ac_exeext conftest.$ac_ext
11910 LIBS=$ac_check_soname_save_LIBS
11912 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11914 $as_echo "not found" >&6; }
11916 else
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11918 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11920 cat >>confdefs.h <<_ACEOF
11921 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11922 _ACEOF
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #include <X11/Xlib.h>
11927 #include <X11/extensions/Xrandr.h>
11929 main ()
11931 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11933 return 0;
11935 _ACEOF
11936 if ac_fn_c_try_compile "$LINENO"; then :
11938 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11946 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11947 case "x$with_xrandr" in
11948 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11949 xno) ;;
11950 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11951 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11952 esac
11956 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11957 then
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11960 #include <X11/Xlib.h>
11961 #include <X11/extensions/Xfixes.h>
11963 main ()
11965 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11967 return 0;
11969 _ACEOF
11970 if ac_fn_c_try_compile "$LINENO"; then :
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11972 $as_echo_n "checking for -lXfixes... " >&6; }
11973 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11974 $as_echo_n "(cached) " >&6
11975 else
11976 ac_check_soname_save_LIBS=$LIBS
11977 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11981 /* Override any GCC internal prototype to avoid an error.
11982 Use char because int might match the return type of a GCC
11983 builtin and then its argument prototype would still apply. */
11984 #ifdef __cplusplus
11985 extern "C"
11986 #endif
11987 char XFixesQueryVersion ();
11989 main ()
11991 return XFixesQueryVersion ();
11993 return 0;
11995 _ACEOF
11996 if ac_fn_c_try_link "$LINENO"; then :
11997 case "$LIBEXT" in
11998 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11999 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'` ;;
12000 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12001 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12002 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12003 fi ;;
12004 esac
12005 else
12006 ac_cv_lib_soname_Xfixes=
12008 rm -f core conftest.err conftest.$ac_objext \
12009 conftest$ac_exeext conftest.$ac_ext
12010 LIBS=$ac_check_soname_save_LIBS
12012 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12014 $as_echo "not found" >&6; }
12016 else
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12018 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12020 cat >>confdefs.h <<_ACEOF
12021 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12022 _ACEOF
12027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12029 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12030 case "x$with_xfixes" in
12031 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12032 xno) ;;
12033 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12034 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12035 esac
12039 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12040 then
12041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12043 #include <X11/Xlib.h>
12044 #include <X11/extensions/Xinerama.h>
12046 main ()
12048 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12050 return 0;
12052 _ACEOF
12053 if ac_fn_c_try_compile "$LINENO"; then :
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12055 $as_echo_n "checking for -lXinerama... " >&6; }
12056 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12057 $as_echo_n "(cached) " >&6
12058 else
12059 ac_check_soname_save_LIBS=$LIBS
12060 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12064 /* Override any GCC internal prototype to avoid an error.
12065 Use char because int might match the return type of a GCC
12066 builtin and then its argument prototype would still apply. */
12067 #ifdef __cplusplus
12068 extern "C"
12069 #endif
12070 char XineramaQueryScreens ();
12072 main ()
12074 return XineramaQueryScreens ();
12076 return 0;
12078 _ACEOF
12079 if ac_fn_c_try_link "$LINENO"; then :
12080 case "$LIBEXT" in
12081 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12082 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'` ;;
12083 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12084 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12085 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12086 fi ;;
12087 esac
12088 else
12089 ac_cv_lib_soname_Xinerama=
12091 rm -f core conftest.err conftest.$ac_objext \
12092 conftest$ac_exeext conftest.$ac_ext
12093 LIBS=$ac_check_soname_save_LIBS
12095 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12097 $as_echo "not found" >&6; }
12099 else
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12101 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12103 cat >>confdefs.h <<_ACEOF
12104 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12105 _ACEOF
12110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12112 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12113 case "x$with_xinerama" in
12114 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12115 xno) ;;
12116 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12117 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12118 esac
12122 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12123 then
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12125 $as_echo_n "checking for -lXcomposite... " >&6; }
12126 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 ac_check_soname_save_LIBS=$LIBS
12130 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12137 #ifdef __cplusplus
12138 extern "C"
12139 #endif
12140 char XCompositeRedirectWindow ();
12142 main ()
12144 return XCompositeRedirectWindow ();
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_link "$LINENO"; then :
12150 case "$LIBEXT" in
12151 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12152 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'` ;;
12153 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12154 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12155 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12156 fi ;;
12157 esac
12158 else
12159 ac_cv_lib_soname_Xcomposite=
12161 rm -f core conftest.err conftest.$ac_objext \
12162 conftest$ac_exeext conftest.$ac_ext
12163 LIBS=$ac_check_soname_save_LIBS
12165 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12167 $as_echo "not found" >&6; }
12169 else
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12171 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12173 cat >>confdefs.h <<_ACEOF
12174 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12175 _ACEOF
12180 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12181 case "x$with_xcomposite" in
12182 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12183 xno) ;;
12184 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12185 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12186 esac
12190 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12191 #include <X11/Xlib.h>
12192 #endif
12194 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12196 cat >>confdefs.h <<_ACEOF
12197 #define HAVE_XICCALLBACK_CALLBACK 1
12198 _ACEOF
12202 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12203 #include <X11/Xlib.h>
12204 #endif
12206 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12208 cat >>confdefs.h <<_ACEOF
12209 #define HAVE_XEVENT_XCOOKIE 1
12210 _ACEOF
12217 opengl_msg=""
12218 if test "x$with_opengl" != "xno"
12219 then
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12221 $as_echo_n "checking for -lGL... " >&6; }
12222 if ${ac_cv_lib_soname_GL+:} false; then :
12223 $as_echo_n "(cached) " >&6
12224 else
12225 ac_check_soname_save_LIBS=$LIBS
12226 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12230 /* Override any GCC internal prototype to avoid an error.
12231 Use char because int might match the return type of a GCC
12232 builtin and then its argument prototype would still apply. */
12233 #ifdef __cplusplus
12234 extern "C"
12235 #endif
12236 char glXCreateContext ();
12238 main ()
12240 return glXCreateContext ();
12242 return 0;
12244 _ACEOF
12245 if ac_fn_c_try_link "$LINENO"; then :
12246 case "$LIBEXT" in
12247 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12248 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'` ;;
12249 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12250 if ${ac_cv_lib_soname_GL:+false} :; then :
12251 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12252 fi ;;
12253 esac
12254 else
12255 ac_cv_lib_soname_GL=
12257 rm -f core conftest.err conftest.$ac_objext \
12258 conftest$ac_exeext conftest.$ac_ext
12259 LIBS=$ac_check_soname_save_LIBS
12261 if ${ac_cv_lib_soname_GL:+false} :; then :
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12263 $as_echo "not found" >&6; }
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12265 $as_echo_n "checking for -lGL... " >&6; }
12266 if ${ac_cv_lib_soname_GL+:} false; then :
12267 $as_echo_n "(cached) " >&6
12268 else
12269 ac_check_soname_save_LIBS=$LIBS
12270 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"
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12274 /* Override any GCC internal prototype to avoid an error.
12275 Use char because int might match the return type of a GCC
12276 builtin and then its argument prototype would still apply. */
12277 #ifdef __cplusplus
12278 extern "C"
12279 #endif
12280 char glXCreateContext ();
12282 main ()
12284 return glXCreateContext ();
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_link "$LINENO"; then :
12290 case "$LIBEXT" in
12291 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12292 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'` ;;
12293 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12294 if ${ac_cv_lib_soname_GL:+false} :; then :
12295 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12296 fi ;;
12297 esac
12298 else
12299 ac_cv_lib_soname_GL=
12301 rm -f core conftest.err conftest.$ac_objext \
12302 conftest$ac_exeext conftest.$ac_ext
12303 LIBS=$ac_check_soname_save_LIBS
12305 if ${ac_cv_lib_soname_GL:+false} :; then :
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12307 $as_echo "not found" >&6; }
12308 if test -f /usr/X11R6/lib/libGL.a
12309 then
12310 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12311 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12312 else
12313 opengl_msg="No OpenGL library found on this system."
12315 else
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12317 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12319 cat >>confdefs.h <<_ACEOF
12320 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12321 _ACEOF
12323 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"
12325 else
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12327 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12329 cat >>confdefs.h <<_ACEOF
12330 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12331 _ACEOF
12333 OPENGL_LIBS="-lGL"
12335 if test "x$with_glu" != "xno"
12336 then
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12338 $as_echo_n "checking for -lGLU... " >&6; }
12339 if ${ac_cv_lib_soname_GLU+:} false; then :
12340 $as_echo_n "(cached) " >&6
12341 else
12342 ac_check_soname_save_LIBS=$LIBS
12343 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12345 /* end confdefs.h. */
12347 /* Override any GCC internal prototype to avoid an error.
12348 Use char because int might match the return type of a GCC
12349 builtin and then its argument prototype would still apply. */
12350 #ifdef __cplusplus
12351 extern "C"
12352 #endif
12353 char gluLookAt ();
12355 main ()
12357 return gluLookAt ();
12359 return 0;
12361 _ACEOF
12362 if ac_fn_c_try_link "$LINENO"; then :
12363 case "$LIBEXT" in
12364 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12365 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'` ;;
12366 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12367 if ${ac_cv_lib_soname_GLU:+false} :; then :
12368 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12369 fi ;;
12370 esac
12371 else
12372 ac_cv_lib_soname_GLU=
12374 rm -f core conftest.err conftest.$ac_objext \
12375 conftest$ac_exeext conftest.$ac_ext
12376 LIBS=$ac_check_soname_save_LIBS
12378 if ${ac_cv_lib_soname_GLU:+false} :; then :
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12380 $as_echo "not found" >&6; }
12382 else
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12384 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12386 cat >>confdefs.h <<_ACEOF
12387 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12388 _ACEOF
12392 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12393 case "x$with_glu" in
12394 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12395 xno) ;;
12396 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12397 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12398 esac
12403 if test "x$with_osmesa" != "xno"
12404 then
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12406 $as_echo_n "checking for -lOSMesa... " >&6; }
12407 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12408 $as_echo_n "(cached) " >&6
12409 else
12410 ac_check_soname_save_LIBS=$LIBS
12411 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12415 /* Override any GCC internal prototype to avoid an error.
12416 Use char because int might match the return type of a GCC
12417 builtin and then its argument prototype would still apply. */
12418 #ifdef __cplusplus
12419 extern "C"
12420 #endif
12421 char OSMesaGetProcAddress ();
12423 main ()
12425 return OSMesaGetProcAddress ();
12427 return 0;
12429 _ACEOF
12430 if ac_fn_c_try_link "$LINENO"; then :
12431 case "$LIBEXT" in
12432 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12433 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'` ;;
12434 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12435 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12436 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12437 fi ;;
12438 esac
12439 else
12440 ac_cv_lib_soname_OSMesa=
12442 rm -f core conftest.err conftest.$ac_objext \
12443 conftest$ac_exeext conftest.$ac_ext
12444 LIBS=$ac_check_soname_save_LIBS
12446 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12448 $as_echo "not found" >&6; }
12450 else
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12452 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12454 cat >>confdefs.h <<_ACEOF
12455 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12456 _ACEOF
12460 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12461 case "x$with_osmesa" in
12462 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12463 xno) ;;
12464 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12465 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12466 esac
12471 if test -n "$opengl_msg"; then :
12472 case "x$with_opengl" in
12473 x) as_fn_append wine_warnings "|$opengl_msg
12474 OpenGL and Direct3D won't be supported." ;;
12475 xno) ;;
12476 *) as_fn_error $? "$opengl_msg
12477 OpenGL and Direct3D won't be supported.
12478 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12479 esac
12483 CPPFLAGS="$ac_save_CPPFLAGS"
12484 else
12485 X_CFLAGS=""
12486 X_LIBS=""
12489 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12490 then
12491 if test "x$X_LIBS" = "x"; then :
12492 case "x$with_x" in
12493 xno) ;;
12494 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12495 without X support, which probably isn't what you want. You will need
12496 to install ${notice_platform}development packages of Xlib at the very least.
12497 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12498 esac
12499 enable_winex11_drv=${enable_winex11_drv:-no}
12501 else
12502 if test "x$X_LIBS" = "x"; then :
12503 case "x$with_x" in
12504 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12505 xno) ;;
12506 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12507 This is an error since --with-x was requested." "$LINENO" 5 ;;
12508 esac
12509 enable_winex11_drv=${enable_winex11_drv:-no}
12513 if test "$ac_cv_header_CL_cl_h" = "yes"
12514 then
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12516 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12517 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12518 $as_echo_n "(cached) " >&6
12519 else
12520 ac_check_lib_save_LIBS=$LIBS
12521 LIBS="-lOpenCL $LIBS"
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12528 #ifdef __cplusplus
12529 extern "C"
12530 #endif
12531 char clGetPlatformInfo ();
12533 main ()
12535 return clGetPlatformInfo ();
12537 return 0;
12539 _ACEOF
12540 if ac_fn_c_try_link "$LINENO"; then :
12541 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12542 else
12543 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12545 rm -f core conftest.err conftest.$ac_objext \
12546 conftest$ac_exeext conftest.$ac_ext
12547 LIBS=$ac_check_lib_save_LIBS
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12550 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12551 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12552 OPENCL_LIBS="-lOpenCL"
12557 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12558 case "x$with_opencl" in
12559 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12560 xno) ;;
12561 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12562 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12563 esac
12564 enable_opencl=${enable_opencl:-no}
12567 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12568 then
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12570 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12571 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12572 $as_echo_n "(cached) " >&6
12573 else
12574 ac_check_lib_save_LIBS=$LIBS
12575 LIBS="-lpcap $LIBS"
12576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12577 /* end confdefs.h. */
12579 /* Override any GCC internal prototype to avoid an error.
12580 Use char because int might match the return type of a GCC
12581 builtin and then its argument prototype would still apply. */
12582 #ifdef __cplusplus
12583 extern "C"
12584 #endif
12585 char pcap_create ();
12587 main ()
12589 return pcap_create ();
12591 return 0;
12593 _ACEOF
12594 if ac_fn_c_try_link "$LINENO"; then :
12595 ac_cv_lib_pcap_pcap_create=yes
12596 else
12597 ac_cv_lib_pcap_pcap_create=no
12599 rm -f core conftest.err conftest.$ac_objext \
12600 conftest$ac_exeext conftest.$ac_ext
12601 LIBS=$ac_check_lib_save_LIBS
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12604 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12605 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12606 PCAP_LIBS="-lpcap"
12611 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12612 case "x$with_pcap" in
12613 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12614 xno) ;;
12615 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12616 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12617 esac
12618 enable_wpcap=${enable_wpcap:-no}
12622 if test "x$with_xml" != "xno"
12623 then
12624 if ${XML2_CFLAGS:+false} :; then :
12625 if ${PKG_CONFIG+:} false; then :
12626 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12629 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12630 if ${XML2_LIBS:+false} :; then :
12631 if ${PKG_CONFIG+:} false; then :
12632 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12635 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12636 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12637 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12638 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12639 ac_save_CPPFLAGS=$CPPFLAGS
12640 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12641 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12642 do :
12643 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12644 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12645 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12646 cat >>confdefs.h <<_ACEOF
12647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12648 _ACEOF
12652 done
12654 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"
12655 then
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12657 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12658 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12659 $as_echo_n "(cached) " >&6
12660 else
12661 ac_check_lib_save_LIBS=$LIBS
12662 LIBS="-lxml2 $XML2_LIBS $LIBS"
12663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12664 /* end confdefs.h. */
12666 /* Override any GCC internal prototype to avoid an error.
12667 Use char because int might match the return type of a GCC
12668 builtin and then its argument prototype would still apply. */
12669 #ifdef __cplusplus
12670 extern "C"
12671 #endif
12672 char xmlParseMemory ();
12674 main ()
12676 return xmlParseMemory ();
12678 return 0;
12680 _ACEOF
12681 if ac_fn_c_try_link "$LINENO"; then :
12682 ac_cv_lib_xml2_xmlParseMemory=yes
12683 else
12684 ac_cv_lib_xml2_xmlParseMemory=no
12686 rm -f core conftest.err conftest.$ac_objext \
12687 conftest$ac_exeext conftest.$ac_ext
12688 LIBS=$ac_check_lib_save_LIBS
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12691 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12692 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12694 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12696 else
12697 XML2_LIBS=""
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12701 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12702 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12703 $as_echo_n "(cached) " >&6
12704 else
12705 ac_check_lib_save_LIBS=$LIBS
12706 LIBS="-lxml2 $XML2_LIBS $LIBS"
12707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12708 /* end confdefs.h. */
12710 /* Override any GCC internal prototype to avoid an error.
12711 Use char because int might match the return type of a GCC
12712 builtin and then its argument prototype would still apply. */
12713 #ifdef __cplusplus
12714 extern "C"
12715 #endif
12716 char xmlReadMemory ();
12718 main ()
12720 return xmlReadMemory ();
12722 return 0;
12724 _ACEOF
12725 if ac_fn_c_try_link "$LINENO"; then :
12726 ac_cv_lib_xml2_xmlReadMemory=yes
12727 else
12728 ac_cv_lib_xml2_xmlReadMemory=no
12730 rm -f core conftest.err conftest.$ac_objext \
12731 conftest$ac_exeext conftest.$ac_ext
12732 LIBS=$ac_check_lib_save_LIBS
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12735 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12736 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12738 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12743 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12744 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12745 $as_echo_n "(cached) " >&6
12746 else
12747 ac_check_lib_save_LIBS=$LIBS
12748 LIBS="-lxml2 $XML2_LIBS $LIBS"
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 /* Override any GCC internal prototype to avoid an error.
12753 Use char because int might match the return type of a GCC
12754 builtin and then its argument prototype would still apply. */
12755 #ifdef __cplusplus
12756 extern "C"
12757 #endif
12758 char xmlNewDocPI ();
12760 main ()
12762 return xmlNewDocPI ();
12764 return 0;
12766 _ACEOF
12767 if ac_fn_c_try_link "$LINENO"; then :
12768 ac_cv_lib_xml2_xmlNewDocPI=yes
12769 else
12770 ac_cv_lib_xml2_xmlNewDocPI=no
12772 rm -f core conftest.err conftest.$ac_objext \
12773 conftest$ac_exeext conftest.$ac_ext
12774 LIBS=$ac_check_lib_save_LIBS
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12777 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12778 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12780 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12785 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12786 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12787 $as_echo_n "(cached) " >&6
12788 else
12789 ac_check_lib_save_LIBS=$LIBS
12790 LIBS="-lxml2 $XML2_LIBS $LIBS"
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12794 /* Override any GCC internal prototype to avoid an error.
12795 Use char because int might match the return type of a GCC
12796 builtin and then its argument prototype would still apply. */
12797 #ifdef __cplusplus
12798 extern "C"
12799 #endif
12800 char xmlSchemaSetParserStructuredErrors ();
12802 main ()
12804 return xmlSchemaSetParserStructuredErrors ();
12806 return 0;
12808 _ACEOF
12809 if ac_fn_c_try_link "$LINENO"; then :
12810 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12811 else
12812 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12814 rm -f core conftest.err conftest.$ac_objext \
12815 conftest$ac_exeext conftest.$ac_ext
12816 LIBS=$ac_check_lib_save_LIBS
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12819 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12820 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12822 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12827 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12828 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12829 $as_echo_n "(cached) " >&6
12830 else
12831 ac_check_lib_save_LIBS=$LIBS
12832 LIBS="-lxml2 $XML2_LIBS $LIBS"
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12836 /* Override any GCC internal prototype to avoid an error.
12837 Use char because int might match the return type of a GCC
12838 builtin and then its argument prototype would still apply. */
12839 #ifdef __cplusplus
12840 extern "C"
12841 #endif
12842 char xmlSchemaSetValidStructuredErrors ();
12844 main ()
12846 return xmlSchemaSetValidStructuredErrors ();
12848 return 0;
12850 _ACEOF
12851 if ac_fn_c_try_link "$LINENO"; then :
12852 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12853 else
12854 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12856 rm -f core conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_lib_save_LIBS
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12861 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12862 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12864 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12869 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12870 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12871 $as_echo_n "(cached) " >&6
12872 else
12873 ac_check_lib_save_LIBS=$LIBS
12874 LIBS="-lxml2 $XML2_LIBS $LIBS"
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 /* Override any GCC internal prototype to avoid an error.
12879 Use char because int might match the return type of a GCC
12880 builtin and then its argument prototype would still apply. */
12881 #ifdef __cplusplus
12882 extern "C"
12883 #endif
12884 char xmlFirstElementChild ();
12886 main ()
12888 return xmlFirstElementChild ();
12890 return 0;
12892 _ACEOF
12893 if ac_fn_c_try_link "$LINENO"; then :
12894 ac_cv_lib_xml2_xmlFirstElementChild=yes
12895 else
12896 ac_cv_lib_xml2_xmlFirstElementChild=no
12898 rm -f core conftest.err conftest.$ac_objext \
12899 conftest$ac_exeext conftest.$ac_ext
12900 LIBS=$ac_check_lib_save_LIBS
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12903 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12904 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12906 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12910 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12912 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12914 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12918 else
12919 XML2_CFLAGS=""
12920 XML2_LIBS=""
12922 CPPFLAGS=$ac_save_CPPFLAGS
12923 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12924 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12927 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12928 case "x$with_xml" in
12929 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12930 xno) ;;
12931 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12932 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12933 esac
12937 if test "x$with_xslt" != "xno"
12938 then
12939 if ${XSLT_CFLAGS:+false} :; then :
12940 if ${PKG_CONFIG+:} false; then :
12941 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12944 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12945 if ${XSLT_LIBS:+false} :; then :
12946 if ${PKG_CONFIG+:} false; then :
12947 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12950 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12951 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12952 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12953 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12954 ac_save_CPPFLAGS=$CPPFLAGS
12955 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12956 for ac_header in libxslt/pattern.h libxslt/transform.h
12957 do :
12958 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12959 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12960 # include <libxslt/pattern.h>
12961 #endif
12963 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12964 cat >>confdefs.h <<_ACEOF
12965 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12966 _ACEOF
12970 done
12972 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12973 then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12975 $as_echo_n "checking for -lxslt... " >&6; }
12976 if ${ac_cv_lib_soname_xslt+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_soname_save_LIBS=$LIBS
12980 LIBS="-lxslt $XSLT_LIBS $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char xsltCompilePattern ();
12992 main ()
12994 return xsltCompilePattern ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 case "$LIBEXT" in
13001 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13002 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'` ;;
13003 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13004 if ${ac_cv_lib_soname_xslt:+false} :; then :
13005 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13006 fi ;;
13007 esac
13008 else
13009 ac_cv_lib_soname_xslt=
13011 rm -f core conftest.err conftest.$ac_objext \
13012 conftest$ac_exeext conftest.$ac_ext
13013 LIBS=$ac_check_soname_save_LIBS
13015 if ${ac_cv_lib_soname_xslt:+false} :; then :
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13017 $as_echo "not found" >&6; }
13019 else
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13021 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13023 cat >>confdefs.h <<_ACEOF
13024 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13025 _ACEOF
13029 else
13030 XSLT_CFLAGS=""
13032 CPPFLAGS=$ac_save_CPPFLAGS
13033 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13034 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13037 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13038 case "x$with_xslt" in
13039 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13040 xno) ;;
13041 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13042 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13043 esac
13047 if test "x$with_inotify" != "xno"
13048 then
13049 if ${INOTIFY_CFLAGS:+false} :; then :
13050 if ${PKG_CONFIG+:} false; then :
13051 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13055 if ${INOTIFY_LIBS:+false} :; then :
13056 if ${PKG_CONFIG+:} false; then :
13057 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13062 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13063 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13064 ac_save_CPPFLAGS=$CPPFLAGS
13065 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13066 for ac_header in sys/inotify.h
13067 do :
13068 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13069 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13070 cat >>confdefs.h <<_ACEOF
13071 #define HAVE_SYS_INOTIFY_H 1
13072 _ACEOF
13076 done
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13079 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13080 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13081 $as_echo_n "(cached) " >&6
13082 else
13083 ac_check_lib_save_LIBS=$LIBS
13084 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13091 #ifdef __cplusplus
13092 extern "C"
13093 #endif
13094 char inotify_add_watch ();
13096 main ()
13098 return inotify_add_watch ();
13100 return 0;
13102 _ACEOF
13103 if ac_fn_c_try_link "$LINENO"; then :
13104 ac_cv_lib_inotify_inotify_add_watch=yes
13105 else
13106 ac_cv_lib_inotify_inotify_add_watch=no
13108 rm -f core conftest.err conftest.$ac_objext \
13109 conftest$ac_exeext conftest.$ac_ext
13110 LIBS=$ac_check_lib_save_LIBS
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13113 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13114 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13116 else
13117 INOTIFY_LIBS=""
13120 CPPFLAGS=$ac_save_CPPFLAGS
13121 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13122 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13125 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13126 case "x$with_inotify" in
13127 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13128 xno) ;;
13129 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13130 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13131 esac
13135 if test "x$with_dbus" != "xno"
13136 then
13137 if ${DBUS_CFLAGS:+false} :; then :
13138 if ${PKG_CONFIG+:} false; then :
13139 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13143 if ${DBUS_LIBS:+false} :; then :
13144 if ${PKG_CONFIG+:} false; then :
13145 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13150 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13151 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13152 ac_save_CPPFLAGS=$CPPFLAGS
13153 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13154 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13155 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13157 $as_echo_n "checking for -ldbus-1... " >&6; }
13158 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13159 $as_echo_n "(cached) " >&6
13160 else
13161 ac_check_soname_save_LIBS=$LIBS
13162 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13166 /* Override any GCC internal prototype to avoid an error.
13167 Use char because int might match the return type of a GCC
13168 builtin and then its argument prototype would still apply. */
13169 #ifdef __cplusplus
13170 extern "C"
13171 #endif
13172 char dbus_connection_close ();
13174 main ()
13176 return dbus_connection_close ();
13178 return 0;
13180 _ACEOF
13181 if ac_fn_c_try_link "$LINENO"; then :
13182 case "$LIBEXT" in
13183 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13184 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'` ;;
13185 *) 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'`
13186 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13187 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13188 fi ;;
13189 esac
13190 else
13191 ac_cv_lib_soname_dbus_1=
13193 rm -f core conftest.err conftest.$ac_objext \
13194 conftest$ac_exeext conftest.$ac_ext
13195 LIBS=$ac_check_soname_save_LIBS
13197 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13199 $as_echo "not found" >&6; }
13200 DBUS_CFLAGS=""
13201 else
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13203 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13205 cat >>confdefs.h <<_ACEOF
13206 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13207 _ACEOF
13211 else
13212 DBUS_CFLAGS=""
13216 CPPFLAGS=$ac_save_CPPFLAGS
13217 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13218 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13221 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13222 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13223 case "x$with_dbus" in
13224 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13225 xno) ;;
13226 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13227 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13228 esac
13232 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13233 then
13234 if ${HAL_CFLAGS:+false} :; then :
13235 if ${PKG_CONFIG+:} false; then :
13236 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13240 if ${HAL_LIBS:+false} :; then :
13241 if ${PKG_CONFIG+:} false; then :
13242 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13246 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13247 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13248 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13249 ac_save_CPPFLAGS=$CPPFLAGS
13250 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13251 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13252 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13254 $as_echo_n "checking for -lhal... " >&6; }
13255 if ${ac_cv_lib_soname_hal+:} false; then :
13256 $as_echo_n "(cached) " >&6
13257 else
13258 ac_check_soname_save_LIBS=$LIBS
13259 LIBS="-lhal $HAL_LIBS $LIBS"
13260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13261 /* end confdefs.h. */
13263 /* Override any GCC internal prototype to avoid an error.
13264 Use char because int might match the return type of a GCC
13265 builtin and then its argument prototype would still apply. */
13266 #ifdef __cplusplus
13267 extern "C"
13268 #endif
13269 char libhal_ctx_new ();
13271 main ()
13273 return libhal_ctx_new ();
13275 return 0;
13277 _ACEOF
13278 if ac_fn_c_try_link "$LINENO"; then :
13279 case "$LIBEXT" in
13280 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13281 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'` ;;
13282 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13283 if ${ac_cv_lib_soname_hal:+false} :; then :
13284 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13285 fi ;;
13286 esac
13287 else
13288 ac_cv_lib_soname_hal=
13290 rm -f core conftest.err conftest.$ac_objext \
13291 conftest$ac_exeext conftest.$ac_ext
13292 LIBS=$ac_check_soname_save_LIBS
13294 if ${ac_cv_lib_soname_hal:+false} :; then :
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13296 $as_echo "not found" >&6; }
13297 HAL_CFLAGS=""
13298 else
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13300 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13302 cat >>confdefs.h <<_ACEOF
13303 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13304 _ACEOF
13308 else
13309 HAL_CFLAGS=""
13313 CPPFLAGS=$ac_save_CPPFLAGS
13314 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13315 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13317 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13318 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13319 case "x$with_hal" in
13320 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13321 xno) ;;
13322 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13323 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13324 esac
13329 if test "x$with_gnutls" != "xno"
13330 then
13331 if ${GNUTLS_CFLAGS:+false} :; then :
13332 if ${PKG_CONFIG+:} false; then :
13333 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13337 if ${GNUTLS_LIBS:+false} :; then :
13338 if ${PKG_CONFIG+:} false; then :
13339 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13344 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13345 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13346 ac_save_CPPFLAGS=$CPPFLAGS
13347 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13348 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13349 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13352 #include <gnutls/gnutls.h>
13353 #include <gnutls/crypto.h>
13355 main ()
13357 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13359 return 0;
13361 _ACEOF
13362 if ac_fn_c_try_compile "$LINENO"; then :
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13364 $as_echo_n "checking for -lgnutls... " >&6; }
13365 if ${ac_cv_lib_soname_gnutls+:} false; then :
13366 $as_echo_n "(cached) " >&6
13367 else
13368 ac_check_soname_save_LIBS=$LIBS
13369 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13373 /* Override any GCC internal prototype to avoid an error.
13374 Use char because int might match the return type of a GCC
13375 builtin and then its argument prototype would still apply. */
13376 #ifdef __cplusplus
13377 extern "C"
13378 #endif
13379 char gnutls_global_init ();
13381 main ()
13383 return gnutls_global_init ();
13385 return 0;
13387 _ACEOF
13388 if ac_fn_c_try_link "$LINENO"; then :
13389 case "$LIBEXT" in
13390 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13391 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'` ;;
13392 *) 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'`
13393 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13394 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'`
13395 fi ;;
13396 esac
13397 else
13398 ac_cv_lib_soname_gnutls=
13400 rm -f core conftest.err conftest.$ac_objext \
13401 conftest$ac_exeext conftest.$ac_ext
13402 LIBS=$ac_check_soname_save_LIBS
13404 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13406 $as_echo "not found" >&6; }
13407 GNUTLS_CFLAGS=""
13408 else
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13410 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13412 cat >>confdefs.h <<_ACEOF
13413 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13414 _ACEOF
13418 ac_wine_check_funcs_save_LIBS="$LIBS"
13419 LIBS="$LIBS $GNUTLS_LIBS"
13420 for ac_func in gnutls_cipher_init
13421 do :
13422 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13423 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13424 cat >>confdefs.h <<_ACEOF
13425 #define HAVE_GNUTLS_CIPHER_INIT 1
13426 _ACEOF
13428 else
13429 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13431 done
13433 LIBS="$ac_wine_check_funcs_save_LIBS"
13435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13436 else
13437 GNUTLS_CFLAGS=""
13441 CPPFLAGS=$ac_save_CPPFLAGS
13442 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13443 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13446 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13447 case "x$with_gnutls" in
13448 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13449 xno) ;;
13450 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13451 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13452 esac
13456 CURSES_LIBS=""
13457 if test "$ac_cv_header_ncurses_h" = "yes"
13458 then
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13460 $as_echo_n "checking for -lncurses... " >&6; }
13461 if ${ac_cv_lib_soname_ncurses+:} false; then :
13462 $as_echo_n "(cached) " >&6
13463 else
13464 ac_check_soname_save_LIBS=$LIBS
13465 LIBS="-lncurses $LIBS"
13466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h. */
13469 /* Override any GCC internal prototype to avoid an error.
13470 Use char because int might match the return type of a GCC
13471 builtin and then its argument prototype would still apply. */
13472 #ifdef __cplusplus
13473 extern "C"
13474 #endif
13475 char waddch ();
13477 main ()
13479 return waddch ();
13481 return 0;
13483 _ACEOF
13484 if ac_fn_c_try_link "$LINENO"; then :
13485 case "$LIBEXT" in
13486 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13487 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'` ;;
13488 *) 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'`
13489 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13490 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13491 fi ;;
13492 esac
13493 else
13494 ac_cv_lib_soname_ncurses=
13496 rm -f core conftest.err conftest.$ac_objext \
13497 conftest$ac_exeext conftest.$ac_ext
13498 LIBS=$ac_check_soname_save_LIBS
13500 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13502 $as_echo "not found" >&6; }
13504 else
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13506 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13508 cat >>confdefs.h <<_ACEOF
13509 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13510 _ACEOF
13512 CURSES_LIBS="-lncurses"
13514 elif test "$ac_cv_header_curses_h" = "yes"
13515 then
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13517 $as_echo_n "checking for -lcurses... " >&6; }
13518 if ${ac_cv_lib_soname_curses+:} false; then :
13519 $as_echo_n "(cached) " >&6
13520 else
13521 ac_check_soname_save_LIBS=$LIBS
13522 LIBS="-lcurses $LIBS"
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13526 /* Override any GCC internal prototype to avoid an error.
13527 Use char because int might match the return type of a GCC
13528 builtin and then its argument prototype would still apply. */
13529 #ifdef __cplusplus
13530 extern "C"
13531 #endif
13532 char waddch ();
13534 main ()
13536 return waddch ();
13538 return 0;
13540 _ACEOF
13541 if ac_fn_c_try_link "$LINENO"; then :
13542 case "$LIBEXT" in
13543 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13544 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'` ;;
13545 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13546 if ${ac_cv_lib_soname_curses:+false} :; then :
13547 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13548 fi ;;
13549 esac
13550 else
13551 ac_cv_lib_soname_curses=
13553 rm -f core conftest.err conftest.$ac_objext \
13554 conftest$ac_exeext conftest.$ac_ext
13555 LIBS=$ac_check_soname_save_LIBS
13557 if ${ac_cv_lib_soname_curses:+false} :; then :
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13559 $as_echo "not found" >&6; }
13561 else
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13563 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13565 cat >>confdefs.h <<_ACEOF
13566 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13567 _ACEOF
13569 CURSES_LIBS="-lcurses"
13572 ac_save_LIBS="$LIBS"
13573 LIBS="$LIBS $CURSES_LIBS"
13574 for ac_func in mousemask
13575 do :
13576 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13577 if test "x$ac_cv_func_mousemask" = xyes; then :
13578 cat >>confdefs.h <<_ACEOF
13579 #define HAVE_MOUSEMASK 1
13580 _ACEOF
13583 done
13585 LIBS="$ac_save_LIBS"
13586 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13587 case "x$with_curses" in
13588 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13589 xno) ;;
13590 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13591 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13592 esac
13596 if test "x$with_sane" != "xno"
13597 then
13598 if ${SANE_CFLAGS:+false} :; then :
13599 if ${PKG_CONFIG+:} false; then :
13600 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13603 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13604 if ${SANE_LIBS:+false} :; then :
13605 if ${PKG_CONFIG+:} false; then :
13606 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13609 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13611 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13612 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13613 ac_save_CPPFLAGS=$CPPFLAGS
13614 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13615 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13616 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13618 $as_echo_n "checking for -lsane... " >&6; }
13619 if ${ac_cv_lib_soname_sane+:} false; then :
13620 $as_echo_n "(cached) " >&6
13621 else
13622 ac_check_soname_save_LIBS=$LIBS
13623 LIBS="-lsane $SANE_LIBS $LIBS"
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13627 /* Override any GCC internal prototype to avoid an error.
13628 Use char because int might match the return type of a GCC
13629 builtin and then its argument prototype would still apply. */
13630 #ifdef __cplusplus
13631 extern "C"
13632 #endif
13633 char sane_init ();
13635 main ()
13637 return sane_init ();
13639 return 0;
13641 _ACEOF
13642 if ac_fn_c_try_link "$LINENO"; then :
13643 case "$LIBEXT" in
13644 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13645 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'` ;;
13646 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13647 if ${ac_cv_lib_soname_sane:+false} :; then :
13648 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13649 fi ;;
13650 esac
13651 else
13652 ac_cv_lib_soname_sane=
13654 rm -f core conftest.err conftest.$ac_objext \
13655 conftest$ac_exeext conftest.$ac_ext
13656 LIBS=$ac_check_soname_save_LIBS
13658 if ${ac_cv_lib_soname_sane:+false} :; then :
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13660 $as_echo "not found" >&6; }
13661 SANE_CFLAGS=""
13662 else
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13664 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13666 cat >>confdefs.h <<_ACEOF
13667 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13668 _ACEOF
13672 else
13673 SANE_CFLAGS=""
13677 CPPFLAGS=$ac_save_CPPFLAGS
13678 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13679 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13682 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13683 case "x$with_sane" in
13684 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13685 xno) ;;
13686 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13687 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13688 esac
13692 if test "x$with_v4l2" != "xno"
13693 then
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13695 $as_echo_n "checking for -lv4l2... " >&6; }
13696 if ${ac_cv_lib_soname_v4l2+:} false; then :
13697 $as_echo_n "(cached) " >&6
13698 else
13699 ac_check_soname_save_LIBS=$LIBS
13700 LIBS="-lv4l2 $LIBS"
13701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13704 /* Override any GCC internal prototype to avoid an error.
13705 Use char because int might match the return type of a GCC
13706 builtin and then its argument prototype would still apply. */
13707 #ifdef __cplusplus
13708 extern "C"
13709 #endif
13710 char v4l2_open ();
13712 main ()
13714 return v4l2_open ();
13716 return 0;
13718 _ACEOF
13719 if ac_fn_c_try_link "$LINENO"; then :
13720 case "$LIBEXT" in
13721 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13722 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'` ;;
13723 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13724 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13725 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13726 fi ;;
13727 esac
13728 else
13729 ac_cv_lib_soname_v4l2=
13731 rm -f core conftest.err conftest.$ac_objext \
13732 conftest$ac_exeext conftest.$ac_ext
13733 LIBS=$ac_check_soname_save_LIBS
13735 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13737 $as_echo "not found" >&6; }
13739 else
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13741 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13743 cat >>confdefs.h <<_ACEOF
13744 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13745 _ACEOF
13750 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13751 case "x$with_v4l2" in
13752 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13753 xno) ;;
13754 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13755 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13756 esac
13760 if test "x$with_gphoto" != "xno"
13761 then
13762 if ${GPHOTO2_CFLAGS:+false} :; then :
13763 if ${PKG_CONFIG+:} false; then :
13764 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13767 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13768 if ${GPHOTO2_LIBS:+false} :; then :
13769 if ${PKG_CONFIG+:} false; then :
13770 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13773 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13774 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13775 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13776 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13777 ac_save_CPPFLAGS=$CPPFLAGS
13778 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13779 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13780 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13782 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13783 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13784 $as_echo_n "(cached) " >&6
13785 else
13786 ac_check_lib_save_LIBS=$LIBS
13787 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13789 /* end confdefs.h. */
13791 /* Override any GCC internal prototype to avoid an error.
13792 Use char because int might match the return type of a GCC
13793 builtin and then its argument prototype would still apply. */
13794 #ifdef __cplusplus
13795 extern "C"
13796 #endif
13797 char gp_camera_new ();
13799 main ()
13801 return gp_camera_new ();
13803 return 0;
13805 _ACEOF
13806 if ac_fn_c_try_link "$LINENO"; then :
13807 ac_cv_lib_gphoto2_gp_camera_new=yes
13808 else
13809 ac_cv_lib_gphoto2_gp_camera_new=no
13811 rm -f core conftest.err conftest.$ac_objext \
13812 conftest$ac_exeext conftest.$ac_ext
13813 LIBS=$ac_check_lib_save_LIBS
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13816 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13817 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13819 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13821 else
13822 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13825 else
13826 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13830 CPPFLAGS=$ac_save_CPPFLAGS
13831 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13832 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13834 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13835 if ${PKG_CONFIG+:} false; then :
13836 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13839 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13840 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13841 if ${PKG_CONFIG+:} false; then :
13842 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13845 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13846 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13847 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13848 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13849 ac_save_CPPFLAGS=$CPPFLAGS
13850 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13851 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13852 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13854 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13855 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13856 $as_echo_n "(cached) " >&6
13857 else
13858 ac_check_lib_save_LIBS=$LIBS
13859 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13863 /* Override any GCC internal prototype to avoid an error.
13864 Use char because int might match the return type of a GCC
13865 builtin and then its argument prototype would still apply. */
13866 #ifdef __cplusplus
13867 extern "C"
13868 #endif
13869 char gp_port_info_list_new ();
13871 main ()
13873 return gp_port_info_list_new ();
13875 return 0;
13877 _ACEOF
13878 if ac_fn_c_try_link "$LINENO"; then :
13879 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13880 else
13881 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13883 rm -f core conftest.err conftest.$ac_objext \
13884 conftest$ac_exeext conftest.$ac_ext
13885 LIBS=$ac_check_lib_save_LIBS
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13888 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13889 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13891 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13893 else
13894 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13897 else
13898 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13902 CPPFLAGS=$ac_save_CPPFLAGS
13903 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13904 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13907 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13908 case "x$with_gphoto" in
13909 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13910 xno) ;;
13911 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13912 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13913 esac
13916 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13917 case "x$with_gphoto" in
13918 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13919 xno) ;;
13920 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13921 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13922 esac
13927 if test "$ac_cv_header_resolv_h" = "yes"
13928 then
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13930 $as_echo_n "checking for resolver library... " >&6; }
13931 if ${ac_cv_have_resolv+:} false; then :
13932 $as_echo_n "(cached) " >&6
13933 else
13934 ac_save_LIBS="$LIBS"
13935 for lib in '' -lresolv
13937 LIBS="$lib $ac_save_LIBS"
13938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13940 #ifdef HAVE_NETINET_IN_H
13941 #include <netinet/in.h>
13942 #endif
13943 #include <resolv.h>
13945 main ()
13947 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13949 return 0;
13951 _ACEOF
13952 if ac_fn_c_try_link "$LINENO"; then :
13953 ac_cv_have_resolv=${lib:-"none required"}
13954 else
13955 ac_cv_have_resolv="not found"
13957 rm -f core conftest.err conftest.$ac_objext \
13958 conftest$ac_exeext conftest.$ac_ext
13959 test "x$ac_cv_have_resolv" = "xnot found" || break
13960 done
13961 LIBS="$ac_save_LIBS"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13964 $as_echo "$ac_cv_have_resolv" >&6; }
13966 case "$ac_cv_have_resolv" in
13967 "not found") ;;
13968 "none required")
13970 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13973 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13975 RESOLV_LIBS=$ac_cv_have_resolv
13977 esac
13980 if test "x$with_cms" != "xno"
13981 then
13982 if ${LCMS2_CFLAGS:+false} :; then :
13983 if ${PKG_CONFIG+:} false; then :
13984 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
13988 if ${LCMS2_LIBS:+false} :; then :
13989 if ${PKG_CONFIG+:} false; then :
13990 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
13994 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
13995 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
13996 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
13997 ac_save_CPPFLAGS=$CPPFLAGS
13998 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
13999 for ac_header in lcms2.h
14000 do :
14001 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14002 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14003 cat >>confdefs.h <<_ACEOF
14004 #define HAVE_LCMS2_H 1
14005 _ACEOF
14009 done
14011 if test "$ac_cv_header_lcms2_h" = "yes"
14012 then
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14014 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14015 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14016 $as_echo_n "(cached) " >&6
14017 else
14018 ac_check_lib_save_LIBS=$LIBS
14019 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14021 /* end confdefs.h. */
14023 /* Override any GCC internal prototype to avoid an error.
14024 Use char because int might match the return type of a GCC
14025 builtin and then its argument prototype would still apply. */
14026 #ifdef __cplusplus
14027 extern "C"
14028 #endif
14029 char cmsOpenProfileFromFile ();
14031 main ()
14033 return cmsOpenProfileFromFile ();
14035 return 0;
14037 _ACEOF
14038 if ac_fn_c_try_link "$LINENO"; then :
14039 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14040 else
14041 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14043 rm -f core conftest.err conftest.$ac_objext \
14044 conftest$ac_exeext conftest.$ac_ext
14045 LIBS=$ac_check_lib_save_LIBS
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14048 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14049 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14051 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14053 else
14054 LCMS2_LIBS=""
14057 else
14058 LCMS2_CFLAGS=""
14059 LCMS2_LIBS=""
14061 CPPFLAGS=$ac_save_CPPFLAGS
14062 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14063 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14066 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14067 case "x$with_cms" in
14068 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14069 xno) ;;
14070 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14071 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14072 esac
14076 if test "x$with_freetype" != "xno"
14077 then
14078 if ${FREETYPE_CFLAGS:+false} :; then :
14079 if ${PKG_CONFIG+:} false; then :
14080 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14083 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14084 if ${FREETYPE_LIBS:+false} :; then :
14085 if ${PKG_CONFIG+:} false; then :
14086 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14089 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14090 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14091 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14092 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14093 ac_save_CPPFLAGS=$CPPFLAGS
14094 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14095 for ac_header in ft2build.h
14096 do :
14097 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14098 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14099 cat >>confdefs.h <<_ACEOF
14100 #define HAVE_FT2BUILD_H 1
14101 _ACEOF
14105 done
14107 if test "$ac_cv_header_ft2build_h" = "yes"
14108 then
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14110 $as_echo_n "checking for -lfreetype... " >&6; }
14111 if ${ac_cv_lib_soname_freetype+:} false; then :
14112 $as_echo_n "(cached) " >&6
14113 else
14114 ac_check_soname_save_LIBS=$LIBS
14115 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14117 /* end confdefs.h. */
14119 /* Override any GCC internal prototype to avoid an error.
14120 Use char because int might match the return type of a GCC
14121 builtin and then its argument prototype would still apply. */
14122 #ifdef __cplusplus
14123 extern "C"
14124 #endif
14125 char FT_Init_FreeType ();
14127 main ()
14129 return FT_Init_FreeType ();
14131 return 0;
14133 _ACEOF
14134 if ac_fn_c_try_link "$LINENO"; then :
14135 case "$LIBEXT" in
14136 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14137 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'` ;;
14138 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14139 if ${ac_cv_lib_soname_freetype:+false} :; then :
14140 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14141 fi ;;
14142 esac
14143 else
14144 ac_cv_lib_soname_freetype=
14146 rm -f core conftest.err conftest.$ac_objext \
14147 conftest$ac_exeext conftest.$ac_ext
14148 LIBS=$ac_check_soname_save_LIBS
14150 if ${ac_cv_lib_soname_freetype:+false} :; then :
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14152 $as_echo "not found" >&6; }
14153 FREETYPE_LIBS=""
14154 else
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14156 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14158 cat >>confdefs.h <<_ACEOF
14159 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14160 _ACEOF
14163 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14165 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14166 #include FT_MODULE_H
14168 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14170 cat >>confdefs.h <<_ACEOF
14171 #define HAVE_FT_TRUETYPEENGINETYPE 1
14172 _ACEOF
14178 else
14179 FREETYPE_CFLAGS=""
14180 FREETYPE_LIBS=""
14182 CPPFLAGS=$ac_save_CPPFLAGS
14183 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14184 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14187 if test "x$ac_cv_lib_soname_freetype" = x; then :
14188 case "x$with_freetype" in
14189 xno) ;;
14190 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14191 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14192 esac
14193 enable_fonts=${enable_fonts:-no}
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14197 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14198 if ${ac_cv_c_ppdev+:} false; then :
14199 $as_echo_n "(cached) " >&6
14200 else
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14203 #ifdef HAVE_SYS_IOCTL_H
14204 # include <sys/ioctl.h>
14205 #endif
14206 #include <linux/ppdev.h>
14208 main ()
14210 ioctl (1,PPCLAIM,0)
14212 return 0;
14214 _ACEOF
14215 if ac_fn_c_try_compile "$LINENO"; then :
14216 ac_cv_c_ppdev="yes"
14217 else
14218 ac_cv_c_ppdev="no"
14220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14223 $as_echo "$ac_cv_c_ppdev" >&6; }
14224 if test "$ac_cv_c_ppdev" = "yes"
14225 then
14227 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14231 ac_wine_check_funcs_save_LIBS="$LIBS"
14232 LIBS="$LIBS "
14233 for ac_func in \
14234 pthread_getthreadid_np \
14235 $PTHREAD_LIBS
14236 do :
14237 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14239 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14240 cat >>confdefs.h <<_ACEOF
14241 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14242 _ACEOF
14245 done
14247 LIBS="$ac_wine_check_funcs_save_LIBS"
14249 if test "$ac_cv_header_zlib_h" = "yes"
14250 then
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14252 $as_echo_n "checking for inflate in -lz... " >&6; }
14253 if ${ac_cv_lib_z_inflate+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 ac_check_lib_save_LIBS=$LIBS
14257 LIBS="-lz $LIBS"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 #ifdef __cplusplus
14265 extern "C"
14266 #endif
14267 char inflate ();
14269 main ()
14271 return inflate ();
14273 return 0;
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"; then :
14277 ac_cv_lib_z_inflate=yes
14278 else
14279 ac_cv_lib_z_inflate=no
14281 rm -f core conftest.err conftest.$ac_objext \
14282 conftest$ac_exeext conftest.$ac_ext
14283 LIBS=$ac_check_lib_save_LIBS
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14286 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14287 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14289 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14291 Z_LIBS="-lz"
14296 if test "x$Z_LIBS" = "x"; then :
14297 case "x$with_zlib" in
14298 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14299 xno) ;;
14300 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14301 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14302 esac
14306 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14307 then
14308 if test "$ac_cv_header_gettext_po_h" = "yes"
14309 then
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14311 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14312 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14313 $as_echo_n "(cached) " >&6
14314 else
14315 ac_check_lib_save_LIBS=$LIBS
14316 LIBS="-lgettextpo $LIBS"
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14320 /* Override any GCC internal prototype to avoid an error.
14321 Use char because int might match the return type of a GCC
14322 builtin and then its argument prototype would still apply. */
14323 #ifdef __cplusplus
14324 extern "C"
14325 #endif
14326 char po_message_msgctxt ();
14328 main ()
14330 return po_message_msgctxt ();
14332 return 0;
14334 _ACEOF
14335 if ac_fn_c_try_link "$LINENO"; then :
14336 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14337 else
14338 ac_cv_lib_gettextpo_po_message_msgctxt=no
14340 rm -f core conftest.err conftest.$ac_objext \
14341 conftest$ac_exeext conftest.$ac_ext
14342 LIBS=$ac_check_lib_save_LIBS
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14345 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14346 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14348 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14350 GETTEXTPO_LIBS="-lgettextpo"
14355 if test "x$GETTEXTPO_LIBS" = "x"; then :
14356 case "x$with_gettextpo" in
14357 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14358 xno) ;;
14359 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14360 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14361 esac
14364 if test "$srcdir" != .; then :
14365 case "x$with_gettextpo" in
14366 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14367 xno) ;;
14368 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14369 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14370 esac
14375 if test "x$with_pulse" != "xno";
14376 then
14377 if ${PULSE_CFLAGS:+false} :; then :
14378 if ${PKG_CONFIG+:} false; then :
14379 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14383 if ${PULSE_LIBS:+false} :; then :
14384 if ${PKG_CONFIG+:} false; then :
14385 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14390 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14391 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14392 ac_save_CPPFLAGS=$CPPFLAGS
14393 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14394 for ac_header in pulse/pulseaudio.h
14395 do :
14396 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14397 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14398 cat >>confdefs.h <<_ACEOF
14399 #define HAVE_PULSE_PULSEAUDIO_H 1
14400 _ACEOF
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14402 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14403 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14404 $as_echo_n "(cached) " >&6
14405 else
14406 ac_check_lib_save_LIBS=$LIBS
14407 LIBS="-lpulse $PULSE_LIBS $LIBS"
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14411 /* Override any GCC internal prototype to avoid an error.
14412 Use char because int might match the return type of a GCC
14413 builtin and then its argument prototype would still apply. */
14414 #ifdef __cplusplus
14415 extern "C"
14416 #endif
14417 char pa_stream_is_corked ();
14419 main ()
14421 return pa_stream_is_corked ();
14423 return 0;
14425 _ACEOF
14426 if ac_fn_c_try_link "$LINENO"; then :
14427 ac_cv_lib_pulse_pa_stream_is_corked=yes
14428 else
14429 ac_cv_lib_pulse_pa_stream_is_corked=no
14431 rm -f core conftest.err conftest.$ac_objext \
14432 conftest$ac_exeext conftest.$ac_ext
14433 LIBS=$ac_check_lib_save_LIBS
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14436 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14437 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14439 else
14440 PULSE_LIBS=""
14443 else
14444 PULSE_LIBS=""
14447 done
14449 CPPFLAGS=$ac_save_CPPFLAGS
14450 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14451 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14454 if test -z "$PULSE_LIBS"; then :
14455 case "x$with_pulse" in
14456 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14457 xno) ;;
14458 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14459 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14460 esac
14461 enable_winepulse_drv=${enable_winepulse_drv:-no}
14464 if test "x$with_gstreamer" != "xno"
14465 then
14466 if ${GSTREAMER_CFLAGS:+false} :; then :
14467 if ${PKG_CONFIG+:} false; then :
14468 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14472 if ${GSTREAMER_LIBS:+false} :; then :
14473 if ${PKG_CONFIG+:} false; then :
14474 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14479 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14480 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14481 ac_save_CPPFLAGS=$CPPFLAGS
14482 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14483 ac_gst_incl=""
14484 for i in $GSTREAMER_CFLAGS
14486 case "$i" in
14487 -I*) ac_gst_incl="$ac_gst_incl $i";;
14488 esac
14489 done
14490 GSTREAMER_CFLAGS=$ac_gst_incl
14491 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14492 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14493 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14495 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 #include <gst/gst.h>
14500 main ()
14502 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14504 return 0;
14506 _ACEOF
14507 if ac_fn_c_try_compile "$LINENO"; then :
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14509 $as_echo "yes" >&6; }
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14511 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14512 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14513 $as_echo_n "(cached) " >&6
14514 else
14515 ac_check_lib_save_LIBS=$LIBS
14516 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14518 /* end confdefs.h. */
14520 /* Override any GCC internal prototype to avoid an error.
14521 Use char because int might match the return type of a GCC
14522 builtin and then its argument prototype would still apply. */
14523 #ifdef __cplusplus
14524 extern "C"
14525 #endif
14526 char gst_pad_new ();
14528 main ()
14530 return gst_pad_new ();
14532 return 0;
14534 _ACEOF
14535 if ac_fn_c_try_link "$LINENO"; then :
14536 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14537 else
14538 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14540 rm -f core conftest.err conftest.$ac_objext \
14541 conftest$ac_exeext conftest.$ac_ext
14542 LIBS=$ac_check_lib_save_LIBS
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14545 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14546 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14550 else
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14552 $as_echo "no" >&6; }
14553 ac_glib2_broken=yes
14554 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14560 CPPFLAGS=$ac_save_CPPFLAGS
14561 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14562 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14565 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 :
14566 case "x$with_gstreamer" in
14567 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14568 xno) ;;
14569 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14570 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14571 esac
14574 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14576 ALSA_LIBS=""
14578 if test "x$with_alsa" != "xno"
14579 then
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14581 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14582 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14583 $as_echo_n "(cached) " >&6
14584 else
14585 ac_check_lib_save_LIBS=$LIBS
14586 LIBS="-lasound $LIBS"
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14590 /* Override any GCC internal prototype to avoid an error.
14591 Use char because int might match the return type of a GCC
14592 builtin and then its argument prototype would still apply. */
14593 #ifdef __cplusplus
14594 extern "C"
14595 #endif
14596 char snd_pcm_hw_params_get_access_mask ();
14598 main ()
14600 return snd_pcm_hw_params_get_access_mask ();
14602 return 0;
14604 _ACEOF
14605 if ac_fn_c_try_link "$LINENO"; then :
14606 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14607 else
14608 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14610 rm -f core conftest.err conftest.$ac_objext \
14611 conftest$ac_exeext conftest.$ac_ext
14612 LIBS=$ac_check_lib_save_LIBS
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14615 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14616 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14619 #include <alsa/asoundlib.h>
14621 main ()
14623 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14625 return 0;
14627 _ACEOF
14628 if ac_fn_c_try_compile "$LINENO"; then :
14629 ALSA_LIBS="-lasound"
14631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14635 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14637 if test "x$with_oss" != xno
14638 then
14639 ac_save_CPPFLAGS="$CPPFLAGS"
14640 if test -f /etc/oss.conf
14641 then
14642 . /etc/oss.conf
14644 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14645 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14646 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14647 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14648 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14650 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14652 cat >>confdefs.h <<_ACEOF
14653 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14654 _ACEOF
14656 OSS4_CFLAGS="$ac_oss_incl"
14663 CPPFLAGS="$ac_save_CPPFLAGS"
14665 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14666 case "x$with_oss" in
14667 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14668 xno) ;;
14669 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14670 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14671 esac
14672 enable_wineoss_drv=${enable_wineoss_drv:-no}
14675 if test "x$with_udev" != "xno"
14676 then
14677 if ${UDEV_CFLAGS:+false} :; then :
14678 if ${PKG_CONFIG+:} false; then :
14679 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14683 if ${UDEV_LIBS:+false} :; then :
14684 if ${PKG_CONFIG+:} false; then :
14685 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14689 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14690 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14691 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14692 ac_save_CPPFLAGS=$CPPFLAGS
14693 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14694 for ac_header in libudev.h
14695 do :
14696 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14697 if test "x$ac_cv_header_libudev_h" = xyes; then :
14698 cat >>confdefs.h <<_ACEOF
14699 #define HAVE_LIBUDEV_H 1
14700 _ACEOF
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14702 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14703 if ${ac_cv_lib_udev_udev_new+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 ac_check_lib_save_LIBS=$LIBS
14707 LIBS="-ludev $UDEV_LIBS $LIBS"
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14714 #ifdef __cplusplus
14715 extern "C"
14716 #endif
14717 char udev_new ();
14719 main ()
14721 return udev_new ();
14723 return 0;
14725 _ACEOF
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 ac_cv_lib_udev_udev_new=yes
14728 else
14729 ac_cv_lib_udev_udev_new=no
14731 rm -f core conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext conftest.$ac_ext
14733 LIBS=$ac_check_lib_save_LIBS
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14736 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14737 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14739 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14741 else
14742 UDEV_LIBS=""
14745 else
14746 UDEV_LIBS=""
14749 done
14751 CPPFLAGS=$ac_save_CPPFLAGS
14752 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14753 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14756 if test "x$UDEV_LIBS" = "x"; then :
14757 case "x$with_udev" in
14758 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14759 xno) ;;
14760 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14761 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14762 esac
14766 if test "x$with_sdl" != "xno"
14767 then
14768 if ${SDL2_CFLAGS:+false} :; then :
14769 if ${PKG_CONFIG+:} false; then :
14770 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14774 if ${SDL2_LIBS:+false} :; then :
14775 if ${PKG_CONFIG+:} false; then :
14776 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14780 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14781 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14782 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14783 ac_save_CPPFLAGS=$CPPFLAGS
14784 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14785 for ac_header in SDL2/SDL.h
14786 do :
14787 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14788 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14789 cat >>confdefs.h <<_ACEOF
14790 #define HAVE_SDL2_SDL_H 1
14791 _ACEOF
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14793 $as_echo_n "checking for -lSDL2... " >&6; }
14794 if ${ac_cv_lib_soname_SDL2+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_check_soname_save_LIBS=$LIBS
14798 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14802 /* Override any GCC internal prototype to avoid an error.
14803 Use char because int might match the return type of a GCC
14804 builtin and then its argument prototype would still apply. */
14805 #ifdef __cplusplus
14806 extern "C"
14807 #endif
14808 char SDL_Init ();
14810 main ()
14812 return SDL_Init ();
14814 return 0;
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 case "$LIBEXT" in
14819 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14820 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'` ;;
14821 *) 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'`
14822 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14823 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14824 fi ;;
14825 esac
14826 else
14827 ac_cv_lib_soname_SDL2=
14829 rm -f core conftest.err conftest.$ac_objext \
14830 conftest$ac_exeext conftest.$ac_ext
14831 LIBS=$ac_check_soname_save_LIBS
14833 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14835 $as_echo "not found" >&6; }
14837 else
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14839 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14841 cat >>confdefs.h <<_ACEOF
14842 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14843 _ACEOF
14849 done
14851 CPPFLAGS=$ac_save_CPPFLAGS
14852 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14853 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14856 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14857 case "x$with_sdl" in
14858 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14859 xno) ;;
14860 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14861 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14862 esac
14866 if test "x$with_faudio" != "xno"
14867 then
14868 if ${FAUDIO_CFLAGS:+false} :; then :
14869 if ${PKG_CONFIG+:} false; then :
14870 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14874 if ${FAUDIO_LIBS:+false} :; then :
14875 if ${PKG_CONFIG+:} false; then :
14876 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14880 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14881 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14882 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14883 ac_save_CPPFLAGS=$CPPFLAGS
14884 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14885 for ac_header in FAudio.h
14886 do :
14887 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14888 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14889 cat >>confdefs.h <<_ACEOF
14890 #define HAVE_FAUDIO_H 1
14891 _ACEOF
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14893 $as_echo_n "checking for -lFAudio... " >&6; }
14894 if ${ac_cv_lib_soname_FAudio+:} false; then :
14895 $as_echo_n "(cached) " >&6
14896 else
14897 ac_check_soname_save_LIBS=$LIBS
14898 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14902 /* Override any GCC internal prototype to avoid an error.
14903 Use char because int might match the return type of a GCC
14904 builtin and then its argument prototype would still apply. */
14905 #ifdef __cplusplus
14906 extern "C"
14907 #endif
14908 char FAudioCreate ();
14910 main ()
14912 return FAudioCreate ();
14914 return 0;
14916 _ACEOF
14917 if ac_fn_c_try_link "$LINENO"; then :
14918 case "$LIBEXT" in
14919 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14920 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'` ;;
14921 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14922 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14923 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14924 fi ;;
14925 esac
14926 else
14927 ac_cv_lib_soname_FAudio=
14929 rm -f core conftest.err conftest.$ac_objext \
14930 conftest$ac_exeext conftest.$ac_ext
14931 LIBS=$ac_check_soname_save_LIBS
14933 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14935 $as_echo "not found" >&6; }
14937 else
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14939 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14941 cat >>confdefs.h <<_ACEOF
14942 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14943 _ACEOF
14949 done
14951 CPPFLAGS=$ac_save_CPPFLAGS
14952 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14953 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14956 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14957 case "x$with_faudio" in
14958 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14959 xno) ;;
14960 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14961 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14962 esac
14966 if test "x$with_capi" != "xno"
14967 then
14968 if ${CAPI20_CFLAGS:+false} :; then :
14969 if ${PKG_CONFIG+:} false; then :
14970 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14974 if ${CAPI20_LIBS:+false} :; then :
14975 if ${PKG_CONFIG+:} false; then :
14976 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14981 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14982 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14983 ac_save_CPPFLAGS=$CPPFLAGS
14984 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14985 for ac_header in capi20.h linux/capi.h
14986 do :
14987 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14988 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
14990 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14991 cat >>confdefs.h <<_ACEOF
14992 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14993 _ACEOF
14997 done
14999 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15000 then
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15002 $as_echo_n "checking for -lcapi20... " >&6; }
15003 if ${ac_cv_lib_soname_capi20+:} false; then :
15004 $as_echo_n "(cached) " >&6
15005 else
15006 ac_check_soname_save_LIBS=$LIBS
15007 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15011 /* Override any GCC internal prototype to avoid an error.
15012 Use char because int might match the return type of a GCC
15013 builtin and then its argument prototype would still apply. */
15014 #ifdef __cplusplus
15015 extern "C"
15016 #endif
15017 char capi20_register ();
15019 main ()
15021 return capi20_register ();
15023 return 0;
15025 _ACEOF
15026 if ac_fn_c_try_link "$LINENO"; then :
15027 case "$LIBEXT" in
15028 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15029 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'` ;;
15030 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15031 if ${ac_cv_lib_soname_capi20:+false} :; then :
15032 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15033 fi ;;
15034 esac
15035 else
15036 ac_cv_lib_soname_capi20=
15038 rm -f core conftest.err conftest.$ac_objext \
15039 conftest$ac_exeext conftest.$ac_ext
15040 LIBS=$ac_check_soname_save_LIBS
15042 if ${ac_cv_lib_soname_capi20:+false} :; then :
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15044 $as_echo "not found" >&6; }
15046 else
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15048 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15050 cat >>confdefs.h <<_ACEOF
15051 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15052 _ACEOF
15057 CPPFLAGS=$ac_save_CPPFLAGS
15058 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15059 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15062 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15063 case "x$with_capi" in
15064 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15065 xno) ;;
15066 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15067 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15068 esac
15072 if test "x$with_cups" != "xno"
15073 then
15074 if ${CUPS_CFLAGS:+false} :; then :
15075 if ${PKG_CONFIG+:} false; then :
15076 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15079 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15080 if ${CUPS_LIBS:+false} :; then :
15081 if ${PKG_CONFIG+:} false; then :
15082 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15085 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15086 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15087 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15088 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15089 ac_save_CPPFLAGS=$CPPFLAGS
15090 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15091 for ac_header in cups/cups.h cups/ppd.h
15092 do :
15093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15094 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15095 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15096 cat >>confdefs.h <<_ACEOF
15097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15098 _ACEOF
15102 done
15104 if test "$ac_cv_header_cups_cups_h" = "yes"
15105 then
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15107 $as_echo_n "checking for -lcups... " >&6; }
15108 if ${ac_cv_lib_soname_cups+:} false; then :
15109 $as_echo_n "(cached) " >&6
15110 else
15111 ac_check_soname_save_LIBS=$LIBS
15112 LIBS="-lcups $CUPS_LIBS $LIBS"
15113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15114 /* end confdefs.h. */
15116 /* Override any GCC internal prototype to avoid an error.
15117 Use char because int might match the return type of a GCC
15118 builtin and then its argument prototype would still apply. */
15119 #ifdef __cplusplus
15120 extern "C"
15121 #endif
15122 char cupsGetDefault ();
15124 main ()
15126 return cupsGetDefault ();
15128 return 0;
15130 _ACEOF
15131 if ac_fn_c_try_link "$LINENO"; then :
15132 case "$LIBEXT" in
15133 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15134 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'` ;;
15135 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15136 if ${ac_cv_lib_soname_cups:+false} :; then :
15137 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15138 fi ;;
15139 esac
15140 else
15141 ac_cv_lib_soname_cups=
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15145 LIBS=$ac_check_soname_save_LIBS
15147 if ${ac_cv_lib_soname_cups:+false} :; then :
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15149 $as_echo "not found" >&6; }
15150 CUPS_LIBS=""
15151 else
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15153 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15155 cat >>confdefs.h <<_ACEOF
15156 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15157 _ACEOF
15161 else
15162 CUPS_CFLAGS=""
15163 CUPS_LIBS=""
15165 CPPFLAGS=$ac_save_CPPFLAGS
15166 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15167 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15170 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15171 case "x$with_cups" in
15172 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15173 xno) ;;
15174 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15175 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15176 esac
15180 if test "x$with_fontconfig" != "xno"
15181 then
15182 if ${FONTCONFIG_CFLAGS:+false} :; then :
15183 if ${PKG_CONFIG+:} false; then :
15184 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15187 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15188 if ${FONTCONFIG_LIBS:+false} :; then :
15189 if ${PKG_CONFIG+:} false; then :
15190 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15193 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15195 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15196 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15197 ac_save_CPPFLAGS=$CPPFLAGS
15198 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15199 for ac_header in fontconfig/fontconfig.h
15200 do :
15201 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15202 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15203 cat >>confdefs.h <<_ACEOF
15204 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15205 _ACEOF
15209 done
15211 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15212 then
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15214 $as_echo_n "checking for -lfontconfig... " >&6; }
15215 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15218 ac_check_soname_save_LIBS=$LIBS
15219 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15223 /* Override any GCC internal prototype to avoid an error.
15224 Use char because int might match the return type of a GCC
15225 builtin and then its argument prototype would still apply. */
15226 #ifdef __cplusplus
15227 extern "C"
15228 #endif
15229 char FcInit ();
15231 main ()
15233 return FcInit ();
15235 return 0;
15237 _ACEOF
15238 if ac_fn_c_try_link "$LINENO"; then :
15239 case "$LIBEXT" in
15240 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15241 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'` ;;
15242 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15243 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15244 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15245 fi ;;
15246 esac
15247 else
15248 ac_cv_lib_soname_fontconfig=
15250 rm -f core conftest.err conftest.$ac_objext \
15251 conftest$ac_exeext conftest.$ac_ext
15252 LIBS=$ac_check_soname_save_LIBS
15254 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15256 $as_echo "not found" >&6; }
15257 FONTCONFIG_CFLAGS=""
15258 else
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15260 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15262 cat >>confdefs.h <<_ACEOF
15263 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15264 _ACEOF
15268 else
15269 FONTCONFIG_CFLAGS=""
15271 CPPFLAGS=$ac_save_CPPFLAGS
15272 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15273 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15276 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15277 case "x$with_fontconfig" in
15278 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15279 xno) ;;
15280 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15281 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15282 esac
15286 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15287 then
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15289 $as_echo_n "checking for -lgsm... " >&6; }
15290 if ${ac_cv_lib_soname_gsm+:} false; then :
15291 $as_echo_n "(cached) " >&6
15292 else
15293 ac_check_soname_save_LIBS=$LIBS
15294 LIBS="-lgsm $LIBS"
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15298 /* Override any GCC internal prototype to avoid an error.
15299 Use char because int might match the return type of a GCC
15300 builtin and then its argument prototype would still apply. */
15301 #ifdef __cplusplus
15302 extern "C"
15303 #endif
15304 char gsm_create ();
15306 main ()
15308 return gsm_create ();
15310 return 0;
15312 _ACEOF
15313 if ac_fn_c_try_link "$LINENO"; then :
15314 case "$LIBEXT" in
15315 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15316 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'` ;;
15317 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15318 if ${ac_cv_lib_soname_gsm:+false} :; then :
15319 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15320 fi ;;
15321 esac
15322 else
15323 ac_cv_lib_soname_gsm=
15325 rm -f core conftest.err conftest.$ac_objext \
15326 conftest$ac_exeext conftest.$ac_ext
15327 LIBS=$ac_check_soname_save_LIBS
15329 if ${ac_cv_lib_soname_gsm:+false} :; then :
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15331 $as_echo "not found" >&6; }
15333 else
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15335 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15337 cat >>confdefs.h <<_ACEOF
15338 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15339 _ACEOF
15344 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15345 case "x$with_gsm" in
15346 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15347 xno) ;;
15348 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15349 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15350 esac
15354 if test "x$with_krb5" != "xno"
15355 then
15356 if ${KRB5_CFLAGS:+false} :; then :
15357 if ${PKG_CONFIG+:} false; then :
15358 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15361 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15362 if ${KRB5_LIBS:+false} :; then :
15363 if ${PKG_CONFIG+:} false; then :
15364 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15367 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15369 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15370 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15371 ac_save_CPPFLAGS=$CPPFLAGS
15372 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15373 for ac_header in krb5/krb5.h
15374 do :
15375 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15376 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15377 cat >>confdefs.h <<_ACEOF
15378 #define HAVE_KRB5_KRB5_H 1
15379 _ACEOF
15383 done
15385 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15386 then
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15388 $as_echo_n "checking for -lkrb5... " >&6; }
15389 if ${ac_cv_lib_soname_krb5+:} false; then :
15390 $as_echo_n "(cached) " >&6
15391 else
15392 ac_check_soname_save_LIBS=$LIBS
15393 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15397 /* Override any GCC internal prototype to avoid an error.
15398 Use char because int might match the return type of a GCC
15399 builtin and then its argument prototype would still apply. */
15400 #ifdef __cplusplus
15401 extern "C"
15402 #endif
15403 char krb5_is_config_principal ();
15405 main ()
15407 return krb5_is_config_principal ();
15409 return 0;
15411 _ACEOF
15412 if ac_fn_c_try_link "$LINENO"; then :
15413 case "$LIBEXT" in
15414 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15415 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'` ;;
15416 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15417 if ${ac_cv_lib_soname_krb5:+false} :; then :
15418 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15419 fi ;;
15420 esac
15421 else
15422 ac_cv_lib_soname_krb5=
15424 rm -f core conftest.err conftest.$ac_objext \
15425 conftest$ac_exeext conftest.$ac_ext
15426 LIBS=$ac_check_soname_save_LIBS
15428 if ${ac_cv_lib_soname_krb5:+false} :; then :
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15430 $as_echo "not found" >&6; }
15431 KRB5_CFLAGS=""
15432 else
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15434 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15436 cat >>confdefs.h <<_ACEOF
15437 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15438 _ACEOF
15442 else
15443 KRB5_CFLAGS=""
15445 CPPFLAGS=$ac_save_CPPFLAGS
15446 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15447 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15449 else
15450 with_gssapi=${with_gssapi:-no}
15452 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15453 case "x$with_krb5" in
15454 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15455 xno) ;;
15456 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15457 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15458 esac
15462 if test "x$with_gssapi" != "xno"
15463 then
15464 if ${GSSAPI_CFLAGS:+false} :; then :
15465 if ${PKG_CONFIG+:} false; then :
15466 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15469 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15470 if ${GSSAPI_LIBS:+false} :; then :
15471 if ${PKG_CONFIG+:} false; then :
15472 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15475 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15477 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15478 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15479 ac_save_CPPFLAGS=$CPPFLAGS
15480 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15481 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15482 do :
15483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15484 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15486 cat >>confdefs.h <<_ACEOF
15487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15488 _ACEOF
15492 done
15494 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15495 then
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15497 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15498 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15499 $as_echo_n "(cached) " >&6
15500 else
15501 ac_check_soname_save_LIBS=$LIBS
15502 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15504 /* end confdefs.h. */
15506 /* Override any GCC internal prototype to avoid an error.
15507 Use char because int might match the return type of a GCC
15508 builtin and then its argument prototype would still apply. */
15509 #ifdef __cplusplus
15510 extern "C"
15511 #endif
15512 char gss_init_sec_context ();
15514 main ()
15516 return gss_init_sec_context ();
15518 return 0;
15520 _ACEOF
15521 if ac_fn_c_try_link "$LINENO"; then :
15522 case "$LIBEXT" in
15523 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15524 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'` ;;
15525 *) 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'`
15526 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15527 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15528 fi ;;
15529 esac
15530 else
15531 ac_cv_lib_soname_gssapi_krb5=
15533 rm -f core conftest.err conftest.$ac_objext \
15534 conftest$ac_exeext conftest.$ac_ext
15535 LIBS=$ac_check_soname_save_LIBS
15537 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15539 $as_echo "not found" >&6; }
15540 GSSAPI_CFLAGS=""
15541 else
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15543 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15545 cat >>confdefs.h <<_ACEOF
15546 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15547 _ACEOF
15551 else
15552 GSSAPI_CFLAGS=""
15554 CPPFLAGS=$ac_save_CPPFLAGS
15555 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15556 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15559 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15560 case "x$with_gssapi" in
15561 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15562 xno) ;;
15563 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15564 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15565 esac
15569 if test "x$with_jpeg" != "xno"
15570 then
15571 if ${JPEG_CFLAGS:+false} :; then :
15572 if ${PKG_CONFIG+:} false; then :
15573 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15577 if ${JPEG_LIBS:+false} :; then :
15578 if ${PKG_CONFIG+:} false; then :
15579 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15584 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15585 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15586 ac_save_CPPFLAGS=$CPPFLAGS
15587 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15588 for ac_header in jpeglib.h
15589 do :
15590 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15591 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15592 cat >>confdefs.h <<_ACEOF
15593 #define HAVE_JPEGLIB_H 1
15594 _ACEOF
15598 done
15600 if test "$ac_cv_header_jpeglib_h" = "yes"
15601 then
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15603 $as_echo_n "checking for -ljpeg... " >&6; }
15604 if ${ac_cv_lib_soname_jpeg+:} false; then :
15605 $as_echo_n "(cached) " >&6
15606 else
15607 ac_check_soname_save_LIBS=$LIBS
15608 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15610 /* end confdefs.h. */
15612 /* Override any GCC internal prototype to avoid an error.
15613 Use char because int might match the return type of a GCC
15614 builtin and then its argument prototype would still apply. */
15615 #ifdef __cplusplus
15616 extern "C"
15617 #endif
15618 char jpeg_start_decompress ();
15620 main ()
15622 return jpeg_start_decompress ();
15624 return 0;
15626 _ACEOF
15627 if ac_fn_c_try_link "$LINENO"; then :
15628 case "$LIBEXT" in
15629 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15630 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'` ;;
15631 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15632 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15633 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15634 fi ;;
15635 esac
15636 else
15637 ac_cv_lib_soname_jpeg=
15639 rm -f core conftest.err conftest.$ac_objext \
15640 conftest$ac_exeext conftest.$ac_ext
15641 LIBS=$ac_check_soname_save_LIBS
15643 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15645 $as_echo "not found" >&6; }
15646 JPEG_CFLAGS=""
15647 else
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15649 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15651 cat >>confdefs.h <<_ACEOF
15652 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15653 _ACEOF
15657 else
15658 JPEG_CFLAGS=""
15660 CPPFLAGS=$ac_save_CPPFLAGS
15661 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15662 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15665 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15666 case "x$with_jpeg" in
15667 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15668 xno) ;;
15669 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15670 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15671 esac
15675 if test "x$with_png" != "xno"
15676 then
15677 if ${PNG_CFLAGS:+false} :; then :
15678 if ${PKG_CONFIG+:} false; then :
15679 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15682 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15683 if ${PNG_LIBS:+false} :; then :
15684 if ${PKG_CONFIG+:} false; then :
15685 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15688 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15690 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15691 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15692 ac_save_CPPFLAGS=$CPPFLAGS
15693 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15694 for ac_header in png.h
15695 do :
15696 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15697 if test "x$ac_cv_header_png_h" = xyes; then :
15698 cat >>confdefs.h <<_ACEOF
15699 #define HAVE_PNG_H 1
15700 _ACEOF
15704 done
15706 if test "$ac_cv_header_png_h" = "yes"
15707 then
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15709 $as_echo_n "checking for -lpng... " >&6; }
15710 if ${ac_cv_lib_soname_png+:} false; then :
15711 $as_echo_n "(cached) " >&6
15712 else
15713 ac_check_soname_save_LIBS=$LIBS
15714 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h. */
15718 /* Override any GCC internal prototype to avoid an error.
15719 Use char because int might match the return type of a GCC
15720 builtin and then its argument prototype would still apply. */
15721 #ifdef __cplusplus
15722 extern "C"
15723 #endif
15724 char png_create_read_struct ();
15726 main ()
15728 return png_create_read_struct ();
15730 return 0;
15732 _ACEOF
15733 if ac_fn_c_try_link "$LINENO"; then :
15734 case "$LIBEXT" in
15735 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15736 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'` ;;
15737 *) 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'`
15738 if ${ac_cv_lib_soname_png:+false} :; then :
15739 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15740 fi ;;
15741 esac
15742 else
15743 ac_cv_lib_soname_png=
15745 rm -f core conftest.err conftest.$ac_objext \
15746 conftest$ac_exeext conftest.$ac_ext
15747 LIBS=$ac_check_soname_save_LIBS
15749 if ${ac_cv_lib_soname_png:+false} :; then :
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15751 $as_echo "not found" >&6; }
15752 PNG_CFLAGS=""
15753 else
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15755 $as_echo "$ac_cv_lib_soname_png" >&6; }
15757 cat >>confdefs.h <<_ACEOF
15758 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15759 _ACEOF
15763 else
15764 PNG_CFLAGS=""
15766 CPPFLAGS=$ac_save_CPPFLAGS
15767 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15768 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15771 if test "x$ac_cv_lib_soname_png" = "x"; then :
15772 case "x$with_png" in
15773 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15774 xno) ;;
15775 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15776 This is an error since --with-png was requested." "$LINENO" 5 ;;
15777 esac
15781 if test "x$with_tiff" != "xno"
15782 then
15783 if ${TIFF_CFLAGS:+false} :; then :
15784 if ${PKG_CONFIG+:} false; then :
15785 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15789 if ${TIFF_LIBS:+false} :; then :
15790 if ${PKG_CONFIG+:} false; then :
15791 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15796 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15797 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15798 ac_save_CPPFLAGS=$CPPFLAGS
15799 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15800 for ac_header in tiffio.h
15801 do :
15802 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15803 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_TIFFIO_H 1
15806 _ACEOF
15810 done
15812 if test "$ac_cv_header_tiffio_h" = "yes"
15813 then
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15815 $as_echo_n "checking for -ltiff... " >&6; }
15816 if ${ac_cv_lib_soname_tiff+:} false; then :
15817 $as_echo_n "(cached) " >&6
15818 else
15819 ac_check_soname_save_LIBS=$LIBS
15820 LIBS="-ltiff $TIFF_LIBS $LIBS"
15821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15822 /* end confdefs.h. */
15824 /* Override any GCC internal prototype to avoid an error.
15825 Use char because int might match the return type of a GCC
15826 builtin and then its argument prototype would still apply. */
15827 #ifdef __cplusplus
15828 extern "C"
15829 #endif
15830 char TIFFClientOpen ();
15832 main ()
15834 return TIFFClientOpen ();
15836 return 0;
15838 _ACEOF
15839 if ac_fn_c_try_link "$LINENO"; then :
15840 case "$LIBEXT" in
15841 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15842 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'` ;;
15843 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15844 if ${ac_cv_lib_soname_tiff:+false} :; then :
15845 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15846 fi ;;
15847 esac
15848 else
15849 ac_cv_lib_soname_tiff=
15851 rm -f core conftest.err conftest.$ac_objext \
15852 conftest$ac_exeext conftest.$ac_ext
15853 LIBS=$ac_check_soname_save_LIBS
15855 if ${ac_cv_lib_soname_tiff:+false} :; then :
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15857 $as_echo "not found" >&6; }
15859 else
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15861 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15863 cat >>confdefs.h <<_ACEOF
15864 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15865 _ACEOF
15870 CPPFLAGS=$ac_save_CPPFLAGS
15871 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15872 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15875 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15876 case "x$with_tiff" in
15877 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15878 xno) ;;
15879 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15880 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15881 esac
15885 if test "x$with_mpg123" != "xno"
15886 then
15887 if ${MPG123_CFLAGS:+false} :; then :
15888 if ${PKG_CONFIG+:} false; then :
15889 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15893 if ${MPG123_LIBS:+false} :; then :
15894 if ${PKG_CONFIG+:} false; then :
15895 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15899 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15900 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15901 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15902 ac_save_CPPFLAGS=$CPPFLAGS
15903 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15904 for ac_header in mpg123.h
15905 do :
15906 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15907 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15908 cat >>confdefs.h <<_ACEOF
15909 #define HAVE_MPG123_H 1
15910 _ACEOF
15914 done
15916 if test "$ac_cv_header_mpg123_h" = "yes"
15917 then
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15919 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15920 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15921 $as_echo_n "(cached) " >&6
15922 else
15923 ac_check_lib_save_LIBS=$LIBS
15924 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15928 /* Override any GCC internal prototype to avoid an error.
15929 Use char because int might match the return type of a GCC
15930 builtin and then its argument prototype would still apply. */
15931 #ifdef __cplusplus
15932 extern "C"
15933 #endif
15934 char mpg123_feed ();
15936 main ()
15938 return mpg123_feed ();
15940 return 0;
15942 _ACEOF
15943 if ac_fn_c_try_link "$LINENO"; then :
15944 ac_cv_lib_mpg123_mpg123_feed=yes
15945 else
15946 ac_cv_lib_mpg123_mpg123_feed=no
15948 rm -f core conftest.err conftest.$ac_objext \
15949 conftest$ac_exeext conftest.$ac_ext
15950 LIBS=$ac_check_lib_save_LIBS
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15953 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15954 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15956 else
15957 MPG123_LIBS=""
15960 else
15961 MPG123_CFLAGS=""
15962 MPG123_LIBS=""
15964 CPPFLAGS=$ac_save_CPPFLAGS
15965 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15966 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15969 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15970 case "x$with_mpg123" in
15971 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15972 xno) ;;
15973 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15974 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15975 esac
15976 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15978 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15980 if test "$ac_cv_header_AL_al_h" = "yes"
15981 then
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15983 $as_echo_n "checking for -lopenal... " >&6; }
15984 if ${ac_cv_lib_soname_openal+:} false; then :
15985 $as_echo_n "(cached) " >&6
15986 else
15987 ac_check_soname_save_LIBS=$LIBS
15988 LIBS="-lopenal $LIBS"
15989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15990 /* end confdefs.h. */
15992 /* Override any GCC internal prototype to avoid an error.
15993 Use char because int might match the return type of a GCC
15994 builtin and then its argument prototype would still apply. */
15995 #ifdef __cplusplus
15996 extern "C"
15997 #endif
15998 char alGetSource3i ();
16000 main ()
16002 return alGetSource3i ();
16004 return 0;
16006 _ACEOF
16007 if ac_fn_c_try_link "$LINENO"; then :
16008 case "$LIBEXT" in
16009 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16010 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'` ;;
16011 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16012 if ${ac_cv_lib_soname_openal:+false} :; then :
16013 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16014 fi ;;
16015 esac
16016 else
16017 ac_cv_lib_soname_openal=
16019 rm -f core conftest.err conftest.$ac_objext \
16020 conftest$ac_exeext conftest.$ac_ext
16021 LIBS=$ac_check_soname_save_LIBS
16023 if ${ac_cv_lib_soname_openal:+false} :; then :
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16025 $as_echo "not found" >&6; }
16027 else
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16029 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16031 cat >>confdefs.h <<_ACEOF
16032 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16033 _ACEOF
16035 OPENAL_LIBS="-lopenal"
16037 ac_cv_lib_openal=yes
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_OPENAL 1
16041 _ACEOF
16045 if test "x$ac_cv_lib_openal" != xyes; then :
16046 case "x$with_openal" in
16047 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16048 xno) ;;
16049 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16050 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16051 esac
16052 enable_openal32=${enable_openal32:-no}
16055 if test "x$ac_cv_lib_soname_FAudio" = "x"
16056 then
16057 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16058 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16059 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16060 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16061 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16062 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16063 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16064 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16065 enable_xapofx1_1=${enable_xapofx1_1:-no}
16066 enable_xapofx1_2=${enable_xapofx1_2:-no}
16067 enable_xapofx1_3=${enable_xapofx1_3:-no}
16068 enable_xapofx1_4=${enable_xapofx1_4:-no}
16069 enable_xapofx1_5=${enable_xapofx1_5:-no}
16070 enable_xaudio2_0=${enable_xaudio2_0:-no}
16071 enable_xaudio2_1=${enable_xaudio2_1:-no}
16072 enable_xaudio2_2=${enable_xaudio2_2:-no}
16073 enable_xaudio2_3=${enable_xaudio2_3:-no}
16074 enable_xaudio2_4=${enable_xaudio2_4:-no}
16075 enable_xaudio2_5=${enable_xaudio2_5:-no}
16076 enable_xaudio2_6=${enable_xaudio2_6:-no}
16077 enable_xaudio2_7=${enable_xaudio2_7:-no}
16078 enable_xaudio2_8=${enable_xaudio2_8:-no}
16079 enable_xaudio2_9=${enable_xaudio2_9:-no}
16082 if test "$ac_cv_header_kstat_h" = "yes"
16083 then
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16085 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16086 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16087 $as_echo_n "(cached) " >&6
16088 else
16089 ac_check_lib_save_LIBS=$LIBS
16090 LIBS="-lkstat $LIBS"
16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16094 /* Override any GCC internal prototype to avoid an error.
16095 Use char because int might match the return type of a GCC
16096 builtin and then its argument prototype would still apply. */
16097 #ifdef __cplusplus
16098 extern "C"
16099 #endif
16100 char kstat_open ();
16102 main ()
16104 return kstat_open ();
16106 return 0;
16108 _ACEOF
16109 if ac_fn_c_try_link "$LINENO"; then :
16110 ac_cv_lib_kstat_kstat_open=yes
16111 else
16112 ac_cv_lib_kstat_kstat_open=no
16114 rm -f core conftest.err conftest.$ac_objext \
16115 conftest$ac_exeext conftest.$ac_ext
16116 LIBS=$ac_check_lib_save_LIBS
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16119 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16120 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16122 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16124 KSTAT_LIBS="-lkstat"
16130 if test "$ac_cv_header_libprocstat_h" = "yes"
16131 then
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16133 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16134 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 ac_check_lib_save_LIBS=$LIBS
16138 LIBS="-lprocstat $LIBS"
16139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16140 /* end confdefs.h. */
16142 /* Override any GCC internal prototype to avoid an error.
16143 Use char because int might match the return type of a GCC
16144 builtin and then its argument prototype would still apply. */
16145 #ifdef __cplusplus
16146 extern "C"
16147 #endif
16148 char procstat_open_sysctl ();
16150 main ()
16152 return procstat_open_sysctl ();
16154 return 0;
16156 _ACEOF
16157 if ac_fn_c_try_link "$LINENO"; then :
16158 ac_cv_lib_procstat_procstat_open_sysctl=yes
16159 else
16160 ac_cv_lib_procstat_procstat_open_sysctl=no
16162 rm -f core conftest.err conftest.$ac_objext \
16163 conftest$ac_exeext conftest.$ac_ext
16164 LIBS=$ac_check_lib_save_LIBS
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16167 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16168 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16170 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16172 PROCSTAT_LIBS="-lprocstat"
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16179 $as_echo_n "checking for -lodbc... " >&6; }
16180 if ${ac_cv_lib_soname_odbc+:} false; then :
16181 $as_echo_n "(cached) " >&6
16182 else
16183 ac_check_soname_save_LIBS=$LIBS
16184 LIBS="-lodbc $LIBS"
16185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16186 /* end confdefs.h. */
16188 /* Override any GCC internal prototype to avoid an error.
16189 Use char because int might match the return type of a GCC
16190 builtin and then its argument prototype would still apply. */
16191 #ifdef __cplusplus
16192 extern "C"
16193 #endif
16194 char SQLConnect ();
16196 main ()
16198 return SQLConnect ();
16200 return 0;
16202 _ACEOF
16203 if ac_fn_c_try_link "$LINENO"; then :
16204 case "$LIBEXT" in
16205 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16206 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'` ;;
16207 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16208 if ${ac_cv_lib_soname_odbc:+false} :; then :
16209 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16210 fi ;;
16211 esac
16212 else
16213 ac_cv_lib_soname_odbc=
16215 rm -f core conftest.err conftest.$ac_objext \
16216 conftest$ac_exeext conftest.$ac_ext
16217 LIBS=$ac_check_soname_save_LIBS
16219 if ${ac_cv_lib_soname_odbc:+false} :; then :
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16221 $as_echo "not found" >&6; }
16222 cat >>confdefs.h <<_ACEOF
16223 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16224 _ACEOF
16226 else
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16228 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16230 cat >>confdefs.h <<_ACEOF
16231 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16232 _ACEOF
16237 if test "x$with_netapi" != "xno"
16238 then
16239 if ${NETAPI_CFLAGS:+false} :; then :
16240 if ${PKG_CONFIG+:} false; then :
16241 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16245 if ${NETAPI_LIBS:+false} :; then :
16246 if ${PKG_CONFIG+:} false; then :
16247 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16252 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16253 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16254 ac_save_CPPFLAGS=$CPPFLAGS
16255 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16257 $as_echo_n "checking for -lnetapi... " >&6; }
16258 if ${ac_cv_lib_soname_netapi+:} false; then :
16259 $as_echo_n "(cached) " >&6
16260 else
16261 ac_check_soname_save_LIBS=$LIBS
16262 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16264 /* end confdefs.h. */
16266 /* Override any GCC internal prototype to avoid an error.
16267 Use char because int might match the return type of a GCC
16268 builtin and then its argument prototype would still apply. */
16269 #ifdef __cplusplus
16270 extern "C"
16271 #endif
16272 char libnetapi_init ();
16274 main ()
16276 return libnetapi_init ();
16278 return 0;
16280 _ACEOF
16281 if ac_fn_c_try_link "$LINENO"; then :
16282 case "$LIBEXT" in
16283 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16284 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'` ;;
16285 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16286 if ${ac_cv_lib_soname_netapi:+false} :; then :
16287 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16288 fi ;;
16289 esac
16290 else
16291 ac_cv_lib_soname_netapi=
16293 rm -f core conftest.err conftest.$ac_objext \
16294 conftest$ac_exeext conftest.$ac_ext
16295 LIBS=$ac_check_soname_save_LIBS
16297 if ${ac_cv_lib_soname_netapi:+false} :; then :
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16299 $as_echo "not found" >&6; }
16300 cat >>confdefs.h <<_ACEOF
16301 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16302 _ACEOF
16304 else
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16306 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16308 cat >>confdefs.h <<_ACEOF
16309 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16310 _ACEOF
16314 CPPFLAGS=$ac_save_CPPFLAGS
16315 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16316 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16320 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16321 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16322 then
16323 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16326 if test "x$with_vulkan" != "xno"
16327 then
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16329 $as_echo_n "checking for -lvulkan... " >&6; }
16330 if ${ac_cv_lib_soname_vulkan+:} false; then :
16331 $as_echo_n "(cached) " >&6
16332 else
16333 ac_check_soname_save_LIBS=$LIBS
16334 LIBS="-lvulkan $LIBS"
16335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16336 /* end confdefs.h. */
16338 /* Override any GCC internal prototype to avoid an error.
16339 Use char because int might match the return type of a GCC
16340 builtin and then its argument prototype would still apply. */
16341 #ifdef __cplusplus
16342 extern "C"
16343 #endif
16344 char vkGetInstanceProcAddr ();
16346 main ()
16348 return vkGetInstanceProcAddr ();
16350 return 0;
16352 _ACEOF
16353 if ac_fn_c_try_link "$LINENO"; then :
16354 case "$LIBEXT" in
16355 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16356 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'` ;;
16357 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16358 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16359 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16360 fi ;;
16361 esac
16362 else
16363 ac_cv_lib_soname_vulkan=
16365 rm -f core conftest.err conftest.$ac_objext \
16366 conftest$ac_exeext conftest.$ac_ext
16367 LIBS=$ac_check_soname_save_LIBS
16369 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16371 $as_echo "not found" >&6; }
16373 else
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16375 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16377 cat >>confdefs.h <<_ACEOF
16378 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16379 _ACEOF
16383 if test "x$ac_cv_lib_soname_vulkan" = "x"
16384 then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16386 $as_echo_n "checking for -lMoltenVK... " >&6; }
16387 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16388 $as_echo_n "(cached) " >&6
16389 else
16390 ac_check_soname_save_LIBS=$LIBS
16391 LIBS="-lMoltenVK $LIBS"
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16395 /* Override any GCC internal prototype to avoid an error.
16396 Use char because int might match the return type of a GCC
16397 builtin and then its argument prototype would still apply. */
16398 #ifdef __cplusplus
16399 extern "C"
16400 #endif
16401 char vkGetInstanceProcAddr ();
16403 main ()
16405 return vkGetInstanceProcAddr ();
16407 return 0;
16409 _ACEOF
16410 if ac_fn_c_try_link "$LINENO"; then :
16411 case "$LIBEXT" in
16412 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16413 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'` ;;
16414 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16415 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16416 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16417 fi ;;
16418 esac
16419 else
16420 ac_cv_lib_soname_MoltenVK=
16422 rm -f core conftest.err conftest.$ac_objext \
16423 conftest$ac_exeext conftest.$ac_ext
16424 LIBS=$ac_check_soname_save_LIBS
16426 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16428 $as_echo "not found" >&6; }
16430 else
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16432 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16434 cat >>confdefs.h <<_ACEOF
16435 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16436 _ACEOF
16442 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16443 case "x$with_vulkan" in
16444 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16445 xno) ;;
16446 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16447 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16448 esac
16452 if test "x$with_vkd3d" != "xno"
16453 then
16454 if ${VKD3D_CFLAGS:+false} :; then :
16455 if ${PKG_CONFIG+:} false; then :
16456 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16460 if ${VKD3D_LIBS:+false} :; then :
16461 if ${PKG_CONFIG+:} false; then :
16462 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16467 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16468 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16469 ac_save_CPPFLAGS=$CPPFLAGS
16470 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16472 $as_echo_n "checking for -lvkd3d... " >&6; }
16473 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16474 $as_echo_n "(cached) " >&6
16475 else
16476 ac_check_soname_save_LIBS=$LIBS
16477 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16481 /* Override any GCC internal prototype to avoid an error.
16482 Use char because int might match the return type of a GCC
16483 builtin and then its argument prototype would still apply. */
16484 #ifdef __cplusplus
16485 extern "C"
16486 #endif
16487 char vkd3d_get_dxgi_format ();
16489 main ()
16491 return vkd3d_get_dxgi_format ();
16493 return 0;
16495 _ACEOF
16496 if ac_fn_c_try_link "$LINENO"; then :
16497 case "$LIBEXT" in
16498 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16499 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'` ;;
16500 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16501 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16502 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16503 fi ;;
16504 esac
16505 else
16506 ac_cv_lib_soname_vkd3d=
16508 rm -f core conftest.err conftest.$ac_objext \
16509 conftest$ac_exeext conftest.$ac_ext
16510 LIBS=$ac_check_soname_save_LIBS
16512 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16514 $as_echo "not found" >&6; }
16516 else
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16518 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16520 cat >>confdefs.h <<_ACEOF
16521 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16522 _ACEOF
16526 CPPFLAGS=$ac_save_CPPFLAGS
16527 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16528 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16531 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16532 case "x$with_vkd3d" in
16533 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16534 xno) ;;
16535 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16536 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16537 esac
16540 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16543 EXTRACFLAGS=""
16545 if test "x${GCC}" = "xyes"
16546 then
16547 EXTRACFLAGS="-Wall -pipe"
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16550 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16551 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16552 $as_echo_n "(cached) " >&6
16553 else
16554 if test "$cross_compiling" = yes; then :
16555 ac_cv_c_gcc_strength_bug="no"
16556 else
16557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16558 /* end confdefs.h. */
16559 int L[4] = {0,1,2,3};
16561 main ()
16563 static int Array[3];
16564 unsigned int B = 3;
16565 int i;
16566 for(i=0; i<B; i++) Array[i] = i - 3;
16567 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16568 L[i] = 4;
16569 return (Array[1] != -2 || L[2] != 3)
16571 return 0;
16573 _ACEOF
16574 if ac_fn_c_try_run "$LINENO"; then :
16575 ac_cv_c_gcc_strength_bug="no"
16576 else
16577 ac_cv_c_gcc_strength_bug="yes"
16579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16580 conftest.$ac_objext conftest.beam conftest.$ac_ext
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16585 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16586 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16587 then
16588 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16592 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16593 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16594 $as_echo_n "(cached) " >&6
16595 else
16596 ac_wine_try_cflags_saved=$CFLAGS
16597 CFLAGS="$CFLAGS -fno-strict-aliasing"
16598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h. */
16600 int main(int argc, char **argv) { return 0; }
16601 _ACEOF
16602 if ac_fn_c_try_link "$LINENO"; then :
16603 ac_cv_cflags__fno_strict_aliasing=yes
16604 else
16605 ac_cv_cflags__fno_strict_aliasing=no
16607 rm -f core conftest.err conftest.$ac_objext \
16608 conftest$ac_exeext conftest.$ac_ext
16609 CFLAGS=$ac_wine_try_cflags_saved
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16612 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16613 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16614 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16617 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16618 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16619 $as_echo_n "(cached) " >&6
16620 else
16621 ac_wine_try_cflags_saved=$CFLAGS
16622 CFLAGS="$CFLAGS -fexcess-precision=standard"
16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16625 int main(int argc, char **argv) { return 0; }
16626 _ACEOF
16627 if ac_fn_c_try_link "$LINENO"; then :
16628 ac_cv_cflags__fexcess_precision_standard=yes
16629 else
16630 ac_cv_cflags__fexcess_precision_standard=no
16632 rm -f core conftest.err conftest.$ac_objext \
16633 conftest$ac_exeext conftest.$ac_ext
16634 CFLAGS=$ac_wine_try_cflags_saved
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16637 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16638 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16639 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16642 saved_CFLAGS=$CFLAGS
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16644 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16645 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16646 $as_echo_n "(cached) " >&6
16647 else
16648 ac_wine_try_cflags_saved=$CFLAGS
16649 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16652 int main(int argc, char **argv) { return 0; }
16653 _ACEOF
16654 if ac_fn_c_try_link "$LINENO"; then :
16655 ac_cv_cflags__Werror_unknown_warning_option=yes
16656 else
16657 ac_cv_cflags__Werror_unknown_warning_option=no
16659 rm -f core conftest.err conftest.$ac_objext \
16660 conftest$ac_exeext conftest.$ac_ext
16661 CFLAGS=$ac_wine_try_cflags_saved
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16664 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16665 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16666 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16669 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16670 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16671 $as_echo_n "(cached) " >&6
16672 else
16673 ac_wine_try_cflags_saved=$CFLAGS
16674 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16676 /* end confdefs.h. */
16677 int main(int argc, char **argv) { return 0; }
16678 _ACEOF
16679 if ac_fn_c_try_link "$LINENO"; then :
16680 ac_cv_cflags__Wdeclaration_after_statement=yes
16681 else
16682 ac_cv_cflags__Wdeclaration_after_statement=no
16684 rm -f core conftest.err conftest.$ac_objext \
16685 conftest$ac_exeext conftest.$ac_ext
16686 CFLAGS=$ac_wine_try_cflags_saved
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16689 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16690 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16691 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16694 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16695 if ${ac_cv_cflags__Wempty_body+:} false; then :
16696 $as_echo_n "(cached) " >&6
16697 else
16698 ac_wine_try_cflags_saved=$CFLAGS
16699 CFLAGS="$CFLAGS -Wempty-body"
16700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h. */
16702 int main(int argc, char **argv) { return 0; }
16703 _ACEOF
16704 if ac_fn_c_try_link "$LINENO"; then :
16705 ac_cv_cflags__Wempty_body=yes
16706 else
16707 ac_cv_cflags__Wempty_body=no
16709 rm -f core conftest.err conftest.$ac_objext \
16710 conftest$ac_exeext conftest.$ac_ext
16711 CFLAGS=$ac_wine_try_cflags_saved
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16714 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16715 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16716 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16719 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16720 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16721 $as_echo_n "(cached) " >&6
16722 else
16723 ac_wine_try_cflags_saved=$CFLAGS
16724 CFLAGS="$CFLAGS -Wignored-qualifiers"
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h. */
16727 int main(int argc, char **argv) { return 0; }
16728 _ACEOF
16729 if ac_fn_c_try_link "$LINENO"; then :
16730 ac_cv_cflags__Wignored_qualifiers=yes
16731 else
16732 ac_cv_cflags__Wignored_qualifiers=no
16734 rm -f core conftest.err conftest.$ac_objext \
16735 conftest$ac_exeext conftest.$ac_ext
16736 CFLAGS=$ac_wine_try_cflags_saved
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16739 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16740 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16741 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16744 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16745 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16746 $as_echo_n "(cached) " >&6
16747 else
16748 ac_wine_try_cflags_saved=$CFLAGS
16749 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16751 /* end confdefs.h. */
16752 int main(int argc, char **argv) { return 0; }
16753 _ACEOF
16754 if ac_fn_c_try_link "$LINENO"; then :
16755 ac_cv_cflags__Wpacked_not_aligned=yes
16756 else
16757 ac_cv_cflags__Wpacked_not_aligned=no
16759 rm -f core conftest.err conftest.$ac_objext \
16760 conftest$ac_exeext conftest.$ac_ext
16761 CFLAGS=$ac_wine_try_cflags_saved
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16764 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16765 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16766 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16769 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16770 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16771 $as_echo_n "(cached) " >&6
16772 else
16773 ac_wine_try_cflags_saved=$CFLAGS
16774 CFLAGS="$CFLAGS -Wpragma-pack"
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16777 int main(int argc, char **argv) { return 0; }
16778 _ACEOF
16779 if ac_fn_c_try_link "$LINENO"; then :
16780 ac_cv_cflags__Wpragma_pack=yes
16781 else
16782 ac_cv_cflags__Wpragma_pack=no
16784 rm -f core conftest.err conftest.$ac_objext \
16785 conftest$ac_exeext conftest.$ac_ext
16786 CFLAGS=$ac_wine_try_cflags_saved
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16789 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16790 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16791 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16794 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16795 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16796 $as_echo_n "(cached) " >&6
16797 else
16798 ac_wine_try_cflags_saved=$CFLAGS
16799 CFLAGS="$CFLAGS -Wshift-overflow=2"
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16802 int main(int argc, char **argv) { return 0; }
16803 _ACEOF
16804 if ac_fn_c_try_link "$LINENO"; then :
16805 ac_cv_cflags__Wshift_overflow_2=yes
16806 else
16807 ac_cv_cflags__Wshift_overflow_2=no
16809 rm -f core conftest.err conftest.$ac_objext \
16810 conftest$ac_exeext conftest.$ac_ext
16811 CFLAGS=$ac_wine_try_cflags_saved
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16814 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16815 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16816 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16819 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16820 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16821 $as_echo_n "(cached) " >&6
16822 else
16823 ac_wine_try_cflags_saved=$CFLAGS
16824 CFLAGS="$CFLAGS -Wstrict-prototypes"
16825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h. */
16827 int main(int argc, char **argv) { return 0; }
16828 _ACEOF
16829 if ac_fn_c_try_link "$LINENO"; then :
16830 ac_cv_cflags__Wstrict_prototypes=yes
16831 else
16832 ac_cv_cflags__Wstrict_prototypes=no
16834 rm -f core conftest.err conftest.$ac_objext \
16835 conftest$ac_exeext conftest.$ac_ext
16836 CFLAGS=$ac_wine_try_cflags_saved
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16839 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16840 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16841 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16844 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16845 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16846 $as_echo_n "(cached) " >&6
16847 else
16848 ac_wine_try_cflags_saved=$CFLAGS
16849 CFLAGS="$CFLAGS -Wtype-limits"
16850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16852 int main(int argc, char **argv) { return 0; }
16853 _ACEOF
16854 if ac_fn_c_try_link "$LINENO"; then :
16855 ac_cv_cflags__Wtype_limits=yes
16856 else
16857 ac_cv_cflags__Wtype_limits=no
16859 rm -f core conftest.err conftest.$ac_objext \
16860 conftest$ac_exeext conftest.$ac_ext
16861 CFLAGS=$ac_wine_try_cflags_saved
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16864 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16865 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16866 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16869 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16870 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16871 $as_echo_n "(cached) " >&6
16872 else
16873 ac_wine_try_cflags_saved=$CFLAGS
16874 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16877 int main(int argc, char **argv) { return 0; }
16878 _ACEOF
16879 if ac_fn_c_try_link "$LINENO"; then :
16880 ac_cv_cflags__Wunused_but_set_parameter=yes
16881 else
16882 ac_cv_cflags__Wunused_but_set_parameter=no
16884 rm -f core conftest.err conftest.$ac_objext \
16885 conftest$ac_exeext conftest.$ac_ext
16886 CFLAGS=$ac_wine_try_cflags_saved
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16889 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16890 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16891 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16894 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16895 if ${ac_cv_cflags__Wvla+:} false; then :
16896 $as_echo_n "(cached) " >&6
16897 else
16898 ac_wine_try_cflags_saved=$CFLAGS
16899 CFLAGS="$CFLAGS -Wvla"
16900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h. */
16902 int main(int argc, char **argv) { return 0; }
16903 _ACEOF
16904 if ac_fn_c_try_link "$LINENO"; then :
16905 ac_cv_cflags__Wvla=yes
16906 else
16907 ac_cv_cflags__Wvla=no
16909 rm -f core conftest.err conftest.$ac_objext \
16910 conftest$ac_exeext conftest.$ac_ext
16911 CFLAGS=$ac_wine_try_cflags_saved
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16914 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16915 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16916 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16919 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16920 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16921 $as_echo_n "(cached) " >&6
16922 else
16923 ac_wine_try_cflags_saved=$CFLAGS
16924 CFLAGS="$CFLAGS -Wwrite-strings"
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16927 int main(int argc, char **argv) { return 0; }
16928 _ACEOF
16929 if ac_fn_c_try_link "$LINENO"; then :
16930 ac_cv_cflags__Wwrite_strings=yes
16931 else
16932 ac_cv_cflags__Wwrite_strings=no
16934 rm -f core conftest.err conftest.$ac_objext \
16935 conftest$ac_exeext conftest.$ac_ext
16936 CFLAGS=$ac_wine_try_cflags_saved
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16939 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16940 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16941 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16945 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16946 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16947 $as_echo_n "(cached) " >&6
16948 else
16949 ac_wine_try_cflags_saved=$CFLAGS
16950 CFLAGS="$CFLAGS -Wpointer-arith"
16951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h. */
16953 int main(int argc, char **argv) { return 0; }
16954 _ACEOF
16955 if ac_fn_c_try_link "$LINENO"; then :
16956 ac_cv_cflags__Wpointer_arith=yes
16957 else
16958 ac_cv_cflags__Wpointer_arith=no
16960 rm -f core conftest.err conftest.$ac_objext \
16961 conftest$ac_exeext conftest.$ac_ext
16962 CFLAGS=$ac_wine_try_cflags_saved
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16965 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16966 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16967 saved_string_h_CFLAGS=$CFLAGS
16968 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16970 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16971 if ${ac_cv_c_string_h_warnings+:} false; then :
16972 $as_echo_n "(cached) " >&6
16973 else
16974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16975 /* end confdefs.h. */
16976 #include <string.h>
16978 main ()
16982 return 0;
16984 _ACEOF
16985 if ac_fn_c_try_compile "$LINENO"; then :
16986 ac_cv_c_string_h_warnings=no
16987 else
16988 ac_cv_c_string_h_warnings=yes
16990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
16993 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
16994 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16995 CFLAGS=$saved_string_h_CFLAGS
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
16999 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17000 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17001 $as_echo_n "(cached) " >&6
17002 else
17003 ac_wine_try_cflags_saved=$CFLAGS
17004 CFLAGS="$CFLAGS -Wlogical-op"
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 int main(int argc, char **argv) { return 0; }
17008 _ACEOF
17009 if ac_fn_c_try_link "$LINENO"; then :
17010 ac_cv_cflags__Wlogical_op=yes
17011 else
17012 ac_cv_cflags__Wlogical_op=no
17014 rm -f core conftest.err conftest.$ac_objext \
17015 conftest$ac_exeext conftest.$ac_ext
17016 CFLAGS=$ac_wine_try_cflags_saved
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17019 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17020 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17021 saved_string_h_CFLAGS=$CFLAGS
17022 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17024 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17025 if ${ac_cv_c_logicalop_noisy+:} false; then :
17026 $as_echo_n "(cached) " >&6
17027 else
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 #include <string.h>
17031 char*f(const char *h,char n) {return strchr(h,n);}
17033 main ()
17037 return 0;
17039 _ACEOF
17040 if ac_fn_c_try_compile "$LINENO"; then :
17041 ac_cv_c_logicalop_noisy=no
17042 else
17043 ac_cv_c_logicalop_noisy=yes
17045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17048 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17049 CFLAGS=$saved_string_h_CFLAGS
17050 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17053 CFLAGS=$saved_CFLAGS
17055 for ac_flag in $CFLAGS; do
17056 case $ac_flag in
17057 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17058 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17059 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17060 $as_echo_n "(cached) " >&6
17061 else
17062 ac_wine_try_cflags_saved=$CFLAGS
17063 CFLAGS="$CFLAGS -gdwarf-2"
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 int main(int argc, char **argv) { return 0; }
17067 _ACEOF
17068 if ac_fn_c_try_link "$LINENO"; then :
17069 ac_cv_cflags__gdwarf_2=yes
17070 else
17071 ac_cv_cflags__gdwarf_2=no
17073 rm -f core conftest.err conftest.$ac_objext \
17074 conftest$ac_exeext conftest.$ac_ext
17075 CFLAGS=$ac_wine_try_cflags_saved
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17078 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17079 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17080 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17083 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17084 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17085 $as_echo_n "(cached) " >&6
17086 else
17087 ac_wine_try_cflags_saved=$CFLAGS
17088 CFLAGS="$CFLAGS -gstrict-dwarf"
17089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090 /* end confdefs.h. */
17091 int main(int argc, char **argv) { return 0; }
17092 _ACEOF
17093 if ac_fn_c_try_link "$LINENO"; then :
17094 ac_cv_cflags__gstrict_dwarf=yes
17095 else
17096 ac_cv_cflags__gstrict_dwarf=no
17098 rm -f core conftest.err conftest.$ac_objext \
17099 conftest$ac_exeext conftest.$ac_ext
17100 CFLAGS=$ac_wine_try_cflags_saved
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17103 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17104 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17105 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17106 fi ;;
17107 esac
17108 done
17110 case $host_os in
17111 cygwin*|mingw32*) ;;
17112 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17113 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17114 if ${ac_cv_cflags__fno_builtin+:} false; then :
17115 $as_echo_n "(cached) " >&6
17116 else
17117 ac_wine_try_cflags_saved=$CFLAGS
17118 CFLAGS="$CFLAGS -fno-builtin"
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 int main(int argc, char **argv) { return 0; }
17122 _ACEOF
17123 if ac_fn_c_try_link "$LINENO"; then :
17124 ac_cv_cflags__fno_builtin=yes
17125 else
17126 ac_cv_cflags__fno_builtin=no
17128 rm -f core conftest.err conftest.$ac_objext \
17129 conftest$ac_exeext conftest.$ac_ext
17130 CFLAGS=$ac_wine_try_cflags_saved
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17133 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17134 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17135 BUILTINFLAG="-fno-builtin"
17137 fi ;;
17138 esac
17140 case $host_cpu in
17141 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17142 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17143 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17144 $as_echo_n "(cached) " >&6
17145 else
17146 ac_wine_try_cflags_saved=$CFLAGS
17147 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17150 int main(int argc, char **argv) { return 0; }
17151 _ACEOF
17152 if ac_fn_c_try_link "$LINENO"; then :
17153 ac_cv_cflags__fno_omit_frame_pointer=yes
17154 else
17155 ac_cv_cflags__fno_omit_frame_pointer=no
17157 rm -f core conftest.err conftest.$ac_objext \
17158 conftest$ac_exeext conftest.$ac_ext
17159 CFLAGS=$ac_wine_try_cflags_saved
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17162 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17163 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17164 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17165 fi ;;
17166 esac
17168 case $host in
17169 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17170 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17171 if ${ac_cv_cflags__Wno_format+:} false; then :
17172 $as_echo_n "(cached) " >&6
17173 else
17174 ac_wine_try_cflags_saved=$CFLAGS
17175 CFLAGS="$CFLAGS -Wno-format"
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17178 int main(int argc, char **argv) { return 0; }
17179 _ACEOF
17180 if ac_fn_c_try_link "$LINENO"; then :
17181 ac_cv_cflags__Wno_format=yes
17182 else
17183 ac_cv_cflags__Wno_format=no
17185 rm -f core conftest.err conftest.$ac_objext \
17186 conftest$ac_exeext conftest.$ac_ext
17187 CFLAGS=$ac_wine_try_cflags_saved
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17190 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17191 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17192 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17193 fi ;;
17194 esac
17196 if test "x$enable_maintainer_mode" = "xyes"
17197 then
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17199 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17200 if ${ac_cv_cflags__Werror+:} false; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17203 ac_wine_try_cflags_saved=$CFLAGS
17204 CFLAGS="$CFLAGS -Werror"
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207 int main(int argc, char **argv) { return 0; }
17208 _ACEOF
17209 if ac_fn_c_try_link "$LINENO"; then :
17210 ac_cv_cflags__Werror=yes
17211 else
17212 ac_cv_cflags__Werror=no
17214 rm -f core conftest.err conftest.$ac_objext \
17215 conftest$ac_exeext conftest.$ac_ext
17216 CFLAGS=$ac_wine_try_cflags_saved
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17219 $as_echo "$ac_cv_cflags__Werror" >&6; }
17220 if test "x$ac_cv_cflags__Werror" = xyes; then :
17221 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17225 saved_CFLAGS="$CFLAGS"
17226 CFLAGS="$CFLAGS -Werror"
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
17228 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
17229 if ${ac_cv_have_ms_hook_prologue+:} false; then :
17230 $as_echo_n "(cached) " >&6
17231 else
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17234 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
17236 main ()
17240 return 0;
17242 _ACEOF
17243 if ac_fn_c_try_compile "$LINENO"; then :
17244 ac_cv_have_ms_hook_prologue="yes"
17245 else
17246 ac_cv_have_ms_hook_prologue="no"
17248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
17251 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
17252 CFLAGS="$saved_CFLAGS"
17253 if test "$ac_cv_have_ms_hook_prologue" = "yes"
17254 then
17256 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
17258 else
17259 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17266 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17267 if ${ac_cv_c_fortify_enabled+:} false; then :
17268 $as_echo_n "(cached) " >&6
17269 else
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272 #include <string.h>
17274 main ()
17276 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17277 #error Fortify enabled
17278 #endif
17280 return 0;
17282 _ACEOF
17283 if ac_fn_c_try_compile "$LINENO"; then :
17284 ac_cv_c_fortify_enabled=no
17285 else
17286 ac_cv_c_fortify_enabled=yes
17288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17291 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17292 if test "$ac_cv_c_fortify_enabled" = yes
17293 then
17294 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
17299 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
17300 if ${ac_cv_c_extern_prefix+:} false; then :
17301 $as_echo_n "(cached) " >&6
17302 else
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 extern int ac_test;
17307 main ()
17309 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
17311 return 0;
17313 _ACEOF
17314 if ac_fn_c_try_link "$LINENO"; then :
17315 ac_cv_c_extern_prefix="yes"
17316 else
17317 ac_cv_c_extern_prefix="no"
17319 rm -f core conftest.err conftest.$ac_objext \
17320 conftest$ac_exeext conftest.$ac_ext
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
17323 $as_echo "$ac_cv_c_extern_prefix" >&6; }
17325 case $host_cpu in
17326 *i[3456789]86*)
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
17328 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
17329 if ${ac_cv_c_stdcall_suffix+:} false; then :
17330 $as_echo_n "(cached) " >&6
17331 else
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17334 #ifndef _MSC_VER
17335 #define __stdcall __attribute__((__stdcall__))
17336 #endif
17337 int __stdcall ac_test(int i) { return i; }
17339 main ()
17341 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
17343 return 0;
17345 _ACEOF
17346 if ac_fn_c_try_link "$LINENO"; then :
17347 ac_cv_c_stdcall_suffix="yes"
17348 else
17349 ac_cv_c_stdcall_suffix="no"
17351 rm -f core conftest.err conftest.$ac_objext \
17352 conftest$ac_exeext conftest.$ac_ext
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
17355 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
17356 *) ac_cv_c_stdcall_suffix="no" ;;
17357 esac
17360 if test "$ac_cv_c_extern_prefix" = "yes"
17361 then
17362 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
17364 asm_name_prefix="_"
17365 else
17366 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
17368 asm_name_prefix=""
17372 if test "$ac_cv_c_stdcall_suffix" = "yes"
17373 then
17374 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
17376 else
17377 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
17383 $as_echo_n "checking how to define a function in assembly code... " >&6; }
17384 if ${ac_cv_asm_func_def+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17391 main ()
17393 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
17395 return 0;
17397 _ACEOF
17398 if ac_fn_c_try_link "$LINENO"; then :
17399 ac_cv_asm_func_def=".def"
17400 else
17401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h. */
17405 main ()
17407 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
17409 return 0;
17411 _ACEOF
17412 if ac_fn_c_try_link "$LINENO"; then :
17413 ac_cv_asm_func_def=".type @function"
17414 else
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17419 main ()
17421 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
17423 return 0;
17425 _ACEOF
17426 if ac_fn_c_try_link "$LINENO"; then :
17427 ac_cv_asm_func_def=".type 2"
17428 else
17429 ac_cv_asm_func_def="unknown"
17431 rm -f core conftest.err conftest.$ac_objext \
17432 conftest$ac_exeext conftest.$ac_ext
17434 rm -f core conftest.err conftest.$ac_objext \
17435 conftest$ac_exeext conftest.$ac_ext
17437 rm -f core conftest.err conftest.$ac_objext \
17438 conftest$ac_exeext conftest.$ac_ext
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
17441 $as_echo "$ac_cv_asm_func_def" >&6; }
17443 case "$ac_cv_asm_func_def" in
17444 ".def")
17445 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
17446 ".type @function")
17447 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
17448 ".type 2")
17449 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
17451 asm_func_header="" ;;
17452 esac
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
17455 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
17456 if ${ac_cv_c_asm_outside_funcs+:} false; then :
17457 $as_echo_n "(cached) " >&6
17458 else
17459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17461 asm(".text\n\t.long 0");
17463 main ()
17467 return 0;
17469 _ACEOF
17470 if ac_fn_c_try_compile "$LINENO"; then :
17471 ac_cv_c_asm_outside_funcs="yes"
17472 else
17473 ac_cv_c_asm_outside_funcs="no"
17475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
17478 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
17481 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
17482 if ${ac_cv_c_dot_previous+:} false; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17489 main ()
17491 asm(".text\nac_test:\t.long 0\n\t.previous");
17493 return 0;
17495 _ACEOF
17496 if ac_fn_c_try_link "$LINENO"; then :
17497 ac_cv_c_dot_previous="yes"
17498 else
17499 ac_cv_c_dot_previous="no"
17501 rm -f core conftest.err conftest.$ac_objext \
17502 conftest$ac_exeext conftest.$ac_ext
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
17505 $as_echo "$ac_cv_c_dot_previous" >&6; }
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17508 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17509 if ${ac_cv_c_cfi_support+:} false; then :
17510 $as_echo_n "(cached) " >&6
17511 else
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17514 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17516 main ()
17520 return 0;
17522 _ACEOF
17523 if ac_fn_c_try_compile "$LINENO"; then :
17524 ac_cv_c_cfi_support="yes"
17525 else
17526 ac_cv_c_cfi_support="no"
17528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17531 $as_echo "$ac_cv_c_cfi_support" >&6; }
17533 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
17534 asm_func_trailer=""
17535 if test "$ac_cv_c_dot_previous" = "yes"
17536 then
17537 asm_func_trailer="\\n\\t.previous"
17539 if test "$ac_cv_c_cfi_support" = "yes"
17540 then
17541 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
17542 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
17544 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
17546 UNWINDFLAGS=-fasynchronous-unwind-tables
17548 else
17549 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
17551 if test "x$enable_win64" = "xyes"
17552 then
17553 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17557 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
17560 if test "$ac_cv_c_asm_outside_funcs" = "yes"
17561 then
17562 cat >>confdefs.h <<_ACEOF
17563 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
17564 _ACEOF
17566 else
17567 cat >>confdefs.h <<_ACEOF
17568 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
17569 _ACEOF
17573 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
17576 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
17580 case $build_os in
17581 cygwin*|mingw32*) TOOLSEXT=".exe"
17583 esac
17585 case $host_os in
17586 linux*)
17587 case $host_cpu in
17588 *i[3456789]86*|x86_64*|*aarch64*)
17589 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17590 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17592 esac
17594 esac
17597 ac_save_CFLAGS="$CFLAGS"
17598 CFLAGS="$CFLAGS $BUILTINFLAG"
17599 for ac_func in \
17600 __res_get_state \
17601 __res_getservers \
17602 _spawnvp \
17603 dlopen \
17604 epoll_create \
17605 ffs \
17606 finitef \
17607 fnmatch \
17608 fork \
17609 fpclass \
17610 fstatfs \
17611 fstatvfs \
17612 futimens \
17613 futimes \
17614 futimesat \
17615 getattrlist \
17616 getauxval \
17617 getifaddrs \
17618 getopt_long_only \
17619 kqueue \
17620 lstat \
17621 pipe2 \
17622 poll \
17623 port_create \
17624 prctl \
17625 pread \
17626 proc_pidinfo \
17627 pwrite \
17628 readdir \
17629 readlink \
17630 sched_yield \
17631 select \
17632 setproctitle \
17633 setprogname \
17634 settimeofday \
17635 sigprocmask \
17636 statfs \
17637 statvfs \
17638 strnlen \
17639 strtold \
17640 symlink \
17641 sysinfo \
17642 tcdrain \
17643 thr_kill2 \
17644 timegm \
17645 usleep
17647 do :
17648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17650 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17651 cat >>confdefs.h <<_ACEOF
17652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17653 _ACEOF
17656 done
17658 CFLAGS="$ac_save_CFLAGS"
17660 if test "$ac_cv_func_dlopen" = no
17661 then
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17663 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17664 if ${ac_cv_lib_dl_dlopen+:} false; then :
17665 $as_echo_n "(cached) " >&6
17666 else
17667 ac_check_lib_save_LIBS=$LIBS
17668 LIBS="-ldl $LIBS"
17669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17672 /* Override any GCC internal prototype to avoid an error.
17673 Use char because int might match the return type of a GCC
17674 builtin and then its argument prototype would still apply. */
17675 #ifdef __cplusplus
17676 extern "C"
17677 #endif
17678 char dlopen ();
17680 main ()
17682 return dlopen ();
17684 return 0;
17686 _ACEOF
17687 if ac_fn_c_try_link "$LINENO"; then :
17688 ac_cv_lib_dl_dlopen=yes
17689 else
17690 ac_cv_lib_dl_dlopen=no
17692 rm -f core conftest.err conftest.$ac_objext \
17693 conftest$ac_exeext conftest.$ac_ext
17694 LIBS=$ac_check_lib_save_LIBS
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17697 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17698 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17699 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17700 DL_LIBS="-ldl"
17705 ac_wine_check_funcs_save_LIBS="$LIBS"
17706 LIBS="$LIBS $DL_LIBS"
17707 for ac_func in dladdr
17708 do :
17709 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17710 if test "x$ac_cv_func_dladdr" = xyes; then :
17711 cat >>confdefs.h <<_ACEOF
17712 #define HAVE_DLADDR 1
17713 _ACEOF
17716 done
17718 LIBS="$ac_wine_check_funcs_save_LIBS"
17720 if test "$ac_cv_func_poll" = no
17721 then
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17723 $as_echo_n "checking for poll in -lpoll... " >&6; }
17724 if ${ac_cv_lib_poll_poll+:} false; then :
17725 $as_echo_n "(cached) " >&6
17726 else
17727 ac_check_lib_save_LIBS=$LIBS
17728 LIBS="-lpoll $LIBS"
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17732 /* Override any GCC internal prototype to avoid an error.
17733 Use char because int might match the return type of a GCC
17734 builtin and then its argument prototype would still apply. */
17735 #ifdef __cplusplus
17736 extern "C"
17737 #endif
17738 char poll ();
17740 main ()
17742 return poll ();
17744 return 0;
17746 _ACEOF
17747 if ac_fn_c_try_link "$LINENO"; then :
17748 ac_cv_lib_poll_poll=yes
17749 else
17750 ac_cv_lib_poll_poll=no
17752 rm -f core conftest.err conftest.$ac_objext \
17753 conftest$ac_exeext conftest.$ac_ext
17754 LIBS=$ac_check_lib_save_LIBS
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17757 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17758 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17759 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17760 POLL_LIBS="-lpoll"
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17767 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17768 if ${ac_cv_search_gethostbyname+:} false; then :
17769 $as_echo_n "(cached) " >&6
17770 else
17771 ac_func_search_save_LIBS=$LIBS
17772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17773 /* end confdefs.h. */
17775 /* Override any GCC internal prototype to avoid an error.
17776 Use char because int might match the return type of a GCC
17777 builtin and then its argument prototype would still apply. */
17778 #ifdef __cplusplus
17779 extern "C"
17780 #endif
17781 char gethostbyname ();
17783 main ()
17785 return gethostbyname ();
17787 return 0;
17789 _ACEOF
17790 for ac_lib in '' nsl; do
17791 if test -z "$ac_lib"; then
17792 ac_res="none required"
17793 else
17794 ac_res=-l$ac_lib
17795 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17797 if ac_fn_c_try_link "$LINENO"; then :
17798 ac_cv_search_gethostbyname=$ac_res
17800 rm -f core conftest.err conftest.$ac_objext \
17801 conftest$ac_exeext
17802 if ${ac_cv_search_gethostbyname+:} false; then :
17803 break
17805 done
17806 if ${ac_cv_search_gethostbyname+:} false; then :
17808 else
17809 ac_cv_search_gethostbyname=no
17811 rm conftest.$ac_ext
17812 LIBS=$ac_func_search_save_LIBS
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17815 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17816 ac_res=$ac_cv_search_gethostbyname
17817 if test "$ac_res" != no; then :
17818 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17824 $as_echo_n "checking for library containing connect... " >&6; }
17825 if ${ac_cv_search_connect+:} false; then :
17826 $as_echo_n "(cached) " >&6
17827 else
17828 ac_func_search_save_LIBS=$LIBS
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17832 /* Override any GCC internal prototype to avoid an error.
17833 Use char because int might match the return type of a GCC
17834 builtin and then its argument prototype would still apply. */
17835 #ifdef __cplusplus
17836 extern "C"
17837 #endif
17838 char connect ();
17840 main ()
17842 return connect ();
17844 return 0;
17846 _ACEOF
17847 for ac_lib in '' socket; do
17848 if test -z "$ac_lib"; then
17849 ac_res="none required"
17850 else
17851 ac_res=-l$ac_lib
17852 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17854 if ac_fn_c_try_link "$LINENO"; then :
17855 ac_cv_search_connect=$ac_res
17857 rm -f core conftest.err conftest.$ac_objext \
17858 conftest$ac_exeext
17859 if ${ac_cv_search_connect+:} false; then :
17860 break
17862 done
17863 if ${ac_cv_search_connect+:} false; then :
17865 else
17866 ac_cv_search_connect=no
17868 rm conftest.$ac_ext
17869 LIBS=$ac_func_search_save_LIBS
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17872 $as_echo "$ac_cv_search_connect" >&6; }
17873 ac_res=$ac_cv_search_connect
17874 if test "$ac_res" != no; then :
17875 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17881 $as_echo_n "checking for library containing inet_aton... " >&6; }
17882 if ${ac_cv_search_inet_aton+:} false; then :
17883 $as_echo_n "(cached) " >&6
17884 else
17885 ac_func_search_save_LIBS=$LIBS
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17889 /* Override any GCC internal prototype to avoid an error.
17890 Use char because int might match the return type of a GCC
17891 builtin and then its argument prototype would still apply. */
17892 #ifdef __cplusplus
17893 extern "C"
17894 #endif
17895 char inet_aton ();
17897 main ()
17899 return inet_aton ();
17901 return 0;
17903 _ACEOF
17904 for ac_lib in '' resolv; do
17905 if test -z "$ac_lib"; then
17906 ac_res="none required"
17907 else
17908 ac_res=-l$ac_lib
17909 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17911 if ac_fn_c_try_link "$LINENO"; then :
17912 ac_cv_search_inet_aton=$ac_res
17914 rm -f core conftest.err conftest.$ac_objext \
17915 conftest$ac_exeext
17916 if ${ac_cv_search_inet_aton+:} false; then :
17917 break
17919 done
17920 if ${ac_cv_search_inet_aton+:} false; then :
17922 else
17923 ac_cv_search_inet_aton=no
17925 rm conftest.$ac_ext
17926 LIBS=$ac_func_search_save_LIBS
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17929 $as_echo "$ac_cv_search_inet_aton" >&6; }
17930 ac_res=$ac_cv_search_inet_aton
17931 if test "$ac_res" != no; then :
17932 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17937 for ac_func in \
17938 getaddrinfo \
17939 getnameinfo \
17940 getnetbyname \
17941 getprotobyname \
17942 getprotobynumber \
17943 getservbyport \
17944 inet_addr \
17945 inet_network \
17946 inet_ntop \
17947 inet_pton \
17949 do :
17950 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17951 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17952 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17953 cat >>confdefs.h <<_ACEOF
17954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17955 _ACEOF
17958 done
17961 ac_save_LIBS=$LIBS
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17963 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17964 if ${ac_cv_search_clock_gettime+:} false; then :
17965 $as_echo_n "(cached) " >&6
17966 else
17967 ac_func_search_save_LIBS=$LIBS
17968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17969 /* end confdefs.h. */
17971 /* Override any GCC internal prototype to avoid an error.
17972 Use char because int might match the return type of a GCC
17973 builtin and then its argument prototype would still apply. */
17974 #ifdef __cplusplus
17975 extern "C"
17976 #endif
17977 char clock_gettime ();
17979 main ()
17981 return clock_gettime ();
17983 return 0;
17985 _ACEOF
17986 for ac_lib in '' rt; do
17987 if test -z "$ac_lib"; then
17988 ac_res="none required"
17989 else
17990 ac_res=-l$ac_lib
17991 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17993 if ac_fn_c_try_link "$LINENO"; then :
17994 ac_cv_search_clock_gettime=$ac_res
17996 rm -f core conftest.err conftest.$ac_objext \
17997 conftest$ac_exeext
17998 if ${ac_cv_search_clock_gettime+:} false; then :
17999 break
18001 done
18002 if ${ac_cv_search_clock_gettime+:} false; then :
18004 else
18005 ac_cv_search_clock_gettime=no
18007 rm conftest.$ac_ext
18008 LIBS=$ac_func_search_save_LIBS
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18011 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18012 ac_res=$ac_cv_search_clock_gettime
18013 if test "$ac_res" != no; then :
18014 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18016 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18018 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18022 LIBS=$ac_save_LIBS
18024 if test "x$with_ldap" != "xno"
18025 then
18026 if ${LDAP_CFLAGS:+false} :; then :
18027 if ${PKG_CONFIG+:} false; then :
18028 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18032 if ${LDAP_LIBS:+false} :; then :
18033 if ${PKG_CONFIG+:} false; then :
18034 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18038 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18039 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18040 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18041 ac_save_CPPFLAGS=$CPPFLAGS
18042 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18043 for ac_header in ldap.h lber.h
18044 do :
18045 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18046 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18047 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18048 cat >>confdefs.h <<_ACEOF
18049 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18050 _ACEOF
18054 done
18056 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18057 then
18058 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18060 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18062 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18063 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18064 $as_echo_n "(cached) " >&6
18065 else
18066 ac_check_lib_save_LIBS=$LIBS
18067 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18071 /* Override any GCC internal prototype to avoid an error.
18072 Use char because int might match the return type of a GCC
18073 builtin and then its argument prototype would still apply. */
18074 #ifdef __cplusplus
18075 extern "C"
18076 #endif
18077 char ldap_initialize ();
18079 main ()
18081 return ldap_initialize ();
18083 return 0;
18085 _ACEOF
18086 if ac_fn_c_try_link "$LINENO"; then :
18087 ac_cv_lib_ldap_r_ldap_initialize=yes
18088 else
18089 ac_cv_lib_ldap_r_ldap_initialize=no
18091 rm -f core conftest.err conftest.$ac_objext \
18092 conftest$ac_exeext conftest.$ac_ext
18093 LIBS=$ac_check_lib_save_LIBS
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18096 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18097 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18099 $as_echo_n "checking for ber_init in -llber... " >&6; }
18100 if ${ac_cv_lib_lber_ber_init+:} false; then :
18101 $as_echo_n "(cached) " >&6
18102 else
18103 ac_check_lib_save_LIBS=$LIBS
18104 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18106 /* end confdefs.h. */
18108 /* Override any GCC internal prototype to avoid an error.
18109 Use char because int might match the return type of a GCC
18110 builtin and then its argument prototype would still apply. */
18111 #ifdef __cplusplus
18112 extern "C"
18113 #endif
18114 char ber_init ();
18116 main ()
18118 return ber_init ();
18120 return 0;
18122 _ACEOF
18123 if ac_fn_c_try_link "$LINENO"; then :
18124 ac_cv_lib_lber_ber_init=yes
18125 else
18126 ac_cv_lib_lber_ber_init=no
18128 rm -f core conftest.err conftest.$ac_objext \
18129 conftest$ac_exeext conftest.$ac_ext
18130 LIBS=$ac_check_lib_save_LIBS
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18133 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18134 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18136 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18138 else
18139 LDAP_LIBS=""
18142 else
18143 LDAP_LIBS=""
18146 else
18147 LDAP_LIBS=""
18150 ac_wine_check_funcs_save_LIBS="$LIBS"
18151 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18152 for ac_func in \
18153 ldap_count_references \
18154 ldap_first_reference \
18155 ldap_next_reference \
18156 ldap_parse_reference \
18157 ldap_parse_sort_control \
18158 ldap_parse_sortresponse_control \
18159 ldap_parse_vlv_control \
18160 ldap_parse_vlvresponse_control
18161 do :
18162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18164 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18165 cat >>confdefs.h <<_ACEOF
18166 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18167 _ACEOF
18170 done
18172 LIBS="$ac_wine_check_funcs_save_LIBS"
18173 else
18174 LDAP_LIBS=""
18176 CPPFLAGS=$ac_save_CPPFLAGS
18177 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18178 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18181 if test "x$LDAP_LIBS" = "x"; then :
18182 case "x$with_ldap" in
18183 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18184 xno) ;;
18185 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18186 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18187 esac
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18192 $as_echo_n "checking for sched_setaffinity... " >&6; }
18193 if ${wine_cv_have_sched_setaffinity+:} false; then :
18194 $as_echo_n "(cached) " >&6
18195 else
18196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18198 #define _GNU_SOURCE
18199 #include <sched.h>
18201 main ()
18203 sched_setaffinity(0, 0, 0);
18205 return 0;
18207 _ACEOF
18208 if ac_fn_c_try_link "$LINENO"; then :
18209 wine_cv_have_sched_setaffinity=yes
18210 else
18211 wine_cv_have_sched_setaffinity=no
18213 rm -f core conftest.err conftest.$ac_objext \
18214 conftest$ac_exeext conftest.$ac_ext
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18217 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18218 if test "$wine_cv_have_sched_setaffinity" = "yes"
18219 then
18221 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18226 $as_echo_n "checking for fallocate... " >&6; }
18227 if ${wine_cv_have_fallocate+:} false; then :
18228 $as_echo_n "(cached) " >&6
18229 else
18230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18231 /* end confdefs.h. */
18232 #define _GNU_SOURCE
18233 #include <fcntl.h>
18235 main ()
18237 fallocate(-1, 0, 0, 0);
18239 return 0;
18241 _ACEOF
18242 if ac_fn_c_try_link "$LINENO"; then :
18243 wine_cv_have_fallocate=yes
18244 else
18245 wine_cv_have_fallocate=no
18247 rm -f core conftest.err conftest.$ac_objext \
18248 conftest$ac_exeext conftest.$ac_ext
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18251 $as_echo "$wine_cv_have_fallocate" >&6; }
18252 if test "$wine_cv_have_fallocate" = "yes"
18253 then
18255 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18261 $as_echo_n "checking for inline... " >&6; }
18262 if ${ac_cv_c_inline+:} false; then :
18263 $as_echo_n "(cached) " >&6
18264 else
18265 ac_cv_c_inline=no
18266 for ac_kw in inline __inline__ __inline; do
18267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18268 /* end confdefs.h. */
18269 #ifndef __cplusplus
18270 typedef int foo_t;
18271 static $ac_kw foo_t static_foo () {return 0; }
18272 $ac_kw foo_t foo () {return 0; }
18273 #endif
18275 _ACEOF
18276 if ac_fn_c_try_compile "$LINENO"; then :
18277 ac_cv_c_inline=$ac_kw
18279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18280 test "$ac_cv_c_inline" != no && break
18281 done
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18285 $as_echo "$ac_cv_c_inline" >&6; }
18287 case $ac_cv_c_inline in
18288 inline | yes) ;;
18290 case $ac_cv_c_inline in
18291 no) ac_val=;;
18292 *) ac_val=$ac_cv_c_inline;;
18293 esac
18294 cat >>confdefs.h <<_ACEOF
18295 #ifndef __cplusplus
18296 #define inline $ac_val
18297 #endif
18298 _ACEOF
18300 esac
18302 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18303 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18305 cat >>confdefs.h <<_ACEOF
18306 #define HAVE_FSBLKCNT_T 1
18307 _ACEOF
18311 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18312 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18314 cat >>confdefs.h <<_ACEOF
18315 #define HAVE_FSFILCNT_T 1
18316 _ACEOF
18321 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18322 #include <signal.h>
18324 if test "x$ac_cv_type_sigset_t" = xyes; then :
18326 cat >>confdefs.h <<_ACEOF
18327 #define HAVE_SIGSET_T 1
18328 _ACEOF
18333 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18335 if test "x$ac_cv_type_request_sense" = xyes; then :
18337 cat >>confdefs.h <<_ACEOF
18338 #define HAVE_REQUEST_SENSE 1
18339 _ACEOF
18345 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18346 #ifdef HAVE_SYS_SOCKET_H
18347 #include <sys/socket.h>
18348 #endif
18349 #ifdef HAVE_SYS_SOCKETVAR_H
18350 #include <sys/socketvar.h>
18351 #endif
18352 #ifdef HAVE_NET_ROUTE_H
18353 #include <net/route.h>
18354 #endif
18355 #ifdef HAVE_NETINET_IN_H
18356 #include <netinet/in.h>
18357 #endif
18358 #ifdef HAVE_NETINET_IN_SYSTM_H
18359 #include <netinet/in_systm.h>
18360 #endif
18361 #ifdef HAVE_NETINET_IP_H
18362 #include <netinet/ip.h>
18363 #endif
18364 #ifdef HAVE_NETINET_IN_PCB_H
18365 #include <netinet/in_pcb.h>
18366 #endif
18368 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18370 cat >>confdefs.h <<_ACEOF
18371 #define HAVE_STRUCT_XINPGEN 1
18372 _ACEOF
18378 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18379 #include <link.h>
18380 #endif
18381 #ifdef HAVE_SYS_LINK_H
18382 #include <sys/link.h>
18383 #endif
18385 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18387 cat >>confdefs.h <<_ACEOF
18388 #define HAVE_STRUCT_R_DEBUG 1
18389 _ACEOF
18393 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18394 #include <link.h>
18395 #endif
18396 #ifdef HAVE_SYS_LINK_H
18397 #include <sys/link.h>
18398 #endif
18400 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18402 cat >>confdefs.h <<_ACEOF
18403 #define HAVE_STRUCT_LINK_MAP 1
18404 _ACEOF
18410 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18411 #include <linux/input.h>
18412 #endif
18414 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18416 cat >>confdefs.h <<_ACEOF
18417 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18418 _ACEOF
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18425 $as_echo_n "checking for if_nameindex... " >&6; }
18426 if ${wine_cv_have_if_nameindex+:} false; then :
18427 $as_echo_n "(cached) " >&6
18428 else
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #ifdef HAVE_SYS_TYPES_H
18432 #include <sys/types.h>
18433 #endif
18434 #ifdef HAVE_SYS_SOCKET_H
18435 #include <sys/socket.h>
18436 #endif
18437 #ifdef HAVE_NET_IF_H
18438 # include <net/if.h>
18439 #endif
18441 main ()
18443 struct if_nameindex *p = if_nameindex(); return p->if_index;
18445 return 0;
18447 _ACEOF
18448 if ac_fn_c_try_link "$LINENO"; then :
18449 wine_cv_have_if_nameindex=yes
18450 else
18451 wine_cv_have_if_nameindex=no
18453 rm -f core conftest.err conftest.$ac_objext \
18454 conftest$ac_exeext conftest.$ac_ext
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18457 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18458 if test "$wine_cv_have_if_nameindex" = "yes"
18459 then
18461 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18466 $as_echo_n "checking for sigaddset... " >&6; }
18467 if ${wine_cv_have_sigaddset+:} false; then :
18468 $as_echo_n "(cached) " >&6
18469 else
18470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h. */
18472 #include <signal.h>
18474 main ()
18476 sigset_t set; sigaddset(&set,SIGTERM);
18478 return 0;
18480 _ACEOF
18481 if ac_fn_c_try_link "$LINENO"; then :
18482 wine_cv_have_sigaddset=yes
18483 else
18484 wine_cv_have_sigaddset=no
18486 rm -f core conftest.err conftest.$ac_objext \
18487 conftest$ac_exeext conftest.$ac_ext
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18490 $as_echo "$wine_cv_have_sigaddset" >&6; }
18491 if test "$wine_cv_have_sigaddset" = "yes"
18492 then
18494 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18500 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18501 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18502 $as_echo_n "(cached) " >&6
18503 else
18504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18505 /* end confdefs.h. */
18506 #include <netdb.h>
18508 main ()
18511 char *name=0;
18512 struct hostent he;
18513 struct hostent *result;
18514 char *buf=0;
18515 int bufsize=0;
18516 int errnr;
18517 char *addr=0;
18518 int addrlen=0;
18519 int addrtype=0;
18520 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18521 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18524 return 0;
18526 _ACEOF
18527 if ac_fn_c_try_link "$LINENO"; then :
18528 wine_cv_linux_gethostbyname_r_6=yes
18529 else
18530 wine_cv_linux_gethostbyname_r_6=no
18533 rm -f core conftest.err conftest.$ac_objext \
18534 conftest$ac_exeext conftest.$ac_ext
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18538 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18539 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18540 then
18542 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18546 if test "$ac_cv_header_linux_joystick_h" = "yes"
18547 then
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18549 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18550 if ${wine_cv_linux_joystick_22_api+:} false; then :
18551 $as_echo_n "(cached) " >&6
18552 else
18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18554 /* end confdefs.h. */
18556 #include <sys/ioctl.h>
18557 #include <sys/types.h>
18558 #include <linux/joystick.h>
18560 struct js_event blub;
18561 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18562 #error "no 2.2 header"
18563 #endif
18566 main ()
18568 /*empty*/
18570 return 0;
18572 _ACEOF
18573 if ac_fn_c_try_compile "$LINENO"; then :
18574 wine_cv_linux_joystick_22_api=yes
18575 else
18576 wine_cv_linux_joystick_22_api=no
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18582 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18583 if test "$wine_cv_linux_joystick_22_api" = "yes"
18584 then
18586 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18592 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18593 #ifdef HAVE_SYS_PARAM_H
18594 # include <sys/param.h>
18595 #endif
18596 #ifdef HAVE_SYS_MOUNT_H
18597 # include <sys/mount.h>
18598 #endif
18599 #ifdef HAVE_SYS_VFS_H
18600 # include <sys/vfs.h>
18601 #endif
18602 #ifdef HAVE_SYS_STATFS_H
18603 # include <sys/statfs.h>
18604 #endif
18606 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18608 cat >>confdefs.h <<_ACEOF
18609 #define HAVE_STRUCT_STATFS_F_BFREE 1
18610 _ACEOF
18614 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18615 #ifdef HAVE_SYS_PARAM_H
18616 # include <sys/param.h>
18617 #endif
18618 #ifdef HAVE_SYS_MOUNT_H
18619 # include <sys/mount.h>
18620 #endif
18621 #ifdef HAVE_SYS_VFS_H
18622 # include <sys/vfs.h>
18623 #endif
18624 #ifdef HAVE_SYS_STATFS_H
18625 # include <sys/statfs.h>
18626 #endif
18628 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18630 cat >>confdefs.h <<_ACEOF
18631 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18632 _ACEOF
18636 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18637 #ifdef HAVE_SYS_PARAM_H
18638 # include <sys/param.h>
18639 #endif
18640 #ifdef HAVE_SYS_MOUNT_H
18641 # include <sys/mount.h>
18642 #endif
18643 #ifdef HAVE_SYS_VFS_H
18644 # include <sys/vfs.h>
18645 #endif
18646 #ifdef HAVE_SYS_STATFS_H
18647 # include <sys/statfs.h>
18648 #endif
18650 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18652 cat >>confdefs.h <<_ACEOF
18653 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18654 _ACEOF
18658 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18659 #ifdef HAVE_SYS_PARAM_H
18660 # include <sys/param.h>
18661 #endif
18662 #ifdef HAVE_SYS_MOUNT_H
18663 # include <sys/mount.h>
18664 #endif
18665 #ifdef HAVE_SYS_VFS_H
18666 # include <sys/vfs.h>
18667 #endif
18668 #ifdef HAVE_SYS_STATFS_H
18669 # include <sys/statfs.h>
18670 #endif
18672 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18674 cat >>confdefs.h <<_ACEOF
18675 #define HAVE_STRUCT_STATFS_F_FFREE 1
18676 _ACEOF
18680 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18681 #ifdef HAVE_SYS_PARAM_H
18682 # include <sys/param.h>
18683 #endif
18684 #ifdef HAVE_SYS_MOUNT_H
18685 # include <sys/mount.h>
18686 #endif
18687 #ifdef HAVE_SYS_VFS_H
18688 # include <sys/vfs.h>
18689 #endif
18690 #ifdef HAVE_SYS_STATFS_H
18691 # include <sys/statfs.h>
18692 #endif
18694 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18696 cat >>confdefs.h <<_ACEOF
18697 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18698 _ACEOF
18702 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18703 #ifdef HAVE_SYS_PARAM_H
18704 # include <sys/param.h>
18705 #endif
18706 #ifdef HAVE_SYS_MOUNT_H
18707 # include <sys/mount.h>
18708 #endif
18709 #ifdef HAVE_SYS_VFS_H
18710 # include <sys/vfs.h>
18711 #endif
18712 #ifdef HAVE_SYS_STATFS_H
18713 # include <sys/statfs.h>
18714 #endif
18716 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18718 cat >>confdefs.h <<_ACEOF
18719 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18720 _ACEOF
18726 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18727 #include <sys/statvfs.h>
18728 #endif
18730 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18732 cat >>confdefs.h <<_ACEOF
18733 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18734 _ACEOF
18740 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18741 #include <dirent.h>
18742 #endif
18744 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18746 cat >>confdefs.h <<_ACEOF
18747 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18748 _ACEOF
18754 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18755 #ifdef HAVE_SYS_SOCKET_H
18756 # include <sys/socket.h>
18757 #endif
18758 #ifdef HAVE_SYS_UN_H
18759 # include <sys/un.h>
18760 #endif
18762 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18764 cat >>confdefs.h <<_ACEOF
18765 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18766 _ACEOF
18770 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18771 #ifdef HAVE_SYS_SOCKET_H
18772 # include <sys/socket.h>
18773 #endif
18774 #ifdef HAVE_SYS_UN_H
18775 # include <sys/un.h>
18776 #endif
18778 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18780 cat >>confdefs.h <<_ACEOF
18781 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18782 _ACEOF
18786 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18787 #ifdef HAVE_SYS_SOCKET_H
18788 # include <sys/socket.h>
18789 #endif
18790 #ifdef HAVE_SYS_UN_H
18791 # include <sys/un.h>
18792 #endif
18794 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18796 cat >>confdefs.h <<_ACEOF
18797 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18798 _ACEOF
18804 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18805 #ifdef HAVE_SCSI_SG_H
18806 #include <scsi/sg.h>
18807 #endif
18809 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18811 cat >>confdefs.h <<_ACEOF
18812 #define HAVE_SCSIREQ_T_CMD 1
18813 _ACEOF
18817 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>
18818 #ifdef HAVE_SCSI_SG_H
18819 #include <scsi/sg.h>
18820 #endif
18822 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18824 cat >>confdefs.h <<_ACEOF
18825 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18826 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18834 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18836 cat >>confdefs.h <<_ACEOF
18837 #define HAVE_SIGINFO_T_SI_FD 1
18838 _ACEOF
18844 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18845 #ifdef HAVE_SYS_MTIO_H
18846 #include <sys/mtio.h>
18847 #endif
18849 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18851 cat >>confdefs.h <<_ACEOF
18852 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18853 _ACEOF
18857 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18858 #ifdef HAVE_SYS_MTIO_H
18859 #include <sys/mtio.h>
18860 #endif
18862 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18864 cat >>confdefs.h <<_ACEOF
18865 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18866 _ACEOF
18870 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18871 #ifdef HAVE_SYS_MTIO_H
18872 #include <sys/mtio.h>
18873 #endif
18875 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18877 cat >>confdefs.h <<_ACEOF
18878 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18879 _ACEOF
18885 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18886 #include <getopt.h>
18887 #endif
18889 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18891 cat >>confdefs.h <<_ACEOF
18892 #define HAVE_STRUCT_OPTION_NAME 1
18893 _ACEOF
18899 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18900 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18902 cat >>confdefs.h <<_ACEOF
18903 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18904 _ACEOF
18908 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18909 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18911 cat >>confdefs.h <<_ACEOF
18912 #define HAVE_STRUCT_STAT_ST_MTIM 1
18913 _ACEOF
18917 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18918 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18920 cat >>confdefs.h <<_ACEOF
18921 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18922 _ACEOF
18926 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18927 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18929 cat >>confdefs.h <<_ACEOF
18930 #define HAVE_STRUCT_STAT_ST_CTIM 1
18931 _ACEOF
18935 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18936 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18938 cat >>confdefs.h <<_ACEOF
18939 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18940 _ACEOF
18944 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18945 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18947 cat >>confdefs.h <<_ACEOF
18948 #define HAVE_STRUCT_STAT_ST_ATIM 1
18949 _ACEOF
18953 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18954 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18956 cat >>confdefs.h <<_ACEOF
18957 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18958 _ACEOF
18962 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18963 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18965 cat >>confdefs.h <<_ACEOF
18966 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18967 _ACEOF
18971 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18972 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18974 cat >>confdefs.h <<_ACEOF
18975 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18976 _ACEOF
18980 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18981 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18985 _ACEOF
18989 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18990 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18992 cat >>confdefs.h <<_ACEOF
18993 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18994 _ACEOF
18998 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18999 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19001 cat >>confdefs.h <<_ACEOF
19002 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19003 _ACEOF
19009 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
19010 #include <sys/types.h>
19011 #endif
19012 #ifdef HAVE_NETINET_IN_H
19013 #include <netinet/in.h>
19014 #endif
19016 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19018 cat >>confdefs.h <<_ACEOF
19019 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19020 _ACEOF
19026 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19027 #include <sys/types.h>
19028 #endif
19029 #ifdef HAVE_NETINET_IN_H
19030 #include <netinet/in.h>
19031 #endif
19032 #ifdef HAVE_RESOLV_H
19033 #include <resolv.h>
19034 #endif
19036 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_STRUCT___RES_STATE 1
19040 _ACEOF
19046 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
19047 #include <resolv.h>
19048 #endif
19050 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19054 _ACEOF
19060 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19061 #include <sys/types.h>
19062 #endif
19063 #ifdef HAVE_NETINET_IN_H
19064 # include <netinet/in.h>
19065 #endif
19066 #ifdef HAVE_ARPA_NAMESER_H
19067 # include <arpa/nameser.h>
19068 #endif
19070 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19072 cat >>confdefs.h <<_ACEOF
19073 #define HAVE_NS_MSG__MSG_PTR 1
19074 _ACEOF
19080 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19081 #include <sys/types.h>
19082 #endif
19083 #ifdef HAVE_NETINET_IN_H
19084 #include <netinet/in.h>
19085 #endif
19086 #ifdef HAVE_NETINET_IP_H
19087 #include <netinet/ip.h>
19088 #endif
19089 #ifdef HAVE_NETINET_IP_ICMP_H
19090 #include <netinet/ip_icmp.h>
19091 #endif
19092 #ifdef HAVE_NETINET_ICMP_VAR_H
19093 #include <netinet/icmp_var.h>
19094 #endif
19096 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19098 cat >>confdefs.h <<_ACEOF
19099 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19100 _ACEOF
19106 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19107 #include <sys/types.h>
19108 #endif
19109 #ifdef HAVE_ALIAS_H
19110 #include <alias.h>
19111 #endif
19112 #ifdef HAVE_SYS_SOCKET_H
19113 #include <sys/socket.h>
19114 #endif
19115 #ifdef HAVE_SYS_SOCKETVAR_H
19116 #include <sys/socketvar.h>
19117 #endif
19118 #ifdef HAVE_SYS_TIMEOUT_H
19119 #include <sys/timeout.h>
19120 #endif
19121 #ifdef HAVE_NETINET_IN_H
19122 #include <netinet/in.h>
19123 #endif
19124 #ifdef HAVE_NETINET_IN_SYSTM_H
19125 #include <netinet/in_systm.h>
19126 #endif
19127 #ifdef HAVE_NETINET_IP_H
19128 #include <netinet/ip.h>
19129 #endif
19130 #ifdef HAVE_NETINET_IP_VAR_H
19131 #include <netinet/ip_var.h>
19132 #endif
19133 #ifdef HAVE_NETINET_IP_ICMP_H
19134 #include <netinet/ip_icmp.h>
19135 #endif
19136 #ifdef HAVE_NETINET_ICMP_VAR_H
19137 #include <netinet/icmp_var.h>
19138 #endif
19140 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19142 cat >>confdefs.h <<_ACEOF
19143 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19144 _ACEOF
19150 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19151 #include <sys/types.h>
19152 #endif
19153 #ifdef HAVE_SYS_SOCKETVAR_H
19154 #include <sys/socketvar.h>
19155 #endif
19156 #ifdef HAVE_NETINET_IN_H
19157 #include <netinet/in.h>
19158 #endif
19159 #ifdef HAVE_NETINET_IP_VAR_H
19160 #include <netinet/ip_var.h>
19161 #endif
19163 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19165 cat >>confdefs.h <<_ACEOF
19166 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19167 _ACEOF
19173 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
19174 #include <netinet/ip_var.h>
19175 #endif
19177 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19179 cat >>confdefs.h <<_ACEOF
19180 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19181 _ACEOF
19187 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19188 #include <sys/types.h>
19189 #endif
19190 #ifdef HAVE_SYS_SOCKETVAR_H
19191 #include <sys/socketvar.h>
19192 #endif
19193 #ifdef HAVE_NETINET_IN_H
19194 #include <netinet/in.h>
19195 #endif
19196 #ifdef HAVE_NETINET_TCP_H
19197 #include <netinet/tcp.h>
19198 #endif
19199 #ifdef HAVE_NETINET_TCP_VAR_H
19200 #include <netinet/tcp_var.h>
19201 #endif
19203 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19205 cat >>confdefs.h <<_ACEOF
19206 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19207 _ACEOF
19213 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
19214 #include <netinet/tcp_var.h>
19215 #endif
19217 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19219 cat >>confdefs.h <<_ACEOF
19220 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19221 _ACEOF
19227 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19228 #include <sys/types.h>
19229 #endif
19230 #ifdef HAVE_NETINET_IN_H
19231 #include <netinet/in.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IP_VAR_H
19234 #include <netinet/ip_var.h>
19235 #endif
19236 #ifdef HAVE_NETINET_UDP_H
19237 #include <netinet/udp.h>
19238 #endif
19239 #ifdef HAVE_NETINET_UDP_VAR_H
19240 #include <netinet/udp_var.h>
19241 #endif
19243 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19247 _ACEOF
19253 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19254 #include <sys/types.h>
19255 #endif
19256 #ifdef HAVE_NET_IF_H
19257 # include <net/if.h>
19258 #endif
19260 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19262 cat >>confdefs.h <<_ACEOF
19263 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19264 _ACEOF
19270 ac_save_LIBS="$LIBS"
19271 LIBS="$LIBS -lm"
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19273 $as_echo_n "checking for isfinite... " >&6; }
19274 if ${ac_cv_have_isfinite+:} false; then :
19275 $as_echo_n "(cached) " >&6
19276 else
19277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19279 #define _GNU_SOURCE
19280 #include <math.h>
19282 main ()
19284 float f = 0.0; return isfinite(f)
19286 return 0;
19288 _ACEOF
19289 if ac_fn_c_try_link "$LINENO"; then :
19290 ac_cv_have_isfinite="yes"
19291 else
19292 ac_cv_have_isfinite="no"
19294 rm -f core conftest.err conftest.$ac_objext \
19295 conftest$ac_exeext conftest.$ac_ext
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19298 $as_echo "$ac_cv_have_isfinite" >&6; }
19299 if test "$ac_cv_have_isfinite" = "yes"
19300 then
19302 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19307 $as_echo_n "checking for isinf... " >&6; }
19308 if ${ac_cv_have_isinf+:} false; then :
19309 $as_echo_n "(cached) " >&6
19310 else
19311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h. */
19313 #include <math.h>
19315 main ()
19317 float f = 0.0; return isinf(f)
19319 return 0;
19321 _ACEOF
19322 if ac_fn_c_try_link "$LINENO"; then :
19323 ac_cv_have_isinf="yes"
19324 else
19325 ac_cv_have_isinf="no"
19327 rm -f core conftest.err conftest.$ac_objext \
19328 conftest$ac_exeext conftest.$ac_ext
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19331 $as_echo "$ac_cv_have_isinf" >&6; }
19332 if test "$ac_cv_have_isinf" = "yes"
19333 then
19335 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19340 $as_echo_n "checking for isnan... " >&6; }
19341 if ${ac_cv_have_isnan+:} false; then :
19342 $as_echo_n "(cached) " >&6
19343 else
19344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19345 /* end confdefs.h. */
19346 #include <math.h>
19348 main ()
19350 float f = 0.0; return isnan(f)
19352 return 0;
19354 _ACEOF
19355 if ac_fn_c_try_link "$LINENO"; then :
19356 ac_cv_have_isnan="yes"
19357 else
19358 ac_cv_have_isnan="no"
19360 rm -f core conftest.err conftest.$ac_objext \
19361 conftest$ac_exeext conftest.$ac_ext
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19364 $as_echo "$ac_cv_have_isnan" >&6; }
19365 if test "$ac_cv_have_isnan" = "yes"
19366 then
19368 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19372 for ac_func in \
19373 acosh \
19374 acoshf \
19375 asinh \
19376 asinhf \
19377 atanh \
19378 atanhf \
19379 cbrt \
19380 cbrtf \
19381 erf \
19382 erfc \
19383 erfcf \
19384 erff \
19385 exp2 \
19386 exp2f \
19387 expm1 \
19388 expm1f \
19389 ilogb \
19390 ilogbf \
19391 j0 \
19392 j1 \
19393 jn \
19394 lgamma \
19395 lgammaf \
19396 llrint \
19397 llrintf \
19398 llround \
19399 llroundf \
19400 log1p \
19401 log1pf \
19402 log2 \
19403 log2f \
19404 lrint \
19405 lrintf \
19406 lround \
19407 lroundf \
19408 nearbyint \
19409 nearbyintf \
19410 nexttoward \
19411 nexttowardf \
19412 powl \
19413 remainder \
19414 remainderf \
19415 remquo \
19416 remquof \
19417 rint \
19418 rintf \
19419 round \
19420 roundf \
19421 trunc \
19422 truncf \
19423 y0 \
19424 y1 \
19427 do :
19428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19430 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19431 cat >>confdefs.h <<_ACEOF
19432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19433 _ACEOF
19436 done
19438 LIBS="$ac_save_LIBS"
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19441 $as_echo_n "checking for __builtin_clz... " >&6; }
19442 if ${ac_cv_have___builtin_clz+:} false; then :
19443 $as_echo_n "(cached) " >&6
19444 else
19445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19446 /* end confdefs.h. */
19449 main ()
19451 return __builtin_clz(1)
19453 return 0;
19455 _ACEOF
19456 if ac_fn_c_try_link "$LINENO"; then :
19457 ac_cv_have___builtin_clz="yes"
19458 else
19459 ac_cv_have___builtin_clz="no"
19461 rm -f core conftest.err conftest.$ac_objext \
19462 conftest$ac_exeext conftest.$ac_ext
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19465 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19466 if test "$ac_cv_have___builtin_clz" = "yes"
19467 then
19469 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19474 $as_echo_n "checking for __builtin_popcount... " >&6; }
19475 if ${ac_cv_have___builtin_popcount+:} false; then :
19476 $as_echo_n "(cached) " >&6
19477 else
19478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19482 main ()
19484 return __builtin_popcount(1)
19486 return 0;
19488 _ACEOF
19489 if ac_fn_c_try_link "$LINENO"; then :
19490 ac_cv_have___builtin_popcount="yes"
19491 else
19492 ac_cv_have___builtin_popcount="no"
19494 rm -f core conftest.err conftest.$ac_objext \
19495 conftest$ac_exeext conftest.$ac_ext
19497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19498 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19499 if test "$ac_cv_have___builtin_popcount" = "yes"
19500 then
19502 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19507 $as_echo_n "checking for __clear_cache... " >&6; }
19508 if ${ac_cv_have___clear_cache+:} false; then :
19509 $as_echo_n "(cached) " >&6
19510 else
19511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19515 main ()
19517 __clear_cache((void*)0, (void*)0); return 0;
19519 return 0;
19521 _ACEOF
19522 if ac_fn_c_try_link "$LINENO"; then :
19523 ac_cv_have___clear_cache="yes"
19524 else
19525 ac_cv_have___clear_cache="no"
19527 rm -f core conftest.err conftest.$ac_objext \
19528 conftest$ac_exeext conftest.$ac_ext
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19531 $as_echo "$ac_cv_have___clear_cache" >&6; }
19532 if test "$ac_cv_have___clear_cache" = "yes"
19533 then
19535 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19540 case $host_cpu in
19541 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19542 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19543 if ${ac_cv_cpp_def___i386__+:} false; then :
19544 $as_echo_n "(cached) " >&6
19545 else
19546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19547 /* end confdefs.h. */
19548 #ifndef __i386__
19550 #endif
19551 _ACEOF
19552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19553 $EGREP "yes" >/dev/null 2>&1; then :
19554 ac_cv_cpp_def___i386__=yes
19555 else
19556 ac_cv_cpp_def___i386__=no
19558 rm -f conftest*
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19562 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19563 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19564 CFLAGS="$CFLAGS -D__i386__"
19565 LINTFLAGS="$LINTFLAGS -D__i386__"
19566 fi ;;
19567 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19568 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19569 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19570 $as_echo_n "(cached) " >&6
19571 else
19572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19573 /* end confdefs.h. */
19574 #ifndef __x86_64__
19576 #endif
19577 _ACEOF
19578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19579 $EGREP "yes" >/dev/null 2>&1; then :
19580 ac_cv_cpp_def___x86_64__=yes
19581 else
19582 ac_cv_cpp_def___x86_64__=no
19584 rm -f conftest*
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19588 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19589 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19590 CFLAGS="$CFLAGS -D__x86_64__"
19591 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19592 fi ;;
19593 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19594 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19595 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19596 $as_echo_n "(cached) " >&6
19597 else
19598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19600 #ifndef __sparc64__
19602 #endif
19603 _ACEOF
19604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19605 $EGREP "yes" >/dev/null 2>&1; then :
19606 ac_cv_cpp_def___sparc64__=yes
19607 else
19608 ac_cv_cpp_def___sparc64__=no
19610 rm -f conftest*
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19614 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19615 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19616 CFLAGS="$CFLAGS -D__sparc64__"
19617 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19618 fi ;;
19619 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19620 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19621 if ${ac_cv_cpp_def___sparc__+:} false; then :
19622 $as_echo_n "(cached) " >&6
19623 else
19624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19626 #ifndef __sparc__
19628 #endif
19629 _ACEOF
19630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19631 $EGREP "yes" >/dev/null 2>&1; then :
19632 ac_cv_cpp_def___sparc__=yes
19633 else
19634 ac_cv_cpp_def___sparc__=no
19636 rm -f conftest*
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19640 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19641 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19642 CFLAGS="$CFLAGS -D__sparc__"
19643 LINTFLAGS="$LINTFLAGS -D__sparc__"
19644 fi ;;
19645 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19646 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19647 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19648 $as_echo_n "(cached) " >&6
19649 else
19650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19651 /* end confdefs.h. */
19652 #ifndef __powerpc64__
19654 #endif
19655 _ACEOF
19656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19657 $EGREP "yes" >/dev/null 2>&1; then :
19658 ac_cv_cpp_def___powerpc64__=yes
19659 else
19660 ac_cv_cpp_def___powerpc64__=no
19662 rm -f conftest*
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19666 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19667 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19668 CFLAGS="$CFLAGS -D__powerpc64__"
19669 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19670 fi ;;
19671 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19672 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19673 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19674 $as_echo_n "(cached) " >&6
19675 else
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19678 #ifndef __powerpc__
19680 #endif
19681 _ACEOF
19682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19683 $EGREP "yes" >/dev/null 2>&1; then :
19684 ac_cv_cpp_def___powerpc__=yes
19685 else
19686 ac_cv_cpp_def___powerpc__=no
19688 rm -f conftest*
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19692 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19693 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19694 CFLAGS="$CFLAGS -D__powerpc__"
19695 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19696 fi ;;
19697 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19698 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19699 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19700 $as_echo_n "(cached) " >&6
19701 else
19702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19703 /* end confdefs.h. */
19704 #ifndef __aarch64__
19706 #endif
19707 _ACEOF
19708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19709 $EGREP "yes" >/dev/null 2>&1; then :
19710 ac_cv_cpp_def___aarch64__=yes
19711 else
19712 ac_cv_cpp_def___aarch64__=no
19714 rm -f conftest*
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19718 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19719 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19720 CFLAGS="$CFLAGS -D__aarch64__"
19721 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19722 fi ;;
19723 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19724 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19725 if ${ac_cv_cpp_def___arm__+:} false; then :
19726 $as_echo_n "(cached) " >&6
19727 else
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19730 #ifndef __arm__
19732 #endif
19733 _ACEOF
19734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19735 $EGREP "yes" >/dev/null 2>&1; then :
19736 ac_cv_cpp_def___arm__=yes
19737 else
19738 ac_cv_cpp_def___arm__=no
19740 rm -f conftest*
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19744 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19745 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19746 CFLAGS="$CFLAGS -D__arm__"
19747 LINTFLAGS="$LINTFLAGS -D__arm__"
19748 fi ;;
19749 esac
19751 case $host_vendor in
19752 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19753 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19754 if ${ac_cv_cpp_def___sun__+:} false; then :
19755 $as_echo_n "(cached) " >&6
19756 else
19757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19758 /* end confdefs.h. */
19759 #ifndef __sun__
19761 #endif
19762 _ACEOF
19763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19764 $EGREP "yes" >/dev/null 2>&1; then :
19765 ac_cv_cpp_def___sun__=yes
19766 else
19767 ac_cv_cpp_def___sun__=no
19769 rm -f conftest*
19772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19773 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19774 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19775 CFLAGS="$CFLAGS -D__sun__"
19776 LINTFLAGS="$LINTFLAGS -D__sun__"
19777 fi ;;
19778 esac
19784 ac_config_commands="$ac_config_commands include/stamp-h"
19786 $as_echo_n "creating Makefile rules..." >&6
19788 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19789 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19790 IOKIT_LIBS = $IOKIT_LIBS
19791 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19792 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19793 CORESERVICES_LIBS = $CORESERVICES_LIBS
19794 APPKIT_LIBS = $APPKIT_LIBS
19795 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19796 SECURITY_LIBS = $SECURITY_LIBS
19797 COREAUDIO_LIBS = $COREAUDIO_LIBS
19798 OPENAL_LIBS = $OPENAL_LIBS
19799 OPENCL_LIBS = $OPENCL_LIBS
19800 QUICKTIME_LIBS = $QUICKTIME_LIBS
19801 CARBON_LIBS = $CARBON_LIBS
19802 METAL_LIBS = $METAL_LIBS
19803 PTHREAD_LIBS = $PTHREAD_LIBS
19804 X_CFLAGS = $X_CFLAGS
19805 X_PRE_LIBS = $X_PRE_LIBS
19806 X_LIBS = $X_LIBS
19807 X_EXTRA_LIBS = $X_EXTRA_LIBS
19808 PCAP_LIBS = $PCAP_LIBS
19809 XML2_CFLAGS = $XML2_CFLAGS
19810 XML2_LIBS = $XML2_LIBS
19811 XSLT_CFLAGS = $XSLT_CFLAGS
19812 XSLT_LIBS = $XSLT_LIBS
19813 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19814 INOTIFY_LIBS = $INOTIFY_LIBS
19815 DBUS_CFLAGS = $DBUS_CFLAGS
19816 DBUS_LIBS = $DBUS_LIBS
19817 HAL_CFLAGS = $HAL_CFLAGS
19818 HAL_LIBS = $HAL_LIBS
19819 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19820 GNUTLS_LIBS = $GNUTLS_LIBS
19821 SANE_CFLAGS = $SANE_CFLAGS
19822 SANE_LIBS = $SANE_LIBS
19823 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19824 GPHOTO2_LIBS = $GPHOTO2_LIBS
19825 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19826 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19827 RESOLV_LIBS = $RESOLV_LIBS
19828 LCMS2_CFLAGS = $LCMS2_CFLAGS
19829 LCMS2_LIBS = $LCMS2_LIBS
19830 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19831 FREETYPE_LIBS = $FREETYPE_LIBS
19832 Z_LIBS = $Z_LIBS
19833 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19834 PULSE_CFLAGS = $PULSE_CFLAGS
19835 PULSE_LIBS = $PULSE_LIBS
19836 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19837 GSTREAMER_LIBS = $GSTREAMER_LIBS
19838 ALSA_LIBS = $ALSA_LIBS
19839 OSS4_CFLAGS = $OSS4_CFLAGS
19840 UDEV_CFLAGS = $UDEV_CFLAGS
19841 UDEV_LIBS = $UDEV_LIBS
19842 SDL2_CFLAGS = $SDL2_CFLAGS
19843 SDL2_LIBS = $SDL2_LIBS
19844 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19845 FAUDIO_LIBS = $FAUDIO_LIBS
19846 CAPI20_CFLAGS = $CAPI20_CFLAGS
19847 CAPI20_LIBS = $CAPI20_LIBS
19848 CUPS_CFLAGS = $CUPS_CFLAGS
19849 CUPS_LIBS = $CUPS_LIBS
19850 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19851 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19852 KRB5_CFLAGS = $KRB5_CFLAGS
19853 KRB5_LIBS = $KRB5_LIBS
19854 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19855 GSSAPI_LIBS = $GSSAPI_LIBS
19856 JPEG_CFLAGS = $JPEG_CFLAGS
19857 JPEG_LIBS = $JPEG_LIBS
19858 PNG_CFLAGS = $PNG_CFLAGS
19859 PNG_LIBS = $PNG_LIBS
19860 TIFF_CFLAGS = $TIFF_CFLAGS
19861 TIFF_LIBS = $TIFF_LIBS
19862 MPG123_CFLAGS = $MPG123_CFLAGS
19863 MPG123_LIBS = $MPG123_LIBS
19864 KSTAT_LIBS = $KSTAT_LIBS
19865 PROCSTAT_LIBS = $PROCSTAT_LIBS
19866 NETAPI_CFLAGS = $NETAPI_CFLAGS
19867 NETAPI_LIBS = $NETAPI_LIBS
19868 VKD3D_CFLAGS = $VKD3D_CFLAGS
19869 VKD3D_LIBS = $VKD3D_LIBS
19870 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19871 DL_LIBS = $DL_LIBS
19872 POLL_LIBS = $POLL_LIBS
19873 RT_LIBS = $RT_LIBS
19874 LDAP_CFLAGS = $LDAP_CFLAGS
19875 LDAP_LIBS = $LDAP_LIBS
19880 wine_fn_append_rule "
19881 # Rules automatically generated by configure
19883 .INIT: Makefile
19884 .MAKEFILEDEPS:
19885 all: Makefile
19886 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19887 @./config.status Make.tmp Makefile
19888 depend: \$(MAKEDEP) dummy
19889 \$(MAKEDEP)"
19891 if test "x$enable_fonts" != xno; then
19892 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19893 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19894 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19895 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19896 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19897 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19899 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19900 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19901 ac_config_links="$ac_config_links wine:tools/winewrapper"
19902 wine_fn_config_symlink wine
19903 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19904 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19905 wine_fn_config_symlink wine64
19908 wine_fn_config_makefile dlls/acledit enable_acledit
19909 wine_fn_config_makefile dlls/aclui enable_aclui
19910 wine_fn_config_makefile dlls/activeds enable_activeds
19911 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19912 wine_fn_config_makefile dlls/adsiid enable_adsiid
19913 wine_fn_config_makefile dlls/adsldp enable_adsldp
19914 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19915 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19916 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19917 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19918 wine_fn_config_makefile dlls/advpack enable_advpack
19919 wine_fn_config_makefile dlls/advpack/tests enable_tests
19920 wine_fn_config_makefile dlls/amsi enable_amsi
19921 wine_fn_config_makefile dlls/amstream enable_amstream
19922 wine_fn_config_makefile dlls/amstream/tests enable_tests
19923 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19924 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19925 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19926 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19927 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19928 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19929 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19930 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19932 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19933 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19934 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19940 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19941 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19942 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19943 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19945 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19947 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19948 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19949 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19950 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19951 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19953 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19954 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19955 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19957 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19958 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19960 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19961 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19965 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19967 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19971 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19972 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19975 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19976 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19977 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19978 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19981 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19989 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19990 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19997 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20001 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20002 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20003 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20025 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20029 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20032 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20042 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20047 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20048 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20053 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20055 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20074 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20075 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20094 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20105 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20109 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20113 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20114 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20119 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20121 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20127 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20130 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20132 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20134 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20138 wine_fn_config_makefile dlls/apphelp enable_apphelp
20139 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20140 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20141 wine_fn_config_makefile dlls/atl enable_atl
20142 wine_fn_config_makefile dlls/atl/tests enable_tests
20143 wine_fn_config_makefile dlls/atl100 enable_atl100
20144 wine_fn_config_makefile dlls/atl100/tests enable_tests
20145 wine_fn_config_makefile dlls/atl110 enable_atl110
20146 wine_fn_config_makefile dlls/atl80 enable_atl80
20147 wine_fn_config_makefile dlls/atl80/tests enable_tests
20148 wine_fn_config_makefile dlls/atl90 enable_atl90
20149 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20150 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20151 wine_fn_config_makefile dlls/atmlib enable_atmlib
20152 wine_fn_config_makefile dlls/authz enable_authz
20153 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20154 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20155 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20156 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20157 wine_fn_config_makefile dlls/avrt enable_avrt
20158 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20159 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20160 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20161 wine_fn_config_makefile dlls/browseui enable_browseui
20162 wine_fn_config_makefile dlls/browseui/tests enable_tests
20163 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20164 wine_fn_config_makefile dlls/cabinet enable_cabinet
20165 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20166 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20167 wine_fn_config_makefile dlls/cards enable_cards
20168 wine_fn_config_makefile dlls/cdosys enable_cdosys
20169 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20170 wine_fn_config_makefile dlls/clusapi enable_clusapi
20171 wine_fn_config_makefile dlls/combase enable_combase
20172 wine_fn_config_makefile dlls/combase/tests enable_tests
20173 wine_fn_config_makefile dlls/comcat enable_comcat
20174 wine_fn_config_makefile dlls/comcat/tests enable_tests
20175 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20176 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20177 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20178 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20179 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20180 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20181 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20182 wine_fn_config_makefile dlls/compstui enable_compstui
20183 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20184 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20185 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20186 wine_fn_config_makefile dlls/connect enable_connect
20187 wine_fn_config_makefile dlls/credui enable_credui
20188 wine_fn_config_makefile dlls/credui/tests enable_tests
20189 wine_fn_config_makefile dlls/crtdll enable_crtdll
20190 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20191 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20192 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20193 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20194 wine_fn_config_makefile dlls/cryptext enable_cryptext
20195 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20196 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20197 wine_fn_config_makefile dlls/cryptui enable_cryptui
20198 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20199 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20200 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20201 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20202 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20203 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20204 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20205 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20206 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20207 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20208 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20209 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20210 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20211 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20212 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20213 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20214 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20215 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20216 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20217 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20218 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20219 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20220 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20221 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20222 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20223 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20224 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20225 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20226 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20227 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20228 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20229 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20230 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20231 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20232 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20233 wine_fn_config_makefile dlls/d3dim enable_d3dim
20234 wine_fn_config_makefile dlls/d3drm enable_d3drm
20235 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20236 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20237 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20238 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20239 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20240 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20241 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20242 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20243 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20244 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20245 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20246 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20247 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20248 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20249 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20250 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20251 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20252 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20253 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20254 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20255 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20256 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20257 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20258 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20259 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20260 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20261 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20262 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20263 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20264 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20265 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20266 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20267 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20268 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20269 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20270 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20271 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20272 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20273 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20274 wine_fn_config_makefile dlls/davclnt enable_davclnt
20275 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20276 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20277 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20278 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20279 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20280 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20281 wine_fn_config_makefile dlls/ddraw enable_ddraw
20282 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20283 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20284 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20285 wine_fn_config_makefile dlls/devenum enable_devenum
20286 wine_fn_config_makefile dlls/devenum/tests enable_tests
20287 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20288 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20289 wine_fn_config_makefile dlls/difxapi enable_difxapi
20290 wine_fn_config_makefile dlls/dinput enable_dinput
20291 wine_fn_config_makefile dlls/dinput/tests enable_tests
20292 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20293 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20294 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20295 wine_fn_config_makefile dlls/dispex enable_dispex
20296 wine_fn_config_makefile dlls/dispex/tests enable_tests
20297 wine_fn_config_makefile dlls/display.drv16 enable_win16
20298 wine_fn_config_makefile dlls/dmband enable_dmband
20299 wine_fn_config_makefile dlls/dmband/tests enable_tests
20300 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20301 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20302 wine_fn_config_makefile dlls/dmime enable_dmime
20303 wine_fn_config_makefile dlls/dmime/tests enable_tests
20304 wine_fn_config_makefile dlls/dmloader enable_dmloader
20305 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20306 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20307 wine_fn_config_makefile dlls/dmscript enable_dmscript
20308 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20309 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20310 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20311 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20312 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20313 wine_fn_config_makefile dlls/dmusic enable_dmusic
20314 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20315 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20316 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20317 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20318 wine_fn_config_makefile dlls/dplay enable_dplay
20319 wine_fn_config_makefile dlls/dplayx enable_dplayx
20320 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20321 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20322 wine_fn_config_makefile dlls/dpnet enable_dpnet
20323 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20324 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20325 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20326 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20327 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20328 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20329 wine_fn_config_makefile dlls/drmclien enable_drmclien
20330 wine_fn_config_makefile dlls/dsound enable_dsound
20331 wine_fn_config_makefile dlls/dsound/tests enable_tests
20332 wine_fn_config_makefile dlls/dsquery enable_dsquery
20333 wine_fn_config_makefile dlls/dssenh enable_dssenh
20334 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20335 wine_fn_config_makefile dlls/dswave enable_dswave
20336 wine_fn_config_makefile dlls/dswave/tests enable_tests
20337 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20338 wine_fn_config_makefile dlls/dwrite enable_dwrite
20339 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20340 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20341 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20342 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20343 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20344 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20345 wine_fn_config_makefile dlls/dxgi enable_dxgi
20346 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20347 wine_fn_config_makefile dlls/dxguid enable_dxguid
20348 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20349 wine_fn_config_makefile dlls/esent enable_esent
20350 wine_fn_config_makefile dlls/evr enable_evr
20351 wine_fn_config_makefile dlls/evr/tests enable_tests
20352 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20353 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20354 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20355 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20356 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20357 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20358 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20359 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20360 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20361 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20362 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20363 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20364 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20365 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20366 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20367 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20368 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20369 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20370 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20371 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20372 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20373 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20374 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20375 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20376 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20377 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20378 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20379 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20380 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20381 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20382 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20383 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20384 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20385 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20386 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20387 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20388 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20389 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20390 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20391 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20392 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20393 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20394 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
20395 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20396 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20397 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20398 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20399 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20400 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20401 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20402 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20403 wine_fn_config_makefile dlls/faultrep enable_faultrep
20404 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20405 wine_fn_config_makefile dlls/feclient enable_feclient
20406 wine_fn_config_makefile dlls/fltlib enable_fltlib
20407 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20408 wine_fn_config_makefile dlls/fntcache enable_fntcache
20409 wine_fn_config_makefile dlls/fontsub enable_fontsub
20410 wine_fn_config_makefile dlls/fusion enable_fusion
20411 wine_fn_config_makefile dlls/fusion/tests enable_tests
20412 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20413 wine_fn_config_makefile dlls/gameux enable_gameux
20414 wine_fn_config_makefile dlls/gameux/tests enable_tests
20415 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20416 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20417 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20418 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20419 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20420 wine_fn_config_makefile dlls/glu32 enable_glu32
20421 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20422 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20423 wine_fn_config_makefile dlls/hal enable_hal
20424 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20425 wine_fn_config_makefile dlls/hid enable_hid
20426 wine_fn_config_makefile dlls/hid/tests enable_tests
20427 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20428 wine_fn_config_makefile dlls/hlink enable_hlink
20429 wine_fn_config_makefile dlls/hlink/tests enable_tests
20430 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20431 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20432 wine_fn_config_makefile dlls/httpapi enable_httpapi
20433 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20434 wine_fn_config_makefile dlls/iccvid enable_iccvid
20435 wine_fn_config_makefile dlls/icmp enable_icmp
20436 wine_fn_config_makefile dlls/ieframe enable_ieframe
20437 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20438 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20439 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20440 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20441 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20442 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20443 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20444 wine_fn_config_makefile dlls/imm32 enable_imm32
20445 wine_fn_config_makefile dlls/imm32/tests enable_tests
20446 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20447 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20448 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20449 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20450 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20451 wine_fn_config_makefile dlls/infosoft enable_infosoft
20452 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20453 wine_fn_config_makefile dlls/initpki enable_initpki
20454 wine_fn_config_makefile dlls/inkobj enable_inkobj
20455 wine_fn_config_makefile dlls/inseng enable_inseng
20456 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20457 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20458 wine_fn_config_makefile dlls/iprop enable_iprop
20459 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20460 wine_fn_config_makefile dlls/itircl enable_itircl
20461 wine_fn_config_makefile dlls/itss enable_itss
20462 wine_fn_config_makefile dlls/itss/tests enable_tests
20463 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20464 wine_fn_config_makefile dlls/jscript enable_jscript
20465 wine_fn_config_makefile dlls/jscript/tests enable_tests
20466 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20467 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20468 wine_fn_config_makefile dlls/kerberos enable_kerberos
20469 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20470 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20471 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20472 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20473 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20474 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20475 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20476 wine_fn_config_makefile dlls/ksuser enable_ksuser
20477 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20478 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20479 wine_fn_config_makefile dlls/loadperf enable_loadperf
20480 wine_fn_config_makefile dlls/localspl enable_localspl
20481 wine_fn_config_makefile dlls/localspl/tests enable_tests
20482 wine_fn_config_makefile dlls/localui enable_localui
20483 wine_fn_config_makefile dlls/localui/tests enable_tests
20484 wine_fn_config_makefile dlls/lz32 enable_lz32
20485 wine_fn_config_makefile dlls/lz32/tests enable_tests
20486 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20487 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20488 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20489 wine_fn_config_makefile dlls/mapistub enable_mapistub
20490 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20491 wine_fn_config_makefile dlls/mcicda enable_mcicda
20492 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20493 wine_fn_config_makefile dlls/mciseq enable_mciseq
20494 wine_fn_config_makefile dlls/mciwave enable_mciwave
20495 wine_fn_config_makefile dlls/mf enable_mf
20496 wine_fn_config_makefile dlls/mf/tests enable_tests
20497 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20498 wine_fn_config_makefile dlls/mferror enable_mferror
20499 wine_fn_config_makefile dlls/mfplat enable_mfplat
20500 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20501 wine_fn_config_makefile dlls/mfplay enable_mfplay
20502 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20503 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20504 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20505 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20506 wine_fn_config_makefile dlls/midimap enable_midimap
20507 wine_fn_config_makefile dlls/mlang enable_mlang
20508 wine_fn_config_makefile dlls/mlang/tests enable_tests
20509 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20510 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20511 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20512 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20513 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20514 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20515 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20516 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20517 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20518 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20519 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20520 wine_fn_config_makefile dlls/mpr enable_mpr
20521 wine_fn_config_makefile dlls/mpr/tests enable_tests
20522 wine_fn_config_makefile dlls/mprapi enable_mprapi
20523 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20524 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20525 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20526 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20527 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20528 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20529 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20530 wine_fn_config_makefile dlls/mscms enable_mscms
20531 wine_fn_config_makefile dlls/mscms/tests enable_tests
20532 wine_fn_config_makefile dlls/mscoree enable_mscoree
20533 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20534 wine_fn_config_makefile dlls/msctf enable_msctf
20535 wine_fn_config_makefile dlls/msctf/tests enable_tests
20536 wine_fn_config_makefile dlls/msctfp enable_msctfp
20537 wine_fn_config_makefile dlls/msdaps enable_msdaps
20538 wine_fn_config_makefile dlls/msdelta enable_msdelta
20539 wine_fn_config_makefile dlls/msdmo enable_msdmo
20540 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20541 wine_fn_config_makefile dlls/msdrm enable_msdrm
20542 wine_fn_config_makefile dlls/msftedit enable_msftedit
20543 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20544 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20545 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20546 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20547 wine_fn_config_makefile dlls/mshtml enable_mshtml
20548 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20549 wine_fn_config_makefile dlls/msi enable_msi
20550 wine_fn_config_makefile dlls/msi/tests enable_tests
20551 wine_fn_config_makefile dlls/msident enable_msident
20552 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20553 wine_fn_config_makefile dlls/msimsg enable_msimsg
20554 wine_fn_config_makefile dlls/msimtf enable_msimtf
20555 wine_fn_config_makefile dlls/msisip enable_msisip
20556 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20557 wine_fn_config_makefile dlls/msls31 enable_msls31
20558 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20559 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20560 wine_fn_config_makefile dlls/msports enable_msports
20561 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20562 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20563 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20564 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20565 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20566 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20567 wine_fn_config_makefile dlls/mstask enable_mstask
20568 wine_fn_config_makefile dlls/mstask/tests enable_tests
20569 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20570 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20571 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20572 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20573 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20574 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20575 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20576 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20577 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20578 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20579 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20580 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20581 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20582 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20583 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20584 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20585 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20586 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20587 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20588 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20589 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20590 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20591 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20592 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20593 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20594 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20595 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20596 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20597 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20598 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20599 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20600 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20601 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20602 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20603 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20604 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20605 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20606 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20607 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20608 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20609 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20610 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20611 wine_fn_config_makefile dlls/mswsock enable_mswsock
20612 wine_fn_config_makefile dlls/msxml enable_msxml
20613 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20614 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20615 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20616 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20617 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20618 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20619 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20620 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20621 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20622 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20623 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20624 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20625 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20626 wine_fn_config_makefile dlls/netprofm enable_netprofm
20627 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20628 wine_fn_config_makefile dlls/newdev enable_newdev
20629 wine_fn_config_makefile dlls/ninput enable_ninput
20630 wine_fn_config_makefile dlls/ninput/tests enable_tests
20631 wine_fn_config_makefile dlls/normaliz enable_normaliz
20632 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20633 wine_fn_config_makefile dlls/npptools enable_npptools
20634 wine_fn_config_makefile dlls/ntdll enable_ntdll
20635 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20636 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20637 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20638 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20639 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20640 wine_fn_config_makefile dlls/ntprint enable_ntprint
20641 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20642 wine_fn_config_makefile dlls/objsel enable_objsel
20643 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20644 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20645 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20646 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20647 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20648 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20649 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20650 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20651 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20652 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20653 wine_fn_config_makefile dlls/ole32 enable_ole32
20654 wine_fn_config_makefile dlls/ole32/tests enable_tests
20655 wine_fn_config_makefile dlls/oleacc enable_oleacc
20656 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20657 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20658 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20659 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20660 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20661 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20662 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20663 wine_fn_config_makefile dlls/oledlg enable_oledlg
20664 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20665 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20666 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20667 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20668 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20669 wine_fn_config_makefile dlls/opcservices enable_opcservices
20670 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20671 wine_fn_config_makefile dlls/openal32 enable_openal32
20672 wine_fn_config_makefile dlls/opencl enable_opencl
20673 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20674 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20675 wine_fn_config_makefile dlls/packager enable_packager
20676 wine_fn_config_makefile dlls/packager/tests enable_tests
20677 wine_fn_config_makefile dlls/pdh enable_pdh
20678 wine_fn_config_makefile dlls/pdh/tests enable_tests
20679 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20680 wine_fn_config_makefile dlls/pidgen enable_pidgen
20681 wine_fn_config_makefile dlls/powrprof enable_powrprof
20682 wine_fn_config_makefile dlls/printui enable_printui
20683 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20684 wine_fn_config_makefile dlls/propsys enable_propsys
20685 wine_fn_config_makefile dlls/propsys/tests enable_tests
20686 wine_fn_config_makefile dlls/psapi enable_psapi
20687 wine_fn_config_makefile dlls/psapi/tests enable_tests
20688 wine_fn_config_makefile dlls/pstorec enable_pstorec
20689 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20690 wine_fn_config_makefile dlls/qcap enable_qcap
20691 wine_fn_config_makefile dlls/qcap/tests enable_tests
20692 wine_fn_config_makefile dlls/qedit enable_qedit
20693 wine_fn_config_makefile dlls/qedit/tests enable_tests
20694 wine_fn_config_makefile dlls/qmgr enable_qmgr
20695 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20696 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20697 wine_fn_config_makefile dlls/quartz enable_quartz
20698 wine_fn_config_makefile dlls/quartz/tests enable_tests
20699 wine_fn_config_makefile dlls/query enable_query
20700 wine_fn_config_makefile dlls/qwave enable_qwave
20701 wine_fn_config_makefile dlls/qwave/tests enable_tests
20702 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20703 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20704 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20705 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20706 wine_fn_config_makefile dlls/regapi enable_regapi
20707 wine_fn_config_makefile dlls/resutils enable_resutils
20708 wine_fn_config_makefile dlls/riched20 enable_riched20
20709 wine_fn_config_makefile dlls/riched20/tests enable_tests
20710 wine_fn_config_makefile dlls/riched32 enable_riched32
20711 wine_fn_config_makefile dlls/riched32/tests enable_tests
20712 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20713 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20714 wine_fn_config_makefile dlls/rsabase enable_rsabase
20715 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20716 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20717 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20718 wine_fn_config_makefile dlls/rtutils enable_rtutils
20719 wine_fn_config_makefile dlls/samlib enable_samlib
20720 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20721 wine_fn_config_makefile dlls/sapi enable_sapi
20722 wine_fn_config_makefile dlls/sapi/tests enable_tests
20723 wine_fn_config_makefile dlls/sas enable_sas
20724 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20725 wine_fn_config_makefile dlls/sccbase enable_sccbase
20726 wine_fn_config_makefile dlls/schannel enable_schannel
20727 wine_fn_config_makefile dlls/schannel/tests enable_tests
20728 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20729 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20730 wine_fn_config_makefile dlls/scrobj enable_scrobj
20731 wine_fn_config_makefile dlls/scrrun enable_scrrun
20732 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20733 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20734 wine_fn_config_makefile dlls/secur32 enable_secur32
20735 wine_fn_config_makefile dlls/secur32/tests enable_tests
20736 wine_fn_config_makefile dlls/security enable_security
20737 wine_fn_config_makefile dlls/sensapi enable_sensapi
20738 wine_fn_config_makefile dlls/serialui enable_serialui
20739 wine_fn_config_makefile dlls/serialui/tests enable_tests
20740 wine_fn_config_makefile dlls/setupapi enable_setupapi
20741 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20742 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20743 wine_fn_config_makefile dlls/sfc enable_sfc
20744 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20745 wine_fn_config_makefile dlls/shcore enable_shcore
20746 wine_fn_config_makefile dlls/shcore/tests enable_tests
20747 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20748 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20749 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20750 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20751 wine_fn_config_makefile dlls/shell32 enable_shell32
20752 wine_fn_config_makefile dlls/shell32/tests enable_tests
20753 wine_fn_config_makefile dlls/shfolder enable_shfolder
20754 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20755 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20756 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20757 wine_fn_config_makefile dlls/slc enable_slc
20758 wine_fn_config_makefile dlls/slc/tests enable_tests
20759 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20760 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20761 wine_fn_config_makefile dlls/softpub enable_softpub
20762 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20763 wine_fn_config_makefile dlls/spoolss enable_spoolss
20764 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20765 wine_fn_config_makefile dlls/srclient enable_srclient
20766 wine_fn_config_makefile dlls/sspicli enable_sspicli
20767 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20768 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20769 wine_fn_config_makefile dlls/sti enable_sti
20770 wine_fn_config_makefile dlls/sti/tests enable_tests
20771 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20772 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20773 wine_fn_config_makefile dlls/strmbase enable_strmbase
20774 wine_fn_config_makefile dlls/strmdll enable_strmdll
20775 wine_fn_config_makefile dlls/strmiids enable_strmiids
20776 wine_fn_config_makefile dlls/svrapi enable_svrapi
20777 wine_fn_config_makefile dlls/sxs enable_sxs
20778 wine_fn_config_makefile dlls/sxs/tests enable_tests
20779 wine_fn_config_makefile dlls/system.drv16 enable_win16
20780 wine_fn_config_makefile dlls/t2embed enable_t2embed
20781 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20782 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20783 wine_fn_config_makefile dlls/taskschd enable_taskschd
20784 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20785 wine_fn_config_makefile dlls/tdh enable_tdh
20786 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20787 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20788 wine_fn_config_makefile dlls/traffic enable_traffic
20789 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20790 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20791 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20792 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20793 wine_fn_config_makefile dlls/tzres enable_tzres
20794 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20795 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20796 wine_fn_config_makefile dlls/uianimation enable_uianimation
20797 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20798 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20799 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20800 wine_fn_config_makefile dlls/unicows enable_unicows
20801 wine_fn_config_makefile dlls/updspapi enable_updspapi
20802 wine_fn_config_makefile dlls/url enable_url
20803 wine_fn_config_makefile dlls/urlmon enable_urlmon
20804 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20805 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20806 wine_fn_config_makefile dlls/user.exe16 enable_win16
20807 wine_fn_config_makefile dlls/user32 enable_user32
20808 wine_fn_config_makefile dlls/user32/tests enable_tests
20809 wine_fn_config_makefile dlls/userenv enable_userenv
20810 wine_fn_config_makefile dlls/userenv/tests enable_tests
20811 wine_fn_config_makefile dlls/usp10 enable_usp10
20812 wine_fn_config_makefile dlls/usp10/tests enable_tests
20813 wine_fn_config_makefile dlls/uuid enable_uuid
20814 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20815 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20816 wine_fn_config_makefile dlls/vbscript enable_vbscript
20817 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20818 wine_fn_config_makefile dlls/vcomp enable_vcomp
20819 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20820 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20821 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20822 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20823 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20824 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20825 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20826 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20827 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20828 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20829 wine_fn_config_makefile dlls/version enable_version
20830 wine_fn_config_makefile dlls/version/tests enable_tests
20831 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20832 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20833 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20834 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20835 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20836 wine_fn_config_makefile dlls/vssapi enable_vssapi
20837 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20838 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20839 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20840 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20841 wine_fn_config_makefile dlls/w32skrnl enable_win16
20842 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20843 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20844 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20845 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20846 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20847 wine_fn_config_makefile dlls/wdscore enable_wdscore
20848 wine_fn_config_makefile dlls/webservices enable_webservices
20849 wine_fn_config_makefile dlls/webservices/tests enable_tests
20850 wine_fn_config_makefile dlls/wer enable_wer
20851 wine_fn_config_makefile dlls/wer/tests enable_tests
20852 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20853 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20854 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20855 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20856 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20857 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20858 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20859 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20860 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20861 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20862 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20863 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20864 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20865 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20866 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20867 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20868 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20869 wine_fn_config_makefile dlls/wined3d enable_wined3d
20870 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20871 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20872 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20873 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20874 wine_fn_config_makefile dlls/winemapi enable_winemapi
20875 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20876 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20877 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20878 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20879 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20880 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20881 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20882 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20883 wine_fn_config_makefile dlls/wing32 enable_wing32
20884 wine_fn_config_makefile dlls/winhttp enable_winhttp
20885 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20886 wine_fn_config_makefile dlls/wininet enable_wininet
20887 wine_fn_config_makefile dlls/wininet/tests enable_tests
20888 wine_fn_config_makefile dlls/winmm enable_winmm
20889 wine_fn_config_makefile dlls/winmm/tests enable_tests
20890 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20891 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20892 wine_fn_config_makefile dlls/winscard enable_winscard
20893 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20894 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20895 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20896 wine_fn_config_makefile dlls/winsta enable_winsta
20897 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20898 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20899 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20900 wine_fn_config_makefile dlls/wintrust enable_wintrust
20901 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20902 wine_fn_config_makefile dlls/winusb enable_winusb
20903 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20904 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20905 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20906 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20907 wine_fn_config_makefile dlls/wmasf enable_wmasf
20908 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20909 wine_fn_config_makefile dlls/wmi enable_wmi
20910 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20911 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20912 wine_fn_config_makefile dlls/wmp enable_wmp
20913 wine_fn_config_makefile dlls/wmp/tests enable_tests
20914 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20915 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20916 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20917 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20918 wine_fn_config_makefile dlls/wow32 enable_win16
20919 wine_fn_config_makefile dlls/wpc enable_wpc
20920 wine_fn_config_makefile dlls/wpc/tests enable_tests
20921 wine_fn_config_makefile dlls/wpcap enable_wpcap
20922 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20923 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20924 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20925 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20926 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20927 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20928 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20929 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20930 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20931 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20932 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20933 wine_fn_config_makefile dlls/wuapi enable_wuapi
20934 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20935 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20936 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20937 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20938 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20939 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20940 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20941 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20942 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20943 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20944 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20945 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20946 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20947 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20948 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20949 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20950 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20951 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20952 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20953 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20954 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20955 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20956 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20957 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20958 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20959 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20960 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20961 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20962 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20963 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20964 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20965 wine_fn_config_makefile dlls/xmllite enable_xmllite
20966 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20967 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20968 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20969 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20970 wine_fn_config_makefile fonts enable_fonts
20971 wine_fn_config_makefile include enable_include
20972 wine_fn_config_makefile libs/port enable_port
20973 wine_fn_config_makefile libs/wine enable_wine
20974 wine_fn_config_makefile libs/wpp enable_wpp
20975 wine_fn_config_makefile loader enable_loader
20976 wine_fn_config_makefile po enable_po
20977 wine_fn_config_makefile programs/arp enable_arp
20978 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20979 wine_fn_config_makefile programs/attrib enable_attrib
20980 wine_fn_config_makefile programs/cabarc enable_cabarc
20981 wine_fn_config_makefile programs/cacls enable_cacls
20982 wine_fn_config_makefile programs/clock enable_clock
20983 wine_fn_config_makefile programs/cmd enable_cmd
20984 wine_fn_config_makefile programs/cmd/tests enable_tests
20985 wine_fn_config_makefile programs/conhost enable_conhost
20986 wine_fn_config_makefile programs/control enable_control
20987 wine_fn_config_makefile programs/cscript enable_cscript
20988 wine_fn_config_makefile programs/dism enable_dism
20989 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20990 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20991 wine_fn_config_makefile programs/eject enable_eject
20992 wine_fn_config_makefile programs/expand enable_expand
20993 wine_fn_config_makefile programs/explorer enable_explorer
20994 wine_fn_config_makefile programs/extrac32 enable_extrac32
20995 wine_fn_config_makefile programs/fc enable_fc
20996 wine_fn_config_makefile programs/find enable_find
20997 wine_fn_config_makefile programs/findstr enable_findstr
20998 wine_fn_config_makefile programs/fsutil enable_fsutil
20999 wine_fn_config_makefile programs/hh enable_hh
21000 wine_fn_config_makefile programs/hostname enable_hostname
21001 wine_fn_config_makefile programs/icacls enable_icacls
21002 wine_fn_config_makefile programs/icinfo enable_icinfo
21003 wine_fn_config_makefile programs/iexplore enable_iexplore
21004 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21005 wine_fn_config_makefile programs/lodctr enable_lodctr
21006 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21007 wine_fn_config_makefile programs/mshta enable_mshta
21008 wine_fn_config_makefile programs/msidb enable_msidb
21009 wine_fn_config_makefile programs/msiexec enable_msiexec
21010 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21011 wine_fn_config_makefile programs/net enable_net
21012 wine_fn_config_makefile programs/netsh enable_netsh
21013 wine_fn_config_makefile programs/netstat enable_netstat
21014 wine_fn_config_makefile programs/ngen enable_ngen
21015 wine_fn_config_makefile programs/notepad enable_notepad
21016 wine_fn_config_makefile programs/oleview enable_oleview
21017 wine_fn_config_makefile programs/ping enable_ping
21018 wine_fn_config_makefile programs/plugplay enable_plugplay
21019 wine_fn_config_makefile programs/powershell enable_powershell
21020 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21021 wine_fn_config_makefile programs/progman enable_progman
21022 wine_fn_config_makefile programs/reg enable_reg
21023 wine_fn_config_makefile programs/reg/tests enable_tests
21024 wine_fn_config_makefile programs/regasm enable_regasm
21025 wine_fn_config_makefile programs/regedit enable_regedit
21026 wine_fn_config_makefile programs/regedit/tests enable_tests
21027 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21028 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21029 wine_fn_config_makefile programs/rpcss enable_rpcss
21030 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21031 wine_fn_config_makefile programs/rundll32 enable_rundll32
21032 wine_fn_config_makefile programs/sc enable_sc
21033 wine_fn_config_makefile programs/schtasks enable_schtasks
21034 wine_fn_config_makefile programs/schtasks/tests enable_tests
21035 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21036 wine_fn_config_makefile programs/secedit enable_secedit
21037 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21038 wine_fn_config_makefile programs/services enable_services
21039 wine_fn_config_makefile programs/services/tests enable_tests
21040 wine_fn_config_makefile programs/shutdown enable_shutdown
21041 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21042 wine_fn_config_makefile programs/start enable_start
21043 wine_fn_config_makefile programs/subst enable_subst
21044 wine_fn_config_makefile programs/svchost enable_svchost
21045 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21046 wine_fn_config_makefile programs/taskkill enable_taskkill
21047 wine_fn_config_makefile programs/tasklist enable_tasklist
21048 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21049 wine_fn_config_makefile programs/termsv enable_termsv
21050 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21051 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21052 wine_fn_config_makefile programs/view enable_view
21053 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21054 wine_fn_config_makefile programs/wineboot enable_wineboot
21055 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21056 wine_fn_config_makefile programs/winecfg enable_winecfg
21057 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21058 wine_fn_config_makefile programs/winedbg enable_winedbg
21059 wine_fn_config_makefile programs/winedevice enable_winedevice
21060 wine_fn_config_makefile programs/winefile enable_winefile
21061 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21062 wine_fn_config_makefile programs/winemine enable_winemine
21063 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21064 wine_fn_config_makefile programs/winepath enable_winepath
21065 wine_fn_config_makefile programs/winetest enable_winetest
21066 wine_fn_config_makefile programs/winevdm enable_win16
21067 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21068 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21069 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21070 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21071 wine_fn_config_makefile programs/winver enable_winver
21072 wine_fn_config_makefile programs/wmic enable_wmic
21073 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21074 wine_fn_config_makefile programs/wordpad enable_wordpad
21075 wine_fn_config_makefile programs/write enable_write
21076 wine_fn_config_makefile programs/wscript enable_wscript
21077 wine_fn_config_makefile programs/wscript/tests enable_tests
21078 wine_fn_config_makefile programs/wusa enable_wusa
21079 wine_fn_config_makefile programs/xcopy enable_xcopy
21080 wine_fn_config_makefile programs/xcopy/tests enable_tests
21081 wine_fn_config_makefile server enable_server
21082 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21083 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21084 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21085 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21086 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21087 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21088 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21089 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21090 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21093 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21094 wine_fn_append_file CONFIGURE_TARGETS "tags"
21095 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21096 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21097 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21098 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21099 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21100 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21102 if test "x$enable_tools" != xno
21103 then
21104 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21105 ac_config_commands="$ac_config_commands tools/makedep"
21109 ac_config_commands="$ac_config_commands Makefile"
21112 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21116 if test "x$enable_maintainer_mode" = xyes
21117 then
21118 wine_fn_append_rule "configure: configure.ac aclocal.m4
21119 autoconf --warnings=all
21120 include/config.h.in: include/stamp-h.in
21121 include/stamp-h.in: configure.ac aclocal.m4
21122 autoheader --warnings=all
21123 @echo timestamp > \$@"
21126 if test "x$enable_tools" != xno
21127 then
21128 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21129 @./config.status tools/makedep
21130 Makefile: tools/makedep$ac_exeext
21131 fonts: tools/sfnt2fon
21132 include: tools tools/widl"
21133 else
21134 wine_fn_append_rule "\$(MAKEDEP):
21135 @echo \"You need to run make in $TOOLSDIR first\" && false"
21138 if test -n "$with_wine64"
21139 then
21140 case "$with_wine64" in
21141 /*) reldir="" ;;
21142 *) reldir="../" ;;
21143 esac
21144 rm -f fonts server 2>/dev/null
21145 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21146 loader/wine64 loader/wine64-preloader:
21147 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21148 $with_wine64/loader/wine:
21149 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21150 $with_wine64/loader/wine-preloader:
21151 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21152 clean::
21153 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21154 else
21155 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21156 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21157 fonts \
21158 loader/l_intl.nls \
21159 loader/wine.inf \
21160 programs/msidb/msidb \
21161 programs/msiexec/msiexec \
21162 programs/notepad/notepad \
21163 programs/regedit/regedit \
21164 programs/regsvr32/regsvr32 \
21165 programs/wineboot/wineboot \
21166 programs/winecfg/winecfg \
21167 programs/wineconsole/wineconsole \
21168 programs/winedbg/winedbg \
21169 programs/winefile/winefile \
21170 programs/winemine/winemine \
21171 programs/winepath/winepath \
21172 server/wineserver"
21174 case $host_os in
21175 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21176 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21177 esac
21180 $as_echo " done" >&6
21181 cat >confcache <<\_ACEOF
21182 # This file is a shell script that caches the results of configure
21183 # tests run on this system so they can be shared between configure
21184 # scripts and configure runs, see configure's option --config-cache.
21185 # It is not useful on other systems. If it contains results you don't
21186 # want to keep, you may remove or edit it.
21188 # config.status only pays attention to the cache file if you give it
21189 # the --recheck option to rerun configure.
21191 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21192 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21193 # following values.
21195 _ACEOF
21197 # The following way of writing the cache mishandles newlines in values,
21198 # but we know of no workaround that is simple, portable, and efficient.
21199 # So, we kill variables containing newlines.
21200 # Ultrix sh set writes to stderr and can't be redirected directly,
21201 # and sets the high bit in the cache file unless we assign to the vars.
21203 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21204 eval ac_val=\$$ac_var
21205 case $ac_val in #(
21206 *${as_nl}*)
21207 case $ac_var in #(
21208 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21209 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21210 esac
21211 case $ac_var in #(
21212 _ | IFS | as_nl) ;; #(
21213 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21214 *) { eval $ac_var=; unset $ac_var;} ;;
21215 esac ;;
21216 esac
21217 done
21219 (set) 2>&1 |
21220 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21221 *${as_nl}ac_space=\ *)
21222 # `set' does not quote correctly, so add quotes: double-quote
21223 # substitution turns \\\\ into \\, and sed turns \\ into \.
21224 sed -n \
21225 "s/'/'\\\\''/g;
21226 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21227 ;; #(
21229 # `set' quotes correctly as required by POSIX, so do not add quotes.
21230 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21232 esac |
21233 sort
21235 sed '
21236 /^ac_cv_env_/b end
21237 t clear
21238 :clear
21239 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21240 t end
21241 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21242 :end' >>confcache
21243 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21244 if test -w "$cache_file"; then
21245 if test "x$cache_file" != "x/dev/null"; then
21246 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21247 $as_echo "$as_me: updating cache $cache_file" >&6;}
21248 if test ! -f "$cache_file" || test -h "$cache_file"; then
21249 cat confcache >"$cache_file"
21250 else
21251 case $cache_file in #(
21252 */* | ?:*)
21253 mv -f confcache "$cache_file"$$ &&
21254 mv -f "$cache_file"$$ "$cache_file" ;; #(
21256 mv -f confcache "$cache_file" ;;
21257 esac
21260 else
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21262 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21265 rm -f confcache
21267 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21268 # Let make expand exec_prefix.
21269 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21271 DEFS=-DHAVE_CONFIG_H
21273 ac_libobjs=
21274 ac_ltlibobjs=
21276 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21277 # 1. Remove the extension, and $U if already installed.
21278 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21279 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21280 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21281 # will be set to the directory where LIBOBJS objects are built.
21282 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21283 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21284 done
21285 LIBOBJS=$ac_libobjs
21287 LTLIBOBJS=$ac_ltlibobjs
21291 : "${CONFIG_STATUS=./config.status}"
21292 ac_write_fail=0
21293 ac_clean_files_save=$ac_clean_files
21294 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21296 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21297 as_write_fail=0
21298 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21299 #! $SHELL
21300 # Generated by $as_me.
21301 # Run this file to recreate the current configuration.
21302 # Compiler output produced by configure, useful for debugging
21303 # configure, is in config.log if it exists.
21305 debug=false
21306 ac_cs_recheck=false
21307 ac_cs_silent=false
21309 SHELL=\${CONFIG_SHELL-$SHELL}
21310 export SHELL
21311 _ASEOF
21312 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21313 ## -------------------- ##
21314 ## M4sh Initialization. ##
21315 ## -------------------- ##
21317 # Be more Bourne compatible
21318 DUALCASE=1; export DUALCASE # for MKS sh
21319 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21320 emulate sh
21321 NULLCMD=:
21322 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21323 # is contrary to our usage. Disable this feature.
21324 alias -g '${1+"$@"}'='"$@"'
21325 setopt NO_GLOB_SUBST
21326 else
21327 case `(set -o) 2>/dev/null` in #(
21328 *posix*) :
21329 set -o posix ;; #(
21330 *) :
21332 esac
21336 as_nl='
21338 export as_nl
21339 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21340 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21341 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21342 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21343 # Prefer a ksh shell builtin over an external printf program on Solaris,
21344 # but without wasting forks for bash or zsh.
21345 if test -z "$BASH_VERSION$ZSH_VERSION" \
21346 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21347 as_echo='print -r --'
21348 as_echo_n='print -rn --'
21349 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21350 as_echo='printf %s\n'
21351 as_echo_n='printf %s'
21352 else
21353 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21354 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21355 as_echo_n='/usr/ucb/echo -n'
21356 else
21357 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21358 as_echo_n_body='eval
21359 arg=$1;
21360 case $arg in #(
21361 *"$as_nl"*)
21362 expr "X$arg" : "X\\(.*\\)$as_nl";
21363 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21364 esac;
21365 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21367 export as_echo_n_body
21368 as_echo_n='sh -c $as_echo_n_body as_echo'
21370 export as_echo_body
21371 as_echo='sh -c $as_echo_body as_echo'
21374 # The user is always right.
21375 if test "${PATH_SEPARATOR+set}" != set; then
21376 PATH_SEPARATOR=:
21377 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21378 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21379 PATH_SEPARATOR=';'
21384 # IFS
21385 # We need space, tab and new line, in precisely that order. Quoting is
21386 # there to prevent editors from complaining about space-tab.
21387 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21388 # splitting by setting IFS to empty value.)
21389 IFS=" "" $as_nl"
21391 # Find who we are. Look in the path if we contain no directory separator.
21392 as_myself=
21393 case $0 in #((
21394 *[\\/]* ) as_myself=$0 ;;
21395 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21396 for as_dir in $PATH
21398 IFS=$as_save_IFS
21399 test -z "$as_dir" && as_dir=.
21400 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21401 done
21402 IFS=$as_save_IFS
21405 esac
21406 # We did not find ourselves, most probably we were run as `sh COMMAND'
21407 # in which case we are not to be found in the path.
21408 if test "x$as_myself" = x; then
21409 as_myself=$0
21411 if test ! -f "$as_myself"; then
21412 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21413 exit 1
21416 # Unset variables that we do not need and which cause bugs (e.g. in
21417 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21418 # suppresses any "Segmentation fault" message there. '((' could
21419 # trigger a bug in pdksh 5.2.14.
21420 for as_var in BASH_ENV ENV MAIL MAILPATH
21421 do eval test x\${$as_var+set} = xset \
21422 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21423 done
21424 PS1='$ '
21425 PS2='> '
21426 PS4='+ '
21428 # NLS nuisances.
21429 LC_ALL=C
21430 export LC_ALL
21431 LANGUAGE=C
21432 export LANGUAGE
21434 # CDPATH.
21435 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21438 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21439 # ----------------------------------------
21440 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21441 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21442 # script with STATUS, using 1 if that was 0.
21443 as_fn_error ()
21445 as_status=$1; test $as_status -eq 0 && as_status=1
21446 if test "$4"; then
21447 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21448 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21450 $as_echo "$as_me: error: $2" >&2
21451 as_fn_exit $as_status
21452 } # as_fn_error
21455 # as_fn_set_status STATUS
21456 # -----------------------
21457 # Set $? to STATUS, without forking.
21458 as_fn_set_status ()
21460 return $1
21461 } # as_fn_set_status
21463 # as_fn_exit STATUS
21464 # -----------------
21465 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21466 as_fn_exit ()
21468 set +e
21469 as_fn_set_status $1
21470 exit $1
21471 } # as_fn_exit
21473 # as_fn_unset VAR
21474 # ---------------
21475 # Portably unset VAR.
21476 as_fn_unset ()
21478 { eval $1=; unset $1;}
21480 as_unset=as_fn_unset
21481 # as_fn_append VAR VALUE
21482 # ----------------------
21483 # Append the text in VALUE to the end of the definition contained in VAR. Take
21484 # advantage of any shell optimizations that allow amortized linear growth over
21485 # repeated appends, instead of the typical quadratic growth present in naive
21486 # implementations.
21487 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21488 eval 'as_fn_append ()
21490 eval $1+=\$2
21492 else
21493 as_fn_append ()
21495 eval $1=\$$1\$2
21497 fi # as_fn_append
21499 # as_fn_arith ARG...
21500 # ------------------
21501 # Perform arithmetic evaluation on the ARGs, and store the result in the
21502 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21503 # must be portable across $(()) and expr.
21504 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21505 eval 'as_fn_arith ()
21507 as_val=$(( $* ))
21509 else
21510 as_fn_arith ()
21512 as_val=`expr "$@" || test $? -eq 1`
21514 fi # as_fn_arith
21517 if expr a : '\(a\)' >/dev/null 2>&1 &&
21518 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21519 as_expr=expr
21520 else
21521 as_expr=false
21524 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21525 as_basename=basename
21526 else
21527 as_basename=false
21530 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21531 as_dirname=dirname
21532 else
21533 as_dirname=false
21536 as_me=`$as_basename -- "$0" ||
21537 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21538 X"$0" : 'X\(//\)$' \| \
21539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21540 $as_echo X/"$0" |
21541 sed '/^.*\/\([^/][^/]*\)\/*$/{
21542 s//\1/
21545 /^X\/\(\/\/\)$/{
21546 s//\1/
21549 /^X\/\(\/\).*/{
21550 s//\1/
21553 s/.*/./; q'`
21555 # Avoid depending upon Character Ranges.
21556 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21557 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21558 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21559 as_cr_digits='0123456789'
21560 as_cr_alnum=$as_cr_Letters$as_cr_digits
21562 ECHO_C= ECHO_N= ECHO_T=
21563 case `echo -n x` in #(((((
21564 -n*)
21565 case `echo 'xy\c'` in
21566 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21567 xy) ECHO_C='\c';;
21568 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21569 ECHO_T=' ';;
21570 esac;;
21572 ECHO_N='-n';;
21573 esac
21575 rm -f conf$$ conf$$.exe conf$$.file
21576 if test -d conf$$.dir; then
21577 rm -f conf$$.dir/conf$$.file
21578 else
21579 rm -f conf$$.dir
21580 mkdir conf$$.dir 2>/dev/null
21582 if (echo >conf$$.file) 2>/dev/null; then
21583 if ln -s conf$$.file conf$$ 2>/dev/null; then
21584 as_ln_s='ln -s'
21585 # ... but there are two gotchas:
21586 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21587 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21588 # In both cases, we have to default to `cp -pR'.
21589 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21590 as_ln_s='cp -pR'
21591 elif ln conf$$.file conf$$ 2>/dev/null; then
21592 as_ln_s=ln
21593 else
21594 as_ln_s='cp -pR'
21596 else
21597 as_ln_s='cp -pR'
21599 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21600 rmdir conf$$.dir 2>/dev/null
21603 # as_fn_mkdir_p
21604 # -------------
21605 # Create "$as_dir" as a directory, including parents if necessary.
21606 as_fn_mkdir_p ()
21609 case $as_dir in #(
21610 -*) as_dir=./$as_dir;;
21611 esac
21612 test -d "$as_dir" || eval $as_mkdir_p || {
21613 as_dirs=
21614 while :; do
21615 case $as_dir in #(
21616 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21617 *) as_qdir=$as_dir;;
21618 esac
21619 as_dirs="'$as_qdir' $as_dirs"
21620 as_dir=`$as_dirname -- "$as_dir" ||
21621 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21622 X"$as_dir" : 'X\(//\)[^/]' \| \
21623 X"$as_dir" : 'X\(//\)$' \| \
21624 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21625 $as_echo X"$as_dir" |
21626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21627 s//\1/
21630 /^X\(\/\/\)[^/].*/{
21631 s//\1/
21634 /^X\(\/\/\)$/{
21635 s//\1/
21638 /^X\(\/\).*/{
21639 s//\1/
21642 s/.*/./; q'`
21643 test -d "$as_dir" && break
21644 done
21645 test -z "$as_dirs" || eval "mkdir $as_dirs"
21646 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21649 } # as_fn_mkdir_p
21650 if mkdir -p . 2>/dev/null; then
21651 as_mkdir_p='mkdir -p "$as_dir"'
21652 else
21653 test -d ./-p && rmdir ./-p
21654 as_mkdir_p=false
21658 # as_fn_executable_p FILE
21659 # -----------------------
21660 # Test if FILE is an executable regular file.
21661 as_fn_executable_p ()
21663 test -f "$1" && test -x "$1"
21664 } # as_fn_executable_p
21665 as_test_x='test -x'
21666 as_executable_p=as_fn_executable_p
21668 # Sed expression to map a string onto a valid CPP name.
21669 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21671 # Sed expression to map a string onto a valid variable name.
21672 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21675 exec 6>&1
21676 ## ----------------------------------- ##
21677 ## Main body of $CONFIG_STATUS script. ##
21678 ## ----------------------------------- ##
21679 _ASEOF
21680 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21683 # Save the log message, to keep $0 and so on meaningful, and to
21684 # report actual input values of CONFIG_FILES etc. instead of their
21685 # values after options handling.
21686 ac_log="
21687 This file was extended by Wine $as_me 4.7, which was
21688 generated by GNU Autoconf 2.69. Invocation command line was
21690 CONFIG_FILES = $CONFIG_FILES
21691 CONFIG_HEADERS = $CONFIG_HEADERS
21692 CONFIG_LINKS = $CONFIG_LINKS
21693 CONFIG_COMMANDS = $CONFIG_COMMANDS
21694 $ $0 $@
21696 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21699 _ACEOF
21701 case $ac_config_files in *"
21702 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21703 esac
21705 case $ac_config_headers in *"
21706 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21707 esac
21710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21711 # Files that config.status was made for.
21712 config_files="$ac_config_files"
21713 config_headers="$ac_config_headers"
21714 config_links="$ac_config_links"
21715 config_commands="$ac_config_commands"
21717 _ACEOF
21719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21720 ac_cs_usage="\
21721 \`$as_me' instantiates files and other configuration actions
21722 from templates according to the current configuration. Unless the files
21723 and actions are specified as TAGs, all are instantiated by default.
21725 Usage: $0 [OPTION]... [TAG]...
21727 -h, --help print this help, then exit
21728 -V, --version print version number and configuration settings, then exit
21729 --config print configuration, then exit
21730 -q, --quiet, --silent
21731 do not print progress messages
21732 -d, --debug don't remove temporary files
21733 --recheck update $as_me by reconfiguring in the same conditions
21734 --file=FILE[:TEMPLATE]
21735 instantiate the configuration file FILE
21736 --header=FILE[:TEMPLATE]
21737 instantiate the configuration header FILE
21739 Configuration files:
21740 $config_files
21742 Configuration headers:
21743 $config_headers
21745 Configuration links:
21746 $config_links
21748 Configuration commands:
21749 $config_commands
21751 Report bugs to <wine-devel@winehq.org>.
21752 Wine home page: <https://www.winehq.org>."
21754 _ACEOF
21755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21756 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21757 ac_cs_version="\\
21758 Wine config.status 4.7
21759 configured by $0, generated by GNU Autoconf 2.69,
21760 with options \\"\$ac_cs_config\\"
21762 Copyright (C) 2012 Free Software Foundation, Inc.
21763 This config.status script is free software; the Free Software Foundation
21764 gives unlimited permission to copy, distribute and modify it."
21766 ac_pwd='$ac_pwd'
21767 srcdir='$srcdir'
21768 test -n "\$AWK" || AWK=awk
21769 _ACEOF
21771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21772 # The default lists apply if the user does not specify any file.
21773 ac_need_defaults=:
21774 while test $# != 0
21776 case $1 in
21777 --*=?*)
21778 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21779 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21780 ac_shift=:
21782 --*=)
21783 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21784 ac_optarg=
21785 ac_shift=:
21788 ac_option=$1
21789 ac_optarg=$2
21790 ac_shift=shift
21792 esac
21794 case $ac_option in
21795 # Handling of the options.
21796 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21797 ac_cs_recheck=: ;;
21798 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21799 $as_echo "$ac_cs_version"; exit ;;
21800 --config | --confi | --conf | --con | --co | --c )
21801 $as_echo "$ac_cs_config"; exit ;;
21802 --debug | --debu | --deb | --de | --d | -d )
21803 debug=: ;;
21804 --file | --fil | --fi | --f )
21805 $ac_shift
21806 case $ac_optarg in
21807 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21808 '') as_fn_error $? "missing file argument" ;;
21809 esac
21810 as_fn_append CONFIG_FILES " '$ac_optarg'"
21811 ac_need_defaults=false;;
21812 --header | --heade | --head | --hea )
21813 $ac_shift
21814 case $ac_optarg in
21815 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21816 esac
21817 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21818 ac_need_defaults=false;;
21819 --he | --h)
21820 # Conflict between --help and --header
21821 as_fn_error $? "ambiguous option: \`$1'
21822 Try \`$0 --help' for more information.";;
21823 --help | --hel | -h )
21824 $as_echo "$ac_cs_usage"; exit ;;
21825 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21826 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21827 ac_cs_silent=: ;;
21829 # This is an error.
21830 -*) as_fn_error $? "unrecognized option: \`$1'
21831 Try \`$0 --help' for more information." ;;
21833 *) as_fn_append ac_config_targets " $1"
21834 ac_need_defaults=false ;;
21836 esac
21837 shift
21838 done
21840 ac_configure_extra_args=
21842 if $ac_cs_silent; then
21843 exec 6>/dev/null
21844 ac_configure_extra_args="$ac_configure_extra_args --silent"
21847 _ACEOF
21848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21849 if \$ac_cs_recheck; then
21850 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21851 shift
21852 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21853 CONFIG_SHELL='$SHELL'
21854 export CONFIG_SHELL
21855 exec "\$@"
21858 _ACEOF
21859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21860 exec 5>>config.log
21862 echo
21863 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21864 ## Running $as_me. ##
21865 _ASBOX
21866 $as_echo "$ac_log"
21867 } >&5
21869 _ACEOF
21870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21872 # INIT-COMMANDS
21874 wine_fn_output_makedep ()
21876 as_dir=tools; as_fn_mkdir_p
21877 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21879 wine_fn_output_makefile ()
21881 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21882 `cat $wine_rules_file`
21883 _WINE_EOF
21884 as_fn_error $? "could not create Makefile" "$LINENO" 5
21887 _ACEOF
21889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21891 # Handling of arguments.
21892 for ac_config_target in $ac_config_targets
21894 case $ac_config_target in
21895 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21896 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21897 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21898 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21899 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21900 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21901 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21902 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21903 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21904 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21905 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21906 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21907 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21909 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21910 esac
21911 done
21914 # If the user did not use the arguments to specify the items to instantiate,
21915 # then the envvar interface is used. Set only those that are not.
21916 # We use the long form for the default assignment because of an extremely
21917 # bizarre bug on SunOS 4.1.3.
21918 if $ac_need_defaults; then
21919 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21920 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21921 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21922 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21925 # Have a temporary directory for convenience. Make it in the build tree
21926 # simply because there is no reason against having it here, and in addition,
21927 # creating and moving files from /tmp can sometimes cause problems.
21928 # Hook for its removal unless debugging.
21929 # Note that there is a small window in which the directory will not be cleaned:
21930 # after its creation but before its name has been assigned to `$tmp'.
21931 $debug ||
21933 tmp= ac_tmp=
21934 trap 'exit_status=$?
21935 : "${ac_tmp:=$tmp}"
21936 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21938 trap 'as_fn_exit 1' 1 2 13 15
21940 # Create a (secure) tmp directory for tmp files.
21943 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21944 test -d "$tmp"
21945 } ||
21947 tmp=./conf$$-$RANDOM
21948 (umask 077 && mkdir "$tmp")
21949 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21950 ac_tmp=$tmp
21952 # Set up the scripts for CONFIG_FILES section.
21953 # No need to generate them if there are no CONFIG_FILES.
21954 # This happens for instance with `./config.status config.h'.
21955 if test -n "$CONFIG_FILES"; then
21958 ac_cr=`echo X | tr X '\015'`
21959 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21960 # But we know of no other shell where ac_cr would be empty at this
21961 # point, so we can use a bashism as a fallback.
21962 if test "x$ac_cr" = x; then
21963 eval ac_cr=\$\'\\r\'
21965 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21966 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21967 ac_cs_awk_cr='\\r'
21968 else
21969 ac_cs_awk_cr=$ac_cr
21972 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21973 _ACEOF
21977 echo "cat >conf$$subs.awk <<_ACEOF" &&
21978 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21979 echo "_ACEOF"
21980 } >conf$$subs.sh ||
21981 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21982 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21983 ac_delim='%!_!# '
21984 for ac_last_try in false false false false false :; do
21985 . ./conf$$subs.sh ||
21986 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21988 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21989 if test $ac_delim_n = $ac_delim_num; then
21990 break
21991 elif $ac_last_try; then
21992 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21993 else
21994 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21996 done
21997 rm -f conf$$subs.sh
21999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22000 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22001 _ACEOF
22002 sed -n '
22004 s/^/S["/; s/!.*/"]=/
22007 s/^[^!]*!//
22008 :repl
22009 t repl
22010 s/'"$ac_delim"'$//
22011 t delim
22014 s/\(.\{148\}\)..*/\1/
22015 t more1
22016 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22019 b repl
22020 :more1
22021 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22024 s/.\{148\}//
22025 t nl
22026 :delim
22028 s/\(.\{148\}\)..*/\1/
22029 t more2
22030 s/["\\]/\\&/g; s/^/"/; s/$/"/
22033 :more2
22034 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22037 s/.\{148\}//
22038 t delim
22039 ' <conf$$subs.awk | sed '
22040 /^[^""]/{
22042 s/\n//
22044 ' >>$CONFIG_STATUS || ac_write_fail=1
22045 rm -f conf$$subs.awk
22046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22047 _ACAWK
22048 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22049 for (key in S) S_is_set[key] = 1
22050 FS = "\a"
22054 line = $ 0
22055 nfields = split(line, field, "@")
22056 substed = 0
22057 len = length(field[1])
22058 for (i = 2; i < nfields; i++) {
22059 key = field[i]
22060 keylen = length(key)
22061 if (S_is_set[key]) {
22062 value = S[key]
22063 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22064 len += length(value) + length(field[++i])
22065 substed = 1
22066 } else
22067 len += 1 + keylen
22070 print line
22073 _ACAWK
22074 _ACEOF
22075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22076 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22077 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22078 else
22080 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22081 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22082 _ACEOF
22084 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22085 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22086 # trailing colons and then remove the whole line if VPATH becomes empty
22087 # (actually we leave an empty line to preserve line numbers).
22088 if test "x$srcdir" = x.; then
22089 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22091 s///
22092 s/^/:/
22093 s/[ ]*$/:/
22094 s/:\$(srcdir):/:/g
22095 s/:\${srcdir}:/:/g
22096 s/:@srcdir@:/:/g
22097 s/^:*//
22098 s/:*$//
22100 s/\(=[ ]*\).*/\1/
22102 s/\n//
22103 s/^[^=]*=[ ]*$//
22107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22108 fi # test -n "$CONFIG_FILES"
22110 # Set up the scripts for CONFIG_HEADERS section.
22111 # No need to generate them if there are no CONFIG_HEADERS.
22112 # This happens for instance with `./config.status Makefile'.
22113 if test -n "$CONFIG_HEADERS"; then
22114 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22115 BEGIN {
22116 _ACEOF
22118 # Transform confdefs.h into an awk script `defines.awk', embedded as
22119 # here-document in config.status, that substitutes the proper values into
22120 # config.h.in to produce config.h.
22122 # Create a delimiter string that does not exist in confdefs.h, to ease
22123 # handling of long lines.
22124 ac_delim='%!_!# '
22125 for ac_last_try in false false :; do
22126 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22127 if test -z "$ac_tt"; then
22128 break
22129 elif $ac_last_try; then
22130 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22131 else
22132 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22134 done
22136 # For the awk script, D is an array of macro values keyed by name,
22137 # likewise P contains macro parameters if any. Preserve backslash
22138 # newline sequences.
22140 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22141 sed -n '
22142 s/.\{148\}/&'"$ac_delim"'/g
22143 t rset
22144 :rset
22145 s/^[ ]*#[ ]*define[ ][ ]*/ /
22146 t def
22148 :def
22149 s/\\$//
22150 t bsnl
22151 s/["\\]/\\&/g
22152 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22153 D["\1"]=" \3"/p
22154 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22156 :bsnl
22157 s/["\\]/\\&/g
22158 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22159 D["\1"]=" \3\\\\\\n"\\/p
22160 t cont
22161 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22162 t cont
22164 :cont
22166 s/.\{148\}/&'"$ac_delim"'/g
22167 t clear
22168 :clear
22169 s/\\$//
22170 t bsnlc
22171 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22173 :bsnlc
22174 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22175 b cont
22176 ' <confdefs.h | sed '
22177 s/'"$ac_delim"'/"\\\
22178 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22181 for (key in D) D_is_set[key] = 1
22182 FS = "\a"
22184 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22185 line = \$ 0
22186 split(line, arg, " ")
22187 if (arg[1] == "#") {
22188 defundef = arg[2]
22189 mac1 = arg[3]
22190 } else {
22191 defundef = substr(arg[1], 2)
22192 mac1 = arg[2]
22194 split(mac1, mac2, "(") #)
22195 macro = mac2[1]
22196 prefix = substr(line, 1, index(line, defundef) - 1)
22197 if (D_is_set[macro]) {
22198 # Preserve the white space surrounding the "#".
22199 print prefix "define", macro P[macro] D[macro]
22200 next
22201 } else {
22202 # Replace #undef with comments. This is necessary, for example,
22203 # in the case of _POSIX_SOURCE, which is predefined and required
22204 # on some systems where configure will not decide to define it.
22205 if (defundef == "undef") {
22206 print "/*", prefix defundef, macro, "*/"
22207 next
22211 { print }
22212 _ACAWK
22213 _ACEOF
22214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22215 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22216 fi # test -n "$CONFIG_HEADERS"
22219 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22220 shift
22221 for ac_tag
22223 case $ac_tag in
22224 :[FHLC]) ac_mode=$ac_tag; continue;;
22225 esac
22226 case $ac_mode$ac_tag in
22227 :[FHL]*:*);;
22228 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22229 :[FH]-) ac_tag=-:-;;
22230 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22231 esac
22232 ac_save_IFS=$IFS
22233 IFS=:
22234 set x $ac_tag
22235 IFS=$ac_save_IFS
22236 shift
22237 ac_file=$1
22238 shift
22240 case $ac_mode in
22241 :L) ac_source=$1;;
22242 :[FH])
22243 ac_file_inputs=
22244 for ac_f
22246 case $ac_f in
22247 -) ac_f="$ac_tmp/stdin";;
22248 *) # Look for the file first in the build tree, then in the source tree
22249 # (if the path is not absolute). The absolute path cannot be DOS-style,
22250 # because $ac_f cannot contain `:'.
22251 test -f "$ac_f" ||
22252 case $ac_f in
22253 [\\/$]*) false;;
22254 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22255 esac ||
22256 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22257 esac
22258 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22259 as_fn_append ac_file_inputs " '$ac_f'"
22260 done
22262 # Let's still pretend it is `configure' which instantiates (i.e., don't
22263 # use $as_me), people would be surprised to read:
22264 # /* config.h. Generated by config.status. */
22265 configure_input='Generated from '`
22266 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22267 `' by configure.'
22268 if test x"$ac_file" != x-; then
22269 configure_input="$ac_file. $configure_input"
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22271 $as_echo "$as_me: creating $ac_file" >&6;}
22273 # Neutralize special characters interpreted by sed in replacement strings.
22274 case $configure_input in #(
22275 *\&* | *\|* | *\\* )
22276 ac_sed_conf_input=`$as_echo "$configure_input" |
22277 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22278 *) ac_sed_conf_input=$configure_input;;
22279 esac
22281 case $ac_tag in
22282 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22283 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22284 esac
22286 esac
22288 ac_dir=`$as_dirname -- "$ac_file" ||
22289 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22290 X"$ac_file" : 'X\(//\)[^/]' \| \
22291 X"$ac_file" : 'X\(//\)$' \| \
22292 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22293 $as_echo X"$ac_file" |
22294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22295 s//\1/
22298 /^X\(\/\/\)[^/].*/{
22299 s//\1/
22302 /^X\(\/\/\)$/{
22303 s//\1/
22306 /^X\(\/\).*/{
22307 s//\1/
22310 s/.*/./; q'`
22311 as_dir="$ac_dir"; as_fn_mkdir_p
22312 ac_builddir=.
22314 case "$ac_dir" in
22315 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22317 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22318 # A ".." for each directory in $ac_dir_suffix.
22319 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22320 case $ac_top_builddir_sub in
22321 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22322 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22323 esac ;;
22324 esac
22325 ac_abs_top_builddir=$ac_pwd
22326 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22327 # for backward compatibility:
22328 ac_top_builddir=$ac_top_build_prefix
22330 case $srcdir in
22331 .) # We are building in place.
22332 ac_srcdir=.
22333 ac_top_srcdir=$ac_top_builddir_sub
22334 ac_abs_top_srcdir=$ac_pwd ;;
22335 [\\/]* | ?:[\\/]* ) # Absolute name.
22336 ac_srcdir=$srcdir$ac_dir_suffix;
22337 ac_top_srcdir=$srcdir
22338 ac_abs_top_srcdir=$srcdir ;;
22339 *) # Relative name.
22340 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22341 ac_top_srcdir=$ac_top_build_prefix$srcdir
22342 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22343 esac
22344 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22347 case $ac_mode in
22350 # CONFIG_FILE
22353 _ACEOF
22355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22356 # If the template does not know about datarootdir, expand it.
22357 # FIXME: This hack should be removed a few years after 2.60.
22358 ac_datarootdir_hack=; ac_datarootdir_seen=
22359 ac_sed_dataroot='
22360 /datarootdir/ {
22364 /@datadir@/p
22365 /@docdir@/p
22366 /@infodir@/p
22367 /@localedir@/p
22368 /@mandir@/p'
22369 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22370 *datarootdir*) ac_datarootdir_seen=yes;;
22371 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22373 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22374 _ACEOF
22375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22376 ac_datarootdir_hack='
22377 s&@datadir@&$datadir&g
22378 s&@docdir@&$docdir&g
22379 s&@infodir@&$infodir&g
22380 s&@localedir@&$localedir&g
22381 s&@mandir@&$mandir&g
22382 s&\\\${datarootdir}&$datarootdir&g' ;;
22383 esac
22384 _ACEOF
22386 # Neutralize VPATH when `$srcdir' = `.'.
22387 # Shell code in configure.ac might set extrasub.
22388 # FIXME: do we really want to maintain this feature?
22389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22390 ac_sed_extra="$ac_vpsub
22391 $extrasub
22392 _ACEOF
22393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22395 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22396 s|@configure_input@|$ac_sed_conf_input|;t t
22397 s&@top_builddir@&$ac_top_builddir_sub&;t t
22398 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22399 s&@srcdir@&$ac_srcdir&;t t
22400 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22401 s&@top_srcdir@&$ac_top_srcdir&;t t
22402 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22403 s&@builddir@&$ac_builddir&;t t
22404 s&@abs_builddir@&$ac_abs_builddir&;t t
22405 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22406 $ac_datarootdir_hack
22408 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22409 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22411 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22412 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22413 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22414 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22416 which seems to be undefined. Please make sure it is defined" >&5
22417 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22418 which seems to be undefined. Please make sure it is defined" >&2;}
22420 rm -f "$ac_tmp/stdin"
22421 case $ac_file in
22422 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22423 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22424 esac \
22425 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22429 # CONFIG_HEADER
22431 if test x"$ac_file" != x-; then
22433 $as_echo "/* $configure_input */" \
22434 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22435 } >"$ac_tmp/config.h" \
22436 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22437 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22438 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22439 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22440 else
22441 rm -f "$ac_file"
22442 mv "$ac_tmp/config.h" "$ac_file" \
22443 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22445 else
22446 $as_echo "/* $configure_input */" \
22447 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22448 || as_fn_error $? "could not create -" "$LINENO" 5
22453 # CONFIG_LINK
22456 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22458 else
22459 # Prefer the file from the source tree if names are identical.
22460 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22461 ac_source=$srcdir/$ac_source
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22465 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22467 if test ! -r "$ac_source"; then
22468 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22470 rm -f "$ac_file"
22472 # Try a relative symlink, then a hard link, then a copy.
22473 case $ac_source in
22474 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22475 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22476 esac
22477 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22478 ln "$ac_source" "$ac_file" 2>/dev/null ||
22479 cp -p "$ac_source" "$ac_file" ||
22480 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22483 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22484 $as_echo "$as_me: executing $ac_file commands" >&6;}
22486 esac
22489 case $ac_file$ac_mode in
22490 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22491 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22492 "Makefile":C) wine_fn_output_makefile Makefile ;;
22494 esac
22495 done # for ac_tag
22498 as_fn_exit 0
22499 _ACEOF
22500 ac_clean_files=$ac_clean_files_save
22502 test $ac_write_fail = 0 ||
22503 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22506 # configure is writing to config.log, and then calls config.status.
22507 # config.status does its own redirection, appending to config.log.
22508 # Unfortunately, on DOS this fails, as config.log is still kept open
22509 # by configure, so config.status won't be able to write to it; its
22510 # output is simply discarded. So we exec the FD to /dev/null,
22511 # effectively closing config.log, so it can be properly (re)opened and
22512 # appended to by config.status. When coming back to configure, we
22513 # need to make the FD available again.
22514 if test "$no_create" != yes; then
22515 ac_cs_success=:
22516 ac_config_status_args=
22517 test "$silent" = yes &&
22518 ac_config_status_args="$ac_config_status_args --quiet"
22519 exec 5>/dev/null
22520 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22521 exec 5>>config.log
22522 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22523 # would make configure fail if this is the last instruction.
22524 $ac_cs_success || as_fn_exit 1
22526 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22528 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22532 if test "$no_create" = "yes"
22533 then
22534 exit 0
22537 ac_save_IFS="$IFS"
22538 if test "x$wine_notices" != x; then
22539 echo >&6
22540 IFS="|"
22541 for msg in $wine_notices; do
22542 IFS="$ac_save_IFS"
22543 if ${msg:+false} :; then :
22545 else
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22547 $as_echo "$as_me: $msg" >&6;}
22549 done
22551 IFS="|"
22552 for msg in $wine_warnings; do
22553 IFS="$ac_save_IFS"
22554 if ${msg:+false} :; then :
22556 else
22557 echo >&2
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22559 $as_echo "$as_me: WARNING: $msg" >&2;}
22561 done
22562 IFS="$ac_save_IFS"
22564 $as_echo "
22565 $as_me: Finished. Do '${ac_make}' to compile Wine.
22566 " >&6