inseng: Build with msvcrt.
[wine.git] / configure
blob29813060063e992654790d3c6825364854630b95
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.9.
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.9'
584 PACKAGE_STRING='Wine 4.9'
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 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_CFLAGS
668 ALSA_LIBS
669 GSTREAMER_LIBS
670 GSTREAMER_CFLAGS
671 PULSE_LIBS
672 PULSE_CFLAGS
673 GETTEXTPO_LIBS
674 Z_LIBS
675 Z_CFLAGS
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 LDDLLFLAGS
747 LDRPATH_LOCAL
748 LDRPATH_INSTALL
749 DLLFLAGS
751 OPENGL_LIBS
752 ICOTOOL
753 CONVERT
754 RSVG
755 FONTFORGE
756 PKG_CONFIG
757 MSGFMT
758 LDCONFIG
759 EGREP
760 GREP
761 LN_S
762 RANLIB
763 STRIP
764 ac_ct_AR
766 BISON
767 FLEX
768 TOOLSDIR
769 TARGETFLAGS
771 CPPBIN
772 ac_ct_CXX
773 CXXFLAGS
775 OBJEXT
776 EXEEXT
777 ac_ct_CC
778 CPPFLAGS
779 LDFLAGS
780 CFLAGS
782 SET_MAKE
783 host_os
784 host_vendor
785 host_cpu
786 host
787 build_os
788 build_vendor
789 build_cpu
790 build
791 target_alias
792 host_alias
793 build_alias
794 LIBS
795 ECHO_T
796 ECHO_N
797 ECHO_C
798 DEFS
799 mandir
800 localedir
801 libdir
802 psdir
803 pdfdir
804 dvidir
805 htmldir
806 infodir
807 docdir
808 oldincludedir
809 includedir
810 runstatedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_win16
834 enable_win64
835 enable_tests
836 enable_maintainer_mode
837 with_alsa
838 with_capi
839 with_cms
840 with_coreaudio
841 with_cups
842 with_curses
843 with_dbus
844 with_faudio
845 with_float_abi
846 with_fontconfig
847 with_freetype
848 with_gettext
849 with_gettextpo
850 with_gphoto
851 with_glu
852 with_gnutls
853 with_gsm
854 with_gssapi
855 with_gstreamer
856 with_hal
857 with_inotify
858 with_jpeg
859 with_krb5
860 with_ldap
861 with_mingw
862 with_mpg123
863 with_netapi
864 with_openal
865 with_opencl
866 with_opengl
867 with_osmesa
868 with_oss
869 with_pcap
870 with_png
871 with_pthread
872 with_pulse
873 with_sane
874 with_sdl
875 with_tiff
876 with_udev
877 with_v4l2
878 with_vkd3d
879 with_vulkan
880 with_xcomposite
881 with_xcursor
882 with_xfixes
883 with_xinerama
884 with_xinput
885 with_xinput2
886 with_xml
887 with_xrandr
888 with_xrender
889 with_xshape
890 with_xshm
891 with_xslt
892 with_xxf86vm
893 with_zlib
894 with_wine_tools
895 with_wine64
896 enable_largefile
897 with_x
898 enable_acledit
899 enable_aclui
900 enable_activeds
901 enable_actxprxy
902 enable_adsiid
903 enable_adsldp
904 enable_adsldpc
905 enable_advapi32
906 enable_advpack
907 enable_amsi
908 enable_amstream
909 enable_api_ms_win_appmodel_identity_l1_1_0
910 enable_api_ms_win_appmodel_runtime_l1_1_1
911 enable_api_ms_win_appmodel_runtime_l1_1_2
912 enable_api_ms_win_core_apiquery_l1_1_0
913 enable_api_ms_win_core_appcompat_l1_1_1
914 enable_api_ms_win_core_appinit_l1_1_0
915 enable_api_ms_win_core_atoms_l1_1_0
916 enable_api_ms_win_core_bem_l1_1_0
917 enable_api_ms_win_core_com_l1_1_0
918 enable_api_ms_win_core_com_l1_1_1
919 enable_api_ms_win_core_com_private_l1_1_0
920 enable_api_ms_win_core_comm_l1_1_0
921 enable_api_ms_win_core_console_l1_1_0
922 enable_api_ms_win_core_console_l2_1_0
923 enable_api_ms_win_core_crt_l1_1_0
924 enable_api_ms_win_core_crt_l2_1_0
925 enable_api_ms_win_core_datetime_l1_1_0
926 enable_api_ms_win_core_datetime_l1_1_1
927 enable_api_ms_win_core_debug_l1_1_0
928 enable_api_ms_win_core_debug_l1_1_1
929 enable_api_ms_win_core_delayload_l1_1_0
930 enable_api_ms_win_core_delayload_l1_1_1
931 enable_api_ms_win_core_errorhandling_l1_1_0
932 enable_api_ms_win_core_errorhandling_l1_1_1
933 enable_api_ms_win_core_errorhandling_l1_1_2
934 enable_api_ms_win_core_errorhandling_l1_1_3
935 enable_api_ms_win_core_fibers_l1_1_0
936 enable_api_ms_win_core_fibers_l1_1_1
937 enable_api_ms_win_core_file_l1_1_0
938 enable_api_ms_win_core_file_l1_2_0
939 enable_api_ms_win_core_file_l1_2_1
940 enable_api_ms_win_core_file_l1_2_2
941 enable_api_ms_win_core_file_l2_1_0
942 enable_api_ms_win_core_file_l2_1_1
943 enable_api_ms_win_core_file_l2_1_2
944 enable_api_ms_win_core_handle_l1_1_0
945 enable_api_ms_win_core_heap_l1_1_0
946 enable_api_ms_win_core_heap_l1_2_0
947 enable_api_ms_win_core_heap_l2_1_0
948 enable_api_ms_win_core_heap_obsolete_l1_1_0
949 enable_api_ms_win_core_interlocked_l1_1_0
950 enable_api_ms_win_core_interlocked_l1_2_0
951 enable_api_ms_win_core_io_l1_1_0
952 enable_api_ms_win_core_io_l1_1_1
953 enable_api_ms_win_core_job_l1_1_0
954 enable_api_ms_win_core_job_l2_1_0
955 enable_api_ms_win_core_kernel32_legacy_l1_1_0
956 enable_api_ms_win_core_kernel32_legacy_l1_1_1
957 enable_api_ms_win_core_kernel32_private_l1_1_1
958 enable_api_ms_win_core_largeinteger_l1_1_0
959 enable_api_ms_win_core_libraryloader_l1_1_0
960 enable_api_ms_win_core_libraryloader_l1_1_1
961 enable_api_ms_win_core_libraryloader_l1_2_0
962 enable_api_ms_win_core_libraryloader_l1_2_1
963 enable_api_ms_win_core_libraryloader_l1_2_2
964 enable_api_ms_win_core_localization_l1_1_0
965 enable_api_ms_win_core_localization_l1_2_0
966 enable_api_ms_win_core_localization_l1_2_1
967 enable_api_ms_win_core_localization_l2_1_0
968 enable_api_ms_win_core_localization_obsolete_l1_1_0
969 enable_api_ms_win_core_localization_obsolete_l1_2_0
970 enable_api_ms_win_core_localization_obsolete_l1_3_0
971 enable_api_ms_win_core_localization_private_l1_1_0
972 enable_api_ms_win_core_localregistry_l1_1_0
973 enable_api_ms_win_core_memory_l1_1_0
974 enable_api_ms_win_core_memory_l1_1_1
975 enable_api_ms_win_core_memory_l1_1_2
976 enable_api_ms_win_core_misc_l1_1_0
977 enable_api_ms_win_core_namedpipe_l1_1_0
978 enable_api_ms_win_core_namedpipe_l1_2_0
979 enable_api_ms_win_core_namespace_l1_1_0
980 enable_api_ms_win_core_normalization_l1_1_0
981 enable_api_ms_win_core_path_l1_1_0
982 enable_api_ms_win_core_privateprofile_l1_1_1
983 enable_api_ms_win_core_processenvironment_l1_1_0
984 enable_api_ms_win_core_processenvironment_l1_2_0
985 enable_api_ms_win_core_processthreads_l1_1_0
986 enable_api_ms_win_core_processthreads_l1_1_1
987 enable_api_ms_win_core_processthreads_l1_1_2
988 enable_api_ms_win_core_processthreads_l1_1_3
989 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
990 enable_api_ms_win_core_profile_l1_1_0
991 enable_api_ms_win_core_psapi_ansi_l1_1_0
992 enable_api_ms_win_core_psapi_l1_1_0
993 enable_api_ms_win_core_psapi_obsolete_l1_1_0
994 enable_api_ms_win_core_quirks_l1_1_0
995 enable_api_ms_win_core_realtime_l1_1_0
996 enable_api_ms_win_core_registry_l1_1_0
997 enable_api_ms_win_core_registry_l2_1_0
998 enable_api_ms_win_core_registryuserspecific_l1_1_0
999 enable_api_ms_win_core_rtlsupport_l1_1_0
1000 enable_api_ms_win_core_rtlsupport_l1_2_0
1001 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1002 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1003 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1004 enable_api_ms_win_core_shutdown_l1_1_0
1005 enable_api_ms_win_core_sidebyside_l1_1_0
1006 enable_api_ms_win_core_string_l1_1_0
1007 enable_api_ms_win_core_string_l2_1_0
1008 enable_api_ms_win_core_string_obsolete_l1_1_0
1009 enable_api_ms_win_core_stringansi_l1_1_0
1010 enable_api_ms_win_core_stringloader_l1_1_1
1011 enable_api_ms_win_core_synch_ansi_l1_1_0
1012 enable_api_ms_win_core_synch_l1_1_0
1013 enable_api_ms_win_core_synch_l1_2_0
1014 enable_api_ms_win_core_synch_l1_2_1
1015 enable_api_ms_win_core_sysinfo_l1_1_0
1016 enable_api_ms_win_core_sysinfo_l1_2_0
1017 enable_api_ms_win_core_sysinfo_l1_2_1
1018 enable_api_ms_win_core_threadpool_l1_1_0
1019 enable_api_ms_win_core_threadpool_l1_2_0
1020 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1021 enable_api_ms_win_core_threadpool_private_l1_1_0
1022 enable_api_ms_win_core_timezone_l1_1_0
1023 enable_api_ms_win_core_toolhelp_l1_1_0
1024 enable_api_ms_win_core_url_l1_1_0
1025 enable_api_ms_win_core_util_l1_1_0
1026 enable_api_ms_win_core_version_l1_1_0
1027 enable_api_ms_win_core_version_l1_1_1
1028 enable_api_ms_win_core_version_private_l1_1_0
1029 enable_api_ms_win_core_versionansi_l1_1_0
1030 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1031 enable_api_ms_win_core_winrt_error_l1_1_0
1032 enable_api_ms_win_core_winrt_error_l1_1_1
1033 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1034 enable_api_ms_win_core_winrt_l1_1_0
1035 enable_api_ms_win_core_winrt_registration_l1_1_0
1036 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1037 enable_api_ms_win_core_winrt_string_l1_1_0
1038 enable_api_ms_win_core_winrt_string_l1_1_1
1039 enable_api_ms_win_core_wow64_l1_1_0
1040 enable_api_ms_win_core_wow64_l1_1_1
1041 enable_api_ms_win_core_xstate_l1_1_0
1042 enable_api_ms_win_core_xstate_l2_1_0
1043 enable_api_ms_win_crt_conio_l1_1_0
1044 enable_api_ms_win_crt_convert_l1_1_0
1045 enable_api_ms_win_crt_environment_l1_1_0
1046 enable_api_ms_win_crt_filesystem_l1_1_0
1047 enable_api_ms_win_crt_heap_l1_1_0
1048 enable_api_ms_win_crt_locale_l1_1_0
1049 enable_api_ms_win_crt_math_l1_1_0
1050 enable_api_ms_win_crt_multibyte_l1_1_0
1051 enable_api_ms_win_crt_private_l1_1_0
1052 enable_api_ms_win_crt_process_l1_1_0
1053 enable_api_ms_win_crt_runtime_l1_1_0
1054 enable_api_ms_win_crt_stdio_l1_1_0
1055 enable_api_ms_win_crt_string_l1_1_0
1056 enable_api_ms_win_crt_time_l1_1_0
1057 enable_api_ms_win_crt_utility_l1_1_0
1058 enable_api_ms_win_devices_config_l1_1_0
1059 enable_api_ms_win_devices_config_l1_1_1
1060 enable_api_ms_win_devices_query_l1_1_1
1061 enable_api_ms_win_downlevel_advapi32_l1_1_0
1062 enable_api_ms_win_downlevel_advapi32_l2_1_0
1063 enable_api_ms_win_downlevel_normaliz_l1_1_0
1064 enable_api_ms_win_downlevel_ole32_l1_1_0
1065 enable_api_ms_win_downlevel_shell32_l1_1_0
1066 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1067 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1068 enable_api_ms_win_downlevel_user32_l1_1_0
1069 enable_api_ms_win_downlevel_version_l1_1_0
1070 enable_api_ms_win_dx_d3dkmt_l1_1_0
1071 enable_api_ms_win_eventing_classicprovider_l1_1_0
1072 enable_api_ms_win_eventing_consumer_l1_1_0
1073 enable_api_ms_win_eventing_controller_l1_1_0
1074 enable_api_ms_win_eventing_legacy_l1_1_0
1075 enable_api_ms_win_eventing_provider_l1_1_0
1076 enable_api_ms_win_eventlog_legacy_l1_1_0
1077 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1078 enable_api_ms_win_mm_joystick_l1_1_0
1079 enable_api_ms_win_mm_misc_l1_1_1
1080 enable_api_ms_win_mm_mme_l1_1_0
1081 enable_api_ms_win_mm_time_l1_1_0
1082 enable_api_ms_win_ntuser_dc_access_l1_1_0
1083 enable_api_ms_win_ntuser_rectangle_l1_1_0
1084 enable_api_ms_win_ntuser_sysparams_l1_1_0
1085 enable_api_ms_win_perf_legacy_l1_1_0
1086 enable_api_ms_win_power_base_l1_1_0
1087 enable_api_ms_win_power_setting_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1090 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1091 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1092 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1093 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1094 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1095 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1096 enable_api_ms_win_security_audit_l1_1_1
1097 enable_api_ms_win_security_base_l1_1_0
1098 enable_api_ms_win_security_base_l1_2_0
1099 enable_api_ms_win_security_base_private_l1_1_1
1100 enable_api_ms_win_security_credentials_l1_1_0
1101 enable_api_ms_win_security_cryptoapi_l1_1_0
1102 enable_api_ms_win_security_grouppolicy_l1_1_0
1103 enable_api_ms_win_security_lsalookup_l1_1_0
1104 enable_api_ms_win_security_lsalookup_l1_1_1
1105 enable_api_ms_win_security_lsalookup_l2_1_0
1106 enable_api_ms_win_security_lsalookup_l2_1_1
1107 enable_api_ms_win_security_lsapolicy_l1_1_0
1108 enable_api_ms_win_security_provider_l1_1_0
1109 enable_api_ms_win_security_sddl_l1_1_0
1110 enable_api_ms_win_security_systemfunctions_l1_1_0
1111 enable_api_ms_win_service_core_l1_1_0
1112 enable_api_ms_win_service_core_l1_1_1
1113 enable_api_ms_win_service_management_l1_1_0
1114 enable_api_ms_win_service_management_l2_1_0
1115 enable_api_ms_win_service_private_l1_1_1
1116 enable_api_ms_win_service_winsvc_l1_1_0
1117 enable_api_ms_win_service_winsvc_l1_2_0
1118 enable_api_ms_win_shcore_obsolete_l1_1_0
1119 enable_api_ms_win_shcore_scaling_l1_1_1
1120 enable_api_ms_win_shcore_stream_l1_1_0
1121 enable_api_ms_win_shcore_thread_l1_1_0
1122 enable_api_ms_win_shell_shellcom_l1_1_0
1123 enable_api_ms_win_shell_shellfolders_l1_1_0
1124 enable_apphelp
1125 enable_appwiz_cpl
1126 enable_atl
1127 enable_atl100
1128 enable_atl110
1129 enable_atl80
1130 enable_atl90
1131 enable_atlthunk
1132 enable_atmlib
1133 enable_authz
1134 enable_avicap32
1135 enable_avifil32
1136 enable_avrt
1137 enable_bcrypt
1138 enable_bluetoothapis
1139 enable_browseui
1140 enable_bthprops_cpl
1141 enable_cabinet
1142 enable_capi2032
1143 enable_cards
1144 enable_cdosys
1145 enable_cfgmgr32
1146 enable_clusapi
1147 enable_combase
1148 enable_comcat
1149 enable_comctl32
1150 enable_comdlg32
1151 enable_compstui
1152 enable_comsvcs
1153 enable_concrt140
1154 enable_connect
1155 enable_credui
1156 enable_crtdll
1157 enable_crypt32
1158 enable_cryptdlg
1159 enable_cryptdll
1160 enable_cryptext
1161 enable_cryptnet
1162 enable_cryptui
1163 enable_ctapi32
1164 enable_ctl3d32
1165 enable_d2d1
1166 enable_d3d10
1167 enable_d3d10_1
1168 enable_d3d10core
1169 enable_d3d11
1170 enable_d3d12
1171 enable_d3d8
1172 enable_d3d9
1173 enable_d3dcompiler_33
1174 enable_d3dcompiler_34
1175 enable_d3dcompiler_35
1176 enable_d3dcompiler_36
1177 enable_d3dcompiler_37
1178 enable_d3dcompiler_38
1179 enable_d3dcompiler_39
1180 enable_d3dcompiler_40
1181 enable_d3dcompiler_41
1182 enable_d3dcompiler_42
1183 enable_d3dcompiler_43
1184 enable_d3dcompiler_46
1185 enable_d3dcompiler_47
1186 enable_d3dim
1187 enable_d3drm
1188 enable_d3dx10_33
1189 enable_d3dx10_34
1190 enable_d3dx10_35
1191 enable_d3dx10_36
1192 enable_d3dx10_37
1193 enable_d3dx10_38
1194 enable_d3dx10_39
1195 enable_d3dx10_40
1196 enable_d3dx10_41
1197 enable_d3dx10_42
1198 enable_d3dx10_43
1199 enable_d3dx11_42
1200 enable_d3dx11_43
1201 enable_d3dx9_24
1202 enable_d3dx9_25
1203 enable_d3dx9_26
1204 enable_d3dx9_27
1205 enable_d3dx9_28
1206 enable_d3dx9_29
1207 enable_d3dx9_30
1208 enable_d3dx9_31
1209 enable_d3dx9_32
1210 enable_d3dx9_33
1211 enable_d3dx9_34
1212 enable_d3dx9_35
1213 enable_d3dx9_36
1214 enable_d3dx9_37
1215 enable_d3dx9_38
1216 enable_d3dx9_39
1217 enable_d3dx9_40
1218 enable_d3dx9_41
1219 enable_d3dx9_42
1220 enable_d3dx9_43
1221 enable_d3dxof
1222 enable_davclnt
1223 enable_dbgeng
1224 enable_dbghelp
1225 enable_dciman32
1226 enable_ddraw
1227 enable_ddrawex
1228 enable_devenum
1229 enable_dhcpcsvc
1230 enable_dhtmled_ocx
1231 enable_difxapi
1232 enable_dinput
1233 enable_dinput8
1234 enable_dispex
1235 enable_dmband
1236 enable_dmcompos
1237 enable_dmime
1238 enable_dmloader
1239 enable_dmoguids
1240 enable_dmscript
1241 enable_dmstyle
1242 enable_dmsynth
1243 enable_dmusic
1244 enable_dmusic32
1245 enable_dnsapi
1246 enable_dplay
1247 enable_dplayx
1248 enable_dpnaddr
1249 enable_dpnet
1250 enable_dpnhpast
1251 enable_dpnlobby
1252 enable_dpvoice
1253 enable_dpwsockx
1254 enable_drmclien
1255 enable_dsound
1256 enable_dsquery
1257 enable_dssenh
1258 enable_dswave
1259 enable_dwmapi
1260 enable_dwrite
1261 enable_dx8vb
1262 enable_dxdiagn
1263 enable_dxerr8
1264 enable_dxerr9
1265 enable_dxgi
1266 enable_dxguid
1267 enable_dxva2
1268 enable_esent
1269 enable_evr
1270 enable_explorerframe
1271 enable_ext_ms_win_authz_context_l1_1_0
1272 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1273 enable_ext_ms_win_dwmapi_ext_l1_1_0
1274 enable_ext_ms_win_gdi_dc_create_l1_1_0
1275 enable_ext_ms_win_gdi_dc_create_l1_1_1
1276 enable_ext_ms_win_gdi_dc_l1_2_0
1277 enable_ext_ms_win_gdi_devcaps_l1_1_0
1278 enable_ext_ms_win_gdi_draw_l1_1_0
1279 enable_ext_ms_win_gdi_draw_l1_1_1
1280 enable_ext_ms_win_gdi_font_l1_1_0
1281 enable_ext_ms_win_gdi_font_l1_1_1
1282 enable_ext_ms_win_gdi_render_l1_1_0
1283 enable_ext_ms_win_kernel32_package_current_l1_1_0
1284 enable_ext_ms_win_kernel32_package_l1_1_1
1285 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1286 enable_ext_ms_win_ntuser_draw_l1_1_0
1287 enable_ext_ms_win_ntuser_gui_l1_1_0
1288 enable_ext_ms_win_ntuser_gui_l1_3_0
1289 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1290 enable_ext_ms_win_ntuser_message_l1_1_0
1291 enable_ext_ms_win_ntuser_message_l1_1_1
1292 enable_ext_ms_win_ntuser_misc_l1_1_0
1293 enable_ext_ms_win_ntuser_misc_l1_2_0
1294 enable_ext_ms_win_ntuser_misc_l1_5_1
1295 enable_ext_ms_win_ntuser_mouse_l1_1_0
1296 enable_ext_ms_win_ntuser_private_l1_1_1
1297 enable_ext_ms_win_ntuser_private_l1_3_1
1298 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1299 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1300 enable_ext_ms_win_ntuser_window_l1_1_0
1301 enable_ext_ms_win_ntuser_window_l1_1_1
1302 enable_ext_ms_win_ntuser_window_l1_1_4
1303 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1304 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1305 enable_ext_ms_win_oleacc_l1_1_0
1306 enable_ext_ms_win_ras_rasapi32_l1_1_0
1307 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1308 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1309 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1310 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1312 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1313 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1314 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1315 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1316 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1317 enable_ext_ms_win_security_credui_l1_1_0
1318 enable_ext_ms_win_security_cryptui_l1_1_0
1319 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1320 enable_ext_ms_win_shell_comdlg32_l1_1_0
1321 enable_ext_ms_win_shell_shell32_l1_2_0
1322 enable_ext_ms_win_uxtheme_themes_l1_1_0
1323 enable_faultrep
1324 enable_feclient
1325 enable_fltlib
1326 enable_fltmgr_sys
1327 enable_fntcache
1328 enable_fontsub
1329 enable_fusion
1330 enable_fwpuclnt
1331 enable_gameux
1332 enable_gdi32
1333 enable_gdiplus
1334 enable_glu32
1335 enable_gphoto2_ds
1336 enable_gpkcsp
1337 enable_hal
1338 enable_hhctrl_ocx
1339 enable_hid
1340 enable_hidclass_sys
1341 enable_hlink
1342 enable_hnetcfg
1343 enable_httpapi
1344 enable_iccvid
1345 enable_icmp
1346 enable_ieframe
1347 enable_ieproxy
1348 enable_imaadp32_acm
1349 enable_imagehlp
1350 enable_imm32
1351 enable_inetcomm
1352 enable_inetcpl_cpl
1353 enable_inetmib1
1354 enable_infosoft
1355 enable_initpki
1356 enable_inkobj
1357 enable_inseng
1358 enable_iphlpapi
1359 enable_iprop
1360 enable_irprops_cpl
1361 enable_itircl
1362 enable_itss
1363 enable_joy_cpl
1364 enable_jscript
1365 enable_jsproxy
1366 enable_kerberos
1367 enable_kernel32
1368 enable_kernelbase
1369 enable_ksecdd_sys
1370 enable_ksuser
1371 enable_ktmw32
1372 enable_l3codeca_acm
1373 enable_loadperf
1374 enable_localspl
1375 enable_localui
1376 enable_lz32
1377 enable_mapi32
1378 enable_mapistub
1379 enable_mciavi32
1380 enable_mcicda
1381 enable_mciqtz32
1382 enable_mciseq
1383 enable_mciwave
1384 enable_mf
1385 enable_mf3216
1386 enable_mferror
1387 enable_mfplat
1388 enable_mfplay
1389 enable_mfreadwrite
1390 enable_mfuuid
1391 enable_mgmtapi
1392 enable_midimap
1393 enable_mlang
1394 enable_mmcndmgr
1395 enable_mmdevapi
1396 enable_mountmgr_sys
1397 enable_mp3dmod
1398 enable_mpr
1399 enable_mprapi
1400 enable_msacm32_drv
1401 enable_msacm32
1402 enable_msadp32_acm
1403 enable_msasn1
1404 enable_mscat32
1405 enable_mscms
1406 enable_mscoree
1407 enable_msctf
1408 enable_msctfp
1409 enable_msdaps
1410 enable_msdelta
1411 enable_msdmo
1412 enable_msdrm
1413 enable_msftedit
1414 enable_msg711_acm
1415 enable_msgsm32_acm
1416 enable_mshtml_tlb
1417 enable_mshtml
1418 enable_msi
1419 enable_msident
1420 enable_msimg32
1421 enable_msimsg
1422 enable_msimtf
1423 enable_msisip
1424 enable_msisys_ocx
1425 enable_msls31
1426 enable_msnet32
1427 enable_mspatcha
1428 enable_msports
1429 enable_msrle32
1430 enable_msscript_ocx
1431 enable_mssign32
1432 enable_mssip32
1433 enable_mstask
1434 enable_msvcirt
1435 enable_msvcm80
1436 enable_msvcm90
1437 enable_msvcp100
1438 enable_msvcp110
1439 enable_msvcp120
1440 enable_msvcp120_app
1441 enable_msvcp140
1442 enable_msvcp60
1443 enable_msvcp70
1444 enable_msvcp71
1445 enable_msvcp80
1446 enable_msvcp90
1447 enable_msvcr100
1448 enable_msvcr110
1449 enable_msvcr120
1450 enable_msvcr120_app
1451 enable_msvcr70
1452 enable_msvcr71
1453 enable_msvcr80
1454 enable_msvcr90
1455 enable_msvcrt
1456 enable_msvcrt20
1457 enable_msvcrt40
1458 enable_msvcrtd
1459 enable_msvfw32
1460 enable_msvidc32
1461 enable_mswsock
1462 enable_msxml
1463 enable_msxml2
1464 enable_msxml3
1465 enable_msxml4
1466 enable_msxml6
1467 enable_mtxdm
1468 enable_ncrypt
1469 enable_nddeapi
1470 enable_ndis_sys
1471 enable_netapi32
1472 enable_netcfgx
1473 enable_netprofm
1474 enable_newdev
1475 enable_ninput
1476 enable_normaliz
1477 enable_npmshtml
1478 enable_npptools
1479 enable_ntdll
1480 enable_ntdsapi
1481 enable_ntoskrnl_exe
1482 enable_ntprint
1483 enable_objsel
1484 enable_odbc32
1485 enable_odbccp32
1486 enable_odbccu32
1487 enable_ole32
1488 enable_oleacc
1489 enable_oleaut32
1490 enable_olecli32
1491 enable_oledb32
1492 enable_oledlg
1493 enable_olepro32
1494 enable_olesvr32
1495 enable_olethk32
1496 enable_opcservices
1497 enable_openal32
1498 enable_opencl
1499 enable_opengl32
1500 enable_packager
1501 enable_pdh
1502 enable_photometadatahandler
1503 enable_pidgen
1504 enable_powrprof
1505 enable_printui
1506 enable_prntvpt
1507 enable_propsys
1508 enable_psapi
1509 enable_pstorec
1510 enable_qcap
1511 enable_qedit
1512 enable_qmgr
1513 enable_qmgrprxy
1514 enable_quartz
1515 enable_query
1516 enable_qwave
1517 enable_rasapi32
1518 enable_rasdlg
1519 enable_regapi
1520 enable_resutils
1521 enable_riched20
1522 enable_riched32
1523 enable_rpcrt4
1524 enable_rsabase
1525 enable_rsaenh
1526 enable_rstrtmgr
1527 enable_rtutils
1528 enable_samlib
1529 enable_sane_ds
1530 enable_sapi
1531 enable_sas
1532 enable_scarddlg
1533 enable_sccbase
1534 enable_schannel
1535 enable_schedsvc
1536 enable_scrobj
1537 enable_scrrun
1538 enable_scsiport_sys
1539 enable_secur32
1540 enable_security
1541 enable_sensapi
1542 enable_serialui
1543 enable_setupapi
1544 enable_sfc
1545 enable_sfc_os
1546 enable_shcore
1547 enable_shdoclc
1548 enable_shdocvw
1549 enable_shell32
1550 enable_shfolder
1551 enable_shlwapi
1552 enable_slbcsp
1553 enable_slc
1554 enable_snmpapi
1555 enable_softpub
1556 enable_spoolss
1557 enable_srclient
1558 enable_sspicli
1559 enable_stdole2_tlb
1560 enable_stdole32_tlb
1561 enable_sti
1562 enable_strmbase
1563 enable_strmdll
1564 enable_strmiids
1565 enable_svrapi
1566 enable_sxs
1567 enable_t2embed
1568 enable_tapi32
1569 enable_taskschd
1570 enable_tdh
1571 enable_tdi_sys
1572 enable_traffic
1573 enable_twain_32
1574 enable_tzres
1575 enable_ucrtbase
1576 enable_uianimation
1577 enable_uiautomationcore
1578 enable_uiribbon
1579 enable_unicows
1580 enable_updspapi
1581 enable_url
1582 enable_urlmon
1583 enable_usbd_sys
1584 enable_user32
1585 enable_userenv
1586 enable_usp10
1587 enable_uuid
1588 enable_uxtheme
1589 enable_vbscript
1590 enable_vcomp
1591 enable_vcomp100
1592 enable_vcomp110
1593 enable_vcomp120
1594 enable_vcomp140
1595 enable_vcomp90
1596 enable_vcruntime140
1597 enable_vdmdbg
1598 enable_version
1599 enable_virtdisk
1600 enable_vssapi
1601 enable_vulkan_1
1602 enable_wbemdisp
1603 enable_wbemprox
1604 enable_wdscore
1605 enable_webservices
1606 enable_wer
1607 enable_wevtapi
1608 enable_wiaservc
1609 enable_wimgapi
1610 enable_windowscodecs
1611 enable_windowscodecsext
1612 enable_winealsa_drv
1613 enable_wineandroid_drv
1614 enable_winebus_sys
1615 enable_winecoreaudio_drv
1616 enable_winecrt0
1617 enable_wined3d
1618 enable_winegstreamer
1619 enable_winehid_sys
1620 enable_winejoystick_drv
1621 enable_winemac_drv
1622 enable_winemapi
1623 enable_wineoss_drv
1624 enable_wineps_drv
1625 enable_winepulse_drv
1626 enable_wineqtdecoder
1627 enable_winevulkan
1628 enable_winex11_drv
1629 enable_wing32
1630 enable_winhttp
1631 enable_wininet
1632 enable_winmm
1633 enable_winnls32
1634 enable_winscard
1635 enable_winspool_drv
1636 enable_winsta
1637 enable_wintab32
1638 enable_wintrust
1639 enable_winusb
1640 enable_wlanapi
1641 enable_wldap32
1642 enable_wmasf
1643 enable_wmcodecdspuuid
1644 enable_wmi
1645 enable_wmiutils
1646 enable_wmp
1647 enable_wmphoto
1648 enable_wmvcore
1649 enable_wnaspi32
1650 enable_wpc
1651 enable_wpcap
1652 enable_ws2_32
1653 enable_wsdapi
1654 enable_wshom_ocx
1655 enable_wsnmp32
1656 enable_wsock32
1657 enable_wtsapi32
1658 enable_wuapi
1659 enable_wuaueng
1660 enable_x3daudio1_0
1661 enable_x3daudio1_1
1662 enable_x3daudio1_2
1663 enable_x3daudio1_3
1664 enable_x3daudio1_4
1665 enable_x3daudio1_5
1666 enable_x3daudio1_6
1667 enable_x3daudio1_7
1668 enable_xapofx1_1
1669 enable_xapofx1_2
1670 enable_xapofx1_3
1671 enable_xapofx1_4
1672 enable_xapofx1_5
1673 enable_xaudio2_0
1674 enable_xaudio2_1
1675 enable_xaudio2_2
1676 enable_xaudio2_3
1677 enable_xaudio2_4
1678 enable_xaudio2_5
1679 enable_xaudio2_6
1680 enable_xaudio2_7
1681 enable_xaudio2_8
1682 enable_xaudio2_9
1683 enable_xinput1_1
1684 enable_xinput1_2
1685 enable_xinput1_3
1686 enable_xinput1_4
1687 enable_xinput9_1_0
1688 enable_xmllite
1689 enable_xolehlp
1690 enable_xpsprint
1691 enable_xpssvcs
1692 enable_fonts
1693 enable_include
1694 enable_port
1695 enable_wine
1696 enable_wpp
1697 enable_loader
1698 enable_po
1699 enable_arp
1700 enable_aspnet_regiis
1701 enable_attrib
1702 enable_cabarc
1703 enable_cacls
1704 enable_clock
1705 enable_cmd
1706 enable_conhost
1707 enable_control
1708 enable_cscript
1709 enable_dism
1710 enable_dpnsvr
1711 enable_dxdiag
1712 enable_eject
1713 enable_expand
1714 enable_explorer
1715 enable_extrac32
1716 enable_fc
1717 enable_find
1718 enable_findstr
1719 enable_fsutil
1720 enable_hh
1721 enable_hostname
1722 enable_icacls
1723 enable_icinfo
1724 enable_iexplore
1725 enable_ipconfig
1726 enable_lodctr
1727 enable_mofcomp
1728 enable_mshta
1729 enable_msidb
1730 enable_msiexec
1731 enable_msinfo32
1732 enable_net
1733 enable_netsh
1734 enable_netstat
1735 enable_ngen
1736 enable_notepad
1737 enable_oleview
1738 enable_ping
1739 enable_plugplay
1740 enable_powershell
1741 enable_presentationfontcache
1742 enable_progman
1743 enable_reg
1744 enable_regasm
1745 enable_regedit
1746 enable_regsvcs
1747 enable_regsvr32
1748 enable_rpcss
1749 enable_rundll32
1750 enable_sc
1751 enable_schtasks
1752 enable_sdbinst
1753 enable_secedit
1754 enable_servicemodelreg
1755 enable_services
1756 enable_shutdown
1757 enable_spoolsv
1758 enable_start
1759 enable_subst
1760 enable_svchost
1761 enable_systeminfo
1762 enable_taskkill
1763 enable_tasklist
1764 enable_taskmgr
1765 enable_termsv
1766 enable_uninstaller
1767 enable_unlodctr
1768 enable_view
1769 enable_wevtutil
1770 enable_wineboot
1771 enable_winebrowser
1772 enable_winecfg
1773 enable_wineconsole
1774 enable_winedbg
1775 enable_winedevice
1776 enable_winefile
1777 enable_winemenubuilder
1778 enable_winemine
1779 enable_winemsibuilder
1780 enable_winepath
1781 enable_winetest
1782 enable_winhlp32
1783 enable_winmgmt
1784 enable_winver
1785 enable_wmic
1786 enable_wmplayer
1787 enable_wordpad
1788 enable_write
1789 enable_wscript
1790 enable_wusa
1791 enable_xcopy
1792 enable_server
1793 enable_tools
1794 enable_sfnt2fon
1795 enable_widl
1796 enable_winebuild
1797 enable_winedump
1798 enable_winegcc
1799 enable_winemaker
1800 enable_wmc
1801 enable_wrc
1803 ac_precious_vars='build_alias
1804 host_alias
1805 target_alias
1807 CFLAGS
1808 LDFLAGS
1809 LIBS
1810 CPPFLAGS
1812 CXXFLAGS
1815 OBJC
1816 OBJCFLAGS
1817 OBJCPP
1818 XMKMF
1819 XML2_CFLAGS
1820 XML2_LIBS
1821 XSLT_CFLAGS
1822 XSLT_LIBS
1823 INOTIFY_CFLAGS
1824 INOTIFY_LIBS
1825 DBUS_CFLAGS
1826 DBUS_LIBS
1827 HAL_CFLAGS
1828 HAL_LIBS
1829 GNUTLS_CFLAGS
1830 GNUTLS_LIBS
1831 SANE_CFLAGS
1832 SANE_LIBS
1833 GPHOTO2_CFLAGS
1834 GPHOTO2_LIBS
1835 GPHOTO2_PORT_CFLAGS
1836 GPHOTO2_PORT_LIBS
1837 LCMS2_CFLAGS
1838 LCMS2_LIBS
1839 FREETYPE_CFLAGS
1840 FREETYPE_LIBS
1841 Z_CFLAGS
1842 Z_LIBS
1843 PULSE_CFLAGS
1844 PULSE_LIBS
1845 GSTREAMER_CFLAGS
1846 GSTREAMER_LIBS
1847 UDEV_CFLAGS
1848 UDEV_LIBS
1849 SDL2_CFLAGS
1850 SDL2_LIBS
1851 FAUDIO_CFLAGS
1852 FAUDIO_LIBS
1853 CAPI20_CFLAGS
1854 CAPI20_LIBS
1855 CUPS_CFLAGS
1856 CUPS_LIBS
1857 FONTCONFIG_CFLAGS
1858 FONTCONFIG_LIBS
1859 KRB5_CFLAGS
1860 KRB5_LIBS
1861 GSSAPI_CFLAGS
1862 GSSAPI_LIBS
1863 JPEG_CFLAGS
1864 JPEG_LIBS
1865 PNG_CFLAGS
1866 PNG_LIBS
1867 TIFF_CFLAGS
1868 TIFF_LIBS
1869 MPG123_CFLAGS
1870 MPG123_LIBS
1871 NETAPI_CFLAGS
1872 NETAPI_LIBS
1873 VKD3D_CFLAGS
1874 VKD3D_LIBS
1875 LDAP_CFLAGS
1876 LDAP_LIBS'
1879 # Initialize some variables set by options.
1880 ac_init_help=
1881 ac_init_version=false
1882 ac_unrecognized_opts=
1883 ac_unrecognized_sep=
1884 # The variables have the same names as the options, with
1885 # dashes changed to underlines.
1886 cache_file=/dev/null
1887 exec_prefix=NONE
1888 no_create=
1889 no_recursion=
1890 prefix=NONE
1891 program_prefix=NONE
1892 program_suffix=NONE
1893 program_transform_name=s,x,x,
1894 silent=
1895 site=
1896 srcdir=
1897 verbose=
1898 x_includes=NONE
1899 x_libraries=NONE
1901 # Installation directory options.
1902 # These are left unexpanded so users can "make install exec_prefix=/foo"
1903 # and all the variables that are supposed to be based on exec_prefix
1904 # by default will actually change.
1905 # Use braces instead of parens because sh, perl, etc. also accept them.
1906 # (The list follows the same order as the GNU Coding Standards.)
1907 bindir='${exec_prefix}/bin'
1908 sbindir='${exec_prefix}/sbin'
1909 libexecdir='${exec_prefix}/libexec'
1910 datarootdir='${prefix}/share'
1911 datadir='${datarootdir}'
1912 sysconfdir='${prefix}/etc'
1913 sharedstatedir='${prefix}/com'
1914 localstatedir='${prefix}/var'
1915 runstatedir='${localstatedir}/run'
1916 includedir='${prefix}/include'
1917 oldincludedir='/usr/include'
1918 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1919 infodir='${datarootdir}/info'
1920 htmldir='${docdir}'
1921 dvidir='${docdir}'
1922 pdfdir='${docdir}'
1923 psdir='${docdir}'
1924 libdir='${exec_prefix}/lib'
1925 localedir='${datarootdir}/locale'
1926 mandir='${datarootdir}/man'
1928 ac_prev=
1929 ac_dashdash=
1930 for ac_option
1932 # If the previous option needs an argument, assign it.
1933 if test -n "$ac_prev"; then
1934 eval $ac_prev=\$ac_option
1935 ac_prev=
1936 continue
1939 case $ac_option in
1940 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1941 *=) ac_optarg= ;;
1942 *) ac_optarg=yes ;;
1943 esac
1945 # Accept the important Cygnus configure options, so we can diagnose typos.
1947 case $ac_dashdash$ac_option in
1949 ac_dashdash=yes ;;
1951 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1952 ac_prev=bindir ;;
1953 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1954 bindir=$ac_optarg ;;
1956 -build | --build | --buil | --bui | --bu)
1957 ac_prev=build_alias ;;
1958 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1959 build_alias=$ac_optarg ;;
1961 -cache-file | --cache-file | --cache-fil | --cache-fi \
1962 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1963 ac_prev=cache_file ;;
1964 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1965 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1966 cache_file=$ac_optarg ;;
1968 --config-cache | -C)
1969 cache_file=config.cache ;;
1971 -datadir | --datadir | --datadi | --datad)
1972 ac_prev=datadir ;;
1973 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1974 datadir=$ac_optarg ;;
1976 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1977 | --dataroo | --dataro | --datar)
1978 ac_prev=datarootdir ;;
1979 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1980 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1981 datarootdir=$ac_optarg ;;
1983 -disable-* | --disable-*)
1984 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1985 # Reject names that are not valid shell variable names.
1986 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1987 as_fn_error $? "invalid feature name: $ac_useropt"
1988 ac_useropt_orig=$ac_useropt
1989 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1990 case $ac_user_opts in
1992 "enable_$ac_useropt"
1993 "*) ;;
1994 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1995 ac_unrecognized_sep=', ';;
1996 esac
1997 eval enable_$ac_useropt=no ;;
1999 -docdir | --docdir | --docdi | --doc | --do)
2000 ac_prev=docdir ;;
2001 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2002 docdir=$ac_optarg ;;
2004 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2005 ac_prev=dvidir ;;
2006 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2007 dvidir=$ac_optarg ;;
2009 -enable-* | --enable-*)
2010 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2011 # Reject names that are not valid shell variable names.
2012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2013 as_fn_error $? "invalid feature name: $ac_useropt"
2014 ac_useropt_orig=$ac_useropt
2015 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2016 case $ac_user_opts in
2018 "enable_$ac_useropt"
2019 "*) ;;
2020 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2021 ac_unrecognized_sep=', ';;
2022 esac
2023 eval enable_$ac_useropt=\$ac_optarg ;;
2025 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2026 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2027 | --exec | --exe | --ex)
2028 ac_prev=exec_prefix ;;
2029 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2030 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2031 | --exec=* | --exe=* | --ex=*)
2032 exec_prefix=$ac_optarg ;;
2034 -gas | --gas | --ga | --g)
2035 # Obsolete; use --with-gas.
2036 with_gas=yes ;;
2038 -help | --help | --hel | --he | -h)
2039 ac_init_help=long ;;
2040 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2041 ac_init_help=recursive ;;
2042 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2043 ac_init_help=short ;;
2045 -host | --host | --hos | --ho)
2046 ac_prev=host_alias ;;
2047 -host=* | --host=* | --hos=* | --ho=*)
2048 host_alias=$ac_optarg ;;
2050 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2051 ac_prev=htmldir ;;
2052 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2053 | --ht=*)
2054 htmldir=$ac_optarg ;;
2056 -includedir | --includedir | --includedi | --included | --include \
2057 | --includ | --inclu | --incl | --inc)
2058 ac_prev=includedir ;;
2059 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2060 | --includ=* | --inclu=* | --incl=* | --inc=*)
2061 includedir=$ac_optarg ;;
2063 -infodir | --infodir | --infodi | --infod | --info | --inf)
2064 ac_prev=infodir ;;
2065 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2066 infodir=$ac_optarg ;;
2068 -libdir | --libdir | --libdi | --libd)
2069 ac_prev=libdir ;;
2070 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2071 libdir=$ac_optarg ;;
2073 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2074 | --libexe | --libex | --libe)
2075 ac_prev=libexecdir ;;
2076 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2077 | --libexe=* | --libex=* | --libe=*)
2078 libexecdir=$ac_optarg ;;
2080 -localedir | --localedir | --localedi | --localed | --locale)
2081 ac_prev=localedir ;;
2082 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2083 localedir=$ac_optarg ;;
2085 -localstatedir | --localstatedir | --localstatedi | --localstated \
2086 | --localstate | --localstat | --localsta | --localst | --locals)
2087 ac_prev=localstatedir ;;
2088 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2089 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2090 localstatedir=$ac_optarg ;;
2092 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2093 ac_prev=mandir ;;
2094 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2095 mandir=$ac_optarg ;;
2097 -nfp | --nfp | --nf)
2098 # Obsolete; use --without-fp.
2099 with_fp=no ;;
2101 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2102 | --no-cr | --no-c | -n)
2103 no_create=yes ;;
2105 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2106 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2107 no_recursion=yes ;;
2109 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2110 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2111 | --oldin | --oldi | --old | --ol | --o)
2112 ac_prev=oldincludedir ;;
2113 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2114 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2115 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2116 oldincludedir=$ac_optarg ;;
2118 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2119 ac_prev=prefix ;;
2120 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2121 prefix=$ac_optarg ;;
2123 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2124 | --program-pre | --program-pr | --program-p)
2125 ac_prev=program_prefix ;;
2126 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2127 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2128 program_prefix=$ac_optarg ;;
2130 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2131 | --program-suf | --program-su | --program-s)
2132 ac_prev=program_suffix ;;
2133 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2134 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2135 program_suffix=$ac_optarg ;;
2137 -program-transform-name | --program-transform-name \
2138 | --program-transform-nam | --program-transform-na \
2139 | --program-transform-n | --program-transform- \
2140 | --program-transform | --program-transfor \
2141 | --program-transfo | --program-transf \
2142 | --program-trans | --program-tran \
2143 | --progr-tra | --program-tr | --program-t)
2144 ac_prev=program_transform_name ;;
2145 -program-transform-name=* | --program-transform-name=* \
2146 | --program-transform-nam=* | --program-transform-na=* \
2147 | --program-transform-n=* | --program-transform-=* \
2148 | --program-transform=* | --program-transfor=* \
2149 | --program-transfo=* | --program-transf=* \
2150 | --program-trans=* | --program-tran=* \
2151 | --progr-tra=* | --program-tr=* | --program-t=*)
2152 program_transform_name=$ac_optarg ;;
2154 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2155 ac_prev=pdfdir ;;
2156 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2157 pdfdir=$ac_optarg ;;
2159 -psdir | --psdir | --psdi | --psd | --ps)
2160 ac_prev=psdir ;;
2161 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2162 psdir=$ac_optarg ;;
2164 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2165 | -silent | --silent | --silen | --sile | --sil)
2166 silent=yes ;;
2168 -runstatedir | --runstatedir | --runstatedi | --runstated \
2169 | --runstate | --runstat | --runsta | --runst | --runs \
2170 | --run | --ru | --r)
2171 ac_prev=runstatedir ;;
2172 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2173 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2174 | --run=* | --ru=* | --r=*)
2175 runstatedir=$ac_optarg ;;
2177 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2178 ac_prev=sbindir ;;
2179 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2180 | --sbi=* | --sb=*)
2181 sbindir=$ac_optarg ;;
2183 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2184 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2185 | --sharedst | --shareds | --shared | --share | --shar \
2186 | --sha | --sh)
2187 ac_prev=sharedstatedir ;;
2188 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2189 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2190 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2191 | --sha=* | --sh=*)
2192 sharedstatedir=$ac_optarg ;;
2194 -site | --site | --sit)
2195 ac_prev=site ;;
2196 -site=* | --site=* | --sit=*)
2197 site=$ac_optarg ;;
2199 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2200 ac_prev=srcdir ;;
2201 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2202 srcdir=$ac_optarg ;;
2204 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2205 | --syscon | --sysco | --sysc | --sys | --sy)
2206 ac_prev=sysconfdir ;;
2207 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2208 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2209 sysconfdir=$ac_optarg ;;
2211 -target | --target | --targe | --targ | --tar | --ta | --t)
2212 ac_prev=target_alias ;;
2213 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2214 target_alias=$ac_optarg ;;
2216 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2217 verbose=yes ;;
2219 -version | --version | --versio | --versi | --vers | -V)
2220 ac_init_version=: ;;
2222 -with-* | --with-*)
2223 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2224 # Reject names that are not valid shell variable names.
2225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2226 as_fn_error $? "invalid package name: $ac_useropt"
2227 ac_useropt_orig=$ac_useropt
2228 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2229 case $ac_user_opts in
2231 "with_$ac_useropt"
2232 "*) ;;
2233 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2234 ac_unrecognized_sep=', ';;
2235 esac
2236 eval with_$ac_useropt=\$ac_optarg ;;
2238 -without-* | --without-*)
2239 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2240 # Reject names that are not valid shell variable names.
2241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2242 as_fn_error $? "invalid package name: $ac_useropt"
2243 ac_useropt_orig=$ac_useropt
2244 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2245 case $ac_user_opts in
2247 "with_$ac_useropt"
2248 "*) ;;
2249 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2250 ac_unrecognized_sep=', ';;
2251 esac
2252 eval with_$ac_useropt=no ;;
2254 --x)
2255 # Obsolete; use --with-x.
2256 with_x=yes ;;
2258 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2259 | --x-incl | --x-inc | --x-in | --x-i)
2260 ac_prev=x_includes ;;
2261 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2262 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2263 x_includes=$ac_optarg ;;
2265 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2266 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2267 ac_prev=x_libraries ;;
2268 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2269 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2270 x_libraries=$ac_optarg ;;
2272 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2273 Try \`$0 --help' for more information"
2276 *=*)
2277 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2278 # Reject names that are not valid shell variable names.
2279 case $ac_envvar in #(
2280 '' | [0-9]* | *[!_$as_cr_alnum]* )
2281 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2282 esac
2283 eval $ac_envvar=\$ac_optarg
2284 export $ac_envvar ;;
2287 # FIXME: should be removed in autoconf 3.0.
2288 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2289 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2290 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2291 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2294 esac
2295 done
2297 if test -n "$ac_prev"; then
2298 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2299 as_fn_error $? "missing argument to $ac_option"
2302 if test -n "$ac_unrecognized_opts"; then
2303 case $enable_option_checking in
2304 no) ;;
2305 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2306 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2307 esac
2310 # Check all directory arguments for consistency.
2311 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2312 datadir sysconfdir sharedstatedir localstatedir includedir \
2313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2314 libdir localedir mandir runstatedir
2316 eval ac_val=\$$ac_var
2317 # Remove trailing slashes.
2318 case $ac_val in
2319 */ )
2320 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2321 eval $ac_var=\$ac_val;;
2322 esac
2323 # Be sure to have absolute directory names.
2324 case $ac_val in
2325 [\\/$]* | ?:[\\/]* ) continue;;
2326 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2327 esac
2328 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2329 done
2331 # There might be people who depend on the old broken behavior: `$host'
2332 # used to hold the argument of --host etc.
2333 # FIXME: To remove some day.
2334 build=$build_alias
2335 host=$host_alias
2336 target=$target_alias
2338 # FIXME: To remove some day.
2339 if test "x$host_alias" != x; then
2340 if test "x$build_alias" = x; then
2341 cross_compiling=maybe
2342 elif test "x$build_alias" != "x$host_alias"; then
2343 cross_compiling=yes
2347 ac_tool_prefix=
2348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2350 test "$silent" = yes && exec 6>/dev/null
2353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2354 ac_ls_di=`ls -di .` &&
2355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2356 as_fn_error $? "working directory cannot be determined"
2357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2358 as_fn_error $? "pwd does not report name of working directory"
2361 # Find the source files, if location was not specified.
2362 if test -z "$srcdir"; then
2363 ac_srcdir_defaulted=yes
2364 # Try the directory containing this script, then the parent directory.
2365 ac_confdir=`$as_dirname -- "$as_myself" ||
2366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2367 X"$as_myself" : 'X\(//\)[^/]' \| \
2368 X"$as_myself" : 'X\(//\)$' \| \
2369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2370 $as_echo X"$as_myself" |
2371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2372 s//\1/
2375 /^X\(\/\/\)[^/].*/{
2376 s//\1/
2379 /^X\(\/\/\)$/{
2380 s//\1/
2383 /^X\(\/\).*/{
2384 s//\1/
2387 s/.*/./; q'`
2388 srcdir=$ac_confdir
2389 if test ! -r "$srcdir/$ac_unique_file"; then
2390 srcdir=..
2392 else
2393 ac_srcdir_defaulted=no
2395 if test ! -r "$srcdir/$ac_unique_file"; then
2396 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2397 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2400 ac_abs_confdir=`(
2401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2402 pwd)`
2403 # When building in place, set srcdir=.
2404 if test "$ac_abs_confdir" = "$ac_pwd"; then
2405 srcdir=.
2407 # Remove unnecessary trailing slashes from srcdir.
2408 # Double slashes in file names in object file debugging info
2409 # mess up M-x gdb in Emacs.
2410 case $srcdir in
2411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2412 esac
2413 for ac_var in $ac_precious_vars; do
2414 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2415 eval ac_env_${ac_var}_value=\$${ac_var}
2416 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2417 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2418 done
2421 # Report the --help message.
2423 if test "$ac_init_help" = "long"; then
2424 # Omit some internal or obsolete options to make the list less imposing.
2425 # This message is too long to be a string in the A/UX 3.1 sh.
2426 cat <<_ACEOF
2427 \`configure' configures Wine 4.9 to adapt to many kinds of systems.
2429 Usage: $0 [OPTION]... [VAR=VALUE]...
2431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2432 VAR=VALUE. See below for descriptions of some of the useful variables.
2434 Defaults for the options are specified in brackets.
2436 Configuration:
2437 -h, --help display this help and exit
2438 --help=short display options specific to this package
2439 --help=recursive display the short help of all the included packages
2440 -V, --version display version information and exit
2441 -q, --quiet, --silent do not print \`checking ...' messages
2442 --cache-file=FILE cache test results in FILE [disabled]
2443 -C, --config-cache alias for \`--cache-file=config.cache'
2444 -n, --no-create do not create output files
2445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2447 Installation directories:
2448 --prefix=PREFIX install architecture-independent files in PREFIX
2449 [$ac_default_prefix]
2450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2451 [PREFIX]
2453 By default, \`make install' will install all the files in
2454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2456 for instance \`--prefix=\$HOME'.
2458 For better control, use the options below.
2460 Fine tuning of the installation directories:
2461 --bindir=DIR user executables [EPREFIX/bin]
2462 --sbindir=DIR system admin executables [EPREFIX/sbin]
2463 --libexecdir=DIR program executables [EPREFIX/libexec]
2464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2467 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2468 --libdir=DIR object code libraries [EPREFIX/lib]
2469 --includedir=DIR C header files [PREFIX/include]
2470 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2471 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2472 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2473 --infodir=DIR info documentation [DATAROOTDIR/info]
2474 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2475 --mandir=DIR man documentation [DATAROOTDIR/man]
2476 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2477 --htmldir=DIR html documentation [DOCDIR]
2478 --dvidir=DIR dvi documentation [DOCDIR]
2479 --pdfdir=DIR pdf documentation [DOCDIR]
2480 --psdir=DIR ps documentation [DOCDIR]
2481 _ACEOF
2483 cat <<\_ACEOF
2485 X features:
2486 --x-includes=DIR X include files are in DIR
2487 --x-libraries=DIR X library files are in DIR
2489 System types:
2490 --build=BUILD configure for building on BUILD [guessed]
2491 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2492 _ACEOF
2495 if test -n "$ac_init_help"; then
2496 case $ac_init_help in
2497 short | recursive ) echo "Configuration of Wine 4.9:";;
2498 esac
2499 cat <<\_ACEOF
2501 Optional Features:
2502 --disable-option-checking ignore unrecognized --enable/--with options
2503 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2504 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2505 --disable-win16 do not include Win16 support
2506 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2507 binaries)
2508 --disable-tests do not build the regression tests
2509 --enable-maintainer-mode
2510 enable maintainer-specific build rules
2511 --disable-largefile omit support for large files
2513 Optional Packages:
2514 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2515 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2516 --without-alsa do not use the Alsa sound support
2517 --without-capi do not use CAPI (ISDN support)
2518 --without-cms do not use CMS (color management support)
2519 --without-coreaudio do not use the CoreAudio sound support
2520 --without-cups do not use CUPS
2521 --without-curses do not use (n)curses
2522 --without-dbus do not use DBus (dynamic device support)
2523 --without-faudio do not use FAudio (XAudio2 support)
2524 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2525 --without-fontconfig do not use fontconfig
2526 --without-freetype do not use the FreeType library
2527 --without-gettext do not use gettext
2528 --with-gettextpo use the GetTextPO library to rebuild po files
2529 --without-gphoto do not use gphoto (Digital Camera support)
2530 --without-glu do not use the GLU library
2531 --without-gnutls do not use GnuTLS (schannel support)
2532 --without-gsm do not use libgsm (GSM 06.10 codec support)
2533 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2534 --without-gstreamer do not use GStreamer (codecs support)
2535 --without-hal do not use HAL (dynamic device support)
2536 --without-inotify do not use inotify (filesystem change notifications)
2537 --without-jpeg do not use JPEG
2538 --without-krb5 do not use krb5 (Kerberos)
2539 --without-ldap do not use LDAP
2540 --without-mingw do not use the MinGW cross-compiler
2541 --without-mpg123 do not use the mpg123 library
2542 --without-netapi do not use the Samba NetAPI library
2543 --without-openal do not use OpenAL
2544 --without-opencl do not use OpenCL
2545 --without-opengl do not use OpenGL
2546 --without-osmesa do not use the OSMesa library
2547 --without-oss do not use the OSS sound support
2548 --without-pcap do not use the Packet Capture library
2549 --without-png do not use PNG
2550 --without-pthread do not use the pthread library
2551 --without-pulse do not use PulseAudio sound support
2552 --without-sane do not use SANE (scanner support)
2553 --without-sdl do not use SDL
2554 --without-tiff do not use TIFF
2555 --without-udev do not use udev (plug and play support)
2556 --without-v4l2 do not use v4l2 (video capture)
2557 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2558 --without-vulkan do not use Vulkan
2559 --without-xcomposite do not use the Xcomposite extension
2560 --without-xcursor do not use the Xcursor extension
2561 --without-xfixes do not use Xfixes for clipboard change notifications
2562 --without-xinerama do not use Xinerama (multi-monitor support)
2563 --without-xinput do not use the Xinput extension
2564 --without-xinput2 do not use the Xinput 2 extension
2565 --without-xml do not use XML
2566 --without-xrandr do not use Xrandr (resolution changes)
2567 --without-xrender do not use the Xrender extension
2568 --without-xshape do not use the Xshape extension
2569 --without-xshm do not use XShm (shared memory extension)
2570 --without-xslt do not use XSLT
2571 --without-xxf86vm do not use XFree video mode extension
2572 --without-zlib do not use Zlib (data compression)
2573 --with-wine-tools=DIR use Wine tools from directory DIR
2574 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2575 --with-x use the X Window System
2577 Some influential environment variables:
2578 CC C compiler command
2579 CFLAGS C compiler flags
2580 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2581 nonstandard directory <lib dir>
2582 LIBS libraries to pass to the linker, e.g. -l<library>
2583 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2584 you have headers in a nonstandard directory <include dir>
2585 CXX C++ compiler command
2586 CXXFLAGS C++ compiler flags
2587 CPP C preprocessor
2588 OBJC Objective C compiler command
2589 OBJCFLAGS Objective C compiler flags
2590 OBJCPP Objective C preprocessor
2591 XMKMF Path to xmkmf, Makefile generator for X Window System
2592 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2593 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2594 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2595 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2596 INOTIFY_CFLAGS
2597 C compiler flags for libinotify, overriding pkg-config
2598 INOTIFY_LIBS
2599 Linker flags for libinotify, overriding pkg-config
2600 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2601 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2602 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2603 HAL_LIBS Linker flags for hal, overriding pkg-config
2604 GNUTLS_CFLAGS
2605 C compiler flags for gnutls, overriding pkg-config
2606 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2607 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2608 SANE_LIBS Linker flags for libsane, overriding pkg-config
2609 GPHOTO2_CFLAGS
2610 C compiler flags for libgphoto2, overriding pkg-config
2611 GPHOTO2_LIBS
2612 Linker flags for libgphoto2, overriding pkg-config
2613 GPHOTO2_PORT_CFLAGS
2614 C compiler flags for libgphoto2_port, overriding pkg-config
2615 GPHOTO2_PORT_LIBS
2616 Linker flags for libgphoto2_port, overriding pkg-config
2617 LCMS2_CFLAGS
2618 C compiler flags for lcms2, overriding pkg-config
2619 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2620 FREETYPE_CFLAGS
2621 C compiler flags for freetype2, overriding pkg-config
2622 FREETYPE_LIBS
2623 Linker flags for freetype2, overriding pkg-config
2624 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2625 Z_LIBS Linker flags for libz, overriding pkg-config
2626 PULSE_CFLAGS
2627 C compiler flags for libpulse, overriding pkg-config
2628 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2629 GSTREAMER_CFLAGS
2630 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2631 gstreamer-audio-1.0, overriding pkg-config
2632 GSTREAMER_LIBS
2633 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2634 gstreamer-audio-1.0, overriding pkg-config
2635 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2636 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2637 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2638 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2639 FAUDIO_CFLAGS
2640 C compiler flags for faudio, overriding pkg-config
2641 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2642 CAPI20_CFLAGS
2643 C compiler flags for capi20, overriding pkg-config
2644 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2645 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2646 CUPS_LIBS Linker flags for cups, overriding pkg-config
2647 FONTCONFIG_CFLAGS
2648 C compiler flags for fontconfig, overriding pkg-config
2649 FONTCONFIG_LIBS
2650 Linker flags for fontconfig, overriding pkg-config
2651 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2652 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2653 GSSAPI_CFLAGS
2654 C compiler flags for krb5-gssapi, overriding pkg-config
2655 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2656 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2657 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2658 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2659 PNG_LIBS Linker flags for libpng, overriding pkg-config
2660 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2661 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2662 MPG123_CFLAGS
2663 C compiler flags for libmpg123, overriding pkg-config
2664 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2665 NETAPI_CFLAGS
2666 C compiler flags for netapi, overriding pkg-config
2667 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2668 VKD3D_CFLAGS
2669 C compiler flags for libvkd3d, overriding pkg-config
2670 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2671 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2672 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2674 Use these variables to override the choices made by `configure' or to help
2675 it to find libraries and programs with nonstandard names/locations.
2677 Report bugs to <wine-devel@winehq.org>.
2678 Wine home page: <https://www.winehq.org>.
2679 _ACEOF
2680 ac_status=$?
2683 if test "$ac_init_help" = "recursive"; then
2684 # If there are subdirs, report their specific --help.
2685 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2686 test -d "$ac_dir" ||
2687 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2688 continue
2689 ac_builddir=.
2691 case "$ac_dir" in
2692 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2694 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2695 # A ".." for each directory in $ac_dir_suffix.
2696 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2697 case $ac_top_builddir_sub in
2698 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2699 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2700 esac ;;
2701 esac
2702 ac_abs_top_builddir=$ac_pwd
2703 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2704 # for backward compatibility:
2705 ac_top_builddir=$ac_top_build_prefix
2707 case $srcdir in
2708 .) # We are building in place.
2709 ac_srcdir=.
2710 ac_top_srcdir=$ac_top_builddir_sub
2711 ac_abs_top_srcdir=$ac_pwd ;;
2712 [\\/]* | ?:[\\/]* ) # Absolute name.
2713 ac_srcdir=$srcdir$ac_dir_suffix;
2714 ac_top_srcdir=$srcdir
2715 ac_abs_top_srcdir=$srcdir ;;
2716 *) # Relative name.
2717 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2718 ac_top_srcdir=$ac_top_build_prefix$srcdir
2719 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2720 esac
2721 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2723 cd "$ac_dir" || { ac_status=$?; continue; }
2724 # Check for guested configure.
2725 if test -f "$ac_srcdir/configure.gnu"; then
2726 echo &&
2727 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2728 elif test -f "$ac_srcdir/configure"; then
2729 echo &&
2730 $SHELL "$ac_srcdir/configure" --help=recursive
2731 else
2732 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2733 fi || ac_status=$?
2734 cd "$ac_pwd" || { ac_status=$?; break; }
2735 done
2738 test -n "$ac_init_help" && exit $ac_status
2739 if $ac_init_version; then
2740 cat <<\_ACEOF
2741 Wine configure 4.9
2742 generated by GNU Autoconf 2.69
2744 Copyright (C) 2012 Free Software Foundation, Inc.
2745 This configure script is free software; the Free Software Foundation
2746 gives unlimited permission to copy, distribute and modify it.
2747 _ACEOF
2748 exit
2751 ## ------------------------ ##
2752 ## Autoconf initialization. ##
2753 ## ------------------------ ##
2755 # ac_fn_c_try_compile LINENO
2756 # --------------------------
2757 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2758 ac_fn_c_try_compile ()
2760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2761 rm -f conftest.$ac_objext
2762 if { { ac_try="$ac_compile"
2763 case "(($ac_try" in
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2766 esac
2767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2768 $as_echo "$ac_try_echo"; } >&5
2769 (eval "$ac_compile") 2>conftest.err
2770 ac_status=$?
2771 if test -s conftest.err; then
2772 grep -v '^ *+' conftest.err >conftest.er1
2773 cat conftest.er1 >&5
2774 mv -f conftest.er1 conftest.err
2776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2777 test $ac_status = 0; } && {
2778 test -z "$ac_c_werror_flag" ||
2779 test ! -s conftest.err
2780 } && test -s conftest.$ac_objext; then :
2781 ac_retval=0
2782 else
2783 $as_echo "$as_me: failed program was:" >&5
2784 sed 's/^/| /' conftest.$ac_ext >&5
2786 ac_retval=1
2788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2789 as_fn_set_status $ac_retval
2791 } # ac_fn_c_try_compile
2793 # ac_fn_cxx_try_compile LINENO
2794 # ----------------------------
2795 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2796 ac_fn_cxx_try_compile ()
2798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2799 rm -f conftest.$ac_objext
2800 if { { ac_try="$ac_compile"
2801 case "(($ac_try" in
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2804 esac
2805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2806 $as_echo "$ac_try_echo"; } >&5
2807 (eval "$ac_compile") 2>conftest.err
2808 ac_status=$?
2809 if test -s conftest.err; then
2810 grep -v '^ *+' conftest.err >conftest.er1
2811 cat conftest.er1 >&5
2812 mv -f conftest.er1 conftest.err
2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2815 test $ac_status = 0; } && {
2816 test -z "$ac_cxx_werror_flag" ||
2817 test ! -s conftest.err
2818 } && test -s conftest.$ac_objext; then :
2819 ac_retval=0
2820 else
2821 $as_echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2824 ac_retval=1
2826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2827 as_fn_set_status $ac_retval
2829 } # ac_fn_cxx_try_compile
2831 # ac_fn_c_try_link LINENO
2832 # -----------------------
2833 # Try to link conftest.$ac_ext, and return whether this succeeded.
2834 ac_fn_c_try_link ()
2836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2837 rm -f conftest.$ac_objext conftest$ac_exeext
2838 if { { ac_try="$ac_link"
2839 case "(($ac_try" in
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2842 esac
2843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844 $as_echo "$ac_try_echo"; } >&5
2845 (eval "$ac_link") 2>conftest.err
2846 ac_status=$?
2847 if test -s conftest.err; then
2848 grep -v '^ *+' conftest.err >conftest.er1
2849 cat conftest.er1 >&5
2850 mv -f conftest.er1 conftest.err
2852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2853 test $ac_status = 0; } && {
2854 test -z "$ac_c_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest$ac_exeext && {
2857 test "$cross_compiling" = yes ||
2858 test -x conftest$ac_exeext
2859 }; then :
2860 ac_retval=0
2861 else
2862 $as_echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.$ac_ext >&5
2865 ac_retval=1
2867 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2868 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2869 # interfere with the next link command; also delete a directory that is
2870 # left behind by Apple's compiler. We do this before executing the actions.
2871 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2873 as_fn_set_status $ac_retval
2875 } # ac_fn_c_try_link
2877 # ac_fn_c_try_cpp LINENO
2878 # ----------------------
2879 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2880 ac_fn_c_try_cpp ()
2882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2883 if { { ac_try="$ac_cpp conftest.$ac_ext"
2884 case "(($ac_try" in
2885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2887 esac
2888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889 $as_echo "$ac_try_echo"; } >&5
2890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2891 ac_status=$?
2892 if test -s conftest.err; then
2893 grep -v '^ *+' conftest.err >conftest.er1
2894 cat conftest.er1 >&5
2895 mv -f conftest.er1 conftest.err
2897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2898 test $ac_status = 0; } > conftest.i && {
2899 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2900 test ! -s conftest.err
2901 }; then :
2902 ac_retval=0
2903 else
2904 $as_echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2907 ac_retval=1
2909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2910 as_fn_set_status $ac_retval
2912 } # ac_fn_c_try_cpp
2914 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2915 # -------------------------------------------------------
2916 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2917 # the include files in INCLUDES and setting the cache variable VAR
2918 # accordingly.
2919 ac_fn_c_check_header_mongrel ()
2921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2922 if eval \${$3+:} false; then :
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2924 $as_echo_n "checking for $2... " >&6; }
2925 if eval \${$3+:} false; then :
2926 $as_echo_n "(cached) " >&6
2928 eval ac_res=\$$3
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2930 $as_echo "$ac_res" >&6; }
2931 else
2932 # Is the header compilable?
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2934 $as_echo_n "checking $2 usability... " >&6; }
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2938 #include <$2>
2939 _ACEOF
2940 if ac_fn_c_try_compile "$LINENO"; then :
2941 ac_header_compiler=yes
2942 else
2943 ac_header_compiler=no
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2947 $as_echo "$ac_header_compiler" >&6; }
2949 # Is the header present?
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2951 $as_echo_n "checking $2 presence... " >&6; }
2952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2953 /* end confdefs.h. */
2954 #include <$2>
2955 _ACEOF
2956 if ac_fn_c_try_cpp "$LINENO"; then :
2957 ac_header_preproc=yes
2958 else
2959 ac_header_preproc=no
2961 rm -f conftest.err conftest.i conftest.$ac_ext
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2963 $as_echo "$ac_header_preproc" >&6; }
2965 # So? What about this header?
2966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2967 yes:no: )
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2969 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2971 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2973 no:yes:* )
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2975 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2977 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2979 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2981 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2983 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2984 ( $as_echo "## ------------------------------------ ##
2985 ## Report this to wine-devel@winehq.org ##
2986 ## ------------------------------------ ##"
2987 ) | sed "s/^/$as_me: WARNING: /" >&2
2989 esac
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2991 $as_echo_n "checking for $2... " >&6; }
2992 if eval \${$3+:} false; then :
2993 $as_echo_n "(cached) " >&6
2994 else
2995 eval "$3=\$ac_header_compiler"
2997 eval ac_res=\$$3
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2999 $as_echo "$ac_res" >&6; }
3001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3003 } # ac_fn_c_check_header_mongrel
3005 # ac_fn_c_try_run LINENO
3006 # ----------------------
3007 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3008 # that executables *can* be run.
3009 ac_fn_c_try_run ()
3011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3012 if { { ac_try="$ac_link"
3013 case "(($ac_try" in
3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;;
3016 esac
3017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3018 $as_echo "$ac_try_echo"; } >&5
3019 (eval "$ac_link") 2>&5
3020 ac_status=$?
3021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3022 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3023 { { case "(($ac_try" in
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3026 esac
3027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3028 $as_echo "$ac_try_echo"; } >&5
3029 (eval "$ac_try") 2>&5
3030 ac_status=$?
3031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3032 test $ac_status = 0; }; }; then :
3033 ac_retval=0
3034 else
3035 $as_echo "$as_me: program exited with status $ac_status" >&5
3036 $as_echo "$as_me: failed program was:" >&5
3037 sed 's/^/| /' conftest.$ac_ext >&5
3039 ac_retval=$ac_status
3041 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3043 as_fn_set_status $ac_retval
3045 } # ac_fn_c_try_run
3047 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3048 # -------------------------------------------------------
3049 # Tests whether HEADER exists and can be compiled using the include files in
3050 # INCLUDES, setting the cache variable VAR accordingly.
3051 ac_fn_c_check_header_compile ()
3053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3055 $as_echo_n "checking for $2... " >&6; }
3056 if eval \${$3+:} false; then :
3057 $as_echo_n "(cached) " >&6
3058 else
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3062 #include <$2>
3063 _ACEOF
3064 if ac_fn_c_try_compile "$LINENO"; then :
3065 eval "$3=yes"
3066 else
3067 eval "$3=no"
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 eval ac_res=\$$3
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3073 $as_echo "$ac_res" >&6; }
3074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3076 } # ac_fn_c_check_header_compile
3078 # ac_fn_objc_try_compile LINENO
3079 # -----------------------------
3080 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3081 ac_fn_objc_try_compile ()
3083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3084 rm -f conftest.$ac_objext
3085 if { { ac_try="$ac_compile"
3086 case "(($ac_try" in
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3089 esac
3090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3091 $as_echo "$ac_try_echo"; } >&5
3092 (eval "$ac_compile") 2>conftest.err
3093 ac_status=$?
3094 if test -s conftest.err; then
3095 grep -v '^ *+' conftest.err >conftest.er1
3096 cat conftest.er1 >&5
3097 mv -f conftest.er1 conftest.err
3099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3100 test $ac_status = 0; } && {
3101 test -z "$ac_objc_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then :
3104 ac_retval=0
3105 else
3106 $as_echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3109 ac_retval=1
3111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3112 as_fn_set_status $ac_retval
3114 } # ac_fn_objc_try_compile
3116 # ac_fn_objc_try_cpp LINENO
3117 # -------------------------
3118 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3119 ac_fn_objc_try_cpp ()
3121 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3122 if { { ac_try="$ac_cpp conftest.$ac_ext"
3123 case "(($ac_try" in
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3126 esac
3127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3128 $as_echo "$ac_try_echo"; } >&5
3129 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3130 ac_status=$?
3131 if test -s conftest.err; then
3132 grep -v '^ *+' conftest.err >conftest.er1
3133 cat conftest.er1 >&5
3134 mv -f conftest.er1 conftest.err
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; } > conftest.i && {
3138 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3139 test ! -s conftest.err
3140 }; then :
3141 ac_retval=0
3142 else
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 ac_retval=1
3148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3149 as_fn_set_status $ac_retval
3151 } # ac_fn_objc_try_cpp
3153 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3154 # ----------------------------------------------------------
3155 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3156 # the include files in INCLUDES and setting the cache variable VAR
3157 # accordingly.
3158 ac_fn_objc_check_header_mongrel ()
3160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3161 if eval \${$3+:} false; then :
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3163 $as_echo_n "checking for $2... " >&6; }
3164 if eval \${$3+:} false; then :
3165 $as_echo_n "(cached) " >&6
3167 eval ac_res=\$$3
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3169 $as_echo "$ac_res" >&6; }
3170 else
3171 # Is the header compilable?
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3173 $as_echo_n "checking $2 usability... " >&6; }
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3177 #include <$2>
3178 _ACEOF
3179 if ac_fn_objc_try_compile "$LINENO"; then :
3180 ac_header_compiler=yes
3181 else
3182 ac_header_compiler=no
3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3186 $as_echo "$ac_header_compiler" >&6; }
3188 # Is the header present?
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3190 $as_echo_n "checking $2 presence... " >&6; }
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3193 #include <$2>
3194 _ACEOF
3195 if ac_fn_objc_try_cpp "$LINENO"; then :
3196 ac_header_preproc=yes
3197 else
3198 ac_header_preproc=no
3200 rm -f conftest.err conftest.i conftest.$ac_ext
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3202 $as_echo "$ac_header_preproc" >&6; }
3204 # So? What about this header?
3205 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3206 yes:no: )
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3208 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3210 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3212 no:yes:* )
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3214 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3216 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3218 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3220 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3222 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3223 ( $as_echo "## ------------------------------------ ##
3224 ## Report this to wine-devel@winehq.org ##
3225 ## ------------------------------------ ##"
3226 ) | sed "s/^/$as_me: WARNING: /" >&2
3228 esac
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3230 $as_echo_n "checking for $2... " >&6; }
3231 if eval \${$3+:} false; then :
3232 $as_echo_n "(cached) " >&6
3233 else
3234 eval "$3=\$ac_header_compiler"
3236 eval ac_res=\$$3
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3238 $as_echo "$ac_res" >&6; }
3240 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3242 } # ac_fn_objc_check_header_mongrel
3244 # ac_fn_c_check_func LINENO FUNC VAR
3245 # ----------------------------------
3246 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3247 ac_fn_c_check_func ()
3249 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3251 $as_echo_n "checking for $2... " >&6; }
3252 if eval \${$3+:} false; then :
3253 $as_echo_n "(cached) " >&6
3254 else
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3257 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3259 #define $2 innocuous_$2
3261 /* System header to define __stub macros and hopefully few prototypes,
3262 which can conflict with char $2 (); below.
3263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3264 <limits.h> exists even on freestanding compilers. */
3266 #ifdef __STDC__
3267 # include <limits.h>
3268 #else
3269 # include <assert.h>
3270 #endif
3272 #undef $2
3274 /* Override any GCC internal prototype to avoid an error.
3275 Use char because int might match the return type of a GCC
3276 builtin and then its argument prototype would still apply. */
3277 #ifdef __cplusplus
3278 extern "C"
3279 #endif
3280 char $2 ();
3281 /* The GNU C library defines this for functions which it implements
3282 to always fail with ENOSYS. Some functions are actually named
3283 something starting with __ and the normal name is an alias. */
3284 #if defined __stub_$2 || defined __stub___$2
3285 choke me
3286 #endif
3289 main ()
3291 return $2 ();
3293 return 0;
3295 _ACEOF
3296 if ac_fn_c_try_link "$LINENO"; then :
3297 eval "$3=yes"
3298 else
3299 eval "$3=no"
3301 rm -f core conftest.err conftest.$ac_objext \
3302 conftest$ac_exeext conftest.$ac_ext
3304 eval ac_res=\$$3
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3306 $as_echo "$ac_res" >&6; }
3307 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3309 } # ac_fn_c_check_func
3311 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3312 # ----------------------------------------------------
3313 # Tries to find if the field MEMBER exists in type AGGR, after including
3314 # INCLUDES, setting cache variable VAR accordingly.
3315 ac_fn_c_check_member ()
3317 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3319 $as_echo_n "checking for $2.$3... " >&6; }
3320 if eval \${$4+:} false; then :
3321 $as_echo_n "(cached) " >&6
3322 else
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3327 main ()
3329 static $2 ac_aggr;
3330 if (ac_aggr.$3)
3331 return 0;
3333 return 0;
3335 _ACEOF
3336 if ac_fn_c_try_compile "$LINENO"; then :
3337 eval "$4=yes"
3338 else
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3343 main ()
3345 static $2 ac_aggr;
3346 if (sizeof ac_aggr.$3)
3347 return 0;
3349 return 0;
3351 _ACEOF
3352 if ac_fn_c_try_compile "$LINENO"; then :
3353 eval "$4=yes"
3354 else
3355 eval "$4=no"
3357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 eval ac_res=\$$4
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3363 $as_echo "$ac_res" >&6; }
3364 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3366 } # ac_fn_c_check_member
3368 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3369 # -------------------------------------------
3370 # Tests whether TYPE exists after having included INCLUDES, setting cache
3371 # variable VAR accordingly.
3372 ac_fn_c_check_type ()
3374 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3376 $as_echo_n "checking for $2... " >&6; }
3377 if eval \${$3+:} false; then :
3378 $as_echo_n "(cached) " >&6
3379 else
3380 eval "$3=no"
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3385 main ()
3387 if (sizeof ($2))
3388 return 0;
3390 return 0;
3392 _ACEOF
3393 if ac_fn_c_try_compile "$LINENO"; then :
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3398 main ()
3400 if (sizeof (($2)))
3401 return 0;
3403 return 0;
3405 _ACEOF
3406 if ac_fn_c_try_compile "$LINENO"; then :
3408 else
3409 eval "$3=yes"
3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3415 eval ac_res=\$$3
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3417 $as_echo "$ac_res" >&6; }
3418 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3420 } # ac_fn_c_check_type
3421 cat >config.log <<_ACEOF
3422 This file contains any messages produced by compilers while
3423 running configure, to aid debugging if configure makes a mistake.
3425 It was created by Wine $as_me 4.9, which was
3426 generated by GNU Autoconf 2.69. Invocation command line was
3428 $ $0 $@
3430 _ACEOF
3431 exec 5>>config.log
3433 cat <<_ASUNAME
3434 ## --------- ##
3435 ## Platform. ##
3436 ## --------- ##
3438 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3439 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3440 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3441 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3442 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3444 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3445 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3447 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3448 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3449 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3450 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3451 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3452 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3453 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3455 _ASUNAME
3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458 for as_dir in $PATH
3460 IFS=$as_save_IFS
3461 test -z "$as_dir" && as_dir=.
3462 $as_echo "PATH: $as_dir"
3463 done
3464 IFS=$as_save_IFS
3466 } >&5
3468 cat >&5 <<_ACEOF
3471 ## ----------- ##
3472 ## Core tests. ##
3473 ## ----------- ##
3475 _ACEOF
3478 # Keep a trace of the command line.
3479 # Strip out --no-create and --no-recursion so they do not pile up.
3480 # Strip out --silent because we don't want to record it for future runs.
3481 # Also quote any args containing shell meta-characters.
3482 # Make two passes to allow for proper duplicate-argument suppression.
3483 ac_configure_args=
3484 ac_configure_args0=
3485 ac_configure_args1=
3486 ac_must_keep_next=false
3487 for ac_pass in 1 2
3489 for ac_arg
3491 case $ac_arg in
3492 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3493 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3494 | -silent | --silent | --silen | --sile | --sil)
3495 continue ;;
3496 *\'*)
3497 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3498 esac
3499 case $ac_pass in
3500 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3502 as_fn_append ac_configure_args1 " '$ac_arg'"
3503 if test $ac_must_keep_next = true; then
3504 ac_must_keep_next=false # Got value, back to normal.
3505 else
3506 case $ac_arg in
3507 *=* | --config-cache | -C | -disable-* | --disable-* \
3508 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3509 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3510 | -with-* | --with-* | -without-* | --without-* | --x)
3511 case "$ac_configure_args0 " in
3512 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3513 esac
3515 -* ) ac_must_keep_next=true ;;
3516 esac
3518 as_fn_append ac_configure_args " '$ac_arg'"
3520 esac
3521 done
3522 done
3523 { ac_configure_args0=; unset ac_configure_args0;}
3524 { ac_configure_args1=; unset ac_configure_args1;}
3526 # When interrupted or exit'd, cleanup temporary files, and complete
3527 # config.log. We remove comments because anyway the quotes in there
3528 # would cause problems or look ugly.
3529 # WARNING: Use '\'' to represent an apostrophe within the trap.
3530 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3531 trap 'exit_status=$?
3532 # Save into config.log some information that might help in debugging.
3534 echo
3536 $as_echo "## ---------------- ##
3537 ## Cache variables. ##
3538 ## ---------------- ##"
3539 echo
3540 # The following way of writing the cache mishandles newlines in values,
3542 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3543 eval ac_val=\$$ac_var
3544 case $ac_val in #(
3545 *${as_nl}*)
3546 case $ac_var in #(
3547 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3548 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3549 esac
3550 case $ac_var in #(
3551 _ | IFS | as_nl) ;; #(
3552 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3553 *) { eval $ac_var=; unset $ac_var;} ;;
3554 esac ;;
3555 esac
3556 done
3557 (set) 2>&1 |
3558 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3559 *${as_nl}ac_space=\ *)
3560 sed -n \
3561 "s/'\''/'\''\\\\'\'''\''/g;
3562 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3563 ;; #(
3565 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3567 esac |
3568 sort
3570 echo
3572 $as_echo "## ----------------- ##
3573 ## Output variables. ##
3574 ## ----------------- ##"
3575 echo
3576 for ac_var in $ac_subst_vars
3578 eval ac_val=\$$ac_var
3579 case $ac_val in
3580 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3581 esac
3582 $as_echo "$ac_var='\''$ac_val'\''"
3583 done | sort
3584 echo
3586 if test -n "$ac_subst_files"; then
3587 $as_echo "## ------------------- ##
3588 ## File substitutions. ##
3589 ## ------------------- ##"
3590 echo
3591 for ac_var in $ac_subst_files
3593 eval ac_val=\$$ac_var
3594 case $ac_val in
3595 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3596 esac
3597 $as_echo "$ac_var='\''$ac_val'\''"
3598 done | sort
3599 echo
3602 if test -s confdefs.h; then
3603 $as_echo "## ----------- ##
3604 ## confdefs.h. ##
3605 ## ----------- ##"
3606 echo
3607 cat confdefs.h
3608 echo
3610 test "$ac_signal" != 0 &&
3611 $as_echo "$as_me: caught signal $ac_signal"
3612 $as_echo "$as_me: exit $exit_status"
3613 } >&5
3614 rm -f core *.core core.conftest.* &&
3615 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3616 exit $exit_status
3618 for ac_signal in 1 2 13 15; do
3619 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3620 done
3621 ac_signal=0
3623 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3624 rm -f -r conftest* confdefs.h
3626 $as_echo "/* confdefs.h */" > confdefs.h
3628 # Predefined preprocessor variables.
3630 cat >>confdefs.h <<_ACEOF
3631 #define PACKAGE_NAME "$PACKAGE_NAME"
3632 _ACEOF
3634 cat >>confdefs.h <<_ACEOF
3635 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3636 _ACEOF
3638 cat >>confdefs.h <<_ACEOF
3639 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3640 _ACEOF
3642 cat >>confdefs.h <<_ACEOF
3643 #define PACKAGE_STRING "$PACKAGE_STRING"
3644 _ACEOF
3646 cat >>confdefs.h <<_ACEOF
3647 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3648 _ACEOF
3650 cat >>confdefs.h <<_ACEOF
3651 #define PACKAGE_URL "$PACKAGE_URL"
3652 _ACEOF
3655 # Let the site file select an alternate cache file if it wants to.
3656 # Prefer an explicitly selected file to automatically selected ones.
3657 ac_site_file1=NONE
3658 ac_site_file2=NONE
3659 if test -n "$CONFIG_SITE"; then
3660 # We do not want a PATH search for config.site.
3661 case $CONFIG_SITE in #((
3662 -*) ac_site_file1=./$CONFIG_SITE;;
3663 */*) ac_site_file1=$CONFIG_SITE;;
3664 *) ac_site_file1=./$CONFIG_SITE;;
3665 esac
3666 elif test "x$prefix" != xNONE; then
3667 ac_site_file1=$prefix/share/config.site
3668 ac_site_file2=$prefix/etc/config.site
3669 else
3670 ac_site_file1=$ac_default_prefix/share/config.site
3671 ac_site_file2=$ac_default_prefix/etc/config.site
3673 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3675 test "x$ac_site_file" = xNONE && continue
3676 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3678 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3679 sed 's/^/| /' "$ac_site_file" >&5
3680 . "$ac_site_file" \
3681 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3683 as_fn_error $? "failed to load site script $ac_site_file
3684 See \`config.log' for more details" "$LINENO" 5; }
3686 done
3688 if test -r "$cache_file"; then
3689 # Some versions of bash will fail to source /dev/null (special files
3690 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3691 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3693 $as_echo "$as_me: loading cache $cache_file" >&6;}
3694 case $cache_file in
3695 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3696 *) . "./$cache_file";;
3697 esac
3699 else
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3701 $as_echo "$as_me: creating cache $cache_file" >&6;}
3702 >$cache_file
3705 # Check that the precious variables saved in the cache have kept the same
3706 # value.
3707 ac_cache_corrupted=false
3708 for ac_var in $ac_precious_vars; do
3709 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3710 eval ac_new_set=\$ac_env_${ac_var}_set
3711 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3712 eval ac_new_val=\$ac_env_${ac_var}_value
3713 case $ac_old_set,$ac_new_set in
3714 set,)
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3716 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3717 ac_cache_corrupted=: ;;
3718 ,set)
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3720 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3721 ac_cache_corrupted=: ;;
3722 ,);;
3724 if test "x$ac_old_val" != "x$ac_new_val"; then
3725 # differences in whitespace do not lead to failure.
3726 ac_old_val_w=`echo x $ac_old_val`
3727 ac_new_val_w=`echo x $ac_new_val`
3728 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3730 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3731 ac_cache_corrupted=:
3732 else
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3734 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3735 eval $ac_var=\$ac_old_val
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3738 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3740 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3741 fi;;
3742 esac
3743 # Pass precious variables to config.status.
3744 if test "$ac_new_set" = set; then
3745 case $ac_new_val in
3746 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3747 *) ac_arg=$ac_var=$ac_new_val ;;
3748 esac
3749 case " $ac_configure_args " in
3750 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3751 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3752 esac
3754 done
3755 if $ac_cache_corrupted; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3759 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3760 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3762 ## -------------------- ##
3763 ## Main body of script. ##
3764 ## -------------------- ##
3766 ac_ext=c
3767 ac_cpp='$CPP $CPPFLAGS'
3768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3774 ac_config_headers="$ac_config_headers include/config.h"
3776 ac_aux_dir=
3777 for ac_dir in tools "$srcdir"/tools; do
3778 if test -f "$ac_dir/install-sh"; then
3779 ac_aux_dir=$ac_dir
3780 ac_install_sh="$ac_aux_dir/install-sh -c"
3781 break
3782 elif test -f "$ac_dir/install.sh"; then
3783 ac_aux_dir=$ac_dir
3784 ac_install_sh="$ac_aux_dir/install.sh -c"
3785 break
3786 elif test -f "$ac_dir/shtool"; then
3787 ac_aux_dir=$ac_dir
3788 ac_install_sh="$ac_aux_dir/shtool install -c"
3789 break
3791 done
3792 if test -z "$ac_aux_dir"; then
3793 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3796 # These three variables are undocumented and unsupported,
3797 # and are intended to be withdrawn in a future Autoconf release.
3798 # They can cause serious problems if a builder's source tree is in a directory
3799 # whose full name contains unusual characters.
3800 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3801 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3802 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3806 libwine_version="1.0"
3810 # Check whether --enable-win16 was given.
3811 if test "${enable_win16+set}" = set; then :
3812 enableval=$enable_win16;
3815 # Check whether --enable-win64 was given.
3816 if test "${enable_win64+set}" = set; then :
3817 enableval=$enable_win64;
3820 # Check whether --enable-tests was given.
3821 if test "${enable_tests+set}" = set; then :
3822 enableval=$enable_tests;
3825 # Check whether --enable-maintainer-mode was given.
3826 if test "${enable_maintainer_mode+set}" = set; then :
3827 enableval=$enable_maintainer_mode;
3832 # Check whether --with-alsa was given.
3833 if test "${with_alsa+set}" = set; then :
3834 withval=$with_alsa;
3838 # Check whether --with-capi was given.
3839 if test "${with_capi+set}" = set; then :
3840 withval=$with_capi;
3844 # Check whether --with-cms was given.
3845 if test "${with_cms+set}" = set; then :
3846 withval=$with_cms;
3850 # Check whether --with-coreaudio was given.
3851 if test "${with_coreaudio+set}" = set; then :
3852 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3856 # Check whether --with-cups was given.
3857 if test "${with_cups+set}" = set; then :
3858 withval=$with_cups;
3862 # Check whether --with-curses was given.
3863 if test "${with_curses+set}" = set; then :
3864 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3868 # Check whether --with-dbus was given.
3869 if test "${with_dbus+set}" = set; then :
3870 withval=$with_dbus;
3874 # Check whether --with-faudio was given.
3875 if test "${with_faudio+set}" = set; then :
3876 withval=$with_faudio;
3880 # Check whether --with-float-abi was given.
3881 if test "${with_float_abi+set}" = set; then :
3882 withval=$with_float_abi;
3886 # Check whether --with-fontconfig was given.
3887 if test "${with_fontconfig+set}" = set; then :
3888 withval=$with_fontconfig;
3892 # Check whether --with-freetype was given.
3893 if test "${with_freetype+set}" = set; then :
3894 withval=$with_freetype;
3898 # Check whether --with-gettext was given.
3899 if test "${with_gettext+set}" = set; then :
3900 withval=$with_gettext;
3904 # Check whether --with-gettextpo was given.
3905 if test "${with_gettextpo+set}" = set; then :
3906 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3910 # Check whether --with-gphoto was given.
3911 if test "${with_gphoto+set}" = set; then :
3912 withval=$with_gphoto;
3916 # Check whether --with-glu was given.
3917 if test "${with_glu+set}" = set; then :
3918 withval=$with_glu;
3922 # Check whether --with-gnutls was given.
3923 if test "${with_gnutls+set}" = set; then :
3924 withval=$with_gnutls;
3928 # Check whether --with-gsm was given.
3929 if test "${with_gsm+set}" = set; then :
3930 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3934 # Check whether --with-gssapi was given.
3935 if test "${with_gssapi+set}" = set; then :
3936 withval=$with_gssapi;
3940 # Check whether --with-gstreamer was given.
3941 if test "${with_gstreamer+set}" = set; then :
3942 withval=$with_gstreamer;
3946 # Check whether --with-hal was given.
3947 if test "${with_hal+set}" = set; then :
3948 withval=$with_hal;
3952 # Check whether --with-inotify was given.
3953 if test "${with_inotify+set}" = set; then :
3954 withval=$with_inotify;
3958 # Check whether --with-jpeg was given.
3959 if test "${with_jpeg+set}" = set; then :
3960 withval=$with_jpeg;
3964 # Check whether --with-krb5 was given.
3965 if test "${with_krb5+set}" = set; then :
3966 withval=$with_krb5;
3970 # Check whether --with-ldap was given.
3971 if test "${with_ldap+set}" = set; then :
3972 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3976 # Check whether --with-mingw was given.
3977 if test "${with_mingw+set}" = set; then :
3978 withval=$with_mingw;
3982 # Check whether --with-mpg123 was given.
3983 if test "${with_mpg123+set}" = set; then :
3984 withval=$with_mpg123;
3988 # Check whether --with-netapi was given.
3989 if test "${with_netapi+set}" = set; then :
3990 withval=$with_netapi;
3994 # Check whether --with-openal was given.
3995 if test "${with_openal+set}" = set; then :
3996 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4000 # Check whether --with-opencl was given.
4001 if test "${with_opencl+set}" = set; then :
4002 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4006 # Check whether --with-opengl was given.
4007 if test "${with_opengl+set}" = set; then :
4008 withval=$with_opengl;
4012 # Check whether --with-osmesa was given.
4013 if test "${with_osmesa+set}" = set; then :
4014 withval=$with_osmesa;
4018 # Check whether --with-oss was given.
4019 if test "${with_oss+set}" = set; then :
4020 withval=$with_oss;
4024 # Check whether --with-pcap was given.
4025 if test "${with_pcap+set}" = set; then :
4026 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4030 # Check whether --with-png was given.
4031 if test "${with_png+set}" = set; then :
4032 withval=$with_png;
4036 # Check whether --with-pthread was given.
4037 if test "${with_pthread+set}" = set; then :
4038 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4042 # Check whether --with-pulse was given.
4043 if test "${with_pulse+set}" = set; then :
4044 withval=$with_pulse;
4048 # Check whether --with-sane was given.
4049 if test "${with_sane+set}" = set; then :
4050 withval=$with_sane;
4054 # Check whether --with-sdl was given.
4055 if test "${with_sdl+set}" = set; then :
4056 withval=$with_sdl;
4060 # Check whether --with-tiff was given.
4061 if test "${with_tiff+set}" = set; then :
4062 withval=$with_tiff;
4066 # Check whether --with-udev was given.
4067 if test "${with_udev+set}" = set; then :
4068 withval=$with_udev;
4072 # Check whether --with-v4l2 was given.
4073 if test "${with_v4l2+set}" = set; then :
4074 withval=$with_v4l2;
4078 # Check whether --with-vkd3d was given.
4079 if test "${with_vkd3d+set}" = set; then :
4080 withval=$with_vkd3d;
4084 # Check whether --with-vulkan was given.
4085 if test "${with_vulkan+set}" = set; then :
4086 withval=$with_vulkan;
4090 # Check whether --with-xcomposite was given.
4091 if test "${with_xcomposite+set}" = set; then :
4092 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4096 # Check whether --with-xcursor was given.
4097 if test "${with_xcursor+set}" = set; then :
4098 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4102 # Check whether --with-xfixes was given.
4103 if test "${with_xfixes+set}" = set; then :
4104 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4108 # Check whether --with-xinerama was given.
4109 if test "${with_xinerama+set}" = set; then :
4110 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4114 # Check whether --with-xinput was given.
4115 if test "${with_xinput+set}" = set; then :
4116 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4120 # Check whether --with-xinput2 was given.
4121 if test "${with_xinput2+set}" = set; then :
4122 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4126 # Check whether --with-xml was given.
4127 if test "${with_xml+set}" = set; then :
4128 withval=$with_xml;
4132 # Check whether --with-xrandr was given.
4133 if test "${with_xrandr+set}" = set; then :
4134 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4138 # Check whether --with-xrender was given.
4139 if test "${with_xrender+set}" = set; then :
4140 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4144 # Check whether --with-xshape was given.
4145 if test "${with_xshape+set}" = set; then :
4146 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4150 # Check whether --with-xshm was given.
4151 if test "${with_xshm+set}" = set; then :
4152 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4156 # Check whether --with-xslt was given.
4157 if test "${with_xslt+set}" = set; then :
4158 withval=$with_xslt;
4162 # Check whether --with-xxf86vm was given.
4163 if test "${with_xxf86vm+set}" = set; then :
4164 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
4168 # Check whether --with-zlib was given.
4169 if test "${with_zlib+set}" = set; then :
4170 withval=$with_zlib;
4175 # Check whether --with-wine-tools was given.
4176 if test "${with_wine_tools+set}" = set; then :
4177 withval=$with_wine_tools;
4181 # Check whether --with-wine64 was given.
4182 if test "${with_wine64+set}" = set; then :
4183 withval=$with_wine64;
4187 # Make sure we can run config.sub.
4188 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4189 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4192 $as_echo_n "checking build system type... " >&6; }
4193 if ${ac_cv_build+:} false; then :
4194 $as_echo_n "(cached) " >&6
4195 else
4196 ac_build_alias=$build_alias
4197 test "x$ac_build_alias" = x &&
4198 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4199 test "x$ac_build_alias" = x &&
4200 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4201 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4202 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4206 $as_echo "$ac_cv_build" >&6; }
4207 case $ac_cv_build in
4208 *-*-*) ;;
4209 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4210 esac
4211 build=$ac_cv_build
4212 ac_save_IFS=$IFS; IFS='-'
4213 set x $ac_cv_build
4214 shift
4215 build_cpu=$1
4216 build_vendor=$2
4217 shift; shift
4218 # Remember, the first character of IFS is used to create $*,
4219 # except with old shells:
4220 build_os=$*
4221 IFS=$ac_save_IFS
4222 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4226 $as_echo_n "checking host system type... " >&6; }
4227 if ${ac_cv_host+:} false; then :
4228 $as_echo_n "(cached) " >&6
4229 else
4230 if test "x$host_alias" = x; then
4231 ac_cv_host=$ac_cv_build
4232 else
4233 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4234 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4239 $as_echo "$ac_cv_host" >&6; }
4240 case $ac_cv_host in
4241 *-*-*) ;;
4242 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4243 esac
4244 host=$ac_cv_host
4245 ac_save_IFS=$IFS; IFS='-'
4246 set x $ac_cv_host
4247 shift
4248 host_cpu=$1
4249 host_vendor=$2
4250 shift; shift
4251 # Remember, the first character of IFS is used to create $*,
4252 # except with old shells:
4253 host_os=$*
4254 IFS=$ac_save_IFS
4255 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4259 case "$srcdir" in
4260 .) ;;
4261 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4262 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4263 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4264 fi ;;
4265 esac
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4269 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4270 set x ${MAKE-make}
4271 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4272 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4273 $as_echo_n "(cached) " >&6
4274 else
4275 cat >conftest.make <<\_ACEOF
4276 SHELL = /bin/sh
4277 all:
4278 @echo '@@@%%%=$(MAKE)=@@@%%%'
4279 _ACEOF
4280 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4281 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4282 *@@@%%%=?*=@@@%%%*)
4283 eval ac_cv_prog_make_${ac_make}_set=yes;;
4285 eval ac_cv_prog_make_${ac_make}_set=no;;
4286 esac
4287 rm -f conftest.make
4289 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4291 $as_echo "yes" >&6; }
4292 SET_MAKE=
4293 else
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4296 SET_MAKE="MAKE=${MAKE-make}"
4299 ac_ext=c
4300 ac_cpp='$CPP $CPPFLAGS'
4301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4304 if test -n "$ac_tool_prefix"; then
4305 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4306 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_CC+:} false; then :
4310 $as_echo_n "(cached) " >&6
4311 else
4312 if test -n "$CC"; then
4313 ac_cv_prog_CC="$CC" # Let the user override the test.
4314 else
4315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316 for as_dir in $PATH
4318 IFS=$as_save_IFS
4319 test -z "$as_dir" && as_dir=.
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4322 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4324 break 2
4326 done
4327 done
4328 IFS=$as_save_IFS
4332 CC=$ac_cv_prog_CC
4333 if test -n "$CC"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4335 $as_echo "$CC" >&6; }
4336 else
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4343 if test -z "$ac_cv_prog_CC"; then
4344 ac_ct_CC=$CC
4345 # Extract the first word of "gcc", so it can be a program name with args.
4346 set dummy gcc; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4350 $as_echo_n "(cached) " >&6
4351 else
4352 if test -n "$ac_ct_CC"; then
4353 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4354 else
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 for as_dir in $PATH
4358 IFS=$as_save_IFS
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_ac_ct_CC="gcc"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 break 2
4366 done
4367 done
4368 IFS=$as_save_IFS
4372 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4373 if test -n "$ac_ct_CC"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4375 $as_echo "$ac_ct_CC" >&6; }
4376 else
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4381 if test "x$ac_ct_CC" = x; then
4382 CC=""
4383 else
4384 case $cross_compiling:$ac_tool_warned in
4385 yes:)
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4388 ac_tool_warned=yes ;;
4389 esac
4390 CC=$ac_ct_CC
4392 else
4393 CC="$ac_cv_prog_CC"
4396 if test -z "$CC"; then
4397 if test -n "$ac_tool_prefix"; then
4398 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4399 set dummy ${ac_tool_prefix}cc; ac_word=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_CC+:} false; then :
4403 $as_echo_n "(cached) " >&6
4404 else
4405 if test -n "$CC"; then
4406 ac_cv_prog_CC="$CC" # Let the user override the test.
4407 else
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 for as_dir in $PATH
4411 IFS=$as_save_IFS
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_CC="${ac_tool_prefix}cc"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 break 2
4419 done
4420 done
4421 IFS=$as_save_IFS
4425 CC=$ac_cv_prog_CC
4426 if test -n "$CC"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4428 $as_echo "$CC" >&6; }
4429 else
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4437 if test -z "$CC"; then
4438 # Extract the first word of "cc", so it can be a program name with args.
4439 set dummy cc; ac_word=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_CC+:} false; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 if test -n "$CC"; then
4446 ac_cv_prog_CC="$CC" # Let the user override the test.
4447 else
4448 ac_prog_rejected=no
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 for as_dir in $PATH
4452 IFS=$as_save_IFS
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4456 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4457 ac_prog_rejected=yes
4458 continue
4460 ac_cv_prog_CC="cc"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 break 2
4464 done
4465 done
4466 IFS=$as_save_IFS
4468 if test $ac_prog_rejected = yes; then
4469 # We found a bogon in the path, so make sure we never use it.
4470 set dummy $ac_cv_prog_CC
4471 shift
4472 if test $# != 0; then
4473 # We chose a different compiler from the bogus one.
4474 # However, it has the same basename, so the bogon will be chosen
4475 # first if we set CC to just the basename; use the full file name.
4476 shift
4477 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4482 CC=$ac_cv_prog_CC
4483 if test -n "$CC"; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4485 $as_echo "$CC" >&6; }
4486 else
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4488 $as_echo "no" >&6; }
4493 if test -z "$CC"; then
4494 if test -n "$ac_tool_prefix"; then
4495 for ac_prog in cl.exe
4497 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4498 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4500 $as_echo_n "checking for $ac_word... " >&6; }
4501 if ${ac_cv_prog_CC+:} false; then :
4502 $as_echo_n "(cached) " >&6
4503 else
4504 if test -n "$CC"; then
4505 ac_cv_prog_CC="$CC" # Let the user override the test.
4506 else
4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508 for as_dir in $PATH
4510 IFS=$as_save_IFS
4511 test -z "$as_dir" && as_dir=.
4512 for ac_exec_ext in '' $ac_executable_extensions; do
4513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4514 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4516 break 2
4518 done
4519 done
4520 IFS=$as_save_IFS
4524 CC=$ac_cv_prog_CC
4525 if test -n "$CC"; then
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4527 $as_echo "$CC" >&6; }
4528 else
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4530 $as_echo "no" >&6; }
4534 test -n "$CC" && break
4535 done
4537 if test -z "$CC"; then
4538 ac_ct_CC=$CC
4539 for ac_prog in cl.exe
4541 # Extract the first word of "$ac_prog", so it can be a program name with args.
4542 set dummy $ac_prog; ac_word=$2
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4544 $as_echo_n "checking for $ac_word... " >&6; }
4545 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4546 $as_echo_n "(cached) " >&6
4547 else
4548 if test -n "$ac_ct_CC"; then
4549 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4550 else
4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 for as_dir in $PATH
4554 IFS=$as_save_IFS
4555 test -z "$as_dir" && as_dir=.
4556 for ac_exec_ext in '' $ac_executable_extensions; do
4557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4558 ac_cv_prog_ac_ct_CC="$ac_prog"
4559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4560 break 2
4562 done
4563 done
4564 IFS=$as_save_IFS
4568 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4569 if test -n "$ac_ct_CC"; then
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4571 $as_echo "$ac_ct_CC" >&6; }
4572 else
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4574 $as_echo "no" >&6; }
4578 test -n "$ac_ct_CC" && break
4579 done
4581 if test "x$ac_ct_CC" = x; then
4582 CC=""
4583 else
4584 case $cross_compiling:$ac_tool_warned in
4585 yes:)
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4588 ac_tool_warned=yes ;;
4589 esac
4590 CC=$ac_ct_CC
4597 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4599 as_fn_error $? "no acceptable C compiler found in \$PATH
4600 See \`config.log' for more details" "$LINENO" 5; }
4602 # Provide some information about the compiler.
4603 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4604 set X $ac_compile
4605 ac_compiler=$2
4606 for ac_option in --version -v -V -qversion; do
4607 { { ac_try="$ac_compiler $ac_option >&5"
4608 case "(($ac_try" in
4609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4610 *) ac_try_echo=$ac_try;;
4611 esac
4612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4613 $as_echo "$ac_try_echo"; } >&5
4614 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4615 ac_status=$?
4616 if test -s conftest.err; then
4617 sed '10a\
4618 ... rest of stderr output deleted ...
4619 10q' conftest.err >conftest.er1
4620 cat conftest.er1 >&5
4622 rm -f conftest.er1 conftest.err
4623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4624 test $ac_status = 0; }
4625 done
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4631 main ()
4635 return 0;
4637 _ACEOF
4638 ac_clean_files_save=$ac_clean_files
4639 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4640 # Try to create an executable without -o first, disregard a.out.
4641 # It will help us diagnose broken compilers, and finding out an intuition
4642 # of exeext.
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4644 $as_echo_n "checking whether the C compiler works... " >&6; }
4645 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4647 # The possible output files:
4648 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4650 ac_rmfiles=
4651 for ac_file in $ac_files
4653 case $ac_file in
4654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4655 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4656 esac
4657 done
4658 rm -f $ac_rmfiles
4660 if { { ac_try="$ac_link_default"
4661 case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4664 esac
4665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4666 $as_echo "$ac_try_echo"; } >&5
4667 (eval "$ac_link_default") 2>&5
4668 ac_status=$?
4669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4670 test $ac_status = 0; }; then :
4671 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4672 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4673 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4674 # so that the user can short-circuit this test for compilers unknown to
4675 # Autoconf.
4676 for ac_file in $ac_files ''
4678 test -f "$ac_file" || continue
4679 case $ac_file in
4680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4682 [ab].out )
4683 # We found the default executable, but exeext='' is most
4684 # certainly right.
4685 break;;
4686 *.* )
4687 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4688 then :; else
4689 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4691 # We set ac_cv_exeext here because the later test for it is not
4692 # safe: cross compilers may not add the suffix if given an `-o'
4693 # argument, so we may need to know it at that point already.
4694 # Even if this section looks crufty: it has the advantage of
4695 # actually working.
4696 break;;
4698 break;;
4699 esac
4700 done
4701 test "$ac_cv_exeext" = no && ac_cv_exeext=
4703 else
4704 ac_file=''
4706 if test -z "$ac_file"; then :
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4708 $as_echo "no" >&6; }
4709 $as_echo "$as_me: failed program was:" >&5
4710 sed 's/^/| /' conftest.$ac_ext >&5
4712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4714 as_fn_error 77 "C compiler cannot create executables
4715 See \`config.log' for more details" "$LINENO" 5; }
4716 else
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4718 $as_echo "yes" >&6; }
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4721 $as_echo_n "checking for C compiler default output file name... " >&6; }
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4723 $as_echo "$ac_file" >&6; }
4724 ac_exeext=$ac_cv_exeext
4726 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4727 ac_clean_files=$ac_clean_files_save
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4729 $as_echo_n "checking for suffix of executables... " >&6; }
4730 if { { ac_try="$ac_link"
4731 case "(($ac_try" in
4732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4733 *) ac_try_echo=$ac_try;;
4734 esac
4735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4736 $as_echo "$ac_try_echo"; } >&5
4737 (eval "$ac_link") 2>&5
4738 ac_status=$?
4739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4740 test $ac_status = 0; }; then :
4741 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4742 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4743 # work properly (i.e., refer to `conftest.exe'), while it won't with
4744 # `rm'.
4745 for ac_file in conftest.exe conftest conftest.*; do
4746 test -f "$ac_file" || continue
4747 case $ac_file in
4748 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4749 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4750 break;;
4751 * ) break;;
4752 esac
4753 done
4754 else
4755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4757 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4758 See \`config.log' for more details" "$LINENO" 5; }
4760 rm -f conftest conftest$ac_cv_exeext
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4762 $as_echo "$ac_cv_exeext" >&6; }
4764 rm -f conftest.$ac_ext
4765 EXEEXT=$ac_cv_exeext
4766 ac_exeext=$EXEEXT
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4769 #include <stdio.h>
4771 main ()
4773 FILE *f = fopen ("conftest.out", "w");
4774 return ferror (f) || fclose (f) != 0;
4777 return 0;
4779 _ACEOF
4780 ac_clean_files="$ac_clean_files conftest.out"
4781 # Check that the compiler produces executables we can run. If not, either
4782 # the compiler is broken, or we cross compile.
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4784 $as_echo_n "checking whether we are cross compiling... " >&6; }
4785 if test "$cross_compiling" != yes; then
4786 { { ac_try="$ac_link"
4787 case "(($ac_try" in
4788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4789 *) ac_try_echo=$ac_try;;
4790 esac
4791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4792 $as_echo "$ac_try_echo"; } >&5
4793 (eval "$ac_link") 2>&5
4794 ac_status=$?
4795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4796 test $ac_status = 0; }
4797 if { ac_try='./conftest$ac_cv_exeext'
4798 { { case "(($ac_try" in
4799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4800 *) ac_try_echo=$ac_try;;
4801 esac
4802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4803 $as_echo "$ac_try_echo"; } >&5
4804 (eval "$ac_try") 2>&5
4805 ac_status=$?
4806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4807 test $ac_status = 0; }; }; then
4808 cross_compiling=no
4809 else
4810 if test "$cross_compiling" = maybe; then
4811 cross_compiling=yes
4812 else
4813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4815 as_fn_error $? "cannot run C compiled programs.
4816 If you meant to cross compile, use \`--host'.
4817 See \`config.log' for more details" "$LINENO" 5; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4822 $as_echo "$cross_compiling" >&6; }
4824 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4825 ac_clean_files=$ac_clean_files_save
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4827 $as_echo_n "checking for suffix of object files... " >&6; }
4828 if ${ac_cv_objext+:} false; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832 /* end confdefs.h. */
4835 main ()
4839 return 0;
4841 _ACEOF
4842 rm -f conftest.o conftest.obj
4843 if { { ac_try="$ac_compile"
4844 case "(($ac_try" in
4845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4846 *) ac_try_echo=$ac_try;;
4847 esac
4848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4849 $as_echo "$ac_try_echo"; } >&5
4850 (eval "$ac_compile") 2>&5
4851 ac_status=$?
4852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4853 test $ac_status = 0; }; then :
4854 for ac_file in conftest.o conftest.obj conftest.*; do
4855 test -f "$ac_file" || continue;
4856 case $ac_file in
4857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4858 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4859 break;;
4860 esac
4861 done
4862 else
4863 $as_echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.$ac_ext >&5
4866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4868 as_fn_error $? "cannot compute suffix of object files: cannot compile
4869 See \`config.log' for more details" "$LINENO" 5; }
4871 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4874 $as_echo "$ac_cv_objext" >&6; }
4875 OBJEXT=$ac_cv_objext
4876 ac_objext=$OBJEXT
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4878 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4879 if ${ac_cv_c_compiler_gnu+:} false; then :
4880 $as_echo_n "(cached) " >&6
4881 else
4882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4886 main ()
4888 #ifndef __GNUC__
4889 choke me
4890 #endif
4893 return 0;
4895 _ACEOF
4896 if ac_fn_c_try_compile "$LINENO"; then :
4897 ac_compiler_gnu=yes
4898 else
4899 ac_compiler_gnu=no
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4906 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4907 if test $ac_compiler_gnu = yes; then
4908 GCC=yes
4909 else
4910 GCC=
4912 ac_test_CFLAGS=${CFLAGS+set}
4913 ac_save_CFLAGS=$CFLAGS
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4915 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4916 if ${ac_cv_prog_cc_g+:} false; then :
4917 $as_echo_n "(cached) " >&6
4918 else
4919 ac_save_c_werror_flag=$ac_c_werror_flag
4920 ac_c_werror_flag=yes
4921 ac_cv_prog_cc_g=no
4922 CFLAGS="-g"
4923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4924 /* end confdefs.h. */
4927 main ()
4931 return 0;
4933 _ACEOF
4934 if ac_fn_c_try_compile "$LINENO"; then :
4935 ac_cv_prog_cc_g=yes
4936 else
4937 CFLAGS=""
4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4942 main ()
4946 return 0;
4948 _ACEOF
4949 if ac_fn_c_try_compile "$LINENO"; then :
4951 else
4952 ac_c_werror_flag=$ac_save_c_werror_flag
4953 CFLAGS="-g"
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4958 main ()
4962 return 0;
4964 _ACEOF
4965 if ac_fn_c_try_compile "$LINENO"; then :
4966 ac_cv_prog_cc_g=yes
4968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 ac_c_werror_flag=$ac_save_c_werror_flag
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4976 $as_echo "$ac_cv_prog_cc_g" >&6; }
4977 if test "$ac_test_CFLAGS" = set; then
4978 CFLAGS=$ac_save_CFLAGS
4979 elif test $ac_cv_prog_cc_g = yes; then
4980 if test "$GCC" = yes; then
4981 CFLAGS="-g -O2"
4982 else
4983 CFLAGS="-g"
4985 else
4986 if test "$GCC" = yes; then
4987 CFLAGS="-O2"
4988 else
4989 CFLAGS=
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4993 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4994 if ${ac_cv_prog_cc_c89+:} false; then :
4995 $as_echo_n "(cached) " >&6
4996 else
4997 ac_cv_prog_cc_c89=no
4998 ac_save_CC=$CC
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5001 #include <stdarg.h>
5002 #include <stdio.h>
5003 struct stat;
5004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5005 struct buf { int x; };
5006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5007 static char *e (p, i)
5008 char **p;
5009 int i;
5011 return p[i];
5013 static char *f (char * (*g) (char **, int), char **p, ...)
5015 char *s;
5016 va_list v;
5017 va_start (v,p);
5018 s = g (p, va_arg (v,int));
5019 va_end (v);
5020 return s;
5023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5024 function prototypes and stuff, but not '\xHH' hex character constants.
5025 These don't provoke an error unfortunately, instead are silently treated
5026 as 'x'. The following induces an error, until -std is added to get
5027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5028 array size at least. It's necessary to write '\x00'==0 to get something
5029 that's true only with -std. */
5030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5032 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5033 inside strings and character constants. */
5034 #define FOO(x) 'x'
5035 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5037 int test (int i, double x);
5038 struct s1 {int (*f) (int a);};
5039 struct s2 {int (*f) (double a);};
5040 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5041 int argc;
5042 char **argv;
5044 main ()
5046 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5048 return 0;
5050 _ACEOF
5051 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5052 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5054 CC="$ac_save_CC $ac_arg"
5055 if ac_fn_c_try_compile "$LINENO"; then :
5056 ac_cv_prog_cc_c89=$ac_arg
5058 rm -f core conftest.err conftest.$ac_objext
5059 test "x$ac_cv_prog_cc_c89" != "xno" && break
5060 done
5061 rm -f conftest.$ac_ext
5062 CC=$ac_save_CC
5065 # AC_CACHE_VAL
5066 case "x$ac_cv_prog_cc_c89" in
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5069 $as_echo "none needed" >&6; } ;;
5070 xno)
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5072 $as_echo "unsupported" >&6; } ;;
5074 CC="$CC $ac_cv_prog_cc_c89"
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5076 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5077 esac
5078 if test "x$ac_cv_prog_cc_c89" != xno; then :
5082 ac_ext=c
5083 ac_cpp='$CPP $CPPFLAGS'
5084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5088 ac_ext=cpp
5089 ac_cpp='$CXXCPP $CPPFLAGS'
5090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5093 if test -z "$CXX"; then
5094 if test -n "$CCC"; then
5095 CXX=$CCC
5096 else
5097 if test -n "$ac_tool_prefix"; then
5098 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if ${ac_cv_prog_CXX+:} false; then :
5105 $as_echo_n "(cached) " >&6
5106 else
5107 if test -n "$CXX"; then
5108 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5109 else
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 for as_dir in $PATH
5113 IFS=$as_save_IFS
5114 test -z "$as_dir" && as_dir=.
5115 for ac_exec_ext in '' $ac_executable_extensions; do
5116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5117 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 break 2
5121 done
5122 done
5123 IFS=$as_save_IFS
5127 CXX=$ac_cv_prog_CXX
5128 if test -n "$CXX"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5130 $as_echo "$CXX" >&6; }
5131 else
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5137 test -n "$CXX" && break
5138 done
5140 if test -z "$CXX"; then
5141 ac_ct_CXX=$CXX
5142 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5144 # Extract the first word of "$ac_prog", so it can be a program name with args.
5145 set dummy $ac_prog; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 if test -n "$ac_ct_CXX"; then
5152 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5161 ac_cv_prog_ac_ct_CXX="$ac_prog"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5165 done
5166 done
5167 IFS=$as_save_IFS
5171 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5172 if test -n "$ac_ct_CXX"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5174 $as_echo "$ac_ct_CXX" >&6; }
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5181 test -n "$ac_ct_CXX" && break
5182 done
5184 if test "x$ac_ct_CXX" = x; then
5185 CXX="g++"
5186 else
5187 case $cross_compiling:$ac_tool_warned in
5188 yes:)
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5191 ac_tool_warned=yes ;;
5192 esac
5193 CXX=$ac_ct_CXX
5199 # Provide some information about the compiler.
5200 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5201 set X $ac_compile
5202 ac_compiler=$2
5203 for ac_option in --version -v -V -qversion; do
5204 { { ac_try="$ac_compiler $ac_option >&5"
5205 case "(($ac_try" in
5206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5207 *) ac_try_echo=$ac_try;;
5208 esac
5209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5210 $as_echo "$ac_try_echo"; } >&5
5211 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5212 ac_status=$?
5213 if test -s conftest.err; then
5214 sed '10a\
5215 ... rest of stderr output deleted ...
5216 10q' conftest.err >conftest.er1
5217 cat conftest.er1 >&5
5219 rm -f conftest.er1 conftest.err
5220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5221 test $ac_status = 0; }
5222 done
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5225 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5226 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5227 $as_echo_n "(cached) " >&6
5228 else
5229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5230 /* end confdefs.h. */
5233 main ()
5235 #ifndef __GNUC__
5236 choke me
5237 #endif
5240 return 0;
5242 _ACEOF
5243 if ac_fn_cxx_try_compile "$LINENO"; then :
5244 ac_compiler_gnu=yes
5245 else
5246 ac_compiler_gnu=no
5248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5249 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5253 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5254 if test $ac_compiler_gnu = yes; then
5255 GXX=yes
5256 else
5257 GXX=
5259 ac_test_CXXFLAGS=${CXXFLAGS+set}
5260 ac_save_CXXFLAGS=$CXXFLAGS
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5262 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5263 if ${ac_cv_prog_cxx_g+:} false; then :
5264 $as_echo_n "(cached) " >&6
5265 else
5266 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5267 ac_cxx_werror_flag=yes
5268 ac_cv_prog_cxx_g=no
5269 CXXFLAGS="-g"
5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5274 main ()
5278 return 0;
5280 _ACEOF
5281 if ac_fn_cxx_try_compile "$LINENO"; then :
5282 ac_cv_prog_cxx_g=yes
5283 else
5284 CXXFLAGS=""
5285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5286 /* end confdefs.h. */
5289 main ()
5293 return 0;
5295 _ACEOF
5296 if ac_fn_cxx_try_compile "$LINENO"; then :
5298 else
5299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5300 CXXFLAGS="-g"
5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5305 main ()
5309 return 0;
5311 _ACEOF
5312 if ac_fn_cxx_try_compile "$LINENO"; then :
5313 ac_cv_prog_cxx_g=yes
5315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5323 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5324 if test "$ac_test_CXXFLAGS" = set; then
5325 CXXFLAGS=$ac_save_CXXFLAGS
5326 elif test $ac_cv_prog_cxx_g = yes; then
5327 if test "$GXX" = yes; then
5328 CXXFLAGS="-g -O2"
5329 else
5330 CXXFLAGS="-g"
5332 else
5333 if test "$GXX" = yes; then
5334 CXXFLAGS="-O2"
5335 else
5336 CXXFLAGS=
5339 ac_ext=c
5340 ac_cpp='$CPP $CPPFLAGS'
5341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5345 if test -n "$ac_tool_prefix"; then
5346 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5347 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5349 $as_echo_n "checking for $ac_word... " >&6; }
5350 if ${ac_cv_prog_CPPBIN+:} false; then :
5351 $as_echo_n "(cached) " >&6
5352 else
5353 if test -n "$CPPBIN"; then
5354 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5355 else
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 for as_dir in $PATH
5359 IFS=$as_save_IFS
5360 test -z "$as_dir" && as_dir=.
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5363 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 break 2
5367 done
5368 done
5369 IFS=$as_save_IFS
5373 CPPBIN=$ac_cv_prog_CPPBIN
5374 if test -n "$CPPBIN"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5376 $as_echo "$CPPBIN" >&6; }
5377 else
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5384 if test -z "$ac_cv_prog_CPPBIN"; then
5385 ac_ct_CPPBIN=$CPPBIN
5386 # Extract the first word of "cpp", so it can be a program name with args.
5387 set dummy cpp; ac_word=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5391 $as_echo_n "(cached) " >&6
5392 else
5393 if test -n "$ac_ct_CPPBIN"; then
5394 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5395 else
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH
5399 IFS=$as_save_IFS
5400 test -z "$as_dir" && as_dir=.
5401 for ac_exec_ext in '' $ac_executable_extensions; do
5402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5403 ac_cv_prog_ac_ct_CPPBIN="cpp"
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5405 break 2
5407 done
5408 done
5409 IFS=$as_save_IFS
5413 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5414 if test -n "$ac_ct_CPPBIN"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5416 $as_echo "$ac_ct_CPPBIN" >&6; }
5417 else
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5422 if test "x$ac_ct_CPPBIN" = x; then
5423 CPPBIN="cpp"
5424 else
5425 case $cross_compiling:$ac_tool_warned in
5426 yes:)
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5429 ac_tool_warned=yes ;;
5430 esac
5431 CPPBIN=$ac_ct_CPPBIN
5433 else
5434 CPPBIN="$ac_cv_prog_CPPBIN"
5438 cat >>confdefs.h <<_ACEOF
5439 #define EXEEXT "$ac_exeext"
5440 _ACEOF
5442 if test -n "$ac_tool_prefix"; then
5443 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5444 set dummy ${ac_tool_prefix}ld; ac_word=$2
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 $as_echo_n "checking for $ac_word... " >&6; }
5447 if ${ac_cv_prog_LD+:} false; then :
5448 $as_echo_n "(cached) " >&6
5449 else
5450 if test -n "$LD"; then
5451 ac_cv_prog_LD="$LD" # Let the user override the test.
5452 else
5453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5454 for as_dir in $PATH
5456 IFS=$as_save_IFS
5457 test -z "$as_dir" && as_dir=.
5458 for ac_exec_ext in '' $ac_executable_extensions; do
5459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5460 ac_cv_prog_LD="${ac_tool_prefix}ld"
5461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 break 2
5464 done
5465 done
5466 IFS=$as_save_IFS
5470 LD=$ac_cv_prog_LD
5471 if test -n "$LD"; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5473 $as_echo "$LD" >&6; }
5474 else
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5481 if test -z "$ac_cv_prog_LD"; then
5482 ac_ct_LD=$LD
5483 # Extract the first word of "ld", so it can be a program name with args.
5484 set dummy ld; ac_word=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 if test -n "$ac_ct_LD"; then
5491 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5492 else
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_ac_ct_LD="ld"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 break 2
5504 done
5505 done
5506 IFS=$as_save_IFS
5510 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5511 if test -n "$ac_ct_LD"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5513 $as_echo "$ac_ct_LD" >&6; }
5514 else
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5519 if test "x$ac_ct_LD" = x; then
5520 LD=""
5521 else
5522 case $cross_compiling:$ac_tool_warned in
5523 yes:)
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5526 ac_tool_warned=yes ;;
5527 esac
5528 LD=$ac_ct_LD
5530 else
5531 LD="$ac_cv_prog_LD"
5535 case $host in
5536 *-darwin*)
5537 with_fontconfig=${with_fontconfig:-no}
5539 *-mingw32*|*-cygwin*)
5540 enable_win16=${enable_win16:-no}
5541 with_mingw=${with_mingw:-no}
5542 CFLAGS="$CFLAGS -D_WIN32"
5544 esac
5546 case $host in
5547 x86_64*|amd64*)
5548 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5549 then
5550 CC="$CC -m32"
5551 CXX="$CXX -m32"
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5554 $as_echo_n "checking whether $CC works... " >&6; }
5555 if ${wine_cv_cc_m32+:} false; then :
5556 $as_echo_n "(cached) " >&6
5557 else
5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5559 /* end confdefs.h. */
5562 main ()
5566 return 0;
5568 _ACEOF
5569 if ac_fn_c_try_link "$LINENO"; then :
5570 wine_cv_cc_m32=yes
5571 else
5572 wine_cv_cc_m32=no
5574 rm -f core conftest.err conftest.$ac_objext \
5575 conftest$ac_exeext conftest.$ac_ext
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5578 $as_echo "$wine_cv_cc_m32" >&6; }
5579 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
5580 host_cpu="i386"
5581 notice_platform="32-bit "
5582 TARGETFLAGS="-m32"
5584 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5585 export PKG_CONFIG_PATH
5586 enable_win16=${enable_win16:-yes}
5587 else
5588 if test "x${GCC}" = "xyes"
5589 then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5591 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5592 if ${wine_cv_builtin_ms_va_list+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5596 /* end confdefs.h. */
5597 #include <stdarg.h>
5599 main ()
5601 void func(__builtin_ms_va_list *args);
5603 return 0;
5605 _ACEOF
5606 if ac_fn_c_try_compile "$LINENO"; then :
5607 wine_cv_builtin_ms_va_list=yes
5608 else
5609 wine_cv_builtin_ms_va_list=no
5611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5614 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5615 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
5617 CC="$CC -m64"
5618 CXX="$CXX -m64"
5619 host_cpu="x86_64"
5620 notice_platform="64-bit "
5621 TARGETFLAGS="-m64"
5625 arm*)
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5627 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5628 if ${wine_cv_thumb+:} false; then :
5629 $as_echo_n "(cached) " >&6
5630 else
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5633 int ac_test(int i) { return i; }
5635 main ()
5637 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5639 return 0;
5641 _ACEOF
5642 if ac_fn_c_try_link "$LINENO"; then :
5643 wine_cv_thumb=yes
5644 else
5645 wine_cv_thumb=no
5647 rm -f core conftest.err conftest.$ac_objext \
5648 conftest$ac_exeext conftest.$ac_ext
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5651 $as_echo "$wine_cv_thumb" >&6; }
5652 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5653 case $with_float_abi in
5654 soft|softfp|hard)
5655 float_abi=$with_float_abi ;;
5657 case $host_os in
5658 *eabihf)
5659 float_abi=hard ;;
5661 float_abi=softfp
5662 saved_CFLAGS=$CFLAGS
5663 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5665 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5666 if ${wine_cv_float_abi+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5673 main ()
5675 asm("vmrs r2,fpscr");
5677 return 0;
5679 _ACEOF
5680 if ac_fn_c_try_link "$LINENO"; then :
5681 wine_cv_float_abi=yes
5682 else
5683 wine_cv_float_abi=no
5685 rm -f core conftest.err conftest.$ac_objext \
5686 conftest$ac_exeext conftest.$ac_ext
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5689 $as_echo "$wine_cv_float_abi" >&6; }
5690 if test $wine_cv_float_abi = no
5691 then
5692 float_abi=soft
5693 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5695 CFLAGS=$saved_CFLAGS
5696 esac
5698 esac
5699 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5700 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5703 aarch64*)
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5705 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5706 if ${wine_cv_builtin_ms_va_list+:} false; then :
5707 $as_echo_n "(cached) " >&6
5708 else
5709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5710 /* end confdefs.h. */
5711 #include <stdarg.h>
5713 main ()
5715 void func(__builtin_ms_va_list *args);
5717 return 0;
5719 _ACEOF
5720 if ac_fn_c_try_compile "$LINENO"; then :
5721 wine_cv_builtin_ms_va_list=yes
5722 else
5723 wine_cv_builtin_ms_va_list=no
5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5728 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5729 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5731 i[3456789]86*)
5732 enable_win16=${enable_win16:-yes}
5734 esac
5736 enable_win16=${enable_win16:-no}
5737 enable_win64=${enable_win64:-no}
5739 enable_winetest=${enable_winetest:-$enable_tests}
5741 if test "x$enable_win64" = "xyes"
5742 then
5743 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5744 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5745 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5749 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5750 if ${wine_cv_toolsdir+:} false; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 wine_cv_toolsdir="$with_wine_tools"
5754 if test -z "$with_wine_tools"; then
5755 if test "$cross_compiling" = "yes"; then
5756 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5757 elif test -n "$with_wine64"; then
5758 wine_cv_toolsdir="$with_wine64"
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5763 $as_echo "$wine_cv_toolsdir" >&6; }
5764 if test -z "$wine_cv_toolsdir"; then
5765 wine_makedep=tools/makedep
5766 TOOLSDIR="\$(top_builddir)"
5768 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5769 wine_makedep=$wine_cv_toolsdir/tools/makedep
5770 case "$wine_cv_toolsdir" in
5771 /*) TOOLSDIR=$wine_cv_toolsdir
5773 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5775 esac
5776 enable_tools=${enable_tools:-no}
5777 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5778 else
5779 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5781 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5782 then
5783 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5787 for ac_prog in flex
5789 # Extract the first word of "$ac_prog", so it can be a program name with args.
5790 set dummy $ac_prog; ac_word=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792 $as_echo_n "checking for $ac_word... " >&6; }
5793 if ${ac_cv_prog_FLEX+:} false; then :
5794 $as_echo_n "(cached) " >&6
5795 else
5796 if test -n "$FLEX"; then
5797 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5798 else
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 for as_dir in $PATH
5802 IFS=$as_save_IFS
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5806 ac_cv_prog_FLEX="$ac_prog"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808 break 2
5810 done
5811 done
5812 IFS=$as_save_IFS
5816 FLEX=$ac_cv_prog_FLEX
5817 if test -n "$FLEX"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5819 $as_echo "$FLEX" >&6; }
5820 else
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5826 test -n "$FLEX" && break
5827 done
5828 test -n "$FLEX" || FLEX="none"
5830 if test "$FLEX" = "none"
5831 then
5832 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5835 $as_echo_n "checking whether flex is recent enough... " >&6; }
5836 if ${wine_cv_recent_flex+:} false; then :
5837 $as_echo_n "(cached) " >&6
5838 else
5839 cat >conftest.l <<EOF
5840 %top{
5841 #include "prediluvian.h"
5845 if $FLEX -t conftest.l >/dev/null 2>&5
5846 then
5847 wine_cv_recent_flex=yes
5848 else
5849 wine_cv_recent_flex=no
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5853 $as_echo "$wine_cv_recent_flex" >&6; }
5854 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
5856 for ac_prog in bison
5858 # Extract the first word of "$ac_prog", so it can be a program name with args.
5859 set dummy $ac_prog; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_BISON+:} false; then :
5863 $as_echo_n "(cached) " >&6
5864 else
5865 if test -n "$BISON"; then
5866 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5867 else
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 for as_dir in $PATH
5871 IFS=$as_save_IFS
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_BISON="$ac_prog"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 break 2
5879 done
5880 done
5881 IFS=$as_save_IFS
5885 BISON=$ac_cv_prog_BISON
5886 if test -n "$BISON"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5888 $as_echo "$BISON" >&6; }
5889 else
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5895 test -n "$BISON" && break
5896 done
5897 test -n "$BISON" || BISON="none"
5899 if test "$BISON" = "none"
5900 then
5901 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5904 $as_echo_n "checking whether bison is recent enough... " >&6; }
5905 if ${wine_cv_recent_bison+:} false; then :
5906 $as_echo_n "(cached) " >&6
5907 else
5908 cat >conftest.y <<EOF
5909 %define parse.error verbose
5911 empty: ;
5913 if $BISON conftest.y >/dev/null 2>&5
5914 then
5915 wine_cv_recent_bison=yes
5916 else
5917 wine_cv_recent_bison=no
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5921 $as_echo "$wine_cv_recent_bison" >&6; }
5922 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
5924 if test -n "$ac_tool_prefix"; then
5925 for ac_prog in ar gar
5927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5930 $as_echo_n "checking for $ac_word... " >&6; }
5931 if ${ac_cv_prog_AR+:} false; then :
5932 $as_echo_n "(cached) " >&6
5933 else
5934 if test -n "$AR"; then
5935 ac_cv_prog_AR="$AR" # Let the user override the test.
5936 else
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 for as_dir in $PATH
5940 IFS=$as_save_IFS
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5944 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 break 2
5948 done
5949 done
5950 IFS=$as_save_IFS
5954 AR=$ac_cv_prog_AR
5955 if test -n "$AR"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5957 $as_echo "$AR" >&6; }
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5960 $as_echo "no" >&6; }
5964 test -n "$AR" && break
5965 done
5967 if test -z "$AR"; then
5968 ac_ct_AR=$AR
5969 for ac_prog in ar gar
5971 # Extract the first word of "$ac_prog", so it can be a program name with args.
5972 set dummy $ac_prog; ac_word=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5976 $as_echo_n "(cached) " >&6
5977 else
5978 if test -n "$ac_ct_AR"; then
5979 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5984 IFS=$as_save_IFS
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_ac_ct_AR="$ac_prog"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 break 2
5992 done
5993 done
5994 IFS=$as_save_IFS
5998 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5999 if test -n "$ac_ct_AR"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6001 $as_echo "$ac_ct_AR" >&6; }
6002 else
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6008 test -n "$ac_ct_AR" && break
6009 done
6011 if test "x$ac_ct_AR" = x; then
6012 AR="ar"
6013 else
6014 case $cross_compiling:$ac_tool_warned in
6015 yes:)
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6018 ac_tool_warned=yes ;;
6019 esac
6020 AR=$ac_ct_AR
6024 if test -n "$ac_tool_prefix"; then
6025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6026 set dummy ${ac_tool_prefix}strip; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if ${ac_cv_prog_STRIP+:} false; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 if test -n "$STRIP"; then
6033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6038 IFS=$as_save_IFS
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6042 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 break 2
6046 done
6047 done
6048 IFS=$as_save_IFS
6052 STRIP=$ac_cv_prog_STRIP
6053 if test -n "$STRIP"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6055 $as_echo "$STRIP" >&6; }
6056 else
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6063 if test -z "$ac_cv_prog_STRIP"; then
6064 ac_ct_STRIP=$STRIP
6065 # Extract the first word of "strip", so it can be a program name with args.
6066 set dummy strip; ac_word=$2
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 $as_echo_n "checking for $ac_word... " >&6; }
6069 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6070 $as_echo_n "(cached) " >&6
6071 else
6072 if test -n "$ac_ct_STRIP"; then
6073 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6082 ac_cv_prog_ac_ct_STRIP="strip"
6083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 break 2
6086 done
6087 done
6088 IFS=$as_save_IFS
6092 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6093 if test -n "$ac_ct_STRIP"; then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6095 $as_echo "$ac_ct_STRIP" >&6; }
6096 else
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098 $as_echo "no" >&6; }
6101 if test "x$ac_ct_STRIP" = x; then
6102 STRIP="strip"
6103 else
6104 case $cross_compiling:$ac_tool_warned in
6105 yes:)
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6108 ac_tool_warned=yes ;;
6109 esac
6110 STRIP=$ac_ct_STRIP
6112 else
6113 STRIP="$ac_cv_prog_STRIP"
6116 if test -n "$ac_tool_prefix"; then
6117 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6118 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if ${ac_cv_prog_RANLIB+:} false; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 if test -n "$RANLIB"; then
6125 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6130 IFS=$as_save_IFS
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6144 RANLIB=$ac_cv_prog_RANLIB
6145 if test -n "$RANLIB"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6147 $as_echo "$RANLIB" >&6; }
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6155 if test -z "$ac_cv_prog_RANLIB"; then
6156 ac_ct_RANLIB=$RANLIB
6157 # Extract the first word of "ranlib", so it can be a program name with args.
6158 set dummy ranlib; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 $as_echo_n "checking for $ac_word... " >&6; }
6161 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 if test -n "$ac_ct_RANLIB"; then
6165 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6166 else
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 for as_dir in $PATH
6170 IFS=$as_save_IFS
6171 test -z "$as_dir" && as_dir=.
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6174 ac_cv_prog_ac_ct_RANLIB="ranlib"
6175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176 break 2
6178 done
6179 done
6180 IFS=$as_save_IFS
6184 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6185 if test -n "$ac_ct_RANLIB"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6187 $as_echo "$ac_ct_RANLIB" >&6; }
6188 else
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6193 if test "x$ac_ct_RANLIB" = x; then
6194 RANLIB=":"
6195 else
6196 case $cross_compiling:$ac_tool_warned in
6197 yes:)
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200 ac_tool_warned=yes ;;
6201 esac
6202 RANLIB=$ac_ct_RANLIB
6204 else
6205 RANLIB="$ac_cv_prog_RANLIB"
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6209 $as_echo_n "checking whether ln -s works... " >&6; }
6210 LN_S=$as_ln_s
6211 if test "$LN_S" = "ln -s"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6213 $as_echo "yes" >&6; }
6214 else
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6216 $as_echo "no, using $LN_S" >&6; }
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6220 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6221 if ${ac_cv_path_GREP+:} false; then :
6222 $as_echo_n "(cached) " >&6
6223 else
6224 if test -z "$GREP"; then
6225 ac_path_GREP_found=false
6226 # Loop through the user's path and test for each of PROGNAME-LIST
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6230 IFS=$as_save_IFS
6231 test -z "$as_dir" && as_dir=.
6232 for ac_prog in grep ggrep; do
6233 for ac_exec_ext in '' $ac_executable_extensions; do
6234 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6235 as_fn_executable_p "$ac_path_GREP" || continue
6236 # Check for GNU ac_path_GREP and select it if it is found.
6237 # Check for GNU $ac_path_GREP
6238 case `"$ac_path_GREP" --version 2>&1` in
6239 *GNU*)
6240 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6242 ac_count=0
6243 $as_echo_n 0123456789 >"conftest.in"
6244 while :
6246 cat "conftest.in" "conftest.in" >"conftest.tmp"
6247 mv "conftest.tmp" "conftest.in"
6248 cp "conftest.in" "conftest.nl"
6249 $as_echo 'GREP' >> "conftest.nl"
6250 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6251 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6252 as_fn_arith $ac_count + 1 && ac_count=$as_val
6253 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6254 # Best one so far, save it but keep looking for a better one
6255 ac_cv_path_GREP="$ac_path_GREP"
6256 ac_path_GREP_max=$ac_count
6258 # 10*(2^10) chars as input seems more than enough
6259 test $ac_count -gt 10 && break
6260 done
6261 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6262 esac
6264 $ac_path_GREP_found && break 3
6265 done
6266 done
6267 done
6268 IFS=$as_save_IFS
6269 if test -z "$ac_cv_path_GREP"; then
6270 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6272 else
6273 ac_cv_path_GREP=$GREP
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6278 $as_echo "$ac_cv_path_GREP" >&6; }
6279 GREP="$ac_cv_path_GREP"
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6283 $as_echo_n "checking for egrep... " >&6; }
6284 if ${ac_cv_path_EGREP+:} false; then :
6285 $as_echo_n "(cached) " >&6
6286 else
6287 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6288 then ac_cv_path_EGREP="$GREP -E"
6289 else
6290 if test -z "$EGREP"; then
6291 ac_path_EGREP_found=false
6292 # Loop through the user's path and test for each of PROGNAME-LIST
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6296 IFS=$as_save_IFS
6297 test -z "$as_dir" && as_dir=.
6298 for ac_prog in egrep; do
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6301 as_fn_executable_p "$ac_path_EGREP" || continue
6302 # Check for GNU ac_path_EGREP and select it if it is found.
6303 # Check for GNU $ac_path_EGREP
6304 case `"$ac_path_EGREP" --version 2>&1` in
6305 *GNU*)
6306 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6308 ac_count=0
6309 $as_echo_n 0123456789 >"conftest.in"
6310 while :
6312 cat "conftest.in" "conftest.in" >"conftest.tmp"
6313 mv "conftest.tmp" "conftest.in"
6314 cp "conftest.in" "conftest.nl"
6315 $as_echo 'EGREP' >> "conftest.nl"
6316 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6318 as_fn_arith $ac_count + 1 && ac_count=$as_val
6319 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6320 # Best one so far, save it but keep looking for a better one
6321 ac_cv_path_EGREP="$ac_path_EGREP"
6322 ac_path_EGREP_max=$ac_count
6324 # 10*(2^10) chars as input seems more than enough
6325 test $ac_count -gt 10 && break
6326 done
6327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6328 esac
6330 $ac_path_EGREP_found && break 3
6331 done
6332 done
6333 done
6334 IFS=$as_save_IFS
6335 if test -z "$ac_cv_path_EGREP"; then
6336 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6338 else
6339 ac_cv_path_EGREP=$EGREP
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6345 $as_echo "$ac_cv_path_EGREP" >&6; }
6346 EGREP="$ac_cv_path_EGREP"
6349 # Extract the first word of "ldconfig", so it can be a program name with args.
6350 set dummy ldconfig; ac_word=$2
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6352 $as_echo_n "checking for $ac_word... " >&6; }
6353 if ${ac_cv_path_LDCONFIG+:} false; then :
6354 $as_echo_n "(cached) " >&6
6355 else
6356 case $LDCONFIG in
6357 [\\/]* | ?:[\\/]*)
6358 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 for as_dir in /sbin /usr/sbin $PATH
6364 IFS=$as_save_IFS
6365 test -z "$as_dir" && as_dir=.
6366 for ac_exec_ext in '' $ac_executable_extensions; do
6367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6368 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 break 2
6372 done
6373 done
6374 IFS=$as_save_IFS
6376 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6378 esac
6380 LDCONFIG=$ac_cv_path_LDCONFIG
6381 if test -n "$LDCONFIG"; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6383 $as_echo "$LDCONFIG" >&6; }
6384 else
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6386 $as_echo "no" >&6; }
6390 for ac_prog in msgfmt
6392 # Extract the first word of "$ac_prog", so it can be a program name with args.
6393 set dummy $ac_prog; ac_word=$2
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6395 $as_echo_n "checking for $ac_word... " >&6; }
6396 if ${ac_cv_prog_MSGFMT+:} false; then :
6397 $as_echo_n "(cached) " >&6
6398 else
6399 if test -n "$MSGFMT"; then
6400 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6401 else
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6403 for as_dir in $PATH
6405 IFS=$as_save_IFS
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6409 ac_cv_prog_MSGFMT="$ac_prog"
6410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6411 break 2
6413 done
6414 done
6415 IFS=$as_save_IFS
6419 MSGFMT=$ac_cv_prog_MSGFMT
6420 if test -n "$MSGFMT"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6422 $as_echo "$MSGFMT" >&6; }
6423 else
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6425 $as_echo "no" >&6; }
6429 test -n "$MSGFMT" && break
6430 done
6431 test -n "$MSGFMT" || MSGFMT="false"
6433 if ${ac_tool_prefix+:} false; then :
6434 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6435 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6437 $as_echo_n "checking for $ac_word... " >&6; }
6438 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6439 $as_echo_n "(cached) " >&6
6440 else
6441 if test -n "$PKG_CONFIG"; then
6442 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6443 else
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 for as_dir in $PATH
6447 IFS=$as_save_IFS
6448 test -z "$as_dir" && as_dir=.
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6451 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 break 2
6455 done
6456 done
6457 IFS=$as_save_IFS
6461 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6462 if test -n "$PKG_CONFIG"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6464 $as_echo "$PKG_CONFIG" >&6; }
6465 else
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467 $as_echo "no" >&6; }
6472 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6473 if test "x$cross_compiling" = xyes; then :
6475 else
6476 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6477 # Extract the first word of "pkg-config", so it can be a program name with args.
6478 set dummy pkg-config; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6480 $as_echo_n "checking for $ac_word... " >&6; }
6481 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6482 $as_echo_n "(cached) " >&6
6483 else
6484 if test -n "$PKG_CONFIG"; then
6485 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6486 else
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 for as_dir in $PATH
6490 IFS=$as_save_IFS
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6494 ac_cv_prog_PKG_CONFIG="pkg-config"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 break 2
6498 done
6499 done
6500 IFS=$as_save_IFS
6504 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6505 if test -n "$PKG_CONFIG"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6507 $as_echo "$PKG_CONFIG" >&6; }
6508 else
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 $as_echo "no" >&6; }
6515 else
6516 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6519 if test "x$enable_maintainer_mode" != "xyes"
6520 then
6521 FONTFORGE=""
6522 RSVG=""
6523 CONVERT=""
6524 ICOTOOL=""
6525 else
6526 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6527 for ac_prog in fontforge
6529 # Extract the first word of "$ac_prog", so it can be a program name with args.
6530 set dummy $ac_prog; ac_word=$2
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 $as_echo_n "checking for $ac_word... " >&6; }
6533 if ${ac_cv_prog_FONTFORGE+:} false; then :
6534 $as_echo_n "(cached) " >&6
6535 else
6536 if test -n "$FONTFORGE"; then
6537 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6538 else
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 for as_dir in $PATH
6542 IFS=$as_save_IFS
6543 test -z "$as_dir" && as_dir=.
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_FONTFORGE="$ac_prog"
6547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6548 break 2
6550 done
6551 done
6552 IFS=$as_save_IFS
6556 FONTFORGE=$ac_cv_prog_FONTFORGE
6557 if test -n "$FONTFORGE"; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6559 $as_echo "$FONTFORGE" >&6; }
6560 else
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 $as_echo "no" >&6; }
6566 test -n "$FONTFORGE" && break
6567 done
6568 test -n "$FONTFORGE" || FONTFORGE="false"
6570 for ac_prog in rsvg-convert rsvg
6572 # Extract the first word of "$ac_prog", so it can be a program name with args.
6573 set dummy $ac_prog; ac_word=$2
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6575 $as_echo_n "checking for $ac_word... " >&6; }
6576 if ${ac_cv_prog_RSVG+:} false; then :
6577 $as_echo_n "(cached) " >&6
6578 else
6579 if test -n "$RSVG"; then
6580 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6581 else
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6583 for as_dir in $PATH
6585 IFS=$as_save_IFS
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6589 ac_cv_prog_RSVG="$ac_prog"
6590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6591 break 2
6593 done
6594 done
6595 IFS=$as_save_IFS
6599 RSVG=$ac_cv_prog_RSVG
6600 if test -n "$RSVG"; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6602 $as_echo "$RSVG" >&6; }
6603 else
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6605 $as_echo "no" >&6; }
6609 test -n "$RSVG" && break
6610 done
6611 test -n "$RSVG" || RSVG="false"
6613 for ac_prog in convert
6615 # Extract the first word of "$ac_prog", so it can be a program name with args.
6616 set dummy $ac_prog; ac_word=$2
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6618 $as_echo_n "checking for $ac_word... " >&6; }
6619 if ${ac_cv_prog_CONVERT+:} false; then :
6620 $as_echo_n "(cached) " >&6
6621 else
6622 if test -n "$CONVERT"; then
6623 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6624 else
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 for as_dir in $PATH
6628 IFS=$as_save_IFS
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6632 ac_cv_prog_CONVERT="$ac_prog"
6633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6634 break 2
6636 done
6637 done
6638 IFS=$as_save_IFS
6642 CONVERT=$ac_cv_prog_CONVERT
6643 if test -n "$CONVERT"; then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6645 $as_echo "$CONVERT" >&6; }
6646 else
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6648 $as_echo "no" >&6; }
6652 test -n "$CONVERT" && break
6653 done
6654 test -n "$CONVERT" || CONVERT="false"
6656 for ac_prog in icotool
6658 # Extract the first word of "$ac_prog", so it can be a program name with args.
6659 set dummy $ac_prog; ac_word=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if ${ac_cv_prog_ICOTOOL+:} false; then :
6663 $as_echo_n "(cached) " >&6
6664 else
6665 if test -n "$ICOTOOL"; then
6666 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6667 else
6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 for as_dir in $PATH
6671 IFS=$as_save_IFS
6672 test -z "$as_dir" && as_dir=.
6673 for ac_exec_ext in '' $ac_executable_extensions; do
6674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6675 ac_cv_prog_ICOTOOL="$ac_prog"
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677 break 2
6679 done
6680 done
6681 IFS=$as_save_IFS
6685 ICOTOOL=$ac_cv_prog_ICOTOOL
6686 if test -n "$ICOTOOL"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6688 $as_echo "$ICOTOOL" >&6; }
6689 else
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6695 test -n "$ICOTOOL" && break
6696 done
6697 test -n "$ICOTOOL" || ICOTOOL="false"
6699 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6700 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6702 if test "$CONVERT" = false
6703 then
6704 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6705 else
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6707 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6708 convert_version=`convert --version | head -n1`
6709 if test "x$convert_version" != "x"
6710 then
6711 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6712 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6713 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6714 then
6715 CONVERT=false
6718 if test "$CONVERT" = false
6719 then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6721 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6722 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6723 else
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6725 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6729 if test "$ICOTOOL" = false
6730 then
6731 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6732 else
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6734 $as_echo_n "checking for recent enough icotool... " >&6; }
6735 icotool_version=`icotool --version | head -n1`
6736 if test "x$icotool_version" != "x"
6737 then
6738 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6739 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6740 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6741 then
6742 ICOTOOL=false
6743 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6746 if test "$ICOTOOL" = false
6747 then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6749 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6750 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6751 else
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6753 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6757 with_gettext=yes
6758 with_gettextpo=yes
6761 test "x$with_gettext" != xno || MSGFMT=false
6762 if test "$MSGFMT" != "false"
6763 then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6765 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6766 if ${wine_cv_msgfmt_contexts+:} false; then :
6767 $as_echo_n "(cached) " >&6
6768 else
6769 cat >conftest.po <<EOF
6770 # comment
6771 msgctxt "ctxt"
6772 msgid "id"
6773 msgstr "str"
6775 if $MSGFMT -o /dev/null conftest.po 2>&5
6776 then
6777 wine_cv_msgfmt_contexts=yes
6778 else
6779 wine_cv_msgfmt_contexts=no
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6783 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6784 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6786 if test "$MSGFMT" = false; then :
6787 case "x$with_gettext" in
6788 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6789 xno) ;;
6790 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6791 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6792 esac
6793 enable_po=${enable_po:-no}
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6798 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6799 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6800 $as_echo_n "(cached) " >&6
6801 else
6802 ac_check_lib_save_LIBS=$LIBS
6803 LIBS="-li386 $LIBS"
6804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6805 /* end confdefs.h. */
6807 /* Override any GCC internal prototype to avoid an error.
6808 Use char because int might match the return type of a GCC
6809 builtin and then its argument prototype would still apply. */
6810 #ifdef __cplusplus
6811 extern "C"
6812 #endif
6813 char i386_set_ldt ();
6815 main ()
6817 return i386_set_ldt ();
6819 return 0;
6821 _ACEOF
6822 if ac_fn_c_try_link "$LINENO"; then :
6823 ac_cv_lib_i386_i386_set_ldt=yes
6824 else
6825 ac_cv_lib_i386_i386_set_ldt=no
6827 rm -f core conftest.err conftest.$ac_objext \
6828 conftest$ac_exeext conftest.$ac_ext
6829 LIBS=$ac_check_lib_save_LIBS
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6832 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6833 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6834 cat >>confdefs.h <<_ACEOF
6835 #define HAVE_LIBI386 1
6836 _ACEOF
6838 LIBS="-li386 $LIBS"
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6843 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6844 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6845 $as_echo_n "(cached) " >&6
6846 else
6847 ac_check_lib_save_LIBS=$LIBS
6848 LIBS="-lossaudio $LIBS"
6849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6850 /* end confdefs.h. */
6852 /* Override any GCC internal prototype to avoid an error.
6853 Use char because int might match the return type of a GCC
6854 builtin and then its argument prototype would still apply. */
6855 #ifdef __cplusplus
6856 extern "C"
6857 #endif
6858 char _oss_ioctl ();
6860 main ()
6862 return _oss_ioctl ();
6864 return 0;
6866 _ACEOF
6867 if ac_fn_c_try_link "$LINENO"; then :
6868 ac_cv_lib_ossaudio__oss_ioctl=yes
6869 else
6870 ac_cv_lib_ossaudio__oss_ioctl=no
6872 rm -f core conftest.err conftest.$ac_objext \
6873 conftest$ac_exeext conftest.$ac_ext
6874 LIBS=$ac_check_lib_save_LIBS
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6877 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6878 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6879 cat >>confdefs.h <<_ACEOF
6880 #define HAVE_LIBOSSAUDIO 1
6881 _ACEOF
6883 LIBS="-lossaudio $LIBS"
6888 OPENGL_LIBS=""
6892 # Check whether --enable-largefile was given.
6893 if test "${enable_largefile+set}" = set; then :
6894 enableval=$enable_largefile;
6897 if test "$enable_largefile" != no; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6900 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6901 if ${ac_cv_sys_largefile_CC+:} false; then :
6902 $as_echo_n "(cached) " >&6
6903 else
6904 ac_cv_sys_largefile_CC=no
6905 if test "$GCC" != yes; then
6906 ac_save_CC=$CC
6907 while :; do
6908 # IRIX 6.2 and later do not support large files by default,
6909 # so use the C compiler's -n32 option if that helps.
6910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h. */
6912 #include <sys/types.h>
6913 /* Check that off_t can represent 2**63 - 1 correctly.
6914 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6915 since some C++ compilers masquerading as C compilers
6916 incorrectly reject 9223372036854775807. */
6917 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6918 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6919 && LARGE_OFF_T % 2147483647 == 1)
6920 ? 1 : -1];
6922 main ()
6926 return 0;
6928 _ACEOF
6929 if ac_fn_c_try_compile "$LINENO"; then :
6930 break
6932 rm -f core conftest.err conftest.$ac_objext
6933 CC="$CC -n32"
6934 if ac_fn_c_try_compile "$LINENO"; then :
6935 ac_cv_sys_largefile_CC=' -n32'; break
6937 rm -f core conftest.err conftest.$ac_objext
6938 break
6939 done
6940 CC=$ac_save_CC
6941 rm -f conftest.$ac_ext
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6945 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6946 if test "$ac_cv_sys_largefile_CC" != no; then
6947 CC=$CC$ac_cv_sys_largefile_CC
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6951 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6952 if ${ac_cv_sys_file_offset_bits+:} false; then :
6953 $as_echo_n "(cached) " >&6
6954 else
6955 while :; do
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6958 #include <sys/types.h>
6959 /* Check that off_t can represent 2**63 - 1 correctly.
6960 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6961 since some C++ compilers masquerading as C compilers
6962 incorrectly reject 9223372036854775807. */
6963 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6964 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6965 && LARGE_OFF_T % 2147483647 == 1)
6966 ? 1 : -1];
6968 main ()
6972 return 0;
6974 _ACEOF
6975 if ac_fn_c_try_compile "$LINENO"; then :
6976 ac_cv_sys_file_offset_bits=no; break
6978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6981 #define _FILE_OFFSET_BITS 64
6982 #include <sys/types.h>
6983 /* Check that off_t can represent 2**63 - 1 correctly.
6984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6985 since some C++ compilers masquerading as C compilers
6986 incorrectly reject 9223372036854775807. */
6987 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6989 && LARGE_OFF_T % 2147483647 == 1)
6990 ? 1 : -1];
6992 main ()
6996 return 0;
6998 _ACEOF
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000 ac_cv_sys_file_offset_bits=64; break
7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7003 ac_cv_sys_file_offset_bits=unknown
7004 break
7005 done
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7008 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7009 case $ac_cv_sys_file_offset_bits in #(
7010 no | unknown) ;;
7012 cat >>confdefs.h <<_ACEOF
7013 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7014 _ACEOF
7016 esac
7017 rm -rf conftest*
7018 if test $ac_cv_sys_file_offset_bits = unknown; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7020 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7021 if ${ac_cv_sys_large_files+:} false; then :
7022 $as_echo_n "(cached) " >&6
7023 else
7024 while :; do
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7027 #include <sys/types.h>
7028 /* Check that off_t can represent 2**63 - 1 correctly.
7029 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7030 since some C++ compilers masquerading as C compilers
7031 incorrectly reject 9223372036854775807. */
7032 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7033 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7034 && LARGE_OFF_T % 2147483647 == 1)
7035 ? 1 : -1];
7037 main ()
7041 return 0;
7043 _ACEOF
7044 if ac_fn_c_try_compile "$LINENO"; then :
7045 ac_cv_sys_large_files=no; break
7047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 #define _LARGE_FILES 1
7051 #include <sys/types.h>
7052 /* Check that off_t can represent 2**63 - 1 correctly.
7053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7054 since some C++ compilers masquerading as C compilers
7055 incorrectly reject 9223372036854775807. */
7056 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7058 && LARGE_OFF_T % 2147483647 == 1)
7059 ? 1 : -1];
7061 main ()
7065 return 0;
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_sys_large_files=1; break
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 ac_cv_sys_large_files=unknown
7073 break
7074 done
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7077 $as_echo "$ac_cv_sys_large_files" >&6; }
7078 case $ac_cv_sys_large_files in #(
7079 no | unknown) ;;
7081 cat >>confdefs.h <<_ACEOF
7082 #define _LARGE_FILES $ac_cv_sys_large_files
7083 _ACEOF
7085 esac
7086 rm -rf conftest*
7093 ac_ext=c
7094 ac_cpp='$CPP $CPPFLAGS'
7095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7099 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7100 # On Suns, sometimes $CPP names a directory.
7101 if test -n "$CPP" && test -d "$CPP"; then
7102 CPP=
7104 if test -z "$CPP"; then
7105 if ${ac_cv_prog_CPP+:} false; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 # Double quotes because CPP needs to be expanded
7109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7111 ac_preproc_ok=false
7112 for ac_c_preproc_warn_flag in '' yes
7114 # Use a header file that comes with gcc, so configuring glibc
7115 # with a fresh cross-compiler works.
7116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 # <limits.h> exists even on freestanding compilers.
7118 # On the NeXT, cc -E runs the code through the compiler's parser,
7119 # not just through cpp. "Syntax error" is here to catch this case.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #ifdef __STDC__
7123 # include <limits.h>
7124 #else
7125 # include <assert.h>
7126 #endif
7127 Syntax error
7128 _ACEOF
7129 if ac_fn_c_try_cpp "$LINENO"; then :
7131 else
7132 # Broken: fails on valid input.
7133 continue
7135 rm -f conftest.err conftest.i conftest.$ac_ext
7137 # OK, works on sane cases. Now check whether nonexistent headers
7138 # can be detected and how.
7139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7140 /* end confdefs.h. */
7141 #include <ac_nonexistent.h>
7142 _ACEOF
7143 if ac_fn_c_try_cpp "$LINENO"; then :
7144 # Broken: success on invalid input.
7145 continue
7146 else
7147 # Passes both tests.
7148 ac_preproc_ok=:
7149 break
7151 rm -f conftest.err conftest.i conftest.$ac_ext
7153 done
7154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7155 rm -f conftest.i conftest.err conftest.$ac_ext
7156 if $ac_preproc_ok; then :
7157 break
7160 done
7161 ac_cv_prog_CPP=$CPP
7164 CPP=$ac_cv_prog_CPP
7165 else
7166 ac_cv_prog_CPP=$CPP
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7169 $as_echo "$CPP" >&6; }
7170 ac_preproc_ok=false
7171 for ac_c_preproc_warn_flag in '' yes
7173 # Use a header file that comes with gcc, so configuring glibc
7174 # with a fresh cross-compiler works.
7175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7176 # <limits.h> exists even on freestanding compilers.
7177 # On the NeXT, cc -E runs the code through the compiler's parser,
7178 # not just through cpp. "Syntax error" is here to catch this case.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7181 #ifdef __STDC__
7182 # include <limits.h>
7183 #else
7184 # include <assert.h>
7185 #endif
7186 Syntax error
7187 _ACEOF
7188 if ac_fn_c_try_cpp "$LINENO"; then :
7190 else
7191 # Broken: fails on valid input.
7192 continue
7194 rm -f conftest.err conftest.i conftest.$ac_ext
7196 # OK, works on sane cases. Now check whether nonexistent headers
7197 # can be detected and how.
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7200 #include <ac_nonexistent.h>
7201 _ACEOF
7202 if ac_fn_c_try_cpp "$LINENO"; then :
7203 # Broken: success on invalid input.
7204 continue
7205 else
7206 # Passes both tests.
7207 ac_preproc_ok=:
7208 break
7210 rm -f conftest.err conftest.i conftest.$ac_ext
7212 done
7213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7214 rm -f conftest.i conftest.err conftest.$ac_ext
7215 if $ac_preproc_ok; then :
7217 else
7218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7220 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7221 See \`config.log' for more details" "$LINENO" 5; }
7224 ac_ext=c
7225 ac_cpp='$CPP $CPPFLAGS'
7226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7232 $as_echo_n "checking for ANSI C header files... " >&6; }
7233 if ${ac_cv_header_stdc+:} false; then :
7234 $as_echo_n "(cached) " >&6
7235 else
7236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7237 /* end confdefs.h. */
7238 #include <stdlib.h>
7239 #include <stdarg.h>
7240 #include <string.h>
7241 #include <float.h>
7244 main ()
7248 return 0;
7250 _ACEOF
7251 if ac_fn_c_try_compile "$LINENO"; then :
7252 ac_cv_header_stdc=yes
7253 else
7254 ac_cv_header_stdc=no
7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7258 if test $ac_cv_header_stdc = yes; then
7259 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 #include <string.h>
7264 _ACEOF
7265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7266 $EGREP "memchr" >/dev/null 2>&1; then :
7268 else
7269 ac_cv_header_stdc=no
7271 rm -f conftest*
7275 if test $ac_cv_header_stdc = yes; then
7276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7279 #include <stdlib.h>
7281 _ACEOF
7282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7283 $EGREP "free" >/dev/null 2>&1; then :
7285 else
7286 ac_cv_header_stdc=no
7288 rm -f conftest*
7292 if test $ac_cv_header_stdc = yes; then
7293 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7294 if test "$cross_compiling" = yes; then :
7296 else
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7299 #include <ctype.h>
7300 #include <stdlib.h>
7301 #if ((' ' & 0x0FF) == 0x020)
7302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7304 #else
7305 # define ISLOWER(c) \
7306 (('a' <= (c) && (c) <= 'i') \
7307 || ('j' <= (c) && (c) <= 'r') \
7308 || ('s' <= (c) && (c) <= 'z'))
7309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7310 #endif
7312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7314 main ()
7316 int i;
7317 for (i = 0; i < 256; i++)
7318 if (XOR (islower (i), ISLOWER (i))
7319 || toupper (i) != TOUPPER (i))
7320 return 2;
7321 return 0;
7323 _ACEOF
7324 if ac_fn_c_try_run "$LINENO"; then :
7326 else
7327 ac_cv_header_stdc=no
7329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7330 conftest.$ac_objext conftest.beam conftest.$ac_ext
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7336 $as_echo "$ac_cv_header_stdc" >&6; }
7337 if test $ac_cv_header_stdc = yes; then
7339 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7343 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7344 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7345 inttypes.h stdint.h unistd.h
7346 do :
7347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7351 cat >>confdefs.h <<_ACEOF
7352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7353 _ACEOF
7357 done
7360 for ac_header in \
7361 AL/al.h \
7362 ApplicationServices/ApplicationServices.h \
7363 AudioToolbox/AudioConverter.h \
7364 AudioUnit/AudioUnit.h \
7365 AudioUnit/AudioComponent.h \
7366 CL/cl.h \
7367 Carbon/Carbon.h \
7368 CommonCrypto/CommonCryptor.h \
7369 CoreAudio/CoreAudio.h \
7370 CoreServices/CoreServices.h \
7371 DiskArbitration/DiskArbitration.h \
7372 EGL/egl.h \
7373 IOKit/IOKitLib.h \
7374 IOKit/hid/IOHIDLib.h \
7375 OpenAL/al.h \
7376 OpenCL/opencl.h \
7377 QuickTime/ImageCompression.h \
7378 Security/Security.h \
7379 alias.h \
7380 arpa/inet.h \
7381 arpa/nameser.h \
7382 asm/types.h \
7383 asm/user.h \
7384 curses.h \
7385 dirent.h \
7386 dlfcn.h \
7387 elf.h \
7388 float.h \
7389 fnmatch.h \
7390 getopt.h \
7391 gettext-po.h \
7392 grp.h \
7393 gsm.h \
7394 gsm/gsm.h \
7395 ieeefp.h \
7396 inet/mib2.h \
7397 kstat.h \
7398 libproc.h \
7399 link.h \
7400 linux/cdrom.h \
7401 linux/compiler.h \
7402 linux/filter.h \
7403 linux/hdreg.h \
7404 linux/hidraw.h \
7405 linux/input.h \
7406 linux/ioctl.h \
7407 linux/joystick.h \
7408 linux/major.h \
7409 linux/param.h \
7410 linux/serial.h \
7411 linux/types.h \
7412 linux/ucdrom.h \
7413 lwp.h \
7414 mach-o/nlist.h \
7415 mach-o/loader.h \
7416 mach/mach.h \
7417 mach/machine.h \
7418 machine/cpu.h \
7419 machine/limits.h \
7420 machine/sysarch.h \
7421 mntent.h \
7422 ncurses.h \
7423 netdb.h \
7424 netinet/in.h \
7425 netinet/in_systm.h \
7426 netinet/tcp.h \
7427 netinet/tcp_fsm.h \
7428 pcap/pcap.h \
7429 poll.h \
7430 port.h \
7431 pthread.h \
7432 pwd.h \
7433 sched.h \
7434 scsi/scsi.h \
7435 scsi/scsi_ioctl.h \
7436 scsi/sg.h \
7437 stdbool.h \
7438 stdint.h \
7439 stropts.h \
7440 sys/attr.h \
7441 sys/auxv.h \
7442 sys/cdio.h \
7443 sys/elf32.h \
7444 sys/epoll.h \
7445 sys/event.h \
7446 sys/exec_elf.h \
7447 sys/filio.h \
7448 sys/ioctl.h \
7449 sys/ipc.h \
7450 sys/limits.h \
7451 sys/link.h \
7452 sys/mman.h \
7453 sys/modem.h \
7454 sys/msg.h \
7455 sys/mtio.h \
7456 sys/param.h \
7457 sys/poll.h \
7458 sys/prctl.h \
7459 sys/protosw.h \
7460 sys/ptrace.h \
7461 sys/queue.h \
7462 sys/resource.h \
7463 sys/scsiio.h \
7464 sys/shm.h \
7465 sys/signal.h \
7466 sys/socket.h \
7467 sys/socketvar.h \
7468 sys/sockio.h \
7469 sys/statvfs.h \
7470 sys/strtio.h \
7471 sys/syscall.h \
7472 sys/sysinfo.h \
7473 sys/tihdr.h \
7474 sys/time.h \
7475 sys/timeout.h \
7476 sys/times.h \
7477 sys/uio.h \
7478 sys/user.h \
7479 sys/utsname.h \
7480 sys/vnode.h \
7481 sys/wait.h \
7482 syscall.h \
7483 termios.h \
7484 unistd.h \
7485 utime.h \
7486 valgrind/memcheck.h \
7487 valgrind/valgrind.h
7489 do :
7490 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7491 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7492 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7493 cat >>confdefs.h <<_ACEOF
7494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7495 _ACEOF
7499 done
7501 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7502 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7504 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7509 if test $ac_cv_header_sys_mkdev_h = no; then
7510 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7511 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7513 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7520 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7521 if ${ac_cv_header_stat_broken+:} false; then :
7522 $as_echo_n "(cached) " >&6
7523 else
7524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7525 /* end confdefs.h. */
7526 #include <sys/types.h>
7527 #include <sys/stat.h>
7529 #if defined S_ISBLK && defined S_IFDIR
7530 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7531 #endif
7533 #if defined S_ISBLK && defined S_IFCHR
7534 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7535 #endif
7537 #if defined S_ISLNK && defined S_IFREG
7538 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7539 #endif
7541 #if defined S_ISSOCK && defined S_IFREG
7542 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7543 #endif
7545 _ACEOF
7546 if ac_fn_c_try_compile "$LINENO"; then :
7547 ac_cv_header_stat_broken=no
7548 else
7549 ac_cv_header_stat_broken=yes
7551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7554 $as_echo "$ac_cv_header_stat_broken" >&6; }
7555 if test $ac_cv_header_stat_broken = yes; then
7557 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7563 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7564 do :
7565 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7566 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7567 #ifdef HAVE_SYS_PARAM_H
7568 # include <sys/param.h>
7569 #endif
7571 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7572 cat >>confdefs.h <<_ACEOF
7573 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7574 _ACEOF
7578 done
7581 for ac_header in \
7582 netinet/ip.h \
7583 net/if.h \
7584 net/if_arp.h \
7585 net/if_dl.h \
7586 net/if_types.h \
7587 net/route.h \
7588 netinet/if_ether.h \
7589 netinet/if_inarp.h \
7590 netinet/in_pcb.h \
7591 netinet/ip_icmp.h \
7592 netinet/ip_var.h \
7593 netinet/udp.h \
7594 netipx/ipx.h \
7595 sys/un.h \
7597 do :
7598 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7599 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7600 #ifdef HAVE_SYS_SOCKET_H
7601 # include <sys/socket.h>
7602 #endif
7603 #ifdef HAVE_SYS_SOCKETVAR_H
7604 # include <sys/socketvar.h>
7605 #endif
7606 #ifdef HAVE_NET_ROUTE_H
7607 # include <net/route.h>
7608 #endif
7609 #ifdef HAVE_NETINET_IN_H
7610 # include <netinet/in.h>
7611 #endif
7612 #ifdef HAVE_NETINET_IN_SYSTM_H
7613 # include <netinet/in_systm.h>
7614 #endif
7615 #ifdef HAVE_NET_IF_H
7616 # include <net/if.h>
7617 #endif
7618 #ifdef HAVE_NETINET_IP_H
7619 # include <netinet/ip.h>
7620 #endif
7622 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7623 cat >>confdefs.h <<_ACEOF
7624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7625 _ACEOF
7629 done
7632 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7633 do :
7634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7635 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7636 #ifdef HAVE_ALIAS_H
7637 # include <alias.h>
7638 #endif
7639 #ifdef HAVE_SYS_SOCKET_H
7640 # include <sys/socket.h>
7641 #endif
7642 #ifdef HAVE_SYS_SOCKETVAR_H
7643 # include <sys/socketvar.h>
7644 #endif
7645 #ifdef HAVE_SYS_TIMEOUT_H
7646 # include <sys/timeout.h>
7647 #endif
7648 #ifdef HAVE_NETINET_IN_H
7649 # include <netinet/in.h>
7650 #endif
7651 #ifdef HAVE_NETINET_IN_SYSTM_H
7652 # include <netinet/in_systm.h>
7653 #endif
7654 #ifdef HAVE_NETINET_IP_H
7655 # include <netinet/ip.h>
7656 #endif
7657 #ifdef HAVE_NETINET_IP_VAR_H
7658 # include <netinet/ip_var.h>
7659 #endif
7660 #ifdef HAVE_NETINET_IP_ICMP_H
7661 # include <netinet/ip_icmp.h>
7662 #endif
7663 #ifdef HAVE_NETINET_UDP_H
7664 # include <netinet/udp.h>
7665 #endif
7666 #ifdef HAVE_NETINET_TCP_H
7667 # include <netinet/tcp.h>
7668 #endif
7669 #ifdef HAVE_NETINET_TCP_TIMER_H
7670 #include <netinet/tcp_timer.h>
7671 #endif
7673 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7674 cat >>confdefs.h <<_ACEOF
7675 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7676 _ACEOF
7680 done
7683 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7684 do :
7685 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7686 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7687 #ifdef HAVE_ASM_TYPES_H
7688 # include <asm/types.h>
7689 #endif
7690 #ifdef HAVE_SYS_SOCKET_H
7691 # include <sys/socket.h>
7692 #endif
7693 #ifdef HAVE_LINUX_TYPES_H
7694 # include <linux/types.h>
7695 #endif
7697 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7698 cat >>confdefs.h <<_ACEOF
7699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7700 _ACEOF
7704 done
7707 for ac_header in mach-o/dyld_images.h
7708 do :
7709 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7710 # include <stdbool.h>
7711 #endif
7712 #ifdef HAVE_STDINT_H
7713 # include <stdint.h>
7714 #endif
7716 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7717 cat >>confdefs.h <<_ACEOF
7718 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7719 _ACEOF
7723 done
7726 for ac_header in resolv.h
7727 do :
7728 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7729 #ifdef HAVE_SYS_SOCKET_H
7730 # include <sys/socket.h>
7731 #endif
7732 #ifdef HAVE_NETINET_IN_H
7733 # include <netinet/in.h>
7734 #endif
7735 #ifdef HAVE_ARPA_NAMESER_H
7736 # include <arpa/nameser.h>
7737 #endif
7739 if test "x$ac_cv_header_resolv_h" = xyes; then :
7740 cat >>confdefs.h <<_ACEOF
7741 #define HAVE_RESOLV_H 1
7742 _ACEOF
7746 done
7749 for ac_header in ifaddrs.h
7750 do :
7751 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7753 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7754 cat >>confdefs.h <<_ACEOF
7755 #define HAVE_IFADDRS_H 1
7756 _ACEOF
7760 done
7763 for ac_header in sys/ucontext.h
7764 do :
7765 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7767 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_SYS_UCONTEXT_H 1
7770 _ACEOF
7774 done
7777 for ac_header in sys/thr.h
7778 do :
7779 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7780 #ifdef HAVE_SYS_UCONTEXT_H
7781 #include <sys/ucontext.h>
7782 #endif
7784 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_SYS_THR_H 1
7787 _ACEOF
7791 done
7794 for ac_header in pthread_np.h
7795 do :
7796 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7797 #include <pthread.h>
7798 #endif
7800 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7801 cat >>confdefs.h <<_ACEOF
7802 #define HAVE_PTHREAD_NP_H 1
7803 _ACEOF
7807 done
7810 for ac_header in linux/videodev2.h
7811 do :
7812 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7813 #include <sys/time.h>
7814 #endif
7815 #include <sys/types.h>
7816 #ifdef HAVE_ASM_TYPES_H
7817 #include <asm/types.h>
7818 #endif
7820 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_LINUX_VIDEODEV2_H 1
7823 _ACEOF
7827 done
7830 for ac_header in libprocstat.h
7831 do :
7832 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7833 #include <sys/param.h>
7834 #endif
7835 #ifdef HAVE_SYS_QUEUE_H
7836 #include <sys/queue.h>
7837 #endif
7838 #ifdef HAVE_SYS_SOCKET_H
7839 #include <sys/socket.h>
7840 #endif
7842 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7843 cat >>confdefs.h <<_ACEOF
7844 #define HAVE_LIBPROCSTAT_H 1
7845 _ACEOF
7849 done
7853 DLLFLAGS="-D_REENTRANT"
7855 LDRPATH_INSTALL=""
7857 LDRPATH_LOCAL=""
7859 LDDLLFLAGS=""
7861 LDEXECFLAGS=""
7863 TOP_INSTALL_LIB=""
7865 TOP_INSTALL_DEV=""
7867 WINELOADER_LDFLAGS=""
7869 WINEPRELOADER_LDFLAGS=""
7871 LIBEXT="so"
7872 DLLEXT=".so"
7873 # Extract the first word of "ldd", so it can be a program name with args.
7874 set dummy ldd; ac_word=$2
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7876 $as_echo_n "checking for $ac_word... " >&6; }
7877 if ${ac_cv_path_LDD+:} false; then :
7878 $as_echo_n "(cached) " >&6
7879 else
7880 case $LDD in
7881 [\\/]* | ?:[\\/]*)
7882 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 as_dummy="/sbin:/usr/sbin:$PATH"
7887 for as_dir in $as_dummy
7889 IFS=$as_save_IFS
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 break 2
7897 done
7898 done
7899 IFS=$as_save_IFS
7901 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7903 esac
7905 LDD=$ac_cv_path_LDD
7906 if test -n "$LDD"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7908 $as_echo "$LDD" >&6; }
7909 else
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7915 if test -n "$ac_tool_prefix"; then
7916 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7917 set dummy ${ac_tool_prefix}otool; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_OTOOL+:} false; then :
7921 $as_echo_n "(cached) " >&6
7922 else
7923 if test -n "$OTOOL"; then
7924 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7929 IFS=$as_save_IFS
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 break 2
7937 done
7938 done
7939 IFS=$as_save_IFS
7943 OTOOL=$ac_cv_prog_OTOOL
7944 if test -n "$OTOOL"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7946 $as_echo "$OTOOL" >&6; }
7947 else
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7954 if test -z "$ac_cv_prog_OTOOL"; then
7955 ac_ct_OTOOL=$OTOOL
7956 # Extract the first word of "otool", so it can be a program name with args.
7957 set dummy otool; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7961 $as_echo_n "(cached) " >&6
7962 else
7963 if test -n "$ac_ct_OTOOL"; then
7964 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7965 else
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 for as_dir in $PATH
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_prog_ac_ct_OTOOL="otool"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7977 done
7978 done
7979 IFS=$as_save_IFS
7983 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7984 if test -n "$ac_ct_OTOOL"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7986 $as_echo "$ac_ct_OTOOL" >&6; }
7987 else
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7992 if test "x$ac_ct_OTOOL" = x; then
7993 OTOOL="otool"
7994 else
7995 case $cross_compiling:$ac_tool_warned in
7996 yes:)
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7999 ac_tool_warned=yes ;;
8000 esac
8001 OTOOL=$ac_ct_OTOOL
8003 else
8004 OTOOL="$ac_cv_prog_OTOOL"
8007 if test -n "$ac_tool_prefix"; then
8008 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8009 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_READELF+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$READELF"; then
8016 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8017 else
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8021 IFS=$as_save_IFS
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 break 2
8029 done
8030 done
8031 IFS=$as_save_IFS
8035 READELF=$ac_cv_prog_READELF
8036 if test -n "$READELF"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8038 $as_echo "$READELF" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8046 if test -z "$ac_cv_prog_READELF"; then
8047 ac_ct_READELF=$READELF
8048 # Extract the first word of "readelf", so it can be a program name with args.
8049 set dummy readelf; ac_word=$2
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8051 $as_echo_n "checking for $ac_word... " >&6; }
8052 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8053 $as_echo_n "(cached) " >&6
8054 else
8055 if test -n "$ac_ct_READELF"; then
8056 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8057 else
8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059 for as_dir in $PATH
8061 IFS=$as_save_IFS
8062 test -z "$as_dir" && as_dir=.
8063 for ac_exec_ext in '' $ac_executable_extensions; do
8064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8065 ac_cv_prog_ac_ct_READELF="readelf"
8066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8067 break 2
8069 done
8070 done
8071 IFS=$as_save_IFS
8075 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8076 if test -n "$ac_ct_READELF"; then
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8078 $as_echo "$ac_ct_READELF" >&6; }
8079 else
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8081 $as_echo "no" >&6; }
8084 if test "x$ac_ct_READELF" = x; then
8085 READELF="true"
8086 else
8087 case $cross_compiling:$ac_tool_warned in
8088 yes:)
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8091 ac_tool_warned=yes ;;
8092 esac
8093 READELF=$ac_ct_READELF
8095 else
8096 READELF="$ac_cv_prog_READELF"
8099 wine_rules_file=conf$$rules.make
8100 rm -f $wine_rules_file
8101 SUBDIRS=""
8103 DISABLED_SUBDIRS=""
8105 CONFIGURE_TARGETS=""
8108 wine_fn_append_file ()
8110 as_fn_append $1 " \\$as_nl $2"
8113 wine_fn_append_rule ()
8115 $as_echo "$1" >>$wine_rules_file
8118 wine_fn_config_makefile ()
8120 wine_fn_append_file SUBDIRS $1
8121 if eval test \"x\$"$2"\" = x"no"; then :
8122 wine_fn_append_file DISABLED_SUBDIRS $1
8126 wine_fn_config_symlink ()
8128 ac_links=$@
8129 wine_fn_append_rule \
8130 "$ac_links:
8131 @./config.status \$@"
8132 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8135 wine_binary="wine"
8136 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8137 WINELOADER_PROGRAMS="$wine_binary"
8139 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8141 case $host_os in
8142 cygwin*|mingw32*)
8143 if test -n "$ac_tool_prefix"; then
8144 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8145 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8147 $as_echo_n "checking for $ac_word... " >&6; }
8148 if ${ac_cv_prog_DLLTOOL+:} false; then :
8149 $as_echo_n "(cached) " >&6
8150 else
8151 if test -n "$DLLTOOL"; then
8152 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8153 else
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8155 for as_dir in $PATH
8157 IFS=$as_save_IFS
8158 test -z "$as_dir" && as_dir=.
8159 for ac_exec_ext in '' $ac_executable_extensions; do
8160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8161 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163 break 2
8165 done
8166 done
8167 IFS=$as_save_IFS
8171 DLLTOOL=$ac_cv_prog_DLLTOOL
8172 if test -n "$DLLTOOL"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8174 $as_echo "$DLLTOOL" >&6; }
8175 else
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8182 if test -z "$ac_cv_prog_DLLTOOL"; then
8183 ac_ct_DLLTOOL=$DLLTOOL
8184 # Extract the first word of "dlltool", so it can be a program name with args.
8185 set dummy dlltool; ac_word=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8187 $as_echo_n "checking for $ac_word... " >&6; }
8188 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8189 $as_echo_n "(cached) " >&6
8190 else
8191 if test -n "$ac_ct_DLLTOOL"; then
8192 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8193 else
8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8195 for as_dir in $PATH
8197 IFS=$as_save_IFS
8198 test -z "$as_dir" && as_dir=.
8199 for ac_exec_ext in '' $ac_executable_extensions; do
8200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8201 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8203 break 2
8205 done
8206 done
8207 IFS=$as_save_IFS
8211 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8212 if test -n "$ac_ct_DLLTOOL"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8214 $as_echo "$ac_ct_DLLTOOL" >&6; }
8215 else
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217 $as_echo "no" >&6; }
8220 if test "x$ac_ct_DLLTOOL" = x; then
8221 DLLTOOL="false"
8222 else
8223 case $cross_compiling:$ac_tool_warned in
8224 yes:)
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8227 ac_tool_warned=yes ;;
8228 esac
8229 DLLTOOL=$ac_ct_DLLTOOL
8231 else
8232 DLLTOOL="$ac_cv_prog_DLLTOOL"
8235 LIBEXT="dll"
8236 DLLEXT=""
8237 case $host_cpu in
8238 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8239 esac
8240 enable_iphlpapi=${enable_iphlpapi:-no}
8241 enable_kernel32=${enable_kernel32:-no}
8242 enable_ntdll=${enable_ntdll:-no}
8243 enable_ws2_32=${enable_ws2_32:-no}
8244 enable_loader=${enable_loader:-no}
8245 enable_server=${enable_server:-no}
8246 with_x=${with_x:-no}
8247 with_pthread=${with_pthread:-no}
8250 darwin*|macosx*)
8251 for ac_header in libunwind.h
8252 do :
8253 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8255 cat >>confdefs.h <<_ACEOF
8256 #define HAVE_LIBUNWIND_H 1
8257 _ACEOF
8261 done
8263 ac_ext=m
8264 ac_cpp='$OBJCPP $CPPFLAGS'
8265 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8266 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8267 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8269 ac_ext=m
8270 ac_cpp='$OBJCPP $CPPFLAGS'
8271 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8272 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8273 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8274 if test -n "$ac_tool_prefix"; then
8275 for ac_prog in gcc objcc objc cc CC
8277 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8278 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8280 $as_echo_n "checking for $ac_word... " >&6; }
8281 if ${ac_cv_prog_OBJC+:} false; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 if test -n "$OBJC"; then
8285 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8286 else
8287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8288 for as_dir in $PATH
8290 IFS=$as_save_IFS
8291 test -z "$as_dir" && as_dir=.
8292 for ac_exec_ext in '' $ac_executable_extensions; do
8293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8294 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8296 break 2
8298 done
8299 done
8300 IFS=$as_save_IFS
8304 OBJC=$ac_cv_prog_OBJC
8305 if test -n "$OBJC"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8307 $as_echo "$OBJC" >&6; }
8308 else
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8314 test -n "$OBJC" && break
8315 done
8317 if test -z "$OBJC"; then
8318 ac_ct_OBJC=$OBJC
8319 for ac_prog in gcc objcc objc cc CC
8321 # Extract the first word of "$ac_prog", so it can be a program name with args.
8322 set dummy $ac_prog; ac_word=$2
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8324 $as_echo_n "checking for $ac_word... " >&6; }
8325 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8326 $as_echo_n "(cached) " >&6
8327 else
8328 if test -n "$ac_ct_OBJC"; then
8329 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8330 else
8331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8332 for as_dir in $PATH
8334 IFS=$as_save_IFS
8335 test -z "$as_dir" && as_dir=.
8336 for ac_exec_ext in '' $ac_executable_extensions; do
8337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8338 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8340 break 2
8342 done
8343 done
8344 IFS=$as_save_IFS
8348 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8349 if test -n "$ac_ct_OBJC"; then
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8351 $as_echo "$ac_ct_OBJC" >&6; }
8352 else
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8354 $as_echo "no" >&6; }
8358 test -n "$ac_ct_OBJC" && break
8359 done
8361 if test "x$ac_ct_OBJC" = x; then
8362 OBJC="gcc"
8363 else
8364 case $cross_compiling:$ac_tool_warned in
8365 yes:)
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8368 ac_tool_warned=yes ;;
8369 esac
8370 OBJC=$ac_ct_OBJC
8374 # Provide some information about the compiler.
8375 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8376 set X $ac_compile
8377 ac_compiler=$2
8378 for ac_option in --version -v -V -qversion; do
8379 { { ac_try="$ac_compiler $ac_option >&5"
8380 case "(($ac_try" in
8381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8382 *) ac_try_echo=$ac_try;;
8383 esac
8384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8385 $as_echo "$ac_try_echo"; } >&5
8386 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8387 ac_status=$?
8388 if test -s conftest.err; then
8389 sed '10a\
8390 ... rest of stderr output deleted ...
8391 10q' conftest.err >conftest.er1
8392 cat conftest.er1 >&5
8394 rm -f conftest.er1 conftest.err
8395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8396 test $ac_status = 0; }
8397 done
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8400 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8401 if ${ac_cv_objc_compiler_gnu+:} false; then :
8402 $as_echo_n "(cached) " >&6
8403 else
8404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8408 main ()
8410 #ifndef __GNUC__
8411 choke me
8412 #endif
8415 return 0;
8417 _ACEOF
8418 if ac_fn_objc_try_compile "$LINENO"; then :
8419 ac_compiler_gnu=yes
8420 else
8421 ac_compiler_gnu=no
8423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8424 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8428 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8429 if test $ac_compiler_gnu = yes; then
8430 GOBJC=yes
8431 else
8432 GOBJC=
8434 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8435 ac_save_OBJCFLAGS=$OBJCFLAGS
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8437 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8438 if ${ac_cv_prog_objc_g+:} false; then :
8439 $as_echo_n "(cached) " >&6
8440 else
8441 ac_save_objc_werror_flag=$ac_objc_werror_flag
8442 ac_objc_werror_flag=yes
8443 ac_cv_prog_objc_g=no
8444 OBJCFLAGS="-g"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8449 main ()
8453 return 0;
8455 _ACEOF
8456 if ac_fn_objc_try_compile "$LINENO"; then :
8457 ac_cv_prog_objc_g=yes
8458 else
8459 OBJCFLAGS=""
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8464 main ()
8468 return 0;
8470 _ACEOF
8471 if ac_fn_objc_try_compile "$LINENO"; then :
8473 else
8474 ac_objc_werror_flag=$ac_save_objc_werror_flag
8475 OBJCFLAGS="-g"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8480 main ()
8484 return 0;
8486 _ACEOF
8487 if ac_fn_objc_try_compile "$LINENO"; then :
8488 ac_cv_prog_objc_g=yes
8490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8495 ac_objc_werror_flag=$ac_save_objc_werror_flag
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8498 $as_echo "$ac_cv_prog_objc_g" >&6; }
8499 if test "$ac_test_OBJCFLAGS" = set; then
8500 OBJCFLAGS=$ac_save_OBJCFLAGS
8501 elif test $ac_cv_prog_objc_g = yes; then
8502 if test "$GOBJC" = yes; then
8503 OBJCFLAGS="-g -O2"
8504 else
8505 OBJCFLAGS="-g"
8507 else
8508 if test "$GOBJC" = yes; then
8509 OBJCFLAGS="-O2"
8510 else
8511 OBJCFLAGS=
8514 ac_ext=m
8515 ac_cpp='$OBJCPP $CPPFLAGS'
8516 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8517 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8518 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8521 ac_ext=m
8522 ac_cpp='$OBJCPP $CPPFLAGS'
8523 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8524 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8525 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8527 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8528 if test -z "$OBJCPP"; then
8529 if ${ac_cv_prog_OBJCPP+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 # Double quotes because OBJCPP needs to be expanded
8533 for OBJCPP in "$OBJC -E" "/lib/cpp"
8535 ac_preproc_ok=false
8536 for ac_objc_preproc_warn_flag in '' yes
8538 # Use a header file that comes with gcc, so configuring glibc
8539 # with a fresh cross-compiler works.
8540 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8541 # <limits.h> exists even on freestanding compilers.
8542 # On the NeXT, cc -E runs the code through the compiler's parser,
8543 # not just through cpp. "Syntax error" is here to catch this case.
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 #ifdef __STDC__
8547 # include <limits.h>
8548 #else
8549 # include <assert.h>
8550 #endif
8551 Syntax error
8552 _ACEOF
8553 if ac_fn_objc_try_cpp "$LINENO"; then :
8555 else
8556 # Broken: fails on valid input.
8557 continue
8559 rm -f conftest.err conftest.i conftest.$ac_ext
8561 # OK, works on sane cases. Now check whether nonexistent headers
8562 # can be detected and how.
8563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8565 #include <ac_nonexistent.h>
8566 _ACEOF
8567 if ac_fn_objc_try_cpp "$LINENO"; then :
8568 # Broken: success on invalid input.
8569 continue
8570 else
8571 # Passes both tests.
8572 ac_preproc_ok=:
8573 break
8575 rm -f conftest.err conftest.i conftest.$ac_ext
8577 done
8578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8579 rm -f conftest.i conftest.err conftest.$ac_ext
8580 if $ac_preproc_ok; then :
8581 break
8584 done
8585 ac_cv_prog_OBJCPP=$OBJCPP
8588 OBJCPP=$ac_cv_prog_OBJCPP
8589 else
8590 ac_cv_prog_OBJCPP=$OBJCPP
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8593 $as_echo "$OBJCPP" >&6; }
8594 ac_preproc_ok=false
8595 for ac_objc_preproc_warn_flag in '' yes
8597 # Use a header file that comes with gcc, so configuring glibc
8598 # with a fresh cross-compiler works.
8599 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8600 # <limits.h> exists even on freestanding compilers.
8601 # On the NeXT, cc -E runs the code through the compiler's parser,
8602 # not just through cpp. "Syntax error" is here to catch this case.
8603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8605 #ifdef __STDC__
8606 # include <limits.h>
8607 #else
8608 # include <assert.h>
8609 #endif
8610 Syntax error
8611 _ACEOF
8612 if ac_fn_objc_try_cpp "$LINENO"; then :
8614 else
8615 # Broken: fails on valid input.
8616 continue
8618 rm -f conftest.err conftest.i conftest.$ac_ext
8620 # OK, works on sane cases. Now check whether nonexistent headers
8621 # can be detected and how.
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8624 #include <ac_nonexistent.h>
8625 _ACEOF
8626 if ac_fn_objc_try_cpp "$LINENO"; then :
8627 # Broken: success on invalid input.
8628 continue
8629 else
8630 # Passes both tests.
8631 ac_preproc_ok=:
8632 break
8634 rm -f conftest.err conftest.i conftest.$ac_ext
8636 done
8637 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8638 rm -f conftest.i conftest.err conftest.$ac_ext
8639 if $ac_preproc_ok; then :
8641 else
8642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8644 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8645 See \`config.log' for more details" "$LINENO" 5; }
8648 ac_ext=m
8649 ac_cpp='$OBJCPP $CPPFLAGS'
8650 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8651 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8652 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8655 for ac_header in Metal/Metal.h
8656 do :
8657 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8658 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8659 cat >>confdefs.h <<_ACEOF
8660 #define HAVE_METAL_METAL_H 1
8661 _ACEOF
8665 done
8667 ac_ext=c
8668 ac_cpp='$CPP $CPPFLAGS'
8669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8673 LIBEXT="dylib"
8674 DLLFLAGS="$DLLFLAGS -fPIC"
8675 LDDLLFLAGS="-fPIC"
8676 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8677 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8678 COREFOUNDATION_LIBS="-framework CoreFoundation"
8680 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8682 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8684 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8686 CORESERVICES_LIBS="-framework CoreServices"
8688 APPKIT_LIBS="-framework AppKit"
8691 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8693 wine_can_build_preloader=yes
8694 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8696 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8697 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8698 $as_echo_n "(cached) " >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 int main(int argc, char **argv) { return 0; }
8705 _ACEOF
8706 if ac_fn_c_try_link "$LINENO"; then :
8707 ac_cv_cflags__Wl__no_new_main__e__main=yes
8708 else
8709 ac_cv_cflags__Wl__no_new_main__e__main=no
8711 rm -f core conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8713 CFLAGS=$ac_wine_try_cflags_saved
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8716 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8717 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8718 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8720 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8721 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 ac_wine_try_cflags_saved=$CFLAGS
8725 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 int main(int argc, char **argv) { return 0; }
8729 _ACEOF
8730 if ac_fn_c_try_link "$LINENO"; then :
8731 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8732 else
8733 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8735 rm -f core conftest.err conftest.$ac_objext \
8736 conftest$ac_exeext conftest.$ac_ext
8737 CFLAGS=$ac_wine_try_cflags_saved
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8740 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8741 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8742 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8743 else
8744 { $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
8745 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8746 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8747 $as_echo_n "(cached) " >&6
8748 else
8749 ac_wine_try_cflags_saved=$CFLAGS
8750 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8753 int main(int argc, char **argv) { return 0; }
8754 _ACEOF
8755 if ac_fn_c_try_link "$LINENO"; then :
8756 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8757 else
8758 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8760 rm -f core conftest.err conftest.$ac_objext \
8761 conftest$ac_exeext conftest.$ac_ext
8762 CFLAGS=$ac_wine_try_cflags_saved
8764 { $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
8765 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8766 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8767 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8768 else
8769 wine_can_build_preloader=no
8772 else
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8774 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8775 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8776 $as_echo_n "(cached) " >&6
8777 else
8778 ac_wine_try_cflags_saved=$CFLAGS
8779 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8782 int main(int argc, char **argv) { return 0; }
8783 _ACEOF
8784 if ac_fn_c_try_link "$LINENO"; then :
8785 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8786 else
8787 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8789 rm -f core conftest.err conftest.$ac_objext \
8790 conftest$ac_exeext conftest.$ac_ext
8791 CFLAGS=$ac_wine_try_cflags_saved
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8794 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8795 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8796 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8797 else
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8799 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8800 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 ac_wine_try_cflags_saved=$CFLAGS
8804 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8807 int main(int argc, char **argv) { return 0; }
8808 _ACEOF
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8811 else
8812 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8814 rm -f core conftest.err conftest.$ac_objext \
8815 conftest$ac_exeext conftest.$ac_ext
8816 CFLAGS=$ac_wine_try_cflags_saved
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8819 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8820 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8821 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8822 else
8823 wine_can_build_preloader=no
8827 if test "$wine_can_build_preloader" = "yes"
8828 then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8830 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8831 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8832 $as_echo_n "(cached) " >&6
8833 else
8834 ac_wine_try_cflags_saved=$CFLAGS
8835 CFLAGS="$CFLAGS -Wl,-no_pie"
8836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8837 /* end confdefs.h. */
8838 int main(int argc, char **argv) { return 0; }
8839 _ACEOF
8840 if ac_fn_c_try_link "$LINENO"; then :
8841 ac_cv_cflags__Wl__no_pie=yes
8842 else
8843 ac_cv_cflags__Wl__no_pie=no
8845 rm -f core conftest.err conftest.$ac_objext \
8846 conftest$ac_exeext conftest.$ac_ext
8847 CFLAGS=$ac_wine_try_cflags_saved
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8850 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8851 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8852 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8854 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8855 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8856 else
8857 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8860 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8861 then
8862 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8865 if test "$ac_cv_header_Security_Security_h" = "yes"
8866 then
8867 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8869 ac_save_LIBS="$LIBS"
8870 LIBS="$LIBS $SECURITY_LIBS"
8871 for ac_func in SSLCopyPeerCertificates
8872 do :
8873 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8874 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8875 cat >>confdefs.h <<_ACEOF
8876 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8877 _ACEOF
8880 done
8882 LIBS="$ac_save_LIBS"
8884 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8885 then
8886 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8887 then
8888 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8890 else
8891 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8894 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8895 ac_save_LIBS="$LIBS"
8896 LIBS="$LIBS $COREAUDIO_LIBS"
8897 for ac_func in AUGraphAddNode
8898 do :
8899 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8900 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8901 cat >>confdefs.h <<_ACEOF
8902 #define HAVE_AUGRAPHADDNODE 1
8903 _ACEOF
8906 done
8908 LIBS="$ac_save_LIBS"
8910 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8911 then
8912 OPENAL_LIBS="-framework OpenAL"
8915 cat >>confdefs.h <<_ACEOF
8916 #define HAVE_OPENAL 1
8917 _ACEOF
8919 ac_cv_lib_openal=yes
8921 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8922 then
8923 OPENCL_LIBS="-framework OpenCL"
8925 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8927 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8928 then
8929 ac_save_LIBS="$LIBS"
8930 LIBS="$LIBS $IOKIT_LIBS"
8931 for ac_func in IOHIDManagerCreate
8932 do :
8933 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8934 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8935 cat >>confdefs.h <<_ACEOF
8936 #define HAVE_IOHIDMANAGERCREATE 1
8937 _ACEOF
8940 done
8942 LIBS="$ac_save_LIBS"
8944 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8945 then
8946 ac_save_LIBS="$LIBS"
8947 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8949 $as_echo_n "checking for the QuickTime framework... " >&6; }
8950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8951 /* end confdefs.h. */
8952 #include <QuickTime/ImageCompression.h>
8954 main ()
8956 CodecManagerVersion(NULL);
8958 return 0;
8960 _ACEOF
8961 if ac_fn_c_try_link "$LINENO"; then :
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8963 $as_echo "yes" >&6; }
8964 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8966 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8967 else
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8969 $as_echo "no" >&6; }
8970 ac_cv_header_QuickTime_ImageCompression_h=no
8972 rm -f core conftest.err conftest.$ac_objext \
8973 conftest$ac_exeext conftest.$ac_ext
8974 LIBS="$ac_save_LIBS"
8976 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8977 then
8978 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8980 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8981 then
8982 CARBON_LIBS="-framework Carbon"
8985 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8986 then
8987 METAL_LIBS="-framework Metal -framework QuartzCore"
8991 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8992 then
8993 ac_save_LIBS="$LIBS"
8994 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8995 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8996 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8997 enable_winemac_drv=${enable_winemac_drv:-yes}
9000 LIBS="$ac_save_LIBS"
9003 if test "x$enable_win16" = "xyes"
9004 then
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9006 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9007 if test "$cross_compiling" = yes; then :
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9009 $as_echo "cross-compiling, assuming yes" >&6; }
9010 else
9011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9012 /* end confdefs.h. */
9013 asm(".text\n"
9014 "bad:\tnop;nop\n"
9015 "good:\tnop;nop\n\t"
9016 ".globl _testfunc\n"
9017 "_testfunc:\tcallw good");
9018 extern void testfunc();
9020 main ()
9022 unsigned short *p = (unsigned short *)testfunc;
9023 return p[0] != 0xe866 || p[1] != 0xfffa
9025 return 0;
9027 _ACEOF
9028 if ac_fn_c_try_run "$LINENO"; then :
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9030 $as_echo "yes" >&6; }
9031 else
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9033 $as_echo "no" >&6; }
9034 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
9036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9037 conftest.$ac_objext conftest.beam conftest.$ac_ext
9042 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9044 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9046 WINELOADER_DEPENDS="wine_info.plist"
9048 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9049 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9052 linux-android*)
9053 DLLFLAGS="$DLLFLAGS -fPIC"
9054 LDDLLFLAGS="-fPIC"
9055 LDEXECFLAGS="-Wl,-pie"
9056 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9058 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9059 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9060 $as_echo_n "(cached) " >&6
9061 else
9062 ac_wine_try_cflags_saved=$CFLAGS
9063 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9065 /* end confdefs.h. */
9066 int main(int argc, char **argv) { return 0; }
9067 _ACEOF
9068 if ac_fn_c_try_link "$LINENO"; then :
9069 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9070 else
9071 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9073 rm -f core conftest.err conftest.$ac_objext \
9074 conftest$ac_exeext conftest.$ac_ext
9075 CFLAGS=$ac_wine_try_cflags_saved
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9078 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9079 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9080 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9082 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9083 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9085 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9086 if eval \${$as_ac_var+:} false; then :
9087 $as_echo_n "(cached) " >&6
9088 else
9089 ac_wine_try_cflags_saved=$CFLAGS
9090 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9093 int main(int argc, char **argv) { return 0; }
9094 _ACEOF
9095 if ac_fn_c_try_link "$LINENO"; then :
9096 eval "$as_ac_var=yes"
9097 else
9098 eval "$as_ac_var=no"
9100 rm -f core conftest.err conftest.$ac_objext \
9101 conftest$ac_exeext conftest.$ac_ext
9102 CFLAGS=$ac_wine_try_cflags_saved
9104 eval ac_res=\$$as_ac_var
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9106 $as_echo "$ac_res" >&6; }
9107 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9108 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9109 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9110 else
9111 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9113 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9114 if eval \${$as_ac_var+:} false; then :
9115 $as_echo_n "(cached) " >&6
9116 else
9117 ac_wine_try_cflags_saved=$CFLAGS
9118 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h. */
9121 int main(int argc, char **argv) { return 0; }
9122 _ACEOF
9123 if ac_fn_c_try_link "$LINENO"; then :
9124 eval "$as_ac_var=yes"
9125 else
9126 eval "$as_ac_var=no"
9128 rm -f core conftest.err conftest.$ac_objext \
9129 conftest$ac_exeext conftest.$ac_ext
9130 CFLAGS=$ac_wine_try_cflags_saved
9132 eval ac_res=\$$as_ac_var
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9134 $as_echo "$ac_res" >&6; }
9135 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9136 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9137 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9141 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9142 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9143 $as_echo_n "(cached) " >&6
9144 else
9145 ac_wine_try_cflags_saved=$CFLAGS
9146 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9149 int main(int argc, char **argv) { return 0; }
9150 _ACEOF
9151 if ac_fn_c_try_link "$LINENO"; then :
9152 ac_cv_cflags__Wl___enable_new_dtags=yes
9153 else
9154 ac_cv_cflags__Wl___enable_new_dtags=no
9156 rm -f core conftest.err conftest.$ac_objext \
9157 conftest$ac_exeext conftest.$ac_ext
9158 CFLAGS=$ac_wine_try_cflags_saved
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9161 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9162 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9163 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9166 LIBWINE_SHAREDLIB="libwine.so"
9168 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9170 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9173 $as_echo_n "checking for -lEGL... " >&6; }
9174 if ${ac_cv_lib_soname_EGL+:} false; then :
9175 $as_echo_n "(cached) " >&6
9176 else
9177 ac_check_soname_save_LIBS=$LIBS
9178 LIBS="-lEGL $LIBS"
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9182 /* Override any GCC internal prototype to avoid an error.
9183 Use char because int might match the return type of a GCC
9184 builtin and then its argument prototype would still apply. */
9185 #ifdef __cplusplus
9186 extern "C"
9187 #endif
9188 char eglGetProcAddress ();
9190 main ()
9192 return eglGetProcAddress ();
9194 return 0;
9196 _ACEOF
9197 if ac_fn_c_try_link "$LINENO"; then :
9198 case "$LIBEXT" in
9199 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9200 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'` ;;
9201 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9202 if ${ac_cv_lib_soname_EGL:+false} :; then :
9203 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9204 fi ;;
9205 esac
9206 else
9207 ac_cv_lib_soname_EGL=
9209 rm -f core conftest.err conftest.$ac_objext \
9210 conftest$ac_exeext conftest.$ac_ext
9211 LIBS=$ac_check_soname_save_LIBS
9213 if ${ac_cv_lib_soname_EGL:+false} :; then :
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9215 $as_echo "not found" >&6; }
9217 else
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9219 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9221 cat >>confdefs.h <<_ACEOF
9222 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9223 _ACEOF
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9228 $as_echo_n "checking for -lGLESv2... " >&6; }
9229 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9230 $as_echo_n "(cached) " >&6
9231 else
9232 ac_check_soname_save_LIBS=$LIBS
9233 LIBS="-lGLESv2 $LIBS"
9234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9237 /* Override any GCC internal prototype to avoid an error.
9238 Use char because int might match the return type of a GCC
9239 builtin and then its argument prototype would still apply. */
9240 #ifdef __cplusplus
9241 extern "C"
9242 #endif
9243 char glFlush ();
9245 main ()
9247 return glFlush ();
9249 return 0;
9251 _ACEOF
9252 if ac_fn_c_try_link "$LINENO"; then :
9253 case "$LIBEXT" in
9254 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9255 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'` ;;
9256 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9257 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9258 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9259 fi ;;
9260 esac
9261 else
9262 ac_cv_lib_soname_GLESv2=
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_soname_save_LIBS
9268 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9270 $as_echo "not found" >&6; }
9272 else
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9274 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9276 cat >>confdefs.h <<_ACEOF
9277 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9278 _ACEOF
9283 if test "x$exec_prefix" = xNONE
9284 then
9285 case $host_cpu in
9286 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9287 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9288 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9289 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9290 esac
9295 case $host_cpu in
9296 *i[3456789]86*)
9297 DLLFLAGS="$DLLFLAGS -fno-PIC"
9298 LDDLLFLAGS="-fno-PIC" ;;
9300 DLLFLAGS="$DLLFLAGS -fPIC"
9301 LDDLLFLAGS="-fPIC" ;;
9302 esac
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9304 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9305 if ${ac_cv_c_dll_gnuelf+:} false; then :
9306 $as_echo_n "(cached) " >&6
9307 else
9308 ac_wine_try_cflags_saved=$CFLAGS
9309 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9311 /* end confdefs.h. */
9312 void myfunc() {}
9313 _ACEOF
9314 if ac_fn_c_try_link "$LINENO"; then :
9315 ac_cv_c_dll_gnuelf="yes"
9316 else
9317 ac_cv_c_dll_gnuelf="no"
9319 rm -f core conftest.err conftest.$ac_objext \
9320 conftest$ac_exeext conftest.$ac_ext
9321 CFLAGS=$ac_wine_try_cflags_saved
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9324 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9325 if test "$ac_cv_c_dll_gnuelf" = "yes"
9326 then
9327 LIBWINE_LDFLAGS="-shared"
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9329 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9330 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9331 $as_echo_n "(cached) " >&6
9332 else
9333 ac_wine_try_cflags_saved=$CFLAGS
9334 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9336 /* end confdefs.h. */
9337 int main(int argc, char **argv) { return 0; }
9338 _ACEOF
9339 if ac_fn_c_try_link "$LINENO"; then :
9340 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9341 else
9342 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9344 rm -f core conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 CFLAGS=$ac_wine_try_cflags_saved
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9349 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9350 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9351 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9352 else
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9354 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9355 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9356 $as_echo_n "(cached) " >&6
9357 else
9358 ac_wine_try_cflags_saved=$CFLAGS
9359 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h. */
9362 int main(int argc, char **argv) { return 0; }
9363 _ACEOF
9364 if ac_fn_c_try_link "$LINENO"; then :
9365 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9366 else
9367 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9369 rm -f core conftest.err conftest.$ac_objext \
9370 conftest$ac_exeext conftest.$ac_ext
9371 CFLAGS=$ac_wine_try_cflags_saved
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9374 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9375 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9376 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9380 echo '{ global: *; };' >conftest.map
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9382 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9383 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9384 $as_echo_n "(cached) " >&6
9385 else
9386 ac_wine_try_cflags_saved=$CFLAGS
9387 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9389 /* end confdefs.h. */
9390 int main(int argc, char **argv) { return 0; }
9391 _ACEOF
9392 if ac_fn_c_try_link "$LINENO"; then :
9393 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9394 else
9395 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9397 rm -f core conftest.err conftest.$ac_objext \
9398 conftest$ac_exeext conftest.$ac_ext
9399 CFLAGS=$ac_wine_try_cflags_saved
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9402 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9403 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9404 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9406 rm -f conftest.map
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9409 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9410 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9411 $as_echo_n "(cached) " >&6
9412 else
9413 ac_wine_try_cflags_saved=$CFLAGS
9414 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9417 int main(int argc, char **argv) { return 0; }
9418 _ACEOF
9419 if ac_fn_c_try_link "$LINENO"; then :
9420 ac_cv_cflags__Wl___export_dynamic=yes
9421 else
9422 ac_cv_cflags__Wl___export_dynamic=no
9424 rm -f core conftest.err conftest.$ac_objext \
9425 conftest$ac_exeext conftest.$ac_ext
9426 CFLAGS=$ac_wine_try_cflags_saved
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9429 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9430 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9431 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9433 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9435 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9437 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9438 if eval \${$as_ac_var+:} false; then :
9439 $as_echo_n "(cached) " >&6
9440 else
9441 ac_wine_try_cflags_saved=$CFLAGS
9442 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9445 int main(int argc, char **argv) { return 0; }
9446 _ACEOF
9447 if ac_fn_c_try_link "$LINENO"; then :
9448 eval "$as_ac_var=yes"
9449 else
9450 eval "$as_ac_var=no"
9452 rm -f core conftest.err conftest.$ac_objext \
9453 conftest$ac_exeext conftest.$ac_ext
9454 CFLAGS=$ac_wine_try_cflags_saved
9456 eval ac_res=\$$as_ac_var
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9458 $as_echo "$ac_res" >&6; }
9459 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9460 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9461 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9462 else
9463 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9465 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9466 if eval \${$as_ac_var+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_wine_try_cflags_saved=$CFLAGS
9470 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9473 int main(int argc, char **argv) { return 0; }
9474 _ACEOF
9475 if ac_fn_c_try_link "$LINENO"; then :
9476 eval "$as_ac_var=yes"
9477 else
9478 eval "$as_ac_var=no"
9480 rm -f core conftest.err conftest.$ac_objext \
9481 conftest$ac_exeext conftest.$ac_ext
9482 CFLAGS=$ac_wine_try_cflags_saved
9484 eval ac_res=\$$as_ac_var
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9486 $as_echo "$ac_res" >&6; }
9487 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9488 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9489 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9494 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9495 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9496 $as_echo_n "(cached) " >&6
9497 else
9498 ac_wine_try_cflags_saved=$CFLAGS
9499 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501 /* end confdefs.h. */
9502 int main(int argc, char **argv) { return 0; }
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 ac_cv_cflags__Wl___enable_new_dtags=yes
9506 else
9507 ac_cv_cflags__Wl___enable_new_dtags=no
9509 rm -f core conftest.err conftest.$ac_objext \
9510 conftest$ac_exeext conftest.$ac_ext
9511 CFLAGS=$ac_wine_try_cflags_saved
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9514 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9515 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9516 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9519 case $host_cpu in
9520 *i[3456789]86* | x86_64 | *aarch64*)
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9522 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9523 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9524 $as_echo_n "(cached) " >&6
9525 else
9526 ac_wine_try_cflags_saved=$CFLAGS
9527 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h. */
9530 int main(int argc, char **argv) { return 0; }
9531 _ACEOF
9532 if ac_fn_c_try_link "$LINENO"; then :
9533 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9534 else
9535 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9537 rm -f core conftest.err conftest.$ac_objext \
9538 conftest$ac_exeext conftest.$ac_ext
9539 CFLAGS=$ac_wine_try_cflags_saved
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9542 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9543 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9544 case $host_os in
9545 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9546 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9547 esac
9548 else
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9550 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9551 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9552 $as_echo_n "(cached) " >&6
9553 else
9554 ac_wine_try_cflags_saved=$CFLAGS
9555 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9558 int main(int argc, char **argv) { return 0; }
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9561 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9562 else
9563 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9565 rm -f core conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9567 CFLAGS=$ac_wine_try_cflags_saved
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9570 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9571 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9572 case $host_os in
9573 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9574 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9575 esac
9577 # Extract the first word of "prelink", so it can be a program name with args.
9578 set dummy prelink; ac_word=$2
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9580 $as_echo_n "checking for $ac_word... " >&6; }
9581 if ${ac_cv_path_PRELINK+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 case $PRELINK in
9585 [\\/]* | ?:[\\/]*)
9586 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9590 for as_dir in /sbin /usr/sbin $PATH
9592 IFS=$as_save_IFS
9593 test -z "$as_dir" && as_dir=.
9594 for ac_exec_ext in '' $ac_executable_extensions; do
9595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9596 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9598 break 2
9600 done
9601 done
9602 IFS=$as_save_IFS
9604 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9606 esac
9608 PRELINK=$ac_cv_path_PRELINK
9609 if test -n "$PRELINK"; then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9611 $as_echo "$PRELINK" >&6; }
9612 else
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614 $as_echo "no" >&6; }
9618 if test "x$PRELINK" = xfalse
9619 then
9620 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9624 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9625 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9626 $as_echo_n "(cached) " >&6
9627 else
9628 ac_wine_try_cflags_saved=$CFLAGS
9629 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9632 int main(int argc, char **argv) { return 0; }
9633 _ACEOF
9634 if ac_fn_c_try_link "$LINENO"; then :
9635 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9636 else
9637 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9639 rm -f core conftest.err conftest.$ac_objext \
9640 conftest$ac_exeext conftest.$ac_ext
9641 CFLAGS=$ac_wine_try_cflags_saved
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9644 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9645 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9646 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9649 esac
9651 else
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9653 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9654 if ${ac_cv_c_dll_unixware+:} false; then :
9655 $as_echo_n "(cached) " >&6
9656 else
9657 ac_wine_try_cflags_saved=$CFLAGS
9658 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9660 /* end confdefs.h. */
9661 void myfunc() {}
9662 _ACEOF
9663 if ac_fn_c_try_link "$LINENO"; then :
9664 ac_cv_c_dll_unixware="yes"
9665 else
9666 ac_cv_c_dll_unixware="no"
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 CFLAGS=$ac_wine_try_cflags_saved
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9673 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9674 if test "$ac_cv_c_dll_unixware" = "yes"
9675 then
9676 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9679 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9681 LIBWINE_DEPENDS="wine.map"
9683 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9684 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9686 esac
9688 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9689 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9690 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9691 enable_winemac_drv=${enable_winemac_drv:-no}
9692 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9694 CROSSTARGET=""
9696 if test "x$with_mingw" != xno
9697 then
9698 case "x$with_mingw" in
9699 x|xyes) case "$host_cpu" in
9700 aarch64*)
9701 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9702 arm*)
9703 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9704 i[3456789]86*)
9705 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
9706 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9707 mingw32-gcc" ;;
9708 x86_64)
9709 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
9710 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9712 ac_prefix_list="" ;;
9713 esac
9714 for ac_prog in $ac_prefix_list
9716 # Extract the first word of "$ac_prog", so it can be a program name with args.
9717 set dummy $ac_prog; ac_word=$2
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9719 $as_echo_n "checking for $ac_word... " >&6; }
9720 if ${ac_cv_prog_CROSSCC+:} false; then :
9721 $as_echo_n "(cached) " >&6
9722 else
9723 if test -n "$CROSSCC"; then
9724 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9725 else
9726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9727 for as_dir in $PATH
9729 IFS=$as_save_IFS
9730 test -z "$as_dir" && as_dir=.
9731 for ac_exec_ext in '' $ac_executable_extensions; do
9732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9733 ac_cv_prog_CROSSCC="$ac_prog"
9734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9735 break 2
9737 done
9738 done
9739 IFS=$as_save_IFS
9743 CROSSCC=$ac_cv_prog_CROSSCC
9744 if test -n "$CROSSCC"; then
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9746 $as_echo "$CROSSCC" >&6; }
9747 else
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9749 $as_echo "no" >&6; }
9753 test -n "$CROSSCC" && break
9754 done
9755 test -n "$CROSSCC" || CROSSCC="false"
9757 *) CROSSCC=$with_mingw ;;
9758 esac
9759 if test "$CROSSCC" != "false"
9760 then
9761 ac_save_CC="$CC"
9762 saved_CFLAGS=$CFLAGS
9763 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9765 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9768 CC="$CROSSCC"
9769 CFLAGS=$CROSSCFLAGS
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9771 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9772 if ${wine_cv_crosscc+:} false; then :
9773 $as_echo_n "(cached) " >&6
9774 else
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9779 main ()
9783 return 0;
9785 _ACEOF
9786 if ac_fn_c_try_compile "$LINENO"; then :
9787 wine_cv_crosscc=yes
9788 else
9789 wine_cv_crosscc=no
9791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9794 $as_echo "$wine_cv_crosscc" >&6; }
9795 if test $wine_cv_crosscc = yes
9796 then
9797 set x $CROSSCC
9798 shift
9799 while test $# -ge 1
9801 case "$1" in
9802 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9803 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9804 esac
9805 shift
9806 done
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9809 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9810 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9811 $as_echo_n "(cached) " >&6
9812 else
9813 ac_wine_try_cflags_saved=$CFLAGS
9814 ac_wine_try_cflags_saved_cc=$CC
9815 ac_wine_try_cflags_saved_exeext=$ac_exeext
9816 CFLAGS="$CFLAGS -fno-strict-aliasing"
9817 CC="$CROSSCC"
9818 ac_exeext=".exe"
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9821 int main(int argc, char **argv) { return 0; }
9822 _ACEOF
9823 if ac_fn_c_try_link "$LINENO"; then :
9824 ac_cv_crosscflags__fno_strict_aliasing=yes
9825 else
9826 ac_cv_crosscflags__fno_strict_aliasing=no
9828 rm -f core conftest.err conftest.$ac_objext \
9829 conftest$ac_exeext conftest.$ac_ext
9830 CFLAGS=$ac_wine_try_cflags_saved
9831 CC=$ac_wine_try_cflags_saved_cc
9832 ac_exeext=$ac_wine_try_cflags_saved_exeext
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9835 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9836 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9837 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9840 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9841 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9842 $as_echo_n "(cached) " >&6
9843 else
9844 ac_wine_try_cflags_saved=$CFLAGS
9845 ac_wine_try_cflags_saved_cc=$CC
9846 ac_wine_try_cflags_saved_exeext=$ac_exeext
9847 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9848 CC="$CROSSCC"
9849 ac_exeext=".exe"
9850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 /* end confdefs.h. */
9852 int main(int argc, char **argv) { return 0; }
9853 _ACEOF
9854 if ac_fn_c_try_link "$LINENO"; then :
9855 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9856 else
9857 ac_cv_crosscflags__Werror_unknown_warning_option=no
9859 rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 CFLAGS=$ac_wine_try_cflags_saved
9862 CC=$ac_wine_try_cflags_saved_cc
9863 ac_exeext=$ac_wine_try_cflags_saved_exeext
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9866 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9867 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9868 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9871 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9872 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9873 $as_echo_n "(cached) " >&6
9874 else
9875 ac_wine_try_cflags_saved=$CFLAGS
9876 ac_wine_try_cflags_saved_cc=$CC
9877 ac_wine_try_cflags_saved_exeext=$ac_exeext
9878 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9879 CC="$CROSSCC"
9880 ac_exeext=".exe"
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9883 int main(int argc, char **argv) { return 0; }
9884 _ACEOF
9885 if ac_fn_c_try_link "$LINENO"; then :
9886 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9887 else
9888 ac_cv_crosscflags__Wdeclaration_after_statement=no
9890 rm -f core conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
9892 CFLAGS=$ac_wine_try_cflags_saved
9893 CC=$ac_wine_try_cflags_saved_cc
9894 ac_exeext=$ac_wine_try_cflags_saved_exeext
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9897 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9898 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9899 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9902 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9903 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9904 $as_echo_n "(cached) " >&6
9905 else
9906 ac_wine_try_cflags_saved=$CFLAGS
9907 ac_wine_try_cflags_saved_cc=$CC
9908 ac_wine_try_cflags_saved_exeext=$ac_exeext
9909 CFLAGS="$CFLAGS -Wempty-body"
9910 CC="$CROSSCC"
9911 ac_exeext=".exe"
9912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9913 /* end confdefs.h. */
9914 int main(int argc, char **argv) { return 0; }
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9917 ac_cv_crosscflags__Wempty_body=yes
9918 else
9919 ac_cv_crosscflags__Wempty_body=no
9921 rm -f core conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 CFLAGS=$ac_wine_try_cflags_saved
9924 CC=$ac_wine_try_cflags_saved_cc
9925 ac_exeext=$ac_wine_try_cflags_saved_exeext
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9928 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9929 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9930 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9933 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9934 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9935 $as_echo_n "(cached) " >&6
9936 else
9937 ac_wine_try_cflags_saved=$CFLAGS
9938 ac_wine_try_cflags_saved_cc=$CC
9939 ac_wine_try_cflags_saved_exeext=$ac_exeext
9940 CFLAGS="$CFLAGS -Wignored-qualifiers"
9941 CC="$CROSSCC"
9942 ac_exeext=".exe"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9945 int main(int argc, char **argv) { return 0; }
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"; then :
9948 ac_cv_crosscflags__Wignored_qualifiers=yes
9949 else
9950 ac_cv_crosscflags__Wignored_qualifiers=no
9952 rm -f core conftest.err conftest.$ac_objext \
9953 conftest$ac_exeext conftest.$ac_ext
9954 CFLAGS=$ac_wine_try_cflags_saved
9955 CC=$ac_wine_try_cflags_saved_cc
9956 ac_exeext=$ac_wine_try_cflags_saved_exeext
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9959 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9960 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9961 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9964 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9965 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9966 $as_echo_n "(cached) " >&6
9967 else
9968 ac_wine_try_cflags_saved=$CFLAGS
9969 ac_wine_try_cflags_saved_cc=$CC
9970 ac_wine_try_cflags_saved_exeext=$ac_exeext
9971 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9972 CC="$CROSSCC"
9973 ac_exeext=".exe"
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9976 int main(int argc, char **argv) { return 0; }
9977 _ACEOF
9978 if ac_fn_c_try_link "$LINENO"; then :
9979 ac_cv_crosscflags__Wpacked_not_aligned=yes
9980 else
9981 ac_cv_crosscflags__Wpacked_not_aligned=no
9983 rm -f core conftest.err conftest.$ac_objext \
9984 conftest$ac_exeext conftest.$ac_ext
9985 CFLAGS=$ac_wine_try_cflags_saved
9986 CC=$ac_wine_try_cflags_saved_cc
9987 ac_exeext=$ac_wine_try_cflags_saved_exeext
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9990 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9991 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9992 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9995 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9996 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9997 $as_echo_n "(cached) " >&6
9998 else
9999 ac_wine_try_cflags_saved=$CFLAGS
10000 ac_wine_try_cflags_saved_cc=$CC
10001 ac_wine_try_cflags_saved_exeext=$ac_exeext
10002 CFLAGS="$CFLAGS -Wpragma-pack"
10003 CC="$CROSSCC"
10004 ac_exeext=".exe"
10005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10007 int main(int argc, char **argv) { return 0; }
10008 _ACEOF
10009 if ac_fn_c_try_link "$LINENO"; then :
10010 ac_cv_crosscflags__Wpragma_pack=yes
10011 else
10012 ac_cv_crosscflags__Wpragma_pack=no
10014 rm -f core conftest.err conftest.$ac_objext \
10015 conftest$ac_exeext conftest.$ac_ext
10016 CFLAGS=$ac_wine_try_cflags_saved
10017 CC=$ac_wine_try_cflags_saved_cc
10018 ac_exeext=$ac_wine_try_cflags_saved_exeext
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10021 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10022 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10023 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10026 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10027 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10028 $as_echo_n "(cached) " >&6
10029 else
10030 ac_wine_try_cflags_saved=$CFLAGS
10031 ac_wine_try_cflags_saved_cc=$CC
10032 ac_wine_try_cflags_saved_exeext=$ac_exeext
10033 CFLAGS="$CFLAGS -Wshift-overflow=2"
10034 CC="$CROSSCC"
10035 ac_exeext=".exe"
10036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10038 int main(int argc, char **argv) { return 0; }
10039 _ACEOF
10040 if ac_fn_c_try_link "$LINENO"; then :
10041 ac_cv_crosscflags__Wshift_overflow_2=yes
10042 else
10043 ac_cv_crosscflags__Wshift_overflow_2=no
10045 rm -f core conftest.err conftest.$ac_objext \
10046 conftest$ac_exeext conftest.$ac_ext
10047 CFLAGS=$ac_wine_try_cflags_saved
10048 CC=$ac_wine_try_cflags_saved_cc
10049 ac_exeext=$ac_wine_try_cflags_saved_exeext
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10052 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10053 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10054 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10057 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10058 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10059 $as_echo_n "(cached) " >&6
10060 else
10061 ac_wine_try_cflags_saved=$CFLAGS
10062 ac_wine_try_cflags_saved_cc=$CC
10063 ac_wine_try_cflags_saved_exeext=$ac_exeext
10064 CFLAGS="$CFLAGS -Wstrict-prototypes"
10065 CC="$CROSSCC"
10066 ac_exeext=".exe"
10067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10069 int main(int argc, char **argv) { return 0; }
10070 _ACEOF
10071 if ac_fn_c_try_link "$LINENO"; then :
10072 ac_cv_crosscflags__Wstrict_prototypes=yes
10073 else
10074 ac_cv_crosscflags__Wstrict_prototypes=no
10076 rm -f core conftest.err conftest.$ac_objext \
10077 conftest$ac_exeext conftest.$ac_ext
10078 CFLAGS=$ac_wine_try_cflags_saved
10079 CC=$ac_wine_try_cflags_saved_cc
10080 ac_exeext=$ac_wine_try_cflags_saved_exeext
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10083 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10084 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10085 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10088 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10089 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10090 $as_echo_n "(cached) " >&6
10091 else
10092 ac_wine_try_cflags_saved=$CFLAGS
10093 ac_wine_try_cflags_saved_cc=$CC
10094 ac_wine_try_cflags_saved_exeext=$ac_exeext
10095 CFLAGS="$CFLAGS -Wtype-limits"
10096 CC="$CROSSCC"
10097 ac_exeext=".exe"
10098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10099 /* end confdefs.h. */
10100 int main(int argc, char **argv) { return 0; }
10101 _ACEOF
10102 if ac_fn_c_try_link "$LINENO"; then :
10103 ac_cv_crosscflags__Wtype_limits=yes
10104 else
10105 ac_cv_crosscflags__Wtype_limits=no
10107 rm -f core conftest.err conftest.$ac_objext \
10108 conftest$ac_exeext conftest.$ac_ext
10109 CFLAGS=$ac_wine_try_cflags_saved
10110 CC=$ac_wine_try_cflags_saved_cc
10111 ac_exeext=$ac_wine_try_cflags_saved_exeext
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10114 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10115 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10116 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10119 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10120 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10121 $as_echo_n "(cached) " >&6
10122 else
10123 ac_wine_try_cflags_saved=$CFLAGS
10124 ac_wine_try_cflags_saved_cc=$CC
10125 ac_wine_try_cflags_saved_exeext=$ac_exeext
10126 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10127 CC="$CROSSCC"
10128 ac_exeext=".exe"
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10131 int main(int argc, char **argv) { return 0; }
10132 _ACEOF
10133 if ac_fn_c_try_link "$LINENO"; then :
10134 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10135 else
10136 ac_cv_crosscflags__Wunused_but_set_parameter=no
10138 rm -f core conftest.err conftest.$ac_objext \
10139 conftest$ac_exeext conftest.$ac_ext
10140 CFLAGS=$ac_wine_try_cflags_saved
10141 CC=$ac_wine_try_cflags_saved_cc
10142 ac_exeext=$ac_wine_try_cflags_saved_exeext
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10145 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10146 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10147 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10150 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10151 if ${ac_cv_crosscflags__Wvla+:} false; then :
10152 $as_echo_n "(cached) " >&6
10153 else
10154 ac_wine_try_cflags_saved=$CFLAGS
10155 ac_wine_try_cflags_saved_cc=$CC
10156 ac_wine_try_cflags_saved_exeext=$ac_exeext
10157 CFLAGS="$CFLAGS -Wvla"
10158 CC="$CROSSCC"
10159 ac_exeext=".exe"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10162 int main(int argc, char **argv) { return 0; }
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"; then :
10165 ac_cv_crosscflags__Wvla=yes
10166 else
10167 ac_cv_crosscflags__Wvla=no
10169 rm -f core conftest.err conftest.$ac_objext \
10170 conftest$ac_exeext conftest.$ac_ext
10171 CFLAGS=$ac_wine_try_cflags_saved
10172 CC=$ac_wine_try_cflags_saved_cc
10173 ac_exeext=$ac_wine_try_cflags_saved_exeext
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10176 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10177 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10178 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10181 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10182 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 ac_wine_try_cflags_saved=$CFLAGS
10186 ac_wine_try_cflags_saved_cc=$CC
10187 ac_wine_try_cflags_saved_exeext=$ac_exeext
10188 CFLAGS="$CFLAGS -Wwrite-strings"
10189 CC="$CROSSCC"
10190 ac_exeext=".exe"
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10193 int main(int argc, char **argv) { return 0; }
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"; then :
10196 ac_cv_crosscflags__Wwrite_strings=yes
10197 else
10198 ac_cv_crosscflags__Wwrite_strings=no
10200 rm -f core conftest.err conftest.$ac_objext \
10201 conftest$ac_exeext conftest.$ac_ext
10202 CFLAGS=$ac_wine_try_cflags_saved
10203 CC=$ac_wine_try_cflags_saved_cc
10204 ac_exeext=$ac_wine_try_cflags_saved_exeext
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10207 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10208 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10209 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10212 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10213 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10214 $as_echo_n "(cached) " >&6
10215 else
10216 ac_wine_try_cflags_saved=$CFLAGS
10217 ac_wine_try_cflags_saved_cc=$CC
10218 ac_wine_try_cflags_saved_exeext=$ac_exeext
10219 CFLAGS="$CFLAGS -Wpointer-arith"
10220 CC="$CROSSCC"
10221 ac_exeext=".exe"
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10224 int main(int argc, char **argv) { return 0; }
10225 _ACEOF
10226 if ac_fn_c_try_link "$LINENO"; then :
10227 ac_cv_crosscflags__Wpointer_arith=yes
10228 else
10229 ac_cv_crosscflags__Wpointer_arith=no
10231 rm -f core conftest.err conftest.$ac_objext \
10232 conftest$ac_exeext conftest.$ac_ext
10233 CFLAGS=$ac_wine_try_cflags_saved
10234 CC=$ac_wine_try_cflags_saved_cc
10235 ac_exeext=$ac_wine_try_cflags_saved_exeext
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10238 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10239 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10240 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10243 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10244 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10245 $as_echo_n "(cached) " >&6
10246 else
10247 ac_wine_try_cflags_saved=$CFLAGS
10248 ac_wine_try_cflags_saved_cc=$CC
10249 ac_wine_try_cflags_saved_exeext=$ac_exeext
10250 CFLAGS="$CFLAGS -Wlogical-op"
10251 CC="$CROSSCC"
10252 ac_exeext=".exe"
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10255 int main(int argc, char **argv) { return 0; }
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"; then :
10258 ac_cv_crosscflags__Wlogical_op=yes
10259 else
10260 ac_cv_crosscflags__Wlogical_op=no
10262 rm -f core conftest.err conftest.$ac_objext \
10263 conftest$ac_exeext conftest.$ac_ext
10264 CFLAGS=$ac_wine_try_cflags_saved
10265 CC=$ac_wine_try_cflags_saved_cc
10266 ac_exeext=$ac_wine_try_cflags_saved_exeext
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10269 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10270 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10271 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10274 case $host_cpu in
10275 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10276 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10277 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 ac_wine_try_cflags_saved=$CFLAGS
10281 ac_wine_try_cflags_saved_cc=$CC
10282 ac_wine_try_cflags_saved_exeext=$ac_exeext
10283 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10284 CC="$CROSSCC"
10285 ac_exeext=".exe"
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10288 int main(int argc, char **argv) { return 0; }
10289 _ACEOF
10290 if ac_fn_c_try_link "$LINENO"; then :
10291 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10292 else
10293 ac_cv_crosscflags__fno_omit_frame_pointer=no
10295 rm -f core conftest.err conftest.$ac_objext \
10296 conftest$ac_exeext conftest.$ac_ext
10297 CFLAGS=$ac_wine_try_cflags_saved
10298 CC=$ac_wine_try_cflags_saved_cc
10299 ac_exeext=$ac_wine_try_cflags_saved_exeext
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10302 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10303 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10304 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10305 fi ;;
10306 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10307 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10308 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10309 $as_echo_n "(cached) " >&6
10310 else
10311 ac_wine_try_cflags_saved=$CFLAGS
10312 ac_wine_try_cflags_saved_cc=$CC
10313 ac_wine_try_cflags_saved_exeext=$ac_exeext
10314 CFLAGS="$CFLAGS -Wno-format"
10315 CC="$CROSSCC"
10316 ac_exeext=".exe"
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10319 int main(int argc, char **argv) { return 0; }
10320 _ACEOF
10321 if ac_fn_c_try_link "$LINENO"; then :
10322 ac_cv_crosscflags__Wno_format=yes
10323 else
10324 ac_cv_crosscflags__Wno_format=no
10326 rm -f core conftest.err conftest.$ac_objext \
10327 conftest$ac_exeext conftest.$ac_ext
10328 CFLAGS=$ac_wine_try_cflags_saved
10329 CC=$ac_wine_try_cflags_saved_cc
10330 ac_exeext=$ac_wine_try_cflags_saved_exeext
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10333 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10334 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10335 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10336 fi ;;
10337 esac
10339 for ac_flag in $CROSSCFLAGS; do
10340 case $ac_flag in
10341 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10342 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10343 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10344 $as_echo_n "(cached) " >&6
10345 else
10346 ac_wine_try_cflags_saved=$CFLAGS
10347 ac_wine_try_cflags_saved_cc=$CC
10348 ac_wine_try_cflags_saved_exeext=$ac_exeext
10349 CFLAGS="$CFLAGS -gdwarf-2"
10350 CC="$CROSSCC"
10351 ac_exeext=".exe"
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10354 int main(int argc, char **argv) { return 0; }
10355 _ACEOF
10356 if ac_fn_c_try_link "$LINENO"; then :
10357 ac_cv_crosscflags__gdwarf_2=yes
10358 else
10359 ac_cv_crosscflags__gdwarf_2=no
10361 rm -f core conftest.err conftest.$ac_objext \
10362 conftest$ac_exeext conftest.$ac_ext
10363 CFLAGS=$ac_wine_try_cflags_saved
10364 CC=$ac_wine_try_cflags_saved_cc
10365 ac_exeext=$ac_wine_try_cflags_saved_exeext
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10368 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10369 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10370 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10373 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10374 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10375 $as_echo_n "(cached) " >&6
10376 else
10377 ac_wine_try_cflags_saved=$CFLAGS
10378 ac_wine_try_cflags_saved_cc=$CC
10379 ac_wine_try_cflags_saved_exeext=$ac_exeext
10380 CFLAGS="$CFLAGS -gstrict-dwarf"
10381 CC="$CROSSCC"
10382 ac_exeext=".exe"
10383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10384 /* end confdefs.h. */
10385 int main(int argc, char **argv) { return 0; }
10386 _ACEOF
10387 if ac_fn_c_try_link "$LINENO"; then :
10388 ac_cv_crosscflags__gstrict_dwarf=yes
10389 else
10390 ac_cv_crosscflags__gstrict_dwarf=no
10392 rm -f core conftest.err conftest.$ac_objext \
10393 conftest$ac_exeext conftest.$ac_ext
10394 CFLAGS=$ac_wine_try_cflags_saved
10395 CC=$ac_wine_try_cflags_saved_cc
10396 ac_exeext=$ac_wine_try_cflags_saved_exeext
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10399 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10400 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10401 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10402 fi ;;
10403 esac
10404 done
10406 if test "x$enable_maintainer_mode" = xyes
10407 then
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10409 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10410 if ${ac_cv_crosscflags__Werror+:} false; then :
10411 $as_echo_n "(cached) " >&6
10412 else
10413 ac_wine_try_cflags_saved=$CFLAGS
10414 ac_wine_try_cflags_saved_cc=$CC
10415 ac_wine_try_cflags_saved_exeext=$ac_exeext
10416 CFLAGS="$CFLAGS -Werror"
10417 CC="$CROSSCC"
10418 ac_exeext=".exe"
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 int main(int argc, char **argv) { return 0; }
10422 _ACEOF
10423 if ac_fn_c_try_link "$LINENO"; then :
10424 ac_cv_crosscflags__Werror=yes
10425 else
10426 ac_cv_crosscflags__Werror=no
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 CFLAGS=$ac_wine_try_cflags_saved
10431 CC=$ac_wine_try_cflags_saved_cc
10432 ac_exeext=$ac_wine_try_cflags_saved_exeext
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10435 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10436 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10437 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10441 CFLAGS=$saved_CFLAGS
10442 CC="$ac_save_CC"
10445 if test "x$CROSSTARGET" = "x"; then :
10446 case "x$with_mingw" in
10447 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10448 xno) ;;
10449 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10450 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10451 esac
10456 if test "$ac_cv_header_pthread_h" = "yes"
10457 then
10458 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10459 if test "x$ac_cv_func_pthread_create" = xyes; then :
10461 else
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10463 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10464 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10465 $as_echo_n "(cached) " >&6
10466 else
10467 ac_check_lib_save_LIBS=$LIBS
10468 LIBS="-lpthread $LIBS"
10469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10472 /* Override any GCC internal prototype to avoid an error.
10473 Use char because int might match the return type of a GCC
10474 builtin and then its argument prototype would still apply. */
10475 #ifdef __cplusplus
10476 extern "C"
10477 #endif
10478 char pthread_create ();
10480 main ()
10482 return pthread_create ();
10484 return 0;
10486 _ACEOF
10487 if ac_fn_c_try_link "$LINENO"; then :
10488 ac_cv_lib_pthread_pthread_create=yes
10489 else
10490 ac_cv_lib_pthread_pthread_create=no
10492 rm -f core conftest.err conftest.$ac_objext \
10493 conftest$ac_exeext conftest.$ac_ext
10494 LIBS=$ac_check_lib_save_LIBS
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10497 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10498 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10499 PTHREAD_LIBS="-lpthread"
10506 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10507 case "x$with_pthread" in
10508 xno) ;;
10509 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10510 Wine cannot support threads without libpthread.
10511 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10512 esac
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10518 $as_echo_n "checking for X... " >&6; }
10521 # Check whether --with-x was given.
10522 if test "${with_x+set}" = set; then :
10523 withval=$with_x;
10526 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10527 if test "x$with_x" = xno; then
10528 # The user explicitly disabled X.
10529 have_x=disabled
10530 else
10531 case $x_includes,$x_libraries in #(
10532 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10533 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10534 $as_echo_n "(cached) " >&6
10535 else
10536 # One or both of the vars are not set, and there is no cached value.
10537 ac_x_includes=no ac_x_libraries=no
10538 rm -f -r conftest.dir
10539 if mkdir conftest.dir; then
10540 cd conftest.dir
10541 cat >Imakefile <<'_ACEOF'
10542 incroot:
10543 @echo incroot='${INCROOT}'
10544 usrlibdir:
10545 @echo usrlibdir='${USRLIBDIR}'
10546 libdir:
10547 @echo libdir='${LIBDIR}'
10548 _ACEOF
10549 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10550 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10551 for ac_var in incroot usrlibdir libdir; do
10552 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10553 done
10554 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10555 for ac_extension in a so sl dylib la dll; do
10556 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10557 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10558 ac_im_usrlibdir=$ac_im_libdir; break
10560 done
10561 # Screen out bogus values from the imake configuration. They are
10562 # bogus both because they are the default anyway, and because
10563 # using them would break gcc on systems where it needs fixed includes.
10564 case $ac_im_incroot in
10565 /usr/include) ac_x_includes= ;;
10566 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10567 esac
10568 case $ac_im_usrlibdir in
10569 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10570 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10571 esac
10573 cd ..
10574 rm -f -r conftest.dir
10577 # Standard set of common directories for X headers.
10578 # Check X11 before X11Rn because it is often a symlink to the current release.
10579 ac_x_header_dirs='
10580 /usr/X11/include
10581 /usr/X11R7/include
10582 /usr/X11R6/include
10583 /usr/X11R5/include
10584 /usr/X11R4/include
10586 /usr/include/X11
10587 /usr/include/X11R7
10588 /usr/include/X11R6
10589 /usr/include/X11R5
10590 /usr/include/X11R4
10592 /usr/local/X11/include
10593 /usr/local/X11R7/include
10594 /usr/local/X11R6/include
10595 /usr/local/X11R5/include
10596 /usr/local/X11R4/include
10598 /usr/local/include/X11
10599 /usr/local/include/X11R7
10600 /usr/local/include/X11R6
10601 /usr/local/include/X11R5
10602 /usr/local/include/X11R4
10604 /usr/X386/include
10605 /usr/x386/include
10606 /usr/XFree86/include/X11
10608 /usr/include
10609 /usr/local/include
10610 /usr/unsupported/include
10611 /usr/athena/include
10612 /usr/local/x11r5/include
10613 /usr/lpp/Xamples/include
10615 /usr/openwin/include
10616 /usr/openwin/share/include'
10618 if test "$ac_x_includes" = no; then
10619 # Guess where to find include files, by looking for Xlib.h.
10620 # First, try using that file with no special directory specified.
10621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10622 /* end confdefs.h. */
10623 #include <X11/Xlib.h>
10624 _ACEOF
10625 if ac_fn_c_try_cpp "$LINENO"; then :
10626 # We can compile using X headers with no special include directory.
10627 ac_x_includes=
10628 else
10629 for ac_dir in $ac_x_header_dirs; do
10630 if test -r "$ac_dir/X11/Xlib.h"; then
10631 ac_x_includes=$ac_dir
10632 break
10634 done
10636 rm -f conftest.err conftest.i conftest.$ac_ext
10637 fi # $ac_x_includes = no
10639 if test "$ac_x_libraries" = no; then
10640 # Check for the libraries.
10641 # See if we find them without any special options.
10642 # Don't add to $LIBS permanently.
10643 ac_save_LIBS=$LIBS
10644 LIBS="-lX11 $LIBS"
10645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10646 /* end confdefs.h. */
10647 #include <X11/Xlib.h>
10649 main ()
10651 XrmInitialize ()
10653 return 0;
10655 _ACEOF
10656 if ac_fn_c_try_link "$LINENO"; then :
10657 LIBS=$ac_save_LIBS
10658 # We can link X programs with no special library path.
10659 ac_x_libraries=
10660 else
10661 LIBS=$ac_save_LIBS
10662 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10664 # Don't even attempt the hair of trying to link an X program!
10665 for ac_extension in a so sl dylib la dll; do
10666 if test -r "$ac_dir/libX11.$ac_extension"; then
10667 ac_x_libraries=$ac_dir
10668 break 2
10670 done
10671 done
10673 rm -f core conftest.err conftest.$ac_objext \
10674 conftest$ac_exeext conftest.$ac_ext
10675 fi # $ac_x_libraries = no
10677 case $ac_x_includes,$ac_x_libraries in #(
10678 no,* | *,no | *\'*)
10679 # Didn't find X, or a directory has "'" in its name.
10680 ac_cv_have_x="have_x=no";; #(
10682 # Record where we found X for the cache.
10683 ac_cv_have_x="have_x=yes\
10684 ac_x_includes='$ac_x_includes'\
10685 ac_x_libraries='$ac_x_libraries'"
10686 esac
10688 ;; #(
10689 *) have_x=yes;;
10690 esac
10691 eval "$ac_cv_have_x"
10692 fi # $with_x != no
10694 if test "$have_x" != yes; then
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10696 $as_echo "$have_x" >&6; }
10697 no_x=yes
10698 else
10699 # If each of the values was on the command line, it overrides each guess.
10700 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10701 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10702 # Update the cache value to reflect the command line values.
10703 ac_cv_have_x="have_x=yes\
10704 ac_x_includes='$x_includes'\
10705 ac_x_libraries='$x_libraries'"
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10707 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10710 if test "$no_x" = yes; then
10711 # Not all programs may use this symbol, but it does not hurt to define it.
10713 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10715 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10716 else
10717 if test -n "$x_includes"; then
10718 X_CFLAGS="$X_CFLAGS -I$x_includes"
10721 # It would also be nice to do this for all -L options, not just this one.
10722 if test -n "$x_libraries"; then
10723 X_LIBS="$X_LIBS -L$x_libraries"
10724 # For Solaris; some versions of Sun CC require a space after -R and
10725 # others require no space. Words are not sufficient . . . .
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10727 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10728 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10729 ac_xsave_c_werror_flag=$ac_c_werror_flag
10730 ac_c_werror_flag=yes
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10735 main ()
10739 return 0;
10741 _ACEOF
10742 if ac_fn_c_try_link "$LINENO"; then :
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10744 $as_echo "no" >&6; }
10745 X_LIBS="$X_LIBS -R$x_libraries"
10746 else
10747 LIBS="$ac_xsave_LIBS -R $x_libraries"
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10752 main ()
10756 return 0;
10758 _ACEOF
10759 if ac_fn_c_try_link "$LINENO"; then :
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10761 $as_echo "yes" >&6; }
10762 X_LIBS="$X_LIBS -R $x_libraries"
10763 else
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10765 $as_echo "neither works" >&6; }
10767 rm -f core conftest.err conftest.$ac_objext \
10768 conftest$ac_exeext conftest.$ac_ext
10770 rm -f core conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10772 ac_c_werror_flag=$ac_xsave_c_werror_flag
10773 LIBS=$ac_xsave_LIBS
10776 # Check for system-dependent libraries X programs must link with.
10777 # Do this before checking for the system-independent R6 libraries
10778 # (-lICE), since we may need -lsocket or whatever for X linking.
10780 if test "$ISC" = yes; then
10781 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10782 else
10783 # Martyn Johnson says this is needed for Ultrix, if the X
10784 # libraries were built with DECnet support. And Karl Berry says
10785 # the Alpha needs dnet_stub (dnet does not exist).
10786 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10790 /* Override any GCC internal prototype to avoid an error.
10791 Use char because int might match the return type of a GCC
10792 builtin and then its argument prototype would still apply. */
10793 #ifdef __cplusplus
10794 extern "C"
10795 #endif
10796 char XOpenDisplay ();
10798 main ()
10800 return XOpenDisplay ();
10802 return 0;
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"; then :
10807 else
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10809 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10810 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10811 $as_echo_n "(cached) " >&6
10812 else
10813 ac_check_lib_save_LIBS=$LIBS
10814 LIBS="-ldnet $LIBS"
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10821 #ifdef __cplusplus
10822 extern "C"
10823 #endif
10824 char dnet_ntoa ();
10826 main ()
10828 return dnet_ntoa ();
10830 return 0;
10832 _ACEOF
10833 if ac_fn_c_try_link "$LINENO"; then :
10834 ac_cv_lib_dnet_dnet_ntoa=yes
10835 else
10836 ac_cv_lib_dnet_dnet_ntoa=no
10838 rm -f core conftest.err conftest.$ac_objext \
10839 conftest$ac_exeext conftest.$ac_ext
10840 LIBS=$ac_check_lib_save_LIBS
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10843 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10844 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10845 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10848 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10850 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10851 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10852 $as_echo_n "(cached) " >&6
10853 else
10854 ac_check_lib_save_LIBS=$LIBS
10855 LIBS="-ldnet_stub $LIBS"
10856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10859 /* Override any GCC internal prototype to avoid an error.
10860 Use char because int might match the return type of a GCC
10861 builtin and then its argument prototype would still apply. */
10862 #ifdef __cplusplus
10863 extern "C"
10864 #endif
10865 char dnet_ntoa ();
10867 main ()
10869 return dnet_ntoa ();
10871 return 0;
10873 _ACEOF
10874 if ac_fn_c_try_link "$LINENO"; then :
10875 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10876 else
10877 ac_cv_lib_dnet_stub_dnet_ntoa=no
10879 rm -f core conftest.err conftest.$ac_objext \
10880 conftest$ac_exeext conftest.$ac_ext
10881 LIBS=$ac_check_lib_save_LIBS
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10884 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10885 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10886 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10891 rm -f core conftest.err conftest.$ac_objext \
10892 conftest$ac_exeext conftest.$ac_ext
10893 LIBS="$ac_xsave_LIBS"
10895 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10896 # to get the SysV transport functions.
10897 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10898 # needs -lnsl.
10899 # The nsl library prevents programs from opening the X display
10900 # on Irix 5.2, according to T.E. Dickey.
10901 # The functions gethostbyname, getservbyname, and inet_addr are
10902 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10903 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10904 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10908 if test $ac_cv_func_gethostbyname = no; then
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10910 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10911 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10912 $as_echo_n "(cached) " >&6
10913 else
10914 ac_check_lib_save_LIBS=$LIBS
10915 LIBS="-lnsl $LIBS"
10916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10917 /* end confdefs.h. */
10919 /* Override any GCC internal prototype to avoid an error.
10920 Use char because int might match the return type of a GCC
10921 builtin and then its argument prototype would still apply. */
10922 #ifdef __cplusplus
10923 extern "C"
10924 #endif
10925 char gethostbyname ();
10927 main ()
10929 return gethostbyname ();
10931 return 0;
10933 _ACEOF
10934 if ac_fn_c_try_link "$LINENO"; then :
10935 ac_cv_lib_nsl_gethostbyname=yes
10936 else
10937 ac_cv_lib_nsl_gethostbyname=no
10939 rm -f core conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LIBS=$ac_check_lib_save_LIBS
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10944 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10945 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10946 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10949 if test $ac_cv_lib_nsl_gethostbyname = no; then
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10951 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10952 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10953 $as_echo_n "(cached) " >&6
10954 else
10955 ac_check_lib_save_LIBS=$LIBS
10956 LIBS="-lbsd $LIBS"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10960 /* Override any GCC internal prototype to avoid an error.
10961 Use char because int might match the return type of a GCC
10962 builtin and then its argument prototype would still apply. */
10963 #ifdef __cplusplus
10964 extern "C"
10965 #endif
10966 char gethostbyname ();
10968 main ()
10970 return gethostbyname ();
10972 return 0;
10974 _ACEOF
10975 if ac_fn_c_try_link "$LINENO"; then :
10976 ac_cv_lib_bsd_gethostbyname=yes
10977 else
10978 ac_cv_lib_bsd_gethostbyname=no
10980 rm -f core conftest.err conftest.$ac_objext \
10981 conftest$ac_exeext conftest.$ac_ext
10982 LIBS=$ac_check_lib_save_LIBS
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10985 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10986 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10987 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10993 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10994 # socket/setsockopt and other routines are undefined under SCO ODT
10995 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10996 # on later versions), says Simon Leinen: it contains gethostby*
10997 # variants that don't use the name server (or something). -lsocket
10998 # must be given before -lnsl if both are needed. We assume that
10999 # if connect needs -lnsl, so does gethostbyname.
11000 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11001 if test "x$ac_cv_func_connect" = xyes; then :
11005 if test $ac_cv_func_connect = no; then
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11007 $as_echo_n "checking for connect in -lsocket... " >&6; }
11008 if ${ac_cv_lib_socket_connect+:} false; then :
11009 $as_echo_n "(cached) " >&6
11010 else
11011 ac_check_lib_save_LIBS=$LIBS
11012 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11016 /* Override any GCC internal prototype to avoid an error.
11017 Use char because int might match the return type of a GCC
11018 builtin and then its argument prototype would still apply. */
11019 #ifdef __cplusplus
11020 extern "C"
11021 #endif
11022 char connect ();
11024 main ()
11026 return connect ();
11028 return 0;
11030 _ACEOF
11031 if ac_fn_c_try_link "$LINENO"; then :
11032 ac_cv_lib_socket_connect=yes
11033 else
11034 ac_cv_lib_socket_connect=no
11036 rm -f core conftest.err conftest.$ac_objext \
11037 conftest$ac_exeext conftest.$ac_ext
11038 LIBS=$ac_check_lib_save_LIBS
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11041 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11042 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11043 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11048 # Guillermo Gomez says -lposix is necessary on A/UX.
11049 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11050 if test "x$ac_cv_func_remove" = xyes; then :
11054 if test $ac_cv_func_remove = no; then
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11056 $as_echo_n "checking for remove in -lposix... " >&6; }
11057 if ${ac_cv_lib_posix_remove+:} false; then :
11058 $as_echo_n "(cached) " >&6
11059 else
11060 ac_check_lib_save_LIBS=$LIBS
11061 LIBS="-lposix $LIBS"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11068 #ifdef __cplusplus
11069 extern "C"
11070 #endif
11071 char remove ();
11073 main ()
11075 return remove ();
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 ac_cv_lib_posix_remove=yes
11082 else
11083 ac_cv_lib_posix_remove=no
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_lib_save_LIBS
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11090 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11091 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11092 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11097 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11098 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11099 if test "x$ac_cv_func_shmat" = xyes; then :
11103 if test $ac_cv_func_shmat = no; then
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11105 $as_echo_n "checking for shmat in -lipc... " >&6; }
11106 if ${ac_cv_lib_ipc_shmat+:} false; then :
11107 $as_echo_n "(cached) " >&6
11108 else
11109 ac_check_lib_save_LIBS=$LIBS
11110 LIBS="-lipc $LIBS"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11114 /* Override any GCC internal prototype to avoid an error.
11115 Use char because int might match the return type of a GCC
11116 builtin and then its argument prototype would still apply. */
11117 #ifdef __cplusplus
11118 extern "C"
11119 #endif
11120 char shmat ();
11122 main ()
11124 return shmat ();
11126 return 0;
11128 _ACEOF
11129 if ac_fn_c_try_link "$LINENO"; then :
11130 ac_cv_lib_ipc_shmat=yes
11131 else
11132 ac_cv_lib_ipc_shmat=no
11134 rm -f core conftest.err conftest.$ac_objext \
11135 conftest$ac_exeext conftest.$ac_ext
11136 LIBS=$ac_check_lib_save_LIBS
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11139 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11140 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11141 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11147 # Check for libraries that X11R6 Xt/Xaw programs need.
11148 ac_save_LDFLAGS=$LDFLAGS
11149 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11150 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11151 # check for ICE first), but we must link in the order -lSM -lICE or
11152 # we get undefined symbols. So assume we have SM if we have ICE.
11153 # These have to be linked with before -lX11, unlike the other
11154 # libraries we check for below, so use a different variable.
11155 # John Interrante, Karl Berry
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11157 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11158 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11159 $as_echo_n "(cached) " >&6
11160 else
11161 ac_check_lib_save_LIBS=$LIBS
11162 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11169 #ifdef __cplusplus
11170 extern "C"
11171 #endif
11172 char IceConnectionNumber ();
11174 main ()
11176 return IceConnectionNumber ();
11178 return 0;
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"; then :
11182 ac_cv_lib_ICE_IceConnectionNumber=yes
11183 else
11184 ac_cv_lib_ICE_IceConnectionNumber=no
11186 rm -f core conftest.err conftest.$ac_objext \
11187 conftest$ac_exeext conftest.$ac_ext
11188 LIBS=$ac_check_lib_save_LIBS
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11191 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11192 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11193 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11196 LDFLAGS=$ac_save_LDFLAGS
11201 if test "$have_x" = "yes"
11202 then
11203 ac_save_CPPFLAGS="$CPPFLAGS"
11204 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11207 $as_echo_n "checking for -lX11... " >&6; }
11208 if ${ac_cv_lib_soname_X11+:} false; then :
11209 $as_echo_n "(cached) " >&6
11210 else
11211 ac_check_soname_save_LIBS=$LIBS
11212 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11216 /* Override any GCC internal prototype to avoid an error.
11217 Use char because int might match the return type of a GCC
11218 builtin and then its argument prototype would still apply. */
11219 #ifdef __cplusplus
11220 extern "C"
11221 #endif
11222 char XCreateWindow ();
11224 main ()
11226 return XCreateWindow ();
11228 return 0;
11230 _ACEOF
11231 if ac_fn_c_try_link "$LINENO"; then :
11232 case "$LIBEXT" in
11233 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11234 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'` ;;
11235 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11236 if ${ac_cv_lib_soname_X11:+false} :; then :
11237 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11238 fi ;;
11239 esac
11240 else
11241 ac_cv_lib_soname_X11=
11243 rm -f core conftest.err conftest.$ac_objext \
11244 conftest$ac_exeext conftest.$ac_ext
11245 LIBS=$ac_check_soname_save_LIBS
11247 if ${ac_cv_lib_soname_X11:+false} :; then :
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11249 $as_echo "not found" >&6; }
11251 else
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11253 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11255 cat >>confdefs.h <<_ACEOF
11256 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11257 _ACEOF
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11262 $as_echo_n "checking for -lXext... " >&6; }
11263 if ${ac_cv_lib_soname_Xext+:} false; then :
11264 $as_echo_n "(cached) " >&6
11265 else
11266 ac_check_soname_save_LIBS=$LIBS
11267 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11271 /* Override any GCC internal prototype to avoid an error.
11272 Use char because int might match the return type of a GCC
11273 builtin and then its argument prototype would still apply. */
11274 #ifdef __cplusplus
11275 extern "C"
11276 #endif
11277 char XextCreateExtension ();
11279 main ()
11281 return XextCreateExtension ();
11283 return 0;
11285 _ACEOF
11286 if ac_fn_c_try_link "$LINENO"; then :
11287 case "$LIBEXT" in
11288 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11289 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'` ;;
11290 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11291 if ${ac_cv_lib_soname_Xext:+false} :; then :
11292 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11293 fi ;;
11294 esac
11295 else
11296 ac_cv_lib_soname_Xext=
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_soname_save_LIBS
11302 if ${ac_cv_lib_soname_Xext:+false} :; then :
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11304 $as_echo "not found" >&6; }
11306 else
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11308 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11310 cat >>confdefs.h <<_ACEOF
11311 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11312 _ACEOF
11314 X_LIBS="$X_LIBS -lXext"
11316 X_LIBS="$X_LIBS -lX11"
11318 for ac_header in X11/Xlib.h \
11319 X11/XKBlib.h \
11320 X11/Xutil.h \
11321 X11/Xcursor/Xcursor.h \
11322 X11/extensions/shape.h \
11323 X11/extensions/XInput.h \
11324 X11/extensions/XInput2.h \
11325 X11/extensions/XShm.h \
11326 X11/extensions/Xcomposite.h \
11327 X11/extensions/Xfixes.h \
11328 X11/extensions/Xinerama.h \
11329 X11/extensions/Xrandr.h \
11330 X11/extensions/Xrender.h \
11331 X11/extensions/xf86vmode.h \
11332 X11/extensions/xf86vmproto.h
11333 do :
11334 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11335 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11336 # include <X11/Xlib.h>
11337 #endif
11338 #ifdef HAVE_X11_XUTIL_H
11339 # include <X11/Xutil.h>
11340 #endif
11342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11343 cat >>confdefs.h <<_ACEOF
11344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11345 _ACEOF
11349 done
11352 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11353 then
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11355 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11356 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11357 $as_echo_n "(cached) " >&6
11358 else
11359 ac_check_lib_save_LIBS=$LIBS
11360 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11364 /* Override any GCC internal prototype to avoid an error.
11365 Use char because int might match the return type of a GCC
11366 builtin and then its argument prototype would still apply. */
11367 #ifdef __cplusplus
11368 extern "C"
11369 #endif
11370 char XkbQueryExtension ();
11372 main ()
11374 return XkbQueryExtension ();
11376 return 0;
11378 _ACEOF
11379 if ac_fn_c_try_link "$LINENO"; then :
11380 ac_cv_lib_X11_XkbQueryExtension=yes
11381 else
11382 ac_cv_lib_X11_XkbQueryExtension=no
11384 rm -f core conftest.err conftest.$ac_objext \
11385 conftest$ac_exeext conftest.$ac_ext
11386 LIBS=$ac_check_lib_save_LIBS
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11389 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11390 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11392 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11398 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11399 then
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11401 $as_echo_n "checking for -lXcursor... " >&6; }
11402 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11403 $as_echo_n "(cached) " >&6
11404 else
11405 ac_check_soname_save_LIBS=$LIBS
11406 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408 /* end confdefs.h. */
11410 /* Override any GCC internal prototype to avoid an error.
11411 Use char because int might match the return type of a GCC
11412 builtin and then its argument prototype would still apply. */
11413 #ifdef __cplusplus
11414 extern "C"
11415 #endif
11416 char XcursorImageLoadCursor ();
11418 main ()
11420 return XcursorImageLoadCursor ();
11422 return 0;
11424 _ACEOF
11425 if ac_fn_c_try_link "$LINENO"; then :
11426 case "$LIBEXT" in
11427 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11428 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'` ;;
11429 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11430 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11431 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11432 fi ;;
11433 esac
11434 else
11435 ac_cv_lib_soname_Xcursor=
11437 rm -f core conftest.err conftest.$ac_objext \
11438 conftest$ac_exeext conftest.$ac_ext
11439 LIBS=$ac_check_soname_save_LIBS
11441 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11443 $as_echo "not found" >&6; }
11445 else
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11447 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11449 cat >>confdefs.h <<_ACEOF
11450 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11451 _ACEOF
11456 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11457 case "x$with_xcursor" in
11458 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11459 xno) ;;
11460 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11461 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11462 esac
11466 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11467 then
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11469 $as_echo_n "checking for -lXi... " >&6; }
11470 if ${ac_cv_lib_soname_Xi+:} false; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_soname_save_LIBS=$LIBS
11474 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11481 #ifdef __cplusplus
11482 extern "C"
11483 #endif
11484 char XOpenDevice ();
11486 main ()
11488 return XOpenDevice ();
11490 return 0;
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"; then :
11494 case "$LIBEXT" in
11495 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11496 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'` ;;
11497 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11498 if ${ac_cv_lib_soname_Xi:+false} :; then :
11499 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11500 fi ;;
11501 esac
11502 else
11503 ac_cv_lib_soname_Xi=
11505 rm -f core conftest.err conftest.$ac_objext \
11506 conftest$ac_exeext conftest.$ac_ext
11507 LIBS=$ac_check_soname_save_LIBS
11509 if ${ac_cv_lib_soname_Xi:+false} :; then :
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11511 $as_echo "not found" >&6; }
11513 else
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11515 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11517 cat >>confdefs.h <<_ACEOF
11518 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11519 _ACEOF
11524 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11525 case "x$with_xinput" in
11526 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11527 xno) ;;
11528 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11529 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11530 esac
11534 if test "x$ac_cv_lib_soname_Xi" != x
11535 then
11536 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11537 case "x$with_xinput2" in
11538 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11539 xno) ;;
11540 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11541 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11542 esac
11547 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11548 then
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11550 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11551 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11552 $as_echo_n "(cached) " >&6
11553 else
11554 ac_check_lib_save_LIBS=$LIBS
11555 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11557 /* end confdefs.h. */
11559 /* Override any GCC internal prototype to avoid an error.
11560 Use char because int might match the return type of a GCC
11561 builtin and then its argument prototype would still apply. */
11562 #ifdef __cplusplus
11563 extern "C"
11564 #endif
11565 char XShmQueryExtension ();
11567 main ()
11569 return XShmQueryExtension ();
11571 return 0;
11573 _ACEOF
11574 if ac_fn_c_try_link "$LINENO"; then :
11575 ac_cv_lib_Xext_XShmQueryExtension=yes
11576 else
11577 ac_cv_lib_Xext_XShmQueryExtension=no
11579 rm -f core conftest.err conftest.$ac_objext \
11580 conftest$ac_exeext conftest.$ac_ext
11581 LIBS=$ac_check_lib_save_LIBS
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11584 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11585 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11587 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11592 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11593 case "x$with_xshm" in
11594 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11595 xno) ;;
11596 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11597 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11598 esac
11602 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11603 then
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11605 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11606 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11607 $as_echo_n "(cached) " >&6
11608 else
11609 ac_check_lib_save_LIBS=$LIBS
11610 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11612 /* end confdefs.h. */
11614 /* Override any GCC internal prototype to avoid an error.
11615 Use char because int might match the return type of a GCC
11616 builtin and then its argument prototype would still apply. */
11617 #ifdef __cplusplus
11618 extern "C"
11619 #endif
11620 char XShapeQueryExtension ();
11622 main ()
11624 return XShapeQueryExtension ();
11626 return 0;
11628 _ACEOF
11629 if ac_fn_c_try_link "$LINENO"; then :
11630 ac_cv_lib_Xext_XShapeQueryExtension=yes
11631 else
11632 ac_cv_lib_Xext_XShapeQueryExtension=no
11634 rm -f core conftest.err conftest.$ac_objext \
11635 conftest$ac_exeext conftest.$ac_ext
11636 LIBS=$ac_check_lib_save_LIBS
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11639 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11640 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11642 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11647 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11648 case "x$with_xshape" in
11649 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11650 xno) ;;
11651 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11652 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11653 esac
11657 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11658 then
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11660 $as_echo_n "checking for -lXxf86vm... " >&6; }
11661 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11662 $as_echo_n "(cached) " >&6
11663 else
11664 ac_check_soname_save_LIBS=$LIBS
11665 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11672 #ifdef __cplusplus
11673 extern "C"
11674 #endif
11675 char XF86VidModeQueryExtension ();
11677 main ()
11679 return XF86VidModeQueryExtension ();
11681 return 0;
11683 _ACEOF
11684 if ac_fn_c_try_link "$LINENO"; then :
11685 case "$LIBEXT" in
11686 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11687 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'` ;;
11688 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11689 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11690 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11691 fi ;;
11692 esac
11693 else
11694 ac_cv_lib_soname_Xxf86vm=
11696 rm -f core conftest.err conftest.$ac_objext \
11697 conftest$ac_exeext conftest.$ac_ext
11698 LIBS=$ac_check_soname_save_LIBS
11700 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11702 $as_echo "not found" >&6; }
11704 else
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11706 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11708 cat >>confdefs.h <<_ACEOF
11709 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11710 _ACEOF
11715 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11716 case "x$with_xxf86vm" in
11717 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11718 xno) ;;
11719 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11720 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11721 esac
11725 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11726 then
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11728 $as_echo_n "checking for -lXrender... " >&6; }
11729 if ${ac_cv_lib_soname_Xrender+:} false; then :
11730 $as_echo_n "(cached) " >&6
11731 else
11732 ac_check_soname_save_LIBS=$LIBS
11733 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11740 #ifdef __cplusplus
11741 extern "C"
11742 #endif
11743 char XRenderQueryExtension ();
11745 main ()
11747 return XRenderQueryExtension ();
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"; then :
11753 case "$LIBEXT" in
11754 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11755 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'` ;;
11756 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11757 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11758 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11759 fi ;;
11760 esac
11761 else
11762 ac_cv_lib_soname_Xrender=
11764 rm -f core conftest.err conftest.$ac_objext \
11765 conftest$ac_exeext conftest.$ac_ext
11766 LIBS=$ac_check_soname_save_LIBS
11768 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11770 $as_echo "not found" >&6; }
11772 else
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11774 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11776 cat >>confdefs.h <<_ACEOF
11777 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11778 _ACEOF
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11781 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11782 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11783 $as_echo_n "(cached) " >&6
11784 else
11785 ac_check_lib_save_LIBS=$LIBS
11786 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11788 /* end confdefs.h. */
11790 /* Override any GCC internal prototype to avoid an error.
11791 Use char because int might match the return type of a GCC
11792 builtin and then its argument prototype would still apply. */
11793 #ifdef __cplusplus
11794 extern "C"
11795 #endif
11796 char XRenderSetPictureTransform ();
11798 main ()
11800 return XRenderSetPictureTransform ();
11802 return 0;
11804 _ACEOF
11805 if ac_fn_c_try_link "$LINENO"; then :
11806 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11807 else
11808 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11810 rm -f core conftest.err conftest.$ac_objext \
11811 conftest$ac_exeext conftest.$ac_ext
11812 LIBS=$ac_check_lib_save_LIBS
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11815 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11816 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11818 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11823 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11824 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11825 $as_echo_n "(cached) " >&6
11826 else
11827 ac_check_lib_save_LIBS=$LIBS
11828 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11832 /* Override any GCC internal prototype to avoid an error.
11833 Use char because int might match the return type of a GCC
11834 builtin and then its argument prototype would still apply. */
11835 #ifdef __cplusplus
11836 extern "C"
11837 #endif
11838 char XRenderCreateLinearGradient ();
11840 main ()
11842 return XRenderCreateLinearGradient ();
11844 return 0;
11846 _ACEOF
11847 if ac_fn_c_try_link "$LINENO"; then :
11848 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11849 else
11850 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11852 rm -f core conftest.err conftest.$ac_objext \
11853 conftest$ac_exeext conftest.$ac_ext
11854 LIBS=$ac_check_lib_save_LIBS
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11857 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11858 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11860 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11867 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11868 case "x$with_xrender" in
11869 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11870 xno) ;;
11871 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11872 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11873 esac
11877 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11878 then
11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11881 #include <X11/Xlib.h>
11882 #include <X11/extensions/Xrandr.h>
11884 main ()
11886 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11888 return 0;
11890 _ACEOF
11891 if ac_fn_c_try_compile "$LINENO"; then :
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11893 $as_echo_n "checking for -lXrandr... " >&6; }
11894 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11895 $as_echo_n "(cached) " >&6
11896 else
11897 ac_check_soname_save_LIBS=$LIBS
11898 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11905 #ifdef __cplusplus
11906 extern "C"
11907 #endif
11908 char XRRQueryExtension ();
11910 main ()
11912 return XRRQueryExtension ();
11914 return 0;
11916 _ACEOF
11917 if ac_fn_c_try_link "$LINENO"; then :
11918 case "$LIBEXT" in
11919 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11920 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'` ;;
11921 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11922 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11923 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11924 fi ;;
11925 esac
11926 else
11927 ac_cv_lib_soname_Xrandr=
11929 rm -f core conftest.err conftest.$ac_objext \
11930 conftest$ac_exeext conftest.$ac_ext
11931 LIBS=$ac_check_soname_save_LIBS
11933 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11935 $as_echo "not found" >&6; }
11937 else
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11939 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11941 cat >>confdefs.h <<_ACEOF
11942 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11943 _ACEOF
11945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11947 #include <X11/Xlib.h>
11948 #include <X11/extensions/Xrandr.h>
11950 main ()
11952 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11954 return 0;
11956 _ACEOF
11957 if ac_fn_c_try_compile "$LINENO"; then :
11959 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11967 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11968 case "x$with_xrandr" in
11969 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11970 xno) ;;
11971 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11972 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11973 esac
11977 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11978 then
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11981 #include <X11/Xlib.h>
11982 #include <X11/extensions/Xfixes.h>
11984 main ()
11986 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11988 return 0;
11990 _ACEOF
11991 if ac_fn_c_try_compile "$LINENO"; then :
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11993 $as_echo_n "checking for -lXfixes... " >&6; }
11994 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11995 $as_echo_n "(cached) " >&6
11996 else
11997 ac_check_soname_save_LIBS=$LIBS
11998 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12005 #ifdef __cplusplus
12006 extern "C"
12007 #endif
12008 char XFixesQueryVersion ();
12010 main ()
12012 return XFixesQueryVersion ();
12014 return 0;
12016 _ACEOF
12017 if ac_fn_c_try_link "$LINENO"; then :
12018 case "$LIBEXT" in
12019 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12020 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'` ;;
12021 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12022 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12023 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12024 fi ;;
12025 esac
12026 else
12027 ac_cv_lib_soname_Xfixes=
12029 rm -f core conftest.err conftest.$ac_objext \
12030 conftest$ac_exeext conftest.$ac_ext
12031 LIBS=$ac_check_soname_save_LIBS
12033 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12035 $as_echo "not found" >&6; }
12037 else
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12039 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12041 cat >>confdefs.h <<_ACEOF
12042 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12043 _ACEOF
12048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12050 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12051 case "x$with_xfixes" in
12052 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12053 xno) ;;
12054 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12055 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12056 esac
12060 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12061 then
12062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12064 #include <X11/Xlib.h>
12065 #include <X11/extensions/Xinerama.h>
12067 main ()
12069 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12071 return 0;
12073 _ACEOF
12074 if ac_fn_c_try_compile "$LINENO"; then :
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12076 $as_echo_n "checking for -lXinerama... " >&6; }
12077 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12078 $as_echo_n "(cached) " >&6
12079 else
12080 ac_check_soname_save_LIBS=$LIBS
12081 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12085 /* Override any GCC internal prototype to avoid an error.
12086 Use char because int might match the return type of a GCC
12087 builtin and then its argument prototype would still apply. */
12088 #ifdef __cplusplus
12089 extern "C"
12090 #endif
12091 char XineramaQueryScreens ();
12093 main ()
12095 return XineramaQueryScreens ();
12097 return 0;
12099 _ACEOF
12100 if ac_fn_c_try_link "$LINENO"; then :
12101 case "$LIBEXT" in
12102 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12103 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'` ;;
12104 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12105 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12106 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12107 fi ;;
12108 esac
12109 else
12110 ac_cv_lib_soname_Xinerama=
12112 rm -f core conftest.err conftest.$ac_objext \
12113 conftest$ac_exeext conftest.$ac_ext
12114 LIBS=$ac_check_soname_save_LIBS
12116 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12118 $as_echo "not found" >&6; }
12120 else
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12122 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12124 cat >>confdefs.h <<_ACEOF
12125 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12126 _ACEOF
12131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12133 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12134 case "x$with_xinerama" in
12135 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12136 xno) ;;
12137 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12138 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12139 esac
12143 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12144 then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12146 $as_echo_n "checking for -lXcomposite... " >&6; }
12147 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12148 $as_echo_n "(cached) " >&6
12149 else
12150 ac_check_soname_save_LIBS=$LIBS
12151 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12155 /* Override any GCC internal prototype to avoid an error.
12156 Use char because int might match the return type of a GCC
12157 builtin and then its argument prototype would still apply. */
12158 #ifdef __cplusplus
12159 extern "C"
12160 #endif
12161 char XCompositeRedirectWindow ();
12163 main ()
12165 return XCompositeRedirectWindow ();
12167 return 0;
12169 _ACEOF
12170 if ac_fn_c_try_link "$LINENO"; then :
12171 case "$LIBEXT" in
12172 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12173 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'` ;;
12174 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12175 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12176 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12177 fi ;;
12178 esac
12179 else
12180 ac_cv_lib_soname_Xcomposite=
12182 rm -f core conftest.err conftest.$ac_objext \
12183 conftest$ac_exeext conftest.$ac_ext
12184 LIBS=$ac_check_soname_save_LIBS
12186 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12188 $as_echo "not found" >&6; }
12190 else
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12192 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12194 cat >>confdefs.h <<_ACEOF
12195 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12196 _ACEOF
12201 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12202 case "x$with_xcomposite" in
12203 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12204 xno) ;;
12205 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12206 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12207 esac
12211 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12212 #include <X11/Xlib.h>
12213 #endif
12215 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12217 cat >>confdefs.h <<_ACEOF
12218 #define HAVE_XICCALLBACK_CALLBACK 1
12219 _ACEOF
12223 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12224 #include <X11/Xlib.h>
12225 #endif
12227 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12229 cat >>confdefs.h <<_ACEOF
12230 #define HAVE_XEVENT_XCOOKIE 1
12231 _ACEOF
12238 opengl_msg=""
12239 if test "x$with_opengl" != "xno"
12240 then
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12242 $as_echo_n "checking for -lGL... " >&6; }
12243 if ${ac_cv_lib_soname_GL+:} false; then :
12244 $as_echo_n "(cached) " >&6
12245 else
12246 ac_check_soname_save_LIBS=$LIBS
12247 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12251 /* Override any GCC internal prototype to avoid an error.
12252 Use char because int might match the return type of a GCC
12253 builtin and then its argument prototype would still apply. */
12254 #ifdef __cplusplus
12255 extern "C"
12256 #endif
12257 char glXCreateContext ();
12259 main ()
12261 return glXCreateContext ();
12263 return 0;
12265 _ACEOF
12266 if ac_fn_c_try_link "$LINENO"; then :
12267 case "$LIBEXT" in
12268 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12269 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'` ;;
12270 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12271 if ${ac_cv_lib_soname_GL:+false} :; then :
12272 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12273 fi ;;
12274 esac
12275 else
12276 ac_cv_lib_soname_GL=
12278 rm -f core conftest.err conftest.$ac_objext \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_soname_save_LIBS
12282 if ${ac_cv_lib_soname_GL:+false} :; then :
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12284 $as_echo "not found" >&6; }
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12286 $as_echo_n "checking for -lGL... " >&6; }
12287 if ${ac_cv_lib_soname_GL+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 ac_check_soname_save_LIBS=$LIBS
12291 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"
12292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 char glXCreateContext ();
12303 main ()
12305 return glXCreateContext ();
12307 return 0;
12309 _ACEOF
12310 if ac_fn_c_try_link "$LINENO"; then :
12311 case "$LIBEXT" in
12312 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12313 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'` ;;
12314 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12315 if ${ac_cv_lib_soname_GL:+false} :; then :
12316 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12317 fi ;;
12318 esac
12319 else
12320 ac_cv_lib_soname_GL=
12322 rm -f core conftest.err conftest.$ac_objext \
12323 conftest$ac_exeext conftest.$ac_ext
12324 LIBS=$ac_check_soname_save_LIBS
12326 if ${ac_cv_lib_soname_GL:+false} :; then :
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12328 $as_echo "not found" >&6; }
12329 if test -f /usr/X11R6/lib/libGL.a
12330 then
12331 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12332 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12333 else
12334 opengl_msg="No OpenGL library found on this system."
12336 else
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12338 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12340 cat >>confdefs.h <<_ACEOF
12341 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12342 _ACEOF
12344 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"
12346 else
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12348 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12350 cat >>confdefs.h <<_ACEOF
12351 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12352 _ACEOF
12354 OPENGL_LIBS="-lGL"
12356 if test "x$with_glu" != "xno"
12357 then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12359 $as_echo_n "checking for -lGLU... " >&6; }
12360 if ${ac_cv_lib_soname_GLU+:} false; then :
12361 $as_echo_n "(cached) " >&6
12362 else
12363 ac_check_soname_save_LIBS=$LIBS
12364 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366 /* end confdefs.h. */
12368 /* Override any GCC internal prototype to avoid an error.
12369 Use char because int might match the return type of a GCC
12370 builtin and then its argument prototype would still apply. */
12371 #ifdef __cplusplus
12372 extern "C"
12373 #endif
12374 char gluLookAt ();
12376 main ()
12378 return gluLookAt ();
12380 return 0;
12382 _ACEOF
12383 if ac_fn_c_try_link "$LINENO"; then :
12384 case "$LIBEXT" in
12385 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12386 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'` ;;
12387 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12388 if ${ac_cv_lib_soname_GLU:+false} :; then :
12389 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12390 fi ;;
12391 esac
12392 else
12393 ac_cv_lib_soname_GLU=
12395 rm -f core conftest.err conftest.$ac_objext \
12396 conftest$ac_exeext conftest.$ac_ext
12397 LIBS=$ac_check_soname_save_LIBS
12399 if ${ac_cv_lib_soname_GLU:+false} :; then :
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12401 $as_echo "not found" >&6; }
12403 else
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12405 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12407 cat >>confdefs.h <<_ACEOF
12408 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12409 _ACEOF
12413 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12414 case "x$with_glu" in
12415 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12416 xno) ;;
12417 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12418 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12419 esac
12424 if test "x$with_osmesa" != "xno"
12425 then
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12427 $as_echo_n "checking for -lOSMesa... " >&6; }
12428 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12429 $as_echo_n "(cached) " >&6
12430 else
12431 ac_check_soname_save_LIBS=$LIBS
12432 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12436 /* Override any GCC internal prototype to avoid an error.
12437 Use char because int might match the return type of a GCC
12438 builtin and then its argument prototype would still apply. */
12439 #ifdef __cplusplus
12440 extern "C"
12441 #endif
12442 char OSMesaGetProcAddress ();
12444 main ()
12446 return OSMesaGetProcAddress ();
12448 return 0;
12450 _ACEOF
12451 if ac_fn_c_try_link "$LINENO"; then :
12452 case "$LIBEXT" in
12453 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12454 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'` ;;
12455 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12456 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12457 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12458 fi ;;
12459 esac
12460 else
12461 ac_cv_lib_soname_OSMesa=
12463 rm -f core conftest.err conftest.$ac_objext \
12464 conftest$ac_exeext conftest.$ac_ext
12465 LIBS=$ac_check_soname_save_LIBS
12467 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12469 $as_echo "not found" >&6; }
12471 else
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12473 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12475 cat >>confdefs.h <<_ACEOF
12476 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12477 _ACEOF
12481 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12482 case "x$with_osmesa" in
12483 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12484 xno) ;;
12485 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12486 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12487 esac
12492 if test -n "$opengl_msg"; then :
12493 case "x$with_opengl" in
12494 x) as_fn_append wine_warnings "|$opengl_msg
12495 OpenGL and Direct3D won't be supported." ;;
12496 xno) ;;
12497 *) as_fn_error $? "$opengl_msg
12498 OpenGL and Direct3D won't be supported.
12499 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12500 esac
12504 CPPFLAGS="$ac_save_CPPFLAGS"
12505 else
12506 X_CFLAGS=""
12507 X_LIBS=""
12510 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12511 then
12512 if test "x$X_LIBS" = "x"; then :
12513 case "x$with_x" in
12514 xno) ;;
12515 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12516 without X support, which probably isn't what you want. You will need
12517 to install ${notice_platform}development packages of Xlib at the very least.
12518 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12519 esac
12520 enable_winex11_drv=${enable_winex11_drv:-no}
12522 else
12523 if test "x$X_LIBS" = "x"; then :
12524 case "x$with_x" in
12525 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12526 xno) ;;
12527 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12528 This is an error since --with-x was requested." "$LINENO" 5 ;;
12529 esac
12530 enable_winex11_drv=${enable_winex11_drv:-no}
12534 if test "$ac_cv_header_CL_cl_h" = "yes"
12535 then
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12537 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12538 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12539 $as_echo_n "(cached) " >&6
12540 else
12541 ac_check_lib_save_LIBS=$LIBS
12542 LIBS="-lOpenCL $LIBS"
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12546 /* Override any GCC internal prototype to avoid an error.
12547 Use char because int might match the return type of a GCC
12548 builtin and then its argument prototype would still apply. */
12549 #ifdef __cplusplus
12550 extern "C"
12551 #endif
12552 char clGetPlatformInfo ();
12554 main ()
12556 return clGetPlatformInfo ();
12558 return 0;
12560 _ACEOF
12561 if ac_fn_c_try_link "$LINENO"; then :
12562 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12563 else
12564 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12566 rm -f core conftest.err conftest.$ac_objext \
12567 conftest$ac_exeext conftest.$ac_ext
12568 LIBS=$ac_check_lib_save_LIBS
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12571 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12572 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12573 OPENCL_LIBS="-lOpenCL"
12578 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12579 case "x$with_opencl" in
12580 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12581 xno) ;;
12582 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12583 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12584 esac
12585 enable_opencl=${enable_opencl:-no}
12588 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12589 then
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12591 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12592 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12593 $as_echo_n "(cached) " >&6
12594 else
12595 ac_check_lib_save_LIBS=$LIBS
12596 LIBS="-lpcap $LIBS"
12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h. */
12600 /* Override any GCC internal prototype to avoid an error.
12601 Use char because int might match the return type of a GCC
12602 builtin and then its argument prototype would still apply. */
12603 #ifdef __cplusplus
12604 extern "C"
12605 #endif
12606 char pcap_create ();
12608 main ()
12610 return pcap_create ();
12612 return 0;
12614 _ACEOF
12615 if ac_fn_c_try_link "$LINENO"; then :
12616 ac_cv_lib_pcap_pcap_create=yes
12617 else
12618 ac_cv_lib_pcap_pcap_create=no
12620 rm -f core conftest.err conftest.$ac_objext \
12621 conftest$ac_exeext conftest.$ac_ext
12622 LIBS=$ac_check_lib_save_LIBS
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12625 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12626 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12627 PCAP_LIBS="-lpcap"
12632 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12633 case "x$with_pcap" in
12634 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12635 xno) ;;
12636 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12637 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12638 esac
12639 enable_wpcap=${enable_wpcap:-no}
12643 if test "x$with_xml" != "xno"
12644 then
12645 if ${XML2_CFLAGS:+false} :; then :
12646 if ${PKG_CONFIG+:} false; then :
12647 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12650 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12651 if ${XML2_LIBS:+false} :; then :
12652 if ${PKG_CONFIG+:} false; then :
12653 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12656 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12657 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12658 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12659 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12660 ac_save_CPPFLAGS=$CPPFLAGS
12661 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12662 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12663 do :
12664 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12665 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12666 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12667 cat >>confdefs.h <<_ACEOF
12668 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12669 _ACEOF
12673 done
12675 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"
12676 then
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12678 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12679 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12680 $as_echo_n "(cached) " >&6
12681 else
12682 ac_check_lib_save_LIBS=$LIBS
12683 LIBS="-lxml2 $XML2_LIBS $LIBS"
12684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12687 /* Override any GCC internal prototype to avoid an error.
12688 Use char because int might match the return type of a GCC
12689 builtin and then its argument prototype would still apply. */
12690 #ifdef __cplusplus
12691 extern "C"
12692 #endif
12693 char xmlParseMemory ();
12695 main ()
12697 return xmlParseMemory ();
12699 return 0;
12701 _ACEOF
12702 if ac_fn_c_try_link "$LINENO"; then :
12703 ac_cv_lib_xml2_xmlParseMemory=yes
12704 else
12705 ac_cv_lib_xml2_xmlParseMemory=no
12707 rm -f core conftest.err conftest.$ac_objext \
12708 conftest$ac_exeext conftest.$ac_ext
12709 LIBS=$ac_check_lib_save_LIBS
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12712 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12713 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12715 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12717 else
12718 XML2_LIBS=""
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12722 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12723 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12724 $as_echo_n "(cached) " >&6
12725 else
12726 ac_check_lib_save_LIBS=$LIBS
12727 LIBS="-lxml2 $XML2_LIBS $LIBS"
12728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12729 /* end confdefs.h. */
12731 /* Override any GCC internal prototype to avoid an error.
12732 Use char because int might match the return type of a GCC
12733 builtin and then its argument prototype would still apply. */
12734 #ifdef __cplusplus
12735 extern "C"
12736 #endif
12737 char xmlReadMemory ();
12739 main ()
12741 return xmlReadMemory ();
12743 return 0;
12745 _ACEOF
12746 if ac_fn_c_try_link "$LINENO"; then :
12747 ac_cv_lib_xml2_xmlReadMemory=yes
12748 else
12749 ac_cv_lib_xml2_xmlReadMemory=no
12751 rm -f core conftest.err conftest.$ac_objext \
12752 conftest$ac_exeext conftest.$ac_ext
12753 LIBS=$ac_check_lib_save_LIBS
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12756 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12757 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12759 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12764 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12765 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12766 $as_echo_n "(cached) " >&6
12767 else
12768 ac_check_lib_save_LIBS=$LIBS
12769 LIBS="-lxml2 $XML2_LIBS $LIBS"
12770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12773 /* Override any GCC internal prototype to avoid an error.
12774 Use char because int might match the return type of a GCC
12775 builtin and then its argument prototype would still apply. */
12776 #ifdef __cplusplus
12777 extern "C"
12778 #endif
12779 char xmlNewDocPI ();
12781 main ()
12783 return xmlNewDocPI ();
12785 return 0;
12787 _ACEOF
12788 if ac_fn_c_try_link "$LINENO"; then :
12789 ac_cv_lib_xml2_xmlNewDocPI=yes
12790 else
12791 ac_cv_lib_xml2_xmlNewDocPI=no
12793 rm -f core conftest.err conftest.$ac_objext \
12794 conftest$ac_exeext conftest.$ac_ext
12795 LIBS=$ac_check_lib_save_LIBS
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12798 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12799 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12801 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12806 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12807 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12808 $as_echo_n "(cached) " >&6
12809 else
12810 ac_check_lib_save_LIBS=$LIBS
12811 LIBS="-lxml2 $XML2_LIBS $LIBS"
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12818 #ifdef __cplusplus
12819 extern "C"
12820 #endif
12821 char xmlSchemaSetParserStructuredErrors ();
12823 main ()
12825 return xmlSchemaSetParserStructuredErrors ();
12827 return 0;
12829 _ACEOF
12830 if ac_fn_c_try_link "$LINENO"; then :
12831 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12832 else
12833 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12835 rm -f core conftest.err conftest.$ac_objext \
12836 conftest$ac_exeext conftest.$ac_ext
12837 LIBS=$ac_check_lib_save_LIBS
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12840 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12841 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12843 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12848 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12849 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12850 $as_echo_n "(cached) " >&6
12851 else
12852 ac_check_lib_save_LIBS=$LIBS
12853 LIBS="-lxml2 $XML2_LIBS $LIBS"
12854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12857 /* Override any GCC internal prototype to avoid an error.
12858 Use char because int might match the return type of a GCC
12859 builtin and then its argument prototype would still apply. */
12860 #ifdef __cplusplus
12861 extern "C"
12862 #endif
12863 char xmlSchemaSetValidStructuredErrors ();
12865 main ()
12867 return xmlSchemaSetValidStructuredErrors ();
12869 return 0;
12871 _ACEOF
12872 if ac_fn_c_try_link "$LINENO"; then :
12873 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12874 else
12875 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12877 rm -f core conftest.err conftest.$ac_objext \
12878 conftest$ac_exeext conftest.$ac_ext
12879 LIBS=$ac_check_lib_save_LIBS
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12882 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12883 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12885 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12890 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12891 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12892 $as_echo_n "(cached) " >&6
12893 else
12894 ac_check_lib_save_LIBS=$LIBS
12895 LIBS="-lxml2 $XML2_LIBS $LIBS"
12896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12897 /* end confdefs.h. */
12899 /* Override any GCC internal prototype to avoid an error.
12900 Use char because int might match the return type of a GCC
12901 builtin and then its argument prototype would still apply. */
12902 #ifdef __cplusplus
12903 extern "C"
12904 #endif
12905 char xmlFirstElementChild ();
12907 main ()
12909 return xmlFirstElementChild ();
12911 return 0;
12913 _ACEOF
12914 if ac_fn_c_try_link "$LINENO"; then :
12915 ac_cv_lib_xml2_xmlFirstElementChild=yes
12916 else
12917 ac_cv_lib_xml2_xmlFirstElementChild=no
12919 rm -f core conftest.err conftest.$ac_objext \
12920 conftest$ac_exeext conftest.$ac_ext
12921 LIBS=$ac_check_lib_save_LIBS
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12924 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12925 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12927 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12931 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12933 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12935 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12939 else
12940 XML2_CFLAGS=""
12941 XML2_LIBS=""
12943 CPPFLAGS=$ac_save_CPPFLAGS
12944 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12945 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12948 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12949 case "x$with_xml" in
12950 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12951 xno) ;;
12952 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12953 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12954 esac
12958 if test "x$with_xslt" != "xno"
12959 then
12960 if ${XSLT_CFLAGS:+false} :; then :
12961 if ${PKG_CONFIG+:} false; then :
12962 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12965 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12966 if ${XSLT_LIBS:+false} :; then :
12967 if ${PKG_CONFIG+:} false; then :
12968 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12971 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12972 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12973 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12974 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12975 ac_save_CPPFLAGS=$CPPFLAGS
12976 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12977 for ac_header in libxslt/pattern.h libxslt/transform.h
12978 do :
12979 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12980 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12981 # include <libxslt/pattern.h>
12982 #endif
12984 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12985 cat >>confdefs.h <<_ACEOF
12986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12987 _ACEOF
12991 done
12993 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12994 then
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12996 $as_echo_n "checking for -lxslt... " >&6; }
12997 if ${ac_cv_lib_soname_xslt+:} false; then :
12998 $as_echo_n "(cached) " >&6
12999 else
13000 ac_check_soname_save_LIBS=$LIBS
13001 LIBS="-lxslt $XSLT_LIBS $LIBS"
13002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13003 /* end confdefs.h. */
13005 /* Override any GCC internal prototype to avoid an error.
13006 Use char because int might match the return type of a GCC
13007 builtin and then its argument prototype would still apply. */
13008 #ifdef __cplusplus
13009 extern "C"
13010 #endif
13011 char xsltCompilePattern ();
13013 main ()
13015 return xsltCompilePattern ();
13017 return 0;
13019 _ACEOF
13020 if ac_fn_c_try_link "$LINENO"; then :
13021 case "$LIBEXT" in
13022 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13023 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'` ;;
13024 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13025 if ${ac_cv_lib_soname_xslt:+false} :; then :
13026 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13027 fi ;;
13028 esac
13029 else
13030 ac_cv_lib_soname_xslt=
13032 rm -f core conftest.err conftest.$ac_objext \
13033 conftest$ac_exeext conftest.$ac_ext
13034 LIBS=$ac_check_soname_save_LIBS
13036 if ${ac_cv_lib_soname_xslt:+false} :; then :
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13038 $as_echo "not found" >&6; }
13040 else
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13042 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13044 cat >>confdefs.h <<_ACEOF
13045 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13046 _ACEOF
13050 else
13051 XSLT_CFLAGS=""
13053 CPPFLAGS=$ac_save_CPPFLAGS
13054 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13055 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13058 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13059 case "x$with_xslt" in
13060 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13061 xno) ;;
13062 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13063 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13064 esac
13068 if test "x$with_inotify" != "xno"
13069 then
13070 if ${INOTIFY_CFLAGS:+false} :; then :
13071 if ${PKG_CONFIG+:} false; then :
13072 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13076 if ${INOTIFY_LIBS:+false} :; then :
13077 if ${PKG_CONFIG+:} false; then :
13078 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13083 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13084 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13085 ac_save_CPPFLAGS=$CPPFLAGS
13086 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13087 for ac_header in sys/inotify.h
13088 do :
13089 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13090 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13091 cat >>confdefs.h <<_ACEOF
13092 #define HAVE_SYS_INOTIFY_H 1
13093 _ACEOF
13097 done
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13100 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13101 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_lib_save_LIBS=$LIBS
13105 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char inotify_add_watch ();
13117 main ()
13119 return inotify_add_watch ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 ac_cv_lib_inotify_inotify_add_watch=yes
13126 else
13127 ac_cv_lib_inotify_inotify_add_watch=no
13129 rm -f core conftest.err conftest.$ac_objext \
13130 conftest$ac_exeext conftest.$ac_ext
13131 LIBS=$ac_check_lib_save_LIBS
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13134 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13135 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13137 else
13138 INOTIFY_LIBS=""
13141 CPPFLAGS=$ac_save_CPPFLAGS
13142 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13143 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13146 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13147 case "x$with_inotify" in
13148 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13149 xno) ;;
13150 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13151 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13152 esac
13156 if test "x$with_dbus" != "xno"
13157 then
13158 if ${DBUS_CFLAGS:+false} :; then :
13159 if ${PKG_CONFIG+:} false; then :
13160 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13164 if ${DBUS_LIBS:+false} :; then :
13165 if ${PKG_CONFIG+:} false; then :
13166 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13171 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13172 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13173 ac_save_CPPFLAGS=$CPPFLAGS
13174 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13175 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13176 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13178 $as_echo_n "checking for -ldbus-1... " >&6; }
13179 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13180 $as_echo_n "(cached) " >&6
13181 else
13182 ac_check_soname_save_LIBS=$LIBS
13183 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13187 /* Override any GCC internal prototype to avoid an error.
13188 Use char because int might match the return type of a GCC
13189 builtin and then its argument prototype would still apply. */
13190 #ifdef __cplusplus
13191 extern "C"
13192 #endif
13193 char dbus_connection_close ();
13195 main ()
13197 return dbus_connection_close ();
13199 return 0;
13201 _ACEOF
13202 if ac_fn_c_try_link "$LINENO"; then :
13203 case "$LIBEXT" in
13204 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13205 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'` ;;
13206 *) 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'`
13207 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13208 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13209 fi ;;
13210 esac
13211 else
13212 ac_cv_lib_soname_dbus_1=
13214 rm -f core conftest.err conftest.$ac_objext \
13215 conftest$ac_exeext conftest.$ac_ext
13216 LIBS=$ac_check_soname_save_LIBS
13218 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13220 $as_echo "not found" >&6; }
13221 DBUS_CFLAGS=""
13222 else
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13224 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13226 cat >>confdefs.h <<_ACEOF
13227 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13228 _ACEOF
13232 else
13233 DBUS_CFLAGS=""
13237 CPPFLAGS=$ac_save_CPPFLAGS
13238 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13239 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13242 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13243 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13244 case "x$with_dbus" in
13245 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13246 xno) ;;
13247 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13248 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13249 esac
13253 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13254 then
13255 if ${HAL_CFLAGS:+false} :; then :
13256 if ${PKG_CONFIG+:} false; then :
13257 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13261 if ${HAL_LIBS:+false} :; then :
13262 if ${PKG_CONFIG+:} false; then :
13263 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13267 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13268 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13269 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13270 ac_save_CPPFLAGS=$CPPFLAGS
13271 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13272 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13273 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13275 $as_echo_n "checking for -lhal... " >&6; }
13276 if ${ac_cv_lib_soname_hal+:} false; then :
13277 $as_echo_n "(cached) " >&6
13278 else
13279 ac_check_soname_save_LIBS=$LIBS
13280 LIBS="-lhal $HAL_LIBS $LIBS"
13281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13282 /* end confdefs.h. */
13284 /* Override any GCC internal prototype to avoid an error.
13285 Use char because int might match the return type of a GCC
13286 builtin and then its argument prototype would still apply. */
13287 #ifdef __cplusplus
13288 extern "C"
13289 #endif
13290 char libhal_ctx_new ();
13292 main ()
13294 return libhal_ctx_new ();
13296 return 0;
13298 _ACEOF
13299 if ac_fn_c_try_link "$LINENO"; then :
13300 case "$LIBEXT" in
13301 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13302 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'` ;;
13303 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13304 if ${ac_cv_lib_soname_hal:+false} :; then :
13305 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13306 fi ;;
13307 esac
13308 else
13309 ac_cv_lib_soname_hal=
13311 rm -f core conftest.err conftest.$ac_objext \
13312 conftest$ac_exeext conftest.$ac_ext
13313 LIBS=$ac_check_soname_save_LIBS
13315 if ${ac_cv_lib_soname_hal:+false} :; then :
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13317 $as_echo "not found" >&6; }
13318 HAL_CFLAGS=""
13319 else
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13321 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13323 cat >>confdefs.h <<_ACEOF
13324 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13325 _ACEOF
13329 else
13330 HAL_CFLAGS=""
13334 CPPFLAGS=$ac_save_CPPFLAGS
13335 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13336 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13338 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13339 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13340 case "x$with_hal" in
13341 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13342 xno) ;;
13343 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13344 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13345 esac
13350 if test "x$with_gnutls" != "xno"
13351 then
13352 if ${GNUTLS_CFLAGS:+false} :; then :
13353 if ${PKG_CONFIG+:} false; then :
13354 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13358 if ${GNUTLS_LIBS:+false} :; then :
13359 if ${PKG_CONFIG+:} false; then :
13360 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13365 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13366 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13367 ac_save_CPPFLAGS=$CPPFLAGS
13368 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13369 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13370 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13373 #include <gnutls/gnutls.h>
13374 #include <gnutls/crypto.h>
13376 main ()
13378 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13380 return 0;
13382 _ACEOF
13383 if ac_fn_c_try_compile "$LINENO"; then :
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13385 $as_echo_n "checking for -lgnutls... " >&6; }
13386 if ${ac_cv_lib_soname_gnutls+:} false; then :
13387 $as_echo_n "(cached) " >&6
13388 else
13389 ac_check_soname_save_LIBS=$LIBS
13390 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13394 /* Override any GCC internal prototype to avoid an error.
13395 Use char because int might match the return type of a GCC
13396 builtin and then its argument prototype would still apply. */
13397 #ifdef __cplusplus
13398 extern "C"
13399 #endif
13400 char gnutls_global_init ();
13402 main ()
13404 return gnutls_global_init ();
13406 return 0;
13408 _ACEOF
13409 if ac_fn_c_try_link "$LINENO"; then :
13410 case "$LIBEXT" in
13411 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13412 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'` ;;
13413 *) 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'`
13414 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13415 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'`
13416 fi ;;
13417 esac
13418 else
13419 ac_cv_lib_soname_gnutls=
13421 rm -f core conftest.err conftest.$ac_objext \
13422 conftest$ac_exeext conftest.$ac_ext
13423 LIBS=$ac_check_soname_save_LIBS
13425 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13427 $as_echo "not found" >&6; }
13428 GNUTLS_CFLAGS=""
13429 else
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13431 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13433 cat >>confdefs.h <<_ACEOF
13434 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13435 _ACEOF
13439 ac_wine_check_funcs_save_LIBS="$LIBS"
13440 LIBS="$LIBS $GNUTLS_LIBS"
13441 for ac_func in gnutls_cipher_init
13442 do :
13443 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13444 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13445 cat >>confdefs.h <<_ACEOF
13446 #define HAVE_GNUTLS_CIPHER_INIT 1
13447 _ACEOF
13449 else
13450 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13452 done
13454 LIBS="$ac_wine_check_funcs_save_LIBS"
13456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13457 else
13458 GNUTLS_CFLAGS=""
13462 CPPFLAGS=$ac_save_CPPFLAGS
13463 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13464 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13467 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13468 case "x$with_gnutls" in
13469 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13470 xno) ;;
13471 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13472 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13473 esac
13477 CURSES_LIBS=""
13478 if test "$ac_cv_header_ncurses_h" = "yes"
13479 then
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13481 $as_echo_n "checking for -lncurses... " >&6; }
13482 if ${ac_cv_lib_soname_ncurses+:} false; then :
13483 $as_echo_n "(cached) " >&6
13484 else
13485 ac_check_soname_save_LIBS=$LIBS
13486 LIBS="-lncurses $LIBS"
13487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h. */
13490 /* Override any GCC internal prototype to avoid an error.
13491 Use char because int might match the return type of a GCC
13492 builtin and then its argument prototype would still apply. */
13493 #ifdef __cplusplus
13494 extern "C"
13495 #endif
13496 char waddch ();
13498 main ()
13500 return waddch ();
13502 return 0;
13504 _ACEOF
13505 if ac_fn_c_try_link "$LINENO"; then :
13506 case "$LIBEXT" in
13507 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13508 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'` ;;
13509 *) 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'`
13510 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13511 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13512 fi ;;
13513 esac
13514 else
13515 ac_cv_lib_soname_ncurses=
13517 rm -f core conftest.err conftest.$ac_objext \
13518 conftest$ac_exeext conftest.$ac_ext
13519 LIBS=$ac_check_soname_save_LIBS
13521 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13523 $as_echo "not found" >&6; }
13525 else
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13527 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13529 cat >>confdefs.h <<_ACEOF
13530 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13531 _ACEOF
13533 CURSES_LIBS="-lncurses"
13535 elif test "$ac_cv_header_curses_h" = "yes"
13536 then
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13538 $as_echo_n "checking for -lcurses... " >&6; }
13539 if ${ac_cv_lib_soname_curses+:} false; then :
13540 $as_echo_n "(cached) " >&6
13541 else
13542 ac_check_soname_save_LIBS=$LIBS
13543 LIBS="-lcurses $LIBS"
13544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13547 /* Override any GCC internal prototype to avoid an error.
13548 Use char because int might match the return type of a GCC
13549 builtin and then its argument prototype would still apply. */
13550 #ifdef __cplusplus
13551 extern "C"
13552 #endif
13553 char waddch ();
13555 main ()
13557 return waddch ();
13559 return 0;
13561 _ACEOF
13562 if ac_fn_c_try_link "$LINENO"; then :
13563 case "$LIBEXT" in
13564 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13565 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'` ;;
13566 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13567 if ${ac_cv_lib_soname_curses:+false} :; then :
13568 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13569 fi ;;
13570 esac
13571 else
13572 ac_cv_lib_soname_curses=
13574 rm -f core conftest.err conftest.$ac_objext \
13575 conftest$ac_exeext conftest.$ac_ext
13576 LIBS=$ac_check_soname_save_LIBS
13578 if ${ac_cv_lib_soname_curses:+false} :; then :
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13580 $as_echo "not found" >&6; }
13582 else
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13584 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13586 cat >>confdefs.h <<_ACEOF
13587 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13588 _ACEOF
13590 CURSES_LIBS="-lcurses"
13593 ac_save_LIBS="$LIBS"
13594 LIBS="$LIBS $CURSES_LIBS"
13595 for ac_func in mousemask
13596 do :
13597 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13598 if test "x$ac_cv_func_mousemask" = xyes; then :
13599 cat >>confdefs.h <<_ACEOF
13600 #define HAVE_MOUSEMASK 1
13601 _ACEOF
13604 done
13606 LIBS="$ac_save_LIBS"
13607 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13608 case "x$with_curses" in
13609 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13610 xno) ;;
13611 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13612 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13613 esac
13617 if test "x$with_sane" != "xno"
13618 then
13619 if ${SANE_CFLAGS:+false} :; then :
13620 if ${PKG_CONFIG+:} false; then :
13621 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13624 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13625 if ${SANE_LIBS:+false} :; then :
13626 if ${PKG_CONFIG+:} false; then :
13627 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13630 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13632 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13633 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13634 ac_save_CPPFLAGS=$CPPFLAGS
13635 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13636 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13637 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13639 $as_echo_n "checking for -lsane... " >&6; }
13640 if ${ac_cv_lib_soname_sane+:} false; then :
13641 $as_echo_n "(cached) " >&6
13642 else
13643 ac_check_soname_save_LIBS=$LIBS
13644 LIBS="-lsane $SANE_LIBS $LIBS"
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13648 /* Override any GCC internal prototype to avoid an error.
13649 Use char because int might match the return type of a GCC
13650 builtin and then its argument prototype would still apply. */
13651 #ifdef __cplusplus
13652 extern "C"
13653 #endif
13654 char sane_init ();
13656 main ()
13658 return sane_init ();
13660 return 0;
13662 _ACEOF
13663 if ac_fn_c_try_link "$LINENO"; then :
13664 case "$LIBEXT" in
13665 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13666 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'` ;;
13667 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13668 if ${ac_cv_lib_soname_sane:+false} :; then :
13669 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13670 fi ;;
13671 esac
13672 else
13673 ac_cv_lib_soname_sane=
13675 rm -f core conftest.err conftest.$ac_objext \
13676 conftest$ac_exeext conftest.$ac_ext
13677 LIBS=$ac_check_soname_save_LIBS
13679 if ${ac_cv_lib_soname_sane:+false} :; then :
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13681 $as_echo "not found" >&6; }
13682 SANE_CFLAGS=""
13683 else
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13685 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13687 cat >>confdefs.h <<_ACEOF
13688 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13689 _ACEOF
13693 else
13694 SANE_CFLAGS=""
13698 CPPFLAGS=$ac_save_CPPFLAGS
13699 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13700 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13703 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13704 case "x$with_sane" in
13705 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13706 xno) ;;
13707 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13708 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13709 esac
13713 if test "x$with_v4l2" != "xno"
13714 then
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13716 $as_echo_n "checking for -lv4l2... " >&6; }
13717 if ${ac_cv_lib_soname_v4l2+:} false; then :
13718 $as_echo_n "(cached) " >&6
13719 else
13720 ac_check_soname_save_LIBS=$LIBS
13721 LIBS="-lv4l2 $LIBS"
13722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13723 /* end confdefs.h. */
13725 /* Override any GCC internal prototype to avoid an error.
13726 Use char because int might match the return type of a GCC
13727 builtin and then its argument prototype would still apply. */
13728 #ifdef __cplusplus
13729 extern "C"
13730 #endif
13731 char v4l2_open ();
13733 main ()
13735 return v4l2_open ();
13737 return 0;
13739 _ACEOF
13740 if ac_fn_c_try_link "$LINENO"; then :
13741 case "$LIBEXT" in
13742 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13743 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'` ;;
13744 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13745 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13746 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13747 fi ;;
13748 esac
13749 else
13750 ac_cv_lib_soname_v4l2=
13752 rm -f core conftest.err conftest.$ac_objext \
13753 conftest$ac_exeext conftest.$ac_ext
13754 LIBS=$ac_check_soname_save_LIBS
13756 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13758 $as_echo "not found" >&6; }
13760 else
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13762 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13764 cat >>confdefs.h <<_ACEOF
13765 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13766 _ACEOF
13771 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13772 case "x$with_v4l2" in
13773 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13774 xno) ;;
13775 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13776 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13777 esac
13781 if test "x$with_gphoto" != "xno"
13782 then
13783 if ${GPHOTO2_CFLAGS:+false} :; then :
13784 if ${PKG_CONFIG+:} false; then :
13785 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13788 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13789 if ${GPHOTO2_LIBS:+false} :; then :
13790 if ${PKG_CONFIG+:} false; then :
13791 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13794 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13795 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13796 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13797 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13798 ac_save_CPPFLAGS=$CPPFLAGS
13799 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13800 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13801 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13803 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13804 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13805 $as_echo_n "(cached) " >&6
13806 else
13807 ac_check_lib_save_LIBS=$LIBS
13808 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13812 /* Override any GCC internal prototype to avoid an error.
13813 Use char because int might match the return type of a GCC
13814 builtin and then its argument prototype would still apply. */
13815 #ifdef __cplusplus
13816 extern "C"
13817 #endif
13818 char gp_camera_new ();
13820 main ()
13822 return gp_camera_new ();
13824 return 0;
13826 _ACEOF
13827 if ac_fn_c_try_link "$LINENO"; then :
13828 ac_cv_lib_gphoto2_gp_camera_new=yes
13829 else
13830 ac_cv_lib_gphoto2_gp_camera_new=no
13832 rm -f core conftest.err conftest.$ac_objext \
13833 conftest$ac_exeext conftest.$ac_ext
13834 LIBS=$ac_check_lib_save_LIBS
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13837 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13838 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13840 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13842 else
13843 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13846 else
13847 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13851 CPPFLAGS=$ac_save_CPPFLAGS
13852 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13853 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13855 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13856 if ${PKG_CONFIG+:} false; then :
13857 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13860 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13861 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13862 if ${PKG_CONFIG+:} false; then :
13863 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13866 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13867 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13868 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13869 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13870 ac_save_CPPFLAGS=$CPPFLAGS
13871 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13872 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13873 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13875 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13876 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13877 $as_echo_n "(cached) " >&6
13878 else
13879 ac_check_lib_save_LIBS=$LIBS
13880 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13884 /* Override any GCC internal prototype to avoid an error.
13885 Use char because int might match the return type of a GCC
13886 builtin and then its argument prototype would still apply. */
13887 #ifdef __cplusplus
13888 extern "C"
13889 #endif
13890 char gp_port_info_list_new ();
13892 main ()
13894 return gp_port_info_list_new ();
13896 return 0;
13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"; then :
13900 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13901 else
13902 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13904 rm -f core conftest.err conftest.$ac_objext \
13905 conftest$ac_exeext conftest.$ac_ext
13906 LIBS=$ac_check_lib_save_LIBS
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13909 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13910 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13912 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13914 else
13915 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13918 else
13919 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13923 CPPFLAGS=$ac_save_CPPFLAGS
13924 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13925 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13928 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13929 case "x$with_gphoto" in
13930 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13931 xno) ;;
13932 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13933 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13934 esac
13937 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13938 case "x$with_gphoto" in
13939 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13940 xno) ;;
13941 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13942 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13943 esac
13948 if test "$ac_cv_header_resolv_h" = "yes"
13949 then
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13951 $as_echo_n "checking for resolver library... " >&6; }
13952 if ${ac_cv_have_resolv+:} false; then :
13953 $as_echo_n "(cached) " >&6
13954 else
13955 ac_save_LIBS="$LIBS"
13956 for lib in '' -lresolv
13958 LIBS="$lib $ac_save_LIBS"
13959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13960 /* end confdefs.h. */
13961 #ifdef HAVE_NETINET_IN_H
13962 #include <netinet/in.h>
13963 #endif
13964 #include <resolv.h>
13966 main ()
13968 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13970 return 0;
13972 _ACEOF
13973 if ac_fn_c_try_link "$LINENO"; then :
13974 ac_cv_have_resolv=${lib:-"none required"}
13975 else
13976 ac_cv_have_resolv="not found"
13978 rm -f core conftest.err conftest.$ac_objext \
13979 conftest$ac_exeext conftest.$ac_ext
13980 test "x$ac_cv_have_resolv" = "xnot found" || break
13981 done
13982 LIBS="$ac_save_LIBS"
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13985 $as_echo "$ac_cv_have_resolv" >&6; }
13987 case "$ac_cv_have_resolv" in
13988 "not found") ;;
13989 "none required")
13991 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13994 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13996 RESOLV_LIBS=$ac_cv_have_resolv
13998 esac
14001 if test "x$with_cms" != "xno"
14002 then
14003 if ${LCMS2_CFLAGS:+false} :; then :
14004 if ${PKG_CONFIG+:} false; then :
14005 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14009 if ${LCMS2_LIBS:+false} :; then :
14010 if ${PKG_CONFIG+:} false; then :
14011 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14015 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14016 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14017 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14018 ac_save_CPPFLAGS=$CPPFLAGS
14019 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14020 for ac_header in lcms2.h
14021 do :
14022 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14023 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14024 cat >>confdefs.h <<_ACEOF
14025 #define HAVE_LCMS2_H 1
14026 _ACEOF
14030 done
14032 if test "$ac_cv_header_lcms2_h" = "yes"
14033 then
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14035 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14036 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14037 $as_echo_n "(cached) " >&6
14038 else
14039 ac_check_lib_save_LIBS=$LIBS
14040 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14044 /* Override any GCC internal prototype to avoid an error.
14045 Use char because int might match the return type of a GCC
14046 builtin and then its argument prototype would still apply. */
14047 #ifdef __cplusplus
14048 extern "C"
14049 #endif
14050 char cmsOpenProfileFromFile ();
14052 main ()
14054 return cmsOpenProfileFromFile ();
14056 return 0;
14058 _ACEOF
14059 if ac_fn_c_try_link "$LINENO"; then :
14060 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14061 else
14062 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14064 rm -f core conftest.err conftest.$ac_objext \
14065 conftest$ac_exeext conftest.$ac_ext
14066 LIBS=$ac_check_lib_save_LIBS
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14069 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14070 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14072 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14074 else
14075 LCMS2_LIBS=""
14078 else
14079 LCMS2_CFLAGS=""
14080 LCMS2_LIBS=""
14082 CPPFLAGS=$ac_save_CPPFLAGS
14083 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14084 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14087 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14088 case "x$with_cms" in
14089 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14090 xno) ;;
14091 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14092 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14093 esac
14097 if test "x$with_freetype" != "xno"
14098 then
14099 if ${FREETYPE_CFLAGS:+false} :; then :
14100 if ${PKG_CONFIG+:} false; then :
14101 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14104 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14105 if ${FREETYPE_LIBS:+false} :; then :
14106 if ${PKG_CONFIG+:} false; then :
14107 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14110 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14111 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14112 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14113 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14114 ac_save_CPPFLAGS=$CPPFLAGS
14115 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14116 for ac_header in ft2build.h
14117 do :
14118 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14119 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14120 cat >>confdefs.h <<_ACEOF
14121 #define HAVE_FT2BUILD_H 1
14122 _ACEOF
14126 done
14128 if test "$ac_cv_header_ft2build_h" = "yes"
14129 then
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14131 $as_echo_n "checking for -lfreetype... " >&6; }
14132 if ${ac_cv_lib_soname_freetype+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 ac_check_soname_save_LIBS=$LIBS
14136 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14140 /* Override any GCC internal prototype to avoid an error.
14141 Use char because int might match the return type of a GCC
14142 builtin and then its argument prototype would still apply. */
14143 #ifdef __cplusplus
14144 extern "C"
14145 #endif
14146 char FT_Init_FreeType ();
14148 main ()
14150 return FT_Init_FreeType ();
14152 return 0;
14154 _ACEOF
14155 if ac_fn_c_try_link "$LINENO"; then :
14156 case "$LIBEXT" in
14157 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14158 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'` ;;
14159 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14160 if ${ac_cv_lib_soname_freetype:+false} :; then :
14161 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14162 fi ;;
14163 esac
14164 else
14165 ac_cv_lib_soname_freetype=
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14169 LIBS=$ac_check_soname_save_LIBS
14171 if ${ac_cv_lib_soname_freetype:+false} :; then :
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14173 $as_echo "not found" >&6; }
14174 FREETYPE_LIBS=""
14175 else
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14177 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14179 cat >>confdefs.h <<_ACEOF
14180 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14181 _ACEOF
14184 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14186 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14187 #include FT_MODULE_H
14189 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14191 cat >>confdefs.h <<_ACEOF
14192 #define HAVE_FT_TRUETYPEENGINETYPE 1
14193 _ACEOF
14199 else
14200 FREETYPE_CFLAGS=""
14201 FREETYPE_LIBS=""
14203 CPPFLAGS=$ac_save_CPPFLAGS
14204 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14205 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14208 if test "x$ac_cv_lib_soname_freetype" = x; then :
14209 case "x$with_freetype" in
14210 xno) ;;
14211 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14212 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14213 esac
14214 enable_fonts=${enable_fonts:-no}
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14218 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14219 if ${ac_cv_c_ppdev+:} false; then :
14220 $as_echo_n "(cached) " >&6
14221 else
14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 #ifdef HAVE_SYS_IOCTL_H
14225 # include <sys/ioctl.h>
14226 #endif
14227 #include <linux/ppdev.h>
14229 main ()
14231 ioctl (1,PPCLAIM,0)
14233 return 0;
14235 _ACEOF
14236 if ac_fn_c_try_compile "$LINENO"; then :
14237 ac_cv_c_ppdev="yes"
14238 else
14239 ac_cv_c_ppdev="no"
14241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14244 $as_echo "$ac_cv_c_ppdev" >&6; }
14245 if test "$ac_cv_c_ppdev" = "yes"
14246 then
14248 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14252 ac_wine_check_funcs_save_LIBS="$LIBS"
14253 LIBS="$LIBS "
14254 for ac_func in \
14255 pthread_getthreadid_np \
14256 $PTHREAD_LIBS
14257 do :
14258 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14259 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14260 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14261 cat >>confdefs.h <<_ACEOF
14262 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14263 _ACEOF
14266 done
14268 LIBS="$ac_wine_check_funcs_save_LIBS"
14270 if test "x$with_zlib" != "xno"
14271 then
14272 if ${Z_CFLAGS:+false} :; then :
14273 if ${PKG_CONFIG+:} false; then :
14274 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14278 if ${Z_LIBS:+false} :; then :
14279 if ${PKG_CONFIG+:} false; then :
14280 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14284 Z_LIBS=${Z_LIBS:-"-lz"}
14285 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14286 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14287 ac_save_CPPFLAGS=$CPPFLAGS
14288 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14289 for ac_header in zlib.h
14290 do :
14291 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14292 if test "x$ac_cv_header_zlib_h" = xyes; then :
14293 cat >>confdefs.h <<_ACEOF
14294 #define HAVE_ZLIB_H 1
14295 _ACEOF
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14297 $as_echo_n "checking for inflate in -lz... " >&6; }
14298 if ${ac_cv_lib_z_inflate+:} false; then :
14299 $as_echo_n "(cached) " >&6
14300 else
14301 ac_check_lib_save_LIBS=$LIBS
14302 LIBS="-lz $Z_LIBS $LIBS"
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14306 /* Override any GCC internal prototype to avoid an error.
14307 Use char because int might match the return type of a GCC
14308 builtin and then its argument prototype would still apply. */
14309 #ifdef __cplusplus
14310 extern "C"
14311 #endif
14312 char inflate ();
14314 main ()
14316 return inflate ();
14318 return 0;
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"; then :
14322 ac_cv_lib_z_inflate=yes
14323 else
14324 ac_cv_lib_z_inflate=no
14326 rm -f core conftest.err conftest.$ac_objext \
14327 conftest$ac_exeext conftest.$ac_ext
14328 LIBS=$ac_check_lib_save_LIBS
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14331 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14332 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14334 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14336 else
14337 Z_LIBS=""
14340 else
14341 Z_LIBS=""
14344 done
14346 CPPFLAGS=$ac_save_CPPFLAGS
14347 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14348 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14351 if test "x$Z_LIBS" = "x"; then :
14352 case "x$with_zlib" in
14353 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14354 xno) ;;
14355 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14356 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14357 esac
14361 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14362 then
14363 if test "$ac_cv_header_gettext_po_h" = "yes"
14364 then
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14366 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14367 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14368 $as_echo_n "(cached) " >&6
14369 else
14370 ac_check_lib_save_LIBS=$LIBS
14371 LIBS="-lgettextpo $LIBS"
14372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14375 /* Override any GCC internal prototype to avoid an error.
14376 Use char because int might match the return type of a GCC
14377 builtin and then its argument prototype would still apply. */
14378 #ifdef __cplusplus
14379 extern "C"
14380 #endif
14381 char po_message_msgctxt ();
14383 main ()
14385 return po_message_msgctxt ();
14387 return 0;
14389 _ACEOF
14390 if ac_fn_c_try_link "$LINENO"; then :
14391 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14392 else
14393 ac_cv_lib_gettextpo_po_message_msgctxt=no
14395 rm -f core conftest.err conftest.$ac_objext \
14396 conftest$ac_exeext conftest.$ac_ext
14397 LIBS=$ac_check_lib_save_LIBS
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14400 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14401 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14403 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14405 GETTEXTPO_LIBS="-lgettextpo"
14410 if test "x$GETTEXTPO_LIBS" = "x"; then :
14411 case "x$with_gettextpo" in
14412 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14413 xno) ;;
14414 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14415 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14416 esac
14419 if test "$srcdir" != .; then :
14420 case "x$with_gettextpo" in
14421 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14422 xno) ;;
14423 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14424 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14425 esac
14430 if test "x$with_pulse" != "xno";
14431 then
14432 if ${PULSE_CFLAGS:+false} :; then :
14433 if ${PKG_CONFIG+:} false; then :
14434 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14438 if ${PULSE_LIBS:+false} :; then :
14439 if ${PKG_CONFIG+:} false; then :
14440 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14445 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14446 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14447 ac_save_CPPFLAGS=$CPPFLAGS
14448 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14449 for ac_header in pulse/pulseaudio.h
14450 do :
14451 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14452 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14453 cat >>confdefs.h <<_ACEOF
14454 #define HAVE_PULSE_PULSEAUDIO_H 1
14455 _ACEOF
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14457 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14458 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14459 $as_echo_n "(cached) " >&6
14460 else
14461 ac_check_lib_save_LIBS=$LIBS
14462 LIBS="-lpulse $PULSE_LIBS $LIBS"
14463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14466 /* Override any GCC internal prototype to avoid an error.
14467 Use char because int might match the return type of a GCC
14468 builtin and then its argument prototype would still apply. */
14469 #ifdef __cplusplus
14470 extern "C"
14471 #endif
14472 char pa_stream_is_corked ();
14474 main ()
14476 return pa_stream_is_corked ();
14478 return 0;
14480 _ACEOF
14481 if ac_fn_c_try_link "$LINENO"; then :
14482 ac_cv_lib_pulse_pa_stream_is_corked=yes
14483 else
14484 ac_cv_lib_pulse_pa_stream_is_corked=no
14486 rm -f core conftest.err conftest.$ac_objext \
14487 conftest$ac_exeext conftest.$ac_ext
14488 LIBS=$ac_check_lib_save_LIBS
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14491 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14492 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14494 else
14495 PULSE_LIBS=""
14498 else
14499 PULSE_LIBS=""
14502 done
14504 CPPFLAGS=$ac_save_CPPFLAGS
14505 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14506 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14509 if test -z "$PULSE_LIBS"; then :
14510 case "x$with_pulse" in
14511 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14512 xno) ;;
14513 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14514 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14515 esac
14516 enable_winepulse_drv=${enable_winepulse_drv:-no}
14519 if test "x$with_gstreamer" != "xno"
14520 then
14521 if ${GSTREAMER_CFLAGS:+false} :; then :
14522 if ${PKG_CONFIG+:} false; then :
14523 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14527 if ${GSTREAMER_LIBS:+false} :; then :
14528 if ${PKG_CONFIG+:} false; then :
14529 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14534 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14535 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14536 ac_save_CPPFLAGS=$CPPFLAGS
14537 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14538 ac_gst_incl=""
14539 for i in $GSTREAMER_CFLAGS
14541 case "$i" in
14542 -I*) ac_gst_incl="$ac_gst_incl $i";;
14543 esac
14544 done
14545 GSTREAMER_CFLAGS=$ac_gst_incl
14546 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14547 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14548 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14550 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14553 #include <gst/gst.h>
14555 main ()
14557 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14559 return 0;
14561 _ACEOF
14562 if ac_fn_c_try_compile "$LINENO"; then :
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14564 $as_echo "yes" >&6; }
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14566 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14567 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 ac_check_lib_save_LIBS=$LIBS
14571 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14575 /* Override any GCC internal prototype to avoid an error.
14576 Use char because int might match the return type of a GCC
14577 builtin and then its argument prototype would still apply. */
14578 #ifdef __cplusplus
14579 extern "C"
14580 #endif
14581 char gst_pad_new ();
14583 main ()
14585 return gst_pad_new ();
14587 return 0;
14589 _ACEOF
14590 if ac_fn_c_try_link "$LINENO"; then :
14591 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14592 else
14593 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14595 rm -f core conftest.err conftest.$ac_objext \
14596 conftest$ac_exeext conftest.$ac_ext
14597 LIBS=$ac_check_lib_save_LIBS
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14600 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14601 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14605 else
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14607 $as_echo "no" >&6; }
14608 ac_glib2_broken=yes
14609 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14615 CPPFLAGS=$ac_save_CPPFLAGS
14616 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14617 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14620 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 :
14621 case "x$with_gstreamer" in
14622 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14623 xno) ;;
14624 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14625 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14626 esac
14629 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14631 ALSA_LIBS=""
14633 if test "x$with_alsa" != "xno"
14634 then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14636 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14637 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14638 $as_echo_n "(cached) " >&6
14639 else
14640 ac_check_lib_save_LIBS=$LIBS
14641 LIBS="-lasound $LIBS"
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14645 /* Override any GCC internal prototype to avoid an error.
14646 Use char because int might match the return type of a GCC
14647 builtin and then its argument prototype would still apply. */
14648 #ifdef __cplusplus
14649 extern "C"
14650 #endif
14651 char snd_pcm_hw_params_get_access_mask ();
14653 main ()
14655 return snd_pcm_hw_params_get_access_mask ();
14657 return 0;
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"; then :
14661 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14662 else
14663 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14665 rm -f core conftest.err conftest.$ac_objext \
14666 conftest$ac_exeext conftest.$ac_ext
14667 LIBS=$ac_check_lib_save_LIBS
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14670 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14671 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14674 #include <alsa/asoundlib.h>
14676 main ()
14678 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14680 return 0;
14682 _ACEOF
14683 if ac_fn_c_try_compile "$LINENO"; then :
14684 ALSA_LIBS="-lasound"
14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14690 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14692 if test "x$with_oss" != xno
14693 then
14694 ac_save_CPPFLAGS="$CPPFLAGS"
14695 if test -f /etc/oss.conf
14696 then
14697 . /etc/oss.conf
14699 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14700 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14701 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14702 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14703 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14705 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14707 cat >>confdefs.h <<_ACEOF
14708 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14709 _ACEOF
14711 OSS4_CFLAGS="$ac_oss_incl"
14718 CPPFLAGS="$ac_save_CPPFLAGS"
14720 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14721 case "x$with_oss" in
14722 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14723 xno) ;;
14724 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14725 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14726 esac
14727 enable_wineoss_drv=${enable_wineoss_drv:-no}
14730 if test "x$with_udev" != "xno"
14731 then
14732 if ${UDEV_CFLAGS:+false} :; then :
14733 if ${PKG_CONFIG+:} false; then :
14734 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14738 if ${UDEV_LIBS:+false} :; then :
14739 if ${PKG_CONFIG+:} false; then :
14740 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14744 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14745 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14746 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14747 ac_save_CPPFLAGS=$CPPFLAGS
14748 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14749 for ac_header in libudev.h
14750 do :
14751 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14752 if test "x$ac_cv_header_libudev_h" = xyes; then :
14753 cat >>confdefs.h <<_ACEOF
14754 #define HAVE_LIBUDEV_H 1
14755 _ACEOF
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14757 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14758 if ${ac_cv_lib_udev_udev_new+:} false; then :
14759 $as_echo_n "(cached) " >&6
14760 else
14761 ac_check_lib_save_LIBS=$LIBS
14762 LIBS="-ludev $UDEV_LIBS $LIBS"
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14766 /* Override any GCC internal prototype to avoid an error.
14767 Use char because int might match the return type of a GCC
14768 builtin and then its argument prototype would still apply. */
14769 #ifdef __cplusplus
14770 extern "C"
14771 #endif
14772 char udev_new ();
14774 main ()
14776 return udev_new ();
14778 return 0;
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_lib_udev_udev_new=yes
14783 else
14784 ac_cv_lib_udev_udev_new=no
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14788 LIBS=$ac_check_lib_save_LIBS
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14791 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14792 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14794 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14796 else
14797 UDEV_LIBS=""
14800 else
14801 UDEV_LIBS=""
14804 done
14806 CPPFLAGS=$ac_save_CPPFLAGS
14807 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14808 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14811 if test "x$UDEV_LIBS" = "x"; then :
14812 case "x$with_udev" in
14813 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14814 xno) ;;
14815 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14816 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14817 esac
14821 if test "x$with_sdl" != "xno"
14822 then
14823 if ${SDL2_CFLAGS:+false} :; then :
14824 if ${PKG_CONFIG+:} false; then :
14825 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14829 if ${SDL2_LIBS:+false} :; then :
14830 if ${PKG_CONFIG+:} false; then :
14831 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14835 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14836 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14837 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14838 ac_save_CPPFLAGS=$CPPFLAGS
14839 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14840 for ac_header in SDL2/SDL.h
14841 do :
14842 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14843 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14844 cat >>confdefs.h <<_ACEOF
14845 #define HAVE_SDL2_SDL_H 1
14846 _ACEOF
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14848 $as_echo_n "checking for -lSDL2... " >&6; }
14849 if ${ac_cv_lib_soname_SDL2+:} false; then :
14850 $as_echo_n "(cached) " >&6
14851 else
14852 ac_check_soname_save_LIBS=$LIBS
14853 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14860 #ifdef __cplusplus
14861 extern "C"
14862 #endif
14863 char SDL_Init ();
14865 main ()
14867 return SDL_Init ();
14869 return 0;
14871 _ACEOF
14872 if ac_fn_c_try_link "$LINENO"; then :
14873 case "$LIBEXT" in
14874 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14875 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'` ;;
14876 *) 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'`
14877 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14878 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14879 fi ;;
14880 esac
14881 else
14882 ac_cv_lib_soname_SDL2=
14884 rm -f core conftest.err conftest.$ac_objext \
14885 conftest$ac_exeext conftest.$ac_ext
14886 LIBS=$ac_check_soname_save_LIBS
14888 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14890 $as_echo "not found" >&6; }
14892 else
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14894 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14896 cat >>confdefs.h <<_ACEOF
14897 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14898 _ACEOF
14904 done
14906 CPPFLAGS=$ac_save_CPPFLAGS
14907 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14908 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14911 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14912 case "x$with_sdl" in
14913 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14914 xno) ;;
14915 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14916 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14917 esac
14921 if test "x$with_faudio" != "xno"
14922 then
14923 if ${FAUDIO_CFLAGS:+false} :; then :
14924 if ${PKG_CONFIG+:} false; then :
14925 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14929 if ${FAUDIO_LIBS:+false} :; then :
14930 if ${PKG_CONFIG+:} false; then :
14931 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14935 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14936 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14937 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14938 ac_save_CPPFLAGS=$CPPFLAGS
14939 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14940 for ac_header in FAudio.h
14941 do :
14942 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14943 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14944 cat >>confdefs.h <<_ACEOF
14945 #define HAVE_FAUDIO_H 1
14946 _ACEOF
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14948 $as_echo_n "checking for -lFAudio... " >&6; }
14949 if ${ac_cv_lib_soname_FAudio+:} false; then :
14950 $as_echo_n "(cached) " >&6
14951 else
14952 ac_check_soname_save_LIBS=$LIBS
14953 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14957 /* Override any GCC internal prototype to avoid an error.
14958 Use char because int might match the return type of a GCC
14959 builtin and then its argument prototype would still apply. */
14960 #ifdef __cplusplus
14961 extern "C"
14962 #endif
14963 char FAudioCreate ();
14965 main ()
14967 return FAudioCreate ();
14969 return 0;
14971 _ACEOF
14972 if ac_fn_c_try_link "$LINENO"; then :
14973 case "$LIBEXT" in
14974 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14975 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'` ;;
14976 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14977 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14978 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14979 fi ;;
14980 esac
14981 else
14982 ac_cv_lib_soname_FAudio=
14984 rm -f core conftest.err conftest.$ac_objext \
14985 conftest$ac_exeext conftest.$ac_ext
14986 LIBS=$ac_check_soname_save_LIBS
14988 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14990 $as_echo "not found" >&6; }
14992 else
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14994 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14996 cat >>confdefs.h <<_ACEOF
14997 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14998 _ACEOF
15004 done
15006 CPPFLAGS=$ac_save_CPPFLAGS
15007 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15008 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15010 ac_wine_check_funcs_save_LIBS="$LIBS"
15011 LIBS="$LIBS $FAUDIO_LIBS"
15012 for ac_func in \
15013 FAudio_CommitOperationSet \
15014 F3DAudioInitialize8
15015 do :
15016 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15017 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15018 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15019 cat >>confdefs.h <<_ACEOF
15020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15021 _ACEOF
15024 done
15026 LIBS="$ac_wine_check_funcs_save_LIBS"
15028 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15029 case "x$with_faudio" in
15030 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15031 xno) ;;
15032 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15033 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15034 esac
15038 if test "x$with_capi" != "xno"
15039 then
15040 if ${CAPI20_CFLAGS:+false} :; then :
15041 if ${PKG_CONFIG+:} false; then :
15042 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15046 if ${CAPI20_LIBS:+false} :; then :
15047 if ${PKG_CONFIG+:} false; then :
15048 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15053 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15054 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15055 ac_save_CPPFLAGS=$CPPFLAGS
15056 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15057 for ac_header in capi20.h linux/capi.h
15058 do :
15059 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15060 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15062 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15063 cat >>confdefs.h <<_ACEOF
15064 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15065 _ACEOF
15069 done
15071 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15072 then
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15074 $as_echo_n "checking for -lcapi20... " >&6; }
15075 if ${ac_cv_lib_soname_capi20+:} false; then :
15076 $as_echo_n "(cached) " >&6
15077 else
15078 ac_check_soname_save_LIBS=$LIBS
15079 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15083 /* Override any GCC internal prototype to avoid an error.
15084 Use char because int might match the return type of a GCC
15085 builtin and then its argument prototype would still apply. */
15086 #ifdef __cplusplus
15087 extern "C"
15088 #endif
15089 char capi20_register ();
15091 main ()
15093 return capi20_register ();
15095 return 0;
15097 _ACEOF
15098 if ac_fn_c_try_link "$LINENO"; then :
15099 case "$LIBEXT" in
15100 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15101 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'` ;;
15102 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15103 if ${ac_cv_lib_soname_capi20:+false} :; then :
15104 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15105 fi ;;
15106 esac
15107 else
15108 ac_cv_lib_soname_capi20=
15110 rm -f core conftest.err conftest.$ac_objext \
15111 conftest$ac_exeext conftest.$ac_ext
15112 LIBS=$ac_check_soname_save_LIBS
15114 if ${ac_cv_lib_soname_capi20:+false} :; then :
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15116 $as_echo "not found" >&6; }
15118 else
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15120 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15122 cat >>confdefs.h <<_ACEOF
15123 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15124 _ACEOF
15129 CPPFLAGS=$ac_save_CPPFLAGS
15130 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15131 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15134 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15135 case "x$with_capi" in
15136 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15137 xno) ;;
15138 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15139 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15140 esac
15144 if test "x$with_cups" != "xno"
15145 then
15146 if ${CUPS_CFLAGS:+false} :; then :
15147 if ${PKG_CONFIG+:} false; then :
15148 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15151 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15152 if ${CUPS_LIBS:+false} :; then :
15153 if ${PKG_CONFIG+:} false; then :
15154 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15157 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15158 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15159 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15160 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15161 ac_save_CPPFLAGS=$CPPFLAGS
15162 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15163 for ac_header in cups/cups.h cups/ppd.h
15164 do :
15165 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15166 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15167 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15168 cat >>confdefs.h <<_ACEOF
15169 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15170 _ACEOF
15174 done
15176 if test "$ac_cv_header_cups_cups_h" = "yes"
15177 then
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15179 $as_echo_n "checking for -lcups... " >&6; }
15180 if ${ac_cv_lib_soname_cups+:} false; then :
15181 $as_echo_n "(cached) " >&6
15182 else
15183 ac_check_soname_save_LIBS=$LIBS
15184 LIBS="-lcups $CUPS_LIBS $LIBS"
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15188 /* Override any GCC internal prototype to avoid an error.
15189 Use char because int might match the return type of a GCC
15190 builtin and then its argument prototype would still apply. */
15191 #ifdef __cplusplus
15192 extern "C"
15193 #endif
15194 char cupsGetDefault ();
15196 main ()
15198 return cupsGetDefault ();
15200 return 0;
15202 _ACEOF
15203 if ac_fn_c_try_link "$LINENO"; then :
15204 case "$LIBEXT" in
15205 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15206 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'` ;;
15207 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15208 if ${ac_cv_lib_soname_cups:+false} :; then :
15209 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15210 fi ;;
15211 esac
15212 else
15213 ac_cv_lib_soname_cups=
15215 rm -f core conftest.err conftest.$ac_objext \
15216 conftest$ac_exeext conftest.$ac_ext
15217 LIBS=$ac_check_soname_save_LIBS
15219 if ${ac_cv_lib_soname_cups:+false} :; then :
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15221 $as_echo "not found" >&6; }
15222 CUPS_LIBS=""
15223 else
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15225 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15227 cat >>confdefs.h <<_ACEOF
15228 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15229 _ACEOF
15233 else
15234 CUPS_CFLAGS=""
15235 CUPS_LIBS=""
15237 CPPFLAGS=$ac_save_CPPFLAGS
15238 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15239 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15242 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15243 case "x$with_cups" in
15244 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15245 xno) ;;
15246 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15247 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15248 esac
15252 if test "x$with_fontconfig" != "xno"
15253 then
15254 if ${FONTCONFIG_CFLAGS:+false} :; then :
15255 if ${PKG_CONFIG+:} false; then :
15256 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15259 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15260 if ${FONTCONFIG_LIBS:+false} :; then :
15261 if ${PKG_CONFIG+:} false; then :
15262 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15265 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15267 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15268 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15269 ac_save_CPPFLAGS=$CPPFLAGS
15270 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15271 for ac_header in fontconfig/fontconfig.h
15272 do :
15273 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15274 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15275 cat >>confdefs.h <<_ACEOF
15276 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15277 _ACEOF
15281 done
15283 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15284 then
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15286 $as_echo_n "checking for -lfontconfig... " >&6; }
15287 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15288 $as_echo_n "(cached) " >&6
15289 else
15290 ac_check_soname_save_LIBS=$LIBS
15291 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15293 /* end confdefs.h. */
15295 /* Override any GCC internal prototype to avoid an error.
15296 Use char because int might match the return type of a GCC
15297 builtin and then its argument prototype would still apply. */
15298 #ifdef __cplusplus
15299 extern "C"
15300 #endif
15301 char FcInit ();
15303 main ()
15305 return FcInit ();
15307 return 0;
15309 _ACEOF
15310 if ac_fn_c_try_link "$LINENO"; then :
15311 case "$LIBEXT" in
15312 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15313 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'` ;;
15314 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15315 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15316 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15317 fi ;;
15318 esac
15319 else
15320 ac_cv_lib_soname_fontconfig=
15322 rm -f core conftest.err conftest.$ac_objext \
15323 conftest$ac_exeext conftest.$ac_ext
15324 LIBS=$ac_check_soname_save_LIBS
15326 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15328 $as_echo "not found" >&6; }
15329 FONTCONFIG_CFLAGS=""
15330 else
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15332 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15334 cat >>confdefs.h <<_ACEOF
15335 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15336 _ACEOF
15340 else
15341 FONTCONFIG_CFLAGS=""
15343 CPPFLAGS=$ac_save_CPPFLAGS
15344 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15345 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15348 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15349 case "x$with_fontconfig" in
15350 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15351 xno) ;;
15352 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15353 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15354 esac
15358 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15359 then
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15361 $as_echo_n "checking for -lgsm... " >&6; }
15362 if ${ac_cv_lib_soname_gsm+:} false; then :
15363 $as_echo_n "(cached) " >&6
15364 else
15365 ac_check_soname_save_LIBS=$LIBS
15366 LIBS="-lgsm $LIBS"
15367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15368 /* end confdefs.h. */
15370 /* Override any GCC internal prototype to avoid an error.
15371 Use char because int might match the return type of a GCC
15372 builtin and then its argument prototype would still apply. */
15373 #ifdef __cplusplus
15374 extern "C"
15375 #endif
15376 char gsm_create ();
15378 main ()
15380 return gsm_create ();
15382 return 0;
15384 _ACEOF
15385 if ac_fn_c_try_link "$LINENO"; then :
15386 case "$LIBEXT" in
15387 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15388 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'` ;;
15389 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15390 if ${ac_cv_lib_soname_gsm:+false} :; then :
15391 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15392 fi ;;
15393 esac
15394 else
15395 ac_cv_lib_soname_gsm=
15397 rm -f core conftest.err conftest.$ac_objext \
15398 conftest$ac_exeext conftest.$ac_ext
15399 LIBS=$ac_check_soname_save_LIBS
15401 if ${ac_cv_lib_soname_gsm:+false} :; then :
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15403 $as_echo "not found" >&6; }
15405 else
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15407 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15409 cat >>confdefs.h <<_ACEOF
15410 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15411 _ACEOF
15416 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15417 case "x$with_gsm" in
15418 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15419 xno) ;;
15420 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15421 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15422 esac
15426 if test "x$with_krb5" != "xno"
15427 then
15428 if ${KRB5_CFLAGS:+false} :; then :
15429 if ${PKG_CONFIG+:} false; then :
15430 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15433 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15434 if ${KRB5_LIBS:+false} :; then :
15435 if ${PKG_CONFIG+:} false; then :
15436 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15439 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15441 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15442 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15443 ac_save_CPPFLAGS=$CPPFLAGS
15444 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15445 for ac_header in krb5/krb5.h
15446 do :
15447 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15448 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15449 cat >>confdefs.h <<_ACEOF
15450 #define HAVE_KRB5_KRB5_H 1
15451 _ACEOF
15455 done
15457 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15458 then
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15460 $as_echo_n "checking for -lkrb5... " >&6; }
15461 if ${ac_cv_lib_soname_krb5+:} false; then :
15462 $as_echo_n "(cached) " >&6
15463 else
15464 ac_check_soname_save_LIBS=$LIBS
15465 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15467 /* end confdefs.h. */
15469 /* Override any GCC internal prototype to avoid an error.
15470 Use char because int might match the return type of a GCC
15471 builtin and then its argument prototype would still apply. */
15472 #ifdef __cplusplus
15473 extern "C"
15474 #endif
15475 char krb5_is_config_principal ();
15477 main ()
15479 return krb5_is_config_principal ();
15481 return 0;
15483 _ACEOF
15484 if ac_fn_c_try_link "$LINENO"; then :
15485 case "$LIBEXT" in
15486 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15487 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'` ;;
15488 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15489 if ${ac_cv_lib_soname_krb5:+false} :; then :
15490 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15491 fi ;;
15492 esac
15493 else
15494 ac_cv_lib_soname_krb5=
15496 rm -f core conftest.err conftest.$ac_objext \
15497 conftest$ac_exeext conftest.$ac_ext
15498 LIBS=$ac_check_soname_save_LIBS
15500 if ${ac_cv_lib_soname_krb5:+false} :; then :
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15502 $as_echo "not found" >&6; }
15503 KRB5_CFLAGS=""
15504 else
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15506 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15508 cat >>confdefs.h <<_ACEOF
15509 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15510 _ACEOF
15514 else
15515 KRB5_CFLAGS=""
15517 CPPFLAGS=$ac_save_CPPFLAGS
15518 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15519 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15521 else
15522 with_gssapi=${with_gssapi:-no}
15524 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15525 case "x$with_krb5" in
15526 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15527 xno) ;;
15528 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15529 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15530 esac
15534 if test "x$with_gssapi" != "xno"
15535 then
15536 if ${GSSAPI_CFLAGS:+false} :; then :
15537 if ${PKG_CONFIG+:} false; then :
15538 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15541 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15542 if ${GSSAPI_LIBS:+false} :; then :
15543 if ${PKG_CONFIG+:} false; then :
15544 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15547 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15549 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15550 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15551 ac_save_CPPFLAGS=$CPPFLAGS
15552 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15553 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15554 do :
15555 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15556 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15557 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15558 cat >>confdefs.h <<_ACEOF
15559 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15560 _ACEOF
15564 done
15566 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15567 then
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15569 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15570 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15571 $as_echo_n "(cached) " >&6
15572 else
15573 ac_check_soname_save_LIBS=$LIBS
15574 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15576 /* end confdefs.h. */
15578 /* Override any GCC internal prototype to avoid an error.
15579 Use char because int might match the return type of a GCC
15580 builtin and then its argument prototype would still apply. */
15581 #ifdef __cplusplus
15582 extern "C"
15583 #endif
15584 char gss_init_sec_context ();
15586 main ()
15588 return gss_init_sec_context ();
15590 return 0;
15592 _ACEOF
15593 if ac_fn_c_try_link "$LINENO"; then :
15594 case "$LIBEXT" in
15595 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15596 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'` ;;
15597 *) 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'`
15598 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15599 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15600 fi ;;
15601 esac
15602 else
15603 ac_cv_lib_soname_gssapi_krb5=
15605 rm -f core conftest.err conftest.$ac_objext \
15606 conftest$ac_exeext conftest.$ac_ext
15607 LIBS=$ac_check_soname_save_LIBS
15609 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15611 $as_echo "not found" >&6; }
15612 GSSAPI_CFLAGS=""
15613 else
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15615 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15617 cat >>confdefs.h <<_ACEOF
15618 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15619 _ACEOF
15623 else
15624 GSSAPI_CFLAGS=""
15626 CPPFLAGS=$ac_save_CPPFLAGS
15627 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15628 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15631 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15632 case "x$with_gssapi" in
15633 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15634 xno) ;;
15635 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15636 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15637 esac
15641 if test "x$with_jpeg" != "xno"
15642 then
15643 if ${JPEG_CFLAGS:+false} :; then :
15644 if ${PKG_CONFIG+:} false; then :
15645 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15649 if ${JPEG_LIBS:+false} :; then :
15650 if ${PKG_CONFIG+:} false; then :
15651 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15656 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15657 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15658 ac_save_CPPFLAGS=$CPPFLAGS
15659 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15660 for ac_header in jpeglib.h
15661 do :
15662 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15663 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15664 cat >>confdefs.h <<_ACEOF
15665 #define HAVE_JPEGLIB_H 1
15666 _ACEOF
15670 done
15672 if test "$ac_cv_header_jpeglib_h" = "yes"
15673 then
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15675 $as_echo_n "checking for -ljpeg... " >&6; }
15676 if ${ac_cv_lib_soname_jpeg+:} false; then :
15677 $as_echo_n "(cached) " >&6
15678 else
15679 ac_check_soname_save_LIBS=$LIBS
15680 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15684 /* Override any GCC internal prototype to avoid an error.
15685 Use char because int might match the return type of a GCC
15686 builtin and then its argument prototype would still apply. */
15687 #ifdef __cplusplus
15688 extern "C"
15689 #endif
15690 char jpeg_start_decompress ();
15692 main ()
15694 return jpeg_start_decompress ();
15696 return 0;
15698 _ACEOF
15699 if ac_fn_c_try_link "$LINENO"; then :
15700 case "$LIBEXT" in
15701 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15702 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'` ;;
15703 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15704 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15705 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15706 fi ;;
15707 esac
15708 else
15709 ac_cv_lib_soname_jpeg=
15711 rm -f core conftest.err conftest.$ac_objext \
15712 conftest$ac_exeext conftest.$ac_ext
15713 LIBS=$ac_check_soname_save_LIBS
15715 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15717 $as_echo "not found" >&6; }
15718 JPEG_CFLAGS=""
15719 else
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15721 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15723 cat >>confdefs.h <<_ACEOF
15724 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15725 _ACEOF
15729 else
15730 JPEG_CFLAGS=""
15732 CPPFLAGS=$ac_save_CPPFLAGS
15733 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15734 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15737 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15738 case "x$with_jpeg" in
15739 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15740 xno) ;;
15741 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15742 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15743 esac
15747 if test "x$with_png" != "xno"
15748 then
15749 if ${PNG_CFLAGS:+false} :; then :
15750 if ${PKG_CONFIG+:} false; then :
15751 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15754 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15755 if ${PNG_LIBS:+false} :; then :
15756 if ${PKG_CONFIG+:} false; then :
15757 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15760 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15762 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15763 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15764 ac_save_CPPFLAGS=$CPPFLAGS
15765 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15766 for ac_header in png.h
15767 do :
15768 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15769 if test "x$ac_cv_header_png_h" = xyes; then :
15770 cat >>confdefs.h <<_ACEOF
15771 #define HAVE_PNG_H 1
15772 _ACEOF
15776 done
15778 if test "$ac_cv_header_png_h" = "yes"
15779 then
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15781 $as_echo_n "checking for -lpng... " >&6; }
15782 if ${ac_cv_lib_soname_png+:} false; then :
15783 $as_echo_n "(cached) " >&6
15784 else
15785 ac_check_soname_save_LIBS=$LIBS
15786 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15788 /* end confdefs.h. */
15790 /* Override any GCC internal prototype to avoid an error.
15791 Use char because int might match the return type of a GCC
15792 builtin and then its argument prototype would still apply. */
15793 #ifdef __cplusplus
15794 extern "C"
15795 #endif
15796 char png_create_read_struct ();
15798 main ()
15800 return png_create_read_struct ();
15802 return 0;
15804 _ACEOF
15805 if ac_fn_c_try_link "$LINENO"; then :
15806 case "$LIBEXT" in
15807 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15808 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'` ;;
15809 *) 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'`
15810 if ${ac_cv_lib_soname_png:+false} :; then :
15811 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15812 fi ;;
15813 esac
15814 else
15815 ac_cv_lib_soname_png=
15817 rm -f core conftest.err conftest.$ac_objext \
15818 conftest$ac_exeext conftest.$ac_ext
15819 LIBS=$ac_check_soname_save_LIBS
15821 if ${ac_cv_lib_soname_png:+false} :; then :
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15823 $as_echo "not found" >&6; }
15824 PNG_CFLAGS=""
15825 else
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15827 $as_echo "$ac_cv_lib_soname_png" >&6; }
15829 cat >>confdefs.h <<_ACEOF
15830 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15831 _ACEOF
15835 else
15836 PNG_CFLAGS=""
15838 CPPFLAGS=$ac_save_CPPFLAGS
15839 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15840 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15843 if test "x$ac_cv_lib_soname_png" = "x"; then :
15844 case "x$with_png" in
15845 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15846 xno) ;;
15847 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15848 This is an error since --with-png was requested." "$LINENO" 5 ;;
15849 esac
15853 if test "x$with_tiff" != "xno"
15854 then
15855 if ${TIFF_CFLAGS:+false} :; then :
15856 if ${PKG_CONFIG+:} false; then :
15857 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15861 if ${TIFF_LIBS:+false} :; then :
15862 if ${PKG_CONFIG+:} false; then :
15863 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15868 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15869 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15870 ac_save_CPPFLAGS=$CPPFLAGS
15871 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15872 for ac_header in tiffio.h
15873 do :
15874 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15875 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15876 cat >>confdefs.h <<_ACEOF
15877 #define HAVE_TIFFIO_H 1
15878 _ACEOF
15882 done
15884 if test "$ac_cv_header_tiffio_h" = "yes"
15885 then
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15887 $as_echo_n "checking for -ltiff... " >&6; }
15888 if ${ac_cv_lib_soname_tiff+:} false; then :
15889 $as_echo_n "(cached) " >&6
15890 else
15891 ac_check_soname_save_LIBS=$LIBS
15892 LIBS="-ltiff $TIFF_LIBS $LIBS"
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15896 /* Override any GCC internal prototype to avoid an error.
15897 Use char because int might match the return type of a GCC
15898 builtin and then its argument prototype would still apply. */
15899 #ifdef __cplusplus
15900 extern "C"
15901 #endif
15902 char TIFFClientOpen ();
15904 main ()
15906 return TIFFClientOpen ();
15908 return 0;
15910 _ACEOF
15911 if ac_fn_c_try_link "$LINENO"; then :
15912 case "$LIBEXT" in
15913 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15914 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'` ;;
15915 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15916 if ${ac_cv_lib_soname_tiff:+false} :; then :
15917 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15918 fi ;;
15919 esac
15920 else
15921 ac_cv_lib_soname_tiff=
15923 rm -f core conftest.err conftest.$ac_objext \
15924 conftest$ac_exeext conftest.$ac_ext
15925 LIBS=$ac_check_soname_save_LIBS
15927 if ${ac_cv_lib_soname_tiff:+false} :; then :
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15929 $as_echo "not found" >&6; }
15931 else
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15933 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15935 cat >>confdefs.h <<_ACEOF
15936 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15937 _ACEOF
15942 CPPFLAGS=$ac_save_CPPFLAGS
15943 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15944 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15947 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15948 case "x$with_tiff" in
15949 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15950 xno) ;;
15951 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15952 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15953 esac
15957 if test "x$with_mpg123" != "xno"
15958 then
15959 if ${MPG123_CFLAGS:+false} :; then :
15960 if ${PKG_CONFIG+:} false; then :
15961 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15965 if ${MPG123_LIBS:+false} :; then :
15966 if ${PKG_CONFIG+:} false; then :
15967 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15971 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15972 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15973 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15974 ac_save_CPPFLAGS=$CPPFLAGS
15975 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15976 for ac_header in mpg123.h
15977 do :
15978 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15979 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15980 cat >>confdefs.h <<_ACEOF
15981 #define HAVE_MPG123_H 1
15982 _ACEOF
15986 done
15988 if test "$ac_cv_header_mpg123_h" = "yes"
15989 then
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15991 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15992 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15993 $as_echo_n "(cached) " >&6
15994 else
15995 ac_check_lib_save_LIBS=$LIBS
15996 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15998 /* end confdefs.h. */
16000 /* Override any GCC internal prototype to avoid an error.
16001 Use char because int might match the return type of a GCC
16002 builtin and then its argument prototype would still apply. */
16003 #ifdef __cplusplus
16004 extern "C"
16005 #endif
16006 char mpg123_feed ();
16008 main ()
16010 return mpg123_feed ();
16012 return 0;
16014 _ACEOF
16015 if ac_fn_c_try_link "$LINENO"; then :
16016 ac_cv_lib_mpg123_mpg123_feed=yes
16017 else
16018 ac_cv_lib_mpg123_mpg123_feed=no
16020 rm -f core conftest.err conftest.$ac_objext \
16021 conftest$ac_exeext conftest.$ac_ext
16022 LIBS=$ac_check_lib_save_LIBS
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16025 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16026 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16028 else
16029 MPG123_LIBS=""
16032 else
16033 MPG123_CFLAGS=""
16034 MPG123_LIBS=""
16036 CPPFLAGS=$ac_save_CPPFLAGS
16037 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16038 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16041 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16042 case "x$with_mpg123" in
16043 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16044 xno) ;;
16045 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16046 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16047 esac
16048 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16050 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16052 if test "$ac_cv_header_AL_al_h" = "yes"
16053 then
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16055 $as_echo_n "checking for -lopenal... " >&6; }
16056 if ${ac_cv_lib_soname_openal+:} false; then :
16057 $as_echo_n "(cached) " >&6
16058 else
16059 ac_check_soname_save_LIBS=$LIBS
16060 LIBS="-lopenal $LIBS"
16061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16062 /* end confdefs.h. */
16064 /* Override any GCC internal prototype to avoid an error.
16065 Use char because int might match the return type of a GCC
16066 builtin and then its argument prototype would still apply. */
16067 #ifdef __cplusplus
16068 extern "C"
16069 #endif
16070 char alGetSource3i ();
16072 main ()
16074 return alGetSource3i ();
16076 return 0;
16078 _ACEOF
16079 if ac_fn_c_try_link "$LINENO"; then :
16080 case "$LIBEXT" in
16081 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16082 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'` ;;
16083 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16084 if ${ac_cv_lib_soname_openal:+false} :; then :
16085 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16086 fi ;;
16087 esac
16088 else
16089 ac_cv_lib_soname_openal=
16091 rm -f core conftest.err conftest.$ac_objext \
16092 conftest$ac_exeext conftest.$ac_ext
16093 LIBS=$ac_check_soname_save_LIBS
16095 if ${ac_cv_lib_soname_openal:+false} :; then :
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16097 $as_echo "not found" >&6; }
16099 else
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16101 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16103 cat >>confdefs.h <<_ACEOF
16104 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16105 _ACEOF
16107 OPENAL_LIBS="-lopenal"
16109 ac_cv_lib_openal=yes
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_OPENAL 1
16113 _ACEOF
16117 if test "x$ac_cv_lib_openal" != xyes; then :
16118 case "x$with_openal" in
16119 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16120 xno) ;;
16121 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16122 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16123 esac
16124 enable_openal32=${enable_openal32:-no}
16127 if test "x$ac_cv_lib_soname_FAudio" = "x"
16128 then
16129 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16130 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16131 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16132 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16133 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16134 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16135 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16136 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16137 enable_xapofx1_1=${enable_xapofx1_1:-no}
16138 enable_xapofx1_2=${enable_xapofx1_2:-no}
16139 enable_xapofx1_3=${enable_xapofx1_3:-no}
16140 enable_xapofx1_4=${enable_xapofx1_4:-no}
16141 enable_xapofx1_5=${enable_xapofx1_5:-no}
16142 enable_xaudio2_0=${enable_xaudio2_0:-no}
16143 enable_xaudio2_1=${enable_xaudio2_1:-no}
16144 enable_xaudio2_2=${enable_xaudio2_2:-no}
16145 enable_xaudio2_3=${enable_xaudio2_3:-no}
16146 enable_xaudio2_4=${enable_xaudio2_4:-no}
16147 enable_xaudio2_5=${enable_xaudio2_5:-no}
16148 enable_xaudio2_6=${enable_xaudio2_6:-no}
16149 enable_xaudio2_7=${enable_xaudio2_7:-no}
16150 enable_xaudio2_8=${enable_xaudio2_8:-no}
16151 enable_xaudio2_9=${enable_xaudio2_9:-no}
16154 if test "$ac_cv_header_kstat_h" = "yes"
16155 then
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16157 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16158 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16159 $as_echo_n "(cached) " >&6
16160 else
16161 ac_check_lib_save_LIBS=$LIBS
16162 LIBS="-lkstat $LIBS"
16163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16164 /* end confdefs.h. */
16166 /* Override any GCC internal prototype to avoid an error.
16167 Use char because int might match the return type of a GCC
16168 builtin and then its argument prototype would still apply. */
16169 #ifdef __cplusplus
16170 extern "C"
16171 #endif
16172 char kstat_open ();
16174 main ()
16176 return kstat_open ();
16178 return 0;
16180 _ACEOF
16181 if ac_fn_c_try_link "$LINENO"; then :
16182 ac_cv_lib_kstat_kstat_open=yes
16183 else
16184 ac_cv_lib_kstat_kstat_open=no
16186 rm -f core conftest.err conftest.$ac_objext \
16187 conftest$ac_exeext conftest.$ac_ext
16188 LIBS=$ac_check_lib_save_LIBS
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16191 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16192 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16194 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16196 KSTAT_LIBS="-lkstat"
16202 if test "$ac_cv_header_libprocstat_h" = "yes"
16203 then
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16205 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16206 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16207 $as_echo_n "(cached) " >&6
16208 else
16209 ac_check_lib_save_LIBS=$LIBS
16210 LIBS="-lprocstat $LIBS"
16211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16214 /* Override any GCC internal prototype to avoid an error.
16215 Use char because int might match the return type of a GCC
16216 builtin and then its argument prototype would still apply. */
16217 #ifdef __cplusplus
16218 extern "C"
16219 #endif
16220 char procstat_open_sysctl ();
16222 main ()
16224 return procstat_open_sysctl ();
16226 return 0;
16228 _ACEOF
16229 if ac_fn_c_try_link "$LINENO"; then :
16230 ac_cv_lib_procstat_procstat_open_sysctl=yes
16231 else
16232 ac_cv_lib_procstat_procstat_open_sysctl=no
16234 rm -f core conftest.err conftest.$ac_objext \
16235 conftest$ac_exeext conftest.$ac_ext
16236 LIBS=$ac_check_lib_save_LIBS
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16239 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16240 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16242 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16244 PROCSTAT_LIBS="-lprocstat"
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16251 $as_echo_n "checking for -lodbc... " >&6; }
16252 if ${ac_cv_lib_soname_odbc+:} false; then :
16253 $as_echo_n "(cached) " >&6
16254 else
16255 ac_check_soname_save_LIBS=$LIBS
16256 LIBS="-lodbc $LIBS"
16257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16258 /* end confdefs.h. */
16260 /* Override any GCC internal prototype to avoid an error.
16261 Use char because int might match the return type of a GCC
16262 builtin and then its argument prototype would still apply. */
16263 #ifdef __cplusplus
16264 extern "C"
16265 #endif
16266 char SQLConnect ();
16268 main ()
16270 return SQLConnect ();
16272 return 0;
16274 _ACEOF
16275 if ac_fn_c_try_link "$LINENO"; then :
16276 case "$LIBEXT" in
16277 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16278 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'` ;;
16279 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16280 if ${ac_cv_lib_soname_odbc:+false} :; then :
16281 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16282 fi ;;
16283 esac
16284 else
16285 ac_cv_lib_soname_odbc=
16287 rm -f core conftest.err conftest.$ac_objext \
16288 conftest$ac_exeext conftest.$ac_ext
16289 LIBS=$ac_check_soname_save_LIBS
16291 if ${ac_cv_lib_soname_odbc:+false} :; then :
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16293 $as_echo "not found" >&6; }
16294 cat >>confdefs.h <<_ACEOF
16295 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16296 _ACEOF
16298 else
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16300 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16302 cat >>confdefs.h <<_ACEOF
16303 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16304 _ACEOF
16309 if test "x$with_netapi" != "xno"
16310 then
16311 if ${NETAPI_CFLAGS:+false} :; then :
16312 if ${PKG_CONFIG+:} false; then :
16313 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16317 if ${NETAPI_LIBS:+false} :; then :
16318 if ${PKG_CONFIG+:} false; then :
16319 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16324 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16325 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16326 ac_save_CPPFLAGS=$CPPFLAGS
16327 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16329 $as_echo_n "checking for -lnetapi... " >&6; }
16330 if ${ac_cv_lib_soname_netapi+:} false; then :
16331 $as_echo_n "(cached) " >&6
16332 else
16333 ac_check_soname_save_LIBS=$LIBS
16334 LIBS="-lnetapi $NETAPI_LIBS $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 libnetapi_init ();
16346 main ()
16348 return libnetapi_init ();
16350 return 0;
16352 _ACEOF
16353 if ac_fn_c_try_link "$LINENO"; then :
16354 case "$LIBEXT" in
16355 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16356 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'` ;;
16357 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16358 if ${ac_cv_lib_soname_netapi:+false} :; then :
16359 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16360 fi ;;
16361 esac
16362 else
16363 ac_cv_lib_soname_netapi=
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_netapi:+false} :; then :
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16371 $as_echo "not found" >&6; }
16372 cat >>confdefs.h <<_ACEOF
16373 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16374 _ACEOF
16376 else
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16378 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16380 cat >>confdefs.h <<_ACEOF
16381 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16382 _ACEOF
16386 CPPFLAGS=$ac_save_CPPFLAGS
16387 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16388 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16392 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16393 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16394 then
16395 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16398 if test "x$with_vulkan" != "xno"
16399 then
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16401 $as_echo_n "checking for -lvulkan... " >&6; }
16402 if ${ac_cv_lib_soname_vulkan+:} false; then :
16403 $as_echo_n "(cached) " >&6
16404 else
16405 ac_check_soname_save_LIBS=$LIBS
16406 LIBS="-lvulkan $LIBS"
16407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16410 /* Override any GCC internal prototype to avoid an error.
16411 Use char because int might match the return type of a GCC
16412 builtin and then its argument prototype would still apply. */
16413 #ifdef __cplusplus
16414 extern "C"
16415 #endif
16416 char vkGetInstanceProcAddr ();
16418 main ()
16420 return vkGetInstanceProcAddr ();
16422 return 0;
16424 _ACEOF
16425 if ac_fn_c_try_link "$LINENO"; then :
16426 case "$LIBEXT" in
16427 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16428 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'` ;;
16429 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16430 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16431 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16432 fi ;;
16433 esac
16434 else
16435 ac_cv_lib_soname_vulkan=
16437 rm -f core conftest.err conftest.$ac_objext \
16438 conftest$ac_exeext conftest.$ac_ext
16439 LIBS=$ac_check_soname_save_LIBS
16441 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16443 $as_echo "not found" >&6; }
16445 else
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16447 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16449 cat >>confdefs.h <<_ACEOF
16450 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16451 _ACEOF
16455 if test "x$ac_cv_lib_soname_vulkan" = "x"
16456 then
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16458 $as_echo_n "checking for -lMoltenVK... " >&6; }
16459 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16460 $as_echo_n "(cached) " >&6
16461 else
16462 ac_check_soname_save_LIBS=$LIBS
16463 LIBS="-lMoltenVK $LIBS"
16464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16465 /* end confdefs.h. */
16467 /* Override any GCC internal prototype to avoid an error.
16468 Use char because int might match the return type of a GCC
16469 builtin and then its argument prototype would still apply. */
16470 #ifdef __cplusplus
16471 extern "C"
16472 #endif
16473 char vkGetInstanceProcAddr ();
16475 main ()
16477 return vkGetInstanceProcAddr ();
16479 return 0;
16481 _ACEOF
16482 if ac_fn_c_try_link "$LINENO"; then :
16483 case "$LIBEXT" in
16484 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16485 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'` ;;
16486 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16487 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16488 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16489 fi ;;
16490 esac
16491 else
16492 ac_cv_lib_soname_MoltenVK=
16494 rm -f core conftest.err conftest.$ac_objext \
16495 conftest$ac_exeext conftest.$ac_ext
16496 LIBS=$ac_check_soname_save_LIBS
16498 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16500 $as_echo "not found" >&6; }
16502 else
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16504 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16506 cat >>confdefs.h <<_ACEOF
16507 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16508 _ACEOF
16514 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16515 case "x$with_vulkan" in
16516 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16517 xno) ;;
16518 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16519 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16520 esac
16524 if test "x$with_vkd3d" != "xno"
16525 then
16526 if ${VKD3D_CFLAGS:+false} :; then :
16527 if ${PKG_CONFIG+:} false; then :
16528 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16532 if ${VKD3D_LIBS:+false} :; then :
16533 if ${PKG_CONFIG+:} false; then :
16534 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16539 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16540 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16541 ac_save_CPPFLAGS=$CPPFLAGS
16542 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16544 $as_echo_n "checking for -lvkd3d... " >&6; }
16545 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16546 $as_echo_n "(cached) " >&6
16547 else
16548 ac_check_soname_save_LIBS=$LIBS
16549 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16553 /* Override any GCC internal prototype to avoid an error.
16554 Use char because int might match the return type of a GCC
16555 builtin and then its argument prototype would still apply. */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char vkd3d_get_dxgi_format ();
16561 main ()
16563 return vkd3d_get_dxgi_format ();
16565 return 0;
16567 _ACEOF
16568 if ac_fn_c_try_link "$LINENO"; then :
16569 case "$LIBEXT" in
16570 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16571 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'` ;;
16572 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16573 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16574 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16575 fi ;;
16576 esac
16577 else
16578 ac_cv_lib_soname_vkd3d=
16580 rm -f core conftest.err conftest.$ac_objext \
16581 conftest$ac_exeext conftest.$ac_ext
16582 LIBS=$ac_check_soname_save_LIBS
16584 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16586 $as_echo "not found" >&6; }
16588 else
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16590 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16592 cat >>confdefs.h <<_ACEOF
16593 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16594 _ACEOF
16598 CPPFLAGS=$ac_save_CPPFLAGS
16599 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16600 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16603 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16604 case "x$with_vkd3d" in
16605 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16606 xno) ;;
16607 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16608 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16609 esac
16612 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16615 EXTRACFLAGS=""
16617 if test "x${GCC}" = "xyes"
16618 then
16619 EXTRACFLAGS="-Wall -pipe"
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16622 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16623 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16626 if test "$cross_compiling" = yes; then :
16627 ac_cv_c_gcc_strength_bug="no"
16628 else
16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16631 int L[4] = {0,1,2,3};
16633 main ()
16635 static int Array[3];
16636 unsigned int B = 3;
16637 int i;
16638 for(i=0; i<B; i++) Array[i] = i - 3;
16639 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16640 L[i] = 4;
16641 return (Array[1] != -2 || L[2] != 3)
16643 return 0;
16645 _ACEOF
16646 if ac_fn_c_try_run "$LINENO"; then :
16647 ac_cv_c_gcc_strength_bug="no"
16648 else
16649 ac_cv_c_gcc_strength_bug="yes"
16651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16652 conftest.$ac_objext conftest.beam conftest.$ac_ext
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16657 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16658 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16659 then
16660 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16664 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16665 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16666 $as_echo_n "(cached) " >&6
16667 else
16668 ac_wine_try_cflags_saved=$CFLAGS
16669 CFLAGS="$CFLAGS -fno-strict-aliasing"
16670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16672 int main(int argc, char **argv) { return 0; }
16673 _ACEOF
16674 if ac_fn_c_try_link "$LINENO"; then :
16675 ac_cv_cflags__fno_strict_aliasing=yes
16676 else
16677 ac_cv_cflags__fno_strict_aliasing=no
16679 rm -f core conftest.err conftest.$ac_objext \
16680 conftest$ac_exeext conftest.$ac_ext
16681 CFLAGS=$ac_wine_try_cflags_saved
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16684 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16685 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16686 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16689 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16690 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16691 $as_echo_n "(cached) " >&6
16692 else
16693 ac_wine_try_cflags_saved=$CFLAGS
16694 CFLAGS="$CFLAGS -fexcess-precision=standard"
16695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16696 /* end confdefs.h. */
16697 int main(int argc, char **argv) { return 0; }
16698 _ACEOF
16699 if ac_fn_c_try_link "$LINENO"; then :
16700 ac_cv_cflags__fexcess_precision_standard=yes
16701 else
16702 ac_cv_cflags__fexcess_precision_standard=no
16704 rm -f core conftest.err conftest.$ac_objext \
16705 conftest$ac_exeext conftest.$ac_ext
16706 CFLAGS=$ac_wine_try_cflags_saved
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16709 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16710 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16711 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16714 saved_CFLAGS=$CFLAGS
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16716 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16717 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16718 $as_echo_n "(cached) " >&6
16719 else
16720 ac_wine_try_cflags_saved=$CFLAGS
16721 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h. */
16724 int main(int argc, char **argv) { return 0; }
16725 _ACEOF
16726 if ac_fn_c_try_link "$LINENO"; then :
16727 ac_cv_cflags__Werror_unknown_warning_option=yes
16728 else
16729 ac_cv_cflags__Werror_unknown_warning_option=no
16731 rm -f core conftest.err conftest.$ac_objext \
16732 conftest$ac_exeext conftest.$ac_ext
16733 CFLAGS=$ac_wine_try_cflags_saved
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16736 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16737 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16738 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16741 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16742 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16743 $as_echo_n "(cached) " >&6
16744 else
16745 ac_wine_try_cflags_saved=$CFLAGS
16746 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16748 /* end confdefs.h. */
16749 int main(int argc, char **argv) { return 0; }
16750 _ACEOF
16751 if ac_fn_c_try_link "$LINENO"; then :
16752 ac_cv_cflags__Wdeclaration_after_statement=yes
16753 else
16754 ac_cv_cflags__Wdeclaration_after_statement=no
16756 rm -f core conftest.err conftest.$ac_objext \
16757 conftest$ac_exeext conftest.$ac_ext
16758 CFLAGS=$ac_wine_try_cflags_saved
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16761 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16762 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16763 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16766 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16767 if ${ac_cv_cflags__Wempty_body+:} false; then :
16768 $as_echo_n "(cached) " >&6
16769 else
16770 ac_wine_try_cflags_saved=$CFLAGS
16771 CFLAGS="$CFLAGS -Wempty-body"
16772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16773 /* end confdefs.h. */
16774 int main(int argc, char **argv) { return 0; }
16775 _ACEOF
16776 if ac_fn_c_try_link "$LINENO"; then :
16777 ac_cv_cflags__Wempty_body=yes
16778 else
16779 ac_cv_cflags__Wempty_body=no
16781 rm -f core conftest.err conftest.$ac_objext \
16782 conftest$ac_exeext conftest.$ac_ext
16783 CFLAGS=$ac_wine_try_cflags_saved
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16786 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16787 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16788 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16791 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16792 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16793 $as_echo_n "(cached) " >&6
16794 else
16795 ac_wine_try_cflags_saved=$CFLAGS
16796 CFLAGS="$CFLAGS -Wignored-qualifiers"
16797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16798 /* end confdefs.h. */
16799 int main(int argc, char **argv) { return 0; }
16800 _ACEOF
16801 if ac_fn_c_try_link "$LINENO"; then :
16802 ac_cv_cflags__Wignored_qualifiers=yes
16803 else
16804 ac_cv_cflags__Wignored_qualifiers=no
16806 rm -f core conftest.err conftest.$ac_objext \
16807 conftest$ac_exeext conftest.$ac_ext
16808 CFLAGS=$ac_wine_try_cflags_saved
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16811 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16812 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16813 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16816 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16817 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16818 $as_echo_n "(cached) " >&6
16819 else
16820 ac_wine_try_cflags_saved=$CFLAGS
16821 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16823 /* end confdefs.h. */
16824 int main(int argc, char **argv) { return 0; }
16825 _ACEOF
16826 if ac_fn_c_try_link "$LINENO"; then :
16827 ac_cv_cflags__Wpacked_not_aligned=yes
16828 else
16829 ac_cv_cflags__Wpacked_not_aligned=no
16831 rm -f core conftest.err conftest.$ac_objext \
16832 conftest$ac_exeext conftest.$ac_ext
16833 CFLAGS=$ac_wine_try_cflags_saved
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16836 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16837 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16838 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16841 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16842 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16843 $as_echo_n "(cached) " >&6
16844 else
16845 ac_wine_try_cflags_saved=$CFLAGS
16846 CFLAGS="$CFLAGS -Wpragma-pack"
16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16849 int main(int argc, char **argv) { return 0; }
16850 _ACEOF
16851 if ac_fn_c_try_link "$LINENO"; then :
16852 ac_cv_cflags__Wpragma_pack=yes
16853 else
16854 ac_cv_cflags__Wpragma_pack=no
16856 rm -f core conftest.err conftest.$ac_objext \
16857 conftest$ac_exeext conftest.$ac_ext
16858 CFLAGS=$ac_wine_try_cflags_saved
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16861 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16862 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16863 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16866 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16867 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16868 $as_echo_n "(cached) " >&6
16869 else
16870 ac_wine_try_cflags_saved=$CFLAGS
16871 CFLAGS="$CFLAGS -Wshift-overflow=2"
16872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16873 /* end confdefs.h. */
16874 int main(int argc, char **argv) { return 0; }
16875 _ACEOF
16876 if ac_fn_c_try_link "$LINENO"; then :
16877 ac_cv_cflags__Wshift_overflow_2=yes
16878 else
16879 ac_cv_cflags__Wshift_overflow_2=no
16881 rm -f core conftest.err conftest.$ac_objext \
16882 conftest$ac_exeext conftest.$ac_ext
16883 CFLAGS=$ac_wine_try_cflags_saved
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16886 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16887 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16888 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16891 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16892 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16893 $as_echo_n "(cached) " >&6
16894 else
16895 ac_wine_try_cflags_saved=$CFLAGS
16896 CFLAGS="$CFLAGS -Wstrict-prototypes"
16897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16899 int main(int argc, char **argv) { return 0; }
16900 _ACEOF
16901 if ac_fn_c_try_link "$LINENO"; then :
16902 ac_cv_cflags__Wstrict_prototypes=yes
16903 else
16904 ac_cv_cflags__Wstrict_prototypes=no
16906 rm -f core conftest.err conftest.$ac_objext \
16907 conftest$ac_exeext conftest.$ac_ext
16908 CFLAGS=$ac_wine_try_cflags_saved
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16911 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16912 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16913 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16916 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16917 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16918 $as_echo_n "(cached) " >&6
16919 else
16920 ac_wine_try_cflags_saved=$CFLAGS
16921 CFLAGS="$CFLAGS -Wtype-limits"
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16924 int main(int argc, char **argv) { return 0; }
16925 _ACEOF
16926 if ac_fn_c_try_link "$LINENO"; then :
16927 ac_cv_cflags__Wtype_limits=yes
16928 else
16929 ac_cv_cflags__Wtype_limits=no
16931 rm -f core conftest.err conftest.$ac_objext \
16932 conftest$ac_exeext conftest.$ac_ext
16933 CFLAGS=$ac_wine_try_cflags_saved
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16936 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16937 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16938 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16941 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16942 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16943 $as_echo_n "(cached) " >&6
16944 else
16945 ac_wine_try_cflags_saved=$CFLAGS
16946 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948 /* end confdefs.h. */
16949 int main(int argc, char **argv) { return 0; }
16950 _ACEOF
16951 if ac_fn_c_try_link "$LINENO"; then :
16952 ac_cv_cflags__Wunused_but_set_parameter=yes
16953 else
16954 ac_cv_cflags__Wunused_but_set_parameter=no
16956 rm -f core conftest.err conftest.$ac_objext \
16957 conftest$ac_exeext conftest.$ac_ext
16958 CFLAGS=$ac_wine_try_cflags_saved
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16961 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16962 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16963 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16966 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16967 if ${ac_cv_cflags__Wvla+:} false; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16970 ac_wine_try_cflags_saved=$CFLAGS
16971 CFLAGS="$CFLAGS -Wvla"
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 int main(int argc, char **argv) { return 0; }
16975 _ACEOF
16976 if ac_fn_c_try_link "$LINENO"; then :
16977 ac_cv_cflags__Wvla=yes
16978 else
16979 ac_cv_cflags__Wvla=no
16981 rm -f core conftest.err conftest.$ac_objext \
16982 conftest$ac_exeext conftest.$ac_ext
16983 CFLAGS=$ac_wine_try_cflags_saved
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16986 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16987 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16988 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16991 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16992 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 ac_wine_try_cflags_saved=$CFLAGS
16996 CFLAGS="$CFLAGS -Wwrite-strings"
16997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16998 /* end confdefs.h. */
16999 int main(int argc, char **argv) { return 0; }
17000 _ACEOF
17001 if ac_fn_c_try_link "$LINENO"; then :
17002 ac_cv_cflags__Wwrite_strings=yes
17003 else
17004 ac_cv_cflags__Wwrite_strings=no
17006 rm -f core conftest.err conftest.$ac_objext \
17007 conftest$ac_exeext conftest.$ac_ext
17008 CFLAGS=$ac_wine_try_cflags_saved
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17011 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17012 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17013 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17017 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17018 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 ac_wine_try_cflags_saved=$CFLAGS
17022 CFLAGS="$CFLAGS -Wpointer-arith"
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17025 int main(int argc, char **argv) { return 0; }
17026 _ACEOF
17027 if ac_fn_c_try_link "$LINENO"; then :
17028 ac_cv_cflags__Wpointer_arith=yes
17029 else
17030 ac_cv_cflags__Wpointer_arith=no
17032 rm -f core conftest.err conftest.$ac_objext \
17033 conftest$ac_exeext conftest.$ac_ext
17034 CFLAGS=$ac_wine_try_cflags_saved
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17037 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17038 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17039 saved_string_h_CFLAGS=$CFLAGS
17040 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17042 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17043 if ${ac_cv_c_string_h_warnings+:} false; then :
17044 $as_echo_n "(cached) " >&6
17045 else
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17048 #include <string.h>
17050 main ()
17054 return 0;
17056 _ACEOF
17057 if ac_fn_c_try_compile "$LINENO"; then :
17058 ac_cv_c_string_h_warnings=no
17059 else
17060 ac_cv_c_string_h_warnings=yes
17062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17065 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17066 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17067 CFLAGS=$saved_string_h_CFLAGS
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17071 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17072 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17073 $as_echo_n "(cached) " >&6
17074 else
17075 ac_wine_try_cflags_saved=$CFLAGS
17076 CFLAGS="$CFLAGS -Wlogical-op"
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 int main(int argc, char **argv) { return 0; }
17080 _ACEOF
17081 if ac_fn_c_try_link "$LINENO"; then :
17082 ac_cv_cflags__Wlogical_op=yes
17083 else
17084 ac_cv_cflags__Wlogical_op=no
17086 rm -f core conftest.err conftest.$ac_objext \
17087 conftest$ac_exeext conftest.$ac_ext
17088 CFLAGS=$ac_wine_try_cflags_saved
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17091 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17092 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17093 saved_string_h_CFLAGS=$CFLAGS
17094 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17096 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17097 if ${ac_cv_c_logicalop_noisy+:} false; then :
17098 $as_echo_n "(cached) " >&6
17099 else
17100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101 /* end confdefs.h. */
17102 #include <string.h>
17103 char*f(const char *h,char n) {return strchr(h,n);}
17105 main ()
17109 return 0;
17111 _ACEOF
17112 if ac_fn_c_try_compile "$LINENO"; then :
17113 ac_cv_c_logicalop_noisy=no
17114 else
17115 ac_cv_c_logicalop_noisy=yes
17117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17120 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17121 CFLAGS=$saved_string_h_CFLAGS
17122 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17125 CFLAGS=$saved_CFLAGS
17127 for ac_flag in $CFLAGS; do
17128 case $ac_flag in
17129 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17130 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17131 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17132 $as_echo_n "(cached) " >&6
17133 else
17134 ac_wine_try_cflags_saved=$CFLAGS
17135 CFLAGS="$CFLAGS -gdwarf-2"
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17138 int main(int argc, char **argv) { return 0; }
17139 _ACEOF
17140 if ac_fn_c_try_link "$LINENO"; then :
17141 ac_cv_cflags__gdwarf_2=yes
17142 else
17143 ac_cv_cflags__gdwarf_2=no
17145 rm -f core conftest.err conftest.$ac_objext \
17146 conftest$ac_exeext conftest.$ac_ext
17147 CFLAGS=$ac_wine_try_cflags_saved
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17150 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17151 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17152 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17155 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17156 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17157 $as_echo_n "(cached) " >&6
17158 else
17159 ac_wine_try_cflags_saved=$CFLAGS
17160 CFLAGS="$CFLAGS -gstrict-dwarf"
17161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17162 /* end confdefs.h. */
17163 int main(int argc, char **argv) { return 0; }
17164 _ACEOF
17165 if ac_fn_c_try_link "$LINENO"; then :
17166 ac_cv_cflags__gstrict_dwarf=yes
17167 else
17168 ac_cv_cflags__gstrict_dwarf=no
17170 rm -f core conftest.err conftest.$ac_objext \
17171 conftest$ac_exeext conftest.$ac_ext
17172 CFLAGS=$ac_wine_try_cflags_saved
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17175 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17176 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17177 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17178 fi ;;
17179 esac
17180 done
17182 MSVCRTFLAGS=""
17184 case $host_os in
17185 cygwin*|mingw32*) ;;
17186 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17187 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17188 if ${ac_cv_cflags__fno_builtin+:} false; then :
17189 $as_echo_n "(cached) " >&6
17190 else
17191 ac_wine_try_cflags_saved=$CFLAGS
17192 CFLAGS="$CFLAGS -fno-builtin"
17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17195 int main(int argc, char **argv) { return 0; }
17196 _ACEOF
17197 if ac_fn_c_try_link "$LINENO"; then :
17198 ac_cv_cflags__fno_builtin=yes
17199 else
17200 ac_cv_cflags__fno_builtin=no
17202 rm -f core conftest.err conftest.$ac_objext \
17203 conftest$ac_exeext conftest.$ac_ext
17204 CFLAGS=$ac_wine_try_cflags_saved
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17207 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17208 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17209 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17212 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17213 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17214 $as_echo_n "(cached) " >&6
17215 else
17216 ac_wine_try_cflags_saved=$CFLAGS
17217 CFLAGS="$CFLAGS -fshort-wchar"
17218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17219 /* end confdefs.h. */
17220 int main(int argc, char **argv) { return 0; }
17221 _ACEOF
17222 if ac_fn_c_try_link "$LINENO"; then :
17223 ac_cv_cflags__fshort_wchar=yes
17224 else
17225 ac_cv_cflags__fshort_wchar=no
17227 rm -f core conftest.err conftest.$ac_objext \
17228 conftest$ac_exeext conftest.$ac_ext
17229 CFLAGS=$ac_wine_try_cflags_saved
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17232 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17233 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17234 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17235 fi ;;
17236 esac
17238 case $host_cpu in
17239 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17240 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17241 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17244 ac_wine_try_cflags_saved=$CFLAGS
17245 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 int main(int argc, char **argv) { return 0; }
17249 _ACEOF
17250 if ac_fn_c_try_link "$LINENO"; then :
17251 ac_cv_cflags__fno_omit_frame_pointer=yes
17252 else
17253 ac_cv_cflags__fno_omit_frame_pointer=no
17255 rm -f core conftest.err conftest.$ac_objext \
17256 conftest$ac_exeext conftest.$ac_ext
17257 CFLAGS=$ac_wine_try_cflags_saved
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17260 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17261 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17262 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17263 fi ;;
17264 *x86_64*)
17265 case $host_os in
17266 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17267 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17268 if ${ac_cv_cflags__Wno_format+:} false; then :
17269 $as_echo_n "(cached) " >&6
17270 else
17271 ac_wine_try_cflags_saved=$CFLAGS
17272 CFLAGS="$CFLAGS -Wno-format"
17273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17274 /* end confdefs.h. */
17275 int main(int argc, char **argv) { return 0; }
17276 _ACEOF
17277 if ac_fn_c_try_link "$LINENO"; then :
17278 ac_cv_cflags__Wno_format=yes
17279 else
17280 ac_cv_cflags__Wno_format=no
17282 rm -f core conftest.err conftest.$ac_objext \
17283 conftest$ac_exeext conftest.$ac_ext
17284 CFLAGS=$ac_wine_try_cflags_saved
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17287 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17288 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17289 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17290 fi ;;
17291 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17292 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17293 if ${ac_cv_cflags__mabi_ms+:} false; then :
17294 $as_echo_n "(cached) " >&6
17295 else
17296 ac_wine_try_cflags_saved=$CFLAGS
17297 CFLAGS="$CFLAGS -mabi=ms"
17298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17299 /* end confdefs.h. */
17300 int main(int argc, char **argv) { return 0; }
17301 _ACEOF
17302 if ac_fn_c_try_link "$LINENO"; then :
17303 ac_cv_cflags__mabi_ms=yes
17304 else
17305 ac_cv_cflags__mabi_ms=no
17307 rm -f core conftest.err conftest.$ac_objext \
17308 conftest$ac_exeext conftest.$ac_ext
17309 CFLAGS=$ac_wine_try_cflags_saved
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17312 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17313 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17314 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17315 fi ;;
17316 esac ;;
17317 esac
17319 if test "x$enable_maintainer_mode" = "xyes"
17320 then
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17322 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17323 if ${ac_cv_cflags__Werror+:} false; then :
17324 $as_echo_n "(cached) " >&6
17325 else
17326 ac_wine_try_cflags_saved=$CFLAGS
17327 CFLAGS="$CFLAGS -Werror"
17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17330 int main(int argc, char **argv) { return 0; }
17331 _ACEOF
17332 if ac_fn_c_try_link "$LINENO"; then :
17333 ac_cv_cflags__Werror=yes
17334 else
17335 ac_cv_cflags__Werror=no
17337 rm -f core conftest.err conftest.$ac_objext \
17338 conftest$ac_exeext conftest.$ac_ext
17339 CFLAGS=$ac_wine_try_cflags_saved
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17342 $as_echo "$ac_cv_cflags__Werror" >&6; }
17343 if test "x$ac_cv_cflags__Werror" = xyes; then :
17344 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17351 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17352 if ${ac_cv_c_fortify_enabled+:} false; then :
17353 $as_echo_n "(cached) " >&6
17354 else
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 #include <string.h>
17359 main ()
17361 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17362 #error Fortify enabled
17363 #endif
17365 return 0;
17367 _ACEOF
17368 if ac_fn_c_try_compile "$LINENO"; then :
17369 ac_cv_c_fortify_enabled=no
17370 else
17371 ac_cv_c_fortify_enabled=yes
17373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17376 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17377 if test "$ac_cv_c_fortify_enabled" = yes
17378 then
17379 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17384 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17385 if ${ac_cv_c_cfi_support+:} false; then :
17386 $as_echo_n "(cached) " >&6
17387 else
17388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17389 /* end confdefs.h. */
17390 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17392 main ()
17396 return 0;
17398 _ACEOF
17399 if ac_fn_c_try_compile "$LINENO"; then :
17400 ac_cv_c_cfi_support="yes"
17401 else
17402 ac_cv_c_cfi_support="no"
17404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17407 $as_echo "$ac_cv_c_cfi_support" >&6; }
17408 if test "$ac_cv_c_cfi_support" = "yes"
17409 then
17410 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17411 else
17412 if test "x$enable_win64" = "xyes"
17413 then
17414 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17419 case $build_os in
17420 cygwin*|mingw32*) TOOLSEXT=".exe"
17422 esac
17424 case $host_os in
17425 linux*)
17426 case $host_cpu in
17427 *i[3456789]86*|x86_64*|*aarch64*)
17428 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17429 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17431 esac
17433 esac
17436 ac_save_CFLAGS="$CFLAGS"
17437 CFLAGS="$CFLAGS $BUILTINFLAG"
17438 for ac_func in \
17439 __res_get_state \
17440 __res_getservers \
17441 _spawnvp \
17442 dlopen \
17443 epoll_create \
17444 ffs \
17445 finitef \
17446 fnmatch \
17447 fork \
17448 fpclass \
17449 fstatfs \
17450 fstatvfs \
17451 futimens \
17452 futimes \
17453 futimesat \
17454 getattrlist \
17455 getauxval \
17456 getifaddrs \
17457 getopt_long_only \
17458 kqueue \
17459 lstat \
17460 pipe2 \
17461 poll \
17462 port_create \
17463 prctl \
17464 pread \
17465 proc_pidinfo \
17466 pwrite \
17467 readdir \
17468 readlink \
17469 sched_yield \
17470 select \
17471 setproctitle \
17472 setprogname \
17473 settimeofday \
17474 sigprocmask \
17475 statfs \
17476 statvfs \
17477 strnlen \
17478 strtold \
17479 symlink \
17480 sysinfo \
17481 tcdrain \
17482 thr_kill2 \
17483 timegm \
17484 usleep
17486 do :
17487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17489 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17490 cat >>confdefs.h <<_ACEOF
17491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17492 _ACEOF
17495 done
17497 CFLAGS="$ac_save_CFLAGS"
17499 if test "$ac_cv_func_dlopen" = no
17500 then
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17502 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17503 if ${ac_cv_lib_dl_dlopen+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 ac_check_lib_save_LIBS=$LIBS
17507 LIBS="-ldl $LIBS"
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17511 /* Override any GCC internal prototype to avoid an error.
17512 Use char because int might match the return type of a GCC
17513 builtin and then its argument prototype would still apply. */
17514 #ifdef __cplusplus
17515 extern "C"
17516 #endif
17517 char dlopen ();
17519 main ()
17521 return dlopen ();
17523 return 0;
17525 _ACEOF
17526 if ac_fn_c_try_link "$LINENO"; then :
17527 ac_cv_lib_dl_dlopen=yes
17528 else
17529 ac_cv_lib_dl_dlopen=no
17531 rm -f core conftest.err conftest.$ac_objext \
17532 conftest$ac_exeext conftest.$ac_ext
17533 LIBS=$ac_check_lib_save_LIBS
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17536 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17537 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17538 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17539 DL_LIBS="-ldl"
17544 ac_wine_check_funcs_save_LIBS="$LIBS"
17545 LIBS="$LIBS $DL_LIBS"
17546 for ac_func in dladdr
17547 do :
17548 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17549 if test "x$ac_cv_func_dladdr" = xyes; then :
17550 cat >>confdefs.h <<_ACEOF
17551 #define HAVE_DLADDR 1
17552 _ACEOF
17555 done
17557 LIBS="$ac_wine_check_funcs_save_LIBS"
17559 if test "$ac_cv_func_poll" = no
17560 then
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17562 $as_echo_n "checking for poll in -lpoll... " >&6; }
17563 if ${ac_cv_lib_poll_poll+:} false; then :
17564 $as_echo_n "(cached) " >&6
17565 else
17566 ac_check_lib_save_LIBS=$LIBS
17567 LIBS="-lpoll $LIBS"
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17571 /* Override any GCC internal prototype to avoid an error.
17572 Use char because int might match the return type of a GCC
17573 builtin and then its argument prototype would still apply. */
17574 #ifdef __cplusplus
17575 extern "C"
17576 #endif
17577 char poll ();
17579 main ()
17581 return poll ();
17583 return 0;
17585 _ACEOF
17586 if ac_fn_c_try_link "$LINENO"; then :
17587 ac_cv_lib_poll_poll=yes
17588 else
17589 ac_cv_lib_poll_poll=no
17591 rm -f core conftest.err conftest.$ac_objext \
17592 conftest$ac_exeext conftest.$ac_ext
17593 LIBS=$ac_check_lib_save_LIBS
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17596 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17597 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17598 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17599 POLL_LIBS="-lpoll"
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17606 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17607 if ${ac_cv_search_gethostbyname+:} false; then :
17608 $as_echo_n "(cached) " >&6
17609 else
17610 ac_func_search_save_LIBS=$LIBS
17611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17612 /* end confdefs.h. */
17614 /* Override any GCC internal prototype to avoid an error.
17615 Use char because int might match the return type of a GCC
17616 builtin and then its argument prototype would still apply. */
17617 #ifdef __cplusplus
17618 extern "C"
17619 #endif
17620 char gethostbyname ();
17622 main ()
17624 return gethostbyname ();
17626 return 0;
17628 _ACEOF
17629 for ac_lib in '' nsl; do
17630 if test -z "$ac_lib"; then
17631 ac_res="none required"
17632 else
17633 ac_res=-l$ac_lib
17634 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17636 if ac_fn_c_try_link "$LINENO"; then :
17637 ac_cv_search_gethostbyname=$ac_res
17639 rm -f core conftest.err conftest.$ac_objext \
17640 conftest$ac_exeext
17641 if ${ac_cv_search_gethostbyname+:} false; then :
17642 break
17644 done
17645 if ${ac_cv_search_gethostbyname+:} false; then :
17647 else
17648 ac_cv_search_gethostbyname=no
17650 rm conftest.$ac_ext
17651 LIBS=$ac_func_search_save_LIBS
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17654 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17655 ac_res=$ac_cv_search_gethostbyname
17656 if test "$ac_res" != no; then :
17657 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17663 $as_echo_n "checking for library containing connect... " >&6; }
17664 if ${ac_cv_search_connect+:} false; then :
17665 $as_echo_n "(cached) " >&6
17666 else
17667 ac_func_search_save_LIBS=$LIBS
17668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17669 /* end confdefs.h. */
17671 /* Override any GCC internal prototype to avoid an error.
17672 Use char because int might match the return type of a GCC
17673 builtin and then its argument prototype would still apply. */
17674 #ifdef __cplusplus
17675 extern "C"
17676 #endif
17677 char connect ();
17679 main ()
17681 return connect ();
17683 return 0;
17685 _ACEOF
17686 for ac_lib in '' socket; do
17687 if test -z "$ac_lib"; then
17688 ac_res="none required"
17689 else
17690 ac_res=-l$ac_lib
17691 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17693 if ac_fn_c_try_link "$LINENO"; then :
17694 ac_cv_search_connect=$ac_res
17696 rm -f core conftest.err conftest.$ac_objext \
17697 conftest$ac_exeext
17698 if ${ac_cv_search_connect+:} false; then :
17699 break
17701 done
17702 if ${ac_cv_search_connect+:} false; then :
17704 else
17705 ac_cv_search_connect=no
17707 rm conftest.$ac_ext
17708 LIBS=$ac_func_search_save_LIBS
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17711 $as_echo "$ac_cv_search_connect" >&6; }
17712 ac_res=$ac_cv_search_connect
17713 if test "$ac_res" != no; then :
17714 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17720 $as_echo_n "checking for library containing inet_aton... " >&6; }
17721 if ${ac_cv_search_inet_aton+:} false; then :
17722 $as_echo_n "(cached) " >&6
17723 else
17724 ac_func_search_save_LIBS=$LIBS
17725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17726 /* end confdefs.h. */
17728 /* Override any GCC internal prototype to avoid an error.
17729 Use char because int might match the return type of a GCC
17730 builtin and then its argument prototype would still apply. */
17731 #ifdef __cplusplus
17732 extern "C"
17733 #endif
17734 char inet_aton ();
17736 main ()
17738 return inet_aton ();
17740 return 0;
17742 _ACEOF
17743 for ac_lib in '' resolv; do
17744 if test -z "$ac_lib"; then
17745 ac_res="none required"
17746 else
17747 ac_res=-l$ac_lib
17748 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17750 if ac_fn_c_try_link "$LINENO"; then :
17751 ac_cv_search_inet_aton=$ac_res
17753 rm -f core conftest.err conftest.$ac_objext \
17754 conftest$ac_exeext
17755 if ${ac_cv_search_inet_aton+:} false; then :
17756 break
17758 done
17759 if ${ac_cv_search_inet_aton+:} false; then :
17761 else
17762 ac_cv_search_inet_aton=no
17764 rm conftest.$ac_ext
17765 LIBS=$ac_func_search_save_LIBS
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17768 $as_echo "$ac_cv_search_inet_aton" >&6; }
17769 ac_res=$ac_cv_search_inet_aton
17770 if test "$ac_res" != no; then :
17771 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17776 for ac_func in \
17777 getaddrinfo \
17778 getnameinfo \
17779 getnetbyname \
17780 getprotobyname \
17781 getprotobynumber \
17782 getservbyport \
17783 inet_addr \
17784 inet_network \
17785 inet_ntop \
17786 inet_pton \
17788 do :
17789 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17790 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17791 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17792 cat >>confdefs.h <<_ACEOF
17793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17794 _ACEOF
17797 done
17800 case $host_os in
17801 darwin*|macosx*) ;;
17802 *) ac_save_LIBS=$LIBS
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17804 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17805 if ${ac_cv_search_clock_gettime+:} false; then :
17806 $as_echo_n "(cached) " >&6
17807 else
17808 ac_func_search_save_LIBS=$LIBS
17809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17810 /* end confdefs.h. */
17812 /* Override any GCC internal prototype to avoid an error.
17813 Use char because int might match the return type of a GCC
17814 builtin and then its argument prototype would still apply. */
17815 #ifdef __cplusplus
17816 extern "C"
17817 #endif
17818 char clock_gettime ();
17820 main ()
17822 return clock_gettime ();
17824 return 0;
17826 _ACEOF
17827 for ac_lib in '' rt; do
17828 if test -z "$ac_lib"; then
17829 ac_res="none required"
17830 else
17831 ac_res=-l$ac_lib
17832 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17834 if ac_fn_c_try_link "$LINENO"; then :
17835 ac_cv_search_clock_gettime=$ac_res
17837 rm -f core conftest.err conftest.$ac_objext \
17838 conftest$ac_exeext
17839 if ${ac_cv_search_clock_gettime+:} false; then :
17840 break
17842 done
17843 if ${ac_cv_search_clock_gettime+:} false; then :
17845 else
17846 ac_cv_search_clock_gettime=no
17848 rm conftest.$ac_ext
17849 LIBS=$ac_func_search_save_LIBS
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17852 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17853 ac_res=$ac_cv_search_clock_gettime
17854 if test "$ac_res" != no; then :
17855 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17857 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17859 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17863 LIBS=$ac_save_LIBS
17865 esac
17867 if test "x$with_ldap" != "xno"
17868 then
17869 if ${LDAP_CFLAGS:+false} :; then :
17870 if ${PKG_CONFIG+:} false; then :
17871 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
17875 if ${LDAP_LIBS:+false} :; then :
17876 if ${PKG_CONFIG+:} false; then :
17877 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
17881 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
17882 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
17883 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
17884 ac_save_CPPFLAGS=$CPPFLAGS
17885 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
17886 for ac_header in ldap.h lber.h
17887 do :
17888 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17889 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17890 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17891 cat >>confdefs.h <<_ACEOF
17892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17893 _ACEOF
17897 done
17899 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17900 then
17901 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17903 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17905 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17906 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17907 $as_echo_n "(cached) " >&6
17908 else
17909 ac_check_lib_save_LIBS=$LIBS
17910 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h. */
17914 /* Override any GCC internal prototype to avoid an error.
17915 Use char because int might match the return type of a GCC
17916 builtin and then its argument prototype would still apply. */
17917 #ifdef __cplusplus
17918 extern "C"
17919 #endif
17920 char ldap_initialize ();
17922 main ()
17924 return ldap_initialize ();
17926 return 0;
17928 _ACEOF
17929 if ac_fn_c_try_link "$LINENO"; then :
17930 ac_cv_lib_ldap_r_ldap_initialize=yes
17931 else
17932 ac_cv_lib_ldap_r_ldap_initialize=no
17934 rm -f core conftest.err conftest.$ac_objext \
17935 conftest$ac_exeext conftest.$ac_ext
17936 LIBS=$ac_check_lib_save_LIBS
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17939 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17940 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17942 $as_echo_n "checking for ber_init in -llber... " >&6; }
17943 if ${ac_cv_lib_lber_ber_init+:} false; then :
17944 $as_echo_n "(cached) " >&6
17945 else
17946 ac_check_lib_save_LIBS=$LIBS
17947 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17949 /* end confdefs.h. */
17951 /* Override any GCC internal prototype to avoid an error.
17952 Use char because int might match the return type of a GCC
17953 builtin and then its argument prototype would still apply. */
17954 #ifdef __cplusplus
17955 extern "C"
17956 #endif
17957 char ber_init ();
17959 main ()
17961 return ber_init ();
17963 return 0;
17965 _ACEOF
17966 if ac_fn_c_try_link "$LINENO"; then :
17967 ac_cv_lib_lber_ber_init=yes
17968 else
17969 ac_cv_lib_lber_ber_init=no
17971 rm -f core conftest.err conftest.$ac_objext \
17972 conftest$ac_exeext conftest.$ac_ext
17973 LIBS=$ac_check_lib_save_LIBS
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17976 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17977 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17979 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17981 else
17982 LDAP_LIBS=""
17985 else
17986 LDAP_LIBS=""
17989 else
17990 LDAP_LIBS=""
17993 ac_wine_check_funcs_save_LIBS="$LIBS"
17994 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17995 for ac_func in \
17996 ldap_count_references \
17997 ldap_first_reference \
17998 ldap_next_reference \
17999 ldap_parse_reference \
18000 ldap_parse_sort_control \
18001 ldap_parse_sortresponse_control \
18002 ldap_parse_vlv_control \
18003 ldap_parse_vlvresponse_control
18004 do :
18005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18006 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18007 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18008 cat >>confdefs.h <<_ACEOF
18009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18010 _ACEOF
18013 done
18015 LIBS="$ac_wine_check_funcs_save_LIBS"
18016 else
18017 LDAP_LIBS=""
18019 CPPFLAGS=$ac_save_CPPFLAGS
18020 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18021 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18024 if test "x$LDAP_LIBS" = "x"; then :
18025 case "x$with_ldap" in
18026 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18027 xno) ;;
18028 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18029 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18030 esac
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18035 $as_echo_n "checking for sched_setaffinity... " >&6; }
18036 if ${wine_cv_have_sched_setaffinity+:} false; then :
18037 $as_echo_n "(cached) " >&6
18038 else
18039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 #define _GNU_SOURCE
18042 #include <sched.h>
18044 main ()
18046 sched_setaffinity(0, 0, 0);
18048 return 0;
18050 _ACEOF
18051 if ac_fn_c_try_link "$LINENO"; then :
18052 wine_cv_have_sched_setaffinity=yes
18053 else
18054 wine_cv_have_sched_setaffinity=no
18056 rm -f core conftest.err conftest.$ac_objext \
18057 conftest$ac_exeext conftest.$ac_ext
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18060 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18061 if test "$wine_cv_have_sched_setaffinity" = "yes"
18062 then
18064 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18069 $as_echo_n "checking for fallocate... " >&6; }
18070 if ${wine_cv_have_fallocate+:} false; then :
18071 $as_echo_n "(cached) " >&6
18072 else
18073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18074 /* end confdefs.h. */
18075 #define _GNU_SOURCE
18076 #include <fcntl.h>
18078 main ()
18080 fallocate(-1, 0, 0, 0);
18082 return 0;
18084 _ACEOF
18085 if ac_fn_c_try_link "$LINENO"; then :
18086 wine_cv_have_fallocate=yes
18087 else
18088 wine_cv_have_fallocate=no
18090 rm -f core conftest.err conftest.$ac_objext \
18091 conftest$ac_exeext conftest.$ac_ext
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18094 $as_echo "$wine_cv_have_fallocate" >&6; }
18095 if test "$wine_cv_have_fallocate" = "yes"
18096 then
18098 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18104 $as_echo_n "checking for inline... " >&6; }
18105 if ${ac_cv_c_inline+:} false; then :
18106 $as_echo_n "(cached) " >&6
18107 else
18108 ac_cv_c_inline=no
18109 for ac_kw in inline __inline__ __inline; do
18110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18111 /* end confdefs.h. */
18112 #ifndef __cplusplus
18113 typedef int foo_t;
18114 static $ac_kw foo_t static_foo () {return 0; }
18115 $ac_kw foo_t foo () {return 0; }
18116 #endif
18118 _ACEOF
18119 if ac_fn_c_try_compile "$LINENO"; then :
18120 ac_cv_c_inline=$ac_kw
18122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18123 test "$ac_cv_c_inline" != no && break
18124 done
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18128 $as_echo "$ac_cv_c_inline" >&6; }
18130 case $ac_cv_c_inline in
18131 inline | yes) ;;
18133 case $ac_cv_c_inline in
18134 no) ac_val=;;
18135 *) ac_val=$ac_cv_c_inline;;
18136 esac
18137 cat >>confdefs.h <<_ACEOF
18138 #ifndef __cplusplus
18139 #define inline $ac_val
18140 #endif
18141 _ACEOF
18143 esac
18145 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18146 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18148 cat >>confdefs.h <<_ACEOF
18149 #define HAVE_FSBLKCNT_T 1
18150 _ACEOF
18154 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18155 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18157 cat >>confdefs.h <<_ACEOF
18158 #define HAVE_FSFILCNT_T 1
18159 _ACEOF
18164 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18165 #include <signal.h>
18167 if test "x$ac_cv_type_sigset_t" = xyes; then :
18169 cat >>confdefs.h <<_ACEOF
18170 #define HAVE_SIGSET_T 1
18171 _ACEOF
18176 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18178 if test "x$ac_cv_type_request_sense" = xyes; then :
18180 cat >>confdefs.h <<_ACEOF
18181 #define HAVE_REQUEST_SENSE 1
18182 _ACEOF
18188 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18189 #ifdef HAVE_SYS_SOCKET_H
18190 #include <sys/socket.h>
18191 #endif
18192 #ifdef HAVE_SYS_SOCKETVAR_H
18193 #include <sys/socketvar.h>
18194 #endif
18195 #ifdef HAVE_NET_ROUTE_H
18196 #include <net/route.h>
18197 #endif
18198 #ifdef HAVE_NETINET_IN_H
18199 #include <netinet/in.h>
18200 #endif
18201 #ifdef HAVE_NETINET_IN_SYSTM_H
18202 #include <netinet/in_systm.h>
18203 #endif
18204 #ifdef HAVE_NETINET_IP_H
18205 #include <netinet/ip.h>
18206 #endif
18207 #ifdef HAVE_NETINET_IN_PCB_H
18208 #include <netinet/in_pcb.h>
18209 #endif
18211 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18213 cat >>confdefs.h <<_ACEOF
18214 #define HAVE_STRUCT_XINPGEN 1
18215 _ACEOF
18221 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18222 #include <link.h>
18223 #endif
18224 #ifdef HAVE_SYS_LINK_H
18225 #include <sys/link.h>
18226 #endif
18228 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18230 cat >>confdefs.h <<_ACEOF
18231 #define HAVE_STRUCT_R_DEBUG 1
18232 _ACEOF
18236 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18237 #include <link.h>
18238 #endif
18239 #ifdef HAVE_SYS_LINK_H
18240 #include <sys/link.h>
18241 #endif
18243 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18245 cat >>confdefs.h <<_ACEOF
18246 #define HAVE_STRUCT_LINK_MAP 1
18247 _ACEOF
18253 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18254 #include <linux/input.h>
18255 #endif
18257 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18259 cat >>confdefs.h <<_ACEOF
18260 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18261 _ACEOF
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18268 $as_echo_n "checking for if_nameindex... " >&6; }
18269 if ${wine_cv_have_if_nameindex+:} false; then :
18270 $as_echo_n "(cached) " >&6
18271 else
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18274 #ifdef HAVE_SYS_TYPES_H
18275 #include <sys/types.h>
18276 #endif
18277 #ifdef HAVE_SYS_SOCKET_H
18278 #include <sys/socket.h>
18279 #endif
18280 #ifdef HAVE_NET_IF_H
18281 # include <net/if.h>
18282 #endif
18284 main ()
18286 struct if_nameindex *p = if_nameindex(); return p->if_index;
18288 return 0;
18290 _ACEOF
18291 if ac_fn_c_try_link "$LINENO"; then :
18292 wine_cv_have_if_nameindex=yes
18293 else
18294 wine_cv_have_if_nameindex=no
18296 rm -f core conftest.err conftest.$ac_objext \
18297 conftest$ac_exeext conftest.$ac_ext
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18300 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18301 if test "$wine_cv_have_if_nameindex" = "yes"
18302 then
18304 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18309 $as_echo_n "checking for sigaddset... " >&6; }
18310 if ${wine_cv_have_sigaddset+:} false; then :
18311 $as_echo_n "(cached) " >&6
18312 else
18313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18315 #include <signal.h>
18317 main ()
18319 sigset_t set; sigaddset(&set,SIGTERM);
18321 return 0;
18323 _ACEOF
18324 if ac_fn_c_try_link "$LINENO"; then :
18325 wine_cv_have_sigaddset=yes
18326 else
18327 wine_cv_have_sigaddset=no
18329 rm -f core conftest.err conftest.$ac_objext \
18330 conftest$ac_exeext conftest.$ac_ext
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18333 $as_echo "$wine_cv_have_sigaddset" >&6; }
18334 if test "$wine_cv_have_sigaddset" = "yes"
18335 then
18337 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18343 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18344 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18345 $as_echo_n "(cached) " >&6
18346 else
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <netdb.h>
18351 main ()
18354 char *name=0;
18355 struct hostent he;
18356 struct hostent *result;
18357 char *buf=0;
18358 int bufsize=0;
18359 int errnr;
18360 char *addr=0;
18361 int addrlen=0;
18362 int addrtype=0;
18363 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18364 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18367 return 0;
18369 _ACEOF
18370 if ac_fn_c_try_link "$LINENO"; then :
18371 wine_cv_linux_gethostbyname_r_6=yes
18372 else
18373 wine_cv_linux_gethostbyname_r_6=no
18376 rm -f core conftest.err conftest.$ac_objext \
18377 conftest$ac_exeext conftest.$ac_ext
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18381 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18382 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18383 then
18385 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18389 if test "$ac_cv_header_linux_joystick_h" = "yes"
18390 then
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18392 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18393 if ${wine_cv_linux_joystick_22_api+:} false; then :
18394 $as_echo_n "(cached) " >&6
18395 else
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18399 #include <sys/ioctl.h>
18400 #include <sys/types.h>
18401 #include <linux/joystick.h>
18403 struct js_event blub;
18404 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18405 #error "no 2.2 header"
18406 #endif
18409 main ()
18411 /*empty*/
18413 return 0;
18415 _ACEOF
18416 if ac_fn_c_try_compile "$LINENO"; then :
18417 wine_cv_linux_joystick_22_api=yes
18418 else
18419 wine_cv_linux_joystick_22_api=no
18421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18425 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18426 if test "$wine_cv_linux_joystick_22_api" = "yes"
18427 then
18429 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18435 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18436 #ifdef HAVE_SYS_PARAM_H
18437 # include <sys/param.h>
18438 #endif
18439 #ifdef HAVE_SYS_MOUNT_H
18440 # include <sys/mount.h>
18441 #endif
18442 #ifdef HAVE_SYS_VFS_H
18443 # include <sys/vfs.h>
18444 #endif
18445 #ifdef HAVE_SYS_STATFS_H
18446 # include <sys/statfs.h>
18447 #endif
18449 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18451 cat >>confdefs.h <<_ACEOF
18452 #define HAVE_STRUCT_STATFS_F_BFREE 1
18453 _ACEOF
18457 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18458 #ifdef HAVE_SYS_PARAM_H
18459 # include <sys/param.h>
18460 #endif
18461 #ifdef HAVE_SYS_MOUNT_H
18462 # include <sys/mount.h>
18463 #endif
18464 #ifdef HAVE_SYS_VFS_H
18465 # include <sys/vfs.h>
18466 #endif
18467 #ifdef HAVE_SYS_STATFS_H
18468 # include <sys/statfs.h>
18469 #endif
18471 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18473 cat >>confdefs.h <<_ACEOF
18474 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18475 _ACEOF
18479 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18480 #ifdef HAVE_SYS_PARAM_H
18481 # include <sys/param.h>
18482 #endif
18483 #ifdef HAVE_SYS_MOUNT_H
18484 # include <sys/mount.h>
18485 #endif
18486 #ifdef HAVE_SYS_VFS_H
18487 # include <sys/vfs.h>
18488 #endif
18489 #ifdef HAVE_SYS_STATFS_H
18490 # include <sys/statfs.h>
18491 #endif
18493 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18495 cat >>confdefs.h <<_ACEOF
18496 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18497 _ACEOF
18501 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18502 #ifdef HAVE_SYS_PARAM_H
18503 # include <sys/param.h>
18504 #endif
18505 #ifdef HAVE_SYS_MOUNT_H
18506 # include <sys/mount.h>
18507 #endif
18508 #ifdef HAVE_SYS_VFS_H
18509 # include <sys/vfs.h>
18510 #endif
18511 #ifdef HAVE_SYS_STATFS_H
18512 # include <sys/statfs.h>
18513 #endif
18515 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18517 cat >>confdefs.h <<_ACEOF
18518 #define HAVE_STRUCT_STATFS_F_FFREE 1
18519 _ACEOF
18523 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18524 #ifdef HAVE_SYS_PARAM_H
18525 # include <sys/param.h>
18526 #endif
18527 #ifdef HAVE_SYS_MOUNT_H
18528 # include <sys/mount.h>
18529 #endif
18530 #ifdef HAVE_SYS_VFS_H
18531 # include <sys/vfs.h>
18532 #endif
18533 #ifdef HAVE_SYS_STATFS_H
18534 # include <sys/statfs.h>
18535 #endif
18537 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18539 cat >>confdefs.h <<_ACEOF
18540 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18541 _ACEOF
18545 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18546 #ifdef HAVE_SYS_PARAM_H
18547 # include <sys/param.h>
18548 #endif
18549 #ifdef HAVE_SYS_MOUNT_H
18550 # include <sys/mount.h>
18551 #endif
18552 #ifdef HAVE_SYS_VFS_H
18553 # include <sys/vfs.h>
18554 #endif
18555 #ifdef HAVE_SYS_STATFS_H
18556 # include <sys/statfs.h>
18557 #endif
18559 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18561 cat >>confdefs.h <<_ACEOF
18562 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18563 _ACEOF
18569 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18570 #include <sys/statvfs.h>
18571 #endif
18573 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18575 cat >>confdefs.h <<_ACEOF
18576 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18577 _ACEOF
18583 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18584 #include <dirent.h>
18585 #endif
18587 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18589 cat >>confdefs.h <<_ACEOF
18590 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18591 _ACEOF
18597 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18598 #ifdef HAVE_SYS_SOCKET_H
18599 # include <sys/socket.h>
18600 #endif
18601 #ifdef HAVE_SYS_UN_H
18602 # include <sys/un.h>
18603 #endif
18605 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18607 cat >>confdefs.h <<_ACEOF
18608 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18609 _ACEOF
18613 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18614 #ifdef HAVE_SYS_SOCKET_H
18615 # include <sys/socket.h>
18616 #endif
18617 #ifdef HAVE_SYS_UN_H
18618 # include <sys/un.h>
18619 #endif
18621 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18623 cat >>confdefs.h <<_ACEOF
18624 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18625 _ACEOF
18629 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18630 #ifdef HAVE_SYS_SOCKET_H
18631 # include <sys/socket.h>
18632 #endif
18633 #ifdef HAVE_SYS_UN_H
18634 # include <sys/un.h>
18635 #endif
18637 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18639 cat >>confdefs.h <<_ACEOF
18640 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18641 _ACEOF
18647 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18648 #ifdef HAVE_SCSI_SG_H
18649 #include <scsi/sg.h>
18650 #endif
18652 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18654 cat >>confdefs.h <<_ACEOF
18655 #define HAVE_SCSIREQ_T_CMD 1
18656 _ACEOF
18660 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>
18661 #ifdef HAVE_SCSI_SG_H
18662 #include <scsi/sg.h>
18663 #endif
18665 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18667 cat >>confdefs.h <<_ACEOF
18668 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18669 _ACEOF
18675 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18677 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18679 cat >>confdefs.h <<_ACEOF
18680 #define HAVE_SIGINFO_T_SI_FD 1
18681 _ACEOF
18687 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18688 #ifdef HAVE_SYS_MTIO_H
18689 #include <sys/mtio.h>
18690 #endif
18692 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18694 cat >>confdefs.h <<_ACEOF
18695 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18696 _ACEOF
18700 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18701 #ifdef HAVE_SYS_MTIO_H
18702 #include <sys/mtio.h>
18703 #endif
18705 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18707 cat >>confdefs.h <<_ACEOF
18708 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18709 _ACEOF
18713 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18714 #ifdef HAVE_SYS_MTIO_H
18715 #include <sys/mtio.h>
18716 #endif
18718 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18720 cat >>confdefs.h <<_ACEOF
18721 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18722 _ACEOF
18728 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18729 #include <getopt.h>
18730 #endif
18732 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18734 cat >>confdefs.h <<_ACEOF
18735 #define HAVE_STRUCT_OPTION_NAME 1
18736 _ACEOF
18742 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18743 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18745 cat >>confdefs.h <<_ACEOF
18746 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18747 _ACEOF
18751 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18752 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18754 cat >>confdefs.h <<_ACEOF
18755 #define HAVE_STRUCT_STAT_ST_MTIM 1
18756 _ACEOF
18760 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18761 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18763 cat >>confdefs.h <<_ACEOF
18764 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18765 _ACEOF
18769 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18770 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18772 cat >>confdefs.h <<_ACEOF
18773 #define HAVE_STRUCT_STAT_ST_CTIM 1
18774 _ACEOF
18778 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18779 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18783 _ACEOF
18787 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18788 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18790 cat >>confdefs.h <<_ACEOF
18791 #define HAVE_STRUCT_STAT_ST_ATIM 1
18792 _ACEOF
18796 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18797 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18801 _ACEOF
18805 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18806 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18808 cat >>confdefs.h <<_ACEOF
18809 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18810 _ACEOF
18814 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18815 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18817 cat >>confdefs.h <<_ACEOF
18818 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18819 _ACEOF
18823 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18824 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18828 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18833 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18835 cat >>confdefs.h <<_ACEOF
18836 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18837 _ACEOF
18841 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18842 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18844 cat >>confdefs.h <<_ACEOF
18845 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18846 _ACEOF
18852 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
18853 #include <sys/types.h>
18854 #endif
18855 #ifdef HAVE_NETINET_IN_H
18856 #include <netinet/in.h>
18857 #endif
18859 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18861 cat >>confdefs.h <<_ACEOF
18862 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18863 _ACEOF
18869 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18870 #include <sys/types.h>
18871 #endif
18872 #ifdef HAVE_NETINET_IN_H
18873 #include <netinet/in.h>
18874 #endif
18875 #ifdef HAVE_RESOLV_H
18876 #include <resolv.h>
18877 #endif
18879 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18881 cat >>confdefs.h <<_ACEOF
18882 #define HAVE_STRUCT___RES_STATE 1
18883 _ACEOF
18889 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
18890 #include <resolv.h>
18891 #endif
18893 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18897 _ACEOF
18903 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18904 #include <sys/types.h>
18905 #endif
18906 #ifdef HAVE_NETINET_IN_H
18907 # include <netinet/in.h>
18908 #endif
18909 #ifdef HAVE_ARPA_NAMESER_H
18910 # include <arpa/nameser.h>
18911 #endif
18913 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18915 cat >>confdefs.h <<_ACEOF
18916 #define HAVE_NS_MSG__MSG_PTR 1
18917 _ACEOF
18923 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18924 #include <sys/types.h>
18925 #endif
18926 #ifdef HAVE_NETINET_IN_H
18927 #include <netinet/in.h>
18928 #endif
18929 #ifdef HAVE_NETINET_IP_H
18930 #include <netinet/ip.h>
18931 #endif
18932 #ifdef HAVE_NETINET_IP_ICMP_H
18933 #include <netinet/ip_icmp.h>
18934 #endif
18935 #ifdef HAVE_NETINET_ICMP_VAR_H
18936 #include <netinet/icmp_var.h>
18937 #endif
18939 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18941 cat >>confdefs.h <<_ACEOF
18942 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18943 _ACEOF
18949 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18950 #include <sys/types.h>
18951 #endif
18952 #ifdef HAVE_ALIAS_H
18953 #include <alias.h>
18954 #endif
18955 #ifdef HAVE_SYS_SOCKET_H
18956 #include <sys/socket.h>
18957 #endif
18958 #ifdef HAVE_SYS_SOCKETVAR_H
18959 #include <sys/socketvar.h>
18960 #endif
18961 #ifdef HAVE_SYS_TIMEOUT_H
18962 #include <sys/timeout.h>
18963 #endif
18964 #ifdef HAVE_NETINET_IN_H
18965 #include <netinet/in.h>
18966 #endif
18967 #ifdef HAVE_NETINET_IN_SYSTM_H
18968 #include <netinet/in_systm.h>
18969 #endif
18970 #ifdef HAVE_NETINET_IP_H
18971 #include <netinet/ip.h>
18972 #endif
18973 #ifdef HAVE_NETINET_IP_VAR_H
18974 #include <netinet/ip_var.h>
18975 #endif
18976 #ifdef HAVE_NETINET_IP_ICMP_H
18977 #include <netinet/ip_icmp.h>
18978 #endif
18979 #ifdef HAVE_NETINET_ICMP_VAR_H
18980 #include <netinet/icmp_var.h>
18981 #endif
18983 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18987 _ACEOF
18993 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18994 #include <sys/types.h>
18995 #endif
18996 #ifdef HAVE_SYS_SOCKETVAR_H
18997 #include <sys/socketvar.h>
18998 #endif
18999 #ifdef HAVE_NETINET_IN_H
19000 #include <netinet/in.h>
19001 #endif
19002 #ifdef HAVE_NETINET_IP_VAR_H
19003 #include <netinet/ip_var.h>
19004 #endif
19006 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19008 cat >>confdefs.h <<_ACEOF
19009 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19010 _ACEOF
19016 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
19017 #include <netinet/ip_var.h>
19018 #endif
19020 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19024 _ACEOF
19030 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19031 #include <sys/types.h>
19032 #endif
19033 #ifdef HAVE_SYS_SOCKETVAR_H
19034 #include <sys/socketvar.h>
19035 #endif
19036 #ifdef HAVE_NETINET_IN_H
19037 #include <netinet/in.h>
19038 #endif
19039 #ifdef HAVE_NETINET_TCP_H
19040 #include <netinet/tcp.h>
19041 #endif
19042 #ifdef HAVE_NETINET_TCP_VAR_H
19043 #include <netinet/tcp_var.h>
19044 #endif
19046 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19048 cat >>confdefs.h <<_ACEOF
19049 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19050 _ACEOF
19056 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
19057 #include <netinet/tcp_var.h>
19058 #endif
19060 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19064 _ACEOF
19070 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19071 #include <sys/types.h>
19072 #endif
19073 #ifdef HAVE_NETINET_IN_H
19074 #include <netinet/in.h>
19075 #endif
19076 #ifdef HAVE_NETINET_IP_VAR_H
19077 #include <netinet/ip_var.h>
19078 #endif
19079 #ifdef HAVE_NETINET_UDP_H
19080 #include <netinet/udp.h>
19081 #endif
19082 #ifdef HAVE_NETINET_UDP_VAR_H
19083 #include <netinet/udp_var.h>
19084 #endif
19086 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19088 cat >>confdefs.h <<_ACEOF
19089 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19090 _ACEOF
19096 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19097 #include <sys/types.h>
19098 #endif
19099 #ifdef HAVE_NET_IF_H
19100 # include <net/if.h>
19101 #endif
19103 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19105 cat >>confdefs.h <<_ACEOF
19106 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19107 _ACEOF
19113 ac_save_LIBS="$LIBS"
19114 LIBS="$LIBS -lm"
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19116 $as_echo_n "checking for isfinite... " >&6; }
19117 if ${ac_cv_have_isfinite+:} false; then :
19118 $as_echo_n "(cached) " >&6
19119 else
19120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19121 /* end confdefs.h. */
19122 #define _GNU_SOURCE
19123 #include <math.h>
19125 main ()
19127 float f = 0.0; return isfinite(f)
19129 return 0;
19131 _ACEOF
19132 if ac_fn_c_try_link "$LINENO"; then :
19133 ac_cv_have_isfinite="yes"
19134 else
19135 ac_cv_have_isfinite="no"
19137 rm -f core conftest.err conftest.$ac_objext \
19138 conftest$ac_exeext conftest.$ac_ext
19140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19141 $as_echo "$ac_cv_have_isfinite" >&6; }
19142 if test "$ac_cv_have_isfinite" = "yes"
19143 then
19145 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19150 $as_echo_n "checking for isinf... " >&6; }
19151 if ${ac_cv_have_isinf+:} false; then :
19152 $as_echo_n "(cached) " >&6
19153 else
19154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19155 /* end confdefs.h. */
19156 #include <math.h>
19158 main ()
19160 float f = 0.0; return isinf(f)
19162 return 0;
19164 _ACEOF
19165 if ac_fn_c_try_link "$LINENO"; then :
19166 ac_cv_have_isinf="yes"
19167 else
19168 ac_cv_have_isinf="no"
19170 rm -f core conftest.err conftest.$ac_objext \
19171 conftest$ac_exeext conftest.$ac_ext
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19174 $as_echo "$ac_cv_have_isinf" >&6; }
19175 if test "$ac_cv_have_isinf" = "yes"
19176 then
19178 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19183 $as_echo_n "checking for isnan... " >&6; }
19184 if ${ac_cv_have_isnan+:} false; then :
19185 $as_echo_n "(cached) " >&6
19186 else
19187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19188 /* end confdefs.h. */
19189 #include <math.h>
19191 main ()
19193 float f = 0.0; return isnan(f)
19195 return 0;
19197 _ACEOF
19198 if ac_fn_c_try_link "$LINENO"; then :
19199 ac_cv_have_isnan="yes"
19200 else
19201 ac_cv_have_isnan="no"
19203 rm -f core conftest.err conftest.$ac_objext \
19204 conftest$ac_exeext conftest.$ac_ext
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19207 $as_echo "$ac_cv_have_isnan" >&6; }
19208 if test "$ac_cv_have_isnan" = "yes"
19209 then
19211 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19215 for ac_func in \
19216 acosh \
19217 acoshf \
19218 asinh \
19219 asinhf \
19220 atanh \
19221 atanhf \
19222 cbrt \
19223 cbrtf \
19224 erf \
19225 erfc \
19226 erfcf \
19227 erff \
19228 exp2 \
19229 exp2f \
19230 expm1 \
19231 expm1f \
19232 fma \
19233 fmaf \
19234 ilogb \
19235 ilogbf \
19236 j0 \
19237 j1 \
19238 jn \
19239 lgamma \
19240 lgammaf \
19241 llrint \
19242 llrintf \
19243 llround \
19244 llroundf \
19245 log1p \
19246 log1pf \
19247 log2 \
19248 log2f \
19249 lrint \
19250 lrintf \
19251 lround \
19252 lroundf \
19253 nearbyint \
19254 nearbyintf \
19255 nexttoward \
19256 nexttowardf \
19257 powl \
19258 remainder \
19259 remainderf \
19260 remquo \
19261 remquof \
19262 rint \
19263 rintf \
19264 round \
19265 roundf \
19266 trunc \
19267 truncf \
19268 y0 \
19269 y1 \
19272 do :
19273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19275 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19276 cat >>confdefs.h <<_ACEOF
19277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19278 _ACEOF
19281 done
19283 LIBS="$ac_save_LIBS"
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19286 $as_echo_n "checking for __builtin_clz... " >&6; }
19287 if ${ac_cv_have___builtin_clz+:} false; then :
19288 $as_echo_n "(cached) " >&6
19289 else
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19294 main ()
19296 return __builtin_clz(1)
19298 return 0;
19300 _ACEOF
19301 if ac_fn_c_try_link "$LINENO"; then :
19302 ac_cv_have___builtin_clz="yes"
19303 else
19304 ac_cv_have___builtin_clz="no"
19306 rm -f core conftest.err conftest.$ac_objext \
19307 conftest$ac_exeext conftest.$ac_ext
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19310 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19311 if test "$ac_cv_have___builtin_clz" = "yes"
19312 then
19314 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19319 $as_echo_n "checking for __builtin_popcount... " >&6; }
19320 if ${ac_cv_have___builtin_popcount+:} false; then :
19321 $as_echo_n "(cached) " >&6
19322 else
19323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h. */
19327 main ()
19329 return __builtin_popcount(1)
19331 return 0;
19333 _ACEOF
19334 if ac_fn_c_try_link "$LINENO"; then :
19335 ac_cv_have___builtin_popcount="yes"
19336 else
19337 ac_cv_have___builtin_popcount="no"
19339 rm -f core conftest.err conftest.$ac_objext \
19340 conftest$ac_exeext conftest.$ac_ext
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19343 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19344 if test "$ac_cv_have___builtin_popcount" = "yes"
19345 then
19347 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19352 $as_echo_n "checking for __clear_cache... " >&6; }
19353 if ${ac_cv_have___clear_cache+:} false; then :
19354 $as_echo_n "(cached) " >&6
19355 else
19356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19357 /* end confdefs.h. */
19360 main ()
19362 __clear_cache((void*)0, (void*)0); return 0;
19364 return 0;
19366 _ACEOF
19367 if ac_fn_c_try_link "$LINENO"; then :
19368 ac_cv_have___clear_cache="yes"
19369 else
19370 ac_cv_have___clear_cache="no"
19372 rm -f core conftest.err conftest.$ac_objext \
19373 conftest$ac_exeext conftest.$ac_ext
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19376 $as_echo "$ac_cv_have___clear_cache" >&6; }
19377 if test "$ac_cv_have___clear_cache" = "yes"
19378 then
19380 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19385 case $host_cpu in
19386 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19387 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19388 if ${ac_cv_cpp_def___i386__+:} false; then :
19389 $as_echo_n "(cached) " >&6
19390 else
19391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19392 /* end confdefs.h. */
19393 #ifndef __i386__
19395 #endif
19396 _ACEOF
19397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19398 $EGREP "yes" >/dev/null 2>&1; then :
19399 ac_cv_cpp_def___i386__=yes
19400 else
19401 ac_cv_cpp_def___i386__=no
19403 rm -f conftest*
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19407 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19408 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19409 CFLAGS="$CFLAGS -D__i386__"
19410 LINTFLAGS="$LINTFLAGS -D__i386__"
19411 fi ;;
19412 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19413 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19414 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19415 $as_echo_n "(cached) " >&6
19416 else
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19419 #ifndef __x86_64__
19421 #endif
19422 _ACEOF
19423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19424 $EGREP "yes" >/dev/null 2>&1; then :
19425 ac_cv_cpp_def___x86_64__=yes
19426 else
19427 ac_cv_cpp_def___x86_64__=no
19429 rm -f conftest*
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19433 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19434 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19435 CFLAGS="$CFLAGS -D__x86_64__"
19436 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19437 fi ;;
19438 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19439 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19440 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19441 $as_echo_n "(cached) " >&6
19442 else
19443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19444 /* end confdefs.h. */
19445 #ifndef __sparc64__
19447 #endif
19448 _ACEOF
19449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19450 $EGREP "yes" >/dev/null 2>&1; then :
19451 ac_cv_cpp_def___sparc64__=yes
19452 else
19453 ac_cv_cpp_def___sparc64__=no
19455 rm -f conftest*
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19459 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19460 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19461 CFLAGS="$CFLAGS -D__sparc64__"
19462 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19463 fi ;;
19464 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19465 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19466 if ${ac_cv_cpp_def___sparc__+:} false; then :
19467 $as_echo_n "(cached) " >&6
19468 else
19469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 #ifndef __sparc__
19473 #endif
19474 _ACEOF
19475 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19476 $EGREP "yes" >/dev/null 2>&1; then :
19477 ac_cv_cpp_def___sparc__=yes
19478 else
19479 ac_cv_cpp_def___sparc__=no
19481 rm -f conftest*
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19485 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19486 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19487 CFLAGS="$CFLAGS -D__sparc__"
19488 LINTFLAGS="$LINTFLAGS -D__sparc__"
19489 fi ;;
19490 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19491 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19492 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19493 $as_echo_n "(cached) " >&6
19494 else
19495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19496 /* end confdefs.h. */
19497 #ifndef __powerpc64__
19499 #endif
19500 _ACEOF
19501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19502 $EGREP "yes" >/dev/null 2>&1; then :
19503 ac_cv_cpp_def___powerpc64__=yes
19504 else
19505 ac_cv_cpp_def___powerpc64__=no
19507 rm -f conftest*
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19511 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19512 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19513 CFLAGS="$CFLAGS -D__powerpc64__"
19514 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19515 fi ;;
19516 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19517 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19518 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19519 $as_echo_n "(cached) " >&6
19520 else
19521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19522 /* end confdefs.h. */
19523 #ifndef __powerpc__
19525 #endif
19526 _ACEOF
19527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19528 $EGREP "yes" >/dev/null 2>&1; then :
19529 ac_cv_cpp_def___powerpc__=yes
19530 else
19531 ac_cv_cpp_def___powerpc__=no
19533 rm -f conftest*
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19537 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19538 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19539 CFLAGS="$CFLAGS -D__powerpc__"
19540 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19541 fi ;;
19542 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19543 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19544 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19545 $as_echo_n "(cached) " >&6
19546 else
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19549 #ifndef __aarch64__
19551 #endif
19552 _ACEOF
19553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19554 $EGREP "yes" >/dev/null 2>&1; then :
19555 ac_cv_cpp_def___aarch64__=yes
19556 else
19557 ac_cv_cpp_def___aarch64__=no
19559 rm -f conftest*
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19563 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19564 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19565 CFLAGS="$CFLAGS -D__aarch64__"
19566 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19567 fi ;;
19568 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19569 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19570 if ${ac_cv_cpp_def___arm__+:} false; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #ifndef __arm__
19577 #endif
19578 _ACEOF
19579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19580 $EGREP "yes" >/dev/null 2>&1; then :
19581 ac_cv_cpp_def___arm__=yes
19582 else
19583 ac_cv_cpp_def___arm__=no
19585 rm -f conftest*
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19589 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19590 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19591 CFLAGS="$CFLAGS -D__arm__"
19592 LINTFLAGS="$LINTFLAGS -D__arm__"
19593 fi ;;
19594 esac
19596 case $host_vendor in
19597 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19598 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19599 if ${ac_cv_cpp_def___sun__+:} false; then :
19600 $as_echo_n "(cached) " >&6
19601 else
19602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19603 /* end confdefs.h. */
19604 #ifndef __sun__
19606 #endif
19607 _ACEOF
19608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19609 $EGREP "yes" >/dev/null 2>&1; then :
19610 ac_cv_cpp_def___sun__=yes
19611 else
19612 ac_cv_cpp_def___sun__=no
19614 rm -f conftest*
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19618 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19619 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19620 CFLAGS="$CFLAGS -D__sun__"
19621 LINTFLAGS="$LINTFLAGS -D__sun__"
19622 fi ;;
19623 esac
19629 ac_config_commands="$ac_config_commands include/stamp-h"
19631 $as_echo_n "creating Makefile rules..." >&6
19633 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19634 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19635 IOKIT_LIBS = $IOKIT_LIBS
19636 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19637 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19638 CORESERVICES_LIBS = $CORESERVICES_LIBS
19639 APPKIT_LIBS = $APPKIT_LIBS
19640 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19641 SECURITY_LIBS = $SECURITY_LIBS
19642 COREAUDIO_LIBS = $COREAUDIO_LIBS
19643 OPENAL_LIBS = $OPENAL_LIBS
19644 OPENCL_LIBS = $OPENCL_LIBS
19645 QUICKTIME_LIBS = $QUICKTIME_LIBS
19646 CARBON_LIBS = $CARBON_LIBS
19647 METAL_LIBS = $METAL_LIBS
19648 PTHREAD_LIBS = $PTHREAD_LIBS
19649 X_CFLAGS = $X_CFLAGS
19650 X_PRE_LIBS = $X_PRE_LIBS
19651 X_LIBS = $X_LIBS
19652 X_EXTRA_LIBS = $X_EXTRA_LIBS
19653 PCAP_LIBS = $PCAP_LIBS
19654 XML2_CFLAGS = $XML2_CFLAGS
19655 XML2_LIBS = $XML2_LIBS
19656 XSLT_CFLAGS = $XSLT_CFLAGS
19657 XSLT_LIBS = $XSLT_LIBS
19658 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19659 INOTIFY_LIBS = $INOTIFY_LIBS
19660 DBUS_CFLAGS = $DBUS_CFLAGS
19661 DBUS_LIBS = $DBUS_LIBS
19662 HAL_CFLAGS = $HAL_CFLAGS
19663 HAL_LIBS = $HAL_LIBS
19664 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19665 GNUTLS_LIBS = $GNUTLS_LIBS
19666 SANE_CFLAGS = $SANE_CFLAGS
19667 SANE_LIBS = $SANE_LIBS
19668 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19669 GPHOTO2_LIBS = $GPHOTO2_LIBS
19670 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19671 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19672 RESOLV_LIBS = $RESOLV_LIBS
19673 LCMS2_CFLAGS = $LCMS2_CFLAGS
19674 LCMS2_LIBS = $LCMS2_LIBS
19675 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19676 FREETYPE_LIBS = $FREETYPE_LIBS
19677 Z_CFLAGS = $Z_CFLAGS
19678 Z_LIBS = $Z_LIBS
19679 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19680 PULSE_CFLAGS = $PULSE_CFLAGS
19681 PULSE_LIBS = $PULSE_LIBS
19682 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19683 GSTREAMER_LIBS = $GSTREAMER_LIBS
19684 ALSA_LIBS = $ALSA_LIBS
19685 OSS4_CFLAGS = $OSS4_CFLAGS
19686 UDEV_CFLAGS = $UDEV_CFLAGS
19687 UDEV_LIBS = $UDEV_LIBS
19688 SDL2_CFLAGS = $SDL2_CFLAGS
19689 SDL2_LIBS = $SDL2_LIBS
19690 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19691 FAUDIO_LIBS = $FAUDIO_LIBS
19692 CAPI20_CFLAGS = $CAPI20_CFLAGS
19693 CAPI20_LIBS = $CAPI20_LIBS
19694 CUPS_CFLAGS = $CUPS_CFLAGS
19695 CUPS_LIBS = $CUPS_LIBS
19696 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19697 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19698 KRB5_CFLAGS = $KRB5_CFLAGS
19699 KRB5_LIBS = $KRB5_LIBS
19700 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19701 GSSAPI_LIBS = $GSSAPI_LIBS
19702 JPEG_CFLAGS = $JPEG_CFLAGS
19703 JPEG_LIBS = $JPEG_LIBS
19704 PNG_CFLAGS = $PNG_CFLAGS
19705 PNG_LIBS = $PNG_LIBS
19706 TIFF_CFLAGS = $TIFF_CFLAGS
19707 TIFF_LIBS = $TIFF_LIBS
19708 MPG123_CFLAGS = $MPG123_CFLAGS
19709 MPG123_LIBS = $MPG123_LIBS
19710 KSTAT_LIBS = $KSTAT_LIBS
19711 PROCSTAT_LIBS = $PROCSTAT_LIBS
19712 NETAPI_CFLAGS = $NETAPI_CFLAGS
19713 NETAPI_LIBS = $NETAPI_LIBS
19714 VKD3D_CFLAGS = $VKD3D_CFLAGS
19715 VKD3D_LIBS = $VKD3D_LIBS
19716 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19717 DL_LIBS = $DL_LIBS
19718 POLL_LIBS = $POLL_LIBS
19719 RT_LIBS = $RT_LIBS
19720 LDAP_CFLAGS = $LDAP_CFLAGS
19721 LDAP_LIBS = $LDAP_LIBS
19726 wine_fn_append_rule "
19727 # Rules automatically generated by configure
19729 .INIT: Makefile
19730 .MAKEFILEDEPS:
19731 all: Makefile
19732 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19733 @./config.status Make.tmp Makefile
19734 depend: \$(MAKEDEP) dummy
19735 \$(MAKEDEP)"
19737 if test "x$enable_fonts" != xno; then
19738 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19739 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19740 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19741 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19742 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19743 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19745 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19746 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19747 ac_config_links="$ac_config_links wine:tools/winewrapper"
19748 wine_fn_config_symlink wine
19749 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19750 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19751 wine_fn_config_symlink wine64
19754 wine_fn_config_makefile dlls/acledit enable_acledit
19755 wine_fn_config_makefile dlls/aclui enable_aclui
19756 wine_fn_config_makefile dlls/activeds enable_activeds
19757 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19758 wine_fn_config_makefile dlls/adsiid enable_adsiid
19759 wine_fn_config_makefile dlls/adsldp enable_adsldp
19760 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19761 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19762 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19763 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19764 wine_fn_config_makefile dlls/advpack enable_advpack
19765 wine_fn_config_makefile dlls/advpack/tests enable_tests
19766 wine_fn_config_makefile dlls/amsi enable_amsi
19767 wine_fn_config_makefile dlls/amstream enable_amstream
19768 wine_fn_config_makefile dlls/amstream/tests enable_tests
19769 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19770 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19771 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19772 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19773 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19774 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19775 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19776 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19777 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19778 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19779 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19780 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19781 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19782 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19783 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19784 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19785 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19786 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19787 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19788 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19789 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19790 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19791 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19792 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19793 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19794 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19795 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19796 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19797 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19798 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19799 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19800 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19801 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19802 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19803 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19804 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19805 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19806 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19807 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19808 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19809 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19810 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19811 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19812 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19813 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19814 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19815 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19816 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19817 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19818 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19819 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19820 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19821 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19822 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19823 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19824 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19825 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19826 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19827 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19828 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19829 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19830 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19831 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19832 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19833 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19834 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19835 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19836 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19837 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19838 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19839 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19840 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19841 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19842 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19843 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19844 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19845 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19846 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19847 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19848 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19849 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19850 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19851 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19852 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19853 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19854 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19855 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19856 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19857 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19858 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19859 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19860 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19861 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19862 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19863 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19864 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19865 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19866 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19867 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19868 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19869 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19870 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19871 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19872 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19873 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19874 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19875 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19876 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19877 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19878 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19879 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19880 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19881 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19882 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19883 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19884 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19885 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19886 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19887 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19888 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19889 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19890 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19891 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19892 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19893 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19894 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19895 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19896 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19897 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19898 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
19899 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19900 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19901 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19902 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19903 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19904 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19906 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19907 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19908 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19909 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19911 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19912 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19913 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19916 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19917 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19918 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19919 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19920 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19921 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19922 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19923 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19924 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19926 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19927 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19928 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19929 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19930 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19932 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19933 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19934 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19936 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19940 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19942 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19943 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
19945 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19946 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19947 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19950 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19951 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19952 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19953 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19955 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19956 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19957 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19959 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19960 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19964 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19965 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19967 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19968 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19972 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19973 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19974 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19976 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19978 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19980 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19984 wine_fn_config_makefile dlls/apphelp enable_apphelp
19985 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19986 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19987 wine_fn_config_makefile dlls/atl enable_atl
19988 wine_fn_config_makefile dlls/atl/tests enable_tests
19989 wine_fn_config_makefile dlls/atl100 enable_atl100
19990 wine_fn_config_makefile dlls/atl100/tests enable_tests
19991 wine_fn_config_makefile dlls/atl110 enable_atl110
19992 wine_fn_config_makefile dlls/atl80 enable_atl80
19993 wine_fn_config_makefile dlls/atl80/tests enable_tests
19994 wine_fn_config_makefile dlls/atl90 enable_atl90
19995 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
19996 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
19997 wine_fn_config_makefile dlls/atmlib enable_atmlib
19998 wine_fn_config_makefile dlls/authz enable_authz
19999 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20000 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20001 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20002 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20003 wine_fn_config_makefile dlls/avrt enable_avrt
20004 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20005 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20006 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20007 wine_fn_config_makefile dlls/browseui enable_browseui
20008 wine_fn_config_makefile dlls/browseui/tests enable_tests
20009 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20010 wine_fn_config_makefile dlls/cabinet enable_cabinet
20011 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20012 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20013 wine_fn_config_makefile dlls/cards enable_cards
20014 wine_fn_config_makefile dlls/cdosys enable_cdosys
20015 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20016 wine_fn_config_makefile dlls/clusapi enable_clusapi
20017 wine_fn_config_makefile dlls/combase enable_combase
20018 wine_fn_config_makefile dlls/combase/tests enable_tests
20019 wine_fn_config_makefile dlls/comcat enable_comcat
20020 wine_fn_config_makefile dlls/comcat/tests enable_tests
20021 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20022 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20023 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20024 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20025 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20026 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20027 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20028 wine_fn_config_makefile dlls/compstui enable_compstui
20029 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20030 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20031 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20032 wine_fn_config_makefile dlls/connect enable_connect
20033 wine_fn_config_makefile dlls/credui enable_credui
20034 wine_fn_config_makefile dlls/credui/tests enable_tests
20035 wine_fn_config_makefile dlls/crtdll enable_crtdll
20036 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20037 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20038 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20039 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20040 wine_fn_config_makefile dlls/cryptext enable_cryptext
20041 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20042 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20043 wine_fn_config_makefile dlls/cryptui enable_cryptui
20044 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20045 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20046 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20047 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20048 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20049 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20050 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20051 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20052 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20053 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20054 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20055 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20056 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20057 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20058 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20059 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20060 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20061 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20062 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20063 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20064 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20065 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20066 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20067 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20068 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20069 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20070 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20071 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20072 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20073 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20074 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20075 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20076 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20077 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20078 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20079 wine_fn_config_makefile dlls/d3dim enable_d3dim
20080 wine_fn_config_makefile dlls/d3drm enable_d3drm
20081 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20082 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20083 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20084 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20085 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20086 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20087 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20088 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20089 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20090 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20091 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20092 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20093 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20094 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20095 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20096 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20097 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20098 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20099 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20100 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20101 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20102 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20103 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20104 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20105 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20106 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20107 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20108 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20109 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20110 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20111 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20112 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20113 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20114 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20115 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20116 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20117 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20118 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20119 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20120 wine_fn_config_makefile dlls/davclnt enable_davclnt
20121 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20122 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20123 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20124 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20125 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20126 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20127 wine_fn_config_makefile dlls/ddraw enable_ddraw
20128 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20129 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20130 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20131 wine_fn_config_makefile dlls/devenum enable_devenum
20132 wine_fn_config_makefile dlls/devenum/tests enable_tests
20133 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20134 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20135 wine_fn_config_makefile dlls/difxapi enable_difxapi
20136 wine_fn_config_makefile dlls/dinput enable_dinput
20137 wine_fn_config_makefile dlls/dinput/tests enable_tests
20138 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20139 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20140 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20141 wine_fn_config_makefile dlls/dispex enable_dispex
20142 wine_fn_config_makefile dlls/dispex/tests enable_tests
20143 wine_fn_config_makefile dlls/display.drv16 enable_win16
20144 wine_fn_config_makefile dlls/dmband enable_dmband
20145 wine_fn_config_makefile dlls/dmband/tests enable_tests
20146 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20147 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20148 wine_fn_config_makefile dlls/dmime enable_dmime
20149 wine_fn_config_makefile dlls/dmime/tests enable_tests
20150 wine_fn_config_makefile dlls/dmloader enable_dmloader
20151 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20152 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20153 wine_fn_config_makefile dlls/dmscript enable_dmscript
20154 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20155 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20156 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20157 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20158 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20159 wine_fn_config_makefile dlls/dmusic enable_dmusic
20160 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20161 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20162 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20163 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20164 wine_fn_config_makefile dlls/dplay enable_dplay
20165 wine_fn_config_makefile dlls/dplayx enable_dplayx
20166 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20167 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20168 wine_fn_config_makefile dlls/dpnet enable_dpnet
20169 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20170 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20171 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20172 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20173 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20174 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20175 wine_fn_config_makefile dlls/drmclien enable_drmclien
20176 wine_fn_config_makefile dlls/dsound enable_dsound
20177 wine_fn_config_makefile dlls/dsound/tests enable_tests
20178 wine_fn_config_makefile dlls/dsquery enable_dsquery
20179 wine_fn_config_makefile dlls/dssenh enable_dssenh
20180 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20181 wine_fn_config_makefile dlls/dswave enable_dswave
20182 wine_fn_config_makefile dlls/dswave/tests enable_tests
20183 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20184 wine_fn_config_makefile dlls/dwrite enable_dwrite
20185 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20186 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20187 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20188 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20189 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20190 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20191 wine_fn_config_makefile dlls/dxgi enable_dxgi
20192 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20193 wine_fn_config_makefile dlls/dxguid enable_dxguid
20194 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20195 wine_fn_config_makefile dlls/esent enable_esent
20196 wine_fn_config_makefile dlls/evr enable_evr
20197 wine_fn_config_makefile dlls/evr/tests enable_tests
20198 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20199 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20200 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20201 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20202 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20203 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20204 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20205 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20206 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20207 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20208 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20209 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20210 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20211 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20212 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20213 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20214 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20215 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20216 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20217 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20218 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20219 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20220 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20221 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20222 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20223 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20224 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20225 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20226 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20227 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20228 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20229 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20230 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20231 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20232 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20233 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20234 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20235 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20236 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20237 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20238 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20239 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20240 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
20241 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20242 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20243 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20244 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20245 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20246 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20247 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20248 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20249 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20250 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20251 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20252 wine_fn_config_makefile dlls/faultrep enable_faultrep
20253 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20254 wine_fn_config_makefile dlls/feclient enable_feclient
20255 wine_fn_config_makefile dlls/fltlib enable_fltlib
20256 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20257 wine_fn_config_makefile dlls/fntcache enable_fntcache
20258 wine_fn_config_makefile dlls/fontsub enable_fontsub
20259 wine_fn_config_makefile dlls/fusion enable_fusion
20260 wine_fn_config_makefile dlls/fusion/tests enable_tests
20261 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20262 wine_fn_config_makefile dlls/gameux enable_gameux
20263 wine_fn_config_makefile dlls/gameux/tests enable_tests
20264 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20265 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20266 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20267 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20268 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20269 wine_fn_config_makefile dlls/glu32 enable_glu32
20270 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20271 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20272 wine_fn_config_makefile dlls/hal enable_hal
20273 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20274 wine_fn_config_makefile dlls/hid enable_hid
20275 wine_fn_config_makefile dlls/hid/tests enable_tests
20276 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20277 wine_fn_config_makefile dlls/hlink enable_hlink
20278 wine_fn_config_makefile dlls/hlink/tests enable_tests
20279 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20280 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20281 wine_fn_config_makefile dlls/httpapi enable_httpapi
20282 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20283 wine_fn_config_makefile dlls/iccvid enable_iccvid
20284 wine_fn_config_makefile dlls/icmp enable_icmp
20285 wine_fn_config_makefile dlls/ieframe enable_ieframe
20286 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20287 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20288 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20289 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20290 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20291 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20292 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20293 wine_fn_config_makefile dlls/imm32 enable_imm32
20294 wine_fn_config_makefile dlls/imm32/tests enable_tests
20295 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20296 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20297 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20298 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20299 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20300 wine_fn_config_makefile dlls/infosoft enable_infosoft
20301 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20302 wine_fn_config_makefile dlls/initpki enable_initpki
20303 wine_fn_config_makefile dlls/inkobj enable_inkobj
20304 wine_fn_config_makefile dlls/inseng enable_inseng
20305 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20306 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20307 wine_fn_config_makefile dlls/iprop enable_iprop
20308 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20309 wine_fn_config_makefile dlls/itircl enable_itircl
20310 wine_fn_config_makefile dlls/itss enable_itss
20311 wine_fn_config_makefile dlls/itss/tests enable_tests
20312 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20313 wine_fn_config_makefile dlls/jscript enable_jscript
20314 wine_fn_config_makefile dlls/jscript/tests enable_tests
20315 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20316 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20317 wine_fn_config_makefile dlls/kerberos enable_kerberos
20318 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20319 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20320 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20321 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20322 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20323 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20324 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20325 wine_fn_config_makefile dlls/ksuser enable_ksuser
20326 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20327 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20328 wine_fn_config_makefile dlls/loadperf enable_loadperf
20329 wine_fn_config_makefile dlls/localspl enable_localspl
20330 wine_fn_config_makefile dlls/localspl/tests enable_tests
20331 wine_fn_config_makefile dlls/localui enable_localui
20332 wine_fn_config_makefile dlls/localui/tests enable_tests
20333 wine_fn_config_makefile dlls/lz32 enable_lz32
20334 wine_fn_config_makefile dlls/lz32/tests enable_tests
20335 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20336 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20337 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20338 wine_fn_config_makefile dlls/mapistub enable_mapistub
20339 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20340 wine_fn_config_makefile dlls/mcicda enable_mcicda
20341 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20342 wine_fn_config_makefile dlls/mciseq enable_mciseq
20343 wine_fn_config_makefile dlls/mciwave enable_mciwave
20344 wine_fn_config_makefile dlls/mf enable_mf
20345 wine_fn_config_makefile dlls/mf/tests enable_tests
20346 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20347 wine_fn_config_makefile dlls/mferror enable_mferror
20348 wine_fn_config_makefile dlls/mfplat enable_mfplat
20349 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20350 wine_fn_config_makefile dlls/mfplay enable_mfplay
20351 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20352 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20353 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20354 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20355 wine_fn_config_makefile dlls/midimap enable_midimap
20356 wine_fn_config_makefile dlls/mlang enable_mlang
20357 wine_fn_config_makefile dlls/mlang/tests enable_tests
20358 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20359 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20360 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20361 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20362 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20363 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20364 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20365 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20366 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20367 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20368 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20369 wine_fn_config_makefile dlls/mpr enable_mpr
20370 wine_fn_config_makefile dlls/mpr/tests enable_tests
20371 wine_fn_config_makefile dlls/mprapi enable_mprapi
20372 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20373 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20374 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20375 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20376 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20377 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20378 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20379 wine_fn_config_makefile dlls/mscms enable_mscms
20380 wine_fn_config_makefile dlls/mscms/tests enable_tests
20381 wine_fn_config_makefile dlls/mscoree enable_mscoree
20382 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20383 wine_fn_config_makefile dlls/msctf enable_msctf
20384 wine_fn_config_makefile dlls/msctf/tests enable_tests
20385 wine_fn_config_makefile dlls/msctfp enable_msctfp
20386 wine_fn_config_makefile dlls/msdaps enable_msdaps
20387 wine_fn_config_makefile dlls/msdelta enable_msdelta
20388 wine_fn_config_makefile dlls/msdmo enable_msdmo
20389 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20390 wine_fn_config_makefile dlls/msdrm enable_msdrm
20391 wine_fn_config_makefile dlls/msftedit enable_msftedit
20392 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20393 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20394 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20395 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20396 wine_fn_config_makefile dlls/mshtml enable_mshtml
20397 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20398 wine_fn_config_makefile dlls/msi enable_msi
20399 wine_fn_config_makefile dlls/msi/tests enable_tests
20400 wine_fn_config_makefile dlls/msident enable_msident
20401 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20402 wine_fn_config_makefile dlls/msimsg enable_msimsg
20403 wine_fn_config_makefile dlls/msimtf enable_msimtf
20404 wine_fn_config_makefile dlls/msisip enable_msisip
20405 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20406 wine_fn_config_makefile dlls/msls31 enable_msls31
20407 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20408 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20409 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20410 wine_fn_config_makefile dlls/msports enable_msports
20411 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20412 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20413 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20414 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20415 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20416 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20417 wine_fn_config_makefile dlls/mstask enable_mstask
20418 wine_fn_config_makefile dlls/mstask/tests enable_tests
20419 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20420 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20421 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20422 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20423 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20424 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20425 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20426 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20427 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20428 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20429 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20430 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20431 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20432 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20433 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20434 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20435 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20436 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20437 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20438 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20439 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20440 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20441 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20442 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20443 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20444 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20445 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20446 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20447 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20448 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20449 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20450 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20451 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20452 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20453 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20454 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20455 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20456 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20457 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20458 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20459 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20460 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20461 wine_fn_config_makefile dlls/mswsock enable_mswsock
20462 wine_fn_config_makefile dlls/msxml enable_msxml
20463 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20464 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20465 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20466 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20467 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20468 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20469 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20470 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20471 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20472 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20473 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20474 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20475 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20476 wine_fn_config_makefile dlls/netprofm enable_netprofm
20477 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20478 wine_fn_config_makefile dlls/newdev enable_newdev
20479 wine_fn_config_makefile dlls/ninput enable_ninput
20480 wine_fn_config_makefile dlls/ninput/tests enable_tests
20481 wine_fn_config_makefile dlls/normaliz enable_normaliz
20482 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20483 wine_fn_config_makefile dlls/npptools enable_npptools
20484 wine_fn_config_makefile dlls/ntdll enable_ntdll
20485 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20486 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20487 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20488 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20489 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20490 wine_fn_config_makefile dlls/ntprint enable_ntprint
20491 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20492 wine_fn_config_makefile dlls/objsel enable_objsel
20493 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20494 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20495 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20496 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20497 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20498 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20499 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20500 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20501 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20502 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20503 wine_fn_config_makefile dlls/ole32 enable_ole32
20504 wine_fn_config_makefile dlls/ole32/tests enable_tests
20505 wine_fn_config_makefile dlls/oleacc enable_oleacc
20506 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20507 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20508 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20509 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20510 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20511 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20512 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20513 wine_fn_config_makefile dlls/oledlg enable_oledlg
20514 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20515 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20516 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20517 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20518 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20519 wine_fn_config_makefile dlls/opcservices enable_opcservices
20520 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20521 wine_fn_config_makefile dlls/openal32 enable_openal32
20522 wine_fn_config_makefile dlls/opencl enable_opencl
20523 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20524 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20525 wine_fn_config_makefile dlls/packager enable_packager
20526 wine_fn_config_makefile dlls/packager/tests enable_tests
20527 wine_fn_config_makefile dlls/pdh enable_pdh
20528 wine_fn_config_makefile dlls/pdh/tests enable_tests
20529 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20530 wine_fn_config_makefile dlls/pidgen enable_pidgen
20531 wine_fn_config_makefile dlls/powrprof enable_powrprof
20532 wine_fn_config_makefile dlls/printui enable_printui
20533 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20534 wine_fn_config_makefile dlls/propsys enable_propsys
20535 wine_fn_config_makefile dlls/propsys/tests enable_tests
20536 wine_fn_config_makefile dlls/psapi enable_psapi
20537 wine_fn_config_makefile dlls/psapi/tests enable_tests
20538 wine_fn_config_makefile dlls/pstorec enable_pstorec
20539 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20540 wine_fn_config_makefile dlls/qcap enable_qcap
20541 wine_fn_config_makefile dlls/qcap/tests enable_tests
20542 wine_fn_config_makefile dlls/qedit enable_qedit
20543 wine_fn_config_makefile dlls/qedit/tests enable_tests
20544 wine_fn_config_makefile dlls/qmgr enable_qmgr
20545 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20546 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20547 wine_fn_config_makefile dlls/quartz enable_quartz
20548 wine_fn_config_makefile dlls/quartz/tests enable_tests
20549 wine_fn_config_makefile dlls/query enable_query
20550 wine_fn_config_makefile dlls/qwave enable_qwave
20551 wine_fn_config_makefile dlls/qwave/tests enable_tests
20552 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20553 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20554 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20555 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20556 wine_fn_config_makefile dlls/regapi enable_regapi
20557 wine_fn_config_makefile dlls/resutils enable_resutils
20558 wine_fn_config_makefile dlls/riched20 enable_riched20
20559 wine_fn_config_makefile dlls/riched20/tests enable_tests
20560 wine_fn_config_makefile dlls/riched32 enable_riched32
20561 wine_fn_config_makefile dlls/riched32/tests enable_tests
20562 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20563 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20564 wine_fn_config_makefile dlls/rsabase enable_rsabase
20565 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20566 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20567 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20568 wine_fn_config_makefile dlls/rtutils enable_rtutils
20569 wine_fn_config_makefile dlls/samlib enable_samlib
20570 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20571 wine_fn_config_makefile dlls/sapi enable_sapi
20572 wine_fn_config_makefile dlls/sapi/tests enable_tests
20573 wine_fn_config_makefile dlls/sas enable_sas
20574 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20575 wine_fn_config_makefile dlls/sccbase enable_sccbase
20576 wine_fn_config_makefile dlls/schannel enable_schannel
20577 wine_fn_config_makefile dlls/schannel/tests enable_tests
20578 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20579 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20580 wine_fn_config_makefile dlls/scrobj enable_scrobj
20581 wine_fn_config_makefile dlls/scrrun enable_scrrun
20582 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20583 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20584 wine_fn_config_makefile dlls/secur32 enable_secur32
20585 wine_fn_config_makefile dlls/secur32/tests enable_tests
20586 wine_fn_config_makefile dlls/security enable_security
20587 wine_fn_config_makefile dlls/sensapi enable_sensapi
20588 wine_fn_config_makefile dlls/serialui enable_serialui
20589 wine_fn_config_makefile dlls/serialui/tests enable_tests
20590 wine_fn_config_makefile dlls/setupapi enable_setupapi
20591 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20592 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20593 wine_fn_config_makefile dlls/sfc enable_sfc
20594 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20595 wine_fn_config_makefile dlls/shcore enable_shcore
20596 wine_fn_config_makefile dlls/shcore/tests enable_tests
20597 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20598 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20599 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20600 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20601 wine_fn_config_makefile dlls/shell32 enable_shell32
20602 wine_fn_config_makefile dlls/shell32/tests enable_tests
20603 wine_fn_config_makefile dlls/shfolder enable_shfolder
20604 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20605 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20606 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20607 wine_fn_config_makefile dlls/slc enable_slc
20608 wine_fn_config_makefile dlls/slc/tests enable_tests
20609 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20610 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20611 wine_fn_config_makefile dlls/softpub enable_softpub
20612 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20613 wine_fn_config_makefile dlls/spoolss enable_spoolss
20614 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20615 wine_fn_config_makefile dlls/srclient enable_srclient
20616 wine_fn_config_makefile dlls/sspicli enable_sspicli
20617 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20618 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20619 wine_fn_config_makefile dlls/sti enable_sti
20620 wine_fn_config_makefile dlls/sti/tests enable_tests
20621 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20622 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20623 wine_fn_config_makefile dlls/strmbase enable_strmbase
20624 wine_fn_config_makefile dlls/strmdll enable_strmdll
20625 wine_fn_config_makefile dlls/strmiids enable_strmiids
20626 wine_fn_config_makefile dlls/svrapi enable_svrapi
20627 wine_fn_config_makefile dlls/sxs enable_sxs
20628 wine_fn_config_makefile dlls/sxs/tests enable_tests
20629 wine_fn_config_makefile dlls/system.drv16 enable_win16
20630 wine_fn_config_makefile dlls/t2embed enable_t2embed
20631 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20632 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20633 wine_fn_config_makefile dlls/taskschd enable_taskschd
20634 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20635 wine_fn_config_makefile dlls/tdh enable_tdh
20636 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20637 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20638 wine_fn_config_makefile dlls/traffic enable_traffic
20639 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20640 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20641 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20642 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20643 wine_fn_config_makefile dlls/tzres enable_tzres
20644 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20645 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20646 wine_fn_config_makefile dlls/uianimation enable_uianimation
20647 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20648 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20649 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20650 wine_fn_config_makefile dlls/unicows enable_unicows
20651 wine_fn_config_makefile dlls/updspapi enable_updspapi
20652 wine_fn_config_makefile dlls/url enable_url
20653 wine_fn_config_makefile dlls/urlmon enable_urlmon
20654 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20655 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20656 wine_fn_config_makefile dlls/user.exe16 enable_win16
20657 wine_fn_config_makefile dlls/user32 enable_user32
20658 wine_fn_config_makefile dlls/user32/tests enable_tests
20659 wine_fn_config_makefile dlls/userenv enable_userenv
20660 wine_fn_config_makefile dlls/userenv/tests enable_tests
20661 wine_fn_config_makefile dlls/usp10 enable_usp10
20662 wine_fn_config_makefile dlls/usp10/tests enable_tests
20663 wine_fn_config_makefile dlls/uuid enable_uuid
20664 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20665 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20666 wine_fn_config_makefile dlls/vbscript enable_vbscript
20667 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20668 wine_fn_config_makefile dlls/vcomp enable_vcomp
20669 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20670 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20671 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20672 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20673 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20674 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20675 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20676 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20677 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20678 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20679 wine_fn_config_makefile dlls/version enable_version
20680 wine_fn_config_makefile dlls/version/tests enable_tests
20681 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20682 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20683 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20684 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20685 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20686 wine_fn_config_makefile dlls/vssapi enable_vssapi
20687 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20688 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20689 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20690 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20691 wine_fn_config_makefile dlls/w32skrnl enable_win16
20692 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20693 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20694 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20695 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20696 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20697 wine_fn_config_makefile dlls/wdscore enable_wdscore
20698 wine_fn_config_makefile dlls/webservices enable_webservices
20699 wine_fn_config_makefile dlls/webservices/tests enable_tests
20700 wine_fn_config_makefile dlls/wer enable_wer
20701 wine_fn_config_makefile dlls/wer/tests enable_tests
20702 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20703 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20704 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20705 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20706 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20707 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20708 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20709 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20710 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20711 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20712 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20713 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20714 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20715 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20716 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20717 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20718 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20719 wine_fn_config_makefile dlls/wined3d enable_wined3d
20720 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20721 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20722 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20723 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20724 wine_fn_config_makefile dlls/winemapi enable_winemapi
20725 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20726 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20727 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20728 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20729 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20730 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20731 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20732 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20733 wine_fn_config_makefile dlls/wing32 enable_wing32
20734 wine_fn_config_makefile dlls/winhttp enable_winhttp
20735 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20736 wine_fn_config_makefile dlls/wininet enable_wininet
20737 wine_fn_config_makefile dlls/wininet/tests enable_tests
20738 wine_fn_config_makefile dlls/winmm enable_winmm
20739 wine_fn_config_makefile dlls/winmm/tests enable_tests
20740 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20741 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20742 wine_fn_config_makefile dlls/winscard enable_winscard
20743 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20744 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20745 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20746 wine_fn_config_makefile dlls/winsta enable_winsta
20747 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20748 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20749 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20750 wine_fn_config_makefile dlls/wintrust enable_wintrust
20751 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20752 wine_fn_config_makefile dlls/winusb enable_winusb
20753 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20754 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20755 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20756 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20757 wine_fn_config_makefile dlls/wmasf enable_wmasf
20758 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20759 wine_fn_config_makefile dlls/wmi enable_wmi
20760 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20761 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20762 wine_fn_config_makefile dlls/wmp enable_wmp
20763 wine_fn_config_makefile dlls/wmp/tests enable_tests
20764 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20765 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20766 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20767 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20768 wine_fn_config_makefile dlls/wow32 enable_win16
20769 wine_fn_config_makefile dlls/wpc enable_wpc
20770 wine_fn_config_makefile dlls/wpc/tests enable_tests
20771 wine_fn_config_makefile dlls/wpcap enable_wpcap
20772 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20773 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20774 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20775 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20776 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20777 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20778 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20779 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20780 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20781 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20782 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20783 wine_fn_config_makefile dlls/wuapi enable_wuapi
20784 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20785 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20786 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20787 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20788 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20789 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20790 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20791 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20792 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20793 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20794 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20795 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20796 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20797 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20798 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20799 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20800 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20801 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20802 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20803 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20804 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20805 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20806 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20807 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20808 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20809 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20810 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20811 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20812 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20813 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20814 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20815 wine_fn_config_makefile dlls/xmllite enable_xmllite
20816 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20817 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20818 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20819 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20820 wine_fn_config_makefile fonts enable_fonts
20821 wine_fn_config_makefile include enable_include
20822 wine_fn_config_makefile libs/port enable_port
20823 wine_fn_config_makefile libs/wine enable_wine
20824 wine_fn_config_makefile libs/wpp enable_wpp
20825 wine_fn_config_makefile loader enable_loader
20826 wine_fn_config_makefile po enable_po
20827 wine_fn_config_makefile programs/arp enable_arp
20828 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20829 wine_fn_config_makefile programs/attrib enable_attrib
20830 wine_fn_config_makefile programs/cabarc enable_cabarc
20831 wine_fn_config_makefile programs/cacls enable_cacls
20832 wine_fn_config_makefile programs/clock enable_clock
20833 wine_fn_config_makefile programs/cmd enable_cmd
20834 wine_fn_config_makefile programs/cmd/tests enable_tests
20835 wine_fn_config_makefile programs/conhost enable_conhost
20836 wine_fn_config_makefile programs/control enable_control
20837 wine_fn_config_makefile programs/cscript enable_cscript
20838 wine_fn_config_makefile programs/dism enable_dism
20839 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20840 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20841 wine_fn_config_makefile programs/eject enable_eject
20842 wine_fn_config_makefile programs/expand enable_expand
20843 wine_fn_config_makefile programs/explorer enable_explorer
20844 wine_fn_config_makefile programs/extrac32 enable_extrac32
20845 wine_fn_config_makefile programs/fc enable_fc
20846 wine_fn_config_makefile programs/find enable_find
20847 wine_fn_config_makefile programs/findstr enable_findstr
20848 wine_fn_config_makefile programs/fsutil enable_fsutil
20849 wine_fn_config_makefile programs/hh enable_hh
20850 wine_fn_config_makefile programs/hostname enable_hostname
20851 wine_fn_config_makefile programs/icacls enable_icacls
20852 wine_fn_config_makefile programs/icinfo enable_icinfo
20853 wine_fn_config_makefile programs/iexplore enable_iexplore
20854 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20855 wine_fn_config_makefile programs/lodctr enable_lodctr
20856 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20857 wine_fn_config_makefile programs/mshta enable_mshta
20858 wine_fn_config_makefile programs/msidb enable_msidb
20859 wine_fn_config_makefile programs/msiexec enable_msiexec
20860 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20861 wine_fn_config_makefile programs/net enable_net
20862 wine_fn_config_makefile programs/netsh enable_netsh
20863 wine_fn_config_makefile programs/netstat enable_netstat
20864 wine_fn_config_makefile programs/ngen enable_ngen
20865 wine_fn_config_makefile programs/notepad enable_notepad
20866 wine_fn_config_makefile programs/oleview enable_oleview
20867 wine_fn_config_makefile programs/ping enable_ping
20868 wine_fn_config_makefile programs/plugplay enable_plugplay
20869 wine_fn_config_makefile programs/powershell enable_powershell
20870 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20871 wine_fn_config_makefile programs/progman enable_progman
20872 wine_fn_config_makefile programs/reg enable_reg
20873 wine_fn_config_makefile programs/reg/tests enable_tests
20874 wine_fn_config_makefile programs/regasm enable_regasm
20875 wine_fn_config_makefile programs/regedit enable_regedit
20876 wine_fn_config_makefile programs/regedit/tests enable_tests
20877 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20878 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20879 wine_fn_config_makefile programs/rpcss enable_rpcss
20880 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20881 wine_fn_config_makefile programs/rundll32 enable_rundll32
20882 wine_fn_config_makefile programs/sc enable_sc
20883 wine_fn_config_makefile programs/schtasks enable_schtasks
20884 wine_fn_config_makefile programs/schtasks/tests enable_tests
20885 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20886 wine_fn_config_makefile programs/secedit enable_secedit
20887 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20888 wine_fn_config_makefile programs/services enable_services
20889 wine_fn_config_makefile programs/services/tests enable_tests
20890 wine_fn_config_makefile programs/shutdown enable_shutdown
20891 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20892 wine_fn_config_makefile programs/start enable_start
20893 wine_fn_config_makefile programs/subst enable_subst
20894 wine_fn_config_makefile programs/svchost enable_svchost
20895 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20896 wine_fn_config_makefile programs/taskkill enable_taskkill
20897 wine_fn_config_makefile programs/tasklist enable_tasklist
20898 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20899 wine_fn_config_makefile programs/termsv enable_termsv
20900 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20901 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20902 wine_fn_config_makefile programs/view enable_view
20903 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20904 wine_fn_config_makefile programs/wineboot enable_wineboot
20905 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20906 wine_fn_config_makefile programs/winecfg enable_winecfg
20907 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20908 wine_fn_config_makefile programs/winedbg enable_winedbg
20909 wine_fn_config_makefile programs/winedevice enable_winedevice
20910 wine_fn_config_makefile programs/winefile enable_winefile
20911 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20912 wine_fn_config_makefile programs/winemine enable_winemine
20913 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20914 wine_fn_config_makefile programs/winepath enable_winepath
20915 wine_fn_config_makefile programs/winetest enable_winetest
20916 wine_fn_config_makefile programs/winevdm enable_win16
20917 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20918 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20919 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20920 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20921 wine_fn_config_makefile programs/winver enable_winver
20922 wine_fn_config_makefile programs/wmic enable_wmic
20923 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20924 wine_fn_config_makefile programs/wordpad enable_wordpad
20925 wine_fn_config_makefile programs/write enable_write
20926 wine_fn_config_makefile programs/wscript enable_wscript
20927 wine_fn_config_makefile programs/wscript/tests enable_tests
20928 wine_fn_config_makefile programs/wusa enable_wusa
20929 wine_fn_config_makefile programs/xcopy enable_xcopy
20930 wine_fn_config_makefile programs/xcopy/tests enable_tests
20931 wine_fn_config_makefile server enable_server
20932 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20933 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20934 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20935 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20936 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20937 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20938 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20939 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20940 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20943 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20944 wine_fn_append_file CONFIGURE_TARGETS "tags"
20945 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20946 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20947 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20948 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20949 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20950 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20952 if test "x$enable_tools" != xno
20953 then
20954 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20955 ac_config_commands="$ac_config_commands tools/makedep"
20959 ac_config_commands="$ac_config_commands Makefile"
20962 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20966 if test "x$enable_maintainer_mode" = xyes
20967 then
20968 wine_fn_append_rule "configure: configure.ac aclocal.m4
20969 autoconf --warnings=all
20970 include/config.h.in: include/stamp-h.in
20971 include/stamp-h.in: configure.ac aclocal.m4
20972 autoheader --warnings=all
20973 @echo timestamp > \$@"
20976 if test "x$enable_tools" != xno
20977 then
20978 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20979 @./config.status tools/makedep
20980 Makefile: tools/makedep$ac_exeext
20981 fonts: tools/sfnt2fon
20982 include: tools tools/widl"
20983 else
20984 wine_fn_append_rule "\$(MAKEDEP):
20985 @echo \"You need to run make in $TOOLSDIR first\" && false"
20988 if test -n "$with_wine64"
20989 then
20990 case "$with_wine64" in
20991 /*) reldir="" ;;
20992 *) reldir="../" ;;
20993 esac
20994 rm -f fonts server 2>/dev/null
20995 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20996 loader/wine64 loader/wine64-preloader:
20997 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
20998 $with_wine64/loader/wine:
20999 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21000 $with_wine64/loader/wine-preloader:
21001 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21002 clean::
21003 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21004 else
21005 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21006 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21007 fonts \
21008 loader/l_intl.nls \
21009 loader/wine.inf \
21010 programs/msidb/msidb \
21011 programs/msiexec/msiexec \
21012 programs/notepad/notepad \
21013 programs/regedit/regedit \
21014 programs/regsvr32/regsvr32 \
21015 programs/wineboot/wineboot \
21016 programs/winecfg/winecfg \
21017 programs/wineconsole/wineconsole \
21018 programs/winedbg/winedbg \
21019 programs/winefile/winefile \
21020 programs/winemine/winemine \
21021 programs/winepath/winepath \
21022 server/wineserver"
21024 case $host_os in
21025 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21026 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21027 esac
21030 $as_echo " done" >&6
21031 cat >confcache <<\_ACEOF
21032 # This file is a shell script that caches the results of configure
21033 # tests run on this system so they can be shared between configure
21034 # scripts and configure runs, see configure's option --config-cache.
21035 # It is not useful on other systems. If it contains results you don't
21036 # want to keep, you may remove or edit it.
21038 # config.status only pays attention to the cache file if you give it
21039 # the --recheck option to rerun configure.
21041 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21042 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21043 # following values.
21045 _ACEOF
21047 # The following way of writing the cache mishandles newlines in values,
21048 # but we know of no workaround that is simple, portable, and efficient.
21049 # So, we kill variables containing newlines.
21050 # Ultrix sh set writes to stderr and can't be redirected directly,
21051 # and sets the high bit in the cache file unless we assign to the vars.
21053 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21054 eval ac_val=\$$ac_var
21055 case $ac_val in #(
21056 *${as_nl}*)
21057 case $ac_var in #(
21058 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21059 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21060 esac
21061 case $ac_var in #(
21062 _ | IFS | as_nl) ;; #(
21063 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21064 *) { eval $ac_var=; unset $ac_var;} ;;
21065 esac ;;
21066 esac
21067 done
21069 (set) 2>&1 |
21070 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21071 *${as_nl}ac_space=\ *)
21072 # `set' does not quote correctly, so add quotes: double-quote
21073 # substitution turns \\\\ into \\, and sed turns \\ into \.
21074 sed -n \
21075 "s/'/'\\\\''/g;
21076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21077 ;; #(
21079 # `set' quotes correctly as required by POSIX, so do not add quotes.
21080 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21082 esac |
21083 sort
21085 sed '
21086 /^ac_cv_env_/b end
21087 t clear
21088 :clear
21089 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21090 t end
21091 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21092 :end' >>confcache
21093 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21094 if test -w "$cache_file"; then
21095 if test "x$cache_file" != "x/dev/null"; then
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21097 $as_echo "$as_me: updating cache $cache_file" >&6;}
21098 if test ! -f "$cache_file" || test -h "$cache_file"; then
21099 cat confcache >"$cache_file"
21100 else
21101 case $cache_file in #(
21102 */* | ?:*)
21103 mv -f confcache "$cache_file"$$ &&
21104 mv -f "$cache_file"$$ "$cache_file" ;; #(
21106 mv -f confcache "$cache_file" ;;
21107 esac
21110 else
21111 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21112 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21115 rm -f confcache
21117 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21118 # Let make expand exec_prefix.
21119 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21121 DEFS=-DHAVE_CONFIG_H
21123 ac_libobjs=
21124 ac_ltlibobjs=
21126 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21127 # 1. Remove the extension, and $U if already installed.
21128 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21129 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21130 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21131 # will be set to the directory where LIBOBJS objects are built.
21132 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21133 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21134 done
21135 LIBOBJS=$ac_libobjs
21137 LTLIBOBJS=$ac_ltlibobjs
21141 : "${CONFIG_STATUS=./config.status}"
21142 ac_write_fail=0
21143 ac_clean_files_save=$ac_clean_files
21144 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21146 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21147 as_write_fail=0
21148 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21149 #! $SHELL
21150 # Generated by $as_me.
21151 # Run this file to recreate the current configuration.
21152 # Compiler output produced by configure, useful for debugging
21153 # configure, is in config.log if it exists.
21155 debug=false
21156 ac_cs_recheck=false
21157 ac_cs_silent=false
21159 SHELL=\${CONFIG_SHELL-$SHELL}
21160 export SHELL
21161 _ASEOF
21162 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21163 ## -------------------- ##
21164 ## M4sh Initialization. ##
21165 ## -------------------- ##
21167 # Be more Bourne compatible
21168 DUALCASE=1; export DUALCASE # for MKS sh
21169 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21170 emulate sh
21171 NULLCMD=:
21172 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21173 # is contrary to our usage. Disable this feature.
21174 alias -g '${1+"$@"}'='"$@"'
21175 setopt NO_GLOB_SUBST
21176 else
21177 case `(set -o) 2>/dev/null` in #(
21178 *posix*) :
21179 set -o posix ;; #(
21180 *) :
21182 esac
21186 as_nl='
21188 export as_nl
21189 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21190 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21191 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21192 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21193 # Prefer a ksh shell builtin over an external printf program on Solaris,
21194 # but without wasting forks for bash or zsh.
21195 if test -z "$BASH_VERSION$ZSH_VERSION" \
21196 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21197 as_echo='print -r --'
21198 as_echo_n='print -rn --'
21199 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21200 as_echo='printf %s\n'
21201 as_echo_n='printf %s'
21202 else
21203 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21204 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21205 as_echo_n='/usr/ucb/echo -n'
21206 else
21207 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21208 as_echo_n_body='eval
21209 arg=$1;
21210 case $arg in #(
21211 *"$as_nl"*)
21212 expr "X$arg" : "X\\(.*\\)$as_nl";
21213 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21214 esac;
21215 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21217 export as_echo_n_body
21218 as_echo_n='sh -c $as_echo_n_body as_echo'
21220 export as_echo_body
21221 as_echo='sh -c $as_echo_body as_echo'
21224 # The user is always right.
21225 if test "${PATH_SEPARATOR+set}" != set; then
21226 PATH_SEPARATOR=:
21227 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21228 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21229 PATH_SEPARATOR=';'
21234 # IFS
21235 # We need space, tab and new line, in precisely that order. Quoting is
21236 # there to prevent editors from complaining about space-tab.
21237 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21238 # splitting by setting IFS to empty value.)
21239 IFS=" "" $as_nl"
21241 # Find who we are. Look in the path if we contain no directory separator.
21242 as_myself=
21243 case $0 in #((
21244 *[\\/]* ) as_myself=$0 ;;
21245 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21246 for as_dir in $PATH
21248 IFS=$as_save_IFS
21249 test -z "$as_dir" && as_dir=.
21250 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21251 done
21252 IFS=$as_save_IFS
21255 esac
21256 # We did not find ourselves, most probably we were run as `sh COMMAND'
21257 # in which case we are not to be found in the path.
21258 if test "x$as_myself" = x; then
21259 as_myself=$0
21261 if test ! -f "$as_myself"; then
21262 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21263 exit 1
21266 # Unset variables that we do not need and which cause bugs (e.g. in
21267 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21268 # suppresses any "Segmentation fault" message there. '((' could
21269 # trigger a bug in pdksh 5.2.14.
21270 for as_var in BASH_ENV ENV MAIL MAILPATH
21271 do eval test x\${$as_var+set} = xset \
21272 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21273 done
21274 PS1='$ '
21275 PS2='> '
21276 PS4='+ '
21278 # NLS nuisances.
21279 LC_ALL=C
21280 export LC_ALL
21281 LANGUAGE=C
21282 export LANGUAGE
21284 # CDPATH.
21285 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21288 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21289 # ----------------------------------------
21290 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21291 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21292 # script with STATUS, using 1 if that was 0.
21293 as_fn_error ()
21295 as_status=$1; test $as_status -eq 0 && as_status=1
21296 if test "$4"; then
21297 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21298 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21300 $as_echo "$as_me: error: $2" >&2
21301 as_fn_exit $as_status
21302 } # as_fn_error
21305 # as_fn_set_status STATUS
21306 # -----------------------
21307 # Set $? to STATUS, without forking.
21308 as_fn_set_status ()
21310 return $1
21311 } # as_fn_set_status
21313 # as_fn_exit STATUS
21314 # -----------------
21315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21316 as_fn_exit ()
21318 set +e
21319 as_fn_set_status $1
21320 exit $1
21321 } # as_fn_exit
21323 # as_fn_unset VAR
21324 # ---------------
21325 # Portably unset VAR.
21326 as_fn_unset ()
21328 { eval $1=; unset $1;}
21330 as_unset=as_fn_unset
21331 # as_fn_append VAR VALUE
21332 # ----------------------
21333 # Append the text in VALUE to the end of the definition contained in VAR. Take
21334 # advantage of any shell optimizations that allow amortized linear growth over
21335 # repeated appends, instead of the typical quadratic growth present in naive
21336 # implementations.
21337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21338 eval 'as_fn_append ()
21340 eval $1+=\$2
21342 else
21343 as_fn_append ()
21345 eval $1=\$$1\$2
21347 fi # as_fn_append
21349 # as_fn_arith ARG...
21350 # ------------------
21351 # Perform arithmetic evaluation on the ARGs, and store the result in the
21352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21353 # must be portable across $(()) and expr.
21354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21355 eval 'as_fn_arith ()
21357 as_val=$(( $* ))
21359 else
21360 as_fn_arith ()
21362 as_val=`expr "$@" || test $? -eq 1`
21364 fi # as_fn_arith
21367 if expr a : '\(a\)' >/dev/null 2>&1 &&
21368 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21369 as_expr=expr
21370 else
21371 as_expr=false
21374 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21375 as_basename=basename
21376 else
21377 as_basename=false
21380 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21381 as_dirname=dirname
21382 else
21383 as_dirname=false
21386 as_me=`$as_basename -- "$0" ||
21387 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21388 X"$0" : 'X\(//\)$' \| \
21389 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21390 $as_echo X/"$0" |
21391 sed '/^.*\/\([^/][^/]*\)\/*$/{
21392 s//\1/
21395 /^X\/\(\/\/\)$/{
21396 s//\1/
21399 /^X\/\(\/\).*/{
21400 s//\1/
21403 s/.*/./; q'`
21405 # Avoid depending upon Character Ranges.
21406 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21407 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21408 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21409 as_cr_digits='0123456789'
21410 as_cr_alnum=$as_cr_Letters$as_cr_digits
21412 ECHO_C= ECHO_N= ECHO_T=
21413 case `echo -n x` in #(((((
21414 -n*)
21415 case `echo 'xy\c'` in
21416 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21417 xy) ECHO_C='\c';;
21418 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21419 ECHO_T=' ';;
21420 esac;;
21422 ECHO_N='-n';;
21423 esac
21425 rm -f conf$$ conf$$.exe conf$$.file
21426 if test -d conf$$.dir; then
21427 rm -f conf$$.dir/conf$$.file
21428 else
21429 rm -f conf$$.dir
21430 mkdir conf$$.dir 2>/dev/null
21432 if (echo >conf$$.file) 2>/dev/null; then
21433 if ln -s conf$$.file conf$$ 2>/dev/null; then
21434 as_ln_s='ln -s'
21435 # ... but there are two gotchas:
21436 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21437 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21438 # In both cases, we have to default to `cp -pR'.
21439 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21440 as_ln_s='cp -pR'
21441 elif ln conf$$.file conf$$ 2>/dev/null; then
21442 as_ln_s=ln
21443 else
21444 as_ln_s='cp -pR'
21446 else
21447 as_ln_s='cp -pR'
21449 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21450 rmdir conf$$.dir 2>/dev/null
21453 # as_fn_mkdir_p
21454 # -------------
21455 # Create "$as_dir" as a directory, including parents if necessary.
21456 as_fn_mkdir_p ()
21459 case $as_dir in #(
21460 -*) as_dir=./$as_dir;;
21461 esac
21462 test -d "$as_dir" || eval $as_mkdir_p || {
21463 as_dirs=
21464 while :; do
21465 case $as_dir in #(
21466 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21467 *) as_qdir=$as_dir;;
21468 esac
21469 as_dirs="'$as_qdir' $as_dirs"
21470 as_dir=`$as_dirname -- "$as_dir" ||
21471 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21472 X"$as_dir" : 'X\(//\)[^/]' \| \
21473 X"$as_dir" : 'X\(//\)$' \| \
21474 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21475 $as_echo X"$as_dir" |
21476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21477 s//\1/
21480 /^X\(\/\/\)[^/].*/{
21481 s//\1/
21484 /^X\(\/\/\)$/{
21485 s//\1/
21488 /^X\(\/\).*/{
21489 s//\1/
21492 s/.*/./; q'`
21493 test -d "$as_dir" && break
21494 done
21495 test -z "$as_dirs" || eval "mkdir $as_dirs"
21496 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21499 } # as_fn_mkdir_p
21500 if mkdir -p . 2>/dev/null; then
21501 as_mkdir_p='mkdir -p "$as_dir"'
21502 else
21503 test -d ./-p && rmdir ./-p
21504 as_mkdir_p=false
21508 # as_fn_executable_p FILE
21509 # -----------------------
21510 # Test if FILE is an executable regular file.
21511 as_fn_executable_p ()
21513 test -f "$1" && test -x "$1"
21514 } # as_fn_executable_p
21515 as_test_x='test -x'
21516 as_executable_p=as_fn_executable_p
21518 # Sed expression to map a string onto a valid CPP name.
21519 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21521 # Sed expression to map a string onto a valid variable name.
21522 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21525 exec 6>&1
21526 ## ----------------------------------- ##
21527 ## Main body of $CONFIG_STATUS script. ##
21528 ## ----------------------------------- ##
21529 _ASEOF
21530 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21533 # Save the log message, to keep $0 and so on meaningful, and to
21534 # report actual input values of CONFIG_FILES etc. instead of their
21535 # values after options handling.
21536 ac_log="
21537 This file was extended by Wine $as_me 4.9, which was
21538 generated by GNU Autoconf 2.69. Invocation command line was
21540 CONFIG_FILES = $CONFIG_FILES
21541 CONFIG_HEADERS = $CONFIG_HEADERS
21542 CONFIG_LINKS = $CONFIG_LINKS
21543 CONFIG_COMMANDS = $CONFIG_COMMANDS
21544 $ $0 $@
21546 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21549 _ACEOF
21551 case $ac_config_files in *"
21552 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21553 esac
21555 case $ac_config_headers in *"
21556 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21557 esac
21560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21561 # Files that config.status was made for.
21562 config_files="$ac_config_files"
21563 config_headers="$ac_config_headers"
21564 config_links="$ac_config_links"
21565 config_commands="$ac_config_commands"
21567 _ACEOF
21569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21570 ac_cs_usage="\
21571 \`$as_me' instantiates files and other configuration actions
21572 from templates according to the current configuration. Unless the files
21573 and actions are specified as TAGs, all are instantiated by default.
21575 Usage: $0 [OPTION]... [TAG]...
21577 -h, --help print this help, then exit
21578 -V, --version print version number and configuration settings, then exit
21579 --config print configuration, then exit
21580 -q, --quiet, --silent
21581 do not print progress messages
21582 -d, --debug don't remove temporary files
21583 --recheck update $as_me by reconfiguring in the same conditions
21584 --file=FILE[:TEMPLATE]
21585 instantiate the configuration file FILE
21586 --header=FILE[:TEMPLATE]
21587 instantiate the configuration header FILE
21589 Configuration files:
21590 $config_files
21592 Configuration headers:
21593 $config_headers
21595 Configuration links:
21596 $config_links
21598 Configuration commands:
21599 $config_commands
21601 Report bugs to <wine-devel@winehq.org>.
21602 Wine home page: <https://www.winehq.org>."
21604 _ACEOF
21605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21606 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21607 ac_cs_version="\\
21608 Wine config.status 4.9
21609 configured by $0, generated by GNU Autoconf 2.69,
21610 with options \\"\$ac_cs_config\\"
21612 Copyright (C) 2012 Free Software Foundation, Inc.
21613 This config.status script is free software; the Free Software Foundation
21614 gives unlimited permission to copy, distribute and modify it."
21616 ac_pwd='$ac_pwd'
21617 srcdir='$srcdir'
21618 test -n "\$AWK" || AWK=awk
21619 _ACEOF
21621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21622 # The default lists apply if the user does not specify any file.
21623 ac_need_defaults=:
21624 while test $# != 0
21626 case $1 in
21627 --*=?*)
21628 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21629 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21630 ac_shift=:
21632 --*=)
21633 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21634 ac_optarg=
21635 ac_shift=:
21638 ac_option=$1
21639 ac_optarg=$2
21640 ac_shift=shift
21642 esac
21644 case $ac_option in
21645 # Handling of the options.
21646 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21647 ac_cs_recheck=: ;;
21648 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21649 $as_echo "$ac_cs_version"; exit ;;
21650 --config | --confi | --conf | --con | --co | --c )
21651 $as_echo "$ac_cs_config"; exit ;;
21652 --debug | --debu | --deb | --de | --d | -d )
21653 debug=: ;;
21654 --file | --fil | --fi | --f )
21655 $ac_shift
21656 case $ac_optarg in
21657 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21658 '') as_fn_error $? "missing file argument" ;;
21659 esac
21660 as_fn_append CONFIG_FILES " '$ac_optarg'"
21661 ac_need_defaults=false;;
21662 --header | --heade | --head | --hea )
21663 $ac_shift
21664 case $ac_optarg in
21665 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21666 esac
21667 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21668 ac_need_defaults=false;;
21669 --he | --h)
21670 # Conflict between --help and --header
21671 as_fn_error $? "ambiguous option: \`$1'
21672 Try \`$0 --help' for more information.";;
21673 --help | --hel | -h )
21674 $as_echo "$ac_cs_usage"; exit ;;
21675 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21676 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21677 ac_cs_silent=: ;;
21679 # This is an error.
21680 -*) as_fn_error $? "unrecognized option: \`$1'
21681 Try \`$0 --help' for more information." ;;
21683 *) as_fn_append ac_config_targets " $1"
21684 ac_need_defaults=false ;;
21686 esac
21687 shift
21688 done
21690 ac_configure_extra_args=
21692 if $ac_cs_silent; then
21693 exec 6>/dev/null
21694 ac_configure_extra_args="$ac_configure_extra_args --silent"
21697 _ACEOF
21698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21699 if \$ac_cs_recheck; then
21700 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21701 shift
21702 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21703 CONFIG_SHELL='$SHELL'
21704 export CONFIG_SHELL
21705 exec "\$@"
21708 _ACEOF
21709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21710 exec 5>>config.log
21712 echo
21713 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21714 ## Running $as_me. ##
21715 _ASBOX
21716 $as_echo "$ac_log"
21717 } >&5
21719 _ACEOF
21720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21722 # INIT-COMMANDS
21724 wine_fn_output_makedep ()
21726 as_dir=tools; as_fn_mkdir_p
21727 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21729 wine_fn_output_makefile ()
21731 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21732 `cat $wine_rules_file`
21733 _WINE_EOF
21734 as_fn_error $? "could not create Makefile" "$LINENO" 5
21737 _ACEOF
21739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21741 # Handling of arguments.
21742 for ac_config_target in $ac_config_targets
21744 case $ac_config_target in
21745 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21746 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21747 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21748 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21749 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21750 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21751 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21752 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21753 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21754 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21755 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21756 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21757 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21759 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21760 esac
21761 done
21764 # If the user did not use the arguments to specify the items to instantiate,
21765 # then the envvar interface is used. Set only those that are not.
21766 # We use the long form for the default assignment because of an extremely
21767 # bizarre bug on SunOS 4.1.3.
21768 if $ac_need_defaults; then
21769 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21770 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21771 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21772 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21775 # Have a temporary directory for convenience. Make it in the build tree
21776 # simply because there is no reason against having it here, and in addition,
21777 # creating and moving files from /tmp can sometimes cause problems.
21778 # Hook for its removal unless debugging.
21779 # Note that there is a small window in which the directory will not be cleaned:
21780 # after its creation but before its name has been assigned to `$tmp'.
21781 $debug ||
21783 tmp= ac_tmp=
21784 trap 'exit_status=$?
21785 : "${ac_tmp:=$tmp}"
21786 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21788 trap 'as_fn_exit 1' 1 2 13 15
21790 # Create a (secure) tmp directory for tmp files.
21793 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21794 test -d "$tmp"
21795 } ||
21797 tmp=./conf$$-$RANDOM
21798 (umask 077 && mkdir "$tmp")
21799 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21800 ac_tmp=$tmp
21802 # Set up the scripts for CONFIG_FILES section.
21803 # No need to generate them if there are no CONFIG_FILES.
21804 # This happens for instance with `./config.status config.h'.
21805 if test -n "$CONFIG_FILES"; then
21808 ac_cr=`echo X | tr X '\015'`
21809 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21810 # But we know of no other shell where ac_cr would be empty at this
21811 # point, so we can use a bashism as a fallback.
21812 if test "x$ac_cr" = x; then
21813 eval ac_cr=\$\'\\r\'
21815 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21816 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21817 ac_cs_awk_cr='\\r'
21818 else
21819 ac_cs_awk_cr=$ac_cr
21822 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21823 _ACEOF
21827 echo "cat >conf$$subs.awk <<_ACEOF" &&
21828 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21829 echo "_ACEOF"
21830 } >conf$$subs.sh ||
21831 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21832 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21833 ac_delim='%!_!# '
21834 for ac_last_try in false false false false false :; do
21835 . ./conf$$subs.sh ||
21836 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21838 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21839 if test $ac_delim_n = $ac_delim_num; then
21840 break
21841 elif $ac_last_try; then
21842 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21843 else
21844 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21846 done
21847 rm -f conf$$subs.sh
21849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21850 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21851 _ACEOF
21852 sed -n '
21854 s/^/S["/; s/!.*/"]=/
21857 s/^[^!]*!//
21858 :repl
21859 t repl
21860 s/'"$ac_delim"'$//
21861 t delim
21864 s/\(.\{148\}\)..*/\1/
21865 t more1
21866 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21869 b repl
21870 :more1
21871 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21874 s/.\{148\}//
21875 t nl
21876 :delim
21878 s/\(.\{148\}\)..*/\1/
21879 t more2
21880 s/["\\]/\\&/g; s/^/"/; s/$/"/
21883 :more2
21884 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21887 s/.\{148\}//
21888 t delim
21889 ' <conf$$subs.awk | sed '
21890 /^[^""]/{
21892 s/\n//
21894 ' >>$CONFIG_STATUS || ac_write_fail=1
21895 rm -f conf$$subs.awk
21896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21897 _ACAWK
21898 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21899 for (key in S) S_is_set[key] = 1
21900 FS = "\a"
21904 line = $ 0
21905 nfields = split(line, field, "@")
21906 substed = 0
21907 len = length(field[1])
21908 for (i = 2; i < nfields; i++) {
21909 key = field[i]
21910 keylen = length(key)
21911 if (S_is_set[key]) {
21912 value = S[key]
21913 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21914 len += length(value) + length(field[++i])
21915 substed = 1
21916 } else
21917 len += 1 + keylen
21920 print line
21923 _ACAWK
21924 _ACEOF
21925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21926 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21927 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21928 else
21930 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21931 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21932 _ACEOF
21934 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21935 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21936 # trailing colons and then remove the whole line if VPATH becomes empty
21937 # (actually we leave an empty line to preserve line numbers).
21938 if test "x$srcdir" = x.; then
21939 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21941 s///
21942 s/^/:/
21943 s/[ ]*$/:/
21944 s/:\$(srcdir):/:/g
21945 s/:\${srcdir}:/:/g
21946 s/:@srcdir@:/:/g
21947 s/^:*//
21948 s/:*$//
21950 s/\(=[ ]*\).*/\1/
21952 s/\n//
21953 s/^[^=]*=[ ]*$//
21957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21958 fi # test -n "$CONFIG_FILES"
21960 # Set up the scripts for CONFIG_HEADERS section.
21961 # No need to generate them if there are no CONFIG_HEADERS.
21962 # This happens for instance with `./config.status Makefile'.
21963 if test -n "$CONFIG_HEADERS"; then
21964 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21965 BEGIN {
21966 _ACEOF
21968 # Transform confdefs.h into an awk script `defines.awk', embedded as
21969 # here-document in config.status, that substitutes the proper values into
21970 # config.h.in to produce config.h.
21972 # Create a delimiter string that does not exist in confdefs.h, to ease
21973 # handling of long lines.
21974 ac_delim='%!_!# '
21975 for ac_last_try in false false :; do
21976 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21977 if test -z "$ac_tt"; then
21978 break
21979 elif $ac_last_try; then
21980 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21981 else
21982 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21984 done
21986 # For the awk script, D is an array of macro values keyed by name,
21987 # likewise P contains macro parameters if any. Preserve backslash
21988 # newline sequences.
21990 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21991 sed -n '
21992 s/.\{148\}/&'"$ac_delim"'/g
21993 t rset
21994 :rset
21995 s/^[ ]*#[ ]*define[ ][ ]*/ /
21996 t def
21998 :def
21999 s/\\$//
22000 t bsnl
22001 s/["\\]/\\&/g
22002 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22003 D["\1"]=" \3"/p
22004 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22006 :bsnl
22007 s/["\\]/\\&/g
22008 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22009 D["\1"]=" \3\\\\\\n"\\/p
22010 t cont
22011 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22012 t cont
22014 :cont
22016 s/.\{148\}/&'"$ac_delim"'/g
22017 t clear
22018 :clear
22019 s/\\$//
22020 t bsnlc
22021 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22023 :bsnlc
22024 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22025 b cont
22026 ' <confdefs.h | sed '
22027 s/'"$ac_delim"'/"\\\
22028 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22031 for (key in D) D_is_set[key] = 1
22032 FS = "\a"
22034 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22035 line = \$ 0
22036 split(line, arg, " ")
22037 if (arg[1] == "#") {
22038 defundef = arg[2]
22039 mac1 = arg[3]
22040 } else {
22041 defundef = substr(arg[1], 2)
22042 mac1 = arg[2]
22044 split(mac1, mac2, "(") #)
22045 macro = mac2[1]
22046 prefix = substr(line, 1, index(line, defundef) - 1)
22047 if (D_is_set[macro]) {
22048 # Preserve the white space surrounding the "#".
22049 print prefix "define", macro P[macro] D[macro]
22050 next
22051 } else {
22052 # Replace #undef with comments. This is necessary, for example,
22053 # in the case of _POSIX_SOURCE, which is predefined and required
22054 # on some systems where configure will not decide to define it.
22055 if (defundef == "undef") {
22056 print "/*", prefix defundef, macro, "*/"
22057 next
22061 { print }
22062 _ACAWK
22063 _ACEOF
22064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22065 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22066 fi # test -n "$CONFIG_HEADERS"
22069 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22070 shift
22071 for ac_tag
22073 case $ac_tag in
22074 :[FHLC]) ac_mode=$ac_tag; continue;;
22075 esac
22076 case $ac_mode$ac_tag in
22077 :[FHL]*:*);;
22078 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22079 :[FH]-) ac_tag=-:-;;
22080 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22081 esac
22082 ac_save_IFS=$IFS
22083 IFS=:
22084 set x $ac_tag
22085 IFS=$ac_save_IFS
22086 shift
22087 ac_file=$1
22088 shift
22090 case $ac_mode in
22091 :L) ac_source=$1;;
22092 :[FH])
22093 ac_file_inputs=
22094 for ac_f
22096 case $ac_f in
22097 -) ac_f="$ac_tmp/stdin";;
22098 *) # Look for the file first in the build tree, then in the source tree
22099 # (if the path is not absolute). The absolute path cannot be DOS-style,
22100 # because $ac_f cannot contain `:'.
22101 test -f "$ac_f" ||
22102 case $ac_f in
22103 [\\/$]*) false;;
22104 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22105 esac ||
22106 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22107 esac
22108 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22109 as_fn_append ac_file_inputs " '$ac_f'"
22110 done
22112 # Let's still pretend it is `configure' which instantiates (i.e., don't
22113 # use $as_me), people would be surprised to read:
22114 # /* config.h. Generated by config.status. */
22115 configure_input='Generated from '`
22116 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22117 `' by configure.'
22118 if test x"$ac_file" != x-; then
22119 configure_input="$ac_file. $configure_input"
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22121 $as_echo "$as_me: creating $ac_file" >&6;}
22123 # Neutralize special characters interpreted by sed in replacement strings.
22124 case $configure_input in #(
22125 *\&* | *\|* | *\\* )
22126 ac_sed_conf_input=`$as_echo "$configure_input" |
22127 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22128 *) ac_sed_conf_input=$configure_input;;
22129 esac
22131 case $ac_tag in
22132 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22133 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22134 esac
22136 esac
22138 ac_dir=`$as_dirname -- "$ac_file" ||
22139 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22140 X"$ac_file" : 'X\(//\)[^/]' \| \
22141 X"$ac_file" : 'X\(//\)$' \| \
22142 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22143 $as_echo X"$ac_file" |
22144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22145 s//\1/
22148 /^X\(\/\/\)[^/].*/{
22149 s//\1/
22152 /^X\(\/\/\)$/{
22153 s//\1/
22156 /^X\(\/\).*/{
22157 s//\1/
22160 s/.*/./; q'`
22161 as_dir="$ac_dir"; as_fn_mkdir_p
22162 ac_builddir=.
22164 case "$ac_dir" in
22165 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22167 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22168 # A ".." for each directory in $ac_dir_suffix.
22169 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22170 case $ac_top_builddir_sub in
22171 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22172 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22173 esac ;;
22174 esac
22175 ac_abs_top_builddir=$ac_pwd
22176 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22177 # for backward compatibility:
22178 ac_top_builddir=$ac_top_build_prefix
22180 case $srcdir in
22181 .) # We are building in place.
22182 ac_srcdir=.
22183 ac_top_srcdir=$ac_top_builddir_sub
22184 ac_abs_top_srcdir=$ac_pwd ;;
22185 [\\/]* | ?:[\\/]* ) # Absolute name.
22186 ac_srcdir=$srcdir$ac_dir_suffix;
22187 ac_top_srcdir=$srcdir
22188 ac_abs_top_srcdir=$srcdir ;;
22189 *) # Relative name.
22190 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22191 ac_top_srcdir=$ac_top_build_prefix$srcdir
22192 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22193 esac
22194 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22197 case $ac_mode in
22200 # CONFIG_FILE
22203 _ACEOF
22205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22206 # If the template does not know about datarootdir, expand it.
22207 # FIXME: This hack should be removed a few years after 2.60.
22208 ac_datarootdir_hack=; ac_datarootdir_seen=
22209 ac_sed_dataroot='
22210 /datarootdir/ {
22214 /@datadir@/p
22215 /@docdir@/p
22216 /@infodir@/p
22217 /@localedir@/p
22218 /@mandir@/p'
22219 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22220 *datarootdir*) ac_datarootdir_seen=yes;;
22221 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22223 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22224 _ACEOF
22225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22226 ac_datarootdir_hack='
22227 s&@datadir@&$datadir&g
22228 s&@docdir@&$docdir&g
22229 s&@infodir@&$infodir&g
22230 s&@localedir@&$localedir&g
22231 s&@mandir@&$mandir&g
22232 s&\\\${datarootdir}&$datarootdir&g' ;;
22233 esac
22234 _ACEOF
22236 # Neutralize VPATH when `$srcdir' = `.'.
22237 # Shell code in configure.ac might set extrasub.
22238 # FIXME: do we really want to maintain this feature?
22239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22240 ac_sed_extra="$ac_vpsub
22241 $extrasub
22242 _ACEOF
22243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22245 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22246 s|@configure_input@|$ac_sed_conf_input|;t t
22247 s&@top_builddir@&$ac_top_builddir_sub&;t t
22248 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22249 s&@srcdir@&$ac_srcdir&;t t
22250 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22251 s&@top_srcdir@&$ac_top_srcdir&;t t
22252 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22253 s&@builddir@&$ac_builddir&;t t
22254 s&@abs_builddir@&$ac_abs_builddir&;t t
22255 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22256 $ac_datarootdir_hack
22258 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22259 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22261 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22262 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22263 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22264 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22266 which seems to be undefined. Please make sure it is defined" >&5
22267 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22268 which seems to be undefined. Please make sure it is defined" >&2;}
22270 rm -f "$ac_tmp/stdin"
22271 case $ac_file in
22272 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22273 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22274 esac \
22275 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22279 # CONFIG_HEADER
22281 if test x"$ac_file" != x-; then
22283 $as_echo "/* $configure_input */" \
22284 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22285 } >"$ac_tmp/config.h" \
22286 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22287 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22289 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22290 else
22291 rm -f "$ac_file"
22292 mv "$ac_tmp/config.h" "$ac_file" \
22293 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22295 else
22296 $as_echo "/* $configure_input */" \
22297 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22298 || as_fn_error $? "could not create -" "$LINENO" 5
22303 # CONFIG_LINK
22306 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22308 else
22309 # Prefer the file from the source tree if names are identical.
22310 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22311 ac_source=$srcdir/$ac_source
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22315 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22317 if test ! -r "$ac_source"; then
22318 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22320 rm -f "$ac_file"
22322 # Try a relative symlink, then a hard link, then a copy.
22323 case $ac_source in
22324 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22325 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22326 esac
22327 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22328 ln "$ac_source" "$ac_file" 2>/dev/null ||
22329 cp -p "$ac_source" "$ac_file" ||
22330 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22333 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22334 $as_echo "$as_me: executing $ac_file commands" >&6;}
22336 esac
22339 case $ac_file$ac_mode in
22340 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22341 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22342 "Makefile":C) wine_fn_output_makefile Makefile ;;
22344 esac
22345 done # for ac_tag
22348 as_fn_exit 0
22349 _ACEOF
22350 ac_clean_files=$ac_clean_files_save
22352 test $ac_write_fail = 0 ||
22353 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22356 # configure is writing to config.log, and then calls config.status.
22357 # config.status does its own redirection, appending to config.log.
22358 # Unfortunately, on DOS this fails, as config.log is still kept open
22359 # by configure, so config.status won't be able to write to it; its
22360 # output is simply discarded. So we exec the FD to /dev/null,
22361 # effectively closing config.log, so it can be properly (re)opened and
22362 # appended to by config.status. When coming back to configure, we
22363 # need to make the FD available again.
22364 if test "$no_create" != yes; then
22365 ac_cs_success=:
22366 ac_config_status_args=
22367 test "$silent" = yes &&
22368 ac_config_status_args="$ac_config_status_args --quiet"
22369 exec 5>/dev/null
22370 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22371 exec 5>>config.log
22372 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22373 # would make configure fail if this is the last instruction.
22374 $ac_cs_success || as_fn_exit 1
22376 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22378 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22382 if test "$no_create" = "yes"
22383 then
22384 exit 0
22387 ac_save_IFS="$IFS"
22388 if test "x$wine_notices" != x; then
22389 echo >&6
22390 IFS="|"
22391 for msg in $wine_notices; do
22392 IFS="$ac_save_IFS"
22393 if ${msg:+false} :; then :
22395 else
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22397 $as_echo "$as_me: $msg" >&6;}
22399 done
22401 IFS="|"
22402 for msg in $wine_warnings; do
22403 IFS="$ac_save_IFS"
22404 if ${msg:+false} :; then :
22406 else
22407 echo >&2
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22409 $as_echo "$as_me: WARNING: $msg" >&2;}
22411 done
22412 IFS="$ac_save_IFS"
22414 $as_echo "
22415 $as_me: Finished. Do '${ac_make}' to compile Wine.
22416 " >&6