Release 4.8.
[wine.git] / configure
blob44a1608fb90a422ad2e8a213333ce3f19ad38bd6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.8.
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.8'
584 PACKAGE_STRING='Wine 4.8'
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 BUILTINFLAG
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 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 SANE_LIBS
685 SANE_CFLAGS
686 GNUTLS_LIBS
687 GNUTLS_CFLAGS
688 HAL_LIBS
689 HAL_CFLAGS
690 DBUS_LIBS
691 DBUS_CFLAGS
692 INOTIFY_LIBS
693 INOTIFY_CFLAGS
694 XSLT_LIBS
695 XSLT_CFLAGS
696 XML2_LIBS
697 XML2_CFLAGS
698 PCAP_LIBS
699 X_EXTRA_LIBS
700 X_LIBS
701 X_PRE_LIBS
702 X_CFLAGS
703 XMKMF
704 PTHREAD_LIBS
705 EXTRACROSSCFLAGS
706 CROSSCFLAGS
707 CROSSCC
708 CROSSTARGET
709 LIBWINE_DEPENDS
710 PRELINK
711 WINELOADER_DEPENDS
712 LIBWINE_LDFLAGS
713 LIBWINE_SHAREDLIB
714 METAL_LIBS
715 CARBON_LIBS
716 QUICKTIME_LIBS
717 OPENCL_LIBS
718 OPENAL_LIBS
719 COREAUDIO_LIBS
720 SECURITY_LIBS
721 DISKARBITRATION_LIBS
722 APPKIT_LIBS
723 CORESERVICES_LIBS
724 APPLICATIONSERVICES_LIBS
725 FORCEFEEDBACK_LIBS
726 IOKIT_LIBS
727 COREFOUNDATION_LIBS
728 OBJCPP
729 ac_ct_OBJC
730 OBJCFLAGS
731 OBJC
732 DLLTOOL
733 WINELOADER_PROGRAMS
734 CONFIGURE_TARGETS
735 DISABLED_SUBDIRS
736 SUBDIRS
737 READELF
738 OTOOL
740 WINEPRELOADER_LDFLAGS
741 WINELOADER_LDFLAGS
742 TOP_INSTALL_DEV
743 TOP_INSTALL_LIB
744 LDEXECFLAGS
745 LDDLLFLAGS
746 LDRPATH_LOCAL
747 LDRPATH_INSTALL
748 DLLFLAGS
750 OPENGL_LIBS
751 ICOTOOL
752 CONVERT
753 RSVG
754 FONTFORGE
755 PKG_CONFIG
756 MSGFMT
757 LDCONFIG
758 EGREP
759 GREP
760 LN_S
761 RANLIB
762 STRIP
763 ac_ct_AR
765 BISON
766 FLEX
767 TOOLSDIR
768 TARGETFLAGS
770 CPPBIN
771 ac_ct_CXX
772 CXXFLAGS
774 OBJEXT
775 EXEEXT
776 ac_ct_CC
777 CPPFLAGS
778 LDFLAGS
779 CFLAGS
781 SET_MAKE
782 host_os
783 host_vendor
784 host_cpu
785 host
786 build_os
787 build_vendor
788 build_cpu
789 build
790 target_alias
791 host_alias
792 build_alias
793 LIBS
794 ECHO_T
795 ECHO_N
796 ECHO_C
797 DEFS
798 mandir
799 localedir
800 libdir
801 psdir
802 pdfdir
803 dvidir
804 htmldir
805 infodir
806 docdir
807 oldincludedir
808 includedir
809 runstatedir
810 localstatedir
811 sharedstatedir
812 sysconfdir
813 datadir
814 datarootdir
815 libexecdir
816 sbindir
817 bindir
818 program_transform_name
819 prefix
820 exec_prefix
821 PACKAGE_URL
822 PACKAGE_BUGREPORT
823 PACKAGE_STRING
824 PACKAGE_VERSION
825 PACKAGE_TARNAME
826 PACKAGE_NAME
827 PATH_SEPARATOR
828 SHELL'
829 ac_subst_files=''
830 ac_user_opts='
831 enable_option_checking
832 enable_win16
833 enable_win64
834 enable_tests
835 enable_maintainer_mode
836 with_alsa
837 with_capi
838 with_cms
839 with_coreaudio
840 with_cups
841 with_curses
842 with_dbus
843 with_faudio
844 with_float_abi
845 with_fontconfig
846 with_freetype
847 with_gettext
848 with_gettextpo
849 with_gphoto
850 with_glu
851 with_gnutls
852 with_gsm
853 with_gssapi
854 with_gstreamer
855 with_hal
856 with_inotify
857 with_jpeg
858 with_krb5
859 with_ldap
860 with_mingw
861 with_mpg123
862 with_netapi
863 with_openal
864 with_opencl
865 with_opengl
866 with_osmesa
867 with_oss
868 with_pcap
869 with_png
870 with_pthread
871 with_pulse
872 with_sane
873 with_sdl
874 with_tiff
875 with_udev
876 with_v4l2
877 with_vkd3d
878 with_vulkan
879 with_xcomposite
880 with_xcursor
881 with_xfixes
882 with_xinerama
883 with_xinput
884 with_xinput2
885 with_xml
886 with_xrandr
887 with_xrender
888 with_xshape
889 with_xshm
890 with_xslt
891 with_xxf86vm
892 with_zlib
893 with_wine_tools
894 with_wine64
895 enable_largefile
896 with_x
897 enable_acledit
898 enable_aclui
899 enable_activeds
900 enable_actxprxy
901 enable_adsiid
902 enable_adsldp
903 enable_adsldpc
904 enable_advapi32
905 enable_advpack
906 enable_amsi
907 enable_amstream
908 enable_api_ms_win_appmodel_identity_l1_1_0
909 enable_api_ms_win_appmodel_runtime_l1_1_1
910 enable_api_ms_win_appmodel_runtime_l1_1_2
911 enable_api_ms_win_core_apiquery_l1_1_0
912 enable_api_ms_win_core_appcompat_l1_1_1
913 enable_api_ms_win_core_appinit_l1_1_0
914 enable_api_ms_win_core_atoms_l1_1_0
915 enable_api_ms_win_core_bem_l1_1_0
916 enable_api_ms_win_core_com_l1_1_0
917 enable_api_ms_win_core_com_l1_1_1
918 enable_api_ms_win_core_com_private_l1_1_0
919 enable_api_ms_win_core_comm_l1_1_0
920 enable_api_ms_win_core_console_l1_1_0
921 enable_api_ms_win_core_console_l2_1_0
922 enable_api_ms_win_core_crt_l1_1_0
923 enable_api_ms_win_core_crt_l2_1_0
924 enable_api_ms_win_core_datetime_l1_1_0
925 enable_api_ms_win_core_datetime_l1_1_1
926 enable_api_ms_win_core_debug_l1_1_0
927 enable_api_ms_win_core_debug_l1_1_1
928 enable_api_ms_win_core_delayload_l1_1_0
929 enable_api_ms_win_core_delayload_l1_1_1
930 enable_api_ms_win_core_errorhandling_l1_1_0
931 enable_api_ms_win_core_errorhandling_l1_1_1
932 enable_api_ms_win_core_errorhandling_l1_1_2
933 enable_api_ms_win_core_errorhandling_l1_1_3
934 enable_api_ms_win_core_fibers_l1_1_0
935 enable_api_ms_win_core_fibers_l1_1_1
936 enable_api_ms_win_core_file_l1_1_0
937 enable_api_ms_win_core_file_l1_2_0
938 enable_api_ms_win_core_file_l1_2_1
939 enable_api_ms_win_core_file_l1_2_2
940 enable_api_ms_win_core_file_l2_1_0
941 enable_api_ms_win_core_file_l2_1_1
942 enable_api_ms_win_core_file_l2_1_2
943 enable_api_ms_win_core_handle_l1_1_0
944 enable_api_ms_win_core_heap_l1_1_0
945 enable_api_ms_win_core_heap_l1_2_0
946 enable_api_ms_win_core_heap_l2_1_0
947 enable_api_ms_win_core_heap_obsolete_l1_1_0
948 enable_api_ms_win_core_interlocked_l1_1_0
949 enable_api_ms_win_core_interlocked_l1_2_0
950 enable_api_ms_win_core_io_l1_1_0
951 enable_api_ms_win_core_io_l1_1_1
952 enable_api_ms_win_core_job_l1_1_0
953 enable_api_ms_win_core_job_l2_1_0
954 enable_api_ms_win_core_kernel32_legacy_l1_1_0
955 enable_api_ms_win_core_kernel32_legacy_l1_1_1
956 enable_api_ms_win_core_kernel32_private_l1_1_1
957 enable_api_ms_win_core_largeinteger_l1_1_0
958 enable_api_ms_win_core_libraryloader_l1_1_0
959 enable_api_ms_win_core_libraryloader_l1_1_1
960 enable_api_ms_win_core_libraryloader_l1_2_0
961 enable_api_ms_win_core_libraryloader_l1_2_1
962 enable_api_ms_win_core_libraryloader_l1_2_2
963 enable_api_ms_win_core_localization_l1_1_0
964 enable_api_ms_win_core_localization_l1_2_0
965 enable_api_ms_win_core_localization_l1_2_1
966 enable_api_ms_win_core_localization_l2_1_0
967 enable_api_ms_win_core_localization_obsolete_l1_1_0
968 enable_api_ms_win_core_localization_obsolete_l1_2_0
969 enable_api_ms_win_core_localization_obsolete_l1_3_0
970 enable_api_ms_win_core_localization_private_l1_1_0
971 enable_api_ms_win_core_localregistry_l1_1_0
972 enable_api_ms_win_core_memory_l1_1_0
973 enable_api_ms_win_core_memory_l1_1_1
974 enable_api_ms_win_core_memory_l1_1_2
975 enable_api_ms_win_core_misc_l1_1_0
976 enable_api_ms_win_core_namedpipe_l1_1_0
977 enable_api_ms_win_core_namedpipe_l1_2_0
978 enable_api_ms_win_core_namespace_l1_1_0
979 enable_api_ms_win_core_normalization_l1_1_0
980 enable_api_ms_win_core_path_l1_1_0
981 enable_api_ms_win_core_privateprofile_l1_1_1
982 enable_api_ms_win_core_processenvironment_l1_1_0
983 enable_api_ms_win_core_processenvironment_l1_2_0
984 enable_api_ms_win_core_processthreads_l1_1_0
985 enable_api_ms_win_core_processthreads_l1_1_1
986 enable_api_ms_win_core_processthreads_l1_1_2
987 enable_api_ms_win_core_processthreads_l1_1_3
988 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
989 enable_api_ms_win_core_profile_l1_1_0
990 enable_api_ms_win_core_psapi_ansi_l1_1_0
991 enable_api_ms_win_core_psapi_l1_1_0
992 enable_api_ms_win_core_psapi_obsolete_l1_1_0
993 enable_api_ms_win_core_quirks_l1_1_0
994 enable_api_ms_win_core_realtime_l1_1_0
995 enable_api_ms_win_core_registry_l1_1_0
996 enable_api_ms_win_core_registry_l2_1_0
997 enable_api_ms_win_core_registryuserspecific_l1_1_0
998 enable_api_ms_win_core_rtlsupport_l1_1_0
999 enable_api_ms_win_core_rtlsupport_l1_2_0
1000 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1001 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1002 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1003 enable_api_ms_win_core_shutdown_l1_1_0
1004 enable_api_ms_win_core_sidebyside_l1_1_0
1005 enable_api_ms_win_core_string_l1_1_0
1006 enable_api_ms_win_core_string_l2_1_0
1007 enable_api_ms_win_core_string_obsolete_l1_1_0
1008 enable_api_ms_win_core_stringansi_l1_1_0
1009 enable_api_ms_win_core_stringloader_l1_1_1
1010 enable_api_ms_win_core_synch_ansi_l1_1_0
1011 enable_api_ms_win_core_synch_l1_1_0
1012 enable_api_ms_win_core_synch_l1_2_0
1013 enable_api_ms_win_core_synch_l1_2_1
1014 enable_api_ms_win_core_sysinfo_l1_1_0
1015 enable_api_ms_win_core_sysinfo_l1_2_0
1016 enable_api_ms_win_core_sysinfo_l1_2_1
1017 enable_api_ms_win_core_threadpool_l1_1_0
1018 enable_api_ms_win_core_threadpool_l1_2_0
1019 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1020 enable_api_ms_win_core_threadpool_private_l1_1_0
1021 enable_api_ms_win_core_timezone_l1_1_0
1022 enable_api_ms_win_core_toolhelp_l1_1_0
1023 enable_api_ms_win_core_url_l1_1_0
1024 enable_api_ms_win_core_util_l1_1_0
1025 enable_api_ms_win_core_version_l1_1_0
1026 enable_api_ms_win_core_version_l1_1_1
1027 enable_api_ms_win_core_version_private_l1_1_0
1028 enable_api_ms_win_core_versionansi_l1_1_0
1029 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1030 enable_api_ms_win_core_winrt_error_l1_1_0
1031 enable_api_ms_win_core_winrt_error_l1_1_1
1032 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1033 enable_api_ms_win_core_winrt_l1_1_0
1034 enable_api_ms_win_core_winrt_registration_l1_1_0
1035 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1036 enable_api_ms_win_core_winrt_string_l1_1_0
1037 enable_api_ms_win_core_winrt_string_l1_1_1
1038 enable_api_ms_win_core_wow64_l1_1_0
1039 enable_api_ms_win_core_wow64_l1_1_1
1040 enable_api_ms_win_core_xstate_l1_1_0
1041 enable_api_ms_win_core_xstate_l2_1_0
1042 enable_api_ms_win_crt_conio_l1_1_0
1043 enable_api_ms_win_crt_convert_l1_1_0
1044 enable_api_ms_win_crt_environment_l1_1_0
1045 enable_api_ms_win_crt_filesystem_l1_1_0
1046 enable_api_ms_win_crt_heap_l1_1_0
1047 enable_api_ms_win_crt_locale_l1_1_0
1048 enable_api_ms_win_crt_math_l1_1_0
1049 enable_api_ms_win_crt_multibyte_l1_1_0
1050 enable_api_ms_win_crt_private_l1_1_0
1051 enable_api_ms_win_crt_process_l1_1_0
1052 enable_api_ms_win_crt_runtime_l1_1_0
1053 enable_api_ms_win_crt_stdio_l1_1_0
1054 enable_api_ms_win_crt_string_l1_1_0
1055 enable_api_ms_win_crt_time_l1_1_0
1056 enable_api_ms_win_crt_utility_l1_1_0
1057 enable_api_ms_win_devices_config_l1_1_0
1058 enable_api_ms_win_devices_config_l1_1_1
1059 enable_api_ms_win_devices_query_l1_1_1
1060 enable_api_ms_win_downlevel_advapi32_l1_1_0
1061 enable_api_ms_win_downlevel_advapi32_l2_1_0
1062 enable_api_ms_win_downlevel_normaliz_l1_1_0
1063 enable_api_ms_win_downlevel_ole32_l1_1_0
1064 enable_api_ms_win_downlevel_shell32_l1_1_0
1065 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1066 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1067 enable_api_ms_win_downlevel_user32_l1_1_0
1068 enable_api_ms_win_downlevel_version_l1_1_0
1069 enable_api_ms_win_dx_d3dkmt_l1_1_0
1070 enable_api_ms_win_eventing_classicprovider_l1_1_0
1071 enable_api_ms_win_eventing_consumer_l1_1_0
1072 enable_api_ms_win_eventing_controller_l1_1_0
1073 enable_api_ms_win_eventing_legacy_l1_1_0
1074 enable_api_ms_win_eventing_provider_l1_1_0
1075 enable_api_ms_win_eventlog_legacy_l1_1_0
1076 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1077 enable_api_ms_win_mm_joystick_l1_1_0
1078 enable_api_ms_win_mm_misc_l1_1_1
1079 enable_api_ms_win_mm_mme_l1_1_0
1080 enable_api_ms_win_mm_time_l1_1_0
1081 enable_api_ms_win_ntuser_dc_access_l1_1_0
1082 enable_api_ms_win_ntuser_rectangle_l1_1_0
1083 enable_api_ms_win_ntuser_sysparams_l1_1_0
1084 enable_api_ms_win_perf_legacy_l1_1_0
1085 enable_api_ms_win_power_base_l1_1_0
1086 enable_api_ms_win_power_setting_l1_1_0
1087 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1088 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1089 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1090 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1091 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1092 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1093 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1094 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1095 enable_api_ms_win_security_audit_l1_1_1
1096 enable_api_ms_win_security_base_l1_1_0
1097 enable_api_ms_win_security_base_l1_2_0
1098 enable_api_ms_win_security_base_private_l1_1_1
1099 enable_api_ms_win_security_credentials_l1_1_0
1100 enable_api_ms_win_security_cryptoapi_l1_1_0
1101 enable_api_ms_win_security_grouppolicy_l1_1_0
1102 enable_api_ms_win_security_lsalookup_l1_1_0
1103 enable_api_ms_win_security_lsalookup_l1_1_1
1104 enable_api_ms_win_security_lsalookup_l2_1_0
1105 enable_api_ms_win_security_lsalookup_l2_1_1
1106 enable_api_ms_win_security_lsapolicy_l1_1_0
1107 enable_api_ms_win_security_provider_l1_1_0
1108 enable_api_ms_win_security_sddl_l1_1_0
1109 enable_api_ms_win_security_systemfunctions_l1_1_0
1110 enable_api_ms_win_service_core_l1_1_0
1111 enable_api_ms_win_service_core_l1_1_1
1112 enable_api_ms_win_service_management_l1_1_0
1113 enable_api_ms_win_service_management_l2_1_0
1114 enable_api_ms_win_service_private_l1_1_1
1115 enable_api_ms_win_service_winsvc_l1_1_0
1116 enable_api_ms_win_service_winsvc_l1_2_0
1117 enable_api_ms_win_shcore_obsolete_l1_1_0
1118 enable_api_ms_win_shcore_scaling_l1_1_1
1119 enable_api_ms_win_shcore_stream_l1_1_0
1120 enable_api_ms_win_shcore_thread_l1_1_0
1121 enable_api_ms_win_shell_shellcom_l1_1_0
1122 enable_api_ms_win_shell_shellfolders_l1_1_0
1123 enable_apphelp
1124 enable_appwiz_cpl
1125 enable_atl
1126 enable_atl100
1127 enable_atl110
1128 enable_atl80
1129 enable_atl90
1130 enable_atlthunk
1131 enable_atmlib
1132 enable_authz
1133 enable_avicap32
1134 enable_avifil32
1135 enable_avrt
1136 enable_bcrypt
1137 enable_bluetoothapis
1138 enable_browseui
1139 enable_bthprops_cpl
1140 enable_cabinet
1141 enable_capi2032
1142 enable_cards
1143 enable_cdosys
1144 enable_cfgmgr32
1145 enable_clusapi
1146 enable_combase
1147 enable_comcat
1148 enable_comctl32
1149 enable_comdlg32
1150 enable_compstui
1151 enable_comsvcs
1152 enable_concrt140
1153 enable_connect
1154 enable_credui
1155 enable_crtdll
1156 enable_crypt32
1157 enable_cryptdlg
1158 enable_cryptdll
1159 enable_cryptext
1160 enable_cryptnet
1161 enable_cryptui
1162 enable_ctapi32
1163 enable_ctl3d32
1164 enable_d2d1
1165 enable_d3d10
1166 enable_d3d10_1
1167 enable_d3d10core
1168 enable_d3d11
1169 enable_d3d12
1170 enable_d3d8
1171 enable_d3d9
1172 enable_d3dcompiler_33
1173 enable_d3dcompiler_34
1174 enable_d3dcompiler_35
1175 enable_d3dcompiler_36
1176 enable_d3dcompiler_37
1177 enable_d3dcompiler_38
1178 enable_d3dcompiler_39
1179 enable_d3dcompiler_40
1180 enable_d3dcompiler_41
1181 enable_d3dcompiler_42
1182 enable_d3dcompiler_43
1183 enable_d3dcompiler_46
1184 enable_d3dcompiler_47
1185 enable_d3dim
1186 enable_d3drm
1187 enable_d3dx10_33
1188 enable_d3dx10_34
1189 enable_d3dx10_35
1190 enable_d3dx10_36
1191 enable_d3dx10_37
1192 enable_d3dx10_38
1193 enable_d3dx10_39
1194 enable_d3dx10_40
1195 enable_d3dx10_41
1196 enable_d3dx10_42
1197 enable_d3dx10_43
1198 enable_d3dx11_42
1199 enable_d3dx11_43
1200 enable_d3dx9_24
1201 enable_d3dx9_25
1202 enable_d3dx9_26
1203 enable_d3dx9_27
1204 enable_d3dx9_28
1205 enable_d3dx9_29
1206 enable_d3dx9_30
1207 enable_d3dx9_31
1208 enable_d3dx9_32
1209 enable_d3dx9_33
1210 enable_d3dx9_34
1211 enable_d3dx9_35
1212 enable_d3dx9_36
1213 enable_d3dx9_37
1214 enable_d3dx9_38
1215 enable_d3dx9_39
1216 enable_d3dx9_40
1217 enable_d3dx9_41
1218 enable_d3dx9_42
1219 enable_d3dx9_43
1220 enable_d3dxof
1221 enable_davclnt
1222 enable_dbgeng
1223 enable_dbghelp
1224 enable_dciman32
1225 enable_ddraw
1226 enable_ddrawex
1227 enable_devenum
1228 enable_dhcpcsvc
1229 enable_dhtmled_ocx
1230 enable_difxapi
1231 enable_dinput
1232 enable_dinput8
1233 enable_dispex
1234 enable_dmband
1235 enable_dmcompos
1236 enable_dmime
1237 enable_dmloader
1238 enable_dmoguids
1239 enable_dmscript
1240 enable_dmstyle
1241 enable_dmsynth
1242 enable_dmusic
1243 enable_dmusic32
1244 enable_dnsapi
1245 enable_dplay
1246 enable_dplayx
1247 enable_dpnaddr
1248 enable_dpnet
1249 enable_dpnhpast
1250 enable_dpnlobby
1251 enable_dpvoice
1252 enable_dpwsockx
1253 enable_drmclien
1254 enable_dsound
1255 enable_dsquery
1256 enable_dssenh
1257 enable_dswave
1258 enable_dwmapi
1259 enable_dwrite
1260 enable_dx8vb
1261 enable_dxdiagn
1262 enable_dxerr8
1263 enable_dxerr9
1264 enable_dxgi
1265 enable_dxguid
1266 enable_dxva2
1267 enable_esent
1268 enable_evr
1269 enable_explorerframe
1270 enable_ext_ms_win_authz_context_l1_1_0
1271 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1272 enable_ext_ms_win_dwmapi_ext_l1_1_0
1273 enable_ext_ms_win_gdi_dc_create_l1_1_0
1274 enable_ext_ms_win_gdi_dc_create_l1_1_1
1275 enable_ext_ms_win_gdi_dc_l1_2_0
1276 enable_ext_ms_win_gdi_devcaps_l1_1_0
1277 enable_ext_ms_win_gdi_draw_l1_1_0
1278 enable_ext_ms_win_gdi_draw_l1_1_1
1279 enable_ext_ms_win_gdi_font_l1_1_0
1280 enable_ext_ms_win_gdi_font_l1_1_1
1281 enable_ext_ms_win_gdi_render_l1_1_0
1282 enable_ext_ms_win_kernel32_package_current_l1_1_0
1283 enable_ext_ms_win_kernel32_package_l1_1_1
1284 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1285 enable_ext_ms_win_ntuser_draw_l1_1_0
1286 enable_ext_ms_win_ntuser_gui_l1_1_0
1287 enable_ext_ms_win_ntuser_gui_l1_3_0
1288 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1289 enable_ext_ms_win_ntuser_message_l1_1_0
1290 enable_ext_ms_win_ntuser_message_l1_1_1
1291 enable_ext_ms_win_ntuser_misc_l1_1_0
1292 enable_ext_ms_win_ntuser_misc_l1_2_0
1293 enable_ext_ms_win_ntuser_misc_l1_5_1
1294 enable_ext_ms_win_ntuser_mouse_l1_1_0
1295 enable_ext_ms_win_ntuser_private_l1_1_1
1296 enable_ext_ms_win_ntuser_private_l1_3_1
1297 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1298 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1299 enable_ext_ms_win_ntuser_window_l1_1_0
1300 enable_ext_ms_win_ntuser_window_l1_1_1
1301 enable_ext_ms_win_ntuser_window_l1_1_4
1302 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1303 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1304 enable_ext_ms_win_oleacc_l1_1_0
1305 enable_ext_ms_win_ras_rasapi32_l1_1_0
1306 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1307 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1308 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1309 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1310 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1311 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1312 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1313 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1314 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1315 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1316 enable_ext_ms_win_security_credui_l1_1_0
1317 enable_ext_ms_win_security_cryptui_l1_1_0
1318 enable_ext_ms_win_uxtheme_themes_l1_1_0
1319 enable_faultrep
1320 enable_feclient
1321 enable_fltlib
1322 enable_fltmgr_sys
1323 enable_fntcache
1324 enable_fontsub
1325 enable_fusion
1326 enable_fwpuclnt
1327 enable_gameux
1328 enable_gdi32
1329 enable_gdiplus
1330 enable_glu32
1331 enable_gphoto2_ds
1332 enable_gpkcsp
1333 enable_hal
1334 enable_hhctrl_ocx
1335 enable_hid
1336 enable_hidclass_sys
1337 enable_hlink
1338 enable_hnetcfg
1339 enable_httpapi
1340 enable_iccvid
1341 enable_icmp
1342 enable_ieframe
1343 enable_ieproxy
1344 enable_imaadp32_acm
1345 enable_imagehlp
1346 enable_imm32
1347 enable_inetcomm
1348 enable_inetcpl_cpl
1349 enable_inetmib1
1350 enable_infosoft
1351 enable_initpki
1352 enable_inkobj
1353 enable_inseng
1354 enable_iphlpapi
1355 enable_iprop
1356 enable_irprops_cpl
1357 enable_itircl
1358 enable_itss
1359 enable_joy_cpl
1360 enable_jscript
1361 enable_jsproxy
1362 enable_kerberos
1363 enable_kernel32
1364 enable_kernelbase
1365 enable_ksecdd_sys
1366 enable_ksuser
1367 enable_ktmw32
1368 enable_l3codeca_acm
1369 enable_loadperf
1370 enable_localspl
1371 enable_localui
1372 enable_lz32
1373 enable_mapi32
1374 enable_mapistub
1375 enable_mciavi32
1376 enable_mcicda
1377 enable_mciqtz32
1378 enable_mciseq
1379 enable_mciwave
1380 enable_mf
1381 enable_mf3216
1382 enable_mferror
1383 enable_mfplat
1384 enable_mfplay
1385 enable_mfreadwrite
1386 enable_mfuuid
1387 enable_mgmtapi
1388 enable_midimap
1389 enable_mlang
1390 enable_mmcndmgr
1391 enable_mmdevapi
1392 enable_mountmgr_sys
1393 enable_mp3dmod
1394 enable_mpr
1395 enable_mprapi
1396 enable_msacm32_drv
1397 enable_msacm32
1398 enable_msadp32_acm
1399 enable_msasn1
1400 enable_mscat32
1401 enable_mscms
1402 enable_mscoree
1403 enable_msctf
1404 enable_msctfp
1405 enable_msdaps
1406 enable_msdelta
1407 enable_msdmo
1408 enable_msdrm
1409 enable_msftedit
1410 enable_msg711_acm
1411 enable_msgsm32_acm
1412 enable_mshtml_tlb
1413 enable_mshtml
1414 enable_msi
1415 enable_msident
1416 enable_msimg32
1417 enable_msimsg
1418 enable_msimtf
1419 enable_msisip
1420 enable_msisys_ocx
1421 enable_msls31
1422 enable_msnet32
1423 enable_mspatcha
1424 enable_msports
1425 enable_msrle32
1426 enable_msscript_ocx
1427 enable_mssign32
1428 enable_mssip32
1429 enable_mstask
1430 enable_msvcirt
1431 enable_msvcm80
1432 enable_msvcm90
1433 enable_msvcp100
1434 enable_msvcp110
1435 enable_msvcp120
1436 enable_msvcp120_app
1437 enable_msvcp140
1438 enable_msvcp60
1439 enable_msvcp70
1440 enable_msvcp71
1441 enable_msvcp80
1442 enable_msvcp90
1443 enable_msvcr100
1444 enable_msvcr110
1445 enable_msvcr120
1446 enable_msvcr120_app
1447 enable_msvcr70
1448 enable_msvcr71
1449 enable_msvcr80
1450 enable_msvcr90
1451 enable_msvcrt
1452 enable_msvcrt20
1453 enable_msvcrt40
1454 enable_msvcrtd
1455 enable_msvfw32
1456 enable_msvidc32
1457 enable_mswsock
1458 enable_msxml
1459 enable_msxml2
1460 enable_msxml3
1461 enable_msxml4
1462 enable_msxml6
1463 enable_mtxdm
1464 enable_ncrypt
1465 enable_nddeapi
1466 enable_ndis_sys
1467 enable_netapi32
1468 enable_netcfgx
1469 enable_netprofm
1470 enable_newdev
1471 enable_ninput
1472 enable_normaliz
1473 enable_npmshtml
1474 enable_npptools
1475 enable_ntdll
1476 enable_ntdsapi
1477 enable_ntoskrnl_exe
1478 enable_ntprint
1479 enable_objsel
1480 enable_odbc32
1481 enable_odbccp32
1482 enable_odbccu32
1483 enable_ole32
1484 enable_oleacc
1485 enable_oleaut32
1486 enable_olecli32
1487 enable_oledb32
1488 enable_oledlg
1489 enable_olepro32
1490 enable_olesvr32
1491 enable_olethk32
1492 enable_opcservices
1493 enable_openal32
1494 enable_opencl
1495 enable_opengl32
1496 enable_packager
1497 enable_pdh
1498 enable_photometadatahandler
1499 enable_pidgen
1500 enable_powrprof
1501 enable_printui
1502 enable_prntvpt
1503 enable_propsys
1504 enable_psapi
1505 enable_pstorec
1506 enable_qcap
1507 enable_qedit
1508 enable_qmgr
1509 enable_qmgrprxy
1510 enable_quartz
1511 enable_query
1512 enable_qwave
1513 enable_rasapi32
1514 enable_rasdlg
1515 enable_regapi
1516 enable_resutils
1517 enable_riched20
1518 enable_riched32
1519 enable_rpcrt4
1520 enable_rsabase
1521 enable_rsaenh
1522 enable_rstrtmgr
1523 enable_rtutils
1524 enable_samlib
1525 enable_sane_ds
1526 enable_sapi
1527 enable_sas
1528 enable_scarddlg
1529 enable_sccbase
1530 enable_schannel
1531 enable_schedsvc
1532 enable_scrobj
1533 enable_scrrun
1534 enable_scsiport_sys
1535 enable_secur32
1536 enable_security
1537 enable_sensapi
1538 enable_serialui
1539 enable_setupapi
1540 enable_sfc
1541 enable_sfc_os
1542 enable_shcore
1543 enable_shdoclc
1544 enable_shdocvw
1545 enable_shell32
1546 enable_shfolder
1547 enable_shlwapi
1548 enable_slbcsp
1549 enable_slc
1550 enable_snmpapi
1551 enable_softpub
1552 enable_spoolss
1553 enable_srclient
1554 enable_sspicli
1555 enable_stdole2_tlb
1556 enable_stdole32_tlb
1557 enable_sti
1558 enable_strmbase
1559 enable_strmdll
1560 enable_strmiids
1561 enable_svrapi
1562 enable_sxs
1563 enable_t2embed
1564 enable_tapi32
1565 enable_taskschd
1566 enable_tdh
1567 enable_tdi_sys
1568 enable_traffic
1569 enable_twain_32
1570 enable_tzres
1571 enable_ucrtbase
1572 enable_uianimation
1573 enable_uiautomationcore
1574 enable_uiribbon
1575 enable_unicows
1576 enable_updspapi
1577 enable_url
1578 enable_urlmon
1579 enable_usbd_sys
1580 enable_user32
1581 enable_userenv
1582 enable_usp10
1583 enable_uuid
1584 enable_uxtheme
1585 enable_vbscript
1586 enable_vcomp
1587 enable_vcomp100
1588 enable_vcomp110
1589 enable_vcomp120
1590 enable_vcomp140
1591 enable_vcomp90
1592 enable_vcruntime140
1593 enable_vdmdbg
1594 enable_version
1595 enable_virtdisk
1596 enable_vssapi
1597 enable_vulkan_1
1598 enable_wbemdisp
1599 enable_wbemprox
1600 enable_wdscore
1601 enable_webservices
1602 enable_wer
1603 enable_wevtapi
1604 enable_wiaservc
1605 enable_wimgapi
1606 enable_windowscodecs
1607 enable_windowscodecsext
1608 enable_winealsa_drv
1609 enable_wineandroid_drv
1610 enable_winebus_sys
1611 enable_winecoreaudio_drv
1612 enable_winecrt0
1613 enable_wined3d
1614 enable_winegstreamer
1615 enable_winehid_sys
1616 enable_winejoystick_drv
1617 enable_winemac_drv
1618 enable_winemapi
1619 enable_wineoss_drv
1620 enable_wineps_drv
1621 enable_winepulse_drv
1622 enable_wineqtdecoder
1623 enable_winevulkan
1624 enable_winex11_drv
1625 enable_wing32
1626 enable_winhttp
1627 enable_wininet
1628 enable_winmm
1629 enable_winnls32
1630 enable_winscard
1631 enable_winspool_drv
1632 enable_winsta
1633 enable_wintab32
1634 enable_wintrust
1635 enable_winusb
1636 enable_wlanapi
1637 enable_wldap32
1638 enable_wmasf
1639 enable_wmcodecdspuuid
1640 enable_wmi
1641 enable_wmiutils
1642 enable_wmp
1643 enable_wmphoto
1644 enable_wmvcore
1645 enable_wnaspi32
1646 enable_wpc
1647 enable_wpcap
1648 enable_ws2_32
1649 enable_wsdapi
1650 enable_wshom_ocx
1651 enable_wsnmp32
1652 enable_wsock32
1653 enable_wtsapi32
1654 enable_wuapi
1655 enable_wuaueng
1656 enable_x3daudio1_0
1657 enable_x3daudio1_1
1658 enable_x3daudio1_2
1659 enable_x3daudio1_3
1660 enable_x3daudio1_4
1661 enable_x3daudio1_5
1662 enable_x3daudio1_6
1663 enable_x3daudio1_7
1664 enable_xapofx1_1
1665 enable_xapofx1_2
1666 enable_xapofx1_3
1667 enable_xapofx1_4
1668 enable_xapofx1_5
1669 enable_xaudio2_0
1670 enable_xaudio2_1
1671 enable_xaudio2_2
1672 enable_xaudio2_3
1673 enable_xaudio2_4
1674 enable_xaudio2_5
1675 enable_xaudio2_6
1676 enable_xaudio2_7
1677 enable_xaudio2_8
1678 enable_xaudio2_9
1679 enable_xinput1_1
1680 enable_xinput1_2
1681 enable_xinput1_3
1682 enable_xinput1_4
1683 enable_xinput9_1_0
1684 enable_xmllite
1685 enable_xolehlp
1686 enable_xpsprint
1687 enable_xpssvcs
1688 enable_fonts
1689 enable_include
1690 enable_port
1691 enable_wine
1692 enable_wpp
1693 enable_loader
1694 enable_po
1695 enable_arp
1696 enable_aspnet_regiis
1697 enable_attrib
1698 enable_cabarc
1699 enable_cacls
1700 enable_clock
1701 enable_cmd
1702 enable_conhost
1703 enable_control
1704 enable_cscript
1705 enable_dism
1706 enable_dpnsvr
1707 enable_dxdiag
1708 enable_eject
1709 enable_expand
1710 enable_explorer
1711 enable_extrac32
1712 enable_fc
1713 enable_find
1714 enable_findstr
1715 enable_fsutil
1716 enable_hh
1717 enable_hostname
1718 enable_icacls
1719 enable_icinfo
1720 enable_iexplore
1721 enable_ipconfig
1722 enable_lodctr
1723 enable_mofcomp
1724 enable_mshta
1725 enable_msidb
1726 enable_msiexec
1727 enable_msinfo32
1728 enable_net
1729 enable_netsh
1730 enable_netstat
1731 enable_ngen
1732 enable_notepad
1733 enable_oleview
1734 enable_ping
1735 enable_plugplay
1736 enable_powershell
1737 enable_presentationfontcache
1738 enable_progman
1739 enable_reg
1740 enable_regasm
1741 enable_regedit
1742 enable_regsvcs
1743 enable_regsvr32
1744 enable_rpcss
1745 enable_rundll32
1746 enable_sc
1747 enable_schtasks
1748 enable_sdbinst
1749 enable_secedit
1750 enable_servicemodelreg
1751 enable_services
1752 enable_shutdown
1753 enable_spoolsv
1754 enable_start
1755 enable_subst
1756 enable_svchost
1757 enable_systeminfo
1758 enable_taskkill
1759 enable_tasklist
1760 enable_taskmgr
1761 enable_termsv
1762 enable_uninstaller
1763 enable_unlodctr
1764 enable_view
1765 enable_wevtutil
1766 enable_wineboot
1767 enable_winebrowser
1768 enable_winecfg
1769 enable_wineconsole
1770 enable_winedbg
1771 enable_winedevice
1772 enable_winefile
1773 enable_winemenubuilder
1774 enable_winemine
1775 enable_winemsibuilder
1776 enable_winepath
1777 enable_winetest
1778 enable_winhlp32
1779 enable_winmgmt
1780 enable_winver
1781 enable_wmic
1782 enable_wmplayer
1783 enable_wordpad
1784 enable_write
1785 enable_wscript
1786 enable_wusa
1787 enable_xcopy
1788 enable_server
1789 enable_tools
1790 enable_sfnt2fon
1791 enable_widl
1792 enable_winebuild
1793 enable_winedump
1794 enable_winegcc
1795 enable_winemaker
1796 enable_wmc
1797 enable_wrc
1799 ac_precious_vars='build_alias
1800 host_alias
1801 target_alias
1803 CFLAGS
1804 LDFLAGS
1805 LIBS
1806 CPPFLAGS
1808 CXXFLAGS
1811 OBJC
1812 OBJCFLAGS
1813 OBJCPP
1814 XMKMF
1815 XML2_CFLAGS
1816 XML2_LIBS
1817 XSLT_CFLAGS
1818 XSLT_LIBS
1819 INOTIFY_CFLAGS
1820 INOTIFY_LIBS
1821 DBUS_CFLAGS
1822 DBUS_LIBS
1823 HAL_CFLAGS
1824 HAL_LIBS
1825 GNUTLS_CFLAGS
1826 GNUTLS_LIBS
1827 SANE_CFLAGS
1828 SANE_LIBS
1829 GPHOTO2_CFLAGS
1830 GPHOTO2_LIBS
1831 GPHOTO2_PORT_CFLAGS
1832 GPHOTO2_PORT_LIBS
1833 LCMS2_CFLAGS
1834 LCMS2_LIBS
1835 FREETYPE_CFLAGS
1836 FREETYPE_LIBS
1837 PULSE_CFLAGS
1838 PULSE_LIBS
1839 GSTREAMER_CFLAGS
1840 GSTREAMER_LIBS
1841 UDEV_CFLAGS
1842 UDEV_LIBS
1843 SDL2_CFLAGS
1844 SDL2_LIBS
1845 FAUDIO_CFLAGS
1846 FAUDIO_LIBS
1847 CAPI20_CFLAGS
1848 CAPI20_LIBS
1849 CUPS_CFLAGS
1850 CUPS_LIBS
1851 FONTCONFIG_CFLAGS
1852 FONTCONFIG_LIBS
1853 KRB5_CFLAGS
1854 KRB5_LIBS
1855 GSSAPI_CFLAGS
1856 GSSAPI_LIBS
1857 JPEG_CFLAGS
1858 JPEG_LIBS
1859 PNG_CFLAGS
1860 PNG_LIBS
1861 TIFF_CFLAGS
1862 TIFF_LIBS
1863 MPG123_CFLAGS
1864 MPG123_LIBS
1865 NETAPI_CFLAGS
1866 NETAPI_LIBS
1867 VKD3D_CFLAGS
1868 VKD3D_LIBS
1869 LDAP_CFLAGS
1870 LDAP_LIBS'
1873 # Initialize some variables set by options.
1874 ac_init_help=
1875 ac_init_version=false
1876 ac_unrecognized_opts=
1877 ac_unrecognized_sep=
1878 # The variables have the same names as the options, with
1879 # dashes changed to underlines.
1880 cache_file=/dev/null
1881 exec_prefix=NONE
1882 no_create=
1883 no_recursion=
1884 prefix=NONE
1885 program_prefix=NONE
1886 program_suffix=NONE
1887 program_transform_name=s,x,x,
1888 silent=
1889 site=
1890 srcdir=
1891 verbose=
1892 x_includes=NONE
1893 x_libraries=NONE
1895 # Installation directory options.
1896 # These are left unexpanded so users can "make install exec_prefix=/foo"
1897 # and all the variables that are supposed to be based on exec_prefix
1898 # by default will actually change.
1899 # Use braces instead of parens because sh, perl, etc. also accept them.
1900 # (The list follows the same order as the GNU Coding Standards.)
1901 bindir='${exec_prefix}/bin'
1902 sbindir='${exec_prefix}/sbin'
1903 libexecdir='${exec_prefix}/libexec'
1904 datarootdir='${prefix}/share'
1905 datadir='${datarootdir}'
1906 sysconfdir='${prefix}/etc'
1907 sharedstatedir='${prefix}/com'
1908 localstatedir='${prefix}/var'
1909 runstatedir='${localstatedir}/run'
1910 includedir='${prefix}/include'
1911 oldincludedir='/usr/include'
1912 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1913 infodir='${datarootdir}/info'
1914 htmldir='${docdir}'
1915 dvidir='${docdir}'
1916 pdfdir='${docdir}'
1917 psdir='${docdir}'
1918 libdir='${exec_prefix}/lib'
1919 localedir='${datarootdir}/locale'
1920 mandir='${datarootdir}/man'
1922 ac_prev=
1923 ac_dashdash=
1924 for ac_option
1926 # If the previous option needs an argument, assign it.
1927 if test -n "$ac_prev"; then
1928 eval $ac_prev=\$ac_option
1929 ac_prev=
1930 continue
1933 case $ac_option in
1934 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1935 *=) ac_optarg= ;;
1936 *) ac_optarg=yes ;;
1937 esac
1939 # Accept the important Cygnus configure options, so we can diagnose typos.
1941 case $ac_dashdash$ac_option in
1943 ac_dashdash=yes ;;
1945 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1946 ac_prev=bindir ;;
1947 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1948 bindir=$ac_optarg ;;
1950 -build | --build | --buil | --bui | --bu)
1951 ac_prev=build_alias ;;
1952 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1953 build_alias=$ac_optarg ;;
1955 -cache-file | --cache-file | --cache-fil | --cache-fi \
1956 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1957 ac_prev=cache_file ;;
1958 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1959 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1960 cache_file=$ac_optarg ;;
1962 --config-cache | -C)
1963 cache_file=config.cache ;;
1965 -datadir | --datadir | --datadi | --datad)
1966 ac_prev=datadir ;;
1967 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1968 datadir=$ac_optarg ;;
1970 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1971 | --dataroo | --dataro | --datar)
1972 ac_prev=datarootdir ;;
1973 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1974 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1975 datarootdir=$ac_optarg ;;
1977 -disable-* | --disable-*)
1978 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1979 # Reject names that are not valid shell variable names.
1980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1981 as_fn_error $? "invalid feature name: $ac_useropt"
1982 ac_useropt_orig=$ac_useropt
1983 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1984 case $ac_user_opts in
1986 "enable_$ac_useropt"
1987 "*) ;;
1988 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1989 ac_unrecognized_sep=', ';;
1990 esac
1991 eval enable_$ac_useropt=no ;;
1993 -docdir | --docdir | --docdi | --doc | --do)
1994 ac_prev=docdir ;;
1995 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1996 docdir=$ac_optarg ;;
1998 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1999 ac_prev=dvidir ;;
2000 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2001 dvidir=$ac_optarg ;;
2003 -enable-* | --enable-*)
2004 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2005 # Reject names that are not valid shell variable names.
2006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2007 as_fn_error $? "invalid feature name: $ac_useropt"
2008 ac_useropt_orig=$ac_useropt
2009 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2010 case $ac_user_opts in
2012 "enable_$ac_useropt"
2013 "*) ;;
2014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2015 ac_unrecognized_sep=', ';;
2016 esac
2017 eval enable_$ac_useropt=\$ac_optarg ;;
2019 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2020 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2021 | --exec | --exe | --ex)
2022 ac_prev=exec_prefix ;;
2023 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2024 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2025 | --exec=* | --exe=* | --ex=*)
2026 exec_prefix=$ac_optarg ;;
2028 -gas | --gas | --ga | --g)
2029 # Obsolete; use --with-gas.
2030 with_gas=yes ;;
2032 -help | --help | --hel | --he | -h)
2033 ac_init_help=long ;;
2034 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2035 ac_init_help=recursive ;;
2036 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2037 ac_init_help=short ;;
2039 -host | --host | --hos | --ho)
2040 ac_prev=host_alias ;;
2041 -host=* | --host=* | --hos=* | --ho=*)
2042 host_alias=$ac_optarg ;;
2044 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2045 ac_prev=htmldir ;;
2046 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2047 | --ht=*)
2048 htmldir=$ac_optarg ;;
2050 -includedir | --includedir | --includedi | --included | --include \
2051 | --includ | --inclu | --incl | --inc)
2052 ac_prev=includedir ;;
2053 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2054 | --includ=* | --inclu=* | --incl=* | --inc=*)
2055 includedir=$ac_optarg ;;
2057 -infodir | --infodir | --infodi | --infod | --info | --inf)
2058 ac_prev=infodir ;;
2059 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2060 infodir=$ac_optarg ;;
2062 -libdir | --libdir | --libdi | --libd)
2063 ac_prev=libdir ;;
2064 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2065 libdir=$ac_optarg ;;
2067 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2068 | --libexe | --libex | --libe)
2069 ac_prev=libexecdir ;;
2070 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2071 | --libexe=* | --libex=* | --libe=*)
2072 libexecdir=$ac_optarg ;;
2074 -localedir | --localedir | --localedi | --localed | --locale)
2075 ac_prev=localedir ;;
2076 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2077 localedir=$ac_optarg ;;
2079 -localstatedir | --localstatedir | --localstatedi | --localstated \
2080 | --localstate | --localstat | --localsta | --localst | --locals)
2081 ac_prev=localstatedir ;;
2082 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2083 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2084 localstatedir=$ac_optarg ;;
2086 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2087 ac_prev=mandir ;;
2088 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2089 mandir=$ac_optarg ;;
2091 -nfp | --nfp | --nf)
2092 # Obsolete; use --without-fp.
2093 with_fp=no ;;
2095 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2096 | --no-cr | --no-c | -n)
2097 no_create=yes ;;
2099 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2100 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2101 no_recursion=yes ;;
2103 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2104 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2105 | --oldin | --oldi | --old | --ol | --o)
2106 ac_prev=oldincludedir ;;
2107 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2108 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2109 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2110 oldincludedir=$ac_optarg ;;
2112 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2113 ac_prev=prefix ;;
2114 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2115 prefix=$ac_optarg ;;
2117 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2118 | --program-pre | --program-pr | --program-p)
2119 ac_prev=program_prefix ;;
2120 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2121 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2122 program_prefix=$ac_optarg ;;
2124 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2125 | --program-suf | --program-su | --program-s)
2126 ac_prev=program_suffix ;;
2127 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2128 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2129 program_suffix=$ac_optarg ;;
2131 -program-transform-name | --program-transform-name \
2132 | --program-transform-nam | --program-transform-na \
2133 | --program-transform-n | --program-transform- \
2134 | --program-transform | --program-transfor \
2135 | --program-transfo | --program-transf \
2136 | --program-trans | --program-tran \
2137 | --progr-tra | --program-tr | --program-t)
2138 ac_prev=program_transform_name ;;
2139 -program-transform-name=* | --program-transform-name=* \
2140 | --program-transform-nam=* | --program-transform-na=* \
2141 | --program-transform-n=* | --program-transform-=* \
2142 | --program-transform=* | --program-transfor=* \
2143 | --program-transfo=* | --program-transf=* \
2144 | --program-trans=* | --program-tran=* \
2145 | --progr-tra=* | --program-tr=* | --program-t=*)
2146 program_transform_name=$ac_optarg ;;
2148 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2149 ac_prev=pdfdir ;;
2150 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2151 pdfdir=$ac_optarg ;;
2153 -psdir | --psdir | --psdi | --psd | --ps)
2154 ac_prev=psdir ;;
2155 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2156 psdir=$ac_optarg ;;
2158 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2159 | -silent | --silent | --silen | --sile | --sil)
2160 silent=yes ;;
2162 -runstatedir | --runstatedir | --runstatedi | --runstated \
2163 | --runstate | --runstat | --runsta | --runst | --runs \
2164 | --run | --ru | --r)
2165 ac_prev=runstatedir ;;
2166 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2167 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2168 | --run=* | --ru=* | --r=*)
2169 runstatedir=$ac_optarg ;;
2171 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2172 ac_prev=sbindir ;;
2173 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2174 | --sbi=* | --sb=*)
2175 sbindir=$ac_optarg ;;
2177 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2178 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2179 | --sharedst | --shareds | --shared | --share | --shar \
2180 | --sha | --sh)
2181 ac_prev=sharedstatedir ;;
2182 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2183 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2184 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2185 | --sha=* | --sh=*)
2186 sharedstatedir=$ac_optarg ;;
2188 -site | --site | --sit)
2189 ac_prev=site ;;
2190 -site=* | --site=* | --sit=*)
2191 site=$ac_optarg ;;
2193 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2194 ac_prev=srcdir ;;
2195 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2196 srcdir=$ac_optarg ;;
2198 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2199 | --syscon | --sysco | --sysc | --sys | --sy)
2200 ac_prev=sysconfdir ;;
2201 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2202 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2203 sysconfdir=$ac_optarg ;;
2205 -target | --target | --targe | --targ | --tar | --ta | --t)
2206 ac_prev=target_alias ;;
2207 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2208 target_alias=$ac_optarg ;;
2210 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2211 verbose=yes ;;
2213 -version | --version | --versio | --versi | --vers | -V)
2214 ac_init_version=: ;;
2216 -with-* | --with-*)
2217 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2218 # Reject names that are not valid shell variable names.
2219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2220 as_fn_error $? "invalid package name: $ac_useropt"
2221 ac_useropt_orig=$ac_useropt
2222 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2223 case $ac_user_opts in
2225 "with_$ac_useropt"
2226 "*) ;;
2227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2228 ac_unrecognized_sep=', ';;
2229 esac
2230 eval with_$ac_useropt=\$ac_optarg ;;
2232 -without-* | --without-*)
2233 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2234 # Reject names that are not valid shell variable names.
2235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2236 as_fn_error $? "invalid package name: $ac_useropt"
2237 ac_useropt_orig=$ac_useropt
2238 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2239 case $ac_user_opts in
2241 "with_$ac_useropt"
2242 "*) ;;
2243 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2244 ac_unrecognized_sep=', ';;
2245 esac
2246 eval with_$ac_useropt=no ;;
2248 --x)
2249 # Obsolete; use --with-x.
2250 with_x=yes ;;
2252 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2253 | --x-incl | --x-inc | --x-in | --x-i)
2254 ac_prev=x_includes ;;
2255 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2256 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2257 x_includes=$ac_optarg ;;
2259 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2260 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2261 ac_prev=x_libraries ;;
2262 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2263 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2264 x_libraries=$ac_optarg ;;
2266 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2267 Try \`$0 --help' for more information"
2270 *=*)
2271 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2272 # Reject names that are not valid shell variable names.
2273 case $ac_envvar in #(
2274 '' | [0-9]* | *[!_$as_cr_alnum]* )
2275 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2276 esac
2277 eval $ac_envvar=\$ac_optarg
2278 export $ac_envvar ;;
2281 # FIXME: should be removed in autoconf 3.0.
2282 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2283 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2284 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2285 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2288 esac
2289 done
2291 if test -n "$ac_prev"; then
2292 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2293 as_fn_error $? "missing argument to $ac_option"
2296 if test -n "$ac_unrecognized_opts"; then
2297 case $enable_option_checking in
2298 no) ;;
2299 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2300 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2301 esac
2304 # Check all directory arguments for consistency.
2305 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2306 datadir sysconfdir sharedstatedir localstatedir includedir \
2307 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2308 libdir localedir mandir runstatedir
2310 eval ac_val=\$$ac_var
2311 # Remove trailing slashes.
2312 case $ac_val in
2313 */ )
2314 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2315 eval $ac_var=\$ac_val;;
2316 esac
2317 # Be sure to have absolute directory names.
2318 case $ac_val in
2319 [\\/$]* | ?:[\\/]* ) continue;;
2320 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2321 esac
2322 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2323 done
2325 # There might be people who depend on the old broken behavior: `$host'
2326 # used to hold the argument of --host etc.
2327 # FIXME: To remove some day.
2328 build=$build_alias
2329 host=$host_alias
2330 target=$target_alias
2332 # FIXME: To remove some day.
2333 if test "x$host_alias" != x; then
2334 if test "x$build_alias" = x; then
2335 cross_compiling=maybe
2336 elif test "x$build_alias" != "x$host_alias"; then
2337 cross_compiling=yes
2341 ac_tool_prefix=
2342 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2344 test "$silent" = yes && exec 6>/dev/null
2347 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2348 ac_ls_di=`ls -di .` &&
2349 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2350 as_fn_error $? "working directory cannot be determined"
2351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2352 as_fn_error $? "pwd does not report name of working directory"
2355 # Find the source files, if location was not specified.
2356 if test -z "$srcdir"; then
2357 ac_srcdir_defaulted=yes
2358 # Try the directory containing this script, then the parent directory.
2359 ac_confdir=`$as_dirname -- "$as_myself" ||
2360 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2361 X"$as_myself" : 'X\(//\)[^/]' \| \
2362 X"$as_myself" : 'X\(//\)$' \| \
2363 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2364 $as_echo X"$as_myself" |
2365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2366 s//\1/
2369 /^X\(\/\/\)[^/].*/{
2370 s//\1/
2373 /^X\(\/\/\)$/{
2374 s//\1/
2377 /^X\(\/\).*/{
2378 s//\1/
2381 s/.*/./; q'`
2382 srcdir=$ac_confdir
2383 if test ! -r "$srcdir/$ac_unique_file"; then
2384 srcdir=..
2386 else
2387 ac_srcdir_defaulted=no
2389 if test ! -r "$srcdir/$ac_unique_file"; then
2390 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2391 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2393 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2394 ac_abs_confdir=`(
2395 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2396 pwd)`
2397 # When building in place, set srcdir=.
2398 if test "$ac_abs_confdir" = "$ac_pwd"; then
2399 srcdir=.
2401 # Remove unnecessary trailing slashes from srcdir.
2402 # Double slashes in file names in object file debugging info
2403 # mess up M-x gdb in Emacs.
2404 case $srcdir in
2405 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2406 esac
2407 for ac_var in $ac_precious_vars; do
2408 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2409 eval ac_env_${ac_var}_value=\$${ac_var}
2410 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2411 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2412 done
2415 # Report the --help message.
2417 if test "$ac_init_help" = "long"; then
2418 # Omit some internal or obsolete options to make the list less imposing.
2419 # This message is too long to be a string in the A/UX 3.1 sh.
2420 cat <<_ACEOF
2421 \`configure' configures Wine 4.8 to adapt to many kinds of systems.
2423 Usage: $0 [OPTION]... [VAR=VALUE]...
2425 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2426 VAR=VALUE. See below for descriptions of some of the useful variables.
2428 Defaults for the options are specified in brackets.
2430 Configuration:
2431 -h, --help display this help and exit
2432 --help=short display options specific to this package
2433 --help=recursive display the short help of all the included packages
2434 -V, --version display version information and exit
2435 -q, --quiet, --silent do not print \`checking ...' messages
2436 --cache-file=FILE cache test results in FILE [disabled]
2437 -C, --config-cache alias for \`--cache-file=config.cache'
2438 -n, --no-create do not create output files
2439 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2441 Installation directories:
2442 --prefix=PREFIX install architecture-independent files in PREFIX
2443 [$ac_default_prefix]
2444 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2445 [PREFIX]
2447 By default, \`make install' will install all the files in
2448 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2449 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2450 for instance \`--prefix=\$HOME'.
2452 For better control, use the options below.
2454 Fine tuning of the installation directories:
2455 --bindir=DIR user executables [EPREFIX/bin]
2456 --sbindir=DIR system admin executables [EPREFIX/sbin]
2457 --libexecdir=DIR program executables [EPREFIX/libexec]
2458 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2459 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2460 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2461 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2462 --libdir=DIR object code libraries [EPREFIX/lib]
2463 --includedir=DIR C header files [PREFIX/include]
2464 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2465 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2466 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2467 --infodir=DIR info documentation [DATAROOTDIR/info]
2468 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2469 --mandir=DIR man documentation [DATAROOTDIR/man]
2470 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2471 --htmldir=DIR html documentation [DOCDIR]
2472 --dvidir=DIR dvi documentation [DOCDIR]
2473 --pdfdir=DIR pdf documentation [DOCDIR]
2474 --psdir=DIR ps documentation [DOCDIR]
2475 _ACEOF
2477 cat <<\_ACEOF
2479 X features:
2480 --x-includes=DIR X include files are in DIR
2481 --x-libraries=DIR X library files are in DIR
2483 System types:
2484 --build=BUILD configure for building on BUILD [guessed]
2485 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2486 _ACEOF
2489 if test -n "$ac_init_help"; then
2490 case $ac_init_help in
2491 short | recursive ) echo "Configuration of Wine 4.8:";;
2492 esac
2493 cat <<\_ACEOF
2495 Optional Features:
2496 --disable-option-checking ignore unrecognized --enable/--with options
2497 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2498 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2499 --disable-win16 do not include Win16 support
2500 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2501 binaries)
2502 --disable-tests do not build the regression tests
2503 --enable-maintainer-mode
2504 enable maintainer-specific build rules
2505 --disable-largefile omit support for large files
2507 Optional Packages:
2508 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2509 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2510 --without-alsa do not use the Alsa sound support
2511 --without-capi do not use CAPI (ISDN support)
2512 --without-cms do not use CMS (color management support)
2513 --without-coreaudio do not use the CoreAudio sound support
2514 --without-cups do not use CUPS
2515 --without-curses do not use (n)curses
2516 --without-dbus do not use DBus (dynamic device support)
2517 --without-faudio do not use FAudio (XAudio2 support)
2518 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2519 --without-fontconfig do not use fontconfig
2520 --without-freetype do not use the FreeType library
2521 --without-gettext do not use gettext
2522 --with-gettextpo use the GetTextPO library to rebuild po files
2523 --without-gphoto do not use gphoto (Digital Camera support)
2524 --without-glu do not use the GLU library
2525 --without-gnutls do not use GnuTLS (schannel support)
2526 --without-gsm do not use libgsm (GSM 06.10 codec support)
2527 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2528 --without-gstreamer do not use GStreamer (codecs support)
2529 --without-hal do not use HAL (dynamic device support)
2530 --without-inotify do not use inotify (filesystem change notifications)
2531 --without-jpeg do not use JPEG
2532 --without-krb5 do not use krb5 (Kerberos)
2533 --without-ldap do not use LDAP
2534 --without-mingw do not use the MinGW cross-compiler
2535 --without-mpg123 do not use the mpg123 library
2536 --without-netapi do not use the Samba NetAPI library
2537 --without-openal do not use OpenAL
2538 --without-opencl do not use OpenCL
2539 --without-opengl do not use OpenGL
2540 --without-osmesa do not use the OSMesa library
2541 --without-oss do not use the OSS sound support
2542 --without-pcap do not use the Packet Capture library
2543 --without-png do not use PNG
2544 --without-pthread do not use the pthread library
2545 --without-pulse do not use PulseAudio sound support
2546 --without-sane do not use SANE (scanner support)
2547 --without-sdl do not use SDL
2548 --without-tiff do not use TIFF
2549 --without-udev do not use udev (plug and play support)
2550 --without-v4l2 do not use v4l2 (video capture)
2551 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2552 --without-vulkan do not use Vulkan
2553 --without-xcomposite do not use the Xcomposite extension
2554 --without-xcursor do not use the Xcursor extension
2555 --without-xfixes do not use Xfixes for clipboard change notifications
2556 --without-xinerama do not use Xinerama (multi-monitor support)
2557 --without-xinput do not use the Xinput extension
2558 --without-xinput2 do not use the Xinput 2 extension
2559 --without-xml do not use XML
2560 --without-xrandr do not use Xrandr (resolution changes)
2561 --without-xrender do not use the Xrender extension
2562 --without-xshape do not use the Xshape extension
2563 --without-xshm do not use XShm (shared memory extension)
2564 --without-xslt do not use XSLT
2565 --without-xxf86vm do not use XFree video mode extension
2566 --without-zlib do not use Zlib (data compression)
2567 --with-wine-tools=DIR use Wine tools from directory DIR
2568 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2569 --with-x use the X Window System
2571 Some influential environment variables:
2572 CC C compiler command
2573 CFLAGS C compiler flags
2574 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2575 nonstandard directory <lib dir>
2576 LIBS libraries to pass to the linker, e.g. -l<library>
2577 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2578 you have headers in a nonstandard directory <include dir>
2579 CXX C++ compiler command
2580 CXXFLAGS C++ compiler flags
2581 CPP C preprocessor
2582 OBJC Objective C compiler command
2583 OBJCFLAGS Objective C compiler flags
2584 OBJCPP Objective C preprocessor
2585 XMKMF Path to xmkmf, Makefile generator for X Window System
2586 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2587 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2588 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2589 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2590 INOTIFY_CFLAGS
2591 C compiler flags for libinotify, overriding pkg-config
2592 INOTIFY_LIBS
2593 Linker flags for libinotify, overriding pkg-config
2594 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2595 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2596 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2597 HAL_LIBS Linker flags for hal, overriding pkg-config
2598 GNUTLS_CFLAGS
2599 C compiler flags for gnutls, overriding pkg-config
2600 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2601 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2602 SANE_LIBS Linker flags for libsane, overriding pkg-config
2603 GPHOTO2_CFLAGS
2604 C compiler flags for libgphoto2, overriding pkg-config
2605 GPHOTO2_LIBS
2606 Linker flags for libgphoto2, overriding pkg-config
2607 GPHOTO2_PORT_CFLAGS
2608 C compiler flags for libgphoto2_port, overriding pkg-config
2609 GPHOTO2_PORT_LIBS
2610 Linker flags for libgphoto2_port, overriding pkg-config
2611 LCMS2_CFLAGS
2612 C compiler flags for lcms2, overriding pkg-config
2613 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2614 FREETYPE_CFLAGS
2615 C compiler flags for freetype2, overriding pkg-config
2616 FREETYPE_LIBS
2617 Linker flags for freetype2, overriding pkg-config
2618 PULSE_CFLAGS
2619 C compiler flags for libpulse, overriding pkg-config
2620 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2621 GSTREAMER_CFLAGS
2622 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2623 gstreamer-audio-1.0, overriding pkg-config
2624 GSTREAMER_LIBS
2625 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2626 gstreamer-audio-1.0, overriding pkg-config
2627 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2628 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2629 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2630 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2631 FAUDIO_CFLAGS
2632 C compiler flags for faudio, overriding pkg-config
2633 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2634 CAPI20_CFLAGS
2635 C compiler flags for capi20, overriding pkg-config
2636 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2637 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2638 CUPS_LIBS Linker flags for cups, overriding pkg-config
2639 FONTCONFIG_CFLAGS
2640 C compiler flags for fontconfig, overriding pkg-config
2641 FONTCONFIG_LIBS
2642 Linker flags for fontconfig, overriding pkg-config
2643 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2644 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2645 GSSAPI_CFLAGS
2646 C compiler flags for krb5-gssapi, overriding pkg-config
2647 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2648 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2649 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2650 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2651 PNG_LIBS Linker flags for libpng, overriding pkg-config
2652 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2653 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2654 MPG123_CFLAGS
2655 C compiler flags for libmpg123, overriding pkg-config
2656 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2657 NETAPI_CFLAGS
2658 C compiler flags for netapi, overriding pkg-config
2659 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2660 VKD3D_CFLAGS
2661 C compiler flags for libvkd3d, overriding pkg-config
2662 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2663 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2664 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2666 Use these variables to override the choices made by `configure' or to help
2667 it to find libraries and programs with nonstandard names/locations.
2669 Report bugs to <wine-devel@winehq.org>.
2670 Wine home page: <https://www.winehq.org>.
2671 _ACEOF
2672 ac_status=$?
2675 if test "$ac_init_help" = "recursive"; then
2676 # If there are subdirs, report their specific --help.
2677 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2678 test -d "$ac_dir" ||
2679 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2680 continue
2681 ac_builddir=.
2683 case "$ac_dir" in
2684 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2686 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2687 # A ".." for each directory in $ac_dir_suffix.
2688 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2689 case $ac_top_builddir_sub in
2690 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2691 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2692 esac ;;
2693 esac
2694 ac_abs_top_builddir=$ac_pwd
2695 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2696 # for backward compatibility:
2697 ac_top_builddir=$ac_top_build_prefix
2699 case $srcdir in
2700 .) # We are building in place.
2701 ac_srcdir=.
2702 ac_top_srcdir=$ac_top_builddir_sub
2703 ac_abs_top_srcdir=$ac_pwd ;;
2704 [\\/]* | ?:[\\/]* ) # Absolute name.
2705 ac_srcdir=$srcdir$ac_dir_suffix;
2706 ac_top_srcdir=$srcdir
2707 ac_abs_top_srcdir=$srcdir ;;
2708 *) # Relative name.
2709 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2710 ac_top_srcdir=$ac_top_build_prefix$srcdir
2711 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2712 esac
2713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2715 cd "$ac_dir" || { ac_status=$?; continue; }
2716 # Check for guested configure.
2717 if test -f "$ac_srcdir/configure.gnu"; then
2718 echo &&
2719 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2720 elif test -f "$ac_srcdir/configure"; then
2721 echo &&
2722 $SHELL "$ac_srcdir/configure" --help=recursive
2723 else
2724 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2725 fi || ac_status=$?
2726 cd "$ac_pwd" || { ac_status=$?; break; }
2727 done
2730 test -n "$ac_init_help" && exit $ac_status
2731 if $ac_init_version; then
2732 cat <<\_ACEOF
2733 Wine configure 4.8
2734 generated by GNU Autoconf 2.69
2736 Copyright (C) 2012 Free Software Foundation, Inc.
2737 This configure script is free software; the Free Software Foundation
2738 gives unlimited permission to copy, distribute and modify it.
2739 _ACEOF
2740 exit
2743 ## ------------------------ ##
2744 ## Autoconf initialization. ##
2745 ## ------------------------ ##
2747 # ac_fn_c_try_compile LINENO
2748 # --------------------------
2749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2750 ac_fn_c_try_compile ()
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 rm -f conftest.$ac_objext
2754 if { { ac_try="$ac_compile"
2755 case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2758 esac
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_compile") 2>conftest.err
2762 ac_status=$?
2763 if test -s conftest.err; then
2764 grep -v '^ *+' conftest.err >conftest.er1
2765 cat conftest.er1 >&5
2766 mv -f conftest.er1 conftest.err
2768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2769 test $ac_status = 0; } && {
2770 test -z "$ac_c_werror_flag" ||
2771 test ! -s conftest.err
2772 } && test -s conftest.$ac_objext; then :
2773 ac_retval=0
2774 else
2775 $as_echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.$ac_ext >&5
2778 ac_retval=1
2780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781 as_fn_set_status $ac_retval
2783 } # ac_fn_c_try_compile
2785 # ac_fn_cxx_try_compile LINENO
2786 # ----------------------------
2787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2788 ac_fn_cxx_try_compile ()
2790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2791 rm -f conftest.$ac_objext
2792 if { { ac_try="$ac_compile"
2793 case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 $as_echo "$ac_try_echo"; } >&5
2799 (eval "$ac_compile") 2>conftest.err
2800 ac_status=$?
2801 if test -s conftest.err; then
2802 grep -v '^ *+' conftest.err >conftest.er1
2803 cat conftest.er1 >&5
2804 mv -f conftest.er1 conftest.err
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; } && {
2808 test -z "$ac_cxx_werror_flag" ||
2809 test ! -s conftest.err
2810 } && test -s conftest.$ac_objext; then :
2811 ac_retval=0
2812 else
2813 $as_echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.$ac_ext >&5
2816 ac_retval=1
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 as_fn_set_status $ac_retval
2821 } # ac_fn_cxx_try_compile
2823 # ac_fn_c_try_link LINENO
2824 # -----------------------
2825 # Try to link conftest.$ac_ext, and return whether this succeeded.
2826 ac_fn_c_try_link ()
2828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829 rm -f conftest.$ac_objext conftest$ac_exeext
2830 if { { ac_try="$ac_link"
2831 case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2834 esac
2835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836 $as_echo "$ac_try_echo"; } >&5
2837 (eval "$ac_link") 2>conftest.err
2838 ac_status=$?
2839 if test -s conftest.err; then
2840 grep -v '^ *+' conftest.err >conftest.er1
2841 cat conftest.er1 >&5
2842 mv -f conftest.er1 conftest.err
2844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2845 test $ac_status = 0; } && {
2846 test -z "$ac_c_werror_flag" ||
2847 test ! -s conftest.err
2848 } && test -s conftest$ac_exeext && {
2849 test "$cross_compiling" = yes ||
2850 test -x conftest$ac_exeext
2851 }; then :
2852 ac_retval=0
2853 else
2854 $as_echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2857 ac_retval=1
2859 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2860 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2861 # interfere with the next link command; also delete a directory that is
2862 # left behind by Apple's compiler. We do this before executing the actions.
2863 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2865 as_fn_set_status $ac_retval
2867 } # ac_fn_c_try_link
2869 # ac_fn_c_try_cpp LINENO
2870 # ----------------------
2871 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2872 ac_fn_c_try_cpp ()
2874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875 if { { ac_try="$ac_cpp conftest.$ac_ext"
2876 case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2883 ac_status=$?
2884 if test -s conftest.err; then
2885 grep -v '^ *+' conftest.err >conftest.er1
2886 cat conftest.er1 >&5
2887 mv -f conftest.er1 conftest.err
2889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890 test $ac_status = 0; } > conftest.i && {
2891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 }; then :
2894 ac_retval=0
2895 else
2896 $as_echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2899 ac_retval=1
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 as_fn_set_status $ac_retval
2904 } # ac_fn_c_try_cpp
2906 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2907 # -------------------------------------------------------
2908 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2909 # the include files in INCLUDES and setting the cache variable VAR
2910 # accordingly.
2911 ac_fn_c_check_header_mongrel ()
2913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2914 if eval \${$3+:} false; then :
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2916 $as_echo_n "checking for $2... " >&6; }
2917 if eval \${$3+:} false; then :
2918 $as_echo_n "(cached) " >&6
2920 eval ac_res=\$$3
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2922 $as_echo "$ac_res" >&6; }
2923 else
2924 # Is the header compilable?
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2926 $as_echo_n "checking $2 usability... " >&6; }
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2930 #include <$2>
2931 _ACEOF
2932 if ac_fn_c_try_compile "$LINENO"; then :
2933 ac_header_compiler=yes
2934 else
2935 ac_header_compiler=no
2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2939 $as_echo "$ac_header_compiler" >&6; }
2941 # Is the header present?
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2943 $as_echo_n "checking $2 presence... " >&6; }
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2946 #include <$2>
2947 _ACEOF
2948 if ac_fn_c_try_cpp "$LINENO"; then :
2949 ac_header_preproc=yes
2950 else
2951 ac_header_preproc=no
2953 rm -f conftest.err conftest.i conftest.$ac_ext
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2955 $as_echo "$ac_header_preproc" >&6; }
2957 # So? What about this header?
2958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2959 yes:no: )
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2961 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2963 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2965 no:yes:* )
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2967 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2969 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2971 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2973 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2975 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2976 ( $as_echo "## ------------------------------------ ##
2977 ## Report this to wine-devel@winehq.org ##
2978 ## ------------------------------------ ##"
2979 ) | sed "s/^/$as_me: WARNING: /" >&2
2981 esac
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2983 $as_echo_n "checking for $2... " >&6; }
2984 if eval \${$3+:} false; then :
2985 $as_echo_n "(cached) " >&6
2986 else
2987 eval "$3=\$ac_header_compiler"
2989 eval ac_res=\$$3
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2991 $as_echo "$ac_res" >&6; }
2993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2995 } # ac_fn_c_check_header_mongrel
2997 # ac_fn_c_try_run LINENO
2998 # ----------------------
2999 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3000 # that executables *can* be run.
3001 ac_fn_c_try_run ()
3003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3004 if { { ac_try="$ac_link"
3005 case "(($ac_try" in
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3008 esac
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_link") 2>&5
3012 ac_status=$?
3013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3015 { { case "(($ac_try" in
3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017 *) ac_try_echo=$ac_try;;
3018 esac
3019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3020 $as_echo "$ac_try_echo"; } >&5
3021 (eval "$ac_try") 2>&5
3022 ac_status=$?
3023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3024 test $ac_status = 0; }; }; then :
3025 ac_retval=0
3026 else
3027 $as_echo "$as_me: program exited with status $ac_status" >&5
3028 $as_echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.$ac_ext >&5
3031 ac_retval=$ac_status
3033 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3035 as_fn_set_status $ac_retval
3037 } # ac_fn_c_try_run
3039 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3040 # -------------------------------------------------------
3041 # Tests whether HEADER exists and can be compiled using the include files in
3042 # INCLUDES, setting the cache variable VAR accordingly.
3043 ac_fn_c_check_header_compile ()
3045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3047 $as_echo_n "checking for $2... " >&6; }
3048 if eval \${$3+:} false; then :
3049 $as_echo_n "(cached) " >&6
3050 else
3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3052 /* end confdefs.h. */
3054 #include <$2>
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 eval "$3=yes"
3058 else
3059 eval "$3=no"
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 eval ac_res=\$$3
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3065 $as_echo "$ac_res" >&6; }
3066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3068 } # ac_fn_c_check_header_compile
3070 # ac_fn_objc_try_compile LINENO
3071 # -----------------------------
3072 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3073 ac_fn_objc_try_compile ()
3075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076 rm -f conftest.$ac_objext
3077 if { { ac_try="$ac_compile"
3078 case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3081 esac
3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084 (eval "$ac_compile") 2>conftest.err
3085 ac_status=$?
3086 if test -s conftest.err; then
3087 grep -v '^ *+' conftest.err >conftest.er1
3088 cat conftest.er1 >&5
3089 mv -f conftest.er1 conftest.err
3091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3092 test $ac_status = 0; } && {
3093 test -z "$ac_objc_werror_flag" ||
3094 test ! -s conftest.err
3095 } && test -s conftest.$ac_objext; then :
3096 ac_retval=0
3097 else
3098 $as_echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3101 ac_retval=1
3103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3104 as_fn_set_status $ac_retval
3106 } # ac_fn_objc_try_compile
3108 # ac_fn_objc_try_cpp LINENO
3109 # -------------------------
3110 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3111 ac_fn_objc_try_cpp ()
3113 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3114 if { { ac_try="$ac_cpp conftest.$ac_ext"
3115 case "(($ac_try" in
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3118 esac
3119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3122 ac_status=$?
3123 if test -s conftest.err; then
3124 grep -v '^ *+' conftest.err >conftest.er1
3125 cat conftest.er1 >&5
3126 mv -f conftest.er1 conftest.err
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; } > conftest.i && {
3130 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3131 test ! -s conftest.err
3132 }; then :
3133 ac_retval=0
3134 else
3135 $as_echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3138 ac_retval=1
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3141 as_fn_set_status $ac_retval
3143 } # ac_fn_objc_try_cpp
3145 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3146 # ----------------------------------------------------------
3147 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3148 # the include files in INCLUDES and setting the cache variable VAR
3149 # accordingly.
3150 ac_fn_objc_check_header_mongrel ()
3152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3153 if eval \${$3+:} false; then :
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3155 $as_echo_n "checking for $2... " >&6; }
3156 if eval \${$3+:} false; then :
3157 $as_echo_n "(cached) " >&6
3159 eval ac_res=\$$3
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3161 $as_echo "$ac_res" >&6; }
3162 else
3163 # Is the header compilable?
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3165 $as_echo_n "checking $2 usability... " >&6; }
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3169 #include <$2>
3170 _ACEOF
3171 if ac_fn_objc_try_compile "$LINENO"; then :
3172 ac_header_compiler=yes
3173 else
3174 ac_header_compiler=no
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3178 $as_echo "$ac_header_compiler" >&6; }
3180 # Is the header present?
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3182 $as_echo_n "checking $2 presence... " >&6; }
3183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184 /* end confdefs.h. */
3185 #include <$2>
3186 _ACEOF
3187 if ac_fn_objc_try_cpp "$LINENO"; then :
3188 ac_header_preproc=yes
3189 else
3190 ac_header_preproc=no
3192 rm -f conftest.err conftest.i conftest.$ac_ext
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3194 $as_echo "$ac_header_preproc" >&6; }
3196 # So? What about this header?
3197 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3198 yes:no: )
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3200 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3204 no:yes:* )
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3206 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3208 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3210 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3212 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3214 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3215 ( $as_echo "## ------------------------------------ ##
3216 ## Report this to wine-devel@winehq.org ##
3217 ## ------------------------------------ ##"
3218 ) | sed "s/^/$as_me: WARNING: /" >&2
3220 esac
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3222 $as_echo_n "checking for $2... " >&6; }
3223 if eval \${$3+:} false; then :
3224 $as_echo_n "(cached) " >&6
3225 else
3226 eval "$3=\$ac_header_compiler"
3228 eval ac_res=\$$3
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3230 $as_echo "$ac_res" >&6; }
3232 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3234 } # ac_fn_objc_check_header_mongrel
3236 # ac_fn_c_check_func LINENO FUNC VAR
3237 # ----------------------------------
3238 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3239 ac_fn_c_check_func ()
3241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3243 $as_echo_n "checking for $2... " >&6; }
3244 if eval \${$3+:} false; then :
3245 $as_echo_n "(cached) " >&6
3246 else
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3249 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3251 #define $2 innocuous_$2
3253 /* System header to define __stub macros and hopefully few prototypes,
3254 which can conflict with char $2 (); below.
3255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3256 <limits.h> exists even on freestanding compilers. */
3258 #ifdef __STDC__
3259 # include <limits.h>
3260 #else
3261 # include <assert.h>
3262 #endif
3264 #undef $2
3266 /* Override any GCC internal prototype to avoid an error.
3267 Use char because int might match the return type of a GCC
3268 builtin and then its argument prototype would still apply. */
3269 #ifdef __cplusplus
3270 extern "C"
3271 #endif
3272 char $2 ();
3273 /* The GNU C library defines this for functions which it implements
3274 to always fail with ENOSYS. Some functions are actually named
3275 something starting with __ and the normal name is an alias. */
3276 #if defined __stub_$2 || defined __stub___$2
3277 choke me
3278 #endif
3281 main ()
3283 return $2 ();
3285 return 0;
3287 _ACEOF
3288 if ac_fn_c_try_link "$LINENO"; then :
3289 eval "$3=yes"
3290 else
3291 eval "$3=no"
3293 rm -f core conftest.err conftest.$ac_objext \
3294 conftest$ac_exeext conftest.$ac_ext
3296 eval ac_res=\$$3
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3298 $as_echo "$ac_res" >&6; }
3299 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3301 } # ac_fn_c_check_func
3303 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3304 # ----------------------------------------------------
3305 # Tries to find if the field MEMBER exists in type AGGR, after including
3306 # INCLUDES, setting cache variable VAR accordingly.
3307 ac_fn_c_check_member ()
3309 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3311 $as_echo_n "checking for $2.$3... " >&6; }
3312 if eval \${$4+:} false; then :
3313 $as_echo_n "(cached) " >&6
3314 else
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3319 main ()
3321 static $2 ac_aggr;
3322 if (ac_aggr.$3)
3323 return 0;
3325 return 0;
3327 _ACEOF
3328 if ac_fn_c_try_compile "$LINENO"; then :
3329 eval "$4=yes"
3330 else
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3335 main ()
3337 static $2 ac_aggr;
3338 if (sizeof ac_aggr.$3)
3339 return 0;
3341 return 0;
3343 _ACEOF
3344 if ac_fn_c_try_compile "$LINENO"; then :
3345 eval "$4=yes"
3346 else
3347 eval "$4=no"
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 eval ac_res=\$$4
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3355 $as_echo "$ac_res" >&6; }
3356 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3358 } # ac_fn_c_check_member
3360 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3361 # -------------------------------------------
3362 # Tests whether TYPE exists after having included INCLUDES, setting cache
3363 # variable VAR accordingly.
3364 ac_fn_c_check_type ()
3366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3368 $as_echo_n "checking for $2... " >&6; }
3369 if eval \${$3+:} false; then :
3370 $as_echo_n "(cached) " >&6
3371 else
3372 eval "$3=no"
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3377 main ()
3379 if (sizeof ($2))
3380 return 0;
3382 return 0;
3384 _ACEOF
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3390 main ()
3392 if (sizeof (($2)))
3393 return 0;
3395 return 0;
3397 _ACEOF
3398 if ac_fn_c_try_compile "$LINENO"; then :
3400 else
3401 eval "$3=yes"
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 eval ac_res=\$$3
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3409 $as_echo "$ac_res" >&6; }
3410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3412 } # ac_fn_c_check_type
3413 cat >config.log <<_ACEOF
3414 This file contains any messages produced by compilers while
3415 running configure, to aid debugging if configure makes a mistake.
3417 It was created by Wine $as_me 4.8, which was
3418 generated by GNU Autoconf 2.69. Invocation command line was
3420 $ $0 $@
3422 _ACEOF
3423 exec 5>>config.log
3425 cat <<_ASUNAME
3426 ## --------- ##
3427 ## Platform. ##
3428 ## --------- ##
3430 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3431 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3432 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3433 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3434 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3436 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3437 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3439 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3440 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3441 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3442 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3443 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3444 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3445 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3447 _ASUNAME
3449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3450 for as_dir in $PATH
3452 IFS=$as_save_IFS
3453 test -z "$as_dir" && as_dir=.
3454 $as_echo "PATH: $as_dir"
3455 done
3456 IFS=$as_save_IFS
3458 } >&5
3460 cat >&5 <<_ACEOF
3463 ## ----------- ##
3464 ## Core tests. ##
3465 ## ----------- ##
3467 _ACEOF
3470 # Keep a trace of the command line.
3471 # Strip out --no-create and --no-recursion so they do not pile up.
3472 # Strip out --silent because we don't want to record it for future runs.
3473 # Also quote any args containing shell meta-characters.
3474 # Make two passes to allow for proper duplicate-argument suppression.
3475 ac_configure_args=
3476 ac_configure_args0=
3477 ac_configure_args1=
3478 ac_must_keep_next=false
3479 for ac_pass in 1 2
3481 for ac_arg
3483 case $ac_arg in
3484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3486 | -silent | --silent | --silen | --sile | --sil)
3487 continue ;;
3488 *\'*)
3489 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3490 esac
3491 case $ac_pass in
3492 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3494 as_fn_append ac_configure_args1 " '$ac_arg'"
3495 if test $ac_must_keep_next = true; then
3496 ac_must_keep_next=false # Got value, back to normal.
3497 else
3498 case $ac_arg in
3499 *=* | --config-cache | -C | -disable-* | --disable-* \
3500 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3501 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3502 | -with-* | --with-* | -without-* | --without-* | --x)
3503 case "$ac_configure_args0 " in
3504 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3505 esac
3507 -* ) ac_must_keep_next=true ;;
3508 esac
3510 as_fn_append ac_configure_args " '$ac_arg'"
3512 esac
3513 done
3514 done
3515 { ac_configure_args0=; unset ac_configure_args0;}
3516 { ac_configure_args1=; unset ac_configure_args1;}
3518 # When interrupted or exit'd, cleanup temporary files, and complete
3519 # config.log. We remove comments because anyway the quotes in there
3520 # would cause problems or look ugly.
3521 # WARNING: Use '\'' to represent an apostrophe within the trap.
3522 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3523 trap 'exit_status=$?
3524 # Save into config.log some information that might help in debugging.
3526 echo
3528 $as_echo "## ---------------- ##
3529 ## Cache variables. ##
3530 ## ---------------- ##"
3531 echo
3532 # The following way of writing the cache mishandles newlines in values,
3534 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3535 eval ac_val=\$$ac_var
3536 case $ac_val in #(
3537 *${as_nl}*)
3538 case $ac_var in #(
3539 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3540 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3541 esac
3542 case $ac_var in #(
3543 _ | IFS | as_nl) ;; #(
3544 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3545 *) { eval $ac_var=; unset $ac_var;} ;;
3546 esac ;;
3547 esac
3548 done
3549 (set) 2>&1 |
3550 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3551 *${as_nl}ac_space=\ *)
3552 sed -n \
3553 "s/'\''/'\''\\\\'\'''\''/g;
3554 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3555 ;; #(
3557 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3559 esac |
3560 sort
3562 echo
3564 $as_echo "## ----------------- ##
3565 ## Output variables. ##
3566 ## ----------------- ##"
3567 echo
3568 for ac_var in $ac_subst_vars
3570 eval ac_val=\$$ac_var
3571 case $ac_val in
3572 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3573 esac
3574 $as_echo "$ac_var='\''$ac_val'\''"
3575 done | sort
3576 echo
3578 if test -n "$ac_subst_files"; then
3579 $as_echo "## ------------------- ##
3580 ## File substitutions. ##
3581 ## ------------------- ##"
3582 echo
3583 for ac_var in $ac_subst_files
3585 eval ac_val=\$$ac_var
3586 case $ac_val in
3587 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3588 esac
3589 $as_echo "$ac_var='\''$ac_val'\''"
3590 done | sort
3591 echo
3594 if test -s confdefs.h; then
3595 $as_echo "## ----------- ##
3596 ## confdefs.h. ##
3597 ## ----------- ##"
3598 echo
3599 cat confdefs.h
3600 echo
3602 test "$ac_signal" != 0 &&
3603 $as_echo "$as_me: caught signal $ac_signal"
3604 $as_echo "$as_me: exit $exit_status"
3605 } >&5
3606 rm -f core *.core core.conftest.* &&
3607 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3608 exit $exit_status
3610 for ac_signal in 1 2 13 15; do
3611 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3612 done
3613 ac_signal=0
3615 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3616 rm -f -r conftest* confdefs.h
3618 $as_echo "/* confdefs.h */" > confdefs.h
3620 # Predefined preprocessor variables.
3622 cat >>confdefs.h <<_ACEOF
3623 #define PACKAGE_NAME "$PACKAGE_NAME"
3624 _ACEOF
3626 cat >>confdefs.h <<_ACEOF
3627 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3628 _ACEOF
3630 cat >>confdefs.h <<_ACEOF
3631 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3632 _ACEOF
3634 cat >>confdefs.h <<_ACEOF
3635 #define PACKAGE_STRING "$PACKAGE_STRING"
3636 _ACEOF
3638 cat >>confdefs.h <<_ACEOF
3639 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3640 _ACEOF
3642 cat >>confdefs.h <<_ACEOF
3643 #define PACKAGE_URL "$PACKAGE_URL"
3644 _ACEOF
3647 # Let the site file select an alternate cache file if it wants to.
3648 # Prefer an explicitly selected file to automatically selected ones.
3649 ac_site_file1=NONE
3650 ac_site_file2=NONE
3651 if test -n "$CONFIG_SITE"; then
3652 # We do not want a PATH search for config.site.
3653 case $CONFIG_SITE in #((
3654 -*) ac_site_file1=./$CONFIG_SITE;;
3655 */*) ac_site_file1=$CONFIG_SITE;;
3656 *) ac_site_file1=./$CONFIG_SITE;;
3657 esac
3658 elif test "x$prefix" != xNONE; then
3659 ac_site_file1=$prefix/share/config.site
3660 ac_site_file2=$prefix/etc/config.site
3661 else
3662 ac_site_file1=$ac_default_prefix/share/config.site
3663 ac_site_file2=$ac_default_prefix/etc/config.site
3665 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3667 test "x$ac_site_file" = xNONE && continue
3668 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3670 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3671 sed 's/^/| /' "$ac_site_file" >&5
3672 . "$ac_site_file" \
3673 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 as_fn_error $? "failed to load site script $ac_site_file
3676 See \`config.log' for more details" "$LINENO" 5; }
3678 done
3680 if test -r "$cache_file"; then
3681 # Some versions of bash will fail to source /dev/null (special files
3682 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3683 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3685 $as_echo "$as_me: loading cache $cache_file" >&6;}
3686 case $cache_file in
3687 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3688 *) . "./$cache_file";;
3689 esac
3691 else
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3693 $as_echo "$as_me: creating cache $cache_file" >&6;}
3694 >$cache_file
3697 # Check that the precious variables saved in the cache have kept the same
3698 # value.
3699 ac_cache_corrupted=false
3700 for ac_var in $ac_precious_vars; do
3701 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3702 eval ac_new_set=\$ac_env_${ac_var}_set
3703 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3704 eval ac_new_val=\$ac_env_${ac_var}_value
3705 case $ac_old_set,$ac_new_set in
3706 set,)
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3708 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3709 ac_cache_corrupted=: ;;
3710 ,set)
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3712 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3713 ac_cache_corrupted=: ;;
3714 ,);;
3716 if test "x$ac_old_val" != "x$ac_new_val"; then
3717 # differences in whitespace do not lead to failure.
3718 ac_old_val_w=`echo x $ac_old_val`
3719 ac_new_val_w=`echo x $ac_new_val`
3720 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3722 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3723 ac_cache_corrupted=:
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3726 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3727 eval $ac_var=\$ac_old_val
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3730 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3732 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3733 fi;;
3734 esac
3735 # Pass precious variables to config.status.
3736 if test "$ac_new_set" = set; then
3737 case $ac_new_val in
3738 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3739 *) ac_arg=$ac_var=$ac_new_val ;;
3740 esac
3741 case " $ac_configure_args " in
3742 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3743 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3744 esac
3746 done
3747 if $ac_cache_corrupted; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3751 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3752 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3754 ## -------------------- ##
3755 ## Main body of script. ##
3756 ## -------------------- ##
3758 ac_ext=c
3759 ac_cpp='$CPP $CPPFLAGS'
3760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3766 ac_config_headers="$ac_config_headers include/config.h"
3768 ac_aux_dir=
3769 for ac_dir in tools "$srcdir"/tools; do
3770 if test -f "$ac_dir/install-sh"; then
3771 ac_aux_dir=$ac_dir
3772 ac_install_sh="$ac_aux_dir/install-sh -c"
3773 break
3774 elif test -f "$ac_dir/install.sh"; then
3775 ac_aux_dir=$ac_dir
3776 ac_install_sh="$ac_aux_dir/install.sh -c"
3777 break
3778 elif test -f "$ac_dir/shtool"; then
3779 ac_aux_dir=$ac_dir
3780 ac_install_sh="$ac_aux_dir/shtool install -c"
3781 break
3783 done
3784 if test -z "$ac_aux_dir"; then
3785 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3788 # These three variables are undocumented and unsupported,
3789 # and are intended to be withdrawn in a future Autoconf release.
3790 # They can cause serious problems if a builder's source tree is in a directory
3791 # whose full name contains unusual characters.
3792 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3793 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3794 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3798 libwine_version="1.0"
3802 # Check whether --enable-win16 was given.
3803 if test "${enable_win16+set}" = set; then :
3804 enableval=$enable_win16;
3807 # Check whether --enable-win64 was given.
3808 if test "${enable_win64+set}" = set; then :
3809 enableval=$enable_win64;
3812 # Check whether --enable-tests was given.
3813 if test "${enable_tests+set}" = set; then :
3814 enableval=$enable_tests;
3817 # Check whether --enable-maintainer-mode was given.
3818 if test "${enable_maintainer_mode+set}" = set; then :
3819 enableval=$enable_maintainer_mode;
3824 # Check whether --with-alsa was given.
3825 if test "${with_alsa+set}" = set; then :
3826 withval=$with_alsa;
3830 # Check whether --with-capi was given.
3831 if test "${with_capi+set}" = set; then :
3832 withval=$with_capi;
3836 # Check whether --with-cms was given.
3837 if test "${with_cms+set}" = set; then :
3838 withval=$with_cms;
3842 # Check whether --with-coreaudio was given.
3843 if test "${with_coreaudio+set}" = set; then :
3844 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3848 # Check whether --with-cups was given.
3849 if test "${with_cups+set}" = set; then :
3850 withval=$with_cups;
3854 # Check whether --with-curses was given.
3855 if test "${with_curses+set}" = set; then :
3856 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3860 # Check whether --with-dbus was given.
3861 if test "${with_dbus+set}" = set; then :
3862 withval=$with_dbus;
3866 # Check whether --with-faudio was given.
3867 if test "${with_faudio+set}" = set; then :
3868 withval=$with_faudio;
3872 # Check whether --with-float-abi was given.
3873 if test "${with_float_abi+set}" = set; then :
3874 withval=$with_float_abi;
3878 # Check whether --with-fontconfig was given.
3879 if test "${with_fontconfig+set}" = set; then :
3880 withval=$with_fontconfig;
3884 # Check whether --with-freetype was given.
3885 if test "${with_freetype+set}" = set; then :
3886 withval=$with_freetype;
3890 # Check whether --with-gettext was given.
3891 if test "${with_gettext+set}" = set; then :
3892 withval=$with_gettext;
3896 # Check whether --with-gettextpo was given.
3897 if test "${with_gettextpo+set}" = set; then :
3898 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3902 # Check whether --with-gphoto was given.
3903 if test "${with_gphoto+set}" = set; then :
3904 withval=$with_gphoto;
3908 # Check whether --with-glu was given.
3909 if test "${with_glu+set}" = set; then :
3910 withval=$with_glu;
3914 # Check whether --with-gnutls was given.
3915 if test "${with_gnutls+set}" = set; then :
3916 withval=$with_gnutls;
3920 # Check whether --with-gsm was given.
3921 if test "${with_gsm+set}" = set; then :
3922 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3926 # Check whether --with-gssapi was given.
3927 if test "${with_gssapi+set}" = set; then :
3928 withval=$with_gssapi;
3932 # Check whether --with-gstreamer was given.
3933 if test "${with_gstreamer+set}" = set; then :
3934 withval=$with_gstreamer;
3938 # Check whether --with-hal was given.
3939 if test "${with_hal+set}" = set; then :
3940 withval=$with_hal;
3944 # Check whether --with-inotify was given.
3945 if test "${with_inotify+set}" = set; then :
3946 withval=$with_inotify;
3950 # Check whether --with-jpeg was given.
3951 if test "${with_jpeg+set}" = set; then :
3952 withval=$with_jpeg;
3956 # Check whether --with-krb5 was given.
3957 if test "${with_krb5+set}" = set; then :
3958 withval=$with_krb5;
3962 # Check whether --with-ldap was given.
3963 if test "${with_ldap+set}" = set; then :
3964 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3968 # Check whether --with-mingw was given.
3969 if test "${with_mingw+set}" = set; then :
3970 withval=$with_mingw;
3974 # Check whether --with-mpg123 was given.
3975 if test "${with_mpg123+set}" = set; then :
3976 withval=$with_mpg123;
3980 # Check whether --with-netapi was given.
3981 if test "${with_netapi+set}" = set; then :
3982 withval=$with_netapi;
3986 # Check whether --with-openal was given.
3987 if test "${with_openal+set}" = set; then :
3988 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3992 # Check whether --with-opencl was given.
3993 if test "${with_opencl+set}" = set; then :
3994 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3998 # Check whether --with-opengl was given.
3999 if test "${with_opengl+set}" = set; then :
4000 withval=$with_opengl;
4004 # Check whether --with-osmesa was given.
4005 if test "${with_osmesa+set}" = set; then :
4006 withval=$with_osmesa;
4010 # Check whether --with-oss was given.
4011 if test "${with_oss+set}" = set; then :
4012 withval=$with_oss;
4016 # Check whether --with-pcap was given.
4017 if test "${with_pcap+set}" = set; then :
4018 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4022 # Check whether --with-png was given.
4023 if test "${with_png+set}" = set; then :
4024 withval=$with_png;
4028 # Check whether --with-pthread was given.
4029 if test "${with_pthread+set}" = set; then :
4030 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4034 # Check whether --with-pulse was given.
4035 if test "${with_pulse+set}" = set; then :
4036 withval=$with_pulse;
4040 # Check whether --with-sane was given.
4041 if test "${with_sane+set}" = set; then :
4042 withval=$with_sane;
4046 # Check whether --with-sdl was given.
4047 if test "${with_sdl+set}" = set; then :
4048 withval=$with_sdl;
4052 # Check whether --with-tiff was given.
4053 if test "${with_tiff+set}" = set; then :
4054 withval=$with_tiff;
4058 # Check whether --with-udev was given.
4059 if test "${with_udev+set}" = set; then :
4060 withval=$with_udev;
4064 # Check whether --with-v4l2 was given.
4065 if test "${with_v4l2+set}" = set; then :
4066 withval=$with_v4l2;
4070 # Check whether --with-vkd3d was given.
4071 if test "${with_vkd3d+set}" = set; then :
4072 withval=$with_vkd3d;
4076 # Check whether --with-vulkan was given.
4077 if test "${with_vulkan+set}" = set; then :
4078 withval=$with_vulkan;
4082 # Check whether --with-xcomposite was given.
4083 if test "${with_xcomposite+set}" = set; then :
4084 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4088 # Check whether --with-xcursor was given.
4089 if test "${with_xcursor+set}" = set; then :
4090 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4094 # Check whether --with-xfixes was given.
4095 if test "${with_xfixes+set}" = set; then :
4096 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4100 # Check whether --with-xinerama was given.
4101 if test "${with_xinerama+set}" = set; then :
4102 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4106 # Check whether --with-xinput was given.
4107 if test "${with_xinput+set}" = set; then :
4108 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4112 # Check whether --with-xinput2 was given.
4113 if test "${with_xinput2+set}" = set; then :
4114 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4118 # Check whether --with-xml was given.
4119 if test "${with_xml+set}" = set; then :
4120 withval=$with_xml;
4124 # Check whether --with-xrandr was given.
4125 if test "${with_xrandr+set}" = set; then :
4126 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4130 # Check whether --with-xrender was given.
4131 if test "${with_xrender+set}" = set; then :
4132 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4136 # Check whether --with-xshape was given.
4137 if test "${with_xshape+set}" = set; then :
4138 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4142 # Check whether --with-xshm was given.
4143 if test "${with_xshm+set}" = set; then :
4144 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4148 # Check whether --with-xslt was given.
4149 if test "${with_xslt+set}" = set; then :
4150 withval=$with_xslt;
4154 # Check whether --with-xxf86vm was given.
4155 if test "${with_xxf86vm+set}" = set; then :
4156 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4160 # Check whether --with-zlib was given.
4161 if test "${with_zlib+set}" = set; then :
4162 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4167 # Check whether --with-wine-tools was given.
4168 if test "${with_wine_tools+set}" = set; then :
4169 withval=$with_wine_tools;
4173 # Check whether --with-wine64 was given.
4174 if test "${with_wine64+set}" = set; then :
4175 withval=$with_wine64;
4179 # Make sure we can run config.sub.
4180 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4181 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4184 $as_echo_n "checking build system type... " >&6; }
4185 if ${ac_cv_build+:} false; then :
4186 $as_echo_n "(cached) " >&6
4187 else
4188 ac_build_alias=$build_alias
4189 test "x$ac_build_alias" = x &&
4190 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4191 test "x$ac_build_alias" = x &&
4192 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4193 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4194 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4198 $as_echo "$ac_cv_build" >&6; }
4199 case $ac_cv_build in
4200 *-*-*) ;;
4201 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4202 esac
4203 build=$ac_cv_build
4204 ac_save_IFS=$IFS; IFS='-'
4205 set x $ac_cv_build
4206 shift
4207 build_cpu=$1
4208 build_vendor=$2
4209 shift; shift
4210 # Remember, the first character of IFS is used to create $*,
4211 # except with old shells:
4212 build_os=$*
4213 IFS=$ac_save_IFS
4214 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4218 $as_echo_n "checking host system type... " >&6; }
4219 if ${ac_cv_host+:} false; then :
4220 $as_echo_n "(cached) " >&6
4221 else
4222 if test "x$host_alias" = x; then
4223 ac_cv_host=$ac_cv_build
4224 else
4225 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4226 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4231 $as_echo "$ac_cv_host" >&6; }
4232 case $ac_cv_host in
4233 *-*-*) ;;
4234 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4235 esac
4236 host=$ac_cv_host
4237 ac_save_IFS=$IFS; IFS='-'
4238 set x $ac_cv_host
4239 shift
4240 host_cpu=$1
4241 host_vendor=$2
4242 shift; shift
4243 # Remember, the first character of IFS is used to create $*,
4244 # except with old shells:
4245 host_os=$*
4246 IFS=$ac_save_IFS
4247 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4251 case "$srcdir" in
4252 .) ;;
4253 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4254 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4255 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4256 fi ;;
4257 esac
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4261 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4262 set x ${MAKE-make}
4263 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4264 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4265 $as_echo_n "(cached) " >&6
4266 else
4267 cat >conftest.make <<\_ACEOF
4268 SHELL = /bin/sh
4269 all:
4270 @echo '@@@%%%=$(MAKE)=@@@%%%'
4271 _ACEOF
4272 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4273 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4274 *@@@%%%=?*=@@@%%%*)
4275 eval ac_cv_prog_make_${ac_make}_set=yes;;
4277 eval ac_cv_prog_make_${ac_make}_set=no;;
4278 esac
4279 rm -f conftest.make
4281 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4283 $as_echo "yes" >&6; }
4284 SET_MAKE=
4285 else
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4287 $as_echo "no" >&6; }
4288 SET_MAKE="MAKE=${MAKE-make}"
4291 ac_ext=c
4292 ac_cpp='$CPP $CPPFLAGS'
4293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4296 if test -n "$ac_tool_prefix"; then
4297 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4298 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4300 $as_echo_n "checking for $ac_word... " >&6; }
4301 if ${ac_cv_prog_CC+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 if test -n "$CC"; then
4305 ac_cv_prog_CC="$CC" # Let the user override the test.
4306 else
4307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308 for as_dir in $PATH
4310 IFS=$as_save_IFS
4311 test -z "$as_dir" && as_dir=.
4312 for ac_exec_ext in '' $ac_executable_extensions; do
4313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4314 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4316 break 2
4318 done
4319 done
4320 IFS=$as_save_IFS
4324 CC=$ac_cv_prog_CC
4325 if test -n "$CC"; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4327 $as_echo "$CC" >&6; }
4328 else
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330 $as_echo "no" >&6; }
4335 if test -z "$ac_cv_prog_CC"; then
4336 ac_ct_CC=$CC
4337 # Extract the first word of "gcc", so it can be a program name with args.
4338 set dummy gcc; ac_word=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 if test -n "$ac_ct_CC"; then
4345 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4346 else
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4354 ac_cv_prog_ac_ct_CC="gcc"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 break 2
4358 done
4359 done
4360 IFS=$as_save_IFS
4364 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4365 if test -n "$ac_ct_CC"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4367 $as_echo "$ac_ct_CC" >&6; }
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4373 if test "x$ac_ct_CC" = x; then
4374 CC=""
4375 else
4376 case $cross_compiling:$ac_tool_warned in
4377 yes:)
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4380 ac_tool_warned=yes ;;
4381 esac
4382 CC=$ac_ct_CC
4384 else
4385 CC="$ac_cv_prog_CC"
4388 if test -z "$CC"; then
4389 if test -n "$ac_tool_prefix"; then
4390 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4391 set dummy ${ac_tool_prefix}cc; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_CC+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 if test -n "$CC"; then
4398 ac_cv_prog_CC="$CC" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_CC="${ac_tool_prefix}cc"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4411 done
4412 done
4413 IFS=$as_save_IFS
4417 CC=$ac_cv_prog_CC
4418 if test -n "$CC"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4420 $as_echo "$CC" >&6; }
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4429 if test -z "$CC"; then
4430 # Extract the first word of "cc", so it can be a program name with args.
4431 set dummy cc; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_CC+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 if test -n "$CC"; then
4438 ac_cv_prog_CC="$CC" # Let the user override the test.
4439 else
4440 ac_prog_rejected=no
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4444 IFS=$as_save_IFS
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4449 ac_prog_rejected=yes
4450 continue
4452 ac_cv_prog_CC="cc"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4456 done
4457 done
4458 IFS=$as_save_IFS
4460 if test $ac_prog_rejected = yes; then
4461 # We found a bogon in the path, so make sure we never use it.
4462 set dummy $ac_cv_prog_CC
4463 shift
4464 if test $# != 0; then
4465 # We chose a different compiler from the bogus one.
4466 # However, it has the same basename, so the bogon will be chosen
4467 # first if we set CC to just the basename; use the full file name.
4468 shift
4469 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4474 CC=$ac_cv_prog_CC
4475 if test -n "$CC"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4477 $as_echo "$CC" >&6; }
4478 else
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4485 if test -z "$CC"; then
4486 if test -n "$ac_tool_prefix"; then
4487 for ac_prog in cl.exe
4489 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4490 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if ${ac_cv_prog_CC+:} false; then :
4494 $as_echo_n "(cached) " >&6
4495 else
4496 if test -n "$CC"; then
4497 ac_cv_prog_CC="$CC" # Let the user override the test.
4498 else
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4502 IFS=$as_save_IFS
4503 test -z "$as_dir" && as_dir=.
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4506 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 break 2
4510 done
4511 done
4512 IFS=$as_save_IFS
4516 CC=$ac_cv_prog_CC
4517 if test -n "$CC"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4519 $as_echo "$CC" >&6; }
4520 else
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4526 test -n "$CC" && break
4527 done
4529 if test -z "$CC"; then
4530 ac_ct_CC=$CC
4531 for ac_prog in cl.exe
4533 # Extract the first word of "$ac_prog", so it can be a program name with args.
4534 set dummy $ac_prog; ac_word=$2
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4538 $as_echo_n "(cached) " >&6
4539 else
4540 if test -n "$ac_ct_CC"; then
4541 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4542 else
4543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4544 for as_dir in $PATH
4546 IFS=$as_save_IFS
4547 test -z "$as_dir" && as_dir=.
4548 for ac_exec_ext in '' $ac_executable_extensions; do
4549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4550 ac_cv_prog_ac_ct_CC="$ac_prog"
4551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 break 2
4554 done
4555 done
4556 IFS=$as_save_IFS
4560 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4561 if test -n "$ac_ct_CC"; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4563 $as_echo "$ac_ct_CC" >&6; }
4564 else
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566 $as_echo "no" >&6; }
4570 test -n "$ac_ct_CC" && break
4571 done
4573 if test "x$ac_ct_CC" = x; then
4574 CC=""
4575 else
4576 case $cross_compiling:$ac_tool_warned in
4577 yes:)
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4580 ac_tool_warned=yes ;;
4581 esac
4582 CC=$ac_ct_CC
4589 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4591 as_fn_error $? "no acceptable C compiler found in \$PATH
4592 See \`config.log' for more details" "$LINENO" 5; }
4594 # Provide some information about the compiler.
4595 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4596 set X $ac_compile
4597 ac_compiler=$2
4598 for ac_option in --version -v -V -qversion; do
4599 { { ac_try="$ac_compiler $ac_option >&5"
4600 case "(($ac_try" in
4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4602 *) ac_try_echo=$ac_try;;
4603 esac
4604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4605 $as_echo "$ac_try_echo"; } >&5
4606 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4607 ac_status=$?
4608 if test -s conftest.err; then
4609 sed '10a\
4610 ... rest of stderr output deleted ...
4611 10q' conftest.err >conftest.er1
4612 cat conftest.er1 >&5
4614 rm -f conftest.er1 conftest.err
4615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4616 test $ac_status = 0; }
4617 done
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 ac_clean_files_save=$ac_clean_files
4631 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4632 # Try to create an executable without -o first, disregard a.out.
4633 # It will help us diagnose broken compilers, and finding out an intuition
4634 # of exeext.
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4636 $as_echo_n "checking whether the C compiler works... " >&6; }
4637 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4639 # The possible output files:
4640 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4642 ac_rmfiles=
4643 for ac_file in $ac_files
4645 case $ac_file in
4646 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4647 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4648 esac
4649 done
4650 rm -f $ac_rmfiles
4652 if { { ac_try="$ac_link_default"
4653 case "(($ac_try" in
4654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;;
4656 esac
4657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4658 $as_echo "$ac_try_echo"; } >&5
4659 (eval "$ac_link_default") 2>&5
4660 ac_status=$?
4661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4662 test $ac_status = 0; }; then :
4663 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4664 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4665 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4666 # so that the user can short-circuit this test for compilers unknown to
4667 # Autoconf.
4668 for ac_file in $ac_files ''
4670 test -f "$ac_file" || continue
4671 case $ac_file in
4672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4674 [ab].out )
4675 # We found the default executable, but exeext='' is most
4676 # certainly right.
4677 break;;
4678 *.* )
4679 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4680 then :; else
4681 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4683 # We set ac_cv_exeext here because the later test for it is not
4684 # safe: cross compilers may not add the suffix if given an `-o'
4685 # argument, so we may need to know it at that point already.
4686 # Even if this section looks crufty: it has the advantage of
4687 # actually working.
4688 break;;
4690 break;;
4691 esac
4692 done
4693 test "$ac_cv_exeext" = no && ac_cv_exeext=
4695 else
4696 ac_file=''
4698 if test -z "$ac_file"; then :
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4701 $as_echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.$ac_ext >&5
4704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4706 as_fn_error 77 "C compiler cannot create executables
4707 See \`config.log' for more details" "$LINENO" 5; }
4708 else
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4710 $as_echo "yes" >&6; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4713 $as_echo_n "checking for C compiler default output file name... " >&6; }
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4715 $as_echo "$ac_file" >&6; }
4716 ac_exeext=$ac_cv_exeext
4718 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4719 ac_clean_files=$ac_clean_files_save
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4721 $as_echo_n "checking for suffix of executables... " >&6; }
4722 if { { ac_try="$ac_link"
4723 case "(($ac_try" in
4724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4725 *) ac_try_echo=$ac_try;;
4726 esac
4727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4728 $as_echo "$ac_try_echo"; } >&5
4729 (eval "$ac_link") 2>&5
4730 ac_status=$?
4731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4732 test $ac_status = 0; }; then :
4733 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4734 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4735 # work properly (i.e., refer to `conftest.exe'), while it won't with
4736 # `rm'.
4737 for ac_file in conftest.exe conftest conftest.*; do
4738 test -f "$ac_file" || continue
4739 case $ac_file in
4740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4741 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4742 break;;
4743 * ) break;;
4744 esac
4745 done
4746 else
4747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4749 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4750 See \`config.log' for more details" "$LINENO" 5; }
4752 rm -f conftest conftest$ac_cv_exeext
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4754 $as_echo "$ac_cv_exeext" >&6; }
4756 rm -f conftest.$ac_ext
4757 EXEEXT=$ac_cv_exeext
4758 ac_exeext=$EXEEXT
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4761 #include <stdio.h>
4763 main ()
4765 FILE *f = fopen ("conftest.out", "w");
4766 return ferror (f) || fclose (f) != 0;
4769 return 0;
4771 _ACEOF
4772 ac_clean_files="$ac_clean_files conftest.out"
4773 # Check that the compiler produces executables we can run. If not, either
4774 # the compiler is broken, or we cross compile.
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4776 $as_echo_n "checking whether we are cross compiling... " >&6; }
4777 if test "$cross_compiling" != yes; then
4778 { { ac_try="$ac_link"
4779 case "(($ac_try" in
4780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4781 *) ac_try_echo=$ac_try;;
4782 esac
4783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4784 $as_echo "$ac_try_echo"; } >&5
4785 (eval "$ac_link") 2>&5
4786 ac_status=$?
4787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788 test $ac_status = 0; }
4789 if { ac_try='./conftest$ac_cv_exeext'
4790 { { case "(($ac_try" in
4791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4792 *) ac_try_echo=$ac_try;;
4793 esac
4794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4795 $as_echo "$ac_try_echo"; } >&5
4796 (eval "$ac_try") 2>&5
4797 ac_status=$?
4798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4799 test $ac_status = 0; }; }; then
4800 cross_compiling=no
4801 else
4802 if test "$cross_compiling" = maybe; then
4803 cross_compiling=yes
4804 else
4805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4807 as_fn_error $? "cannot run C compiled programs.
4808 If you meant to cross compile, use \`--host'.
4809 See \`config.log' for more details" "$LINENO" 5; }
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4814 $as_echo "$cross_compiling" >&6; }
4816 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4817 ac_clean_files=$ac_clean_files_save
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4819 $as_echo_n "checking for suffix of object files... " >&6; }
4820 if ${ac_cv_objext+:} false; then :
4821 $as_echo_n "(cached) " >&6
4822 else
4823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4824 /* end confdefs.h. */
4827 main ()
4831 return 0;
4833 _ACEOF
4834 rm -f conftest.o conftest.obj
4835 if { { ac_try="$ac_compile"
4836 case "(($ac_try" in
4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4839 esac
4840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4841 $as_echo "$ac_try_echo"; } >&5
4842 (eval "$ac_compile") 2>&5
4843 ac_status=$?
4844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4845 test $ac_status = 0; }; then :
4846 for ac_file in conftest.o conftest.obj conftest.*; do
4847 test -f "$ac_file" || continue;
4848 case $ac_file in
4849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4850 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4851 break;;
4852 esac
4853 done
4854 else
4855 $as_echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4860 as_fn_error $? "cannot compute suffix of object files: cannot compile
4861 See \`config.log' for more details" "$LINENO" 5; }
4863 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4866 $as_echo "$ac_cv_objext" >&6; }
4867 OBJEXT=$ac_cv_objext
4868 ac_objext=$OBJEXT
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4870 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4871 if ${ac_cv_c_compiler_gnu+:} false; then :
4872 $as_echo_n "(cached) " >&6
4873 else
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4878 main ()
4880 #ifndef __GNUC__
4881 choke me
4882 #endif
4885 return 0;
4887 _ACEOF
4888 if ac_fn_c_try_compile "$LINENO"; then :
4889 ac_compiler_gnu=yes
4890 else
4891 ac_compiler_gnu=no
4893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4894 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4898 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4899 if test $ac_compiler_gnu = yes; then
4900 GCC=yes
4901 else
4902 GCC=
4904 ac_test_CFLAGS=${CFLAGS+set}
4905 ac_save_CFLAGS=$CFLAGS
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4907 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4908 if ${ac_cv_prog_cc_g+:} false; then :
4909 $as_echo_n "(cached) " >&6
4910 else
4911 ac_save_c_werror_flag=$ac_c_werror_flag
4912 ac_c_werror_flag=yes
4913 ac_cv_prog_cc_g=no
4914 CFLAGS="-g"
4915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4916 /* end confdefs.h. */
4919 main ()
4923 return 0;
4925 _ACEOF
4926 if ac_fn_c_try_compile "$LINENO"; then :
4927 ac_cv_prog_cc_g=yes
4928 else
4929 CFLAGS=""
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4934 main ()
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_compile "$LINENO"; then :
4943 else
4944 ac_c_werror_flag=$ac_save_c_werror_flag
4945 CFLAGS="-g"
4946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4950 main ()
4954 return 0;
4956 _ACEOF
4957 if ac_fn_c_try_compile "$LINENO"; then :
4958 ac_cv_prog_cc_g=yes
4960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4965 ac_c_werror_flag=$ac_save_c_werror_flag
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4968 $as_echo "$ac_cv_prog_cc_g" >&6; }
4969 if test "$ac_test_CFLAGS" = set; then
4970 CFLAGS=$ac_save_CFLAGS
4971 elif test $ac_cv_prog_cc_g = yes; then
4972 if test "$GCC" = yes; then
4973 CFLAGS="-g -O2"
4974 else
4975 CFLAGS="-g"
4977 else
4978 if test "$GCC" = yes; then
4979 CFLAGS="-O2"
4980 else
4981 CFLAGS=
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4985 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4986 if ${ac_cv_prog_cc_c89+:} false; then :
4987 $as_echo_n "(cached) " >&6
4988 else
4989 ac_cv_prog_cc_c89=no
4990 ac_save_CC=$CC
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4993 #include <stdarg.h>
4994 #include <stdio.h>
4995 struct stat;
4996 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4997 struct buf { int x; };
4998 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4999 static char *e (p, i)
5000 char **p;
5001 int i;
5003 return p[i];
5005 static char *f (char * (*g) (char **, int), char **p, ...)
5007 char *s;
5008 va_list v;
5009 va_start (v,p);
5010 s = g (p, va_arg (v,int));
5011 va_end (v);
5012 return s;
5015 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5016 function prototypes and stuff, but not '\xHH' hex character constants.
5017 These don't provoke an error unfortunately, instead are silently treated
5018 as 'x'. The following induces an error, until -std is added to get
5019 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5020 array size at least. It's necessary to write '\x00'==0 to get something
5021 that's true only with -std. */
5022 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5024 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5025 inside strings and character constants. */
5026 #define FOO(x) 'x'
5027 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5029 int test (int i, double x);
5030 struct s1 {int (*f) (int a);};
5031 struct s2 {int (*f) (double a);};
5032 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5033 int argc;
5034 char **argv;
5036 main ()
5038 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5040 return 0;
5042 _ACEOF
5043 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5044 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5046 CC="$ac_save_CC $ac_arg"
5047 if ac_fn_c_try_compile "$LINENO"; then :
5048 ac_cv_prog_cc_c89=$ac_arg
5050 rm -f core conftest.err conftest.$ac_objext
5051 test "x$ac_cv_prog_cc_c89" != "xno" && break
5052 done
5053 rm -f conftest.$ac_ext
5054 CC=$ac_save_CC
5057 # AC_CACHE_VAL
5058 case "x$ac_cv_prog_cc_c89" in
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5061 $as_echo "none needed" >&6; } ;;
5062 xno)
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5064 $as_echo "unsupported" >&6; } ;;
5066 CC="$CC $ac_cv_prog_cc_c89"
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5068 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5069 esac
5070 if test "x$ac_cv_prog_cc_c89" != xno; then :
5074 ac_ext=c
5075 ac_cpp='$CPP $CPPFLAGS'
5076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5080 ac_ext=cpp
5081 ac_cpp='$CXXCPP $CPPFLAGS'
5082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5085 if test -z "$CXX"; then
5086 if test -n "$CCC"; then
5087 CXX=$CCC
5088 else
5089 if test -n "$ac_tool_prefix"; then
5090 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5092 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5093 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_CXX+:} false; then :
5097 $as_echo_n "(cached) " >&6
5098 else
5099 if test -n "$CXX"; then
5100 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5101 else
5102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 for as_dir in $PATH
5105 IFS=$as_save_IFS
5106 test -z "$as_dir" && as_dir=.
5107 for ac_exec_ext in '' $ac_executable_extensions; do
5108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5109 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 break 2
5113 done
5114 done
5115 IFS=$as_save_IFS
5119 CXX=$ac_cv_prog_CXX
5120 if test -n "$CXX"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5122 $as_echo "$CXX" >&6; }
5123 else
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5129 test -n "$CXX" && break
5130 done
5132 if test -z "$CXX"; then
5133 ac_ct_CXX=$CXX
5134 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5136 # Extract the first word of "$ac_prog", so it can be a program name with args.
5137 set dummy $ac_prog; ac_word=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5141 $as_echo_n "(cached) " >&6
5142 else
5143 if test -n "$ac_ct_CXX"; then
5144 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5145 else
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH
5149 IFS=$as_save_IFS
5150 test -z "$as_dir" && as_dir=.
5151 for ac_exec_ext in '' $ac_executable_extensions; do
5152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5153 ac_cv_prog_ac_ct_CXX="$ac_prog"
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 break 2
5157 done
5158 done
5159 IFS=$as_save_IFS
5163 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5164 if test -n "$ac_ct_CXX"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5166 $as_echo "$ac_ct_CXX" >&6; }
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5173 test -n "$ac_ct_CXX" && break
5174 done
5176 if test "x$ac_ct_CXX" = x; then
5177 CXX="g++"
5178 else
5179 case $cross_compiling:$ac_tool_warned in
5180 yes:)
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5183 ac_tool_warned=yes ;;
5184 esac
5185 CXX=$ac_ct_CXX
5191 # Provide some information about the compiler.
5192 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5193 set X $ac_compile
5194 ac_compiler=$2
5195 for ac_option in --version -v -V -qversion; do
5196 { { ac_try="$ac_compiler $ac_option >&5"
5197 case "(($ac_try" in
5198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5199 *) ac_try_echo=$ac_try;;
5200 esac
5201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5202 $as_echo "$ac_try_echo"; } >&5
5203 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5204 ac_status=$?
5205 if test -s conftest.err; then
5206 sed '10a\
5207 ... rest of stderr output deleted ...
5208 10q' conftest.err >conftest.er1
5209 cat conftest.er1 >&5
5211 rm -f conftest.er1 conftest.err
5212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5213 test $ac_status = 0; }
5214 done
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5217 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5218 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5219 $as_echo_n "(cached) " >&6
5220 else
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5225 main ()
5227 #ifndef __GNUC__
5228 choke me
5229 #endif
5232 return 0;
5234 _ACEOF
5235 if ac_fn_cxx_try_compile "$LINENO"; then :
5236 ac_compiler_gnu=yes
5237 else
5238 ac_compiler_gnu=no
5240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5241 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5245 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5246 if test $ac_compiler_gnu = yes; then
5247 GXX=yes
5248 else
5249 GXX=
5251 ac_test_CXXFLAGS=${CXXFLAGS+set}
5252 ac_save_CXXFLAGS=$CXXFLAGS
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5254 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5255 if ${ac_cv_prog_cxx_g+:} false; then :
5256 $as_echo_n "(cached) " >&6
5257 else
5258 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5259 ac_cxx_werror_flag=yes
5260 ac_cv_prog_cxx_g=no
5261 CXXFLAGS="-g"
5262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5263 /* end confdefs.h. */
5266 main ()
5270 return 0;
5272 _ACEOF
5273 if ac_fn_cxx_try_compile "$LINENO"; then :
5274 ac_cv_prog_cxx_g=yes
5275 else
5276 CXXFLAGS=""
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5281 main ()
5285 return 0;
5287 _ACEOF
5288 if ac_fn_cxx_try_compile "$LINENO"; then :
5290 else
5291 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5292 CXXFLAGS="-g"
5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5297 main ()
5301 return 0;
5303 _ACEOF
5304 if ac_fn_cxx_try_compile "$LINENO"; then :
5305 ac_cv_prog_cxx_g=yes
5307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5312 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5315 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5316 if test "$ac_test_CXXFLAGS" = set; then
5317 CXXFLAGS=$ac_save_CXXFLAGS
5318 elif test $ac_cv_prog_cxx_g = yes; then
5319 if test "$GXX" = yes; then
5320 CXXFLAGS="-g -O2"
5321 else
5322 CXXFLAGS="-g"
5324 else
5325 if test "$GXX" = yes; then
5326 CXXFLAGS="-O2"
5327 else
5328 CXXFLAGS=
5331 ac_ext=c
5332 ac_cpp='$CPP $CPPFLAGS'
5333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5337 if test -n "$ac_tool_prefix"; then
5338 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5339 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5341 $as_echo_n "checking for $ac_word... " >&6; }
5342 if ${ac_cv_prog_CPPBIN+:} false; then :
5343 $as_echo_n "(cached) " >&6
5344 else
5345 if test -n "$CPPBIN"; then
5346 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5347 else
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $PATH
5351 IFS=$as_save_IFS
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 break 2
5359 done
5360 done
5361 IFS=$as_save_IFS
5365 CPPBIN=$ac_cv_prog_CPPBIN
5366 if test -n "$CPPBIN"; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5368 $as_echo "$CPPBIN" >&6; }
5369 else
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5371 $as_echo "no" >&6; }
5376 if test -z "$ac_cv_prog_CPPBIN"; then
5377 ac_ct_CPPBIN=$CPPBIN
5378 # Extract the first word of "cpp", so it can be a program name with args.
5379 set dummy cpp; ac_word=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5383 $as_echo_n "(cached) " >&6
5384 else
5385 if test -n "$ac_ct_CPPBIN"; then
5386 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5387 else
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5395 ac_cv_prog_ac_ct_CPPBIN="cpp"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 break 2
5399 done
5400 done
5401 IFS=$as_save_IFS
5405 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5406 if test -n "$ac_ct_CPPBIN"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5408 $as_echo "$ac_ct_CPPBIN" >&6; }
5409 else
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }
5414 if test "x$ac_ct_CPPBIN" = x; then
5415 CPPBIN="cpp"
5416 else
5417 case $cross_compiling:$ac_tool_warned in
5418 yes:)
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5421 ac_tool_warned=yes ;;
5422 esac
5423 CPPBIN=$ac_ct_CPPBIN
5425 else
5426 CPPBIN="$ac_cv_prog_CPPBIN"
5430 cat >>confdefs.h <<_ACEOF
5431 #define EXEEXT "$ac_exeext"
5432 _ACEOF
5434 if test -n "$ac_tool_prefix"; then
5435 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5436 set dummy ${ac_tool_prefix}ld; ac_word=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_prog_LD+:} false; then :
5440 $as_echo_n "(cached) " >&6
5441 else
5442 if test -n "$LD"; then
5443 ac_cv_prog_LD="$LD" # Let the user override the test.
5444 else
5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 for as_dir in $PATH
5448 IFS=$as_save_IFS
5449 test -z "$as_dir" && as_dir=.
5450 for ac_exec_ext in '' $ac_executable_extensions; do
5451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5452 ac_cv_prog_LD="${ac_tool_prefix}ld"
5453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 break 2
5456 done
5457 done
5458 IFS=$as_save_IFS
5462 LD=$ac_cv_prog_LD
5463 if test -n "$LD"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5465 $as_echo "$LD" >&6; }
5466 else
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5473 if test -z "$ac_cv_prog_LD"; then
5474 ac_ct_LD=$LD
5475 # Extract the first word of "ld", so it can be a program name with args.
5476 set dummy ld; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 if test -n "$ac_ct_LD"; then
5483 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_ac_ct_LD="ld"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5496 done
5497 done
5498 IFS=$as_save_IFS
5502 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5503 if test -n "$ac_ct_LD"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5505 $as_echo "$ac_ct_LD" >&6; }
5506 else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5511 if test "x$ac_ct_LD" = x; then
5512 LD=""
5513 else
5514 case $cross_compiling:$ac_tool_warned in
5515 yes:)
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5518 ac_tool_warned=yes ;;
5519 esac
5520 LD=$ac_ct_LD
5522 else
5523 LD="$ac_cv_prog_LD"
5527 case $host in
5528 *-darwin*)
5529 with_fontconfig=${with_fontconfig:-no}
5531 *-mingw32*|*-cygwin*)
5532 enable_win16=${enable_win16:-no}
5533 with_mingw=${with_mingw:-no}
5534 CFLAGS="$CFLAGS -D_WIN32"
5536 esac
5538 case $host in
5539 x86_64*|amd64*)
5540 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5541 then
5542 CC="$CC -m32"
5543 CXX="$CXX -m32"
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5546 $as_echo_n "checking whether $CC works... " >&6; }
5547 if ${wine_cv_cc_m32+:} false; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5554 main ()
5558 return 0;
5560 _ACEOF
5561 if ac_fn_c_try_link "$LINENO"; then :
5562 wine_cv_cc_m32=yes
5563 else
5564 wine_cv_cc_m32=no
5566 rm -f core conftest.err conftest.$ac_objext \
5567 conftest$ac_exeext conftest.$ac_ext
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5570 $as_echo "$wine_cv_cc_m32" >&6; }
5571 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5572 host_cpu="i386"
5573 notice_platform="32-bit "
5574 TARGETFLAGS="-m32"
5576 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5577 export PKG_CONFIG_PATH
5578 enable_win16=${enable_win16:-yes}
5579 else
5580 if test "x${GCC}" = "xyes"
5581 then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5583 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5584 if ${wine_cv_builtin_ms_va_list+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5589 #include <stdarg.h>
5591 main ()
5593 void func(__builtin_ms_va_list *args);
5595 return 0;
5597 _ACEOF
5598 if ac_fn_c_try_compile "$LINENO"; then :
5599 wine_cv_builtin_ms_va_list=yes
5600 else
5601 wine_cv_builtin_ms_va_list=no
5603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5606 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5607 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5609 CC="$CC -m64"
5610 CXX="$CXX -m64"
5611 host_cpu="x86_64"
5612 notice_platform="64-bit "
5613 TARGETFLAGS="-m64"
5617 arm*)
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5619 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5620 if ${wine_cv_thumb+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5625 int ac_test(int i) { return i; }
5627 main ()
5629 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5631 return 0;
5633 _ACEOF
5634 if ac_fn_c_try_link "$LINENO"; then :
5635 wine_cv_thumb=yes
5636 else
5637 wine_cv_thumb=no
5639 rm -f core conftest.err conftest.$ac_objext \
5640 conftest$ac_exeext conftest.$ac_ext
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5643 $as_echo "$wine_cv_thumb" >&6; }
5644 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5645 case $with_float_abi in
5646 soft|softfp|hard)
5647 float_abi=$with_float_abi ;;
5649 case $host_os in
5650 *eabihf)
5651 float_abi=hard ;;
5653 float_abi=softfp
5654 saved_CFLAGS=$CFLAGS
5655 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5657 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5658 if ${wine_cv_float_abi+:} false; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5665 main ()
5667 asm("vmrs r2,fpscr");
5669 return 0;
5671 _ACEOF
5672 if ac_fn_c_try_link "$LINENO"; then :
5673 wine_cv_float_abi=yes
5674 else
5675 wine_cv_float_abi=no
5677 rm -f core conftest.err conftest.$ac_objext \
5678 conftest$ac_exeext conftest.$ac_ext
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5681 $as_echo "$wine_cv_float_abi" >&6; }
5682 if test $wine_cv_float_abi = no
5683 then
5684 float_abi=soft
5685 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5687 CFLAGS=$saved_CFLAGS
5688 esac
5690 esac
5691 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5692 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5695 aarch64*)
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5697 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5698 if ${wine_cv_builtin_ms_va_list+:} false; then :
5699 $as_echo_n "(cached) " >&6
5700 else
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5703 #include <stdarg.h>
5705 main ()
5707 void func(__builtin_ms_va_list *args);
5709 return 0;
5711 _ACEOF
5712 if ac_fn_c_try_compile "$LINENO"; then :
5713 wine_cv_builtin_ms_va_list=yes
5714 else
5715 wine_cv_builtin_ms_va_list=no
5717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5720 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5721 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5723 i[3456789]86*)
5724 enable_win16=${enable_win16:-yes}
5726 esac
5728 enable_win16=${enable_win16:-no}
5729 enable_win64=${enable_win64:-no}
5731 enable_winetest=${enable_winetest:-$enable_tests}
5733 if test "x$enable_win64" = "xyes"
5734 then
5735 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5736 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5737 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5741 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5742 if ${wine_cv_toolsdir+:} false; then :
5743 $as_echo_n "(cached) " >&6
5744 else
5745 wine_cv_toolsdir="$with_wine_tools"
5746 if test -z "$with_wine_tools"; then
5747 if test "$cross_compiling" = "yes"; then
5748 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5749 elif test -n "$with_wine64"; then
5750 wine_cv_toolsdir="$with_wine64"
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5755 $as_echo "$wine_cv_toolsdir" >&6; }
5756 if test -z "$wine_cv_toolsdir"; then
5757 wine_makedep=tools/makedep
5758 TOOLSDIR="\$(top_builddir)"
5760 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5761 wine_makedep=$wine_cv_toolsdir/tools/makedep
5762 case "$wine_cv_toolsdir" in
5763 /*) TOOLSDIR=$wine_cv_toolsdir
5765 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5767 esac
5768 enable_tools=${enable_tools:-no}
5769 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5770 else
5771 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5773 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5774 then
5775 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5779 for ac_prog in flex
5781 # Extract the first word of "$ac_prog", so it can be a program name with args.
5782 set dummy $ac_prog; ac_word=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if ${ac_cv_prog_FLEX+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 if test -n "$FLEX"; then
5789 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5790 else
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 for as_dir in $PATH
5794 IFS=$as_save_IFS
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5798 ac_cv_prog_FLEX="$ac_prog"
5799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5800 break 2
5802 done
5803 done
5804 IFS=$as_save_IFS
5808 FLEX=$ac_cv_prog_FLEX
5809 if test -n "$FLEX"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5811 $as_echo "$FLEX" >&6; }
5812 else
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5818 test -n "$FLEX" && break
5819 done
5820 test -n "$FLEX" || FLEX="none"
5822 if test "$FLEX" = "none"
5823 then
5824 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5827 $as_echo_n "checking whether flex is recent enough... " >&6; }
5828 if ${wine_cv_recent_flex+:} false; then :
5829 $as_echo_n "(cached) " >&6
5830 else
5831 cat >conftest.l <<EOF
5832 %top{
5833 #include "prediluvian.h"
5837 if $FLEX -t conftest.l >/dev/null 2>&5
5838 then
5839 wine_cv_recent_flex=yes
5840 else
5841 wine_cv_recent_flex=no
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5845 $as_echo "$wine_cv_recent_flex" >&6; }
5846 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5848 for ac_prog in bison
5850 # Extract the first word of "$ac_prog", so it can be a program name with args.
5851 set dummy $ac_prog; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_BISON+:} false; then :
5855 $as_echo_n "(cached) " >&6
5856 else
5857 if test -n "$BISON"; then
5858 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5863 IFS=$as_save_IFS
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_BISON="$ac_prog"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 break 2
5871 done
5872 done
5873 IFS=$as_save_IFS
5877 BISON=$ac_cv_prog_BISON
5878 if test -n "$BISON"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5880 $as_echo "$BISON" >&6; }
5881 else
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5887 test -n "$BISON" && break
5888 done
5889 test -n "$BISON" || BISON="none"
5891 if test "$BISON" = "none"
5892 then
5893 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5896 $as_echo_n "checking whether bison is recent enough... " >&6; }
5897 if ${wine_cv_recent_bison+:} false; then :
5898 $as_echo_n "(cached) " >&6
5899 else
5900 cat >conftest.y <<EOF
5901 %define parse.error verbose
5903 empty: ;
5905 if $BISON conftest.y >/dev/null 2>&5
5906 then
5907 wine_cv_recent_bison=yes
5908 else
5909 wine_cv_recent_bison=no
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5913 $as_echo "$wine_cv_recent_bison" >&6; }
5914 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
5916 if test -n "$ac_tool_prefix"; then
5917 for ac_prog in ar gar
5919 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5920 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if ${ac_cv_prog_AR+:} false; then :
5924 $as_echo_n "(cached) " >&6
5925 else
5926 if test -n "$AR"; then
5927 ac_cv_prog_AR="$AR" # Let the user override the test.
5928 else
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5936 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5938 break 2
5940 done
5941 done
5942 IFS=$as_save_IFS
5946 AR=$ac_cv_prog_AR
5947 if test -n "$AR"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5949 $as_echo "$AR" >&6; }
5950 else
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5956 test -n "$AR" && break
5957 done
5959 if test -z "$AR"; then
5960 ac_ct_AR=$AR
5961 for ac_prog in ar gar
5963 # Extract the first word of "$ac_prog", so it can be a program name with args.
5964 set dummy $ac_prog; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5968 $as_echo_n "(cached) " >&6
5969 else
5970 if test -n "$ac_ct_AR"; then
5971 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5976 IFS=$as_save_IFS
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_ac_ct_AR="$ac_prog"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 break 2
5984 done
5985 done
5986 IFS=$as_save_IFS
5990 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5991 if test -n "$ac_ct_AR"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5993 $as_echo "$ac_ct_AR" >&6; }
5994 else
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
6000 test -n "$ac_ct_AR" && break
6001 done
6003 if test "x$ac_ct_AR" = x; then
6004 AR="ar"
6005 else
6006 case $cross_compiling:$ac_tool_warned in
6007 yes:)
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6010 ac_tool_warned=yes ;;
6011 esac
6012 AR=$ac_ct_AR
6016 if test -n "$ac_tool_prefix"; then
6017 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6018 set dummy ${ac_tool_prefix}strip; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_STRIP+:} false; then :
6022 $as_echo_n "(cached) " >&6
6023 else
6024 if test -n "$STRIP"; then
6025 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 STRIP=$ac_cv_prog_STRIP
6045 if test -n "$STRIP"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6047 $as_echo "$STRIP" >&6; }
6048 else
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6055 if test -z "$ac_cv_prog_STRIP"; then
6056 ac_ct_STRIP=$STRIP
6057 # Extract the first word of "strip", so it can be a program name with args.
6058 set dummy strip; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6062 $as_echo_n "(cached) " >&6
6063 else
6064 if test -n "$ac_ct_STRIP"; then
6065 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6070 IFS=$as_save_IFS
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_ac_ct_STRIP="strip"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 break 2
6078 done
6079 done
6080 IFS=$as_save_IFS
6084 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6085 if test -n "$ac_ct_STRIP"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6087 $as_echo "$ac_ct_STRIP" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6093 if test "x$ac_ct_STRIP" = x; then
6094 STRIP="strip"
6095 else
6096 case $cross_compiling:$ac_tool_warned in
6097 yes:)
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6100 ac_tool_warned=yes ;;
6101 esac
6102 STRIP=$ac_ct_STRIP
6104 else
6105 STRIP="$ac_cv_prog_STRIP"
6108 if test -n "$ac_tool_prefix"; then
6109 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6110 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 $as_echo_n "checking for $ac_word... " >&6; }
6113 if ${ac_cv_prog_RANLIB+:} false; then :
6114 $as_echo_n "(cached) " >&6
6115 else
6116 if test -n "$RANLIB"; then
6117 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6118 else
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH
6122 IFS=$as_save_IFS
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6126 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 break 2
6130 done
6131 done
6132 IFS=$as_save_IFS
6136 RANLIB=$ac_cv_prog_RANLIB
6137 if test -n "$RANLIB"; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6139 $as_echo "$RANLIB" >&6; }
6140 else
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 $as_echo "no" >&6; }
6147 if test -z "$ac_cv_prog_RANLIB"; then
6148 ac_ct_RANLIB=$RANLIB
6149 # Extract the first word of "ranlib", so it can be a program name with args.
6150 set dummy ranlib; ac_word=$2
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 $as_echo_n "checking for $ac_word... " >&6; }
6153 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 if test -n "$ac_ct_RANLIB"; then
6157 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6158 else
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 for as_dir in $PATH
6162 IFS=$as_save_IFS
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6166 ac_cv_prog_ac_ct_RANLIB="ranlib"
6167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6168 break 2
6170 done
6171 done
6172 IFS=$as_save_IFS
6176 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6177 if test -n "$ac_ct_RANLIB"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6179 $as_echo "$ac_ct_RANLIB" >&6; }
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6185 if test "x$ac_ct_RANLIB" = x; then
6186 RANLIB=":"
6187 else
6188 case $cross_compiling:$ac_tool_warned in
6189 yes:)
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6192 ac_tool_warned=yes ;;
6193 esac
6194 RANLIB=$ac_ct_RANLIB
6196 else
6197 RANLIB="$ac_cv_prog_RANLIB"
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6201 $as_echo_n "checking whether ln -s works... " >&6; }
6202 LN_S=$as_ln_s
6203 if test "$LN_S" = "ln -s"; then
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6205 $as_echo "yes" >&6; }
6206 else
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6208 $as_echo "no, using $LN_S" >&6; }
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6212 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6213 if ${ac_cv_path_GREP+:} false; then :
6214 $as_echo_n "(cached) " >&6
6215 else
6216 if test -z "$GREP"; then
6217 ac_path_GREP_found=false
6218 # Loop through the user's path and test for each of PROGNAME-LIST
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6222 IFS=$as_save_IFS
6223 test -z "$as_dir" && as_dir=.
6224 for ac_prog in grep ggrep; do
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6227 as_fn_executable_p "$ac_path_GREP" || continue
6228 # Check for GNU ac_path_GREP and select it if it is found.
6229 # Check for GNU $ac_path_GREP
6230 case `"$ac_path_GREP" --version 2>&1` in
6231 *GNU*)
6232 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6234 ac_count=0
6235 $as_echo_n 0123456789 >"conftest.in"
6236 while :
6238 cat "conftest.in" "conftest.in" >"conftest.tmp"
6239 mv "conftest.tmp" "conftest.in"
6240 cp "conftest.in" "conftest.nl"
6241 $as_echo 'GREP' >> "conftest.nl"
6242 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6243 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6244 as_fn_arith $ac_count + 1 && ac_count=$as_val
6245 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6246 # Best one so far, save it but keep looking for a better one
6247 ac_cv_path_GREP="$ac_path_GREP"
6248 ac_path_GREP_max=$ac_count
6250 # 10*(2^10) chars as input seems more than enough
6251 test $ac_count -gt 10 && break
6252 done
6253 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6254 esac
6256 $ac_path_GREP_found && break 3
6257 done
6258 done
6259 done
6260 IFS=$as_save_IFS
6261 if test -z "$ac_cv_path_GREP"; then
6262 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6264 else
6265 ac_cv_path_GREP=$GREP
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6270 $as_echo "$ac_cv_path_GREP" >&6; }
6271 GREP="$ac_cv_path_GREP"
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6275 $as_echo_n "checking for egrep... " >&6; }
6276 if ${ac_cv_path_EGREP+:} false; then :
6277 $as_echo_n "(cached) " >&6
6278 else
6279 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6280 then ac_cv_path_EGREP="$GREP -E"
6281 else
6282 if test -z "$EGREP"; then
6283 ac_path_EGREP_found=false
6284 # Loop through the user's path and test for each of PROGNAME-LIST
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6288 IFS=$as_save_IFS
6289 test -z "$as_dir" && as_dir=.
6290 for ac_prog in egrep; do
6291 for ac_exec_ext in '' $ac_executable_extensions; do
6292 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6293 as_fn_executable_p "$ac_path_EGREP" || continue
6294 # Check for GNU ac_path_EGREP and select it if it is found.
6295 # Check for GNU $ac_path_EGREP
6296 case `"$ac_path_EGREP" --version 2>&1` in
6297 *GNU*)
6298 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6300 ac_count=0
6301 $as_echo_n 0123456789 >"conftest.in"
6302 while :
6304 cat "conftest.in" "conftest.in" >"conftest.tmp"
6305 mv "conftest.tmp" "conftest.in"
6306 cp "conftest.in" "conftest.nl"
6307 $as_echo 'EGREP' >> "conftest.nl"
6308 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6309 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6310 as_fn_arith $ac_count + 1 && ac_count=$as_val
6311 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6312 # Best one so far, save it but keep looking for a better one
6313 ac_cv_path_EGREP="$ac_path_EGREP"
6314 ac_path_EGREP_max=$ac_count
6316 # 10*(2^10) chars as input seems more than enough
6317 test $ac_count -gt 10 && break
6318 done
6319 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6320 esac
6322 $ac_path_EGREP_found && break 3
6323 done
6324 done
6325 done
6326 IFS=$as_save_IFS
6327 if test -z "$ac_cv_path_EGREP"; then
6328 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6330 else
6331 ac_cv_path_EGREP=$EGREP
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6337 $as_echo "$ac_cv_path_EGREP" >&6; }
6338 EGREP="$ac_cv_path_EGREP"
6341 # Extract the first word of "ldconfig", so it can be a program name with args.
6342 set dummy ldconfig; ac_word=$2
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6344 $as_echo_n "checking for $ac_word... " >&6; }
6345 if ${ac_cv_path_LDCONFIG+:} false; then :
6346 $as_echo_n "(cached) " >&6
6347 else
6348 case $LDCONFIG in
6349 [\\/]* | ?:[\\/]*)
6350 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 for as_dir in /sbin /usr/sbin $PATH
6356 IFS=$as_save_IFS
6357 test -z "$as_dir" && as_dir=.
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6360 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 break 2
6364 done
6365 done
6366 IFS=$as_save_IFS
6368 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6370 esac
6372 LDCONFIG=$ac_cv_path_LDCONFIG
6373 if test -n "$LDCONFIG"; then
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6375 $as_echo "$LDCONFIG" >&6; }
6376 else
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6378 $as_echo "no" >&6; }
6382 for ac_prog in msgfmt
6384 # Extract the first word of "$ac_prog", so it can be a program name with args.
6385 set dummy $ac_prog; ac_word=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387 $as_echo_n "checking for $ac_word... " >&6; }
6388 if ${ac_cv_prog_MSGFMT+:} false; then :
6389 $as_echo_n "(cached) " >&6
6390 else
6391 if test -n "$MSGFMT"; then
6392 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6393 else
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in $PATH
6397 IFS=$as_save_IFS
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_prog_MSGFMT="$ac_prog"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 break 2
6405 done
6406 done
6407 IFS=$as_save_IFS
6411 MSGFMT=$ac_cv_prog_MSGFMT
6412 if test -n "$MSGFMT"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6414 $as_echo "$MSGFMT" >&6; }
6415 else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6421 test -n "$MSGFMT" && break
6422 done
6423 test -n "$MSGFMT" || MSGFMT="false"
6425 if ${ac_tool_prefix+:} false; then :
6426 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6427 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 if test -n "$PKG_CONFIG"; then
6434 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6435 else
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in $PATH
6439 IFS=$as_save_IFS
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 break 2
6447 done
6448 done
6449 IFS=$as_save_IFS
6453 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6454 if test -n "$PKG_CONFIG"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6456 $as_echo "$PKG_CONFIG" >&6; }
6457 else
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6464 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6465 if test "x$cross_compiling" = xyes; then :
6467 else
6468 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6469 # Extract the first word of "pkg-config", so it can be a program name with args.
6470 set dummy pkg-config; ac_word=$2
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6472 $as_echo_n "checking for $ac_word... " >&6; }
6473 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6474 $as_echo_n "(cached) " >&6
6475 else
6476 if test -n "$PKG_CONFIG"; then
6477 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6478 else
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 for as_dir in $PATH
6482 IFS=$as_save_IFS
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6486 ac_cv_prog_PKG_CONFIG="pkg-config"
6487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 break 2
6490 done
6491 done
6492 IFS=$as_save_IFS
6496 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6497 if test -n "$PKG_CONFIG"; then
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6499 $as_echo "$PKG_CONFIG" >&6; }
6500 else
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 $as_echo "no" >&6; }
6507 else
6508 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6511 if test "x$enable_maintainer_mode" != "xyes"
6512 then
6513 FONTFORGE=""
6514 RSVG=""
6515 CONVERT=""
6516 ICOTOOL=""
6517 else
6518 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6519 for ac_prog in fontforge
6521 # Extract the first word of "$ac_prog", so it can be a program name with args.
6522 set dummy $ac_prog; ac_word=$2
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6524 $as_echo_n "checking for $ac_word... " >&6; }
6525 if ${ac_cv_prog_FONTFORGE+:} false; then :
6526 $as_echo_n "(cached) " >&6
6527 else
6528 if test -n "$FONTFORGE"; then
6529 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6530 else
6531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 for as_dir in $PATH
6534 IFS=$as_save_IFS
6535 test -z "$as_dir" && as_dir=.
6536 for ac_exec_ext in '' $ac_executable_extensions; do
6537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6538 ac_cv_prog_FONTFORGE="$ac_prog"
6539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 break 2
6542 done
6543 done
6544 IFS=$as_save_IFS
6548 FONTFORGE=$ac_cv_prog_FONTFORGE
6549 if test -n "$FONTFORGE"; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6551 $as_echo "$FONTFORGE" >&6; }
6552 else
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6554 $as_echo "no" >&6; }
6558 test -n "$FONTFORGE" && break
6559 done
6560 test -n "$FONTFORGE" || FONTFORGE="false"
6562 for ac_prog in rsvg-convert rsvg
6564 # Extract the first word of "$ac_prog", so it can be a program name with args.
6565 set dummy $ac_prog; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 $as_echo_n "checking for $ac_word... " >&6; }
6568 if ${ac_cv_prog_RSVG+:} false; then :
6569 $as_echo_n "(cached) " >&6
6570 else
6571 if test -n "$RSVG"; then
6572 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6573 else
6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6575 for as_dir in $PATH
6577 IFS=$as_save_IFS
6578 test -z "$as_dir" && as_dir=.
6579 for ac_exec_ext in '' $ac_executable_extensions; do
6580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6581 ac_cv_prog_RSVG="$ac_prog"
6582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6583 break 2
6585 done
6586 done
6587 IFS=$as_save_IFS
6591 RSVG=$ac_cv_prog_RSVG
6592 if test -n "$RSVG"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6594 $as_echo "$RSVG" >&6; }
6595 else
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6597 $as_echo "no" >&6; }
6601 test -n "$RSVG" && break
6602 done
6603 test -n "$RSVG" || RSVG="false"
6605 for ac_prog in convert
6607 # Extract the first word of "$ac_prog", so it can be a program name with args.
6608 set dummy $ac_prog; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if ${ac_cv_prog_CONVERT+:} false; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 if test -n "$CONVERT"; then
6615 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6620 IFS=$as_save_IFS
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6624 ac_cv_prog_CONVERT="$ac_prog"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 CONVERT=$ac_cv_prog_CONVERT
6635 if test -n "$CONVERT"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6637 $as_echo "$CONVERT" >&6; }
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6644 test -n "$CONVERT" && break
6645 done
6646 test -n "$CONVERT" || CONVERT="false"
6648 for ac_prog in icotool
6650 # Extract the first word of "$ac_prog", so it can be a program name with args.
6651 set dummy $ac_prog; ac_word=$2
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 $as_echo_n "checking for $ac_word... " >&6; }
6654 if ${ac_cv_prog_ICOTOOL+:} false; then :
6655 $as_echo_n "(cached) " >&6
6656 else
6657 if test -n "$ICOTOOL"; then
6658 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6659 else
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 for as_dir in $PATH
6663 IFS=$as_save_IFS
6664 test -z "$as_dir" && as_dir=.
6665 for ac_exec_ext in '' $ac_executable_extensions; do
6666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6667 ac_cv_prog_ICOTOOL="$ac_prog"
6668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 break 2
6671 done
6672 done
6673 IFS=$as_save_IFS
6677 ICOTOOL=$ac_cv_prog_ICOTOOL
6678 if test -n "$ICOTOOL"; then
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6680 $as_echo "$ICOTOOL" >&6; }
6681 else
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6683 $as_echo "no" >&6; }
6687 test -n "$ICOTOOL" && break
6688 done
6689 test -n "$ICOTOOL" || ICOTOOL="false"
6691 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6692 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6694 if test "$CONVERT" = false
6695 then
6696 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6697 else
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6699 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6700 convert_version=`convert --version | head -n1`
6701 if test "x$convert_version" != "x"
6702 then
6703 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6704 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6705 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6706 then
6707 CONVERT=false
6710 if test "$CONVERT" = false
6711 then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6713 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6714 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6715 else
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6717 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6721 if test "$ICOTOOL" = false
6722 then
6723 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6724 else
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6726 $as_echo_n "checking for recent enough icotool... " >&6; }
6727 icotool_version=`icotool --version | head -n1`
6728 if test "x$icotool_version" != "x"
6729 then
6730 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6731 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6732 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6733 then
6734 ICOTOOL=false
6735 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6738 if test "$ICOTOOL" = false
6739 then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6741 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6742 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6743 else
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6745 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6749 with_gettext=yes
6750 with_gettextpo=yes
6753 test "x$with_gettext" != xno || MSGFMT=false
6754 if test "$MSGFMT" != "false"
6755 then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6757 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6758 if ${wine_cv_msgfmt_contexts+:} false; then :
6759 $as_echo_n "(cached) " >&6
6760 else
6761 cat >conftest.po <<EOF
6762 # comment
6763 msgctxt "ctxt"
6764 msgid "id"
6765 msgstr "str"
6767 if $MSGFMT -o /dev/null conftest.po 2>&5
6768 then
6769 wine_cv_msgfmt_contexts=yes
6770 else
6771 wine_cv_msgfmt_contexts=no
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6775 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6776 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6778 if test "$MSGFMT" = false; then :
6779 case "x$with_gettext" in
6780 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6781 xno) ;;
6782 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6783 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6784 esac
6785 enable_po=${enable_po:-no}
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6790 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6791 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6792 $as_echo_n "(cached) " >&6
6793 else
6794 ac_check_lib_save_LIBS=$LIBS
6795 LIBS="-li386 $LIBS"
6796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6797 /* end confdefs.h. */
6799 /* Override any GCC internal prototype to avoid an error.
6800 Use char because int might match the return type of a GCC
6801 builtin and then its argument prototype would still apply. */
6802 #ifdef __cplusplus
6803 extern "C"
6804 #endif
6805 char i386_set_ldt ();
6807 main ()
6809 return i386_set_ldt ();
6811 return 0;
6813 _ACEOF
6814 if ac_fn_c_try_link "$LINENO"; then :
6815 ac_cv_lib_i386_i386_set_ldt=yes
6816 else
6817 ac_cv_lib_i386_i386_set_ldt=no
6819 rm -f core conftest.err conftest.$ac_objext \
6820 conftest$ac_exeext conftest.$ac_ext
6821 LIBS=$ac_check_lib_save_LIBS
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6824 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6825 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6826 cat >>confdefs.h <<_ACEOF
6827 #define HAVE_LIBI386 1
6828 _ACEOF
6830 LIBS="-li386 $LIBS"
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6835 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6836 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6837 $as_echo_n "(cached) " >&6
6838 else
6839 ac_check_lib_save_LIBS=$LIBS
6840 LIBS="-lossaudio $LIBS"
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6844 /* Override any GCC internal prototype to avoid an error.
6845 Use char because int might match the return type of a GCC
6846 builtin and then its argument prototype would still apply. */
6847 #ifdef __cplusplus
6848 extern "C"
6849 #endif
6850 char _oss_ioctl ();
6852 main ()
6854 return _oss_ioctl ();
6856 return 0;
6858 _ACEOF
6859 if ac_fn_c_try_link "$LINENO"; then :
6860 ac_cv_lib_ossaudio__oss_ioctl=yes
6861 else
6862 ac_cv_lib_ossaudio__oss_ioctl=no
6864 rm -f core conftest.err conftest.$ac_objext \
6865 conftest$ac_exeext conftest.$ac_ext
6866 LIBS=$ac_check_lib_save_LIBS
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6869 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6870 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6871 cat >>confdefs.h <<_ACEOF
6872 #define HAVE_LIBOSSAUDIO 1
6873 _ACEOF
6875 LIBS="-lossaudio $LIBS"
6880 OPENGL_LIBS=""
6884 # Check whether --enable-largefile was given.
6885 if test "${enable_largefile+set}" = set; then :
6886 enableval=$enable_largefile;
6889 if test "$enable_largefile" != no; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6892 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6893 if ${ac_cv_sys_largefile_CC+:} false; then :
6894 $as_echo_n "(cached) " >&6
6895 else
6896 ac_cv_sys_largefile_CC=no
6897 if test "$GCC" != yes; then
6898 ac_save_CC=$CC
6899 while :; do
6900 # IRIX 6.2 and later do not support large files by default,
6901 # so use the C compiler's -n32 option if that helps.
6902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6904 #include <sys/types.h>
6905 /* Check that off_t can represent 2**63 - 1 correctly.
6906 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6907 since some C++ compilers masquerading as C compilers
6908 incorrectly reject 9223372036854775807. */
6909 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6910 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6911 && LARGE_OFF_T % 2147483647 == 1)
6912 ? 1 : -1];
6914 main ()
6918 return 0;
6920 _ACEOF
6921 if ac_fn_c_try_compile "$LINENO"; then :
6922 break
6924 rm -f core conftest.err conftest.$ac_objext
6925 CC="$CC -n32"
6926 if ac_fn_c_try_compile "$LINENO"; then :
6927 ac_cv_sys_largefile_CC=' -n32'; break
6929 rm -f core conftest.err conftest.$ac_objext
6930 break
6931 done
6932 CC=$ac_save_CC
6933 rm -f conftest.$ac_ext
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6937 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6938 if test "$ac_cv_sys_largefile_CC" != no; then
6939 CC=$CC$ac_cv_sys_largefile_CC
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6943 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6944 if ${ac_cv_sys_file_offset_bits+:} false; then :
6945 $as_echo_n "(cached) " >&6
6946 else
6947 while :; do
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6950 #include <sys/types.h>
6951 /* Check that off_t can represent 2**63 - 1 correctly.
6952 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6953 since some C++ compilers masquerading as C compilers
6954 incorrectly reject 9223372036854775807. */
6955 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6956 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6957 && LARGE_OFF_T % 2147483647 == 1)
6958 ? 1 : -1];
6960 main ()
6964 return 0;
6966 _ACEOF
6967 if ac_fn_c_try_compile "$LINENO"; then :
6968 ac_cv_sys_file_offset_bits=no; break
6970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 #define _FILE_OFFSET_BITS 64
6974 #include <sys/types.h>
6975 /* Check that off_t can represent 2**63 - 1 correctly.
6976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6977 since some C++ compilers masquerading as C compilers
6978 incorrectly reject 9223372036854775807. */
6979 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6981 && LARGE_OFF_T % 2147483647 == 1)
6982 ? 1 : -1];
6984 main ()
6988 return 0;
6990 _ACEOF
6991 if ac_fn_c_try_compile "$LINENO"; then :
6992 ac_cv_sys_file_offset_bits=64; break
6994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6995 ac_cv_sys_file_offset_bits=unknown
6996 break
6997 done
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7000 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7001 case $ac_cv_sys_file_offset_bits in #(
7002 no | unknown) ;;
7004 cat >>confdefs.h <<_ACEOF
7005 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7006 _ACEOF
7008 esac
7009 rm -rf conftest*
7010 if test $ac_cv_sys_file_offset_bits = unknown; then
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7012 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7013 if ${ac_cv_sys_large_files+:} false; then :
7014 $as_echo_n "(cached) " >&6
7015 else
7016 while :; do
7017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7018 /* end confdefs.h. */
7019 #include <sys/types.h>
7020 /* Check that off_t can represent 2**63 - 1 correctly.
7021 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7022 since some C++ compilers masquerading as C compilers
7023 incorrectly reject 9223372036854775807. */
7024 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7025 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7026 && LARGE_OFF_T % 2147483647 == 1)
7027 ? 1 : -1];
7029 main ()
7033 return 0;
7035 _ACEOF
7036 if ac_fn_c_try_compile "$LINENO"; then :
7037 ac_cv_sys_large_files=no; break
7039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7041 /* end confdefs.h. */
7042 #define _LARGE_FILES 1
7043 #include <sys/types.h>
7044 /* Check that off_t can represent 2**63 - 1 correctly.
7045 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7046 since some C++ compilers masquerading as C compilers
7047 incorrectly reject 9223372036854775807. */
7048 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7049 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7050 && LARGE_OFF_T % 2147483647 == 1)
7051 ? 1 : -1];
7053 main ()
7057 return 0;
7059 _ACEOF
7060 if ac_fn_c_try_compile "$LINENO"; then :
7061 ac_cv_sys_large_files=1; break
7063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7064 ac_cv_sys_large_files=unknown
7065 break
7066 done
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7069 $as_echo "$ac_cv_sys_large_files" >&6; }
7070 case $ac_cv_sys_large_files in #(
7071 no | unknown) ;;
7073 cat >>confdefs.h <<_ACEOF
7074 #define _LARGE_FILES $ac_cv_sys_large_files
7075 _ACEOF
7077 esac
7078 rm -rf conftest*
7085 ac_ext=c
7086 ac_cpp='$CPP $CPPFLAGS'
7087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7091 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7092 # On Suns, sometimes $CPP names a directory.
7093 if test -n "$CPP" && test -d "$CPP"; then
7094 CPP=
7096 if test -z "$CPP"; then
7097 if ${ac_cv_prog_CPP+:} false; then :
7098 $as_echo_n "(cached) " >&6
7099 else
7100 # Double quotes because CPP needs to be expanded
7101 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7103 ac_preproc_ok=false
7104 for ac_c_preproc_warn_flag in '' yes
7106 # Use a header file that comes with gcc, so configuring glibc
7107 # with a fresh cross-compiler works.
7108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7109 # <limits.h> exists even on freestanding compilers.
7110 # On the NeXT, cc -E runs the code through the compiler's parser,
7111 # not just through cpp. "Syntax error" is here to catch this case.
7112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113 /* end confdefs.h. */
7114 #ifdef __STDC__
7115 # include <limits.h>
7116 #else
7117 # include <assert.h>
7118 #endif
7119 Syntax error
7120 _ACEOF
7121 if ac_fn_c_try_cpp "$LINENO"; then :
7123 else
7124 # Broken: fails on valid input.
7125 continue
7127 rm -f conftest.err conftest.i conftest.$ac_ext
7129 # OK, works on sane cases. Now check whether nonexistent headers
7130 # can be detected and how.
7131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7132 /* end confdefs.h. */
7133 #include <ac_nonexistent.h>
7134 _ACEOF
7135 if ac_fn_c_try_cpp "$LINENO"; then :
7136 # Broken: success on invalid input.
7137 continue
7138 else
7139 # Passes both tests.
7140 ac_preproc_ok=:
7141 break
7143 rm -f conftest.err conftest.i conftest.$ac_ext
7145 done
7146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7147 rm -f conftest.i conftest.err conftest.$ac_ext
7148 if $ac_preproc_ok; then :
7149 break
7152 done
7153 ac_cv_prog_CPP=$CPP
7156 CPP=$ac_cv_prog_CPP
7157 else
7158 ac_cv_prog_CPP=$CPP
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7161 $as_echo "$CPP" >&6; }
7162 ac_preproc_ok=false
7163 for ac_c_preproc_warn_flag in '' yes
7165 # Use a header file that comes with gcc, so configuring glibc
7166 # with a fresh cross-compiler works.
7167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7168 # <limits.h> exists even on freestanding compilers.
7169 # On the NeXT, cc -E runs the code through the compiler's parser,
7170 # not just through cpp. "Syntax error" is here to catch this case.
7171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7173 #ifdef __STDC__
7174 # include <limits.h>
7175 #else
7176 # include <assert.h>
7177 #endif
7178 Syntax error
7179 _ACEOF
7180 if ac_fn_c_try_cpp "$LINENO"; then :
7182 else
7183 # Broken: fails on valid input.
7184 continue
7186 rm -f conftest.err conftest.i conftest.$ac_ext
7188 # OK, works on sane cases. Now check whether nonexistent headers
7189 # can be detected and how.
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7192 #include <ac_nonexistent.h>
7193 _ACEOF
7194 if ac_fn_c_try_cpp "$LINENO"; then :
7195 # Broken: success on invalid input.
7196 continue
7197 else
7198 # Passes both tests.
7199 ac_preproc_ok=:
7200 break
7202 rm -f conftest.err conftest.i conftest.$ac_ext
7204 done
7205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7206 rm -f conftest.i conftest.err conftest.$ac_ext
7207 if $ac_preproc_ok; then :
7209 else
7210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7212 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7213 See \`config.log' for more details" "$LINENO" 5; }
7216 ac_ext=c
7217 ac_cpp='$CPP $CPPFLAGS'
7218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7224 $as_echo_n "checking for ANSI C header files... " >&6; }
7225 if ${ac_cv_header_stdc+:} false; then :
7226 $as_echo_n "(cached) " >&6
7227 else
7228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7229 /* end confdefs.h. */
7230 #include <stdlib.h>
7231 #include <stdarg.h>
7232 #include <string.h>
7233 #include <float.h>
7236 main ()
7240 return 0;
7242 _ACEOF
7243 if ac_fn_c_try_compile "$LINENO"; then :
7244 ac_cv_header_stdc=yes
7245 else
7246 ac_cv_header_stdc=no
7248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7250 if test $ac_cv_header_stdc = yes; then
7251 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h. */
7254 #include <string.h>
7256 _ACEOF
7257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7258 $EGREP "memchr" >/dev/null 2>&1; then :
7260 else
7261 ac_cv_header_stdc=no
7263 rm -f conftest*
7267 if test $ac_cv_header_stdc = yes; then
7268 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7271 #include <stdlib.h>
7273 _ACEOF
7274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7275 $EGREP "free" >/dev/null 2>&1; then :
7277 else
7278 ac_cv_header_stdc=no
7280 rm -f conftest*
7284 if test $ac_cv_header_stdc = yes; then
7285 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7286 if test "$cross_compiling" = yes; then :
7288 else
7289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7290 /* end confdefs.h. */
7291 #include <ctype.h>
7292 #include <stdlib.h>
7293 #if ((' ' & 0x0FF) == 0x020)
7294 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7295 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7296 #else
7297 # define ISLOWER(c) \
7298 (('a' <= (c) && (c) <= 'i') \
7299 || ('j' <= (c) && (c) <= 'r') \
7300 || ('s' <= (c) && (c) <= 'z'))
7301 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7302 #endif
7304 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7306 main ()
7308 int i;
7309 for (i = 0; i < 256; i++)
7310 if (XOR (islower (i), ISLOWER (i))
7311 || toupper (i) != TOUPPER (i))
7312 return 2;
7313 return 0;
7315 _ACEOF
7316 if ac_fn_c_try_run "$LINENO"; then :
7318 else
7319 ac_cv_header_stdc=no
7321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7322 conftest.$ac_objext conftest.beam conftest.$ac_ext
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7328 $as_echo "$ac_cv_header_stdc" >&6; }
7329 if test $ac_cv_header_stdc = yes; then
7331 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7335 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7336 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7337 inttypes.h stdint.h unistd.h
7338 do :
7339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7340 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7343 cat >>confdefs.h <<_ACEOF
7344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7345 _ACEOF
7349 done
7352 for ac_header in \
7353 AL/al.h \
7354 ApplicationServices/ApplicationServices.h \
7355 AudioToolbox/AudioConverter.h \
7356 AudioUnit/AudioUnit.h \
7357 AudioUnit/AudioComponent.h \
7358 CL/cl.h \
7359 Carbon/Carbon.h \
7360 CommonCrypto/CommonCryptor.h \
7361 CoreAudio/CoreAudio.h \
7362 CoreServices/CoreServices.h \
7363 DiskArbitration/DiskArbitration.h \
7364 EGL/egl.h \
7365 IOKit/IOKitLib.h \
7366 IOKit/hid/IOHIDLib.h \
7367 OpenAL/al.h \
7368 OpenCL/opencl.h \
7369 QuickTime/ImageCompression.h \
7370 Security/Security.h \
7371 alias.h \
7372 arpa/inet.h \
7373 arpa/nameser.h \
7374 asm/types.h \
7375 asm/user.h \
7376 curses.h \
7377 dirent.h \
7378 dlfcn.h \
7379 elf.h \
7380 float.h \
7381 fnmatch.h \
7382 getopt.h \
7383 gettext-po.h \
7384 grp.h \
7385 gsm.h \
7386 gsm/gsm.h \
7387 ieeefp.h \
7388 inet/mib2.h \
7389 kstat.h \
7390 libproc.h \
7391 link.h \
7392 linux/cdrom.h \
7393 linux/compiler.h \
7394 linux/filter.h \
7395 linux/hdreg.h \
7396 linux/hidraw.h \
7397 linux/input.h \
7398 linux/ioctl.h \
7399 linux/joystick.h \
7400 linux/major.h \
7401 linux/param.h \
7402 linux/serial.h \
7403 linux/types.h \
7404 linux/ucdrom.h \
7405 lwp.h \
7406 mach-o/nlist.h \
7407 mach-o/loader.h \
7408 mach/mach.h \
7409 mach/machine.h \
7410 machine/cpu.h \
7411 machine/limits.h \
7412 machine/sysarch.h \
7413 mntent.h \
7414 ncurses.h \
7415 netdb.h \
7416 netinet/in.h \
7417 netinet/in_systm.h \
7418 netinet/tcp.h \
7419 netinet/tcp_fsm.h \
7420 pcap/pcap.h \
7421 poll.h \
7422 port.h \
7423 pthread.h \
7424 pwd.h \
7425 sched.h \
7426 scsi/scsi.h \
7427 scsi/scsi_ioctl.h \
7428 scsi/sg.h \
7429 stdbool.h \
7430 stdint.h \
7431 stropts.h \
7432 sys/attr.h \
7433 sys/auxv.h \
7434 sys/cdio.h \
7435 sys/elf32.h \
7436 sys/epoll.h \
7437 sys/event.h \
7438 sys/exec_elf.h \
7439 sys/filio.h \
7440 sys/ioctl.h \
7441 sys/ipc.h \
7442 sys/limits.h \
7443 sys/link.h \
7444 sys/mman.h \
7445 sys/modem.h \
7446 sys/msg.h \
7447 sys/mtio.h \
7448 sys/param.h \
7449 sys/poll.h \
7450 sys/prctl.h \
7451 sys/protosw.h \
7452 sys/ptrace.h \
7453 sys/queue.h \
7454 sys/resource.h \
7455 sys/scsiio.h \
7456 sys/shm.h \
7457 sys/signal.h \
7458 sys/socket.h \
7459 sys/socketvar.h \
7460 sys/sockio.h \
7461 sys/statvfs.h \
7462 sys/strtio.h \
7463 sys/syscall.h \
7464 sys/sysinfo.h \
7465 sys/tihdr.h \
7466 sys/time.h \
7467 sys/timeout.h \
7468 sys/times.h \
7469 sys/uio.h \
7470 sys/user.h \
7471 sys/utsname.h \
7472 sys/vnode.h \
7473 sys/wait.h \
7474 syscall.h \
7475 termios.h \
7476 unistd.h \
7477 utime.h \
7478 valgrind/memcheck.h \
7479 valgrind/valgrind.h \
7480 zlib.h
7482 do :
7483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7484 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7486 cat >>confdefs.h <<_ACEOF
7487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7488 _ACEOF
7492 done
7494 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7495 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7497 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7502 if test $ac_cv_header_sys_mkdev_h = no; then
7503 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7504 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7506 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7513 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7514 if ${ac_cv_header_stat_broken+:} false; then :
7515 $as_echo_n "(cached) " >&6
7516 else
7517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7518 /* end confdefs.h. */
7519 #include <sys/types.h>
7520 #include <sys/stat.h>
7522 #if defined S_ISBLK && defined S_IFDIR
7523 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7524 #endif
7526 #if defined S_ISBLK && defined S_IFCHR
7527 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7528 #endif
7530 #if defined S_ISLNK && defined S_IFREG
7531 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7532 #endif
7534 #if defined S_ISSOCK && defined S_IFREG
7535 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7536 #endif
7538 _ACEOF
7539 if ac_fn_c_try_compile "$LINENO"; then :
7540 ac_cv_header_stat_broken=no
7541 else
7542 ac_cv_header_stat_broken=yes
7544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7547 $as_echo "$ac_cv_header_stat_broken" >&6; }
7548 if test $ac_cv_header_stat_broken = yes; then
7550 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7556 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7557 do :
7558 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7559 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7560 #ifdef HAVE_SYS_PARAM_H
7561 # include <sys/param.h>
7562 #endif
7564 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7565 cat >>confdefs.h <<_ACEOF
7566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7567 _ACEOF
7571 done
7574 for ac_header in \
7575 netinet/ip.h \
7576 net/if.h \
7577 net/if_arp.h \
7578 net/if_dl.h \
7579 net/if_types.h \
7580 net/route.h \
7581 netinet/if_ether.h \
7582 netinet/if_inarp.h \
7583 netinet/in_pcb.h \
7584 netinet/ip_icmp.h \
7585 netinet/ip_var.h \
7586 netinet/udp.h \
7587 netipx/ipx.h \
7588 sys/un.h \
7590 do :
7591 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7592 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7593 #ifdef HAVE_SYS_SOCKET_H
7594 # include <sys/socket.h>
7595 #endif
7596 #ifdef HAVE_SYS_SOCKETVAR_H
7597 # include <sys/socketvar.h>
7598 #endif
7599 #ifdef HAVE_NET_ROUTE_H
7600 # include <net/route.h>
7601 #endif
7602 #ifdef HAVE_NETINET_IN_H
7603 # include <netinet/in.h>
7604 #endif
7605 #ifdef HAVE_NETINET_IN_SYSTM_H
7606 # include <netinet/in_systm.h>
7607 #endif
7608 #ifdef HAVE_NET_IF_H
7609 # include <net/if.h>
7610 #endif
7611 #ifdef HAVE_NETINET_IP_H
7612 # include <netinet/ip.h>
7613 #endif
7615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7616 cat >>confdefs.h <<_ACEOF
7617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 _ACEOF
7622 done
7625 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7626 do :
7627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7628 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7629 #ifdef HAVE_ALIAS_H
7630 # include <alias.h>
7631 #endif
7632 #ifdef HAVE_SYS_SOCKET_H
7633 # include <sys/socket.h>
7634 #endif
7635 #ifdef HAVE_SYS_SOCKETVAR_H
7636 # include <sys/socketvar.h>
7637 #endif
7638 #ifdef HAVE_SYS_TIMEOUT_H
7639 # include <sys/timeout.h>
7640 #endif
7641 #ifdef HAVE_NETINET_IN_H
7642 # include <netinet/in.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IN_SYSTM_H
7645 # include <netinet/in_systm.h>
7646 #endif
7647 #ifdef HAVE_NETINET_IP_H
7648 # include <netinet/ip.h>
7649 #endif
7650 #ifdef HAVE_NETINET_IP_VAR_H
7651 # include <netinet/ip_var.h>
7652 #endif
7653 #ifdef HAVE_NETINET_IP_ICMP_H
7654 # include <netinet/ip_icmp.h>
7655 #endif
7656 #ifdef HAVE_NETINET_UDP_H
7657 # include <netinet/udp.h>
7658 #endif
7659 #ifdef HAVE_NETINET_TCP_H
7660 # include <netinet/tcp.h>
7661 #endif
7662 #ifdef HAVE_NETINET_TCP_TIMER_H
7663 #include <netinet/tcp_timer.h>
7664 #endif
7666 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7667 cat >>confdefs.h <<_ACEOF
7668 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 _ACEOF
7673 done
7676 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7677 do :
7678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7679 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7680 #ifdef HAVE_ASM_TYPES_H
7681 # include <asm/types.h>
7682 #endif
7683 #ifdef HAVE_SYS_SOCKET_H
7684 # include <sys/socket.h>
7685 #endif
7686 #ifdef HAVE_LINUX_TYPES_H
7687 # include <linux/types.h>
7688 #endif
7690 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7691 cat >>confdefs.h <<_ACEOF
7692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7693 _ACEOF
7697 done
7700 for ac_header in mach-o/dyld_images.h
7701 do :
7702 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7703 # include <stdbool.h>
7704 #endif
7705 #ifdef HAVE_STDINT_H
7706 # include <stdint.h>
7707 #endif
7709 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7710 cat >>confdefs.h <<_ACEOF
7711 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7712 _ACEOF
7716 done
7719 for ac_header in resolv.h
7720 do :
7721 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7722 #ifdef HAVE_SYS_SOCKET_H
7723 # include <sys/socket.h>
7724 #endif
7725 #ifdef HAVE_NETINET_IN_H
7726 # include <netinet/in.h>
7727 #endif
7728 #ifdef HAVE_ARPA_NAMESER_H
7729 # include <arpa/nameser.h>
7730 #endif
7732 if test "x$ac_cv_header_resolv_h" = xyes; then :
7733 cat >>confdefs.h <<_ACEOF
7734 #define HAVE_RESOLV_H 1
7735 _ACEOF
7739 done
7742 for ac_header in ifaddrs.h
7743 do :
7744 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7746 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define HAVE_IFADDRS_H 1
7749 _ACEOF
7753 done
7756 for ac_header in sys/ucontext.h
7757 do :
7758 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7760 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7761 cat >>confdefs.h <<_ACEOF
7762 #define HAVE_SYS_UCONTEXT_H 1
7763 _ACEOF
7767 done
7770 for ac_header in sys/thr.h
7771 do :
7772 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7773 #ifdef HAVE_SYS_UCONTEXT_H
7774 #include <sys/ucontext.h>
7775 #endif
7777 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define HAVE_SYS_THR_H 1
7780 _ACEOF
7784 done
7787 for ac_header in pthread_np.h
7788 do :
7789 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7790 #include <pthread.h>
7791 #endif
7793 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7794 cat >>confdefs.h <<_ACEOF
7795 #define HAVE_PTHREAD_NP_H 1
7796 _ACEOF
7800 done
7803 for ac_header in linux/videodev2.h
7804 do :
7805 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7806 #include <sys/time.h>
7807 #endif
7808 #include <sys/types.h>
7809 #ifdef HAVE_ASM_TYPES_H
7810 #include <asm/types.h>
7811 #endif
7813 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7814 cat >>confdefs.h <<_ACEOF
7815 #define HAVE_LINUX_VIDEODEV2_H 1
7816 _ACEOF
7820 done
7823 for ac_header in libprocstat.h
7824 do :
7825 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7826 #include <sys/param.h>
7827 #endif
7828 #ifdef HAVE_SYS_QUEUE_H
7829 #include <sys/queue.h>
7830 #endif
7831 #ifdef HAVE_SYS_SOCKET_H
7832 #include <sys/socket.h>
7833 #endif
7835 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7836 cat >>confdefs.h <<_ACEOF
7837 #define HAVE_LIBPROCSTAT_H 1
7838 _ACEOF
7842 done
7846 DLLFLAGS="-D_REENTRANT"
7848 LDRPATH_INSTALL=""
7850 LDRPATH_LOCAL=""
7852 LDDLLFLAGS=""
7854 LDEXECFLAGS=""
7856 TOP_INSTALL_LIB=""
7858 TOP_INSTALL_DEV=""
7860 WINELOADER_LDFLAGS=""
7862 WINEPRELOADER_LDFLAGS=""
7864 LIBEXT="so"
7865 DLLEXT=".so"
7866 # Extract the first word of "ldd", so it can be a program name with args.
7867 set dummy ldd; ac_word=$2
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7869 $as_echo_n "checking for $ac_word... " >&6; }
7870 if ${ac_cv_path_LDD+:} false; then :
7871 $as_echo_n "(cached) " >&6
7872 else
7873 case $LDD in
7874 [\\/]* | ?:[\\/]*)
7875 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879 as_dummy="/sbin:/usr/sbin:$PATH"
7880 for as_dir in $as_dummy
7882 IFS=$as_save_IFS
7883 test -z "$as_dir" && as_dir=.
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888 break 2
7890 done
7891 done
7892 IFS=$as_save_IFS
7894 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7896 esac
7898 LDD=$ac_cv_path_LDD
7899 if test -n "$LDD"; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7901 $as_echo "$LDD" >&6; }
7902 else
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7904 $as_echo "no" >&6; }
7908 if test -n "$ac_tool_prefix"; then
7909 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7910 set dummy ${ac_tool_prefix}otool; ac_word=$2
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7912 $as_echo_n "checking for $ac_word... " >&6; }
7913 if ${ac_cv_prog_OTOOL+:} false; then :
7914 $as_echo_n "(cached) " >&6
7915 else
7916 if test -n "$OTOOL"; then
7917 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7918 else
7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 for as_dir in $PATH
7922 IFS=$as_save_IFS
7923 test -z "$as_dir" && as_dir=.
7924 for ac_exec_ext in '' $ac_executable_extensions; do
7925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7926 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7928 break 2
7930 done
7931 done
7932 IFS=$as_save_IFS
7936 OTOOL=$ac_cv_prog_OTOOL
7937 if test -n "$OTOOL"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7939 $as_echo "$OTOOL" >&6; }
7940 else
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 $as_echo "no" >&6; }
7947 if test -z "$ac_cv_prog_OTOOL"; then
7948 ac_ct_OTOOL=$OTOOL
7949 # Extract the first word of "otool", so it can be a program name with args.
7950 set dummy otool; ac_word=$2
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7952 $as_echo_n "checking for $ac_word... " >&6; }
7953 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7954 $as_echo_n "(cached) " >&6
7955 else
7956 if test -n "$ac_ct_OTOOL"; then
7957 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7958 else
7959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960 for as_dir in $PATH
7962 IFS=$as_save_IFS
7963 test -z "$as_dir" && as_dir=.
7964 for ac_exec_ext in '' $ac_executable_extensions; do
7965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7966 ac_cv_prog_ac_ct_OTOOL="otool"
7967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968 break 2
7970 done
7971 done
7972 IFS=$as_save_IFS
7976 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7977 if test -n "$ac_ct_OTOOL"; then
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7979 $as_echo "$ac_ct_OTOOL" >&6; }
7980 else
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7982 $as_echo "no" >&6; }
7985 if test "x$ac_ct_OTOOL" = x; then
7986 OTOOL="otool"
7987 else
7988 case $cross_compiling:$ac_tool_warned in
7989 yes:)
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7992 ac_tool_warned=yes ;;
7993 esac
7994 OTOOL=$ac_ct_OTOOL
7996 else
7997 OTOOL="$ac_cv_prog_OTOOL"
8000 if test -n "$ac_tool_prefix"; then
8001 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8002 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8004 $as_echo_n "checking for $ac_word... " >&6; }
8005 if ${ac_cv_prog_READELF+:} false; then :
8006 $as_echo_n "(cached) " >&6
8007 else
8008 if test -n "$READELF"; then
8009 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8010 else
8011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 for as_dir in $PATH
8014 IFS=$as_save_IFS
8015 test -z "$as_dir" && as_dir=.
8016 for ac_exec_ext in '' $ac_executable_extensions; do
8017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8020 break 2
8022 done
8023 done
8024 IFS=$as_save_IFS
8028 READELF=$ac_cv_prog_READELF
8029 if test -n "$READELF"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8031 $as_echo "$READELF" >&6; }
8032 else
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8039 if test -z "$ac_cv_prog_READELF"; then
8040 ac_ct_READELF=$READELF
8041 # Extract the first word of "readelf", so it can be a program name with args.
8042 set dummy readelf; ac_word=$2
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044 $as_echo_n "checking for $ac_word... " >&6; }
8045 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8046 $as_echo_n "(cached) " >&6
8047 else
8048 if test -n "$ac_ct_READELF"; then
8049 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8050 else
8051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052 for as_dir in $PATH
8054 IFS=$as_save_IFS
8055 test -z "$as_dir" && as_dir=.
8056 for ac_exec_ext in '' $ac_executable_extensions; do
8057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8058 ac_cv_prog_ac_ct_READELF="readelf"
8059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060 break 2
8062 done
8063 done
8064 IFS=$as_save_IFS
8068 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8069 if test -n "$ac_ct_READELF"; then
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8071 $as_echo "$ac_ct_READELF" >&6; }
8072 else
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8077 if test "x$ac_ct_READELF" = x; then
8078 READELF="true"
8079 else
8080 case $cross_compiling:$ac_tool_warned in
8081 yes:)
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8084 ac_tool_warned=yes ;;
8085 esac
8086 READELF=$ac_ct_READELF
8088 else
8089 READELF="$ac_cv_prog_READELF"
8092 wine_rules_file=conf$$rules.make
8093 rm -f $wine_rules_file
8094 SUBDIRS=""
8096 DISABLED_SUBDIRS=""
8098 CONFIGURE_TARGETS=""
8101 wine_fn_append_file ()
8103 as_fn_append $1 " \\$as_nl $2"
8106 wine_fn_append_rule ()
8108 $as_echo "$1" >>$wine_rules_file
8111 wine_fn_config_makefile ()
8113 wine_fn_append_file SUBDIRS $1
8114 if eval test \"x\$"$2"\" = x"no"; then :
8115 wine_fn_append_file DISABLED_SUBDIRS $1
8119 wine_fn_config_symlink ()
8121 ac_links=$@
8122 wine_fn_append_rule \
8123 "$ac_links:
8124 @./config.status \$@"
8125 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8128 wine_binary="wine"
8129 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8130 WINELOADER_PROGRAMS="$wine_binary"
8132 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8134 case $host_os in
8135 cygwin*|mingw32*)
8136 if test -n "$ac_tool_prefix"; then
8137 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8138 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8140 $as_echo_n "checking for $ac_word... " >&6; }
8141 if ${ac_cv_prog_DLLTOOL+:} false; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 if test -n "$DLLTOOL"; then
8145 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8146 else
8147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8148 for as_dir in $PATH
8150 IFS=$as_save_IFS
8151 test -z "$as_dir" && as_dir=.
8152 for ac_exec_ext in '' $ac_executable_extensions; do
8153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8154 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8156 break 2
8158 done
8159 done
8160 IFS=$as_save_IFS
8164 DLLTOOL=$ac_cv_prog_DLLTOOL
8165 if test -n "$DLLTOOL"; then
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8167 $as_echo "$DLLTOOL" >&6; }
8168 else
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8170 $as_echo "no" >&6; }
8175 if test -z "$ac_cv_prog_DLLTOOL"; then
8176 ac_ct_DLLTOOL=$DLLTOOL
8177 # Extract the first word of "dlltool", so it can be a program name with args.
8178 set dummy dlltool; ac_word=$2
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8180 $as_echo_n "checking for $ac_word... " >&6; }
8181 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8182 $as_echo_n "(cached) " >&6
8183 else
8184 if test -n "$ac_ct_DLLTOOL"; then
8185 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8186 else
8187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8188 for as_dir in $PATH
8190 IFS=$as_save_IFS
8191 test -z "$as_dir" && as_dir=.
8192 for ac_exec_ext in '' $ac_executable_extensions; do
8193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8194 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8196 break 2
8198 done
8199 done
8200 IFS=$as_save_IFS
8204 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8205 if test -n "$ac_ct_DLLTOOL"; then
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8207 $as_echo "$ac_ct_DLLTOOL" >&6; }
8208 else
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8210 $as_echo "no" >&6; }
8213 if test "x$ac_ct_DLLTOOL" = x; then
8214 DLLTOOL="false"
8215 else
8216 case $cross_compiling:$ac_tool_warned in
8217 yes:)
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8220 ac_tool_warned=yes ;;
8221 esac
8222 DLLTOOL=$ac_ct_DLLTOOL
8224 else
8225 DLLTOOL="$ac_cv_prog_DLLTOOL"
8228 LIBEXT="dll"
8229 DLLEXT=""
8230 case $host_cpu in
8231 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8232 esac
8233 enable_iphlpapi=${enable_iphlpapi:-no}
8234 enable_kernel32=${enable_kernel32:-no}
8235 enable_ntdll=${enable_ntdll:-no}
8236 enable_ws2_32=${enable_ws2_32:-no}
8237 enable_loader=${enable_loader:-no}
8238 enable_server=${enable_server:-no}
8239 with_x=${with_x:-no}
8240 with_pthread=${with_pthread:-no}
8243 darwin*|macosx*)
8244 for ac_header in libunwind.h
8245 do :
8246 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8248 cat >>confdefs.h <<_ACEOF
8249 #define HAVE_LIBUNWIND_H 1
8250 _ACEOF
8254 done
8256 ac_ext=m
8257 ac_cpp='$OBJCPP $CPPFLAGS'
8258 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8259 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8260 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8262 ac_ext=m
8263 ac_cpp='$OBJCPP $CPPFLAGS'
8264 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8265 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8266 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8267 if test -n "$ac_tool_prefix"; then
8268 for ac_prog in gcc objcc objc cc CC
8270 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8271 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8273 $as_echo_n "checking for $ac_word... " >&6; }
8274 if ${ac_cv_prog_OBJC+:} false; then :
8275 $as_echo_n "(cached) " >&6
8276 else
8277 if test -n "$OBJC"; then
8278 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8279 else
8280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 for as_dir in $PATH
8283 IFS=$as_save_IFS
8284 test -z "$as_dir" && as_dir=.
8285 for ac_exec_ext in '' $ac_executable_extensions; do
8286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8287 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8289 break 2
8291 done
8292 done
8293 IFS=$as_save_IFS
8297 OBJC=$ac_cv_prog_OBJC
8298 if test -n "$OBJC"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8300 $as_echo "$OBJC" >&6; }
8301 else
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303 $as_echo "no" >&6; }
8307 test -n "$OBJC" && break
8308 done
8310 if test -z "$OBJC"; then
8311 ac_ct_OBJC=$OBJC
8312 for ac_prog in gcc objcc objc cc CC
8314 # Extract the first word of "$ac_prog", so it can be a program name with args.
8315 set dummy $ac_prog; ac_word=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8317 $as_echo_n "checking for $ac_word... " >&6; }
8318 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 if test -n "$ac_ct_OBJC"; then
8322 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8323 else
8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8325 for as_dir in $PATH
8327 IFS=$as_save_IFS
8328 test -z "$as_dir" && as_dir=.
8329 for ac_exec_ext in '' $ac_executable_extensions; do
8330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8331 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8333 break 2
8335 done
8336 done
8337 IFS=$as_save_IFS
8341 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8342 if test -n "$ac_ct_OBJC"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8344 $as_echo "$ac_ct_OBJC" >&6; }
8345 else
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8347 $as_echo "no" >&6; }
8351 test -n "$ac_ct_OBJC" && break
8352 done
8354 if test "x$ac_ct_OBJC" = x; then
8355 OBJC="gcc"
8356 else
8357 case $cross_compiling:$ac_tool_warned in
8358 yes:)
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8361 ac_tool_warned=yes ;;
8362 esac
8363 OBJC=$ac_ct_OBJC
8367 # Provide some information about the compiler.
8368 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8369 set X $ac_compile
8370 ac_compiler=$2
8371 for ac_option in --version -v -V -qversion; do
8372 { { ac_try="$ac_compiler $ac_option >&5"
8373 case "(($ac_try" in
8374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8375 *) ac_try_echo=$ac_try;;
8376 esac
8377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8378 $as_echo "$ac_try_echo"; } >&5
8379 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8380 ac_status=$?
8381 if test -s conftest.err; then
8382 sed '10a\
8383 ... rest of stderr output deleted ...
8384 10q' conftest.err >conftest.er1
8385 cat conftest.er1 >&5
8387 rm -f conftest.er1 conftest.err
8388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8389 test $ac_status = 0; }
8390 done
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8393 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8394 if ${ac_cv_objc_compiler_gnu+:} false; then :
8395 $as_echo_n "(cached) " >&6
8396 else
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8401 main ()
8403 #ifndef __GNUC__
8404 choke me
8405 #endif
8408 return 0;
8410 _ACEOF
8411 if ac_fn_objc_try_compile "$LINENO"; then :
8412 ac_compiler_gnu=yes
8413 else
8414 ac_compiler_gnu=no
8416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8417 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8421 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8422 if test $ac_compiler_gnu = yes; then
8423 GOBJC=yes
8424 else
8425 GOBJC=
8427 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8428 ac_save_OBJCFLAGS=$OBJCFLAGS
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8430 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8431 if ${ac_cv_prog_objc_g+:} false; then :
8432 $as_echo_n "(cached) " >&6
8433 else
8434 ac_save_objc_werror_flag=$ac_objc_werror_flag
8435 ac_objc_werror_flag=yes
8436 ac_cv_prog_objc_g=no
8437 OBJCFLAGS="-g"
8438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8439 /* end confdefs.h. */
8442 main ()
8446 return 0;
8448 _ACEOF
8449 if ac_fn_objc_try_compile "$LINENO"; then :
8450 ac_cv_prog_objc_g=yes
8451 else
8452 OBJCFLAGS=""
8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8457 main ()
8461 return 0;
8463 _ACEOF
8464 if ac_fn_objc_try_compile "$LINENO"; then :
8466 else
8467 ac_objc_werror_flag=$ac_save_objc_werror_flag
8468 OBJCFLAGS="-g"
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8473 main ()
8477 return 0;
8479 _ACEOF
8480 if ac_fn_objc_try_compile "$LINENO"; then :
8481 ac_cv_prog_objc_g=yes
8483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8488 ac_objc_werror_flag=$ac_save_objc_werror_flag
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8491 $as_echo "$ac_cv_prog_objc_g" >&6; }
8492 if test "$ac_test_OBJCFLAGS" = set; then
8493 OBJCFLAGS=$ac_save_OBJCFLAGS
8494 elif test $ac_cv_prog_objc_g = yes; then
8495 if test "$GOBJC" = yes; then
8496 OBJCFLAGS="-g -O2"
8497 else
8498 OBJCFLAGS="-g"
8500 else
8501 if test "$GOBJC" = yes; then
8502 OBJCFLAGS="-O2"
8503 else
8504 OBJCFLAGS=
8507 ac_ext=m
8508 ac_cpp='$OBJCPP $CPPFLAGS'
8509 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8510 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8511 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
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
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8520 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8521 if test -z "$OBJCPP"; then
8522 if ${ac_cv_prog_OBJCPP+:} false; then :
8523 $as_echo_n "(cached) " >&6
8524 else
8525 # Double quotes because OBJCPP needs to be expanded
8526 for OBJCPP in "$OBJC -E" "/lib/cpp"
8528 ac_preproc_ok=false
8529 for ac_objc_preproc_warn_flag in '' yes
8531 # Use a header file that comes with gcc, so configuring glibc
8532 # with a fresh cross-compiler works.
8533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8534 # <limits.h> exists even on freestanding compilers.
8535 # On the NeXT, cc -E runs the code through the compiler's parser,
8536 # not just through cpp. "Syntax error" is here to catch this case.
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 #ifdef __STDC__
8540 # include <limits.h>
8541 #else
8542 # include <assert.h>
8543 #endif
8544 Syntax error
8545 _ACEOF
8546 if ac_fn_objc_try_cpp "$LINENO"; then :
8548 else
8549 # Broken: fails on valid input.
8550 continue
8552 rm -f conftest.err conftest.i conftest.$ac_ext
8554 # OK, works on sane cases. Now check whether nonexistent headers
8555 # can be detected and how.
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 #include <ac_nonexistent.h>
8559 _ACEOF
8560 if ac_fn_objc_try_cpp "$LINENO"; then :
8561 # Broken: success on invalid input.
8562 continue
8563 else
8564 # Passes both tests.
8565 ac_preproc_ok=:
8566 break
8568 rm -f conftest.err conftest.i conftest.$ac_ext
8570 done
8571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8572 rm -f conftest.i conftest.err conftest.$ac_ext
8573 if $ac_preproc_ok; then :
8574 break
8577 done
8578 ac_cv_prog_OBJCPP=$OBJCPP
8581 OBJCPP=$ac_cv_prog_OBJCPP
8582 else
8583 ac_cv_prog_OBJCPP=$OBJCPP
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8586 $as_echo "$OBJCPP" >&6; }
8587 ac_preproc_ok=false
8588 for ac_objc_preproc_warn_flag in '' yes
8590 # Use a header file that comes with gcc, so configuring glibc
8591 # with a fresh cross-compiler works.
8592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8593 # <limits.h> exists even on freestanding compilers.
8594 # On the NeXT, cc -E runs the code through the compiler's parser,
8595 # not just through cpp. "Syntax error" is here to catch this case.
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 #ifdef __STDC__
8599 # include <limits.h>
8600 #else
8601 # include <assert.h>
8602 #endif
8603 Syntax error
8604 _ACEOF
8605 if ac_fn_objc_try_cpp "$LINENO"; then :
8607 else
8608 # Broken: fails on valid input.
8609 continue
8611 rm -f conftest.err conftest.i conftest.$ac_ext
8613 # OK, works on sane cases. Now check whether nonexistent headers
8614 # can be detected and how.
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 #include <ac_nonexistent.h>
8618 _ACEOF
8619 if ac_fn_objc_try_cpp "$LINENO"; then :
8620 # Broken: success on invalid input.
8621 continue
8622 else
8623 # Passes both tests.
8624 ac_preproc_ok=:
8625 break
8627 rm -f conftest.err conftest.i conftest.$ac_ext
8629 done
8630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8631 rm -f conftest.i conftest.err conftest.$ac_ext
8632 if $ac_preproc_ok; then :
8634 else
8635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8637 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8638 See \`config.log' for more details" "$LINENO" 5; }
8641 ac_ext=m
8642 ac_cpp='$OBJCPP $CPPFLAGS'
8643 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8644 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8645 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8648 for ac_header in Metal/Metal.h
8649 do :
8650 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8651 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8652 cat >>confdefs.h <<_ACEOF
8653 #define HAVE_METAL_METAL_H 1
8654 _ACEOF
8658 done
8660 ac_ext=c
8661 ac_cpp='$CPP $CPPFLAGS'
8662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8666 LIBEXT="dylib"
8667 DLLFLAGS="$DLLFLAGS -fPIC"
8668 LDDLLFLAGS="-fPIC"
8669 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8670 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8671 COREFOUNDATION_LIBS="-framework CoreFoundation"
8673 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8675 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8677 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8679 CORESERVICES_LIBS="-framework CoreServices"
8681 APPKIT_LIBS="-framework AppKit"
8684 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8686 wine_can_build_preloader=yes
8687 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8689 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8690 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8691 $as_echo_n "(cached) " >&6
8692 else
8693 ac_wine_try_cflags_saved=$CFLAGS
8694 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 int main(int argc, char **argv) { return 0; }
8698 _ACEOF
8699 if ac_fn_c_try_link "$LINENO"; then :
8700 ac_cv_cflags__Wl__no_new_main__e__main=yes
8701 else
8702 ac_cv_cflags__Wl__no_new_main__e__main=no
8704 rm -f core conftest.err conftest.$ac_objext \
8705 conftest$ac_exeext conftest.$ac_ext
8706 CFLAGS=$ac_wine_try_cflags_saved
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8709 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8710 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8711 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8713 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8714 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8715 $as_echo_n "(cached) " >&6
8716 else
8717 ac_wine_try_cflags_saved=$CFLAGS
8718 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8721 int main(int argc, char **argv) { return 0; }
8722 _ACEOF
8723 if ac_fn_c_try_link "$LINENO"; then :
8724 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8725 else
8726 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8728 rm -f core conftest.err conftest.$ac_objext \
8729 conftest$ac_exeext conftest.$ac_ext
8730 CFLAGS=$ac_wine_try_cflags_saved
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8733 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8734 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8735 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8736 else
8737 { $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
8738 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8739 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8740 $as_echo_n "(cached) " >&6
8741 else
8742 ac_wine_try_cflags_saved=$CFLAGS
8743 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746 int main(int argc, char **argv) { return 0; }
8747 _ACEOF
8748 if ac_fn_c_try_link "$LINENO"; then :
8749 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8750 else
8751 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8753 rm -f core conftest.err conftest.$ac_objext \
8754 conftest$ac_exeext conftest.$ac_ext
8755 CFLAGS=$ac_wine_try_cflags_saved
8757 { $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
8758 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8759 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8760 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8761 else
8762 wine_can_build_preloader=no
8765 else
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8767 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8768 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8769 $as_echo_n "(cached) " >&6
8770 else
8771 ac_wine_try_cflags_saved=$CFLAGS
8772 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8775 int main(int argc, char **argv) { return 0; }
8776 _ACEOF
8777 if ac_fn_c_try_link "$LINENO"; then :
8778 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8779 else
8780 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8782 rm -f core conftest.err conftest.$ac_objext \
8783 conftest$ac_exeext conftest.$ac_ext
8784 CFLAGS=$ac_wine_try_cflags_saved
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8787 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8788 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8789 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8790 else
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8792 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8793 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8794 $as_echo_n "(cached) " >&6
8795 else
8796 ac_wine_try_cflags_saved=$CFLAGS
8797 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8799 /* end confdefs.h. */
8800 int main(int argc, char **argv) { return 0; }
8801 _ACEOF
8802 if ac_fn_c_try_link "$LINENO"; then :
8803 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8804 else
8805 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8807 rm -f core conftest.err conftest.$ac_objext \
8808 conftest$ac_exeext conftest.$ac_ext
8809 CFLAGS=$ac_wine_try_cflags_saved
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8812 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8813 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8814 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8815 else
8816 wine_can_build_preloader=no
8820 if test "$wine_can_build_preloader" = "yes"
8821 then
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8823 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8824 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8825 $as_echo_n "(cached) " >&6
8826 else
8827 ac_wine_try_cflags_saved=$CFLAGS
8828 CFLAGS="$CFLAGS -Wl,-no_pie"
8829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8831 int main(int argc, char **argv) { return 0; }
8832 _ACEOF
8833 if ac_fn_c_try_link "$LINENO"; then :
8834 ac_cv_cflags__Wl__no_pie=yes
8835 else
8836 ac_cv_cflags__Wl__no_pie=no
8838 rm -f core conftest.err conftest.$ac_objext \
8839 conftest$ac_exeext conftest.$ac_ext
8840 CFLAGS=$ac_wine_try_cflags_saved
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8843 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8844 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8845 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8847 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8848 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8849 else
8850 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8853 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8854 then
8855 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8858 if test "$ac_cv_header_Security_Security_h" = "yes"
8859 then
8860 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8862 ac_save_LIBS="$LIBS"
8863 LIBS="$LIBS $SECURITY_LIBS"
8864 for ac_func in SSLCopyPeerCertificates
8865 do :
8866 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8867 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8868 cat >>confdefs.h <<_ACEOF
8869 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8870 _ACEOF
8873 done
8875 LIBS="$ac_save_LIBS"
8877 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8878 then
8879 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8880 then
8881 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8883 else
8884 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8887 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8888 ac_save_LIBS="$LIBS"
8889 LIBS="$LIBS $COREAUDIO_LIBS"
8890 for ac_func in AUGraphAddNode
8891 do :
8892 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8893 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8894 cat >>confdefs.h <<_ACEOF
8895 #define HAVE_AUGRAPHADDNODE 1
8896 _ACEOF
8899 done
8901 LIBS="$ac_save_LIBS"
8903 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8904 then
8905 OPENAL_LIBS="-framework OpenAL"
8908 cat >>confdefs.h <<_ACEOF
8909 #define HAVE_OPENAL 1
8910 _ACEOF
8912 ac_cv_lib_openal=yes
8914 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8915 then
8916 OPENCL_LIBS="-framework OpenCL"
8918 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8920 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8921 then
8922 ac_save_LIBS="$LIBS"
8923 LIBS="$LIBS $IOKIT_LIBS"
8924 for ac_func in IOHIDManagerCreate
8925 do :
8926 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8927 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8928 cat >>confdefs.h <<_ACEOF
8929 #define HAVE_IOHIDMANAGERCREATE 1
8930 _ACEOF
8933 done
8935 LIBS="$ac_save_LIBS"
8937 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8938 then
8939 ac_save_LIBS="$LIBS"
8940 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8942 $as_echo_n "checking for the QuickTime framework... " >&6; }
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8945 #include <QuickTime/ImageCompression.h>
8947 main ()
8949 CodecManagerVersion(NULL);
8951 return 0;
8953 _ACEOF
8954 if ac_fn_c_try_link "$LINENO"; then :
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8956 $as_echo "yes" >&6; }
8957 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8959 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8960 else
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8962 $as_echo "no" >&6; }
8963 ac_cv_header_QuickTime_ImageCompression_h=no
8965 rm -f core conftest.err conftest.$ac_objext \
8966 conftest$ac_exeext conftest.$ac_ext
8967 LIBS="$ac_save_LIBS"
8969 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8970 then
8971 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8973 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8974 then
8975 CARBON_LIBS="-framework Carbon"
8978 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8979 then
8980 METAL_LIBS="-framework Metal -framework QuartzCore"
8984 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8985 then
8986 ac_save_LIBS="$LIBS"
8987 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8988 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8989 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8990 enable_winemac_drv=${enable_winemac_drv:-yes}
8993 LIBS="$ac_save_LIBS"
8996 if test "x$enable_win16" = "xyes"
8997 then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8999 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9000 if test "$cross_compiling" = yes; then :
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9002 $as_echo "cross-compiling, assuming yes" >&6; }
9003 else
9004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9006 asm(".text\n"
9007 "bad:\tnop;nop\n"
9008 "good:\tnop;nop\n\t"
9009 ".globl _testfunc\n"
9010 "_testfunc:\tcallw good");
9011 extern void testfunc();
9013 main ()
9015 unsigned short *p = (unsigned short *)testfunc;
9016 return p[0] != 0xe866 || p[1] != 0xfffa
9018 return 0;
9020 _ACEOF
9021 if ac_fn_c_try_run "$LINENO"; then :
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9023 $as_echo "yes" >&6; }
9024 else
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026 $as_echo "no" >&6; }
9027 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
9029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9030 conftest.$ac_objext conftest.beam conftest.$ac_ext
9035 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9037 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9039 WINELOADER_DEPENDS="wine_info.plist"
9041 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9042 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9045 linux-android*)
9046 DLLFLAGS="$DLLFLAGS -fPIC"
9047 LDDLLFLAGS="-fPIC"
9048 LDEXECFLAGS="-Wl,-pie"
9049 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9051 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9052 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9053 $as_echo_n "(cached) " >&6
9054 else
9055 ac_wine_try_cflags_saved=$CFLAGS
9056 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 int main(int argc, char **argv) { return 0; }
9060 _ACEOF
9061 if ac_fn_c_try_link "$LINENO"; then :
9062 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9063 else
9064 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 CFLAGS=$ac_wine_try_cflags_saved
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9071 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9072 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9073 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9075 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9076 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9078 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9079 if eval \${$as_ac_var+:} false; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 ac_wine_try_cflags_saved=$CFLAGS
9083 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9086 int main(int argc, char **argv) { return 0; }
9087 _ACEOF
9088 if ac_fn_c_try_link "$LINENO"; then :
9089 eval "$as_ac_var=yes"
9090 else
9091 eval "$as_ac_var=no"
9093 rm -f core conftest.err conftest.$ac_objext \
9094 conftest$ac_exeext conftest.$ac_ext
9095 CFLAGS=$ac_wine_try_cflags_saved
9097 eval ac_res=\$$as_ac_var
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9099 $as_echo "$ac_res" >&6; }
9100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9101 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9102 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9103 else
9104 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9106 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9107 if eval \${$as_ac_var+:} false; then :
9108 $as_echo_n "(cached) " >&6
9109 else
9110 ac_wine_try_cflags_saved=$CFLAGS
9111 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9114 int main(int argc, char **argv) { return 0; }
9115 _ACEOF
9116 if ac_fn_c_try_link "$LINENO"; then :
9117 eval "$as_ac_var=yes"
9118 else
9119 eval "$as_ac_var=no"
9121 rm -f core conftest.err conftest.$ac_objext \
9122 conftest$ac_exeext conftest.$ac_ext
9123 CFLAGS=$ac_wine_try_cflags_saved
9125 eval ac_res=\$$as_ac_var
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9127 $as_echo "$ac_res" >&6; }
9128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9129 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9130 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9134 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9135 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 ac_wine_try_cflags_saved=$CFLAGS
9139 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9142 int main(int argc, char **argv) { return 0; }
9143 _ACEOF
9144 if ac_fn_c_try_link "$LINENO"; then :
9145 ac_cv_cflags__Wl___enable_new_dtags=yes
9146 else
9147 ac_cv_cflags__Wl___enable_new_dtags=no
9149 rm -f core conftest.err conftest.$ac_objext \
9150 conftest$ac_exeext conftest.$ac_ext
9151 CFLAGS=$ac_wine_try_cflags_saved
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9154 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9155 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9156 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9159 LIBWINE_SHAREDLIB="libwine.so"
9161 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9163 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9166 $as_echo_n "checking for -lEGL... " >&6; }
9167 if ${ac_cv_lib_soname_EGL+:} false; then :
9168 $as_echo_n "(cached) " >&6
9169 else
9170 ac_check_soname_save_LIBS=$LIBS
9171 LIBS="-lEGL $LIBS"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9178 #ifdef __cplusplus
9179 extern "C"
9180 #endif
9181 char eglGetProcAddress ();
9183 main ()
9185 return eglGetProcAddress ();
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 case "$LIBEXT" in
9192 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9193 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'` ;;
9194 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9195 if ${ac_cv_lib_soname_EGL:+false} :; then :
9196 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9197 fi ;;
9198 esac
9199 else
9200 ac_cv_lib_soname_EGL=
9202 rm -f core conftest.err conftest.$ac_objext \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LIBS=$ac_check_soname_save_LIBS
9206 if ${ac_cv_lib_soname_EGL:+false} :; then :
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9208 $as_echo "not found" >&6; }
9210 else
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9212 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9214 cat >>confdefs.h <<_ACEOF
9215 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9216 _ACEOF
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9221 $as_echo_n "checking for -lGLESv2... " >&6; }
9222 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9223 $as_echo_n "(cached) " >&6
9224 else
9225 ac_check_soname_save_LIBS=$LIBS
9226 LIBS="-lGLESv2 $LIBS"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9233 #ifdef __cplusplus
9234 extern "C"
9235 #endif
9236 char glFlush ();
9238 main ()
9240 return glFlush ();
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 case "$LIBEXT" in
9247 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9248 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'` ;;
9249 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9250 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9251 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9252 fi ;;
9253 esac
9254 else
9255 ac_cv_lib_soname_GLESv2=
9257 rm -f core conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9259 LIBS=$ac_check_soname_save_LIBS
9261 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9263 $as_echo "not found" >&6; }
9265 else
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9267 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9269 cat >>confdefs.h <<_ACEOF
9270 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9271 _ACEOF
9276 if test "x$exec_prefix" = xNONE
9277 then
9278 case $host_cpu in
9279 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9280 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9281 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9282 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9283 esac
9288 case $host_cpu in
9289 *i[3456789]86*)
9290 DLLFLAGS="$DLLFLAGS -fno-PIC"
9291 LDDLLFLAGS="-fno-PIC" ;;
9293 DLLFLAGS="$DLLFLAGS -fPIC"
9294 LDDLLFLAGS="-fPIC" ;;
9295 esac
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9297 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9298 if ${ac_cv_c_dll_gnuelf+:} false; then :
9299 $as_echo_n "(cached) " >&6
9300 else
9301 ac_wine_try_cflags_saved=$CFLAGS
9302 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9305 void myfunc() {}
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 ac_cv_c_dll_gnuelf="yes"
9309 else
9310 ac_cv_c_dll_gnuelf="no"
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 CFLAGS=$ac_wine_try_cflags_saved
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9317 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9318 if test "$ac_cv_c_dll_gnuelf" = "yes"
9319 then
9320 LIBWINE_LDFLAGS="-shared"
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9322 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9323 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_wine_try_cflags_saved=$CFLAGS
9327 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9330 int main(int argc, char **argv) { return 0; }
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9334 else
9335 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9337 rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
9339 CFLAGS=$ac_wine_try_cflags_saved
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9342 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9343 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9344 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9345 else
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9347 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9348 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 ac_wine_try_cflags_saved=$CFLAGS
9352 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9355 int main(int argc, char **argv) { return 0; }
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9359 else
9360 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 CFLAGS=$ac_wine_try_cflags_saved
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9367 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9368 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9369 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9373 echo '{ global: *; };' >conftest.map
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9375 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9376 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_wine_try_cflags_saved=$CFLAGS
9380 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9383 int main(int argc, char **argv) { return 0; }
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9387 else
9388 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9390 rm -f core conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 CFLAGS=$ac_wine_try_cflags_saved
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9395 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9396 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9397 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9399 rm -f conftest.map
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9402 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9403 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9404 $as_echo_n "(cached) " >&6
9405 else
9406 ac_wine_try_cflags_saved=$CFLAGS
9407 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9410 int main(int argc, char **argv) { return 0; }
9411 _ACEOF
9412 if ac_fn_c_try_link "$LINENO"; then :
9413 ac_cv_cflags__Wl___export_dynamic=yes
9414 else
9415 ac_cv_cflags__Wl___export_dynamic=no
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 CFLAGS=$ac_wine_try_cflags_saved
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9422 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9423 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9424 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9426 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9428 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9430 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9431 if eval \${$as_ac_var+:} false; then :
9432 $as_echo_n "(cached) " >&6
9433 else
9434 ac_wine_try_cflags_saved=$CFLAGS
9435 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9438 int main(int argc, char **argv) { return 0; }
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441 eval "$as_ac_var=yes"
9442 else
9443 eval "$as_ac_var=no"
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 CFLAGS=$ac_wine_try_cflags_saved
9449 eval ac_res=\$$as_ac_var
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9451 $as_echo "$ac_res" >&6; }
9452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9453 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9454 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9455 else
9456 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9458 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9459 if eval \${$as_ac_var+:} false; then :
9460 $as_echo_n "(cached) " >&6
9461 else
9462 ac_wine_try_cflags_saved=$CFLAGS
9463 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9466 int main(int argc, char **argv) { return 0; }
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9469 eval "$as_ac_var=yes"
9470 else
9471 eval "$as_ac_var=no"
9473 rm -f core conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9475 CFLAGS=$ac_wine_try_cflags_saved
9477 eval ac_res=\$$as_ac_var
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9479 $as_echo "$ac_res" >&6; }
9480 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9481 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9482 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9487 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9488 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9489 $as_echo_n "(cached) " >&6
9490 else
9491 ac_wine_try_cflags_saved=$CFLAGS
9492 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9494 /* end confdefs.h. */
9495 int main(int argc, char **argv) { return 0; }
9496 _ACEOF
9497 if ac_fn_c_try_link "$LINENO"; then :
9498 ac_cv_cflags__Wl___enable_new_dtags=yes
9499 else
9500 ac_cv_cflags__Wl___enable_new_dtags=no
9502 rm -f core conftest.err conftest.$ac_objext \
9503 conftest$ac_exeext conftest.$ac_ext
9504 CFLAGS=$ac_wine_try_cflags_saved
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9507 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9508 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9509 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9512 case $host_cpu in
9513 *i[3456789]86* | x86_64 | *aarch64*)
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9515 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9516 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9517 $as_echo_n "(cached) " >&6
9518 else
9519 ac_wine_try_cflags_saved=$CFLAGS
9520 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9523 int main(int argc, char **argv) { return 0; }
9524 _ACEOF
9525 if ac_fn_c_try_link "$LINENO"; then :
9526 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9527 else
9528 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9530 rm -f core conftest.err conftest.$ac_objext \
9531 conftest$ac_exeext conftest.$ac_ext
9532 CFLAGS=$ac_wine_try_cflags_saved
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9535 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9536 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9537 case $host_os in
9538 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9539 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9540 esac
9541 else
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9543 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9544 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9545 $as_echo_n "(cached) " >&6
9546 else
9547 ac_wine_try_cflags_saved=$CFLAGS
9548 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551 int main(int argc, char **argv) { return 0; }
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9555 else
9556 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 CFLAGS=$ac_wine_try_cflags_saved
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9563 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9564 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9565 case $host_os in
9566 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9567 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9568 esac
9570 # Extract the first word of "prelink", so it can be a program name with args.
9571 set dummy prelink; ac_word=$2
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9573 $as_echo_n "checking for $ac_word... " >&6; }
9574 if ${ac_cv_path_PRELINK+:} false; then :
9575 $as_echo_n "(cached) " >&6
9576 else
9577 case $PRELINK in
9578 [\\/]* | ?:[\\/]*)
9579 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9583 for as_dir in /sbin /usr/sbin $PATH
9585 IFS=$as_save_IFS
9586 test -z "$as_dir" && as_dir=.
9587 for ac_exec_ext in '' $ac_executable_extensions; do
9588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9589 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9591 break 2
9593 done
9594 done
9595 IFS=$as_save_IFS
9597 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9599 esac
9601 PRELINK=$ac_cv_path_PRELINK
9602 if test -n "$PRELINK"; then
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9604 $as_echo "$PRELINK" >&6; }
9605 else
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9607 $as_echo "no" >&6; }
9611 if test "x$PRELINK" = xfalse
9612 then
9613 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9617 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9618 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9619 $as_echo_n "(cached) " >&6
9620 else
9621 ac_wine_try_cflags_saved=$CFLAGS
9622 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h. */
9625 int main(int argc, char **argv) { return 0; }
9626 _ACEOF
9627 if ac_fn_c_try_link "$LINENO"; then :
9628 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9629 else
9630 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9632 rm -f core conftest.err conftest.$ac_objext \
9633 conftest$ac_exeext conftest.$ac_ext
9634 CFLAGS=$ac_wine_try_cflags_saved
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9637 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9638 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9639 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9642 esac
9644 else
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9646 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9647 if ${ac_cv_c_dll_unixware+:} false; then :
9648 $as_echo_n "(cached) " >&6
9649 else
9650 ac_wine_try_cflags_saved=$CFLAGS
9651 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9654 void myfunc() {}
9655 _ACEOF
9656 if ac_fn_c_try_link "$LINENO"; then :
9657 ac_cv_c_dll_unixware="yes"
9658 else
9659 ac_cv_c_dll_unixware="no"
9661 rm -f core conftest.err conftest.$ac_objext \
9662 conftest$ac_exeext conftest.$ac_ext
9663 CFLAGS=$ac_wine_try_cflags_saved
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9666 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9667 if test "$ac_cv_c_dll_unixware" = "yes"
9668 then
9669 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9672 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9674 LIBWINE_DEPENDS="wine.map"
9676 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9677 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9679 esac
9681 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9682 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9683 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9684 enable_winemac_drv=${enable_winemac_drv:-no}
9685 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9687 CROSSTARGET=""
9689 if test "x$with_mingw" != xno
9690 then
9691 case "x$with_mingw" in
9692 x|xyes) case "$host_cpu" in
9693 aarch64*)
9694 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9695 arm*)
9696 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9697 i[3456789]86*)
9698 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
9699 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9700 mingw32-gcc" ;;
9701 x86_64)
9702 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
9703 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9705 ac_prefix_list="" ;;
9706 esac
9707 for ac_prog in $ac_prefix_list
9709 # Extract the first word of "$ac_prog", so it can be a program name with args.
9710 set dummy $ac_prog; ac_word=$2
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9712 $as_echo_n "checking for $ac_word... " >&6; }
9713 if ${ac_cv_prog_CROSSCC+:} false; then :
9714 $as_echo_n "(cached) " >&6
9715 else
9716 if test -n "$CROSSCC"; then
9717 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9718 else
9719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9720 for as_dir in $PATH
9722 IFS=$as_save_IFS
9723 test -z "$as_dir" && as_dir=.
9724 for ac_exec_ext in '' $ac_executable_extensions; do
9725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9726 ac_cv_prog_CROSSCC="$ac_prog"
9727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9728 break 2
9730 done
9731 done
9732 IFS=$as_save_IFS
9736 CROSSCC=$ac_cv_prog_CROSSCC
9737 if test -n "$CROSSCC"; then
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9739 $as_echo "$CROSSCC" >&6; }
9740 else
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9742 $as_echo "no" >&6; }
9746 test -n "$CROSSCC" && break
9747 done
9748 test -n "$CROSSCC" || CROSSCC="false"
9750 *) CROSSCC=$with_mingw ;;
9751 esac
9752 if test "$CROSSCC" != "false"
9753 then
9754 ac_save_CC="$CC"
9755 saved_CFLAGS=$CFLAGS
9756 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9758 EXTRACROSSCFLAGS="-DWINE_CROSSTEST -Wall"
9761 CC="$CROSSCC"
9762 CFLAGS=$CROSSCFLAGS
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9764 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9765 if ${wine_cv_crosscc+:} false; then :
9766 $as_echo_n "(cached) " >&6
9767 else
9768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9772 main ()
9776 return 0;
9778 _ACEOF
9779 if ac_fn_c_try_compile "$LINENO"; then :
9780 wine_cv_crosscc=yes
9781 else
9782 wine_cv_crosscc=no
9784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9787 $as_echo "$wine_cv_crosscc" >&6; }
9788 if test $wine_cv_crosscc = yes
9789 then
9790 set x $CROSSCC
9791 shift
9792 while test $# -ge 1
9794 case "$1" in
9795 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9796 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9797 esac
9798 shift
9799 done
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9802 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9803 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9804 $as_echo_n "(cached) " >&6
9805 else
9806 ac_wine_try_cflags_saved=$CFLAGS
9807 ac_wine_try_cflags_saved_cc=$CC
9808 ac_wine_try_cflags_saved_exeext=$ac_exeext
9809 CFLAGS="$CFLAGS -fno-strict-aliasing"
9810 CC="$CROSSCC"
9811 ac_exeext=".exe"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9814 int main(int argc, char **argv) { return 0; }
9815 _ACEOF
9816 if ac_fn_c_try_link "$LINENO"; then :
9817 ac_cv_crosscflags__fno_strict_aliasing=yes
9818 else
9819 ac_cv_crosscflags__fno_strict_aliasing=no
9821 rm -f core conftest.err conftest.$ac_objext \
9822 conftest$ac_exeext conftest.$ac_ext
9823 CFLAGS=$ac_wine_try_cflags_saved
9824 CC=$ac_wine_try_cflags_saved_cc
9825 ac_exeext=$ac_wine_try_cflags_saved_exeext
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9828 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9829 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9830 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9833 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9834 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9835 $as_echo_n "(cached) " >&6
9836 else
9837 ac_wine_try_cflags_saved=$CFLAGS
9838 ac_wine_try_cflags_saved_cc=$CC
9839 ac_wine_try_cflags_saved_exeext=$ac_exeext
9840 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9841 CC="$CROSSCC"
9842 ac_exeext=".exe"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9845 int main(int argc, char **argv) { return 0; }
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9849 else
9850 ac_cv_crosscflags__Werror_unknown_warning_option=no
9852 rm -f core conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854 CFLAGS=$ac_wine_try_cflags_saved
9855 CC=$ac_wine_try_cflags_saved_cc
9856 ac_exeext=$ac_wine_try_cflags_saved_exeext
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9859 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9860 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9861 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9864 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9865 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9866 $as_echo_n "(cached) " >&6
9867 else
9868 ac_wine_try_cflags_saved=$CFLAGS
9869 ac_wine_try_cflags_saved_cc=$CC
9870 ac_wine_try_cflags_saved_exeext=$ac_exeext
9871 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9872 CC="$CROSSCC"
9873 ac_exeext=".exe"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9876 int main(int argc, char **argv) { return 0; }
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"; then :
9879 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9880 else
9881 ac_cv_crosscflags__Wdeclaration_after_statement=no
9883 rm -f core conftest.err conftest.$ac_objext \
9884 conftest$ac_exeext conftest.$ac_ext
9885 CFLAGS=$ac_wine_try_cflags_saved
9886 CC=$ac_wine_try_cflags_saved_cc
9887 ac_exeext=$ac_wine_try_cflags_saved_exeext
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9890 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9891 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9892 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9895 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9896 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9897 $as_echo_n "(cached) " >&6
9898 else
9899 ac_wine_try_cflags_saved=$CFLAGS
9900 ac_wine_try_cflags_saved_cc=$CC
9901 ac_wine_try_cflags_saved_exeext=$ac_exeext
9902 CFLAGS="$CFLAGS -Wempty-body"
9903 CC="$CROSSCC"
9904 ac_exeext=".exe"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9907 int main(int argc, char **argv) { return 0; }
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 ac_cv_crosscflags__Wempty_body=yes
9911 else
9912 ac_cv_crosscflags__Wempty_body=no
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 CFLAGS=$ac_wine_try_cflags_saved
9917 CC=$ac_wine_try_cflags_saved_cc
9918 ac_exeext=$ac_wine_try_cflags_saved_exeext
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9921 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9922 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9923 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9926 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9927 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9928 $as_echo_n "(cached) " >&6
9929 else
9930 ac_wine_try_cflags_saved=$CFLAGS
9931 ac_wine_try_cflags_saved_cc=$CC
9932 ac_wine_try_cflags_saved_exeext=$ac_exeext
9933 CFLAGS="$CFLAGS -Wignored-qualifiers"
9934 CC="$CROSSCC"
9935 ac_exeext=".exe"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9938 int main(int argc, char **argv) { return 0; }
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 ac_cv_crosscflags__Wignored_qualifiers=yes
9942 else
9943 ac_cv_crosscflags__Wignored_qualifiers=no
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 CFLAGS=$ac_wine_try_cflags_saved
9948 CC=$ac_wine_try_cflags_saved_cc
9949 ac_exeext=$ac_wine_try_cflags_saved_exeext
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9952 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9953 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9954 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9957 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9958 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9959 $as_echo_n "(cached) " >&6
9960 else
9961 ac_wine_try_cflags_saved=$CFLAGS
9962 ac_wine_try_cflags_saved_cc=$CC
9963 ac_wine_try_cflags_saved_exeext=$ac_exeext
9964 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9965 CC="$CROSSCC"
9966 ac_exeext=".exe"
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9969 int main(int argc, char **argv) { return 0; }
9970 _ACEOF
9971 if ac_fn_c_try_link "$LINENO"; then :
9972 ac_cv_crosscflags__Wpacked_not_aligned=yes
9973 else
9974 ac_cv_crosscflags__Wpacked_not_aligned=no
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 CFLAGS=$ac_wine_try_cflags_saved
9979 CC=$ac_wine_try_cflags_saved_cc
9980 ac_exeext=$ac_wine_try_cflags_saved_exeext
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9983 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9984 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9985 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9988 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9989 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9990 $as_echo_n "(cached) " >&6
9991 else
9992 ac_wine_try_cflags_saved=$CFLAGS
9993 ac_wine_try_cflags_saved_cc=$CC
9994 ac_wine_try_cflags_saved_exeext=$ac_exeext
9995 CFLAGS="$CFLAGS -Wpragma-pack"
9996 CC="$CROSSCC"
9997 ac_exeext=".exe"
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10000 int main(int argc, char **argv) { return 0; }
10001 _ACEOF
10002 if ac_fn_c_try_link "$LINENO"; then :
10003 ac_cv_crosscflags__Wpragma_pack=yes
10004 else
10005 ac_cv_crosscflags__Wpragma_pack=no
10007 rm -f core conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009 CFLAGS=$ac_wine_try_cflags_saved
10010 CC=$ac_wine_try_cflags_saved_cc
10011 ac_exeext=$ac_wine_try_cflags_saved_exeext
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10014 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10015 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10016 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10019 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10020 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10021 $as_echo_n "(cached) " >&6
10022 else
10023 ac_wine_try_cflags_saved=$CFLAGS
10024 ac_wine_try_cflags_saved_cc=$CC
10025 ac_wine_try_cflags_saved_exeext=$ac_exeext
10026 CFLAGS="$CFLAGS -Wshift-overflow=2"
10027 CC="$CROSSCC"
10028 ac_exeext=".exe"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10031 int main(int argc, char **argv) { return 0; }
10032 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"; then :
10034 ac_cv_crosscflags__Wshift_overflow_2=yes
10035 else
10036 ac_cv_crosscflags__Wshift_overflow_2=no
10038 rm -f core conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext
10040 CFLAGS=$ac_wine_try_cflags_saved
10041 CC=$ac_wine_try_cflags_saved_cc
10042 ac_exeext=$ac_wine_try_cflags_saved_exeext
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10045 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10046 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10047 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10050 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10051 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10052 $as_echo_n "(cached) " >&6
10053 else
10054 ac_wine_try_cflags_saved=$CFLAGS
10055 ac_wine_try_cflags_saved_cc=$CC
10056 ac_wine_try_cflags_saved_exeext=$ac_exeext
10057 CFLAGS="$CFLAGS -Wstrict-prototypes"
10058 CC="$CROSSCC"
10059 ac_exeext=".exe"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10062 int main(int argc, char **argv) { return 0; }
10063 _ACEOF
10064 if ac_fn_c_try_link "$LINENO"; then :
10065 ac_cv_crosscflags__Wstrict_prototypes=yes
10066 else
10067 ac_cv_crosscflags__Wstrict_prototypes=no
10069 rm -f core conftest.err conftest.$ac_objext \
10070 conftest$ac_exeext conftest.$ac_ext
10071 CFLAGS=$ac_wine_try_cflags_saved
10072 CC=$ac_wine_try_cflags_saved_cc
10073 ac_exeext=$ac_wine_try_cflags_saved_exeext
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10076 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10077 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10078 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10081 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10082 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10083 $as_echo_n "(cached) " >&6
10084 else
10085 ac_wine_try_cflags_saved=$CFLAGS
10086 ac_wine_try_cflags_saved_cc=$CC
10087 ac_wine_try_cflags_saved_exeext=$ac_exeext
10088 CFLAGS="$CFLAGS -Wtype-limits"
10089 CC="$CROSSCC"
10090 ac_exeext=".exe"
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10093 int main(int argc, char **argv) { return 0; }
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 ac_cv_crosscflags__Wtype_limits=yes
10097 else
10098 ac_cv_crosscflags__Wtype_limits=no
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 CFLAGS=$ac_wine_try_cflags_saved
10103 CC=$ac_wine_try_cflags_saved_cc
10104 ac_exeext=$ac_wine_try_cflags_saved_exeext
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10107 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10108 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10109 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10112 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10113 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_wine_try_cflags_saved=$CFLAGS
10117 ac_wine_try_cflags_saved_cc=$CC
10118 ac_wine_try_cflags_saved_exeext=$ac_exeext
10119 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10120 CC="$CROSSCC"
10121 ac_exeext=".exe"
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10124 int main(int argc, char **argv) { return 0; }
10125 _ACEOF
10126 if ac_fn_c_try_link "$LINENO"; then :
10127 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10128 else
10129 ac_cv_crosscflags__Wunused_but_set_parameter=no
10131 rm -f core conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10133 CFLAGS=$ac_wine_try_cflags_saved
10134 CC=$ac_wine_try_cflags_saved_cc
10135 ac_exeext=$ac_wine_try_cflags_saved_exeext
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10138 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10139 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10140 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10143 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10144 if ${ac_cv_crosscflags__Wvla+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 ac_wine_try_cflags_saved=$CFLAGS
10148 ac_wine_try_cflags_saved_cc=$CC
10149 ac_wine_try_cflags_saved_exeext=$ac_exeext
10150 CFLAGS="$CFLAGS -Wvla"
10151 CC="$CROSSCC"
10152 ac_exeext=".exe"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10155 int main(int argc, char **argv) { return 0; }
10156 _ACEOF
10157 if ac_fn_c_try_link "$LINENO"; then :
10158 ac_cv_crosscflags__Wvla=yes
10159 else
10160 ac_cv_crosscflags__Wvla=no
10162 rm -f core conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 CFLAGS=$ac_wine_try_cflags_saved
10165 CC=$ac_wine_try_cflags_saved_cc
10166 ac_exeext=$ac_wine_try_cflags_saved_exeext
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10169 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10170 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10171 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10174 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10175 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_wine_try_cflags_saved=$CFLAGS
10179 ac_wine_try_cflags_saved_cc=$CC
10180 ac_wine_try_cflags_saved_exeext=$ac_exeext
10181 CFLAGS="$CFLAGS -Wwrite-strings"
10182 CC="$CROSSCC"
10183 ac_exeext=".exe"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int main(int argc, char **argv) { return 0; }
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"; then :
10189 ac_cv_crosscflags__Wwrite_strings=yes
10190 else
10191 ac_cv_crosscflags__Wwrite_strings=no
10193 rm -f core conftest.err conftest.$ac_objext \
10194 conftest$ac_exeext conftest.$ac_ext
10195 CFLAGS=$ac_wine_try_cflags_saved
10196 CC=$ac_wine_try_cflags_saved_cc
10197 ac_exeext=$ac_wine_try_cflags_saved_exeext
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10200 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10201 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10202 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10205 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10206 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_wine_try_cflags_saved=$CFLAGS
10210 ac_wine_try_cflags_saved_cc=$CC
10211 ac_wine_try_cflags_saved_exeext=$ac_exeext
10212 CFLAGS="$CFLAGS -Wpointer-arith"
10213 CC="$CROSSCC"
10214 ac_exeext=".exe"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 int main(int argc, char **argv) { return 0; }
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 ac_cv_crosscflags__Wpointer_arith=yes
10221 else
10222 ac_cv_crosscflags__Wpointer_arith=no
10224 rm -f core conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 CFLAGS=$ac_wine_try_cflags_saved
10227 CC=$ac_wine_try_cflags_saved_cc
10228 ac_exeext=$ac_wine_try_cflags_saved_exeext
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10231 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10232 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10233 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10236 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10237 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10238 $as_echo_n "(cached) " >&6
10239 else
10240 ac_wine_try_cflags_saved=$CFLAGS
10241 ac_wine_try_cflags_saved_cc=$CC
10242 ac_wine_try_cflags_saved_exeext=$ac_exeext
10243 CFLAGS="$CFLAGS -Wlogical-op"
10244 CC="$CROSSCC"
10245 ac_exeext=".exe"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10248 int main(int argc, char **argv) { return 0; }
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 ac_cv_crosscflags__Wlogical_op=yes
10252 else
10253 ac_cv_crosscflags__Wlogical_op=no
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 CFLAGS=$ac_wine_try_cflags_saved
10258 CC=$ac_wine_try_cflags_saved_cc
10259 ac_exeext=$ac_wine_try_cflags_saved_exeext
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10262 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10263 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10264 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10267 case $host_cpu in
10268 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10269 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10270 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 ac_wine_try_cflags_saved_cc=$CC
10275 ac_wine_try_cflags_saved_exeext=$ac_exeext
10276 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10277 CC="$CROSSCC"
10278 ac_exeext=".exe"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10281 int main(int argc, char **argv) { return 0; }
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10285 else
10286 ac_cv_crosscflags__fno_omit_frame_pointer=no
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 CFLAGS=$ac_wine_try_cflags_saved
10291 CC=$ac_wine_try_cflags_saved_cc
10292 ac_exeext=$ac_wine_try_cflags_saved_exeext
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10295 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10296 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10297 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10298 fi ;;
10299 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10300 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10301 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_wine_try_cflags_saved=$CFLAGS
10305 ac_wine_try_cflags_saved_cc=$CC
10306 ac_wine_try_cflags_saved_exeext=$ac_exeext
10307 CFLAGS="$CFLAGS -Wno-format"
10308 CC="$CROSSCC"
10309 ac_exeext=".exe"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10312 int main(int argc, char **argv) { return 0; }
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 ac_cv_crosscflags__Wno_format=yes
10316 else
10317 ac_cv_crosscflags__Wno_format=no
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 CFLAGS=$ac_wine_try_cflags_saved
10322 CC=$ac_wine_try_cflags_saved_cc
10323 ac_exeext=$ac_wine_try_cflags_saved_exeext
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10326 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10327 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10328 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10329 fi ;;
10330 esac
10332 for ac_flag in $CROSSCFLAGS; do
10333 case $ac_flag in
10334 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10335 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10336 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10337 $as_echo_n "(cached) " >&6
10338 else
10339 ac_wine_try_cflags_saved=$CFLAGS
10340 ac_wine_try_cflags_saved_cc=$CC
10341 ac_wine_try_cflags_saved_exeext=$ac_exeext
10342 CFLAGS="$CFLAGS -gdwarf-2"
10343 CC="$CROSSCC"
10344 ac_exeext=".exe"
10345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10346 /* end confdefs.h. */
10347 int main(int argc, char **argv) { return 0; }
10348 _ACEOF
10349 if ac_fn_c_try_link "$LINENO"; then :
10350 ac_cv_crosscflags__gdwarf_2=yes
10351 else
10352 ac_cv_crosscflags__gdwarf_2=no
10354 rm -f core conftest.err conftest.$ac_objext \
10355 conftest$ac_exeext conftest.$ac_ext
10356 CFLAGS=$ac_wine_try_cflags_saved
10357 CC=$ac_wine_try_cflags_saved_cc
10358 ac_exeext=$ac_wine_try_cflags_saved_exeext
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10361 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10362 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10363 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10366 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10367 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_wine_try_cflags_saved=$CFLAGS
10371 ac_wine_try_cflags_saved_cc=$CC
10372 ac_wine_try_cflags_saved_exeext=$ac_exeext
10373 CFLAGS="$CFLAGS -gstrict-dwarf"
10374 CC="$CROSSCC"
10375 ac_exeext=".exe"
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10378 int main(int argc, char **argv) { return 0; }
10379 _ACEOF
10380 if ac_fn_c_try_link "$LINENO"; then :
10381 ac_cv_crosscflags__gstrict_dwarf=yes
10382 else
10383 ac_cv_crosscflags__gstrict_dwarf=no
10385 rm -f core conftest.err conftest.$ac_objext \
10386 conftest$ac_exeext conftest.$ac_ext
10387 CFLAGS=$ac_wine_try_cflags_saved
10388 CC=$ac_wine_try_cflags_saved_cc
10389 ac_exeext=$ac_wine_try_cflags_saved_exeext
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10392 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10393 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10394 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10395 fi ;;
10396 esac
10397 done
10399 if test "x$enable_maintainer_mode" = xyes
10400 then
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10402 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10403 if ${ac_cv_crosscflags__Werror+:} false; then :
10404 $as_echo_n "(cached) " >&6
10405 else
10406 ac_wine_try_cflags_saved=$CFLAGS
10407 ac_wine_try_cflags_saved_cc=$CC
10408 ac_wine_try_cflags_saved_exeext=$ac_exeext
10409 CFLAGS="$CFLAGS -Werror"
10410 CC="$CROSSCC"
10411 ac_exeext=".exe"
10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10414 int main(int argc, char **argv) { return 0; }
10415 _ACEOF
10416 if ac_fn_c_try_link "$LINENO"; then :
10417 ac_cv_crosscflags__Werror=yes
10418 else
10419 ac_cv_crosscflags__Werror=no
10421 rm -f core conftest.err conftest.$ac_objext \
10422 conftest$ac_exeext conftest.$ac_ext
10423 CFLAGS=$ac_wine_try_cflags_saved
10424 CC=$ac_wine_try_cflags_saved_cc
10425 ac_exeext=$ac_wine_try_cflags_saved_exeext
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10428 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10429 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10430 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10434 CFLAGS=$saved_CFLAGS
10435 CC="$ac_save_CC"
10438 if test "x$CROSSTARGET" = "x"; then :
10439 case "x$with_mingw" in
10440 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10441 xno) ;;
10442 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10443 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10444 esac
10449 if test "$ac_cv_header_pthread_h" = "yes"
10450 then
10451 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10452 if test "x$ac_cv_func_pthread_create" = xyes; then :
10454 else
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10456 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10457 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10458 $as_echo_n "(cached) " >&6
10459 else
10460 ac_check_lib_save_LIBS=$LIBS
10461 LIBS="-lpthread $LIBS"
10462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10463 /* end confdefs.h. */
10465 /* Override any GCC internal prototype to avoid an error.
10466 Use char because int might match the return type of a GCC
10467 builtin and then its argument prototype would still apply. */
10468 #ifdef __cplusplus
10469 extern "C"
10470 #endif
10471 char pthread_create ();
10473 main ()
10475 return pthread_create ();
10477 return 0;
10479 _ACEOF
10480 if ac_fn_c_try_link "$LINENO"; then :
10481 ac_cv_lib_pthread_pthread_create=yes
10482 else
10483 ac_cv_lib_pthread_pthread_create=no
10485 rm -f core conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10487 LIBS=$ac_check_lib_save_LIBS
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10490 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10491 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10492 PTHREAD_LIBS="-lpthread"
10499 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10500 case "x$with_pthread" in
10501 xno) ;;
10502 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10503 Wine cannot support threads without libpthread.
10504 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10505 esac
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10511 $as_echo_n "checking for X... " >&6; }
10514 # Check whether --with-x was given.
10515 if test "${with_x+set}" = set; then :
10516 withval=$with_x;
10519 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10520 if test "x$with_x" = xno; then
10521 # The user explicitly disabled X.
10522 have_x=disabled
10523 else
10524 case $x_includes,$x_libraries in #(
10525 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10526 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10527 $as_echo_n "(cached) " >&6
10528 else
10529 # One or both of the vars are not set, and there is no cached value.
10530 ac_x_includes=no ac_x_libraries=no
10531 rm -f -r conftest.dir
10532 if mkdir conftest.dir; then
10533 cd conftest.dir
10534 cat >Imakefile <<'_ACEOF'
10535 incroot:
10536 @echo incroot='${INCROOT}'
10537 usrlibdir:
10538 @echo usrlibdir='${USRLIBDIR}'
10539 libdir:
10540 @echo libdir='${LIBDIR}'
10541 _ACEOF
10542 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10543 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10544 for ac_var in incroot usrlibdir libdir; do
10545 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10546 done
10547 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10548 for ac_extension in a so sl dylib la dll; do
10549 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10550 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10551 ac_im_usrlibdir=$ac_im_libdir; break
10553 done
10554 # Screen out bogus values from the imake configuration. They are
10555 # bogus both because they are the default anyway, and because
10556 # using them would break gcc on systems where it needs fixed includes.
10557 case $ac_im_incroot in
10558 /usr/include) ac_x_includes= ;;
10559 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10560 esac
10561 case $ac_im_usrlibdir in
10562 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10563 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10564 esac
10566 cd ..
10567 rm -f -r conftest.dir
10570 # Standard set of common directories for X headers.
10571 # Check X11 before X11Rn because it is often a symlink to the current release.
10572 ac_x_header_dirs='
10573 /usr/X11/include
10574 /usr/X11R7/include
10575 /usr/X11R6/include
10576 /usr/X11R5/include
10577 /usr/X11R4/include
10579 /usr/include/X11
10580 /usr/include/X11R7
10581 /usr/include/X11R6
10582 /usr/include/X11R5
10583 /usr/include/X11R4
10585 /usr/local/X11/include
10586 /usr/local/X11R7/include
10587 /usr/local/X11R6/include
10588 /usr/local/X11R5/include
10589 /usr/local/X11R4/include
10591 /usr/local/include/X11
10592 /usr/local/include/X11R7
10593 /usr/local/include/X11R6
10594 /usr/local/include/X11R5
10595 /usr/local/include/X11R4
10597 /usr/X386/include
10598 /usr/x386/include
10599 /usr/XFree86/include/X11
10601 /usr/include
10602 /usr/local/include
10603 /usr/unsupported/include
10604 /usr/athena/include
10605 /usr/local/x11r5/include
10606 /usr/lpp/Xamples/include
10608 /usr/openwin/include
10609 /usr/openwin/share/include'
10611 if test "$ac_x_includes" = no; then
10612 # Guess where to find include files, by looking for Xlib.h.
10613 # First, try using that file with no special directory specified.
10614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10616 #include <X11/Xlib.h>
10617 _ACEOF
10618 if ac_fn_c_try_cpp "$LINENO"; then :
10619 # We can compile using X headers with no special include directory.
10620 ac_x_includes=
10621 else
10622 for ac_dir in $ac_x_header_dirs; do
10623 if test -r "$ac_dir/X11/Xlib.h"; then
10624 ac_x_includes=$ac_dir
10625 break
10627 done
10629 rm -f conftest.err conftest.i conftest.$ac_ext
10630 fi # $ac_x_includes = no
10632 if test "$ac_x_libraries" = no; then
10633 # Check for the libraries.
10634 # See if we find them without any special options.
10635 # Don't add to $LIBS permanently.
10636 ac_save_LIBS=$LIBS
10637 LIBS="-lX11 $LIBS"
10638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10640 #include <X11/Xlib.h>
10642 main ()
10644 XrmInitialize ()
10646 return 0;
10648 _ACEOF
10649 if ac_fn_c_try_link "$LINENO"; then :
10650 LIBS=$ac_save_LIBS
10651 # We can link X programs with no special library path.
10652 ac_x_libraries=
10653 else
10654 LIBS=$ac_save_LIBS
10655 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10657 # Don't even attempt the hair of trying to link an X program!
10658 for ac_extension in a so sl dylib la dll; do
10659 if test -r "$ac_dir/libX11.$ac_extension"; then
10660 ac_x_libraries=$ac_dir
10661 break 2
10663 done
10664 done
10666 rm -f core conftest.err conftest.$ac_objext \
10667 conftest$ac_exeext conftest.$ac_ext
10668 fi # $ac_x_libraries = no
10670 case $ac_x_includes,$ac_x_libraries in #(
10671 no,* | *,no | *\'*)
10672 # Didn't find X, or a directory has "'" in its name.
10673 ac_cv_have_x="have_x=no";; #(
10675 # Record where we found X for the cache.
10676 ac_cv_have_x="have_x=yes\
10677 ac_x_includes='$ac_x_includes'\
10678 ac_x_libraries='$ac_x_libraries'"
10679 esac
10681 ;; #(
10682 *) have_x=yes;;
10683 esac
10684 eval "$ac_cv_have_x"
10685 fi # $with_x != no
10687 if test "$have_x" != yes; then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10689 $as_echo "$have_x" >&6; }
10690 no_x=yes
10691 else
10692 # If each of the values was on the command line, it overrides each guess.
10693 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10694 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10695 # Update the cache value to reflect the command line values.
10696 ac_cv_have_x="have_x=yes\
10697 ac_x_includes='$x_includes'\
10698 ac_x_libraries='$x_libraries'"
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10700 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10703 if test "$no_x" = yes; then
10704 # Not all programs may use this symbol, but it does not hurt to define it.
10706 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10708 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10709 else
10710 if test -n "$x_includes"; then
10711 X_CFLAGS="$X_CFLAGS -I$x_includes"
10714 # It would also be nice to do this for all -L options, not just this one.
10715 if test -n "$x_libraries"; then
10716 X_LIBS="$X_LIBS -L$x_libraries"
10717 # For Solaris; some versions of Sun CC require a space after -R and
10718 # others require no space. Words are not sufficient . . . .
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10720 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10721 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10722 ac_xsave_c_werror_flag=$ac_c_werror_flag
10723 ac_c_werror_flag=yes
10724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10728 main ()
10732 return 0;
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"; then :
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10737 $as_echo "no" >&6; }
10738 X_LIBS="$X_LIBS -R$x_libraries"
10739 else
10740 LIBS="$ac_xsave_LIBS -R $x_libraries"
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10745 main ()
10749 return 0;
10751 _ACEOF
10752 if ac_fn_c_try_link "$LINENO"; then :
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10754 $as_echo "yes" >&6; }
10755 X_LIBS="$X_LIBS -R $x_libraries"
10756 else
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10758 $as_echo "neither works" >&6; }
10760 rm -f core conftest.err conftest.$ac_objext \
10761 conftest$ac_exeext conftest.$ac_ext
10763 rm -f core conftest.err conftest.$ac_objext \
10764 conftest$ac_exeext conftest.$ac_ext
10765 ac_c_werror_flag=$ac_xsave_c_werror_flag
10766 LIBS=$ac_xsave_LIBS
10769 # Check for system-dependent libraries X programs must link with.
10770 # Do this before checking for the system-independent R6 libraries
10771 # (-lICE), since we may need -lsocket or whatever for X linking.
10773 if test "$ISC" = yes; then
10774 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10775 else
10776 # Martyn Johnson says this is needed for Ultrix, if the X
10777 # libraries were built with DECnet support. And Karl Berry says
10778 # the Alpha needs dnet_stub (dnet does not exist).
10779 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10781 /* end confdefs.h. */
10783 /* Override any GCC internal prototype to avoid an error.
10784 Use char because int might match the return type of a GCC
10785 builtin and then its argument prototype would still apply. */
10786 #ifdef __cplusplus
10787 extern "C"
10788 #endif
10789 char XOpenDisplay ();
10791 main ()
10793 return XOpenDisplay ();
10795 return 0;
10797 _ACEOF
10798 if ac_fn_c_try_link "$LINENO"; then :
10800 else
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10802 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10803 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10804 $as_echo_n "(cached) " >&6
10805 else
10806 ac_check_lib_save_LIBS=$LIBS
10807 LIBS="-ldnet $LIBS"
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10811 /* Override any GCC internal prototype to avoid an error.
10812 Use char because int might match the return type of a GCC
10813 builtin and then its argument prototype would still apply. */
10814 #ifdef __cplusplus
10815 extern "C"
10816 #endif
10817 char dnet_ntoa ();
10819 main ()
10821 return dnet_ntoa ();
10823 return 0;
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"; then :
10827 ac_cv_lib_dnet_dnet_ntoa=yes
10828 else
10829 ac_cv_lib_dnet_dnet_ntoa=no
10831 rm -f core conftest.err conftest.$ac_objext \
10832 conftest$ac_exeext conftest.$ac_ext
10833 LIBS=$ac_check_lib_save_LIBS
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10836 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10837 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10838 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10841 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10843 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10844 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10845 $as_echo_n "(cached) " >&6
10846 else
10847 ac_check_lib_save_LIBS=$LIBS
10848 LIBS="-ldnet_stub $LIBS"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10852 /* Override any GCC internal prototype to avoid an error.
10853 Use char because int might match the return type of a GCC
10854 builtin and then its argument prototype would still apply. */
10855 #ifdef __cplusplus
10856 extern "C"
10857 #endif
10858 char dnet_ntoa ();
10860 main ()
10862 return dnet_ntoa ();
10864 return 0;
10866 _ACEOF
10867 if ac_fn_c_try_link "$LINENO"; then :
10868 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10869 else
10870 ac_cv_lib_dnet_stub_dnet_ntoa=no
10872 rm -f core conftest.err conftest.$ac_objext \
10873 conftest$ac_exeext conftest.$ac_ext
10874 LIBS=$ac_check_lib_save_LIBS
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10877 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10878 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10879 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10884 rm -f core conftest.err conftest.$ac_objext \
10885 conftest$ac_exeext conftest.$ac_ext
10886 LIBS="$ac_xsave_LIBS"
10888 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10889 # to get the SysV transport functions.
10890 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10891 # needs -lnsl.
10892 # The nsl library prevents programs from opening the X display
10893 # on Irix 5.2, according to T.E. Dickey.
10894 # The functions gethostbyname, getservbyname, and inet_addr are
10895 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10896 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10897 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10901 if test $ac_cv_func_gethostbyname = no; then
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10903 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10904 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10905 $as_echo_n "(cached) " >&6
10906 else
10907 ac_check_lib_save_LIBS=$LIBS
10908 LIBS="-lnsl $LIBS"
10909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10910 /* end confdefs.h. */
10912 /* Override any GCC internal prototype to avoid an error.
10913 Use char because int might match the return type of a GCC
10914 builtin and then its argument prototype would still apply. */
10915 #ifdef __cplusplus
10916 extern "C"
10917 #endif
10918 char gethostbyname ();
10920 main ()
10922 return gethostbyname ();
10924 return 0;
10926 _ACEOF
10927 if ac_fn_c_try_link "$LINENO"; then :
10928 ac_cv_lib_nsl_gethostbyname=yes
10929 else
10930 ac_cv_lib_nsl_gethostbyname=no
10932 rm -f core conftest.err conftest.$ac_objext \
10933 conftest$ac_exeext conftest.$ac_ext
10934 LIBS=$ac_check_lib_save_LIBS
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10937 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10938 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10939 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10942 if test $ac_cv_lib_nsl_gethostbyname = no; then
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10944 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10945 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10946 $as_echo_n "(cached) " >&6
10947 else
10948 ac_check_lib_save_LIBS=$LIBS
10949 LIBS="-lbsd $LIBS"
10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10956 #ifdef __cplusplus
10957 extern "C"
10958 #endif
10959 char gethostbyname ();
10961 main ()
10963 return gethostbyname ();
10965 return 0;
10967 _ACEOF
10968 if ac_fn_c_try_link "$LINENO"; then :
10969 ac_cv_lib_bsd_gethostbyname=yes
10970 else
10971 ac_cv_lib_bsd_gethostbyname=no
10973 rm -f core conftest.err conftest.$ac_objext \
10974 conftest$ac_exeext conftest.$ac_ext
10975 LIBS=$ac_check_lib_save_LIBS
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10978 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10979 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10980 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10986 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10987 # socket/setsockopt and other routines are undefined under SCO ODT
10988 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10989 # on later versions), says Simon Leinen: it contains gethostby*
10990 # variants that don't use the name server (or something). -lsocket
10991 # must be given before -lnsl if both are needed. We assume that
10992 # if connect needs -lnsl, so does gethostbyname.
10993 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10994 if test "x$ac_cv_func_connect" = xyes; then :
10998 if test $ac_cv_func_connect = no; then
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11000 $as_echo_n "checking for connect in -lsocket... " >&6; }
11001 if ${ac_cv_lib_socket_connect+:} false; then :
11002 $as_echo_n "(cached) " >&6
11003 else
11004 ac_check_lib_save_LIBS=$LIBS
11005 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11012 #ifdef __cplusplus
11013 extern "C"
11014 #endif
11015 char connect ();
11017 main ()
11019 return connect ();
11021 return 0;
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 ac_cv_lib_socket_connect=yes
11026 else
11027 ac_cv_lib_socket_connect=no
11029 rm -f core conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11034 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11035 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11036 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11041 # Guillermo Gomez says -lposix is necessary on A/UX.
11042 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11043 if test "x$ac_cv_func_remove" = xyes; then :
11047 if test $ac_cv_func_remove = no; then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11049 $as_echo_n "checking for remove in -lposix... " >&6; }
11050 if ${ac_cv_lib_posix_remove+:} false; then :
11051 $as_echo_n "(cached) " >&6
11052 else
11053 ac_check_lib_save_LIBS=$LIBS
11054 LIBS="-lposix $LIBS"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11058 /* Override any GCC internal prototype to avoid an error.
11059 Use char because int might match the return type of a GCC
11060 builtin and then its argument prototype would still apply. */
11061 #ifdef __cplusplus
11062 extern "C"
11063 #endif
11064 char remove ();
11066 main ()
11068 return remove ();
11070 return 0;
11072 _ACEOF
11073 if ac_fn_c_try_link "$LINENO"; then :
11074 ac_cv_lib_posix_remove=yes
11075 else
11076 ac_cv_lib_posix_remove=no
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_lib_save_LIBS
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11083 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11084 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11085 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11090 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11091 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11092 if test "x$ac_cv_func_shmat" = xyes; then :
11096 if test $ac_cv_func_shmat = no; then
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11098 $as_echo_n "checking for shmat in -lipc... " >&6; }
11099 if ${ac_cv_lib_ipc_shmat+:} false; then :
11100 $as_echo_n "(cached) " >&6
11101 else
11102 ac_check_lib_save_LIBS=$LIBS
11103 LIBS="-lipc $LIBS"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char shmat ();
11115 main ()
11117 return shmat ();
11119 return 0;
11121 _ACEOF
11122 if ac_fn_c_try_link "$LINENO"; then :
11123 ac_cv_lib_ipc_shmat=yes
11124 else
11125 ac_cv_lib_ipc_shmat=no
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11132 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11133 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11140 # Check for libraries that X11R6 Xt/Xaw programs need.
11141 ac_save_LDFLAGS=$LDFLAGS
11142 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11143 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11144 # check for ICE first), but we must link in the order -lSM -lICE or
11145 # we get undefined symbols. So assume we have SM if we have ICE.
11146 # These have to be linked with before -lX11, unlike the other
11147 # libraries we check for below, so use a different variable.
11148 # John Interrante, Karl Berry
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11150 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11151 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_lib_save_LIBS=$LIBS
11155 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char IceConnectionNumber ();
11167 main ()
11169 return IceConnectionNumber ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_ICE_IceConnectionNumber=yes
11176 else
11177 ac_cv_lib_ICE_IceConnectionNumber=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11184 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11185 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11186 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11189 LDFLAGS=$ac_save_LDFLAGS
11194 if test "$have_x" = "yes"
11195 then
11196 ac_save_CPPFLAGS="$CPPFLAGS"
11197 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11200 $as_echo_n "checking for -lX11... " >&6; }
11201 if ${ac_cv_lib_soname_X11+:} false; then :
11202 $as_echo_n "(cached) " >&6
11203 else
11204 ac_check_soname_save_LIBS=$LIBS
11205 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207 /* end confdefs.h. */
11209 /* Override any GCC internal prototype to avoid an error.
11210 Use char because int might match the return type of a GCC
11211 builtin and then its argument prototype would still apply. */
11212 #ifdef __cplusplus
11213 extern "C"
11214 #endif
11215 char XCreateWindow ();
11217 main ()
11219 return XCreateWindow ();
11221 return 0;
11223 _ACEOF
11224 if ac_fn_c_try_link "$LINENO"; then :
11225 case "$LIBEXT" in
11226 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11227 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'` ;;
11228 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11229 if ${ac_cv_lib_soname_X11:+false} :; then :
11230 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11231 fi ;;
11232 esac
11233 else
11234 ac_cv_lib_soname_X11=
11236 rm -f core conftest.err conftest.$ac_objext \
11237 conftest$ac_exeext conftest.$ac_ext
11238 LIBS=$ac_check_soname_save_LIBS
11240 if ${ac_cv_lib_soname_X11:+false} :; then :
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11242 $as_echo "not found" >&6; }
11244 else
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11246 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11248 cat >>confdefs.h <<_ACEOF
11249 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11250 _ACEOF
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11255 $as_echo_n "checking for -lXext... " >&6; }
11256 if ${ac_cv_lib_soname_Xext+:} false; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_soname_save_LIBS=$LIBS
11260 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h. */
11264 /* Override any GCC internal prototype to avoid an error.
11265 Use char because int might match the return type of a GCC
11266 builtin and then its argument prototype would still apply. */
11267 #ifdef __cplusplus
11268 extern "C"
11269 #endif
11270 char XextCreateExtension ();
11272 main ()
11274 return XextCreateExtension ();
11276 return 0;
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"; then :
11280 case "$LIBEXT" in
11281 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11282 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'` ;;
11283 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11284 if ${ac_cv_lib_soname_Xext:+false} :; then :
11285 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11286 fi ;;
11287 esac
11288 else
11289 ac_cv_lib_soname_Xext=
11291 rm -f core conftest.err conftest.$ac_objext \
11292 conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_soname_save_LIBS
11295 if ${ac_cv_lib_soname_Xext:+false} :; then :
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11297 $as_echo "not found" >&6; }
11299 else
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11301 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11303 cat >>confdefs.h <<_ACEOF
11304 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11305 _ACEOF
11307 X_LIBS="$X_LIBS -lXext"
11309 X_LIBS="$X_LIBS -lX11"
11311 for ac_header in X11/Xlib.h \
11312 X11/XKBlib.h \
11313 X11/Xutil.h \
11314 X11/Xcursor/Xcursor.h \
11315 X11/extensions/shape.h \
11316 X11/extensions/XInput.h \
11317 X11/extensions/XInput2.h \
11318 X11/extensions/XShm.h \
11319 X11/extensions/Xcomposite.h \
11320 X11/extensions/Xfixes.h \
11321 X11/extensions/Xinerama.h \
11322 X11/extensions/Xrandr.h \
11323 X11/extensions/Xrender.h \
11324 X11/extensions/xf86vmode.h \
11325 X11/extensions/xf86vmproto.h
11326 do :
11327 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11328 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11329 # include <X11/Xlib.h>
11330 #endif
11331 #ifdef HAVE_X11_XUTIL_H
11332 # include <X11/Xutil.h>
11333 #endif
11335 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11336 cat >>confdefs.h <<_ACEOF
11337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11338 _ACEOF
11342 done
11345 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11346 then
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11348 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11349 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11350 $as_echo_n "(cached) " >&6
11351 else
11352 ac_check_lib_save_LIBS=$LIBS
11353 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11360 #ifdef __cplusplus
11361 extern "C"
11362 #endif
11363 char XkbQueryExtension ();
11365 main ()
11367 return XkbQueryExtension ();
11369 return 0;
11371 _ACEOF
11372 if ac_fn_c_try_link "$LINENO"; then :
11373 ac_cv_lib_X11_XkbQueryExtension=yes
11374 else
11375 ac_cv_lib_X11_XkbQueryExtension=no
11377 rm -f core conftest.err conftest.$ac_objext \
11378 conftest$ac_exeext conftest.$ac_ext
11379 LIBS=$ac_check_lib_save_LIBS
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11382 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11383 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11385 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11391 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11392 then
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11394 $as_echo_n "checking for -lXcursor... " >&6; }
11395 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11396 $as_echo_n "(cached) " >&6
11397 else
11398 ac_check_soname_save_LIBS=$LIBS
11399 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11406 #ifdef __cplusplus
11407 extern "C"
11408 #endif
11409 char XcursorImageLoadCursor ();
11411 main ()
11413 return XcursorImageLoadCursor ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 case "$LIBEXT" in
11420 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11421 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'` ;;
11422 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11423 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11424 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11425 fi ;;
11426 esac
11427 else
11428 ac_cv_lib_soname_Xcursor=
11430 rm -f core conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext
11432 LIBS=$ac_check_soname_save_LIBS
11434 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11436 $as_echo "not found" >&6; }
11438 else
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11440 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11442 cat >>confdefs.h <<_ACEOF
11443 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11444 _ACEOF
11449 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11450 case "x$with_xcursor" in
11451 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11452 xno) ;;
11453 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11454 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11455 esac
11459 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11460 then
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11462 $as_echo_n "checking for -lXi... " >&6; }
11463 if ${ac_cv_lib_soname_Xi+:} false; then :
11464 $as_echo_n "(cached) " >&6
11465 else
11466 ac_check_soname_save_LIBS=$LIBS
11467 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11469 /* end confdefs.h. */
11471 /* Override any GCC internal prototype to avoid an error.
11472 Use char because int might match the return type of a GCC
11473 builtin and then its argument prototype would still apply. */
11474 #ifdef __cplusplus
11475 extern "C"
11476 #endif
11477 char XOpenDevice ();
11479 main ()
11481 return XOpenDevice ();
11483 return 0;
11485 _ACEOF
11486 if ac_fn_c_try_link "$LINENO"; then :
11487 case "$LIBEXT" in
11488 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11489 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'` ;;
11490 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11491 if ${ac_cv_lib_soname_Xi:+false} :; then :
11492 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11493 fi ;;
11494 esac
11495 else
11496 ac_cv_lib_soname_Xi=
11498 rm -f core conftest.err conftest.$ac_objext \
11499 conftest$ac_exeext conftest.$ac_ext
11500 LIBS=$ac_check_soname_save_LIBS
11502 if ${ac_cv_lib_soname_Xi:+false} :; then :
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11504 $as_echo "not found" >&6; }
11506 else
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11508 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11510 cat >>confdefs.h <<_ACEOF
11511 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11512 _ACEOF
11517 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11518 case "x$with_xinput" in
11519 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11520 xno) ;;
11521 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11522 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11523 esac
11527 if test "x$ac_cv_lib_soname_Xi" != x
11528 then
11529 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11530 case "x$with_xinput2" in
11531 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11532 xno) ;;
11533 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11534 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11535 esac
11540 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11541 then
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11543 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11544 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11545 $as_echo_n "(cached) " >&6
11546 else
11547 ac_check_lib_save_LIBS=$LIBS
11548 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11555 #ifdef __cplusplus
11556 extern "C"
11557 #endif
11558 char XShmQueryExtension ();
11560 main ()
11562 return XShmQueryExtension ();
11564 return 0;
11566 _ACEOF
11567 if ac_fn_c_try_link "$LINENO"; then :
11568 ac_cv_lib_Xext_XShmQueryExtension=yes
11569 else
11570 ac_cv_lib_Xext_XShmQueryExtension=no
11572 rm -f core conftest.err conftest.$ac_objext \
11573 conftest$ac_exeext conftest.$ac_ext
11574 LIBS=$ac_check_lib_save_LIBS
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11577 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11578 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11580 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11585 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11586 case "x$with_xshm" in
11587 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11588 xno) ;;
11589 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11590 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11591 esac
11595 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11596 then
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11598 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11599 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11600 $as_echo_n "(cached) " >&6
11601 else
11602 ac_check_lib_save_LIBS=$LIBS
11603 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11610 #ifdef __cplusplus
11611 extern "C"
11612 #endif
11613 char XShapeQueryExtension ();
11615 main ()
11617 return XShapeQueryExtension ();
11619 return 0;
11621 _ACEOF
11622 if ac_fn_c_try_link "$LINENO"; then :
11623 ac_cv_lib_Xext_XShapeQueryExtension=yes
11624 else
11625 ac_cv_lib_Xext_XShapeQueryExtension=no
11627 rm -f core conftest.err conftest.$ac_objext \
11628 conftest$ac_exeext conftest.$ac_ext
11629 LIBS=$ac_check_lib_save_LIBS
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11632 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11633 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11635 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11640 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11641 case "x$with_xshape" in
11642 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11643 xno) ;;
11644 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11645 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11646 esac
11650 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11651 then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11653 $as_echo_n "checking for -lXxf86vm... " >&6; }
11654 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11655 $as_echo_n "(cached) " >&6
11656 else
11657 ac_check_soname_save_LIBS=$LIBS
11658 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11665 #ifdef __cplusplus
11666 extern "C"
11667 #endif
11668 char XF86VidModeQueryExtension ();
11670 main ()
11672 return XF86VidModeQueryExtension ();
11674 return 0;
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"; then :
11678 case "$LIBEXT" in
11679 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11680 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'` ;;
11681 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11682 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11683 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11684 fi ;;
11685 esac
11686 else
11687 ac_cv_lib_soname_Xxf86vm=
11689 rm -f core conftest.err conftest.$ac_objext \
11690 conftest$ac_exeext conftest.$ac_ext
11691 LIBS=$ac_check_soname_save_LIBS
11693 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11695 $as_echo "not found" >&6; }
11697 else
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11699 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11701 cat >>confdefs.h <<_ACEOF
11702 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11703 _ACEOF
11708 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11709 case "x$with_xxf86vm" in
11710 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11711 xno) ;;
11712 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11713 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11714 esac
11718 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11719 then
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11721 $as_echo_n "checking for -lXrender... " >&6; }
11722 if ${ac_cv_lib_soname_Xrender+:} false; then :
11723 $as_echo_n "(cached) " >&6
11724 else
11725 ac_check_soname_save_LIBS=$LIBS
11726 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11730 /* Override any GCC internal prototype to avoid an error.
11731 Use char because int might match the return type of a GCC
11732 builtin and then its argument prototype would still apply. */
11733 #ifdef __cplusplus
11734 extern "C"
11735 #endif
11736 char XRenderQueryExtension ();
11738 main ()
11740 return XRenderQueryExtension ();
11742 return 0;
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"; then :
11746 case "$LIBEXT" in
11747 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11748 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'` ;;
11749 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11750 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11751 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11752 fi ;;
11753 esac
11754 else
11755 ac_cv_lib_soname_Xrender=
11757 rm -f core conftest.err conftest.$ac_objext \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_soname_save_LIBS
11761 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11763 $as_echo "not found" >&6; }
11765 else
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11767 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11769 cat >>confdefs.h <<_ACEOF
11770 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11771 _ACEOF
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11774 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11775 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11776 $as_echo_n "(cached) " >&6
11777 else
11778 ac_check_lib_save_LIBS=$LIBS
11779 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11786 #ifdef __cplusplus
11787 extern "C"
11788 #endif
11789 char XRenderSetPictureTransform ();
11791 main ()
11793 return XRenderSetPictureTransform ();
11795 return 0;
11797 _ACEOF
11798 if ac_fn_c_try_link "$LINENO"; then :
11799 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11800 else
11801 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11803 rm -f core conftest.err conftest.$ac_objext \
11804 conftest$ac_exeext conftest.$ac_ext
11805 LIBS=$ac_check_lib_save_LIBS
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11808 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11809 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11811 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11816 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11817 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11818 $as_echo_n "(cached) " >&6
11819 else
11820 ac_check_lib_save_LIBS=$LIBS
11821 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11828 #ifdef __cplusplus
11829 extern "C"
11830 #endif
11831 char XRenderCreateLinearGradient ();
11833 main ()
11835 return XRenderCreateLinearGradient ();
11837 return 0;
11839 _ACEOF
11840 if ac_fn_c_try_link "$LINENO"; then :
11841 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11842 else
11843 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11845 rm -f core conftest.err conftest.$ac_objext \
11846 conftest$ac_exeext conftest.$ac_ext
11847 LIBS=$ac_check_lib_save_LIBS
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11850 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11851 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11853 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11860 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11861 case "x$with_xrender" in
11862 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11863 xno) ;;
11864 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11865 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11866 esac
11870 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11871 then
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11874 #include <X11/Xlib.h>
11875 #include <X11/extensions/Xrandr.h>
11877 main ()
11879 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11881 return 0;
11883 _ACEOF
11884 if ac_fn_c_try_compile "$LINENO"; then :
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11886 $as_echo_n "checking for -lXrandr... " >&6; }
11887 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11888 $as_echo_n "(cached) " >&6
11889 else
11890 ac_check_soname_save_LIBS=$LIBS
11891 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11895 /* Override any GCC internal prototype to avoid an error.
11896 Use char because int might match the return type of a GCC
11897 builtin and then its argument prototype would still apply. */
11898 #ifdef __cplusplus
11899 extern "C"
11900 #endif
11901 char XRRQueryExtension ();
11903 main ()
11905 return XRRQueryExtension ();
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"; then :
11911 case "$LIBEXT" in
11912 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11913 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'` ;;
11914 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11915 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11916 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11917 fi ;;
11918 esac
11919 else
11920 ac_cv_lib_soname_Xrandr=
11922 rm -f core conftest.err conftest.$ac_objext \
11923 conftest$ac_exeext conftest.$ac_ext
11924 LIBS=$ac_check_soname_save_LIBS
11926 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11928 $as_echo "not found" >&6; }
11930 else
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11932 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11934 cat >>confdefs.h <<_ACEOF
11935 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11936 _ACEOF
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 #include <X11/Xlib.h>
11941 #include <X11/extensions/Xrandr.h>
11943 main ()
11945 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_compile "$LINENO"; then :
11952 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11960 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11961 case "x$with_xrandr" in
11962 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11963 xno) ;;
11964 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11965 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11966 esac
11970 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11971 then
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974 #include <X11/Xlib.h>
11975 #include <X11/extensions/Xfixes.h>
11977 main ()
11979 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11981 return 0;
11983 _ACEOF
11984 if ac_fn_c_try_compile "$LINENO"; then :
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11986 $as_echo_n "checking for -lXfixes... " >&6; }
11987 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11988 $as_echo_n "(cached) " >&6
11989 else
11990 ac_check_soname_save_LIBS=$LIBS
11991 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
11998 #ifdef __cplusplus
11999 extern "C"
12000 #endif
12001 char XFixesQueryVersion ();
12003 main ()
12005 return XFixesQueryVersion ();
12007 return 0;
12009 _ACEOF
12010 if ac_fn_c_try_link "$LINENO"; then :
12011 case "$LIBEXT" in
12012 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12013 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'` ;;
12014 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12015 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12016 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12017 fi ;;
12018 esac
12019 else
12020 ac_cv_lib_soname_Xfixes=
12022 rm -f core conftest.err conftest.$ac_objext \
12023 conftest$ac_exeext conftest.$ac_ext
12024 LIBS=$ac_check_soname_save_LIBS
12026 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12028 $as_echo "not found" >&6; }
12030 else
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12032 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12034 cat >>confdefs.h <<_ACEOF
12035 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12036 _ACEOF
12041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12043 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12044 case "x$with_xfixes" in
12045 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12046 xno) ;;
12047 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12048 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12049 esac
12053 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12054 then
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12057 #include <X11/Xlib.h>
12058 #include <X11/extensions/Xinerama.h>
12060 main ()
12062 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12064 return 0;
12066 _ACEOF
12067 if ac_fn_c_try_compile "$LINENO"; then :
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12069 $as_echo_n "checking for -lXinerama... " >&6; }
12070 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12071 $as_echo_n "(cached) " >&6
12072 else
12073 ac_check_soname_save_LIBS=$LIBS
12074 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 /* Override any GCC internal prototype to avoid an error.
12079 Use char because int might match the return type of a GCC
12080 builtin and then its argument prototype would still apply. */
12081 #ifdef __cplusplus
12082 extern "C"
12083 #endif
12084 char XineramaQueryScreens ();
12086 main ()
12088 return XineramaQueryScreens ();
12090 return 0;
12092 _ACEOF
12093 if ac_fn_c_try_link "$LINENO"; then :
12094 case "$LIBEXT" in
12095 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12096 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'` ;;
12097 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12098 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12099 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12100 fi ;;
12101 esac
12102 else
12103 ac_cv_lib_soname_Xinerama=
12105 rm -f core conftest.err conftest.$ac_objext \
12106 conftest$ac_exeext conftest.$ac_ext
12107 LIBS=$ac_check_soname_save_LIBS
12109 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12111 $as_echo "not found" >&6; }
12113 else
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12115 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12117 cat >>confdefs.h <<_ACEOF
12118 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12119 _ACEOF
12124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12126 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12127 case "x$with_xinerama" in
12128 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12129 xno) ;;
12130 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12131 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12132 esac
12136 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12137 then
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12139 $as_echo_n "checking for -lXcomposite... " >&6; }
12140 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 ac_check_soname_save_LIBS=$LIBS
12144 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12151 #ifdef __cplusplus
12152 extern "C"
12153 #endif
12154 char XCompositeRedirectWindow ();
12156 main ()
12158 return XCompositeRedirectWindow ();
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_link "$LINENO"; then :
12164 case "$LIBEXT" in
12165 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12166 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'` ;;
12167 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12168 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12169 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12170 fi ;;
12171 esac
12172 else
12173 ac_cv_lib_soname_Xcomposite=
12175 rm -f core conftest.err conftest.$ac_objext \
12176 conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_soname_save_LIBS
12179 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12181 $as_echo "not found" >&6; }
12183 else
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12185 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12187 cat >>confdefs.h <<_ACEOF
12188 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12189 _ACEOF
12194 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12195 case "x$with_xcomposite" in
12196 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12197 xno) ;;
12198 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12199 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12200 esac
12204 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12205 #include <X11/Xlib.h>
12206 #endif
12208 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12210 cat >>confdefs.h <<_ACEOF
12211 #define HAVE_XICCALLBACK_CALLBACK 1
12212 _ACEOF
12216 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12217 #include <X11/Xlib.h>
12218 #endif
12220 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12222 cat >>confdefs.h <<_ACEOF
12223 #define HAVE_XEVENT_XCOOKIE 1
12224 _ACEOF
12231 opengl_msg=""
12232 if test "x$with_opengl" != "xno"
12233 then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12235 $as_echo_n "checking for -lGL... " >&6; }
12236 if ${ac_cv_lib_soname_GL+:} false; then :
12237 $as_echo_n "(cached) " >&6
12238 else
12239 ac_check_soname_save_LIBS=$LIBS
12240 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12247 #ifdef __cplusplus
12248 extern "C"
12249 #endif
12250 char glXCreateContext ();
12252 main ()
12254 return glXCreateContext ();
12256 return 0;
12258 _ACEOF
12259 if ac_fn_c_try_link "$LINENO"; then :
12260 case "$LIBEXT" in
12261 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12262 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'` ;;
12263 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12264 if ${ac_cv_lib_soname_GL:+false} :; then :
12265 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12266 fi ;;
12267 esac
12268 else
12269 ac_cv_lib_soname_GL=
12271 rm -f core conftest.err conftest.$ac_objext \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_soname_save_LIBS
12275 if ${ac_cv_lib_soname_GL:+false} :; then :
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12277 $as_echo "not found" >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12279 $as_echo_n "checking for -lGL... " >&6; }
12280 if ${ac_cv_lib_soname_GL+:} false; then :
12281 $as_echo_n "(cached) " >&6
12282 else
12283 ac_check_soname_save_LIBS=$LIBS
12284 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"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12291 #ifdef __cplusplus
12292 extern "C"
12293 #endif
12294 char glXCreateContext ();
12296 main ()
12298 return glXCreateContext ();
12300 return 0;
12302 _ACEOF
12303 if ac_fn_c_try_link "$LINENO"; then :
12304 case "$LIBEXT" in
12305 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12306 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'` ;;
12307 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12308 if ${ac_cv_lib_soname_GL:+false} :; then :
12309 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12310 fi ;;
12311 esac
12312 else
12313 ac_cv_lib_soname_GL=
12315 rm -f core conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12317 LIBS=$ac_check_soname_save_LIBS
12319 if ${ac_cv_lib_soname_GL:+false} :; then :
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12321 $as_echo "not found" >&6; }
12322 if test -f /usr/X11R6/lib/libGL.a
12323 then
12324 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12325 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12326 else
12327 opengl_msg="No OpenGL library found on this system."
12329 else
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12331 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12333 cat >>confdefs.h <<_ACEOF
12334 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12335 _ACEOF
12337 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"
12339 else
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12341 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12343 cat >>confdefs.h <<_ACEOF
12344 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12345 _ACEOF
12347 OPENGL_LIBS="-lGL"
12349 if test "x$with_glu" != "xno"
12350 then
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12352 $as_echo_n "checking for -lGLU... " >&6; }
12353 if ${ac_cv_lib_soname_GLU+:} false; then :
12354 $as_echo_n "(cached) " >&6
12355 else
12356 ac_check_soname_save_LIBS=$LIBS
12357 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12361 /* Override any GCC internal prototype to avoid an error.
12362 Use char because int might match the return type of a GCC
12363 builtin and then its argument prototype would still apply. */
12364 #ifdef __cplusplus
12365 extern "C"
12366 #endif
12367 char gluLookAt ();
12369 main ()
12371 return gluLookAt ();
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_link "$LINENO"; then :
12377 case "$LIBEXT" in
12378 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12379 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'` ;;
12380 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12381 if ${ac_cv_lib_soname_GLU:+false} :; then :
12382 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12383 fi ;;
12384 esac
12385 else
12386 ac_cv_lib_soname_GLU=
12388 rm -f core conftest.err conftest.$ac_objext \
12389 conftest$ac_exeext conftest.$ac_ext
12390 LIBS=$ac_check_soname_save_LIBS
12392 if ${ac_cv_lib_soname_GLU:+false} :; then :
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12394 $as_echo "not found" >&6; }
12396 else
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12398 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12400 cat >>confdefs.h <<_ACEOF
12401 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12402 _ACEOF
12406 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12407 case "x$with_glu" in
12408 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12409 xno) ;;
12410 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12411 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12412 esac
12417 if test "x$with_osmesa" != "xno"
12418 then
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12420 $as_echo_n "checking for -lOSMesa... " >&6; }
12421 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12422 $as_echo_n "(cached) " >&6
12423 else
12424 ac_check_soname_save_LIBS=$LIBS
12425 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12432 #ifdef __cplusplus
12433 extern "C"
12434 #endif
12435 char OSMesaGetProcAddress ();
12437 main ()
12439 return OSMesaGetProcAddress ();
12441 return 0;
12443 _ACEOF
12444 if ac_fn_c_try_link "$LINENO"; then :
12445 case "$LIBEXT" in
12446 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12447 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'` ;;
12448 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12449 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12450 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12451 fi ;;
12452 esac
12453 else
12454 ac_cv_lib_soname_OSMesa=
12456 rm -f core conftest.err conftest.$ac_objext \
12457 conftest$ac_exeext conftest.$ac_ext
12458 LIBS=$ac_check_soname_save_LIBS
12460 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12462 $as_echo "not found" >&6; }
12464 else
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12466 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12468 cat >>confdefs.h <<_ACEOF
12469 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12470 _ACEOF
12474 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12475 case "x$with_osmesa" in
12476 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12477 xno) ;;
12478 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12479 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12480 esac
12485 if test -n "$opengl_msg"; then :
12486 case "x$with_opengl" in
12487 x) as_fn_append wine_warnings "|$opengl_msg
12488 OpenGL and Direct3D won't be supported." ;;
12489 xno) ;;
12490 *) as_fn_error $? "$opengl_msg
12491 OpenGL and Direct3D won't be supported.
12492 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12493 esac
12497 CPPFLAGS="$ac_save_CPPFLAGS"
12498 else
12499 X_CFLAGS=""
12500 X_LIBS=""
12503 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12504 then
12505 if test "x$X_LIBS" = "x"; then :
12506 case "x$with_x" in
12507 xno) ;;
12508 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12509 without X support, which probably isn't what you want. You will need
12510 to install ${notice_platform}development packages of Xlib at the very least.
12511 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12512 esac
12513 enable_winex11_drv=${enable_winex11_drv:-no}
12515 else
12516 if test "x$X_LIBS" = "x"; then :
12517 case "x$with_x" in
12518 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12519 xno) ;;
12520 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12521 This is an error since --with-x was requested." "$LINENO" 5 ;;
12522 esac
12523 enable_winex11_drv=${enable_winex11_drv:-no}
12527 if test "$ac_cv_header_CL_cl_h" = "yes"
12528 then
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12530 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12531 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12532 $as_echo_n "(cached) " >&6
12533 else
12534 ac_check_lib_save_LIBS=$LIBS
12535 LIBS="-lOpenCL $LIBS"
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12542 #ifdef __cplusplus
12543 extern "C"
12544 #endif
12545 char clGetPlatformInfo ();
12547 main ()
12549 return clGetPlatformInfo ();
12551 return 0;
12553 _ACEOF
12554 if ac_fn_c_try_link "$LINENO"; then :
12555 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12556 else
12557 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12559 rm -f core conftest.err conftest.$ac_objext \
12560 conftest$ac_exeext conftest.$ac_ext
12561 LIBS=$ac_check_lib_save_LIBS
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12564 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12565 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12566 OPENCL_LIBS="-lOpenCL"
12571 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12572 case "x$with_opencl" in
12573 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12574 xno) ;;
12575 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12576 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12577 esac
12578 enable_opencl=${enable_opencl:-no}
12581 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12582 then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12584 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12585 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12586 $as_echo_n "(cached) " >&6
12587 else
12588 ac_check_lib_save_LIBS=$LIBS
12589 LIBS="-lpcap $LIBS"
12590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12593 /* Override any GCC internal prototype to avoid an error.
12594 Use char because int might match the return type of a GCC
12595 builtin and then its argument prototype would still apply. */
12596 #ifdef __cplusplus
12597 extern "C"
12598 #endif
12599 char pcap_create ();
12601 main ()
12603 return pcap_create ();
12605 return 0;
12607 _ACEOF
12608 if ac_fn_c_try_link "$LINENO"; then :
12609 ac_cv_lib_pcap_pcap_create=yes
12610 else
12611 ac_cv_lib_pcap_pcap_create=no
12613 rm -f core conftest.err conftest.$ac_objext \
12614 conftest$ac_exeext conftest.$ac_ext
12615 LIBS=$ac_check_lib_save_LIBS
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12618 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12619 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12620 PCAP_LIBS="-lpcap"
12625 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12626 case "x$with_pcap" in
12627 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12628 xno) ;;
12629 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12630 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12631 esac
12632 enable_wpcap=${enable_wpcap:-no}
12636 if test "x$with_xml" != "xno"
12637 then
12638 if ${XML2_CFLAGS:+false} :; then :
12639 if ${PKG_CONFIG+:} false; then :
12640 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12643 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12644 if ${XML2_LIBS:+false} :; then :
12645 if ${PKG_CONFIG+:} false; then :
12646 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12649 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12650 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12651 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12652 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12653 ac_save_CPPFLAGS=$CPPFLAGS
12654 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12655 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12656 do :
12657 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12658 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12660 cat >>confdefs.h <<_ACEOF
12661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12662 _ACEOF
12666 done
12668 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"
12669 then
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12671 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12672 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12673 $as_echo_n "(cached) " >&6
12674 else
12675 ac_check_lib_save_LIBS=$LIBS
12676 LIBS="-lxml2 $XML2_LIBS $LIBS"
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12683 #ifdef __cplusplus
12684 extern "C"
12685 #endif
12686 char xmlParseMemory ();
12688 main ()
12690 return xmlParseMemory ();
12692 return 0;
12694 _ACEOF
12695 if ac_fn_c_try_link "$LINENO"; then :
12696 ac_cv_lib_xml2_xmlParseMemory=yes
12697 else
12698 ac_cv_lib_xml2_xmlParseMemory=no
12700 rm -f core conftest.err conftest.$ac_objext \
12701 conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_lib_save_LIBS
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12705 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12706 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12708 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12710 else
12711 XML2_LIBS=""
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12715 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12716 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12717 $as_echo_n "(cached) " >&6
12718 else
12719 ac_check_lib_save_LIBS=$LIBS
12720 LIBS="-lxml2 $XML2_LIBS $LIBS"
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 /* Override any GCC internal prototype to avoid an error.
12725 Use char because int might match the return type of a GCC
12726 builtin and then its argument prototype would still apply. */
12727 #ifdef __cplusplus
12728 extern "C"
12729 #endif
12730 char xmlReadMemory ();
12732 main ()
12734 return xmlReadMemory ();
12736 return 0;
12738 _ACEOF
12739 if ac_fn_c_try_link "$LINENO"; then :
12740 ac_cv_lib_xml2_xmlReadMemory=yes
12741 else
12742 ac_cv_lib_xml2_xmlReadMemory=no
12744 rm -f core conftest.err conftest.$ac_objext \
12745 conftest$ac_exeext conftest.$ac_ext
12746 LIBS=$ac_check_lib_save_LIBS
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12749 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12750 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12752 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12757 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12758 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12759 $as_echo_n "(cached) " >&6
12760 else
12761 ac_check_lib_save_LIBS=$LIBS
12762 LIBS="-lxml2 $XML2_LIBS $LIBS"
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12769 #ifdef __cplusplus
12770 extern "C"
12771 #endif
12772 char xmlNewDocPI ();
12774 main ()
12776 return xmlNewDocPI ();
12778 return 0;
12780 _ACEOF
12781 if ac_fn_c_try_link "$LINENO"; then :
12782 ac_cv_lib_xml2_xmlNewDocPI=yes
12783 else
12784 ac_cv_lib_xml2_xmlNewDocPI=no
12786 rm -f core conftest.err conftest.$ac_objext \
12787 conftest$ac_exeext conftest.$ac_ext
12788 LIBS=$ac_check_lib_save_LIBS
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12791 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12792 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12794 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12799 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12800 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12801 $as_echo_n "(cached) " >&6
12802 else
12803 ac_check_lib_save_LIBS=$LIBS
12804 LIBS="-lxml2 $XML2_LIBS $LIBS"
12805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806 /* end confdefs.h. */
12808 /* Override any GCC internal prototype to avoid an error.
12809 Use char because int might match the return type of a GCC
12810 builtin and then its argument prototype would still apply. */
12811 #ifdef __cplusplus
12812 extern "C"
12813 #endif
12814 char xmlSchemaSetParserStructuredErrors ();
12816 main ()
12818 return xmlSchemaSetParserStructuredErrors ();
12820 return 0;
12822 _ACEOF
12823 if ac_fn_c_try_link "$LINENO"; then :
12824 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12825 else
12826 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12828 rm -f core conftest.err conftest.$ac_objext \
12829 conftest$ac_exeext conftest.$ac_ext
12830 LIBS=$ac_check_lib_save_LIBS
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12833 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12834 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12836 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12841 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12842 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12843 $as_echo_n "(cached) " >&6
12844 else
12845 ac_check_lib_save_LIBS=$LIBS
12846 LIBS="-lxml2 $XML2_LIBS $LIBS"
12847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12850 /* Override any GCC internal prototype to avoid an error.
12851 Use char because int might match the return type of a GCC
12852 builtin and then its argument prototype would still apply. */
12853 #ifdef __cplusplus
12854 extern "C"
12855 #endif
12856 char xmlSchemaSetValidStructuredErrors ();
12858 main ()
12860 return xmlSchemaSetValidStructuredErrors ();
12862 return 0;
12864 _ACEOF
12865 if ac_fn_c_try_link "$LINENO"; then :
12866 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12867 else
12868 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12870 rm -f core conftest.err conftest.$ac_objext \
12871 conftest$ac_exeext conftest.$ac_ext
12872 LIBS=$ac_check_lib_save_LIBS
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12875 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12876 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12878 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12883 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12884 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12885 $as_echo_n "(cached) " >&6
12886 else
12887 ac_check_lib_save_LIBS=$LIBS
12888 LIBS="-lxml2 $XML2_LIBS $LIBS"
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12892 /* Override any GCC internal prototype to avoid an error.
12893 Use char because int might match the return type of a GCC
12894 builtin and then its argument prototype would still apply. */
12895 #ifdef __cplusplus
12896 extern "C"
12897 #endif
12898 char xmlFirstElementChild ();
12900 main ()
12902 return xmlFirstElementChild ();
12904 return 0;
12906 _ACEOF
12907 if ac_fn_c_try_link "$LINENO"; then :
12908 ac_cv_lib_xml2_xmlFirstElementChild=yes
12909 else
12910 ac_cv_lib_xml2_xmlFirstElementChild=no
12912 rm -f core conftest.err conftest.$ac_objext \
12913 conftest$ac_exeext conftest.$ac_ext
12914 LIBS=$ac_check_lib_save_LIBS
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12917 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12918 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12920 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12924 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12926 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12928 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12932 else
12933 XML2_CFLAGS=""
12934 XML2_LIBS=""
12936 CPPFLAGS=$ac_save_CPPFLAGS
12937 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12938 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12941 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12942 case "x$with_xml" in
12943 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12944 xno) ;;
12945 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12946 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12947 esac
12951 if test "x$with_xslt" != "xno"
12952 then
12953 if ${XSLT_CFLAGS:+false} :; then :
12954 if ${PKG_CONFIG+:} false; then :
12955 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12958 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12959 if ${XSLT_LIBS:+false} :; then :
12960 if ${PKG_CONFIG+:} false; then :
12961 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12964 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12965 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12967 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12968 ac_save_CPPFLAGS=$CPPFLAGS
12969 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12970 for ac_header in libxslt/pattern.h libxslt/transform.h
12971 do :
12972 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12973 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12974 # include <libxslt/pattern.h>
12975 #endif
12977 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12978 cat >>confdefs.h <<_ACEOF
12979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12980 _ACEOF
12984 done
12986 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12987 then
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12989 $as_echo_n "checking for -lxslt... " >&6; }
12990 if ${ac_cv_lib_soname_xslt+:} false; then :
12991 $as_echo_n "(cached) " >&6
12992 else
12993 ac_check_soname_save_LIBS=$LIBS
12994 LIBS="-lxslt $XSLT_LIBS $LIBS"
12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12998 /* Override any GCC internal prototype to avoid an error.
12999 Use char because int might match the return type of a GCC
13000 builtin and then its argument prototype would still apply. */
13001 #ifdef __cplusplus
13002 extern "C"
13003 #endif
13004 char xsltCompilePattern ();
13006 main ()
13008 return xsltCompilePattern ();
13010 return 0;
13012 _ACEOF
13013 if ac_fn_c_try_link "$LINENO"; then :
13014 case "$LIBEXT" in
13015 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13016 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'` ;;
13017 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13018 if ${ac_cv_lib_soname_xslt:+false} :; then :
13019 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13020 fi ;;
13021 esac
13022 else
13023 ac_cv_lib_soname_xslt=
13025 rm -f core conftest.err conftest.$ac_objext \
13026 conftest$ac_exeext conftest.$ac_ext
13027 LIBS=$ac_check_soname_save_LIBS
13029 if ${ac_cv_lib_soname_xslt:+false} :; then :
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13031 $as_echo "not found" >&6; }
13033 else
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13035 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13037 cat >>confdefs.h <<_ACEOF
13038 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13039 _ACEOF
13043 else
13044 XSLT_CFLAGS=""
13046 CPPFLAGS=$ac_save_CPPFLAGS
13047 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13048 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13051 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13052 case "x$with_xslt" in
13053 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13054 xno) ;;
13055 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13056 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13057 esac
13061 if test "x$with_inotify" != "xno"
13062 then
13063 if ${INOTIFY_CFLAGS:+false} :; then :
13064 if ${PKG_CONFIG+:} false; then :
13065 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13069 if ${INOTIFY_LIBS:+false} :; then :
13070 if ${PKG_CONFIG+:} false; then :
13071 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13076 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13077 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13078 ac_save_CPPFLAGS=$CPPFLAGS
13079 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13080 for ac_header in sys/inotify.h
13081 do :
13082 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13083 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13084 cat >>confdefs.h <<_ACEOF
13085 #define HAVE_SYS_INOTIFY_H 1
13086 _ACEOF
13090 done
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13093 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13094 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13095 $as_echo_n "(cached) " >&6
13096 else
13097 ac_check_lib_save_LIBS=$LIBS
13098 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13100 /* end confdefs.h. */
13102 /* Override any GCC internal prototype to avoid an error.
13103 Use char because int might match the return type of a GCC
13104 builtin and then its argument prototype would still apply. */
13105 #ifdef __cplusplus
13106 extern "C"
13107 #endif
13108 char inotify_add_watch ();
13110 main ()
13112 return inotify_add_watch ();
13114 return 0;
13116 _ACEOF
13117 if ac_fn_c_try_link "$LINENO"; then :
13118 ac_cv_lib_inotify_inotify_add_watch=yes
13119 else
13120 ac_cv_lib_inotify_inotify_add_watch=no
13122 rm -f core conftest.err conftest.$ac_objext \
13123 conftest$ac_exeext conftest.$ac_ext
13124 LIBS=$ac_check_lib_save_LIBS
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13127 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13128 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13130 else
13131 INOTIFY_LIBS=""
13134 CPPFLAGS=$ac_save_CPPFLAGS
13135 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13136 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13139 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13140 case "x$with_inotify" in
13141 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13142 xno) ;;
13143 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13144 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13145 esac
13149 if test "x$with_dbus" != "xno"
13150 then
13151 if ${DBUS_CFLAGS:+false} :; then :
13152 if ${PKG_CONFIG+:} false; then :
13153 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13157 if ${DBUS_LIBS:+false} :; then :
13158 if ${PKG_CONFIG+:} false; then :
13159 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13164 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13165 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13166 ac_save_CPPFLAGS=$CPPFLAGS
13167 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13168 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13169 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13171 $as_echo_n "checking for -ldbus-1... " >&6; }
13172 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13173 $as_echo_n "(cached) " >&6
13174 else
13175 ac_check_soname_save_LIBS=$LIBS
13176 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13180 /* Override any GCC internal prototype to avoid an error.
13181 Use char because int might match the return type of a GCC
13182 builtin and then its argument prototype would still apply. */
13183 #ifdef __cplusplus
13184 extern "C"
13185 #endif
13186 char dbus_connection_close ();
13188 main ()
13190 return dbus_connection_close ();
13192 return 0;
13194 _ACEOF
13195 if ac_fn_c_try_link "$LINENO"; then :
13196 case "$LIBEXT" in
13197 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13198 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'` ;;
13199 *) 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'`
13200 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13201 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13202 fi ;;
13203 esac
13204 else
13205 ac_cv_lib_soname_dbus_1=
13207 rm -f core conftest.err conftest.$ac_objext \
13208 conftest$ac_exeext conftest.$ac_ext
13209 LIBS=$ac_check_soname_save_LIBS
13211 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13213 $as_echo "not found" >&6; }
13214 DBUS_CFLAGS=""
13215 else
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13217 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13219 cat >>confdefs.h <<_ACEOF
13220 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13221 _ACEOF
13225 else
13226 DBUS_CFLAGS=""
13230 CPPFLAGS=$ac_save_CPPFLAGS
13231 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13232 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13235 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13236 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13237 case "x$with_dbus" in
13238 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13239 xno) ;;
13240 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13241 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13242 esac
13246 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13247 then
13248 if ${HAL_CFLAGS:+false} :; then :
13249 if ${PKG_CONFIG+:} false; then :
13250 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13254 if ${HAL_LIBS:+false} :; then :
13255 if ${PKG_CONFIG+:} false; then :
13256 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13260 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13261 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13262 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13263 ac_save_CPPFLAGS=$CPPFLAGS
13264 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13265 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13266 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13268 $as_echo_n "checking for -lhal... " >&6; }
13269 if ${ac_cv_lib_soname_hal+:} false; then :
13270 $as_echo_n "(cached) " >&6
13271 else
13272 ac_check_soname_save_LIBS=$LIBS
13273 LIBS="-lhal $HAL_LIBS $LIBS"
13274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13275 /* end confdefs.h. */
13277 /* Override any GCC internal prototype to avoid an error.
13278 Use char because int might match the return type of a GCC
13279 builtin and then its argument prototype would still apply. */
13280 #ifdef __cplusplus
13281 extern "C"
13282 #endif
13283 char libhal_ctx_new ();
13285 main ()
13287 return libhal_ctx_new ();
13289 return 0;
13291 _ACEOF
13292 if ac_fn_c_try_link "$LINENO"; then :
13293 case "$LIBEXT" in
13294 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13295 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'` ;;
13296 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13297 if ${ac_cv_lib_soname_hal:+false} :; then :
13298 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13299 fi ;;
13300 esac
13301 else
13302 ac_cv_lib_soname_hal=
13304 rm -f core conftest.err conftest.$ac_objext \
13305 conftest$ac_exeext conftest.$ac_ext
13306 LIBS=$ac_check_soname_save_LIBS
13308 if ${ac_cv_lib_soname_hal:+false} :; then :
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13310 $as_echo "not found" >&6; }
13311 HAL_CFLAGS=""
13312 else
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13314 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13316 cat >>confdefs.h <<_ACEOF
13317 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13318 _ACEOF
13322 else
13323 HAL_CFLAGS=""
13327 CPPFLAGS=$ac_save_CPPFLAGS
13328 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13329 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13331 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13332 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13333 case "x$with_hal" in
13334 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13335 xno) ;;
13336 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13337 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13338 esac
13343 if test "x$with_gnutls" != "xno"
13344 then
13345 if ${GNUTLS_CFLAGS:+false} :; then :
13346 if ${PKG_CONFIG+:} false; then :
13347 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13351 if ${GNUTLS_LIBS:+false} :; then :
13352 if ${PKG_CONFIG+:} false; then :
13353 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13358 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13359 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13360 ac_save_CPPFLAGS=$CPPFLAGS
13361 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13362 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13363 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13366 #include <gnutls/gnutls.h>
13367 #include <gnutls/crypto.h>
13369 main ()
13371 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_compile "$LINENO"; then :
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13378 $as_echo_n "checking for -lgnutls... " >&6; }
13379 if ${ac_cv_lib_soname_gnutls+:} false; then :
13380 $as_echo_n "(cached) " >&6
13381 else
13382 ac_check_soname_save_LIBS=$LIBS
13383 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h. */
13387 /* Override any GCC internal prototype to avoid an error.
13388 Use char because int might match the return type of a GCC
13389 builtin and then its argument prototype would still apply. */
13390 #ifdef __cplusplus
13391 extern "C"
13392 #endif
13393 char gnutls_global_init ();
13395 main ()
13397 return gnutls_global_init ();
13399 return 0;
13401 _ACEOF
13402 if ac_fn_c_try_link "$LINENO"; then :
13403 case "$LIBEXT" in
13404 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13405 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'` ;;
13406 *) 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'`
13407 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13408 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'`
13409 fi ;;
13410 esac
13411 else
13412 ac_cv_lib_soname_gnutls=
13414 rm -f core conftest.err conftest.$ac_objext \
13415 conftest$ac_exeext conftest.$ac_ext
13416 LIBS=$ac_check_soname_save_LIBS
13418 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13420 $as_echo "not found" >&6; }
13421 GNUTLS_CFLAGS=""
13422 else
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13424 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13426 cat >>confdefs.h <<_ACEOF
13427 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13428 _ACEOF
13432 ac_wine_check_funcs_save_LIBS="$LIBS"
13433 LIBS="$LIBS $GNUTLS_LIBS"
13434 for ac_func in gnutls_cipher_init
13435 do :
13436 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13437 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13438 cat >>confdefs.h <<_ACEOF
13439 #define HAVE_GNUTLS_CIPHER_INIT 1
13440 _ACEOF
13442 else
13443 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13445 done
13447 LIBS="$ac_wine_check_funcs_save_LIBS"
13449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13450 else
13451 GNUTLS_CFLAGS=""
13455 CPPFLAGS=$ac_save_CPPFLAGS
13456 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13457 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13460 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13461 case "x$with_gnutls" in
13462 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13463 xno) ;;
13464 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13465 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13466 esac
13470 CURSES_LIBS=""
13471 if test "$ac_cv_header_ncurses_h" = "yes"
13472 then
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13474 $as_echo_n "checking for -lncurses... " >&6; }
13475 if ${ac_cv_lib_soname_ncurses+:} false; then :
13476 $as_echo_n "(cached) " >&6
13477 else
13478 ac_check_soname_save_LIBS=$LIBS
13479 LIBS="-lncurses $LIBS"
13480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13483 /* Override any GCC internal prototype to avoid an error.
13484 Use char because int might match the return type of a GCC
13485 builtin and then its argument prototype would still apply. */
13486 #ifdef __cplusplus
13487 extern "C"
13488 #endif
13489 char waddch ();
13491 main ()
13493 return waddch ();
13495 return 0;
13497 _ACEOF
13498 if ac_fn_c_try_link "$LINENO"; then :
13499 case "$LIBEXT" in
13500 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13501 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'` ;;
13502 *) 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'`
13503 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13504 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13505 fi ;;
13506 esac
13507 else
13508 ac_cv_lib_soname_ncurses=
13510 rm -f core conftest.err conftest.$ac_objext \
13511 conftest$ac_exeext conftest.$ac_ext
13512 LIBS=$ac_check_soname_save_LIBS
13514 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13516 $as_echo "not found" >&6; }
13518 else
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13520 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13522 cat >>confdefs.h <<_ACEOF
13523 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13524 _ACEOF
13526 CURSES_LIBS="-lncurses"
13528 elif test "$ac_cv_header_curses_h" = "yes"
13529 then
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13531 $as_echo_n "checking for -lcurses... " >&6; }
13532 if ${ac_cv_lib_soname_curses+:} false; then :
13533 $as_echo_n "(cached) " >&6
13534 else
13535 ac_check_soname_save_LIBS=$LIBS
13536 LIBS="-lcurses $LIBS"
13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13540 /* Override any GCC internal prototype to avoid an error.
13541 Use char because int might match the return type of a GCC
13542 builtin and then its argument prototype would still apply. */
13543 #ifdef __cplusplus
13544 extern "C"
13545 #endif
13546 char waddch ();
13548 main ()
13550 return waddch ();
13552 return 0;
13554 _ACEOF
13555 if ac_fn_c_try_link "$LINENO"; then :
13556 case "$LIBEXT" in
13557 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13558 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'` ;;
13559 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13560 if ${ac_cv_lib_soname_curses:+false} :; then :
13561 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13562 fi ;;
13563 esac
13564 else
13565 ac_cv_lib_soname_curses=
13567 rm -f core conftest.err conftest.$ac_objext \
13568 conftest$ac_exeext conftest.$ac_ext
13569 LIBS=$ac_check_soname_save_LIBS
13571 if ${ac_cv_lib_soname_curses:+false} :; then :
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13573 $as_echo "not found" >&6; }
13575 else
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13577 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13579 cat >>confdefs.h <<_ACEOF
13580 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13581 _ACEOF
13583 CURSES_LIBS="-lcurses"
13586 ac_save_LIBS="$LIBS"
13587 LIBS="$LIBS $CURSES_LIBS"
13588 for ac_func in mousemask
13589 do :
13590 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13591 if test "x$ac_cv_func_mousemask" = xyes; then :
13592 cat >>confdefs.h <<_ACEOF
13593 #define HAVE_MOUSEMASK 1
13594 _ACEOF
13597 done
13599 LIBS="$ac_save_LIBS"
13600 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13601 case "x$with_curses" in
13602 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13603 xno) ;;
13604 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13605 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13606 esac
13610 if test "x$with_sane" != "xno"
13611 then
13612 if ${SANE_CFLAGS:+false} :; then :
13613 if ${PKG_CONFIG+:} false; then :
13614 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13617 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13618 if ${SANE_LIBS:+false} :; then :
13619 if ${PKG_CONFIG+:} false; then :
13620 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13623 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13625 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13626 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13627 ac_save_CPPFLAGS=$CPPFLAGS
13628 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13629 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13630 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13632 $as_echo_n "checking for -lsane... " >&6; }
13633 if ${ac_cv_lib_soname_sane+:} false; then :
13634 $as_echo_n "(cached) " >&6
13635 else
13636 ac_check_soname_save_LIBS=$LIBS
13637 LIBS="-lsane $SANE_LIBS $LIBS"
13638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13639 /* end confdefs.h. */
13641 /* Override any GCC internal prototype to avoid an error.
13642 Use char because int might match the return type of a GCC
13643 builtin and then its argument prototype would still apply. */
13644 #ifdef __cplusplus
13645 extern "C"
13646 #endif
13647 char sane_init ();
13649 main ()
13651 return sane_init ();
13653 return 0;
13655 _ACEOF
13656 if ac_fn_c_try_link "$LINENO"; then :
13657 case "$LIBEXT" in
13658 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13659 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'` ;;
13660 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13661 if ${ac_cv_lib_soname_sane:+false} :; then :
13662 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13663 fi ;;
13664 esac
13665 else
13666 ac_cv_lib_soname_sane=
13668 rm -f core conftest.err conftest.$ac_objext \
13669 conftest$ac_exeext conftest.$ac_ext
13670 LIBS=$ac_check_soname_save_LIBS
13672 if ${ac_cv_lib_soname_sane:+false} :; then :
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13674 $as_echo "not found" >&6; }
13675 SANE_CFLAGS=""
13676 else
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13678 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13680 cat >>confdefs.h <<_ACEOF
13681 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13682 _ACEOF
13686 else
13687 SANE_CFLAGS=""
13691 CPPFLAGS=$ac_save_CPPFLAGS
13692 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13693 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13696 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13697 case "x$with_sane" in
13698 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13699 xno) ;;
13700 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13701 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13702 esac
13706 if test "x$with_v4l2" != "xno"
13707 then
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13709 $as_echo_n "checking for -lv4l2... " >&6; }
13710 if ${ac_cv_lib_soname_v4l2+:} false; then :
13711 $as_echo_n "(cached) " >&6
13712 else
13713 ac_check_soname_save_LIBS=$LIBS
13714 LIBS="-lv4l2 $LIBS"
13715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13718 /* Override any GCC internal prototype to avoid an error.
13719 Use char because int might match the return type of a GCC
13720 builtin and then its argument prototype would still apply. */
13721 #ifdef __cplusplus
13722 extern "C"
13723 #endif
13724 char v4l2_open ();
13726 main ()
13728 return v4l2_open ();
13730 return 0;
13732 _ACEOF
13733 if ac_fn_c_try_link "$LINENO"; then :
13734 case "$LIBEXT" in
13735 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13736 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'` ;;
13737 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13738 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13739 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13740 fi ;;
13741 esac
13742 else
13743 ac_cv_lib_soname_v4l2=
13745 rm -f core conftest.err conftest.$ac_objext \
13746 conftest$ac_exeext conftest.$ac_ext
13747 LIBS=$ac_check_soname_save_LIBS
13749 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13751 $as_echo "not found" >&6; }
13753 else
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13755 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13757 cat >>confdefs.h <<_ACEOF
13758 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13759 _ACEOF
13764 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13765 case "x$with_v4l2" in
13766 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13767 xno) ;;
13768 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13769 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13770 esac
13774 if test "x$with_gphoto" != "xno"
13775 then
13776 if ${GPHOTO2_CFLAGS:+false} :; then :
13777 if ${PKG_CONFIG+:} false; then :
13778 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13781 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13782 if ${GPHOTO2_LIBS:+false} :; then :
13783 if ${PKG_CONFIG+:} false; then :
13784 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13787 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13788 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13789 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13790 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13791 ac_save_CPPFLAGS=$CPPFLAGS
13792 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13793 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13794 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13796 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13797 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13798 $as_echo_n "(cached) " >&6
13799 else
13800 ac_check_lib_save_LIBS=$LIBS
13801 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13805 /* Override any GCC internal prototype to avoid an error.
13806 Use char because int might match the return type of a GCC
13807 builtin and then its argument prototype would still apply. */
13808 #ifdef __cplusplus
13809 extern "C"
13810 #endif
13811 char gp_camera_new ();
13813 main ()
13815 return gp_camera_new ();
13817 return 0;
13819 _ACEOF
13820 if ac_fn_c_try_link "$LINENO"; then :
13821 ac_cv_lib_gphoto2_gp_camera_new=yes
13822 else
13823 ac_cv_lib_gphoto2_gp_camera_new=no
13825 rm -f core conftest.err conftest.$ac_objext \
13826 conftest$ac_exeext conftest.$ac_ext
13827 LIBS=$ac_check_lib_save_LIBS
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13830 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13831 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13833 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13835 else
13836 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13839 else
13840 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13844 CPPFLAGS=$ac_save_CPPFLAGS
13845 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13846 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13848 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13849 if ${PKG_CONFIG+:} false; then :
13850 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13853 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13854 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13855 if ${PKG_CONFIG+:} false; then :
13856 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13859 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13860 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13861 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13862 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13863 ac_save_CPPFLAGS=$CPPFLAGS
13864 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13865 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13866 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13868 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13869 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 ac_check_lib_save_LIBS=$LIBS
13873 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13877 /* Override any GCC internal prototype to avoid an error.
13878 Use char because int might match the return type of a GCC
13879 builtin and then its argument prototype would still apply. */
13880 #ifdef __cplusplus
13881 extern "C"
13882 #endif
13883 char gp_port_info_list_new ();
13885 main ()
13887 return gp_port_info_list_new ();
13889 return 0;
13891 _ACEOF
13892 if ac_fn_c_try_link "$LINENO"; then :
13893 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13894 else
13895 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13897 rm -f core conftest.err conftest.$ac_objext \
13898 conftest$ac_exeext conftest.$ac_ext
13899 LIBS=$ac_check_lib_save_LIBS
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13902 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13903 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13905 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13907 else
13908 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13911 else
13912 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13916 CPPFLAGS=$ac_save_CPPFLAGS
13917 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13918 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13921 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13922 case "x$with_gphoto" in
13923 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13924 xno) ;;
13925 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13926 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13927 esac
13930 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13931 case "x$with_gphoto" in
13932 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13933 xno) ;;
13934 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13935 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13936 esac
13941 if test "$ac_cv_header_resolv_h" = "yes"
13942 then
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13944 $as_echo_n "checking for resolver library... " >&6; }
13945 if ${ac_cv_have_resolv+:} false; then :
13946 $as_echo_n "(cached) " >&6
13947 else
13948 ac_save_LIBS="$LIBS"
13949 for lib in '' -lresolv
13951 LIBS="$lib $ac_save_LIBS"
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13954 #ifdef HAVE_NETINET_IN_H
13955 #include <netinet/in.h>
13956 #endif
13957 #include <resolv.h>
13959 main ()
13961 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
13963 return 0;
13965 _ACEOF
13966 if ac_fn_c_try_link "$LINENO"; then :
13967 ac_cv_have_resolv=${lib:-"none required"}
13968 else
13969 ac_cv_have_resolv="not found"
13971 rm -f core conftest.err conftest.$ac_objext \
13972 conftest$ac_exeext conftest.$ac_ext
13973 test "x$ac_cv_have_resolv" = "xnot found" || break
13974 done
13975 LIBS="$ac_save_LIBS"
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
13978 $as_echo "$ac_cv_have_resolv" >&6; }
13980 case "$ac_cv_have_resolv" in
13981 "not found") ;;
13982 "none required")
13984 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13987 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
13989 RESOLV_LIBS=$ac_cv_have_resolv
13991 esac
13994 if test "x$with_cms" != "xno"
13995 then
13996 if ${LCMS2_CFLAGS:+false} :; then :
13997 if ${PKG_CONFIG+:} false; then :
13998 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14002 if ${LCMS2_LIBS:+false} :; then :
14003 if ${PKG_CONFIG+:} false; then :
14004 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14008 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14009 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14010 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14011 ac_save_CPPFLAGS=$CPPFLAGS
14012 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14013 for ac_header in lcms2.h
14014 do :
14015 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14016 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14017 cat >>confdefs.h <<_ACEOF
14018 #define HAVE_LCMS2_H 1
14019 _ACEOF
14023 done
14025 if test "$ac_cv_header_lcms2_h" = "yes"
14026 then
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14028 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14029 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14030 $as_echo_n "(cached) " >&6
14031 else
14032 ac_check_lib_save_LIBS=$LIBS
14033 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14037 /* Override any GCC internal prototype to avoid an error.
14038 Use char because int might match the return type of a GCC
14039 builtin and then its argument prototype would still apply. */
14040 #ifdef __cplusplus
14041 extern "C"
14042 #endif
14043 char cmsOpenProfileFromFile ();
14045 main ()
14047 return cmsOpenProfileFromFile ();
14049 return 0;
14051 _ACEOF
14052 if ac_fn_c_try_link "$LINENO"; then :
14053 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14054 else
14055 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14057 rm -f core conftest.err conftest.$ac_objext \
14058 conftest$ac_exeext conftest.$ac_ext
14059 LIBS=$ac_check_lib_save_LIBS
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14062 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14063 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14065 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14067 else
14068 LCMS2_LIBS=""
14071 else
14072 LCMS2_CFLAGS=""
14073 LCMS2_LIBS=""
14075 CPPFLAGS=$ac_save_CPPFLAGS
14076 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14077 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14080 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14081 case "x$with_cms" in
14082 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14083 xno) ;;
14084 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14085 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14086 esac
14090 if test "x$with_freetype" != "xno"
14091 then
14092 if ${FREETYPE_CFLAGS:+false} :; then :
14093 if ${PKG_CONFIG+:} false; then :
14094 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14097 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14098 if ${FREETYPE_LIBS:+false} :; then :
14099 if ${PKG_CONFIG+:} false; then :
14100 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14103 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14104 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14105 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14106 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14107 ac_save_CPPFLAGS=$CPPFLAGS
14108 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14109 for ac_header in ft2build.h
14110 do :
14111 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14112 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14113 cat >>confdefs.h <<_ACEOF
14114 #define HAVE_FT2BUILD_H 1
14115 _ACEOF
14119 done
14121 if test "$ac_cv_header_ft2build_h" = "yes"
14122 then
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14124 $as_echo_n "checking for -lfreetype... " >&6; }
14125 if ${ac_cv_lib_soname_freetype+:} false; then :
14126 $as_echo_n "(cached) " >&6
14127 else
14128 ac_check_soname_save_LIBS=$LIBS
14129 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14133 /* Override any GCC internal prototype to avoid an error.
14134 Use char because int might match the return type of a GCC
14135 builtin and then its argument prototype would still apply. */
14136 #ifdef __cplusplus
14137 extern "C"
14138 #endif
14139 char FT_Init_FreeType ();
14141 main ()
14143 return FT_Init_FreeType ();
14145 return 0;
14147 _ACEOF
14148 if ac_fn_c_try_link "$LINENO"; then :
14149 case "$LIBEXT" in
14150 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14151 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'` ;;
14152 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14153 if ${ac_cv_lib_soname_freetype:+false} :; then :
14154 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14155 fi ;;
14156 esac
14157 else
14158 ac_cv_lib_soname_freetype=
14160 rm -f core conftest.err conftest.$ac_objext \
14161 conftest$ac_exeext conftest.$ac_ext
14162 LIBS=$ac_check_soname_save_LIBS
14164 if ${ac_cv_lib_soname_freetype:+false} :; then :
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14166 $as_echo "not found" >&6; }
14167 FREETYPE_LIBS=""
14168 else
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14170 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14172 cat >>confdefs.h <<_ACEOF
14173 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14174 _ACEOF
14177 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14179 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14180 #include FT_MODULE_H
14182 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14184 cat >>confdefs.h <<_ACEOF
14185 #define HAVE_FT_TRUETYPEENGINETYPE 1
14186 _ACEOF
14192 else
14193 FREETYPE_CFLAGS=""
14194 FREETYPE_LIBS=""
14196 CPPFLAGS=$ac_save_CPPFLAGS
14197 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14198 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14201 if test "x$ac_cv_lib_soname_freetype" = x; then :
14202 case "x$with_freetype" in
14203 xno) ;;
14204 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14205 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14206 esac
14207 enable_fonts=${enable_fonts:-no}
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14211 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14212 if ${ac_cv_c_ppdev+:} false; then :
14213 $as_echo_n "(cached) " >&6
14214 else
14215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14217 #ifdef HAVE_SYS_IOCTL_H
14218 # include <sys/ioctl.h>
14219 #endif
14220 #include <linux/ppdev.h>
14222 main ()
14224 ioctl (1,PPCLAIM,0)
14226 return 0;
14228 _ACEOF
14229 if ac_fn_c_try_compile "$LINENO"; then :
14230 ac_cv_c_ppdev="yes"
14231 else
14232 ac_cv_c_ppdev="no"
14234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14237 $as_echo "$ac_cv_c_ppdev" >&6; }
14238 if test "$ac_cv_c_ppdev" = "yes"
14239 then
14241 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14245 ac_wine_check_funcs_save_LIBS="$LIBS"
14246 LIBS="$LIBS "
14247 for ac_func in \
14248 pthread_getthreadid_np \
14249 $PTHREAD_LIBS
14250 do :
14251 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14252 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14253 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14254 cat >>confdefs.h <<_ACEOF
14255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14256 _ACEOF
14259 done
14261 LIBS="$ac_wine_check_funcs_save_LIBS"
14263 if test "$ac_cv_header_zlib_h" = "yes"
14264 then
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14266 $as_echo_n "checking for inflate in -lz... " >&6; }
14267 if ${ac_cv_lib_z_inflate+:} false; then :
14268 $as_echo_n "(cached) " >&6
14269 else
14270 ac_check_lib_save_LIBS=$LIBS
14271 LIBS="-lz $LIBS"
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14275 /* Override any GCC internal prototype to avoid an error.
14276 Use char because int might match the return type of a GCC
14277 builtin and then its argument prototype would still apply. */
14278 #ifdef __cplusplus
14279 extern "C"
14280 #endif
14281 char inflate ();
14283 main ()
14285 return inflate ();
14287 return 0;
14289 _ACEOF
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_lib_z_inflate=yes
14292 else
14293 ac_cv_lib_z_inflate=no
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 LIBS=$ac_check_lib_save_LIBS
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14300 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14301 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14303 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14305 Z_LIBS="-lz"
14310 if test "x$Z_LIBS" = "x"; then :
14311 case "x$with_zlib" in
14312 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14313 xno) ;;
14314 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14315 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14316 esac
14320 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14321 then
14322 if test "$ac_cv_header_gettext_po_h" = "yes"
14323 then
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14325 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14326 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14327 $as_echo_n "(cached) " >&6
14328 else
14329 ac_check_lib_save_LIBS=$LIBS
14330 LIBS="-lgettextpo $LIBS"
14331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14334 /* Override any GCC internal prototype to avoid an error.
14335 Use char because int might match the return type of a GCC
14336 builtin and then its argument prototype would still apply. */
14337 #ifdef __cplusplus
14338 extern "C"
14339 #endif
14340 char po_message_msgctxt ();
14342 main ()
14344 return po_message_msgctxt ();
14346 return 0;
14348 _ACEOF
14349 if ac_fn_c_try_link "$LINENO"; then :
14350 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14351 else
14352 ac_cv_lib_gettextpo_po_message_msgctxt=no
14354 rm -f core conftest.err conftest.$ac_objext \
14355 conftest$ac_exeext conftest.$ac_ext
14356 LIBS=$ac_check_lib_save_LIBS
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14359 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14360 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14362 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14364 GETTEXTPO_LIBS="-lgettextpo"
14369 if test "x$GETTEXTPO_LIBS" = "x"; then :
14370 case "x$with_gettextpo" in
14371 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14372 xno) ;;
14373 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14374 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14375 esac
14378 if test "$srcdir" != .; then :
14379 case "x$with_gettextpo" in
14380 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14381 xno) ;;
14382 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14383 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14384 esac
14389 if test "x$with_pulse" != "xno";
14390 then
14391 if ${PULSE_CFLAGS:+false} :; then :
14392 if ${PKG_CONFIG+:} false; then :
14393 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14397 if ${PULSE_LIBS:+false} :; then :
14398 if ${PKG_CONFIG+:} false; then :
14399 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14404 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14405 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14406 ac_save_CPPFLAGS=$CPPFLAGS
14407 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14408 for ac_header in pulse/pulseaudio.h
14409 do :
14410 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14411 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14412 cat >>confdefs.h <<_ACEOF
14413 #define HAVE_PULSE_PULSEAUDIO_H 1
14414 _ACEOF
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14416 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14417 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 ac_check_lib_save_LIBS=$LIBS
14421 LIBS="-lpulse $PULSE_LIBS $LIBS"
14422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14423 /* end confdefs.h. */
14425 /* Override any GCC internal prototype to avoid an error.
14426 Use char because int might match the return type of a GCC
14427 builtin and then its argument prototype would still apply. */
14428 #ifdef __cplusplus
14429 extern "C"
14430 #endif
14431 char pa_stream_is_corked ();
14433 main ()
14435 return pa_stream_is_corked ();
14437 return 0;
14439 _ACEOF
14440 if ac_fn_c_try_link "$LINENO"; then :
14441 ac_cv_lib_pulse_pa_stream_is_corked=yes
14442 else
14443 ac_cv_lib_pulse_pa_stream_is_corked=no
14445 rm -f core conftest.err conftest.$ac_objext \
14446 conftest$ac_exeext conftest.$ac_ext
14447 LIBS=$ac_check_lib_save_LIBS
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14450 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14451 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14453 else
14454 PULSE_LIBS=""
14457 else
14458 PULSE_LIBS=""
14461 done
14463 CPPFLAGS=$ac_save_CPPFLAGS
14464 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14465 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14468 if test -z "$PULSE_LIBS"; then :
14469 case "x$with_pulse" in
14470 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14471 xno) ;;
14472 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14473 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14474 esac
14475 enable_winepulse_drv=${enable_winepulse_drv:-no}
14478 if test "x$with_gstreamer" != "xno"
14479 then
14480 if ${GSTREAMER_CFLAGS:+false} :; then :
14481 if ${PKG_CONFIG+:} false; then :
14482 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14486 if ${GSTREAMER_LIBS:+false} :; then :
14487 if ${PKG_CONFIG+:} false; then :
14488 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14493 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14494 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14495 ac_save_CPPFLAGS=$CPPFLAGS
14496 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14497 ac_gst_incl=""
14498 for i in $GSTREAMER_CFLAGS
14500 case "$i" in
14501 -I*) ac_gst_incl="$ac_gst_incl $i";;
14502 esac
14503 done
14504 GSTREAMER_CFLAGS=$ac_gst_incl
14505 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14506 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14507 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14509 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14512 #include <gst/gst.h>
14514 main ()
14516 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14518 return 0;
14520 _ACEOF
14521 if ac_fn_c_try_compile "$LINENO"; then :
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14523 $as_echo "yes" >&6; }
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14525 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14526 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14527 $as_echo_n "(cached) " >&6
14528 else
14529 ac_check_lib_save_LIBS=$LIBS
14530 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14532 /* end confdefs.h. */
14534 /* Override any GCC internal prototype to avoid an error.
14535 Use char because int might match the return type of a GCC
14536 builtin and then its argument prototype would still apply. */
14537 #ifdef __cplusplus
14538 extern "C"
14539 #endif
14540 char gst_pad_new ();
14542 main ()
14544 return gst_pad_new ();
14546 return 0;
14548 _ACEOF
14549 if ac_fn_c_try_link "$LINENO"; then :
14550 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14551 else
14552 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14554 rm -f core conftest.err conftest.$ac_objext \
14555 conftest$ac_exeext conftest.$ac_ext
14556 LIBS=$ac_check_lib_save_LIBS
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14559 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14560 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14564 else
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14566 $as_echo "no" >&6; }
14567 ac_glib2_broken=yes
14568 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14574 CPPFLAGS=$ac_save_CPPFLAGS
14575 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14576 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14579 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 :
14580 case "x$with_gstreamer" in
14581 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14582 xno) ;;
14583 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14584 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14585 esac
14588 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14590 ALSA_LIBS=""
14592 if test "x$with_alsa" != "xno"
14593 then
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14595 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14596 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14597 $as_echo_n "(cached) " >&6
14598 else
14599 ac_check_lib_save_LIBS=$LIBS
14600 LIBS="-lasound $LIBS"
14601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14602 /* end confdefs.h. */
14604 /* Override any GCC internal prototype to avoid an error.
14605 Use char because int might match the return type of a GCC
14606 builtin and then its argument prototype would still apply. */
14607 #ifdef __cplusplus
14608 extern "C"
14609 #endif
14610 char snd_pcm_hw_params_get_access_mask ();
14612 main ()
14614 return snd_pcm_hw_params_get_access_mask ();
14616 return 0;
14618 _ACEOF
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14621 else
14622 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14626 LIBS=$ac_check_lib_save_LIBS
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14629 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14630 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14632 /* end confdefs.h. */
14633 #include <alsa/asoundlib.h>
14635 main ()
14637 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14639 return 0;
14641 _ACEOF
14642 if ac_fn_c_try_compile "$LINENO"; then :
14643 ALSA_LIBS="-lasound"
14645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14649 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14651 if test "x$with_oss" != xno
14652 then
14653 ac_save_CPPFLAGS="$CPPFLAGS"
14654 if test -f /etc/oss.conf
14655 then
14656 . /etc/oss.conf
14658 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14659 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14660 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14661 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14662 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14664 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14666 cat >>confdefs.h <<_ACEOF
14667 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14668 _ACEOF
14670 OSS4_CFLAGS="$ac_oss_incl"
14677 CPPFLAGS="$ac_save_CPPFLAGS"
14679 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14680 case "x$with_oss" in
14681 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14682 xno) ;;
14683 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14684 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14685 esac
14686 enable_wineoss_drv=${enable_wineoss_drv:-no}
14689 if test "x$with_udev" != "xno"
14690 then
14691 if ${UDEV_CFLAGS:+false} :; then :
14692 if ${PKG_CONFIG+:} false; then :
14693 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14697 if ${UDEV_LIBS:+false} :; then :
14698 if ${PKG_CONFIG+:} false; then :
14699 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14703 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14704 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14705 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14706 ac_save_CPPFLAGS=$CPPFLAGS
14707 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14708 for ac_header in libudev.h
14709 do :
14710 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14711 if test "x$ac_cv_header_libudev_h" = xyes; then :
14712 cat >>confdefs.h <<_ACEOF
14713 #define HAVE_LIBUDEV_H 1
14714 _ACEOF
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14716 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14717 if ${ac_cv_lib_udev_udev_new+:} false; then :
14718 $as_echo_n "(cached) " >&6
14719 else
14720 ac_check_lib_save_LIBS=$LIBS
14721 LIBS="-ludev $UDEV_LIBS $LIBS"
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14725 /* Override any GCC internal prototype to avoid an error.
14726 Use char because int might match the return type of a GCC
14727 builtin and then its argument prototype would still apply. */
14728 #ifdef __cplusplus
14729 extern "C"
14730 #endif
14731 char udev_new ();
14733 main ()
14735 return udev_new ();
14737 return 0;
14739 _ACEOF
14740 if ac_fn_c_try_link "$LINENO"; then :
14741 ac_cv_lib_udev_udev_new=yes
14742 else
14743 ac_cv_lib_udev_udev_new=no
14745 rm -f core conftest.err conftest.$ac_objext \
14746 conftest$ac_exeext conftest.$ac_ext
14747 LIBS=$ac_check_lib_save_LIBS
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14750 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14751 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14753 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14755 else
14756 UDEV_LIBS=""
14759 else
14760 UDEV_LIBS=""
14763 done
14765 CPPFLAGS=$ac_save_CPPFLAGS
14766 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14767 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14770 if test "x$UDEV_LIBS" = "x"; then :
14771 case "x$with_udev" in
14772 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14773 xno) ;;
14774 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14775 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14776 esac
14780 if test "x$with_sdl" != "xno"
14781 then
14782 if ${SDL2_CFLAGS:+false} :; then :
14783 if ${PKG_CONFIG+:} false; then :
14784 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
14788 if ${SDL2_LIBS:+false} :; then :
14789 if ${PKG_CONFIG+:} false; then :
14790 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
14794 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
14795 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
14796 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
14797 ac_save_CPPFLAGS=$CPPFLAGS
14798 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
14799 for ac_header in SDL2/SDL.h
14800 do :
14801 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
14802 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
14803 cat >>confdefs.h <<_ACEOF
14804 #define HAVE_SDL2_SDL_H 1
14805 _ACEOF
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
14807 $as_echo_n "checking for -lSDL2... " >&6; }
14808 if ${ac_cv_lib_soname_SDL2+:} false; then :
14809 $as_echo_n "(cached) " >&6
14810 else
14811 ac_check_soname_save_LIBS=$LIBS
14812 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14816 /* Override any GCC internal prototype to avoid an error.
14817 Use char because int might match the return type of a GCC
14818 builtin and then its argument prototype would still apply. */
14819 #ifdef __cplusplus
14820 extern "C"
14821 #endif
14822 char SDL_Init ();
14824 main ()
14826 return SDL_Init ();
14828 return 0;
14830 _ACEOF
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 case "$LIBEXT" in
14833 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14834 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'` ;;
14835 *) 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'`
14836 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14837 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14838 fi ;;
14839 esac
14840 else
14841 ac_cv_lib_soname_SDL2=
14843 rm -f core conftest.err conftest.$ac_objext \
14844 conftest$ac_exeext conftest.$ac_ext
14845 LIBS=$ac_check_soname_save_LIBS
14847 if ${ac_cv_lib_soname_SDL2:+false} :; then :
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14849 $as_echo "not found" >&6; }
14851 else
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
14853 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
14855 cat >>confdefs.h <<_ACEOF
14856 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
14857 _ACEOF
14863 done
14865 CPPFLAGS=$ac_save_CPPFLAGS
14866 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14867 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14870 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
14871 case "x$with_sdl" in
14872 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
14873 xno) ;;
14874 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
14875 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
14876 esac
14880 if test "x$with_faudio" != "xno"
14881 then
14882 if ${FAUDIO_CFLAGS:+false} :; then :
14883 if ${PKG_CONFIG+:} false; then :
14884 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
14888 if ${FAUDIO_LIBS:+false} :; then :
14889 if ${PKG_CONFIG+:} false; then :
14890 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
14894 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
14895 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
14896 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
14897 ac_save_CPPFLAGS=$CPPFLAGS
14898 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
14899 for ac_header in FAudio.h
14900 do :
14901 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
14902 if test "x$ac_cv_header_FAudio_h" = xyes; then :
14903 cat >>confdefs.h <<_ACEOF
14904 #define HAVE_FAUDIO_H 1
14905 _ACEOF
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
14907 $as_echo_n "checking for -lFAudio... " >&6; }
14908 if ${ac_cv_lib_soname_FAudio+:} false; then :
14909 $as_echo_n "(cached) " >&6
14910 else
14911 ac_check_soname_save_LIBS=$LIBS
14912 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
14913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14914 /* end confdefs.h. */
14916 /* Override any GCC internal prototype to avoid an error.
14917 Use char because int might match the return type of a GCC
14918 builtin and then its argument prototype would still apply. */
14919 #ifdef __cplusplus
14920 extern "C"
14921 #endif
14922 char FAudioCreate ();
14924 main ()
14926 return FAudioCreate ();
14928 return 0;
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"; then :
14932 case "$LIBEXT" in
14933 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14934 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'` ;;
14935 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14936 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14937 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14938 fi ;;
14939 esac
14940 else
14941 ac_cv_lib_soname_FAudio=
14943 rm -f core conftest.err conftest.$ac_objext \
14944 conftest$ac_exeext conftest.$ac_ext
14945 LIBS=$ac_check_soname_save_LIBS
14947 if ${ac_cv_lib_soname_FAudio:+false} :; then :
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14949 $as_echo "not found" >&6; }
14951 else
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
14953 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
14955 cat >>confdefs.h <<_ACEOF
14956 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
14957 _ACEOF
14963 done
14965 CPPFLAGS=$ac_save_CPPFLAGS
14966 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14967 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14970 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
14971 case "x$with_faudio" in
14972 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
14973 xno) ;;
14974 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
14975 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
14976 esac
14980 if test "x$with_capi" != "xno"
14981 then
14982 if ${CAPI20_CFLAGS:+false} :; then :
14983 if ${PKG_CONFIG+:} false; then :
14984 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
14988 if ${CAPI20_LIBS:+false} :; then :
14989 if ${PKG_CONFIG+:} false; then :
14990 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
14995 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
14996 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
14997 ac_save_CPPFLAGS=$CPPFLAGS
14998 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
14999 for ac_header in capi20.h linux/capi.h
15000 do :
15001 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15002 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15004 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15005 cat >>confdefs.h <<_ACEOF
15006 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15007 _ACEOF
15011 done
15013 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15014 then
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15016 $as_echo_n "checking for -lcapi20... " >&6; }
15017 if ${ac_cv_lib_soname_capi20+:} false; then :
15018 $as_echo_n "(cached) " >&6
15019 else
15020 ac_check_soname_save_LIBS=$LIBS
15021 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15025 /* Override any GCC internal prototype to avoid an error.
15026 Use char because int might match the return type of a GCC
15027 builtin and then its argument prototype would still apply. */
15028 #ifdef __cplusplus
15029 extern "C"
15030 #endif
15031 char capi20_register ();
15033 main ()
15035 return capi20_register ();
15037 return 0;
15039 _ACEOF
15040 if ac_fn_c_try_link "$LINENO"; then :
15041 case "$LIBEXT" in
15042 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15043 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'` ;;
15044 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15045 if ${ac_cv_lib_soname_capi20:+false} :; then :
15046 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15047 fi ;;
15048 esac
15049 else
15050 ac_cv_lib_soname_capi20=
15052 rm -f core conftest.err conftest.$ac_objext \
15053 conftest$ac_exeext conftest.$ac_ext
15054 LIBS=$ac_check_soname_save_LIBS
15056 if ${ac_cv_lib_soname_capi20:+false} :; then :
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15058 $as_echo "not found" >&6; }
15060 else
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15062 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15064 cat >>confdefs.h <<_ACEOF
15065 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15066 _ACEOF
15071 CPPFLAGS=$ac_save_CPPFLAGS
15072 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15073 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15076 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15077 case "x$with_capi" in
15078 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15079 xno) ;;
15080 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15081 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15082 esac
15086 if test "x$with_cups" != "xno"
15087 then
15088 if ${CUPS_CFLAGS:+false} :; then :
15089 if ${PKG_CONFIG+:} false; then :
15090 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15093 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15094 if ${CUPS_LIBS:+false} :; then :
15095 if ${PKG_CONFIG+:} false; then :
15096 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15099 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15100 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15101 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15102 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15103 ac_save_CPPFLAGS=$CPPFLAGS
15104 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15105 for ac_header in cups/cups.h cups/ppd.h
15106 do :
15107 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15108 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15109 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15110 cat >>confdefs.h <<_ACEOF
15111 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15112 _ACEOF
15116 done
15118 if test "$ac_cv_header_cups_cups_h" = "yes"
15119 then
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15121 $as_echo_n "checking for -lcups... " >&6; }
15122 if ${ac_cv_lib_soname_cups+:} false; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 ac_check_soname_save_LIBS=$LIBS
15126 LIBS="-lcups $CUPS_LIBS $LIBS"
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15130 /* Override any GCC internal prototype to avoid an error.
15131 Use char because int might match the return type of a GCC
15132 builtin and then its argument prototype would still apply. */
15133 #ifdef __cplusplus
15134 extern "C"
15135 #endif
15136 char cupsGetDefault ();
15138 main ()
15140 return cupsGetDefault ();
15142 return 0;
15144 _ACEOF
15145 if ac_fn_c_try_link "$LINENO"; then :
15146 case "$LIBEXT" in
15147 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15148 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'` ;;
15149 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15150 if ${ac_cv_lib_soname_cups:+false} :; then :
15151 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15152 fi ;;
15153 esac
15154 else
15155 ac_cv_lib_soname_cups=
15157 rm -f core conftest.err conftest.$ac_objext \
15158 conftest$ac_exeext conftest.$ac_ext
15159 LIBS=$ac_check_soname_save_LIBS
15161 if ${ac_cv_lib_soname_cups:+false} :; then :
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15163 $as_echo "not found" >&6; }
15164 CUPS_LIBS=""
15165 else
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15167 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15169 cat >>confdefs.h <<_ACEOF
15170 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15171 _ACEOF
15175 else
15176 CUPS_CFLAGS=""
15177 CUPS_LIBS=""
15179 CPPFLAGS=$ac_save_CPPFLAGS
15180 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15181 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15184 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15185 case "x$with_cups" in
15186 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15187 xno) ;;
15188 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15189 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15190 esac
15194 if test "x$with_fontconfig" != "xno"
15195 then
15196 if ${FONTCONFIG_CFLAGS:+false} :; then :
15197 if ${PKG_CONFIG+:} false; then :
15198 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15201 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15202 if ${FONTCONFIG_LIBS:+false} :; then :
15203 if ${PKG_CONFIG+:} false; then :
15204 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15207 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15209 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15210 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15211 ac_save_CPPFLAGS=$CPPFLAGS
15212 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15213 for ac_header in fontconfig/fontconfig.h
15214 do :
15215 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15216 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15217 cat >>confdefs.h <<_ACEOF
15218 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15219 _ACEOF
15223 done
15225 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15226 then
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15228 $as_echo_n "checking for -lfontconfig... " >&6; }
15229 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15230 $as_echo_n "(cached) " >&6
15231 else
15232 ac_check_soname_save_LIBS=$LIBS
15233 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 #ifdef __cplusplus
15241 extern "C"
15242 #endif
15243 char FcInit ();
15245 main ()
15247 return FcInit ();
15249 return 0;
15251 _ACEOF
15252 if ac_fn_c_try_link "$LINENO"; then :
15253 case "$LIBEXT" in
15254 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15255 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'` ;;
15256 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15257 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15258 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15259 fi ;;
15260 esac
15261 else
15262 ac_cv_lib_soname_fontconfig=
15264 rm -f core conftest.err conftest.$ac_objext \
15265 conftest$ac_exeext conftest.$ac_ext
15266 LIBS=$ac_check_soname_save_LIBS
15268 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15270 $as_echo "not found" >&6; }
15271 FONTCONFIG_CFLAGS=""
15272 else
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15274 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15276 cat >>confdefs.h <<_ACEOF
15277 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15278 _ACEOF
15282 else
15283 FONTCONFIG_CFLAGS=""
15285 CPPFLAGS=$ac_save_CPPFLAGS
15286 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15287 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15290 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15291 case "x$with_fontconfig" in
15292 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15293 xno) ;;
15294 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15295 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15296 esac
15300 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15301 then
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15303 $as_echo_n "checking for -lgsm... " >&6; }
15304 if ${ac_cv_lib_soname_gsm+:} false; then :
15305 $as_echo_n "(cached) " >&6
15306 else
15307 ac_check_soname_save_LIBS=$LIBS
15308 LIBS="-lgsm $LIBS"
15309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15310 /* end confdefs.h. */
15312 /* Override any GCC internal prototype to avoid an error.
15313 Use char because int might match the return type of a GCC
15314 builtin and then its argument prototype would still apply. */
15315 #ifdef __cplusplus
15316 extern "C"
15317 #endif
15318 char gsm_create ();
15320 main ()
15322 return gsm_create ();
15324 return 0;
15326 _ACEOF
15327 if ac_fn_c_try_link "$LINENO"; then :
15328 case "$LIBEXT" in
15329 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15330 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'` ;;
15331 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15332 if ${ac_cv_lib_soname_gsm:+false} :; then :
15333 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15334 fi ;;
15335 esac
15336 else
15337 ac_cv_lib_soname_gsm=
15339 rm -f core conftest.err conftest.$ac_objext \
15340 conftest$ac_exeext conftest.$ac_ext
15341 LIBS=$ac_check_soname_save_LIBS
15343 if ${ac_cv_lib_soname_gsm:+false} :; then :
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15345 $as_echo "not found" >&6; }
15347 else
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15349 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15351 cat >>confdefs.h <<_ACEOF
15352 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15353 _ACEOF
15358 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15359 case "x$with_gsm" in
15360 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15361 xno) ;;
15362 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15363 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15364 esac
15368 if test "x$with_krb5" != "xno"
15369 then
15370 if ${KRB5_CFLAGS:+false} :; then :
15371 if ${PKG_CONFIG+:} false; then :
15372 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15375 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15376 if ${KRB5_LIBS:+false} :; then :
15377 if ${PKG_CONFIG+:} false; then :
15378 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15381 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15383 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15384 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15385 ac_save_CPPFLAGS=$CPPFLAGS
15386 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15387 for ac_header in krb5/krb5.h
15388 do :
15389 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15390 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15391 cat >>confdefs.h <<_ACEOF
15392 #define HAVE_KRB5_KRB5_H 1
15393 _ACEOF
15397 done
15399 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15400 then
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15402 $as_echo_n "checking for -lkrb5... " >&6; }
15403 if ${ac_cv_lib_soname_krb5+:} false; then :
15404 $as_echo_n "(cached) " >&6
15405 else
15406 ac_check_soname_save_LIBS=$LIBS
15407 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15411 /* Override any GCC internal prototype to avoid an error.
15412 Use char because int might match the return type of a GCC
15413 builtin and then its argument prototype would still apply. */
15414 #ifdef __cplusplus
15415 extern "C"
15416 #endif
15417 char krb5_is_config_principal ();
15419 main ()
15421 return krb5_is_config_principal ();
15423 return 0;
15425 _ACEOF
15426 if ac_fn_c_try_link "$LINENO"; then :
15427 case "$LIBEXT" in
15428 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15429 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'` ;;
15430 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15431 if ${ac_cv_lib_soname_krb5:+false} :; then :
15432 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15433 fi ;;
15434 esac
15435 else
15436 ac_cv_lib_soname_krb5=
15438 rm -f core conftest.err conftest.$ac_objext \
15439 conftest$ac_exeext conftest.$ac_ext
15440 LIBS=$ac_check_soname_save_LIBS
15442 if ${ac_cv_lib_soname_krb5:+false} :; then :
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15444 $as_echo "not found" >&6; }
15445 KRB5_CFLAGS=""
15446 else
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15448 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15450 cat >>confdefs.h <<_ACEOF
15451 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15452 _ACEOF
15456 else
15457 KRB5_CFLAGS=""
15459 CPPFLAGS=$ac_save_CPPFLAGS
15460 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15461 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15463 else
15464 with_gssapi=${with_gssapi:-no}
15466 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15467 case "x$with_krb5" in
15468 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15469 xno) ;;
15470 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15471 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15472 esac
15476 if test "x$with_gssapi" != "xno"
15477 then
15478 if ${GSSAPI_CFLAGS:+false} :; then :
15479 if ${PKG_CONFIG+:} false; then :
15480 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15483 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15484 if ${GSSAPI_LIBS:+false} :; then :
15485 if ${PKG_CONFIG+:} false; then :
15486 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15489 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15491 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15492 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15493 ac_save_CPPFLAGS=$CPPFLAGS
15494 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15495 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15496 do :
15497 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15498 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15499 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15500 cat >>confdefs.h <<_ACEOF
15501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15502 _ACEOF
15506 done
15508 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15509 then
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15511 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15512 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15513 $as_echo_n "(cached) " >&6
15514 else
15515 ac_check_soname_save_LIBS=$LIBS
15516 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15520 /* Override any GCC internal prototype to avoid an error.
15521 Use char because int might match the return type of a GCC
15522 builtin and then its argument prototype would still apply. */
15523 #ifdef __cplusplus
15524 extern "C"
15525 #endif
15526 char gss_init_sec_context ();
15528 main ()
15530 return gss_init_sec_context ();
15532 return 0;
15534 _ACEOF
15535 if ac_fn_c_try_link "$LINENO"; then :
15536 case "$LIBEXT" in
15537 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15538 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'` ;;
15539 *) 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'`
15540 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15541 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15542 fi ;;
15543 esac
15544 else
15545 ac_cv_lib_soname_gssapi_krb5=
15547 rm -f core conftest.err conftest.$ac_objext \
15548 conftest$ac_exeext conftest.$ac_ext
15549 LIBS=$ac_check_soname_save_LIBS
15551 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15553 $as_echo "not found" >&6; }
15554 GSSAPI_CFLAGS=""
15555 else
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15557 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15559 cat >>confdefs.h <<_ACEOF
15560 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15561 _ACEOF
15565 else
15566 GSSAPI_CFLAGS=""
15568 CPPFLAGS=$ac_save_CPPFLAGS
15569 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15570 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15573 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15574 case "x$with_gssapi" in
15575 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15576 xno) ;;
15577 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15578 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15579 esac
15583 if test "x$with_jpeg" != "xno"
15584 then
15585 if ${JPEG_CFLAGS:+false} :; then :
15586 if ${PKG_CONFIG+:} false; then :
15587 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15591 if ${JPEG_LIBS:+false} :; then :
15592 if ${PKG_CONFIG+:} false; then :
15593 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15598 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15599 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15600 ac_save_CPPFLAGS=$CPPFLAGS
15601 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15602 for ac_header in jpeglib.h
15603 do :
15604 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15605 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15606 cat >>confdefs.h <<_ACEOF
15607 #define HAVE_JPEGLIB_H 1
15608 _ACEOF
15612 done
15614 if test "$ac_cv_header_jpeglib_h" = "yes"
15615 then
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15617 $as_echo_n "checking for -ljpeg... " >&6; }
15618 if ${ac_cv_lib_soname_jpeg+:} false; then :
15619 $as_echo_n "(cached) " >&6
15620 else
15621 ac_check_soname_save_LIBS=$LIBS
15622 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15626 /* Override any GCC internal prototype to avoid an error.
15627 Use char because int might match the return type of a GCC
15628 builtin and then its argument prototype would still apply. */
15629 #ifdef __cplusplus
15630 extern "C"
15631 #endif
15632 char jpeg_start_decompress ();
15634 main ()
15636 return jpeg_start_decompress ();
15638 return 0;
15640 _ACEOF
15641 if ac_fn_c_try_link "$LINENO"; then :
15642 case "$LIBEXT" in
15643 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15644 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'` ;;
15645 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15646 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15647 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15648 fi ;;
15649 esac
15650 else
15651 ac_cv_lib_soname_jpeg=
15653 rm -f core conftest.err conftest.$ac_objext \
15654 conftest$ac_exeext conftest.$ac_ext
15655 LIBS=$ac_check_soname_save_LIBS
15657 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15659 $as_echo "not found" >&6; }
15660 JPEG_CFLAGS=""
15661 else
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15663 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15665 cat >>confdefs.h <<_ACEOF
15666 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15667 _ACEOF
15671 else
15672 JPEG_CFLAGS=""
15674 CPPFLAGS=$ac_save_CPPFLAGS
15675 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15676 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15679 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15680 case "x$with_jpeg" in
15681 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15682 xno) ;;
15683 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15684 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15685 esac
15689 if test "x$with_png" != "xno"
15690 then
15691 if ${PNG_CFLAGS:+false} :; then :
15692 if ${PKG_CONFIG+:} false; then :
15693 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15696 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15697 if ${PNG_LIBS:+false} :; then :
15698 if ${PKG_CONFIG+:} false; then :
15699 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15702 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15704 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15705 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15706 ac_save_CPPFLAGS=$CPPFLAGS
15707 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15708 for ac_header in png.h
15709 do :
15710 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15711 if test "x$ac_cv_header_png_h" = xyes; then :
15712 cat >>confdefs.h <<_ACEOF
15713 #define HAVE_PNG_H 1
15714 _ACEOF
15718 done
15720 if test "$ac_cv_header_png_h" = "yes"
15721 then
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15723 $as_echo_n "checking for -lpng... " >&6; }
15724 if ${ac_cv_lib_soname_png+:} false; then :
15725 $as_echo_n "(cached) " >&6
15726 else
15727 ac_check_soname_save_LIBS=$LIBS
15728 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15730 /* end confdefs.h. */
15732 /* Override any GCC internal prototype to avoid an error.
15733 Use char because int might match the return type of a GCC
15734 builtin and then its argument prototype would still apply. */
15735 #ifdef __cplusplus
15736 extern "C"
15737 #endif
15738 char png_create_read_struct ();
15740 main ()
15742 return png_create_read_struct ();
15744 return 0;
15746 _ACEOF
15747 if ac_fn_c_try_link "$LINENO"; then :
15748 case "$LIBEXT" in
15749 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15750 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'` ;;
15751 *) 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'`
15752 if ${ac_cv_lib_soname_png:+false} :; then :
15753 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15754 fi ;;
15755 esac
15756 else
15757 ac_cv_lib_soname_png=
15759 rm -f core conftest.err conftest.$ac_objext \
15760 conftest$ac_exeext conftest.$ac_ext
15761 LIBS=$ac_check_soname_save_LIBS
15763 if ${ac_cv_lib_soname_png:+false} :; then :
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15765 $as_echo "not found" >&6; }
15766 PNG_CFLAGS=""
15767 else
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
15769 $as_echo "$ac_cv_lib_soname_png" >&6; }
15771 cat >>confdefs.h <<_ACEOF
15772 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15773 _ACEOF
15777 else
15778 PNG_CFLAGS=""
15780 CPPFLAGS=$ac_save_CPPFLAGS
15781 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15782 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15785 if test "x$ac_cv_lib_soname_png" = "x"; then :
15786 case "x$with_png" in
15787 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
15788 xno) ;;
15789 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
15790 This is an error since --with-png was requested." "$LINENO" 5 ;;
15791 esac
15795 if test "x$with_tiff" != "xno"
15796 then
15797 if ${TIFF_CFLAGS:+false} :; then :
15798 if ${PKG_CONFIG+:} false; then :
15799 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
15803 if ${TIFF_LIBS:+false} :; then :
15804 if ${PKG_CONFIG+:} false; then :
15805 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
15810 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
15811 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
15812 ac_save_CPPFLAGS=$CPPFLAGS
15813 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
15814 for ac_header in tiffio.h
15815 do :
15816 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15817 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15818 cat >>confdefs.h <<_ACEOF
15819 #define HAVE_TIFFIO_H 1
15820 _ACEOF
15824 done
15826 if test "$ac_cv_header_tiffio_h" = "yes"
15827 then
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
15829 $as_echo_n "checking for -ltiff... " >&6; }
15830 if ${ac_cv_lib_soname_tiff+:} false; then :
15831 $as_echo_n "(cached) " >&6
15832 else
15833 ac_check_soname_save_LIBS=$LIBS
15834 LIBS="-ltiff $TIFF_LIBS $LIBS"
15835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15838 /* Override any GCC internal prototype to avoid an error.
15839 Use char because int might match the return type of a GCC
15840 builtin and then its argument prototype would still apply. */
15841 #ifdef __cplusplus
15842 extern "C"
15843 #endif
15844 char TIFFClientOpen ();
15846 main ()
15848 return TIFFClientOpen ();
15850 return 0;
15852 _ACEOF
15853 if ac_fn_c_try_link "$LINENO"; then :
15854 case "$LIBEXT" in
15855 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15856 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'` ;;
15857 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15858 if ${ac_cv_lib_soname_tiff:+false} :; then :
15859 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15860 fi ;;
15861 esac
15862 else
15863 ac_cv_lib_soname_tiff=
15865 rm -f core conftest.err conftest.$ac_objext \
15866 conftest$ac_exeext conftest.$ac_ext
15867 LIBS=$ac_check_soname_save_LIBS
15869 if ${ac_cv_lib_soname_tiff:+false} :; then :
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15871 $as_echo "not found" >&6; }
15873 else
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
15875 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
15877 cat >>confdefs.h <<_ACEOF
15878 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
15879 _ACEOF
15884 CPPFLAGS=$ac_save_CPPFLAGS
15885 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15886 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15889 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
15890 case "x$with_tiff" in
15891 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
15892 xno) ;;
15893 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
15894 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
15895 esac
15899 if test "x$with_mpg123" != "xno"
15900 then
15901 if ${MPG123_CFLAGS:+false} :; then :
15902 if ${PKG_CONFIG+:} false; then :
15903 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
15907 if ${MPG123_LIBS:+false} :; then :
15908 if ${PKG_CONFIG+:} false; then :
15909 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
15913 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
15914 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
15915 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
15916 ac_save_CPPFLAGS=$CPPFLAGS
15917 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
15918 for ac_header in mpg123.h
15919 do :
15920 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
15921 if test "x$ac_cv_header_mpg123_h" = xyes; then :
15922 cat >>confdefs.h <<_ACEOF
15923 #define HAVE_MPG123_H 1
15924 _ACEOF
15928 done
15930 if test "$ac_cv_header_mpg123_h" = "yes"
15931 then
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
15933 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
15934 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
15935 $as_echo_n "(cached) " >&6
15936 else
15937 ac_check_lib_save_LIBS=$LIBS
15938 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15942 /* Override any GCC internal prototype to avoid an error.
15943 Use char because int might match the return type of a GCC
15944 builtin and then its argument prototype would still apply. */
15945 #ifdef __cplusplus
15946 extern "C"
15947 #endif
15948 char mpg123_feed ();
15950 main ()
15952 return mpg123_feed ();
15954 return 0;
15956 _ACEOF
15957 if ac_fn_c_try_link "$LINENO"; then :
15958 ac_cv_lib_mpg123_mpg123_feed=yes
15959 else
15960 ac_cv_lib_mpg123_mpg123_feed=no
15962 rm -f core conftest.err conftest.$ac_objext \
15963 conftest$ac_exeext conftest.$ac_ext
15964 LIBS=$ac_check_lib_save_LIBS
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
15967 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
15968 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
15970 else
15971 MPG123_LIBS=""
15974 else
15975 MPG123_CFLAGS=""
15976 MPG123_LIBS=""
15978 CPPFLAGS=$ac_save_CPPFLAGS
15979 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15980 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15983 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
15984 case "x$with_mpg123" in
15985 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
15986 xno) ;;
15987 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
15988 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
15989 esac
15990 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
15992 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
15994 if test "$ac_cv_header_AL_al_h" = "yes"
15995 then
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
15997 $as_echo_n "checking for -lopenal... " >&6; }
15998 if ${ac_cv_lib_soname_openal+:} false; then :
15999 $as_echo_n "(cached) " >&6
16000 else
16001 ac_check_soname_save_LIBS=$LIBS
16002 LIBS="-lopenal $LIBS"
16003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16004 /* end confdefs.h. */
16006 /* Override any GCC internal prototype to avoid an error.
16007 Use char because int might match the return type of a GCC
16008 builtin and then its argument prototype would still apply. */
16009 #ifdef __cplusplus
16010 extern "C"
16011 #endif
16012 char alGetSource3i ();
16014 main ()
16016 return alGetSource3i ();
16018 return 0;
16020 _ACEOF
16021 if ac_fn_c_try_link "$LINENO"; then :
16022 case "$LIBEXT" in
16023 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16024 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'` ;;
16025 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16026 if ${ac_cv_lib_soname_openal:+false} :; then :
16027 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16028 fi ;;
16029 esac
16030 else
16031 ac_cv_lib_soname_openal=
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext conftest.$ac_ext
16035 LIBS=$ac_check_soname_save_LIBS
16037 if ${ac_cv_lib_soname_openal:+false} :; then :
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16039 $as_echo "not found" >&6; }
16041 else
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16043 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16045 cat >>confdefs.h <<_ACEOF
16046 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16047 _ACEOF
16049 OPENAL_LIBS="-lopenal"
16051 ac_cv_lib_openal=yes
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_OPENAL 1
16055 _ACEOF
16059 if test "x$ac_cv_lib_openal" != xyes; then :
16060 case "x$with_openal" in
16061 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16062 xno) ;;
16063 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16064 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16065 esac
16066 enable_openal32=${enable_openal32:-no}
16069 if test "x$ac_cv_lib_soname_FAudio" = "x"
16070 then
16071 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16072 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16073 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16074 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16075 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16076 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16077 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16078 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16079 enable_xapofx1_1=${enable_xapofx1_1:-no}
16080 enable_xapofx1_2=${enable_xapofx1_2:-no}
16081 enable_xapofx1_3=${enable_xapofx1_3:-no}
16082 enable_xapofx1_4=${enable_xapofx1_4:-no}
16083 enable_xapofx1_5=${enable_xapofx1_5:-no}
16084 enable_xaudio2_0=${enable_xaudio2_0:-no}
16085 enable_xaudio2_1=${enable_xaudio2_1:-no}
16086 enable_xaudio2_2=${enable_xaudio2_2:-no}
16087 enable_xaudio2_3=${enable_xaudio2_3:-no}
16088 enable_xaudio2_4=${enable_xaudio2_4:-no}
16089 enable_xaudio2_5=${enable_xaudio2_5:-no}
16090 enable_xaudio2_6=${enable_xaudio2_6:-no}
16091 enable_xaudio2_7=${enable_xaudio2_7:-no}
16092 enable_xaudio2_8=${enable_xaudio2_8:-no}
16093 enable_xaudio2_9=${enable_xaudio2_9:-no}
16096 if test "$ac_cv_header_kstat_h" = "yes"
16097 then
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16099 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16100 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16101 $as_echo_n "(cached) " >&6
16102 else
16103 ac_check_lib_save_LIBS=$LIBS
16104 LIBS="-lkstat $LIBS"
16105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h. */
16108 /* Override any GCC internal prototype to avoid an error.
16109 Use char because int might match the return type of a GCC
16110 builtin and then its argument prototype would still apply. */
16111 #ifdef __cplusplus
16112 extern "C"
16113 #endif
16114 char kstat_open ();
16116 main ()
16118 return kstat_open ();
16120 return 0;
16122 _ACEOF
16123 if ac_fn_c_try_link "$LINENO"; then :
16124 ac_cv_lib_kstat_kstat_open=yes
16125 else
16126 ac_cv_lib_kstat_kstat_open=no
16128 rm -f core conftest.err conftest.$ac_objext \
16129 conftest$ac_exeext conftest.$ac_ext
16130 LIBS=$ac_check_lib_save_LIBS
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16133 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16134 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16136 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16138 KSTAT_LIBS="-lkstat"
16144 if test "$ac_cv_header_libprocstat_h" = "yes"
16145 then
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16147 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16148 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16149 $as_echo_n "(cached) " >&6
16150 else
16151 ac_check_lib_save_LIBS=$LIBS
16152 LIBS="-lprocstat $LIBS"
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16156 /* Override any GCC internal prototype to avoid an error.
16157 Use char because int might match the return type of a GCC
16158 builtin and then its argument prototype would still apply. */
16159 #ifdef __cplusplus
16160 extern "C"
16161 #endif
16162 char procstat_open_sysctl ();
16164 main ()
16166 return procstat_open_sysctl ();
16168 return 0;
16170 _ACEOF
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_lib_procstat_procstat_open_sysctl=yes
16173 else
16174 ac_cv_lib_procstat_procstat_open_sysctl=no
16176 rm -f core conftest.err conftest.$ac_objext \
16177 conftest$ac_exeext conftest.$ac_ext
16178 LIBS=$ac_check_lib_save_LIBS
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16181 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16182 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16184 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16186 PROCSTAT_LIBS="-lprocstat"
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16193 $as_echo_n "checking for -lodbc... " >&6; }
16194 if ${ac_cv_lib_soname_odbc+:} false; then :
16195 $as_echo_n "(cached) " >&6
16196 else
16197 ac_check_soname_save_LIBS=$LIBS
16198 LIBS="-lodbc $LIBS"
16199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16200 /* end confdefs.h. */
16202 /* Override any GCC internal prototype to avoid an error.
16203 Use char because int might match the return type of a GCC
16204 builtin and then its argument prototype would still apply. */
16205 #ifdef __cplusplus
16206 extern "C"
16207 #endif
16208 char SQLConnect ();
16210 main ()
16212 return SQLConnect ();
16214 return 0;
16216 _ACEOF
16217 if ac_fn_c_try_link "$LINENO"; then :
16218 case "$LIBEXT" in
16219 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16220 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'` ;;
16221 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16222 if ${ac_cv_lib_soname_odbc:+false} :; then :
16223 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16224 fi ;;
16225 esac
16226 else
16227 ac_cv_lib_soname_odbc=
16229 rm -f core conftest.err conftest.$ac_objext \
16230 conftest$ac_exeext conftest.$ac_ext
16231 LIBS=$ac_check_soname_save_LIBS
16233 if ${ac_cv_lib_soname_odbc:+false} :; then :
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16235 $as_echo "not found" >&6; }
16236 cat >>confdefs.h <<_ACEOF
16237 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16238 _ACEOF
16240 else
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16242 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16244 cat >>confdefs.h <<_ACEOF
16245 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16246 _ACEOF
16251 if test "x$with_netapi" != "xno"
16252 then
16253 if ${NETAPI_CFLAGS:+false} :; then :
16254 if ${PKG_CONFIG+:} false; then :
16255 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16259 if ${NETAPI_LIBS:+false} :; then :
16260 if ${PKG_CONFIG+:} false; then :
16261 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16266 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16267 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16268 ac_save_CPPFLAGS=$CPPFLAGS
16269 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16271 $as_echo_n "checking for -lnetapi... " >&6; }
16272 if ${ac_cv_lib_soname_netapi+:} false; then :
16273 $as_echo_n "(cached) " >&6
16274 else
16275 ac_check_soname_save_LIBS=$LIBS
16276 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16278 /* end confdefs.h. */
16280 /* Override any GCC internal prototype to avoid an error.
16281 Use char because int might match the return type of a GCC
16282 builtin and then its argument prototype would still apply. */
16283 #ifdef __cplusplus
16284 extern "C"
16285 #endif
16286 char libnetapi_init ();
16288 main ()
16290 return libnetapi_init ();
16292 return 0;
16294 _ACEOF
16295 if ac_fn_c_try_link "$LINENO"; then :
16296 case "$LIBEXT" in
16297 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16298 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'` ;;
16299 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16300 if ${ac_cv_lib_soname_netapi:+false} :; then :
16301 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16302 fi ;;
16303 esac
16304 else
16305 ac_cv_lib_soname_netapi=
16307 rm -f core conftest.err conftest.$ac_objext \
16308 conftest$ac_exeext conftest.$ac_ext
16309 LIBS=$ac_check_soname_save_LIBS
16311 if ${ac_cv_lib_soname_netapi:+false} :; then :
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16313 $as_echo "not found" >&6; }
16314 cat >>confdefs.h <<_ACEOF
16315 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16316 _ACEOF
16318 else
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16320 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16322 cat >>confdefs.h <<_ACEOF
16323 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16324 _ACEOF
16328 CPPFLAGS=$ac_save_CPPFLAGS
16329 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16330 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16334 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16335 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16336 then
16337 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16340 if test "x$with_vulkan" != "xno"
16341 then
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16343 $as_echo_n "checking for -lvulkan... " >&6; }
16344 if ${ac_cv_lib_soname_vulkan+:} false; then :
16345 $as_echo_n "(cached) " >&6
16346 else
16347 ac_check_soname_save_LIBS=$LIBS
16348 LIBS="-lvulkan $LIBS"
16349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16350 /* end confdefs.h. */
16352 /* Override any GCC internal prototype to avoid an error.
16353 Use char because int might match the return type of a GCC
16354 builtin and then its argument prototype would still apply. */
16355 #ifdef __cplusplus
16356 extern "C"
16357 #endif
16358 char vkGetInstanceProcAddr ();
16360 main ()
16362 return vkGetInstanceProcAddr ();
16364 return 0;
16366 _ACEOF
16367 if ac_fn_c_try_link "$LINENO"; then :
16368 case "$LIBEXT" in
16369 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16370 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'` ;;
16371 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16372 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16373 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16374 fi ;;
16375 esac
16376 else
16377 ac_cv_lib_soname_vulkan=
16379 rm -f core conftest.err conftest.$ac_objext \
16380 conftest$ac_exeext conftest.$ac_ext
16381 LIBS=$ac_check_soname_save_LIBS
16383 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16385 $as_echo "not found" >&6; }
16387 else
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16389 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16391 cat >>confdefs.h <<_ACEOF
16392 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16393 _ACEOF
16397 if test "x$ac_cv_lib_soname_vulkan" = "x"
16398 then
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16400 $as_echo_n "checking for -lMoltenVK... " >&6; }
16401 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16402 $as_echo_n "(cached) " >&6
16403 else
16404 ac_check_soname_save_LIBS=$LIBS
16405 LIBS="-lMoltenVK $LIBS"
16406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16409 /* Override any GCC internal prototype to avoid an error.
16410 Use char because int might match the return type of a GCC
16411 builtin and then its argument prototype would still apply. */
16412 #ifdef __cplusplus
16413 extern "C"
16414 #endif
16415 char vkGetInstanceProcAddr ();
16417 main ()
16419 return vkGetInstanceProcAddr ();
16421 return 0;
16423 _ACEOF
16424 if ac_fn_c_try_link "$LINENO"; then :
16425 case "$LIBEXT" in
16426 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16427 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'` ;;
16428 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16429 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16430 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16431 fi ;;
16432 esac
16433 else
16434 ac_cv_lib_soname_MoltenVK=
16436 rm -f core conftest.err conftest.$ac_objext \
16437 conftest$ac_exeext conftest.$ac_ext
16438 LIBS=$ac_check_soname_save_LIBS
16440 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16442 $as_echo "not found" >&6; }
16444 else
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16446 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16448 cat >>confdefs.h <<_ACEOF
16449 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16450 _ACEOF
16456 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16457 case "x$with_vulkan" in
16458 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16459 xno) ;;
16460 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16461 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16462 esac
16466 if test "x$with_vkd3d" != "xno"
16467 then
16468 if ${VKD3D_CFLAGS:+false} :; then :
16469 if ${PKG_CONFIG+:} false; then :
16470 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16474 if ${VKD3D_LIBS:+false} :; then :
16475 if ${PKG_CONFIG+:} false; then :
16476 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16481 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16482 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16483 ac_save_CPPFLAGS=$CPPFLAGS
16484 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16486 $as_echo_n "checking for -lvkd3d... " >&6; }
16487 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16488 $as_echo_n "(cached) " >&6
16489 else
16490 ac_check_soname_save_LIBS=$LIBS
16491 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16495 /* Override any GCC internal prototype to avoid an error.
16496 Use char because int might match the return type of a GCC
16497 builtin and then its argument prototype would still apply. */
16498 #ifdef __cplusplus
16499 extern "C"
16500 #endif
16501 char vkd3d_get_dxgi_format ();
16503 main ()
16505 return vkd3d_get_dxgi_format ();
16507 return 0;
16509 _ACEOF
16510 if ac_fn_c_try_link "$LINENO"; then :
16511 case "$LIBEXT" in
16512 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16513 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'` ;;
16514 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16515 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16516 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16517 fi ;;
16518 esac
16519 else
16520 ac_cv_lib_soname_vkd3d=
16522 rm -f core conftest.err conftest.$ac_objext \
16523 conftest$ac_exeext conftest.$ac_ext
16524 LIBS=$ac_check_soname_save_LIBS
16526 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16528 $as_echo "not found" >&6; }
16530 else
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16532 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16534 cat >>confdefs.h <<_ACEOF
16535 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16536 _ACEOF
16540 CPPFLAGS=$ac_save_CPPFLAGS
16541 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16542 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16545 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16546 case "x$with_vkd3d" in
16547 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16548 xno) ;;
16549 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16550 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16551 esac
16554 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16557 EXTRACFLAGS=""
16559 if test "x${GCC}" = "xyes"
16560 then
16561 EXTRACFLAGS="-Wall -pipe"
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16564 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16565 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16566 $as_echo_n "(cached) " >&6
16567 else
16568 if test "$cross_compiling" = yes; then :
16569 ac_cv_c_gcc_strength_bug="no"
16570 else
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16573 int L[4] = {0,1,2,3};
16575 main ()
16577 static int Array[3];
16578 unsigned int B = 3;
16579 int i;
16580 for(i=0; i<B; i++) Array[i] = i - 3;
16581 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16582 L[i] = 4;
16583 return (Array[1] != -2 || L[2] != 3)
16585 return 0;
16587 _ACEOF
16588 if ac_fn_c_try_run "$LINENO"; then :
16589 ac_cv_c_gcc_strength_bug="no"
16590 else
16591 ac_cv_c_gcc_strength_bug="yes"
16593 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16594 conftest.$ac_objext conftest.beam conftest.$ac_ext
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16599 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16600 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16601 then
16602 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16606 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16607 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16608 $as_echo_n "(cached) " >&6
16609 else
16610 ac_wine_try_cflags_saved=$CFLAGS
16611 CFLAGS="$CFLAGS -fno-strict-aliasing"
16612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16613 /* end confdefs.h. */
16614 int main(int argc, char **argv) { return 0; }
16615 _ACEOF
16616 if ac_fn_c_try_link "$LINENO"; then :
16617 ac_cv_cflags__fno_strict_aliasing=yes
16618 else
16619 ac_cv_cflags__fno_strict_aliasing=no
16621 rm -f core conftest.err conftest.$ac_objext \
16622 conftest$ac_exeext conftest.$ac_ext
16623 CFLAGS=$ac_wine_try_cflags_saved
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16626 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16627 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16628 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16631 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16632 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16633 $as_echo_n "(cached) " >&6
16634 else
16635 ac_wine_try_cflags_saved=$CFLAGS
16636 CFLAGS="$CFLAGS -fexcess-precision=standard"
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16639 int main(int argc, char **argv) { return 0; }
16640 _ACEOF
16641 if ac_fn_c_try_link "$LINENO"; then :
16642 ac_cv_cflags__fexcess_precision_standard=yes
16643 else
16644 ac_cv_cflags__fexcess_precision_standard=no
16646 rm -f core conftest.err conftest.$ac_objext \
16647 conftest$ac_exeext conftest.$ac_ext
16648 CFLAGS=$ac_wine_try_cflags_saved
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16651 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16652 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16653 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16656 saved_CFLAGS=$CFLAGS
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16658 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16659 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16660 $as_echo_n "(cached) " >&6
16661 else
16662 ac_wine_try_cflags_saved=$CFLAGS
16663 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 int main(int argc, char **argv) { return 0; }
16667 _ACEOF
16668 if ac_fn_c_try_link "$LINENO"; then :
16669 ac_cv_cflags__Werror_unknown_warning_option=yes
16670 else
16671 ac_cv_cflags__Werror_unknown_warning_option=no
16673 rm -f core conftest.err conftest.$ac_objext \
16674 conftest$ac_exeext conftest.$ac_ext
16675 CFLAGS=$ac_wine_try_cflags_saved
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16678 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16679 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16680 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16683 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16684 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16685 $as_echo_n "(cached) " >&6
16686 else
16687 ac_wine_try_cflags_saved=$CFLAGS
16688 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16690 /* end confdefs.h. */
16691 int main(int argc, char **argv) { return 0; }
16692 _ACEOF
16693 if ac_fn_c_try_link "$LINENO"; then :
16694 ac_cv_cflags__Wdeclaration_after_statement=yes
16695 else
16696 ac_cv_cflags__Wdeclaration_after_statement=no
16698 rm -f core conftest.err conftest.$ac_objext \
16699 conftest$ac_exeext conftest.$ac_ext
16700 CFLAGS=$ac_wine_try_cflags_saved
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16703 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16704 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16705 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16708 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16709 if ${ac_cv_cflags__Wempty_body+:} false; then :
16710 $as_echo_n "(cached) " >&6
16711 else
16712 ac_wine_try_cflags_saved=$CFLAGS
16713 CFLAGS="$CFLAGS -Wempty-body"
16714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16716 int main(int argc, char **argv) { return 0; }
16717 _ACEOF
16718 if ac_fn_c_try_link "$LINENO"; then :
16719 ac_cv_cflags__Wempty_body=yes
16720 else
16721 ac_cv_cflags__Wempty_body=no
16723 rm -f core conftest.err conftest.$ac_objext \
16724 conftest$ac_exeext conftest.$ac_ext
16725 CFLAGS=$ac_wine_try_cflags_saved
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16728 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16729 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16730 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16733 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16734 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16735 $as_echo_n "(cached) " >&6
16736 else
16737 ac_wine_try_cflags_saved=$CFLAGS
16738 CFLAGS="$CFLAGS -Wignored-qualifiers"
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16741 int main(int argc, char **argv) { return 0; }
16742 _ACEOF
16743 if ac_fn_c_try_link "$LINENO"; then :
16744 ac_cv_cflags__Wignored_qualifiers=yes
16745 else
16746 ac_cv_cflags__Wignored_qualifiers=no
16748 rm -f core conftest.err conftest.$ac_objext \
16749 conftest$ac_exeext conftest.$ac_ext
16750 CFLAGS=$ac_wine_try_cflags_saved
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
16753 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
16754 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
16755 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
16758 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
16759 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
16760 $as_echo_n "(cached) " >&6
16761 else
16762 ac_wine_try_cflags_saved=$CFLAGS
16763 CFLAGS="$CFLAGS -Wpacked-not-aligned"
16764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16765 /* end confdefs.h. */
16766 int main(int argc, char **argv) { return 0; }
16767 _ACEOF
16768 if ac_fn_c_try_link "$LINENO"; then :
16769 ac_cv_cflags__Wpacked_not_aligned=yes
16770 else
16771 ac_cv_cflags__Wpacked_not_aligned=no
16773 rm -f core conftest.err conftest.$ac_objext \
16774 conftest$ac_exeext conftest.$ac_ext
16775 CFLAGS=$ac_wine_try_cflags_saved
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
16778 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
16779 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
16780 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
16783 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
16784 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
16785 $as_echo_n "(cached) " >&6
16786 else
16787 ac_wine_try_cflags_saved=$CFLAGS
16788 CFLAGS="$CFLAGS -Wpragma-pack"
16789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16791 int main(int argc, char **argv) { return 0; }
16792 _ACEOF
16793 if ac_fn_c_try_link "$LINENO"; then :
16794 ac_cv_cflags__Wpragma_pack=yes
16795 else
16796 ac_cv_cflags__Wpragma_pack=no
16798 rm -f core conftest.err conftest.$ac_objext \
16799 conftest$ac_exeext conftest.$ac_ext
16800 CFLAGS=$ac_wine_try_cflags_saved
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
16803 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
16804 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
16805 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
16808 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
16809 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16812 ac_wine_try_cflags_saved=$CFLAGS
16813 CFLAGS="$CFLAGS -Wshift-overflow=2"
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16816 int main(int argc, char **argv) { return 0; }
16817 _ACEOF
16818 if ac_fn_c_try_link "$LINENO"; then :
16819 ac_cv_cflags__Wshift_overflow_2=yes
16820 else
16821 ac_cv_cflags__Wshift_overflow_2=no
16823 rm -f core conftest.err conftest.$ac_objext \
16824 conftest$ac_exeext conftest.$ac_ext
16825 CFLAGS=$ac_wine_try_cflags_saved
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
16828 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
16829 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
16830 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
16833 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
16834 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
16835 $as_echo_n "(cached) " >&6
16836 else
16837 ac_wine_try_cflags_saved=$CFLAGS
16838 CFLAGS="$CFLAGS -Wstrict-prototypes"
16839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16840 /* end confdefs.h. */
16841 int main(int argc, char **argv) { return 0; }
16842 _ACEOF
16843 if ac_fn_c_try_link "$LINENO"; then :
16844 ac_cv_cflags__Wstrict_prototypes=yes
16845 else
16846 ac_cv_cflags__Wstrict_prototypes=no
16848 rm -f core conftest.err conftest.$ac_objext \
16849 conftest$ac_exeext conftest.$ac_ext
16850 CFLAGS=$ac_wine_try_cflags_saved
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
16853 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
16854 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
16855 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
16858 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
16859 if ${ac_cv_cflags__Wtype_limits+:} false; then :
16860 $as_echo_n "(cached) " >&6
16861 else
16862 ac_wine_try_cflags_saved=$CFLAGS
16863 CFLAGS="$CFLAGS -Wtype-limits"
16864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16866 int main(int argc, char **argv) { return 0; }
16867 _ACEOF
16868 if ac_fn_c_try_link "$LINENO"; then :
16869 ac_cv_cflags__Wtype_limits=yes
16870 else
16871 ac_cv_cflags__Wtype_limits=no
16873 rm -f core conftest.err conftest.$ac_objext \
16874 conftest$ac_exeext conftest.$ac_ext
16875 CFLAGS=$ac_wine_try_cflags_saved
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
16878 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
16879 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
16880 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
16883 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
16884 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
16885 $as_echo_n "(cached) " >&6
16886 else
16887 ac_wine_try_cflags_saved=$CFLAGS
16888 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
16889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h. */
16891 int main(int argc, char **argv) { return 0; }
16892 _ACEOF
16893 if ac_fn_c_try_link "$LINENO"; then :
16894 ac_cv_cflags__Wunused_but_set_parameter=yes
16895 else
16896 ac_cv_cflags__Wunused_but_set_parameter=no
16898 rm -f core conftest.err conftest.$ac_objext \
16899 conftest$ac_exeext conftest.$ac_ext
16900 CFLAGS=$ac_wine_try_cflags_saved
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
16903 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
16904 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
16905 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
16908 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
16909 if ${ac_cv_cflags__Wvla+:} false; then :
16910 $as_echo_n "(cached) " >&6
16911 else
16912 ac_wine_try_cflags_saved=$CFLAGS
16913 CFLAGS="$CFLAGS -Wvla"
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 int main(int argc, char **argv) { return 0; }
16917 _ACEOF
16918 if ac_fn_c_try_link "$LINENO"; then :
16919 ac_cv_cflags__Wvla=yes
16920 else
16921 ac_cv_cflags__Wvla=no
16923 rm -f core conftest.err conftest.$ac_objext \
16924 conftest$ac_exeext conftest.$ac_ext
16925 CFLAGS=$ac_wine_try_cflags_saved
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
16928 $as_echo "$ac_cv_cflags__Wvla" >&6; }
16929 if test "x$ac_cv_cflags__Wvla" = xyes; then :
16930 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
16933 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
16934 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
16935 $as_echo_n "(cached) " >&6
16936 else
16937 ac_wine_try_cflags_saved=$CFLAGS
16938 CFLAGS="$CFLAGS -Wwrite-strings"
16939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h. */
16941 int main(int argc, char **argv) { return 0; }
16942 _ACEOF
16943 if ac_fn_c_try_link "$LINENO"; then :
16944 ac_cv_cflags__Wwrite_strings=yes
16945 else
16946 ac_cv_cflags__Wwrite_strings=no
16948 rm -f core conftest.err conftest.$ac_objext \
16949 conftest$ac_exeext conftest.$ac_ext
16950 CFLAGS=$ac_wine_try_cflags_saved
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
16953 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
16954 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
16955 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
16959 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
16960 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
16961 $as_echo_n "(cached) " >&6
16962 else
16963 ac_wine_try_cflags_saved=$CFLAGS
16964 CFLAGS="$CFLAGS -Wpointer-arith"
16965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16966 /* end confdefs.h. */
16967 int main(int argc, char **argv) { return 0; }
16968 _ACEOF
16969 if ac_fn_c_try_link "$LINENO"; then :
16970 ac_cv_cflags__Wpointer_arith=yes
16971 else
16972 ac_cv_cflags__Wpointer_arith=no
16974 rm -f core conftest.err conftest.$ac_objext \
16975 conftest$ac_exeext conftest.$ac_ext
16976 CFLAGS=$ac_wine_try_cflags_saved
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
16979 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
16980 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
16981 saved_string_h_CFLAGS=$CFLAGS
16982 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
16984 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
16985 if ${ac_cv_c_string_h_warnings+:} false; then :
16986 $as_echo_n "(cached) " >&6
16987 else
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 #include <string.h>
16992 main ()
16996 return 0;
16998 _ACEOF
16999 if ac_fn_c_try_compile "$LINENO"; then :
17000 ac_cv_c_string_h_warnings=no
17001 else
17002 ac_cv_c_string_h_warnings=yes
17004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17007 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17008 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17009 CFLAGS=$saved_string_h_CFLAGS
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17013 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17014 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17015 $as_echo_n "(cached) " >&6
17016 else
17017 ac_wine_try_cflags_saved=$CFLAGS
17018 CFLAGS="$CFLAGS -Wlogical-op"
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021 int main(int argc, char **argv) { return 0; }
17022 _ACEOF
17023 if ac_fn_c_try_link "$LINENO"; then :
17024 ac_cv_cflags__Wlogical_op=yes
17025 else
17026 ac_cv_cflags__Wlogical_op=no
17028 rm -f core conftest.err conftest.$ac_objext \
17029 conftest$ac_exeext conftest.$ac_ext
17030 CFLAGS=$ac_wine_try_cflags_saved
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17033 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17034 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17035 saved_string_h_CFLAGS=$CFLAGS
17036 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17038 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17039 if ${ac_cv_c_logicalop_noisy+:} false; then :
17040 $as_echo_n "(cached) " >&6
17041 else
17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17044 #include <string.h>
17045 char*f(const char *h,char n) {return strchr(h,n);}
17047 main ()
17051 return 0;
17053 _ACEOF
17054 if ac_fn_c_try_compile "$LINENO"; then :
17055 ac_cv_c_logicalop_noisy=no
17056 else
17057 ac_cv_c_logicalop_noisy=yes
17059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17062 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17063 CFLAGS=$saved_string_h_CFLAGS
17064 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17067 CFLAGS=$saved_CFLAGS
17069 for ac_flag in $CFLAGS; do
17070 case $ac_flag in
17071 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17072 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17073 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 ac_wine_try_cflags_saved=$CFLAGS
17077 CFLAGS="$CFLAGS -gdwarf-2"
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17080 int main(int argc, char **argv) { return 0; }
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"; then :
17083 ac_cv_cflags__gdwarf_2=yes
17084 else
17085 ac_cv_cflags__gdwarf_2=no
17087 rm -f core conftest.err conftest.$ac_objext \
17088 conftest$ac_exeext conftest.$ac_ext
17089 CFLAGS=$ac_wine_try_cflags_saved
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17092 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17093 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17094 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17097 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17098 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17099 $as_echo_n "(cached) " >&6
17100 else
17101 ac_wine_try_cflags_saved=$CFLAGS
17102 CFLAGS="$CFLAGS -gstrict-dwarf"
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 int main(int argc, char **argv) { return 0; }
17106 _ACEOF
17107 if ac_fn_c_try_link "$LINENO"; then :
17108 ac_cv_cflags__gstrict_dwarf=yes
17109 else
17110 ac_cv_cflags__gstrict_dwarf=no
17112 rm -f core conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17114 CFLAGS=$ac_wine_try_cflags_saved
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17117 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17118 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17119 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17120 fi ;;
17121 esac
17122 done
17124 case $host_os in
17125 cygwin*|mingw32*) ;;
17126 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17127 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17128 if ${ac_cv_cflags__fno_builtin+:} false; then :
17129 $as_echo_n "(cached) " >&6
17130 else
17131 ac_wine_try_cflags_saved=$CFLAGS
17132 CFLAGS="$CFLAGS -fno-builtin"
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 int main(int argc, char **argv) { return 0; }
17136 _ACEOF
17137 if ac_fn_c_try_link "$LINENO"; then :
17138 ac_cv_cflags__fno_builtin=yes
17139 else
17140 ac_cv_cflags__fno_builtin=no
17142 rm -f core conftest.err conftest.$ac_objext \
17143 conftest$ac_exeext conftest.$ac_ext
17144 CFLAGS=$ac_wine_try_cflags_saved
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17147 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17148 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17149 BUILTINFLAG="-fno-builtin"
17151 fi ;;
17152 esac
17154 case $host_cpu in
17155 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17156 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17157 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 ac_wine_try_cflags_saved=$CFLAGS
17161 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163 /* end confdefs.h. */
17164 int main(int argc, char **argv) { return 0; }
17165 _ACEOF
17166 if ac_fn_c_try_link "$LINENO"; then :
17167 ac_cv_cflags__fno_omit_frame_pointer=yes
17168 else
17169 ac_cv_cflags__fno_omit_frame_pointer=no
17171 rm -f core conftest.err conftest.$ac_objext \
17172 conftest$ac_exeext conftest.$ac_ext
17173 CFLAGS=$ac_wine_try_cflags_saved
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17176 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17177 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17178 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17179 fi ;;
17180 esac
17182 case $host in
17183 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17184 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17185 if ${ac_cv_cflags__Wno_format+:} false; then :
17186 $as_echo_n "(cached) " >&6
17187 else
17188 ac_wine_try_cflags_saved=$CFLAGS
17189 CFLAGS="$CFLAGS -Wno-format"
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 int main(int argc, char **argv) { return 0; }
17193 _ACEOF
17194 if ac_fn_c_try_link "$LINENO"; then :
17195 ac_cv_cflags__Wno_format=yes
17196 else
17197 ac_cv_cflags__Wno_format=no
17199 rm -f core conftest.err conftest.$ac_objext \
17200 conftest$ac_exeext conftest.$ac_ext
17201 CFLAGS=$ac_wine_try_cflags_saved
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17204 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17205 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17206 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17207 fi ;;
17208 esac
17210 if test "x$enable_maintainer_mode" = "xyes"
17211 then
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17213 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17214 if ${ac_cv_cflags__Werror+:} false; then :
17215 $as_echo_n "(cached) " >&6
17216 else
17217 ac_wine_try_cflags_saved=$CFLAGS
17218 CFLAGS="$CFLAGS -Werror"
17219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17220 /* end confdefs.h. */
17221 int main(int argc, char **argv) { return 0; }
17222 _ACEOF
17223 if ac_fn_c_try_link "$LINENO"; then :
17224 ac_cv_cflags__Werror=yes
17225 else
17226 ac_cv_cflags__Werror=no
17228 rm -f core conftest.err conftest.$ac_objext \
17229 conftest$ac_exeext conftest.$ac_ext
17230 CFLAGS=$ac_wine_try_cflags_saved
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17233 $as_echo "$ac_cv_cflags__Werror" >&6; }
17234 if test "x$ac_cv_cflags__Werror" = xyes; then :
17235 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17242 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17243 if ${ac_cv_c_fortify_enabled+:} false; then :
17244 $as_echo_n "(cached) " >&6
17245 else
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 #include <string.h>
17250 main ()
17252 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17253 #error Fortify enabled
17254 #endif
17256 return 0;
17258 _ACEOF
17259 if ac_fn_c_try_compile "$LINENO"; then :
17260 ac_cv_c_fortify_enabled=no
17261 else
17262 ac_cv_c_fortify_enabled=yes
17264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17267 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17268 if test "$ac_cv_c_fortify_enabled" = yes
17269 then
17270 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
17275 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
17276 if ${ac_cv_c_extern_prefix+:} false; then :
17277 $as_echo_n "(cached) " >&6
17278 else
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 extern int ac_test;
17283 main ()
17285 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
17287 return 0;
17289 _ACEOF
17290 if ac_fn_c_try_link "$LINENO"; then :
17291 ac_cv_c_extern_prefix="yes"
17292 else
17293 ac_cv_c_extern_prefix="no"
17295 rm -f core conftest.err conftest.$ac_objext \
17296 conftest$ac_exeext conftest.$ac_ext
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
17299 $as_echo "$ac_cv_c_extern_prefix" >&6; }
17301 case $host_cpu in
17302 *i[3456789]86*)
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
17304 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
17305 if ${ac_cv_c_stdcall_suffix+:} false; then :
17306 $as_echo_n "(cached) " >&6
17307 else
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310 #ifndef _MSC_VER
17311 #define __stdcall __attribute__((__stdcall__))
17312 #endif
17313 int __stdcall ac_test(int i) { return i; }
17315 main ()
17317 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
17319 return 0;
17321 _ACEOF
17322 if ac_fn_c_try_link "$LINENO"; then :
17323 ac_cv_c_stdcall_suffix="yes"
17324 else
17325 ac_cv_c_stdcall_suffix="no"
17327 rm -f core conftest.err conftest.$ac_objext \
17328 conftest$ac_exeext conftest.$ac_ext
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
17331 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
17332 *) ac_cv_c_stdcall_suffix="no" ;;
17333 esac
17336 if test "$ac_cv_c_extern_prefix" = "yes"
17337 then
17338 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
17340 asm_name_prefix="_"
17341 else
17342 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
17344 asm_name_prefix=""
17348 if test "$ac_cv_c_stdcall_suffix" = "yes"
17349 then
17350 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
17352 else
17353 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
17359 $as_echo_n "checking how to define a function in assembly code... " >&6; }
17360 if ${ac_cv_asm_func_def+:} false; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17367 main ()
17369 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
17371 return 0;
17373 _ACEOF
17374 if ac_fn_c_try_link "$LINENO"; then :
17375 ac_cv_asm_func_def=".def"
17376 else
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17381 main ()
17383 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
17385 return 0;
17387 _ACEOF
17388 if ac_fn_c_try_link "$LINENO"; then :
17389 ac_cv_asm_func_def=".type @function"
17390 else
17391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h. */
17395 main ()
17397 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
17399 return 0;
17401 _ACEOF
17402 if ac_fn_c_try_link "$LINENO"; then :
17403 ac_cv_asm_func_def=".type 2"
17404 else
17405 ac_cv_asm_func_def="unknown"
17407 rm -f core conftest.err conftest.$ac_objext \
17408 conftest$ac_exeext conftest.$ac_ext
17410 rm -f core conftest.err conftest.$ac_objext \
17411 conftest$ac_exeext conftest.$ac_ext
17413 rm -f core conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
17417 $as_echo "$ac_cv_asm_func_def" >&6; }
17419 case "$ac_cv_asm_func_def" in
17420 ".def")
17421 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
17422 ".type @function")
17423 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
17424 ".type 2")
17425 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
17427 asm_func_header="" ;;
17428 esac
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
17431 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
17432 if ${ac_cv_c_asm_outside_funcs+:} false; then :
17433 $as_echo_n "(cached) " >&6
17434 else
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 asm(".text\n\t.long 0");
17439 main ()
17443 return 0;
17445 _ACEOF
17446 if ac_fn_c_try_compile "$LINENO"; then :
17447 ac_cv_c_asm_outside_funcs="yes"
17448 else
17449 ac_cv_c_asm_outside_funcs="no"
17451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
17454 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
17457 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
17458 if ${ac_cv_c_dot_previous+:} false; then :
17459 $as_echo_n "(cached) " >&6
17460 else
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17465 main ()
17467 asm(".text\nac_test:\t.long 0\n\t.previous");
17469 return 0;
17471 _ACEOF
17472 if ac_fn_c_try_link "$LINENO"; then :
17473 ac_cv_c_dot_previous="yes"
17474 else
17475 ac_cv_c_dot_previous="no"
17477 rm -f core conftest.err conftest.$ac_objext \
17478 conftest$ac_exeext conftest.$ac_ext
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
17481 $as_echo "$ac_cv_c_dot_previous" >&6; }
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17484 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17485 if ${ac_cv_c_cfi_support+:} false; then :
17486 $as_echo_n "(cached) " >&6
17487 else
17488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17492 main ()
17496 return 0;
17498 _ACEOF
17499 if ac_fn_c_try_compile "$LINENO"; then :
17500 ac_cv_c_cfi_support="yes"
17501 else
17502 ac_cv_c_cfi_support="no"
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17507 $as_echo "$ac_cv_c_cfi_support" >&6; }
17509 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
17510 asm_func_trailer=""
17511 if test "$ac_cv_c_dot_previous" = "yes"
17512 then
17513 asm_func_trailer="\\n\\t.previous"
17515 if test "$ac_cv_c_cfi_support" = "yes"
17516 then
17517 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
17518 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
17520 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
17522 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17523 else
17524 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
17526 if test "x$enable_win64" = "xyes"
17527 then
17528 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17532 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
17535 if test "$ac_cv_c_asm_outside_funcs" = "yes"
17536 then
17537 cat >>confdefs.h <<_ACEOF
17538 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
17539 _ACEOF
17541 else
17542 cat >>confdefs.h <<_ACEOF
17543 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
17544 _ACEOF
17548 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
17551 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
17555 case $build_os in
17556 cygwin*|mingw32*) TOOLSEXT=".exe"
17558 esac
17560 case $host_os in
17561 linux*)
17562 case $host_cpu in
17563 *i[3456789]86*|x86_64*|*aarch64*)
17564 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17565 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17567 esac
17569 esac
17572 ac_save_CFLAGS="$CFLAGS"
17573 CFLAGS="$CFLAGS $BUILTINFLAG"
17574 for ac_func in \
17575 __res_get_state \
17576 __res_getservers \
17577 _spawnvp \
17578 dlopen \
17579 epoll_create \
17580 ffs \
17581 finitef \
17582 fnmatch \
17583 fork \
17584 fpclass \
17585 fstatfs \
17586 fstatvfs \
17587 futimens \
17588 futimes \
17589 futimesat \
17590 getattrlist \
17591 getauxval \
17592 getifaddrs \
17593 getopt_long_only \
17594 kqueue \
17595 lstat \
17596 pipe2 \
17597 poll \
17598 port_create \
17599 prctl \
17600 pread \
17601 proc_pidinfo \
17602 pwrite \
17603 readdir \
17604 readlink \
17605 sched_yield \
17606 select \
17607 setproctitle \
17608 setprogname \
17609 settimeofday \
17610 sigprocmask \
17611 statfs \
17612 statvfs \
17613 strnlen \
17614 strtold \
17615 symlink \
17616 sysinfo \
17617 tcdrain \
17618 thr_kill2 \
17619 timegm \
17620 usleep
17622 do :
17623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17625 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17626 cat >>confdefs.h <<_ACEOF
17627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17628 _ACEOF
17631 done
17633 CFLAGS="$ac_save_CFLAGS"
17635 if test "$ac_cv_func_dlopen" = no
17636 then
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17638 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17639 if ${ac_cv_lib_dl_dlopen+:} false; then :
17640 $as_echo_n "(cached) " >&6
17641 else
17642 ac_check_lib_save_LIBS=$LIBS
17643 LIBS="-ldl $LIBS"
17644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h. */
17647 /* Override any GCC internal prototype to avoid an error.
17648 Use char because int might match the return type of a GCC
17649 builtin and then its argument prototype would still apply. */
17650 #ifdef __cplusplus
17651 extern "C"
17652 #endif
17653 char dlopen ();
17655 main ()
17657 return dlopen ();
17659 return 0;
17661 _ACEOF
17662 if ac_fn_c_try_link "$LINENO"; then :
17663 ac_cv_lib_dl_dlopen=yes
17664 else
17665 ac_cv_lib_dl_dlopen=no
17667 rm -f core conftest.err conftest.$ac_objext \
17668 conftest$ac_exeext conftest.$ac_ext
17669 LIBS=$ac_check_lib_save_LIBS
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17672 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17673 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17674 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17675 DL_LIBS="-ldl"
17680 ac_wine_check_funcs_save_LIBS="$LIBS"
17681 LIBS="$LIBS $DL_LIBS"
17682 for ac_func in dladdr
17683 do :
17684 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17685 if test "x$ac_cv_func_dladdr" = xyes; then :
17686 cat >>confdefs.h <<_ACEOF
17687 #define HAVE_DLADDR 1
17688 _ACEOF
17691 done
17693 LIBS="$ac_wine_check_funcs_save_LIBS"
17695 if test "$ac_cv_func_poll" = no
17696 then
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17698 $as_echo_n "checking for poll in -lpoll... " >&6; }
17699 if ${ac_cv_lib_poll_poll+:} false; then :
17700 $as_echo_n "(cached) " >&6
17701 else
17702 ac_check_lib_save_LIBS=$LIBS
17703 LIBS="-lpoll $LIBS"
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17707 /* Override any GCC internal prototype to avoid an error.
17708 Use char because int might match the return type of a GCC
17709 builtin and then its argument prototype would still apply. */
17710 #ifdef __cplusplus
17711 extern "C"
17712 #endif
17713 char poll ();
17715 main ()
17717 return poll ();
17719 return 0;
17721 _ACEOF
17722 if ac_fn_c_try_link "$LINENO"; then :
17723 ac_cv_lib_poll_poll=yes
17724 else
17725 ac_cv_lib_poll_poll=no
17727 rm -f core conftest.err conftest.$ac_objext \
17728 conftest$ac_exeext conftest.$ac_ext
17729 LIBS=$ac_check_lib_save_LIBS
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17732 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17733 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17734 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17735 POLL_LIBS="-lpoll"
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17742 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17743 if ${ac_cv_search_gethostbyname+:} false; then :
17744 $as_echo_n "(cached) " >&6
17745 else
17746 ac_func_search_save_LIBS=$LIBS
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17750 /* Override any GCC internal prototype to avoid an error.
17751 Use char because int might match the return type of a GCC
17752 builtin and then its argument prototype would still apply. */
17753 #ifdef __cplusplus
17754 extern "C"
17755 #endif
17756 char gethostbyname ();
17758 main ()
17760 return gethostbyname ();
17762 return 0;
17764 _ACEOF
17765 for ac_lib in '' nsl; do
17766 if test -z "$ac_lib"; then
17767 ac_res="none required"
17768 else
17769 ac_res=-l$ac_lib
17770 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17772 if ac_fn_c_try_link "$LINENO"; then :
17773 ac_cv_search_gethostbyname=$ac_res
17775 rm -f core conftest.err conftest.$ac_objext \
17776 conftest$ac_exeext
17777 if ${ac_cv_search_gethostbyname+:} false; then :
17778 break
17780 done
17781 if ${ac_cv_search_gethostbyname+:} false; then :
17783 else
17784 ac_cv_search_gethostbyname=no
17786 rm conftest.$ac_ext
17787 LIBS=$ac_func_search_save_LIBS
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17790 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17791 ac_res=$ac_cv_search_gethostbyname
17792 if test "$ac_res" != no; then :
17793 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17799 $as_echo_n "checking for library containing connect... " >&6; }
17800 if ${ac_cv_search_connect+:} false; then :
17801 $as_echo_n "(cached) " >&6
17802 else
17803 ac_func_search_save_LIBS=$LIBS
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17807 /* Override any GCC internal prototype to avoid an error.
17808 Use char because int might match the return type of a GCC
17809 builtin and then its argument prototype would still apply. */
17810 #ifdef __cplusplus
17811 extern "C"
17812 #endif
17813 char connect ();
17815 main ()
17817 return connect ();
17819 return 0;
17821 _ACEOF
17822 for ac_lib in '' socket; do
17823 if test -z "$ac_lib"; then
17824 ac_res="none required"
17825 else
17826 ac_res=-l$ac_lib
17827 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17829 if ac_fn_c_try_link "$LINENO"; then :
17830 ac_cv_search_connect=$ac_res
17832 rm -f core conftest.err conftest.$ac_objext \
17833 conftest$ac_exeext
17834 if ${ac_cv_search_connect+:} false; then :
17835 break
17837 done
17838 if ${ac_cv_search_connect+:} false; then :
17840 else
17841 ac_cv_search_connect=no
17843 rm conftest.$ac_ext
17844 LIBS=$ac_func_search_save_LIBS
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17847 $as_echo "$ac_cv_search_connect" >&6; }
17848 ac_res=$ac_cv_search_connect
17849 if test "$ac_res" != no; then :
17850 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17856 $as_echo_n "checking for library containing inet_aton... " >&6; }
17857 if ${ac_cv_search_inet_aton+:} false; then :
17858 $as_echo_n "(cached) " >&6
17859 else
17860 ac_func_search_save_LIBS=$LIBS
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17864 /* Override any GCC internal prototype to avoid an error.
17865 Use char because int might match the return type of a GCC
17866 builtin and then its argument prototype would still apply. */
17867 #ifdef __cplusplus
17868 extern "C"
17869 #endif
17870 char inet_aton ();
17872 main ()
17874 return inet_aton ();
17876 return 0;
17878 _ACEOF
17879 for ac_lib in '' resolv; do
17880 if test -z "$ac_lib"; then
17881 ac_res="none required"
17882 else
17883 ac_res=-l$ac_lib
17884 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17886 if ac_fn_c_try_link "$LINENO"; then :
17887 ac_cv_search_inet_aton=$ac_res
17889 rm -f core conftest.err conftest.$ac_objext \
17890 conftest$ac_exeext
17891 if ${ac_cv_search_inet_aton+:} false; then :
17892 break
17894 done
17895 if ${ac_cv_search_inet_aton+:} false; then :
17897 else
17898 ac_cv_search_inet_aton=no
17900 rm conftest.$ac_ext
17901 LIBS=$ac_func_search_save_LIBS
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17904 $as_echo "$ac_cv_search_inet_aton" >&6; }
17905 ac_res=$ac_cv_search_inet_aton
17906 if test "$ac_res" != no; then :
17907 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17912 for ac_func in \
17913 getaddrinfo \
17914 getnameinfo \
17915 getnetbyname \
17916 getprotobyname \
17917 getprotobynumber \
17918 getservbyport \
17919 inet_addr \
17920 inet_network \
17921 inet_ntop \
17922 inet_pton \
17924 do :
17925 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17926 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17927 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17928 cat >>confdefs.h <<_ACEOF
17929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17930 _ACEOF
17933 done
17936 ac_save_LIBS=$LIBS
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17938 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17939 if ${ac_cv_search_clock_gettime+:} false; then :
17940 $as_echo_n "(cached) " >&6
17941 else
17942 ac_func_search_save_LIBS=$LIBS
17943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17944 /* end confdefs.h. */
17946 /* Override any GCC internal prototype to avoid an error.
17947 Use char because int might match the return type of a GCC
17948 builtin and then its argument prototype would still apply. */
17949 #ifdef __cplusplus
17950 extern "C"
17951 #endif
17952 char clock_gettime ();
17954 main ()
17956 return clock_gettime ();
17958 return 0;
17960 _ACEOF
17961 for ac_lib in '' rt; do
17962 if test -z "$ac_lib"; then
17963 ac_res="none required"
17964 else
17965 ac_res=-l$ac_lib
17966 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17968 if ac_fn_c_try_link "$LINENO"; then :
17969 ac_cv_search_clock_gettime=$ac_res
17971 rm -f core conftest.err conftest.$ac_objext \
17972 conftest$ac_exeext
17973 if ${ac_cv_search_clock_gettime+:} false; then :
17974 break
17976 done
17977 if ${ac_cv_search_clock_gettime+:} false; then :
17979 else
17980 ac_cv_search_clock_gettime=no
17982 rm conftest.$ac_ext
17983 LIBS=$ac_func_search_save_LIBS
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17986 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17987 ac_res=$ac_cv_search_clock_gettime
17988 if test "$ac_res" != no; then :
17989 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17991 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17993 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
17997 LIBS=$ac_save_LIBS
17999 if test "x$with_ldap" != "xno"
18000 then
18001 if ${LDAP_CFLAGS:+false} :; then :
18002 if ${PKG_CONFIG+:} false; then :
18003 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18007 if ${LDAP_LIBS:+false} :; then :
18008 if ${PKG_CONFIG+:} false; then :
18009 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18013 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18014 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18015 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18016 ac_save_CPPFLAGS=$CPPFLAGS
18017 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18018 for ac_header in ldap.h lber.h
18019 do :
18020 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18021 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18022 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18023 cat >>confdefs.h <<_ACEOF
18024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18025 _ACEOF
18029 done
18031 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18032 then
18033 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18035 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18037 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18038 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18039 $as_echo_n "(cached) " >&6
18040 else
18041 ac_check_lib_save_LIBS=$LIBS
18042 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18046 /* Override any GCC internal prototype to avoid an error.
18047 Use char because int might match the return type of a GCC
18048 builtin and then its argument prototype would still apply. */
18049 #ifdef __cplusplus
18050 extern "C"
18051 #endif
18052 char ldap_initialize ();
18054 main ()
18056 return ldap_initialize ();
18058 return 0;
18060 _ACEOF
18061 if ac_fn_c_try_link "$LINENO"; then :
18062 ac_cv_lib_ldap_r_ldap_initialize=yes
18063 else
18064 ac_cv_lib_ldap_r_ldap_initialize=no
18066 rm -f core conftest.err conftest.$ac_objext \
18067 conftest$ac_exeext conftest.$ac_ext
18068 LIBS=$ac_check_lib_save_LIBS
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18071 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18072 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18074 $as_echo_n "checking for ber_init in -llber... " >&6; }
18075 if ${ac_cv_lib_lber_ber_init+:} false; then :
18076 $as_echo_n "(cached) " >&6
18077 else
18078 ac_check_lib_save_LIBS=$LIBS
18079 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18081 /* end confdefs.h. */
18083 /* Override any GCC internal prototype to avoid an error.
18084 Use char because int might match the return type of a GCC
18085 builtin and then its argument prototype would still apply. */
18086 #ifdef __cplusplus
18087 extern "C"
18088 #endif
18089 char ber_init ();
18091 main ()
18093 return ber_init ();
18095 return 0;
18097 _ACEOF
18098 if ac_fn_c_try_link "$LINENO"; then :
18099 ac_cv_lib_lber_ber_init=yes
18100 else
18101 ac_cv_lib_lber_ber_init=no
18103 rm -f core conftest.err conftest.$ac_objext \
18104 conftest$ac_exeext conftest.$ac_ext
18105 LIBS=$ac_check_lib_save_LIBS
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18108 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18109 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18111 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18113 else
18114 LDAP_LIBS=""
18117 else
18118 LDAP_LIBS=""
18121 else
18122 LDAP_LIBS=""
18125 ac_wine_check_funcs_save_LIBS="$LIBS"
18126 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18127 for ac_func in \
18128 ldap_count_references \
18129 ldap_first_reference \
18130 ldap_next_reference \
18131 ldap_parse_reference \
18132 ldap_parse_sort_control \
18133 ldap_parse_sortresponse_control \
18134 ldap_parse_vlv_control \
18135 ldap_parse_vlvresponse_control
18136 do :
18137 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18138 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18139 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18140 cat >>confdefs.h <<_ACEOF
18141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18142 _ACEOF
18145 done
18147 LIBS="$ac_wine_check_funcs_save_LIBS"
18148 else
18149 LDAP_LIBS=""
18151 CPPFLAGS=$ac_save_CPPFLAGS
18152 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18153 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18156 if test "x$LDAP_LIBS" = "x"; then :
18157 case "x$with_ldap" in
18158 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18159 xno) ;;
18160 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18161 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18162 esac
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18167 $as_echo_n "checking for sched_setaffinity... " >&6; }
18168 if ${wine_cv_have_sched_setaffinity+:} false; then :
18169 $as_echo_n "(cached) " >&6
18170 else
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18173 #define _GNU_SOURCE
18174 #include <sched.h>
18176 main ()
18178 sched_setaffinity(0, 0, 0);
18180 return 0;
18182 _ACEOF
18183 if ac_fn_c_try_link "$LINENO"; then :
18184 wine_cv_have_sched_setaffinity=yes
18185 else
18186 wine_cv_have_sched_setaffinity=no
18188 rm -f core conftest.err conftest.$ac_objext \
18189 conftest$ac_exeext conftest.$ac_ext
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18192 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18193 if test "$wine_cv_have_sched_setaffinity" = "yes"
18194 then
18196 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18201 $as_echo_n "checking for fallocate... " >&6; }
18202 if ${wine_cv_have_fallocate+:} false; then :
18203 $as_echo_n "(cached) " >&6
18204 else
18205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18206 /* end confdefs.h. */
18207 #define _GNU_SOURCE
18208 #include <fcntl.h>
18210 main ()
18212 fallocate(-1, 0, 0, 0);
18214 return 0;
18216 _ACEOF
18217 if ac_fn_c_try_link "$LINENO"; then :
18218 wine_cv_have_fallocate=yes
18219 else
18220 wine_cv_have_fallocate=no
18222 rm -f core conftest.err conftest.$ac_objext \
18223 conftest$ac_exeext conftest.$ac_ext
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18226 $as_echo "$wine_cv_have_fallocate" >&6; }
18227 if test "$wine_cv_have_fallocate" = "yes"
18228 then
18230 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18236 $as_echo_n "checking for inline... " >&6; }
18237 if ${ac_cv_c_inline+:} false; then :
18238 $as_echo_n "(cached) " >&6
18239 else
18240 ac_cv_c_inline=no
18241 for ac_kw in inline __inline__ __inline; do
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18244 #ifndef __cplusplus
18245 typedef int foo_t;
18246 static $ac_kw foo_t static_foo () {return 0; }
18247 $ac_kw foo_t foo () {return 0; }
18248 #endif
18250 _ACEOF
18251 if ac_fn_c_try_compile "$LINENO"; then :
18252 ac_cv_c_inline=$ac_kw
18254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18255 test "$ac_cv_c_inline" != no && break
18256 done
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18260 $as_echo "$ac_cv_c_inline" >&6; }
18262 case $ac_cv_c_inline in
18263 inline | yes) ;;
18265 case $ac_cv_c_inline in
18266 no) ac_val=;;
18267 *) ac_val=$ac_cv_c_inline;;
18268 esac
18269 cat >>confdefs.h <<_ACEOF
18270 #ifndef __cplusplus
18271 #define inline $ac_val
18272 #endif
18273 _ACEOF
18275 esac
18277 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18278 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18280 cat >>confdefs.h <<_ACEOF
18281 #define HAVE_FSBLKCNT_T 1
18282 _ACEOF
18286 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18287 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18289 cat >>confdefs.h <<_ACEOF
18290 #define HAVE_FSFILCNT_T 1
18291 _ACEOF
18296 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18297 #include <signal.h>
18299 if test "x$ac_cv_type_sigset_t" = xyes; then :
18301 cat >>confdefs.h <<_ACEOF
18302 #define HAVE_SIGSET_T 1
18303 _ACEOF
18308 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18310 if test "x$ac_cv_type_request_sense" = xyes; then :
18312 cat >>confdefs.h <<_ACEOF
18313 #define HAVE_REQUEST_SENSE 1
18314 _ACEOF
18320 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18321 #ifdef HAVE_SYS_SOCKET_H
18322 #include <sys/socket.h>
18323 #endif
18324 #ifdef HAVE_SYS_SOCKETVAR_H
18325 #include <sys/socketvar.h>
18326 #endif
18327 #ifdef HAVE_NET_ROUTE_H
18328 #include <net/route.h>
18329 #endif
18330 #ifdef HAVE_NETINET_IN_H
18331 #include <netinet/in.h>
18332 #endif
18333 #ifdef HAVE_NETINET_IN_SYSTM_H
18334 #include <netinet/in_systm.h>
18335 #endif
18336 #ifdef HAVE_NETINET_IP_H
18337 #include <netinet/ip.h>
18338 #endif
18339 #ifdef HAVE_NETINET_IN_PCB_H
18340 #include <netinet/in_pcb.h>
18341 #endif
18343 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18345 cat >>confdefs.h <<_ACEOF
18346 #define HAVE_STRUCT_XINPGEN 1
18347 _ACEOF
18353 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18354 #include <link.h>
18355 #endif
18356 #ifdef HAVE_SYS_LINK_H
18357 #include <sys/link.h>
18358 #endif
18360 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18362 cat >>confdefs.h <<_ACEOF
18363 #define HAVE_STRUCT_R_DEBUG 1
18364 _ACEOF
18368 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18369 #include <link.h>
18370 #endif
18371 #ifdef HAVE_SYS_LINK_H
18372 #include <sys/link.h>
18373 #endif
18375 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18377 cat >>confdefs.h <<_ACEOF
18378 #define HAVE_STRUCT_LINK_MAP 1
18379 _ACEOF
18385 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18386 #include <linux/input.h>
18387 #endif
18389 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18391 cat >>confdefs.h <<_ACEOF
18392 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18393 _ACEOF
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18400 $as_echo_n "checking for if_nameindex... " >&6; }
18401 if ${wine_cv_have_if_nameindex+:} false; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18406 #ifdef HAVE_SYS_TYPES_H
18407 #include <sys/types.h>
18408 #endif
18409 #ifdef HAVE_SYS_SOCKET_H
18410 #include <sys/socket.h>
18411 #endif
18412 #ifdef HAVE_NET_IF_H
18413 # include <net/if.h>
18414 #endif
18416 main ()
18418 struct if_nameindex *p = if_nameindex(); return p->if_index;
18420 return 0;
18422 _ACEOF
18423 if ac_fn_c_try_link "$LINENO"; then :
18424 wine_cv_have_if_nameindex=yes
18425 else
18426 wine_cv_have_if_nameindex=no
18428 rm -f core conftest.err conftest.$ac_objext \
18429 conftest$ac_exeext conftest.$ac_ext
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18432 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18433 if test "$wine_cv_have_if_nameindex" = "yes"
18434 then
18436 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18441 $as_echo_n "checking for sigaddset... " >&6; }
18442 if ${wine_cv_have_sigaddset+:} false; then :
18443 $as_echo_n "(cached) " >&6
18444 else
18445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h. */
18447 #include <signal.h>
18449 main ()
18451 sigset_t set; sigaddset(&set,SIGTERM);
18453 return 0;
18455 _ACEOF
18456 if ac_fn_c_try_link "$LINENO"; then :
18457 wine_cv_have_sigaddset=yes
18458 else
18459 wine_cv_have_sigaddset=no
18461 rm -f core conftest.err conftest.$ac_objext \
18462 conftest$ac_exeext conftest.$ac_ext
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18465 $as_echo "$wine_cv_have_sigaddset" >&6; }
18466 if test "$wine_cv_have_sigaddset" = "yes"
18467 then
18469 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18475 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18476 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18477 $as_echo_n "(cached) " >&6
18478 else
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 #include <netdb.h>
18483 main ()
18486 char *name=0;
18487 struct hostent he;
18488 struct hostent *result;
18489 char *buf=0;
18490 int bufsize=0;
18491 int errnr;
18492 char *addr=0;
18493 int addrlen=0;
18494 int addrtype=0;
18495 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18496 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18499 return 0;
18501 _ACEOF
18502 if ac_fn_c_try_link "$LINENO"; then :
18503 wine_cv_linux_gethostbyname_r_6=yes
18504 else
18505 wine_cv_linux_gethostbyname_r_6=no
18508 rm -f core conftest.err conftest.$ac_objext \
18509 conftest$ac_exeext conftest.$ac_ext
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18513 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18514 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18515 then
18517 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18521 if test "$ac_cv_header_linux_joystick_h" = "yes"
18522 then
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18524 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18525 if ${wine_cv_linux_joystick_22_api+:} false; then :
18526 $as_echo_n "(cached) " >&6
18527 else
18528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18529 /* end confdefs.h. */
18531 #include <sys/ioctl.h>
18532 #include <sys/types.h>
18533 #include <linux/joystick.h>
18535 struct js_event blub;
18536 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18537 #error "no 2.2 header"
18538 #endif
18541 main ()
18543 /*empty*/
18545 return 0;
18547 _ACEOF
18548 if ac_fn_c_try_compile "$LINENO"; then :
18549 wine_cv_linux_joystick_22_api=yes
18550 else
18551 wine_cv_linux_joystick_22_api=no
18553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18557 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18558 if test "$wine_cv_linux_joystick_22_api" = "yes"
18559 then
18561 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18567 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18568 #ifdef HAVE_SYS_PARAM_H
18569 # include <sys/param.h>
18570 #endif
18571 #ifdef HAVE_SYS_MOUNT_H
18572 # include <sys/mount.h>
18573 #endif
18574 #ifdef HAVE_SYS_VFS_H
18575 # include <sys/vfs.h>
18576 #endif
18577 #ifdef HAVE_SYS_STATFS_H
18578 # include <sys/statfs.h>
18579 #endif
18581 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18583 cat >>confdefs.h <<_ACEOF
18584 #define HAVE_STRUCT_STATFS_F_BFREE 1
18585 _ACEOF
18589 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18590 #ifdef HAVE_SYS_PARAM_H
18591 # include <sys/param.h>
18592 #endif
18593 #ifdef HAVE_SYS_MOUNT_H
18594 # include <sys/mount.h>
18595 #endif
18596 #ifdef HAVE_SYS_VFS_H
18597 # include <sys/vfs.h>
18598 #endif
18599 #ifdef HAVE_SYS_STATFS_H
18600 # include <sys/statfs.h>
18601 #endif
18603 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18605 cat >>confdefs.h <<_ACEOF
18606 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18607 _ACEOF
18611 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18612 #ifdef HAVE_SYS_PARAM_H
18613 # include <sys/param.h>
18614 #endif
18615 #ifdef HAVE_SYS_MOUNT_H
18616 # include <sys/mount.h>
18617 #endif
18618 #ifdef HAVE_SYS_VFS_H
18619 # include <sys/vfs.h>
18620 #endif
18621 #ifdef HAVE_SYS_STATFS_H
18622 # include <sys/statfs.h>
18623 #endif
18625 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18627 cat >>confdefs.h <<_ACEOF
18628 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18629 _ACEOF
18633 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18634 #ifdef HAVE_SYS_PARAM_H
18635 # include <sys/param.h>
18636 #endif
18637 #ifdef HAVE_SYS_MOUNT_H
18638 # include <sys/mount.h>
18639 #endif
18640 #ifdef HAVE_SYS_VFS_H
18641 # include <sys/vfs.h>
18642 #endif
18643 #ifdef HAVE_SYS_STATFS_H
18644 # include <sys/statfs.h>
18645 #endif
18647 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18649 cat >>confdefs.h <<_ACEOF
18650 #define HAVE_STRUCT_STATFS_F_FFREE 1
18651 _ACEOF
18655 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18656 #ifdef HAVE_SYS_PARAM_H
18657 # include <sys/param.h>
18658 #endif
18659 #ifdef HAVE_SYS_MOUNT_H
18660 # include <sys/mount.h>
18661 #endif
18662 #ifdef HAVE_SYS_VFS_H
18663 # include <sys/vfs.h>
18664 #endif
18665 #ifdef HAVE_SYS_STATFS_H
18666 # include <sys/statfs.h>
18667 #endif
18669 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18671 cat >>confdefs.h <<_ACEOF
18672 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18673 _ACEOF
18677 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18678 #ifdef HAVE_SYS_PARAM_H
18679 # include <sys/param.h>
18680 #endif
18681 #ifdef HAVE_SYS_MOUNT_H
18682 # include <sys/mount.h>
18683 #endif
18684 #ifdef HAVE_SYS_VFS_H
18685 # include <sys/vfs.h>
18686 #endif
18687 #ifdef HAVE_SYS_STATFS_H
18688 # include <sys/statfs.h>
18689 #endif
18691 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18693 cat >>confdefs.h <<_ACEOF
18694 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18695 _ACEOF
18701 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18702 #include <sys/statvfs.h>
18703 #endif
18705 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18707 cat >>confdefs.h <<_ACEOF
18708 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18709 _ACEOF
18715 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18716 #include <dirent.h>
18717 #endif
18719 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18721 cat >>confdefs.h <<_ACEOF
18722 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18723 _ACEOF
18729 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18730 #ifdef HAVE_SYS_SOCKET_H
18731 # include <sys/socket.h>
18732 #endif
18733 #ifdef HAVE_SYS_UN_H
18734 # include <sys/un.h>
18735 #endif
18737 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18739 cat >>confdefs.h <<_ACEOF
18740 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18741 _ACEOF
18745 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18746 #ifdef HAVE_SYS_SOCKET_H
18747 # include <sys/socket.h>
18748 #endif
18749 #ifdef HAVE_SYS_UN_H
18750 # include <sys/un.h>
18751 #endif
18753 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18755 cat >>confdefs.h <<_ACEOF
18756 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18757 _ACEOF
18761 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18762 #ifdef HAVE_SYS_SOCKET_H
18763 # include <sys/socket.h>
18764 #endif
18765 #ifdef HAVE_SYS_UN_H
18766 # include <sys/un.h>
18767 #endif
18769 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18771 cat >>confdefs.h <<_ACEOF
18772 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18773 _ACEOF
18779 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18780 #ifdef HAVE_SCSI_SG_H
18781 #include <scsi/sg.h>
18782 #endif
18784 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18786 cat >>confdefs.h <<_ACEOF
18787 #define HAVE_SCSIREQ_T_CMD 1
18788 _ACEOF
18792 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>
18793 #ifdef HAVE_SCSI_SG_H
18794 #include <scsi/sg.h>
18795 #endif
18797 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18801 _ACEOF
18807 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18809 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18811 cat >>confdefs.h <<_ACEOF
18812 #define HAVE_SIGINFO_T_SI_FD 1
18813 _ACEOF
18819 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18820 #ifdef HAVE_SYS_MTIO_H
18821 #include <sys/mtio.h>
18822 #endif
18824 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18828 _ACEOF
18832 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18833 #ifdef HAVE_SYS_MTIO_H
18834 #include <sys/mtio.h>
18835 #endif
18837 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18839 cat >>confdefs.h <<_ACEOF
18840 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18841 _ACEOF
18845 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18846 #ifdef HAVE_SYS_MTIO_H
18847 #include <sys/mtio.h>
18848 #endif
18850 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18852 cat >>confdefs.h <<_ACEOF
18853 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18854 _ACEOF
18860 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18861 #include <getopt.h>
18862 #endif
18864 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18866 cat >>confdefs.h <<_ACEOF
18867 #define HAVE_STRUCT_OPTION_NAME 1
18868 _ACEOF
18874 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18875 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18877 cat >>confdefs.h <<_ACEOF
18878 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18879 _ACEOF
18883 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18884 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18886 cat >>confdefs.h <<_ACEOF
18887 #define HAVE_STRUCT_STAT_ST_MTIM 1
18888 _ACEOF
18892 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18893 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18897 _ACEOF
18901 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18902 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18904 cat >>confdefs.h <<_ACEOF
18905 #define HAVE_STRUCT_STAT_ST_CTIM 1
18906 _ACEOF
18910 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18911 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18913 cat >>confdefs.h <<_ACEOF
18914 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18915 _ACEOF
18919 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18920 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18922 cat >>confdefs.h <<_ACEOF
18923 #define HAVE_STRUCT_STAT_ST_ATIM 1
18924 _ACEOF
18928 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
18929 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
18931 cat >>confdefs.h <<_ACEOF
18932 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18933 _ACEOF
18937 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
18938 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
18940 cat >>confdefs.h <<_ACEOF
18941 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
18942 _ACEOF
18946 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18947 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18949 cat >>confdefs.h <<_ACEOF
18950 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18951 _ACEOF
18955 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18956 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18958 cat >>confdefs.h <<_ACEOF
18959 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18960 _ACEOF
18964 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18965 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18969 _ACEOF
18973 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18974 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18976 cat >>confdefs.h <<_ACEOF
18977 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18978 _ACEOF
18984 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
18985 #include <sys/types.h>
18986 #endif
18987 #ifdef HAVE_NETINET_IN_H
18988 #include <netinet/in.h>
18989 #endif
18991 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18995 _ACEOF
19001 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19002 #include <sys/types.h>
19003 #endif
19004 #ifdef HAVE_NETINET_IN_H
19005 #include <netinet/in.h>
19006 #endif
19007 #ifdef HAVE_RESOLV_H
19008 #include <resolv.h>
19009 #endif
19011 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_STRUCT___RES_STATE 1
19015 _ACEOF
19021 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
19022 #include <resolv.h>
19023 #endif
19025 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19029 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19036 #include <sys/types.h>
19037 #endif
19038 #ifdef HAVE_NETINET_IN_H
19039 # include <netinet/in.h>
19040 #endif
19041 #ifdef HAVE_ARPA_NAMESER_H
19042 # include <arpa/nameser.h>
19043 #endif
19045 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19047 cat >>confdefs.h <<_ACEOF
19048 #define HAVE_NS_MSG__MSG_PTR 1
19049 _ACEOF
19055 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19056 #include <sys/types.h>
19057 #endif
19058 #ifdef HAVE_NETINET_IN_H
19059 #include <netinet/in.h>
19060 #endif
19061 #ifdef HAVE_NETINET_IP_H
19062 #include <netinet/ip.h>
19063 #endif
19064 #ifdef HAVE_NETINET_IP_ICMP_H
19065 #include <netinet/ip_icmp.h>
19066 #endif
19067 #ifdef HAVE_NETINET_ICMP_VAR_H
19068 #include <netinet/icmp_var.h>
19069 #endif
19071 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19075 _ACEOF
19081 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19082 #include <sys/types.h>
19083 #endif
19084 #ifdef HAVE_ALIAS_H
19085 #include <alias.h>
19086 #endif
19087 #ifdef HAVE_SYS_SOCKET_H
19088 #include <sys/socket.h>
19089 #endif
19090 #ifdef HAVE_SYS_SOCKETVAR_H
19091 #include <sys/socketvar.h>
19092 #endif
19093 #ifdef HAVE_SYS_TIMEOUT_H
19094 #include <sys/timeout.h>
19095 #endif
19096 #ifdef HAVE_NETINET_IN_H
19097 #include <netinet/in.h>
19098 #endif
19099 #ifdef HAVE_NETINET_IN_SYSTM_H
19100 #include <netinet/in_systm.h>
19101 #endif
19102 #ifdef HAVE_NETINET_IP_H
19103 #include <netinet/ip.h>
19104 #endif
19105 #ifdef HAVE_NETINET_IP_VAR_H
19106 #include <netinet/ip_var.h>
19107 #endif
19108 #ifdef HAVE_NETINET_IP_ICMP_H
19109 #include <netinet/ip_icmp.h>
19110 #endif
19111 #ifdef HAVE_NETINET_ICMP_VAR_H
19112 #include <netinet/icmp_var.h>
19113 #endif
19115 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19117 cat >>confdefs.h <<_ACEOF
19118 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19119 _ACEOF
19125 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19126 #include <sys/types.h>
19127 #endif
19128 #ifdef HAVE_SYS_SOCKETVAR_H
19129 #include <sys/socketvar.h>
19130 #endif
19131 #ifdef HAVE_NETINET_IN_H
19132 #include <netinet/in.h>
19133 #endif
19134 #ifdef HAVE_NETINET_IP_VAR_H
19135 #include <netinet/ip_var.h>
19136 #endif
19138 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19142 _ACEOF
19148 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
19149 #include <netinet/ip_var.h>
19150 #endif
19152 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19156 _ACEOF
19162 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19163 #include <sys/types.h>
19164 #endif
19165 #ifdef HAVE_SYS_SOCKETVAR_H
19166 #include <sys/socketvar.h>
19167 #endif
19168 #ifdef HAVE_NETINET_IN_H
19169 #include <netinet/in.h>
19170 #endif
19171 #ifdef HAVE_NETINET_TCP_H
19172 #include <netinet/tcp.h>
19173 #endif
19174 #ifdef HAVE_NETINET_TCP_VAR_H
19175 #include <netinet/tcp_var.h>
19176 #endif
19178 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19180 cat >>confdefs.h <<_ACEOF
19181 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19182 _ACEOF
19188 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
19189 #include <netinet/tcp_var.h>
19190 #endif
19192 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19194 cat >>confdefs.h <<_ACEOF
19195 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19196 _ACEOF
19202 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19203 #include <sys/types.h>
19204 #endif
19205 #ifdef HAVE_NETINET_IN_H
19206 #include <netinet/in.h>
19207 #endif
19208 #ifdef HAVE_NETINET_IP_VAR_H
19209 #include <netinet/ip_var.h>
19210 #endif
19211 #ifdef HAVE_NETINET_UDP_H
19212 #include <netinet/udp.h>
19213 #endif
19214 #ifdef HAVE_NETINET_UDP_VAR_H
19215 #include <netinet/udp_var.h>
19216 #endif
19218 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19220 cat >>confdefs.h <<_ACEOF
19221 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19222 _ACEOF
19228 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19229 #include <sys/types.h>
19230 #endif
19231 #ifdef HAVE_NET_IF_H
19232 # include <net/if.h>
19233 #endif
19235 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19237 cat >>confdefs.h <<_ACEOF
19238 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19239 _ACEOF
19245 ac_save_LIBS="$LIBS"
19246 LIBS="$LIBS -lm"
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19248 $as_echo_n "checking for isfinite... " >&6; }
19249 if ${ac_cv_have_isfinite+:} false; then :
19250 $as_echo_n "(cached) " >&6
19251 else
19252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19253 /* end confdefs.h. */
19254 #define _GNU_SOURCE
19255 #include <math.h>
19257 main ()
19259 float f = 0.0; return isfinite(f)
19261 return 0;
19263 _ACEOF
19264 if ac_fn_c_try_link "$LINENO"; then :
19265 ac_cv_have_isfinite="yes"
19266 else
19267 ac_cv_have_isfinite="no"
19269 rm -f core conftest.err conftest.$ac_objext \
19270 conftest$ac_exeext conftest.$ac_ext
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19273 $as_echo "$ac_cv_have_isfinite" >&6; }
19274 if test "$ac_cv_have_isfinite" = "yes"
19275 then
19277 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19282 $as_echo_n "checking for isinf... " >&6; }
19283 if ${ac_cv_have_isinf+:} false; then :
19284 $as_echo_n "(cached) " >&6
19285 else
19286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h. */
19288 #include <math.h>
19290 main ()
19292 float f = 0.0; return isinf(f)
19294 return 0;
19296 _ACEOF
19297 if ac_fn_c_try_link "$LINENO"; then :
19298 ac_cv_have_isinf="yes"
19299 else
19300 ac_cv_have_isinf="no"
19302 rm -f core conftest.err conftest.$ac_objext \
19303 conftest$ac_exeext conftest.$ac_ext
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19306 $as_echo "$ac_cv_have_isinf" >&6; }
19307 if test "$ac_cv_have_isinf" = "yes"
19308 then
19310 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19315 $as_echo_n "checking for isnan... " >&6; }
19316 if ${ac_cv_have_isnan+:} false; then :
19317 $as_echo_n "(cached) " >&6
19318 else
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19321 #include <math.h>
19323 main ()
19325 float f = 0.0; return isnan(f)
19327 return 0;
19329 _ACEOF
19330 if ac_fn_c_try_link "$LINENO"; then :
19331 ac_cv_have_isnan="yes"
19332 else
19333 ac_cv_have_isnan="no"
19335 rm -f core conftest.err conftest.$ac_objext \
19336 conftest$ac_exeext conftest.$ac_ext
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19339 $as_echo "$ac_cv_have_isnan" >&6; }
19340 if test "$ac_cv_have_isnan" = "yes"
19341 then
19343 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19347 for ac_func in \
19348 acosh \
19349 acoshf \
19350 asinh \
19351 asinhf \
19352 atanh \
19353 atanhf \
19354 cbrt \
19355 cbrtf \
19356 erf \
19357 erfc \
19358 erfcf \
19359 erff \
19360 exp2 \
19361 exp2f \
19362 expm1 \
19363 expm1f \
19364 ilogb \
19365 ilogbf \
19366 j0 \
19367 j1 \
19368 jn \
19369 lgamma \
19370 lgammaf \
19371 llrint \
19372 llrintf \
19373 llround \
19374 llroundf \
19375 log1p \
19376 log1pf \
19377 log2 \
19378 log2f \
19379 lrint \
19380 lrintf \
19381 lround \
19382 lroundf \
19383 nearbyint \
19384 nearbyintf \
19385 nexttoward \
19386 nexttowardf \
19387 powl \
19388 remainder \
19389 remainderf \
19390 remquo \
19391 remquof \
19392 rint \
19393 rintf \
19394 round \
19395 roundf \
19396 trunc \
19397 truncf \
19398 y0 \
19399 y1 \
19402 do :
19403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19405 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19406 cat >>confdefs.h <<_ACEOF
19407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19408 _ACEOF
19411 done
19413 LIBS="$ac_save_LIBS"
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19416 $as_echo_n "checking for __builtin_clz... " >&6; }
19417 if ${ac_cv_have___builtin_clz+:} false; then :
19418 $as_echo_n "(cached) " >&6
19419 else
19420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19421 /* end confdefs.h. */
19424 main ()
19426 return __builtin_clz(1)
19428 return 0;
19430 _ACEOF
19431 if ac_fn_c_try_link "$LINENO"; then :
19432 ac_cv_have___builtin_clz="yes"
19433 else
19434 ac_cv_have___builtin_clz="no"
19436 rm -f core conftest.err conftest.$ac_objext \
19437 conftest$ac_exeext conftest.$ac_ext
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19440 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19441 if test "$ac_cv_have___builtin_clz" = "yes"
19442 then
19444 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19449 $as_echo_n "checking for __builtin_popcount... " >&6; }
19450 if ${ac_cv_have___builtin_popcount+:} false; then :
19451 $as_echo_n "(cached) " >&6
19452 else
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19457 main ()
19459 return __builtin_popcount(1)
19461 return 0;
19463 _ACEOF
19464 if ac_fn_c_try_link "$LINENO"; then :
19465 ac_cv_have___builtin_popcount="yes"
19466 else
19467 ac_cv_have___builtin_popcount="no"
19469 rm -f core conftest.err conftest.$ac_objext \
19470 conftest$ac_exeext conftest.$ac_ext
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19473 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19474 if test "$ac_cv_have___builtin_popcount" = "yes"
19475 then
19477 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19482 $as_echo_n "checking for __clear_cache... " >&6; }
19483 if ${ac_cv_have___clear_cache+:} false; then :
19484 $as_echo_n "(cached) " >&6
19485 else
19486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19490 main ()
19492 __clear_cache((void*)0, (void*)0); return 0;
19494 return 0;
19496 _ACEOF
19497 if ac_fn_c_try_link "$LINENO"; then :
19498 ac_cv_have___clear_cache="yes"
19499 else
19500 ac_cv_have___clear_cache="no"
19502 rm -f core conftest.err conftest.$ac_objext \
19503 conftest$ac_exeext conftest.$ac_ext
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19506 $as_echo "$ac_cv_have___clear_cache" >&6; }
19507 if test "$ac_cv_have___clear_cache" = "yes"
19508 then
19510 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19515 case $host_cpu in
19516 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19517 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19518 if ${ac_cv_cpp_def___i386__+:} false; then :
19519 $as_echo_n "(cached) " >&6
19520 else
19521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19522 /* end confdefs.h. */
19523 #ifndef __i386__
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___i386__=yes
19530 else
19531 ac_cv_cpp_def___i386__=no
19533 rm -f conftest*
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19537 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19538 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19539 CFLAGS="$CFLAGS -D__i386__"
19540 LINTFLAGS="$LINTFLAGS -D__i386__"
19541 fi ;;
19542 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19543 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19544 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19545 $as_echo_n "(cached) " >&6
19546 else
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19549 #ifndef __x86_64__
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___x86_64__=yes
19556 else
19557 ac_cv_cpp_def___x86_64__=no
19559 rm -f conftest*
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19563 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19564 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19565 CFLAGS="$CFLAGS -D__x86_64__"
19566 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19567 fi ;;
19568 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19569 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19570 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #ifndef __sparc64__
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___sparc64__=yes
19582 else
19583 ac_cv_cpp_def___sparc64__=no
19585 rm -f conftest*
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19589 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19590 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19591 CFLAGS="$CFLAGS -D__sparc64__"
19592 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19593 fi ;;
19594 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19595 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19596 if ${ac_cv_cpp_def___sparc__+:} false; then :
19597 $as_echo_n "(cached) " >&6
19598 else
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #ifndef __sparc__
19603 #endif
19604 _ACEOF
19605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19606 $EGREP "yes" >/dev/null 2>&1; then :
19607 ac_cv_cpp_def___sparc__=yes
19608 else
19609 ac_cv_cpp_def___sparc__=no
19611 rm -f conftest*
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19615 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19616 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19617 CFLAGS="$CFLAGS -D__sparc__"
19618 LINTFLAGS="$LINTFLAGS -D__sparc__"
19619 fi ;;
19620 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19621 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19622 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19623 $as_echo_n "(cached) " >&6
19624 else
19625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19626 /* end confdefs.h. */
19627 #ifndef __powerpc64__
19629 #endif
19630 _ACEOF
19631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19632 $EGREP "yes" >/dev/null 2>&1; then :
19633 ac_cv_cpp_def___powerpc64__=yes
19634 else
19635 ac_cv_cpp_def___powerpc64__=no
19637 rm -f conftest*
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19641 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19642 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19643 CFLAGS="$CFLAGS -D__powerpc64__"
19644 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19645 fi ;;
19646 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19647 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19648 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19649 $as_echo_n "(cached) " >&6
19650 else
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19653 #ifndef __powerpc__
19655 #endif
19656 _ACEOF
19657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19658 $EGREP "yes" >/dev/null 2>&1; then :
19659 ac_cv_cpp_def___powerpc__=yes
19660 else
19661 ac_cv_cpp_def___powerpc__=no
19663 rm -f conftest*
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19667 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19668 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19669 CFLAGS="$CFLAGS -D__powerpc__"
19670 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19671 fi ;;
19672 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19673 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19674 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19679 #ifndef __aarch64__
19681 #endif
19682 _ACEOF
19683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19684 $EGREP "yes" >/dev/null 2>&1; then :
19685 ac_cv_cpp_def___aarch64__=yes
19686 else
19687 ac_cv_cpp_def___aarch64__=no
19689 rm -f conftest*
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19693 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19694 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19695 CFLAGS="$CFLAGS -D__aarch64__"
19696 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19697 fi ;;
19698 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19699 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19700 if ${ac_cv_cpp_def___arm__+:} false; then :
19701 $as_echo_n "(cached) " >&6
19702 else
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h. */
19705 #ifndef __arm__
19707 #endif
19708 _ACEOF
19709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19710 $EGREP "yes" >/dev/null 2>&1; then :
19711 ac_cv_cpp_def___arm__=yes
19712 else
19713 ac_cv_cpp_def___arm__=no
19715 rm -f conftest*
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19719 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19720 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19721 CFLAGS="$CFLAGS -D__arm__"
19722 LINTFLAGS="$LINTFLAGS -D__arm__"
19723 fi ;;
19724 esac
19726 case $host_vendor in
19727 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19728 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19729 if ${ac_cv_cpp_def___sun__+:} false; then :
19730 $as_echo_n "(cached) " >&6
19731 else
19732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19734 #ifndef __sun__
19736 #endif
19737 _ACEOF
19738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19739 $EGREP "yes" >/dev/null 2>&1; then :
19740 ac_cv_cpp_def___sun__=yes
19741 else
19742 ac_cv_cpp_def___sun__=no
19744 rm -f conftest*
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19748 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19749 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19750 CFLAGS="$CFLAGS -D__sun__"
19751 LINTFLAGS="$LINTFLAGS -D__sun__"
19752 fi ;;
19753 esac
19759 ac_config_commands="$ac_config_commands include/stamp-h"
19761 $as_echo_n "creating Makefile rules..." >&6
19763 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
19764 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19765 IOKIT_LIBS = $IOKIT_LIBS
19766 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19767 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19768 CORESERVICES_LIBS = $CORESERVICES_LIBS
19769 APPKIT_LIBS = $APPKIT_LIBS
19770 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19771 SECURITY_LIBS = $SECURITY_LIBS
19772 COREAUDIO_LIBS = $COREAUDIO_LIBS
19773 OPENAL_LIBS = $OPENAL_LIBS
19774 OPENCL_LIBS = $OPENCL_LIBS
19775 QUICKTIME_LIBS = $QUICKTIME_LIBS
19776 CARBON_LIBS = $CARBON_LIBS
19777 METAL_LIBS = $METAL_LIBS
19778 PTHREAD_LIBS = $PTHREAD_LIBS
19779 X_CFLAGS = $X_CFLAGS
19780 X_PRE_LIBS = $X_PRE_LIBS
19781 X_LIBS = $X_LIBS
19782 X_EXTRA_LIBS = $X_EXTRA_LIBS
19783 PCAP_LIBS = $PCAP_LIBS
19784 XML2_CFLAGS = $XML2_CFLAGS
19785 XML2_LIBS = $XML2_LIBS
19786 XSLT_CFLAGS = $XSLT_CFLAGS
19787 XSLT_LIBS = $XSLT_LIBS
19788 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19789 INOTIFY_LIBS = $INOTIFY_LIBS
19790 DBUS_CFLAGS = $DBUS_CFLAGS
19791 DBUS_LIBS = $DBUS_LIBS
19792 HAL_CFLAGS = $HAL_CFLAGS
19793 HAL_LIBS = $HAL_LIBS
19794 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19795 GNUTLS_LIBS = $GNUTLS_LIBS
19796 SANE_CFLAGS = $SANE_CFLAGS
19797 SANE_LIBS = $SANE_LIBS
19798 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19799 GPHOTO2_LIBS = $GPHOTO2_LIBS
19800 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19801 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19802 RESOLV_LIBS = $RESOLV_LIBS
19803 LCMS2_CFLAGS = $LCMS2_CFLAGS
19804 LCMS2_LIBS = $LCMS2_LIBS
19805 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19806 FREETYPE_LIBS = $FREETYPE_LIBS
19807 Z_LIBS = $Z_LIBS
19808 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19809 PULSE_CFLAGS = $PULSE_CFLAGS
19810 PULSE_LIBS = $PULSE_LIBS
19811 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19812 GSTREAMER_LIBS = $GSTREAMER_LIBS
19813 ALSA_LIBS = $ALSA_LIBS
19814 OSS4_CFLAGS = $OSS4_CFLAGS
19815 UDEV_CFLAGS = $UDEV_CFLAGS
19816 UDEV_LIBS = $UDEV_LIBS
19817 SDL2_CFLAGS = $SDL2_CFLAGS
19818 SDL2_LIBS = $SDL2_LIBS
19819 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19820 FAUDIO_LIBS = $FAUDIO_LIBS
19821 CAPI20_CFLAGS = $CAPI20_CFLAGS
19822 CAPI20_LIBS = $CAPI20_LIBS
19823 CUPS_CFLAGS = $CUPS_CFLAGS
19824 CUPS_LIBS = $CUPS_LIBS
19825 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19826 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19827 KRB5_CFLAGS = $KRB5_CFLAGS
19828 KRB5_LIBS = $KRB5_LIBS
19829 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19830 GSSAPI_LIBS = $GSSAPI_LIBS
19831 JPEG_CFLAGS = $JPEG_CFLAGS
19832 JPEG_LIBS = $JPEG_LIBS
19833 PNG_CFLAGS = $PNG_CFLAGS
19834 PNG_LIBS = $PNG_LIBS
19835 TIFF_CFLAGS = $TIFF_CFLAGS
19836 TIFF_LIBS = $TIFF_LIBS
19837 MPG123_CFLAGS = $MPG123_CFLAGS
19838 MPG123_LIBS = $MPG123_LIBS
19839 KSTAT_LIBS = $KSTAT_LIBS
19840 PROCSTAT_LIBS = $PROCSTAT_LIBS
19841 NETAPI_CFLAGS = $NETAPI_CFLAGS
19842 NETAPI_LIBS = $NETAPI_LIBS
19843 VKD3D_CFLAGS = $VKD3D_CFLAGS
19844 VKD3D_LIBS = $VKD3D_LIBS
19845 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19846 DL_LIBS = $DL_LIBS
19847 POLL_LIBS = $POLL_LIBS
19848 RT_LIBS = $RT_LIBS
19849 LDAP_CFLAGS = $LDAP_CFLAGS
19850 LDAP_LIBS = $LDAP_LIBS
19855 wine_fn_append_rule "
19856 # Rules automatically generated by configure
19858 .INIT: Makefile
19859 .MAKEFILEDEPS:
19860 all: Makefile
19861 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19862 @./config.status Make.tmp Makefile
19863 depend: \$(MAKEDEP) dummy
19864 \$(MAKEDEP)"
19866 if test "x$enable_fonts" != xno; then
19867 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19868 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19869 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19870 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19871 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19872 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19874 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19875 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19876 ac_config_links="$ac_config_links wine:tools/winewrapper"
19877 wine_fn_config_symlink wine
19878 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19879 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19880 wine_fn_config_symlink wine64
19883 wine_fn_config_makefile dlls/acledit enable_acledit
19884 wine_fn_config_makefile dlls/aclui enable_aclui
19885 wine_fn_config_makefile dlls/activeds enable_activeds
19886 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19887 wine_fn_config_makefile dlls/adsiid enable_adsiid
19888 wine_fn_config_makefile dlls/adsldp enable_adsldp
19889 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19890 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19891 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19892 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19893 wine_fn_config_makefile dlls/advpack enable_advpack
19894 wine_fn_config_makefile dlls/advpack/tests enable_tests
19895 wine_fn_config_makefile dlls/amsi enable_amsi
19896 wine_fn_config_makefile dlls/amstream enable_amstream
19897 wine_fn_config_makefile dlls/amstream/tests enable_tests
19898 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19899 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19900 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19901 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19902 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19903 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19904 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19905 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19906 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19907 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19908 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19909 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19910 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19911 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19912 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19913 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19914 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19915 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19916 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19917 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19918 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19919 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19920 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19921 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19922 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19923 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19924 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19925 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19926 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19927 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19928 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19929 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19930 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19931 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19932 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19933 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19934 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19935 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19936 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19937 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19938 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19939 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19940 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19941 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19942 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19943 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19944 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19945 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19946 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19947 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19948 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19949 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19950 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19951 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19952 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19953 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19954 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19955 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19956 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19957 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19958 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19959 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19960 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19961 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19962 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19963 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19964 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19965 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19966 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19967 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19968 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19969 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19970 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19971 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19972 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19974 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19976 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19977 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
19978 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19990 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20000 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20004 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20007 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20017 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20022 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20023 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20028 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20030 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20049 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20050 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20069 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20080 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20084 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20086 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20088 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20089 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20094 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20096 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20102 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20107 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20109 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20113 wine_fn_config_makefile dlls/apphelp enable_apphelp
20114 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20115 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20116 wine_fn_config_makefile dlls/atl enable_atl
20117 wine_fn_config_makefile dlls/atl/tests enable_tests
20118 wine_fn_config_makefile dlls/atl100 enable_atl100
20119 wine_fn_config_makefile dlls/atl100/tests enable_tests
20120 wine_fn_config_makefile dlls/atl110 enable_atl110
20121 wine_fn_config_makefile dlls/atl80 enable_atl80
20122 wine_fn_config_makefile dlls/atl80/tests enable_tests
20123 wine_fn_config_makefile dlls/atl90 enable_atl90
20124 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20125 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20126 wine_fn_config_makefile dlls/atmlib enable_atmlib
20127 wine_fn_config_makefile dlls/authz enable_authz
20128 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20129 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20130 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20131 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20132 wine_fn_config_makefile dlls/avrt enable_avrt
20133 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20134 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20135 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20136 wine_fn_config_makefile dlls/browseui enable_browseui
20137 wine_fn_config_makefile dlls/browseui/tests enable_tests
20138 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20139 wine_fn_config_makefile dlls/cabinet enable_cabinet
20140 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20141 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20142 wine_fn_config_makefile dlls/cards enable_cards
20143 wine_fn_config_makefile dlls/cdosys enable_cdosys
20144 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20145 wine_fn_config_makefile dlls/clusapi enable_clusapi
20146 wine_fn_config_makefile dlls/combase enable_combase
20147 wine_fn_config_makefile dlls/combase/tests enable_tests
20148 wine_fn_config_makefile dlls/comcat enable_comcat
20149 wine_fn_config_makefile dlls/comcat/tests enable_tests
20150 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20151 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20152 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20153 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20154 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20155 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20156 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20157 wine_fn_config_makefile dlls/compstui enable_compstui
20158 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20159 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20160 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20161 wine_fn_config_makefile dlls/connect enable_connect
20162 wine_fn_config_makefile dlls/credui enable_credui
20163 wine_fn_config_makefile dlls/credui/tests enable_tests
20164 wine_fn_config_makefile dlls/crtdll enable_crtdll
20165 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20166 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20167 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20168 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20169 wine_fn_config_makefile dlls/cryptext enable_cryptext
20170 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20171 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20172 wine_fn_config_makefile dlls/cryptui enable_cryptui
20173 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20174 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20175 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20176 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20177 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20178 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20179 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20180 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20181 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20182 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20183 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20184 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20185 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20186 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20187 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20188 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20189 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20190 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20191 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20192 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20193 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20194 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20195 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20196 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20197 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20198 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20199 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20200 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20201 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20202 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20203 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20204 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20205 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20206 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20207 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20208 wine_fn_config_makefile dlls/d3dim enable_d3dim
20209 wine_fn_config_makefile dlls/d3drm enable_d3drm
20210 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20211 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20212 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20213 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20214 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20215 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20216 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20217 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20218 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20219 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20220 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20221 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20222 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20223 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20224 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20225 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20226 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20227 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20228 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20229 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20230 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20231 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20232 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20233 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20234 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20235 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20236 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20237 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20238 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20239 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20240 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20241 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20242 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20243 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20244 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20245 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20246 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20247 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20248 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20249 wine_fn_config_makefile dlls/davclnt enable_davclnt
20250 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20251 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20252 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20253 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20254 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20255 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20256 wine_fn_config_makefile dlls/ddraw enable_ddraw
20257 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20258 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20259 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20260 wine_fn_config_makefile dlls/devenum enable_devenum
20261 wine_fn_config_makefile dlls/devenum/tests enable_tests
20262 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20263 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20264 wine_fn_config_makefile dlls/difxapi enable_difxapi
20265 wine_fn_config_makefile dlls/dinput enable_dinput
20266 wine_fn_config_makefile dlls/dinput/tests enable_tests
20267 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20268 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20269 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20270 wine_fn_config_makefile dlls/dispex enable_dispex
20271 wine_fn_config_makefile dlls/dispex/tests enable_tests
20272 wine_fn_config_makefile dlls/display.drv16 enable_win16
20273 wine_fn_config_makefile dlls/dmband enable_dmband
20274 wine_fn_config_makefile dlls/dmband/tests enable_tests
20275 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20276 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20277 wine_fn_config_makefile dlls/dmime enable_dmime
20278 wine_fn_config_makefile dlls/dmime/tests enable_tests
20279 wine_fn_config_makefile dlls/dmloader enable_dmloader
20280 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20281 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20282 wine_fn_config_makefile dlls/dmscript enable_dmscript
20283 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20284 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20285 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20286 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20287 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20288 wine_fn_config_makefile dlls/dmusic enable_dmusic
20289 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20290 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20291 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20292 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20293 wine_fn_config_makefile dlls/dplay enable_dplay
20294 wine_fn_config_makefile dlls/dplayx enable_dplayx
20295 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20296 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20297 wine_fn_config_makefile dlls/dpnet enable_dpnet
20298 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20299 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20300 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20301 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20302 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20303 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20304 wine_fn_config_makefile dlls/drmclien enable_drmclien
20305 wine_fn_config_makefile dlls/dsound enable_dsound
20306 wine_fn_config_makefile dlls/dsound/tests enable_tests
20307 wine_fn_config_makefile dlls/dsquery enable_dsquery
20308 wine_fn_config_makefile dlls/dssenh enable_dssenh
20309 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20310 wine_fn_config_makefile dlls/dswave enable_dswave
20311 wine_fn_config_makefile dlls/dswave/tests enable_tests
20312 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20313 wine_fn_config_makefile dlls/dwrite enable_dwrite
20314 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20315 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20316 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20317 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20318 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20319 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20320 wine_fn_config_makefile dlls/dxgi enable_dxgi
20321 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20322 wine_fn_config_makefile dlls/dxguid enable_dxguid
20323 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20324 wine_fn_config_makefile dlls/esent enable_esent
20325 wine_fn_config_makefile dlls/evr enable_evr
20326 wine_fn_config_makefile dlls/evr/tests enable_tests
20327 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20328 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20329 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20330 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20331 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20332 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20333 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20334 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20335 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20336 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20337 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20338 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20339 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20340 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20341 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20342 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20343 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20344 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20345 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20346 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20347 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20348 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20349 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20350 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20351 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20352 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20353 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20354 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20355 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20356 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20357 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20358 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20359 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20360 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20361 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20362 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20363 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20364 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20365 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20366 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20367 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20368 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20369 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
20370 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20371 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20372 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20373 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20374 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20375 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20376 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20377 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20378 wine_fn_config_makefile dlls/faultrep enable_faultrep
20379 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20380 wine_fn_config_makefile dlls/feclient enable_feclient
20381 wine_fn_config_makefile dlls/fltlib enable_fltlib
20382 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20383 wine_fn_config_makefile dlls/fntcache enable_fntcache
20384 wine_fn_config_makefile dlls/fontsub enable_fontsub
20385 wine_fn_config_makefile dlls/fusion enable_fusion
20386 wine_fn_config_makefile dlls/fusion/tests enable_tests
20387 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20388 wine_fn_config_makefile dlls/gameux enable_gameux
20389 wine_fn_config_makefile dlls/gameux/tests enable_tests
20390 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20391 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20392 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20393 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20394 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20395 wine_fn_config_makefile dlls/glu32 enable_glu32
20396 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20397 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20398 wine_fn_config_makefile dlls/hal enable_hal
20399 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20400 wine_fn_config_makefile dlls/hid enable_hid
20401 wine_fn_config_makefile dlls/hid/tests enable_tests
20402 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20403 wine_fn_config_makefile dlls/hlink enable_hlink
20404 wine_fn_config_makefile dlls/hlink/tests enable_tests
20405 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20406 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20407 wine_fn_config_makefile dlls/httpapi enable_httpapi
20408 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20409 wine_fn_config_makefile dlls/iccvid enable_iccvid
20410 wine_fn_config_makefile dlls/icmp enable_icmp
20411 wine_fn_config_makefile dlls/ieframe enable_ieframe
20412 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20413 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20414 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20415 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20416 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20417 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20418 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20419 wine_fn_config_makefile dlls/imm32 enable_imm32
20420 wine_fn_config_makefile dlls/imm32/tests enable_tests
20421 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20422 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20423 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20424 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20425 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20426 wine_fn_config_makefile dlls/infosoft enable_infosoft
20427 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20428 wine_fn_config_makefile dlls/initpki enable_initpki
20429 wine_fn_config_makefile dlls/inkobj enable_inkobj
20430 wine_fn_config_makefile dlls/inseng enable_inseng
20431 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20432 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20433 wine_fn_config_makefile dlls/iprop enable_iprop
20434 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20435 wine_fn_config_makefile dlls/itircl enable_itircl
20436 wine_fn_config_makefile dlls/itss enable_itss
20437 wine_fn_config_makefile dlls/itss/tests enable_tests
20438 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20439 wine_fn_config_makefile dlls/jscript enable_jscript
20440 wine_fn_config_makefile dlls/jscript/tests enable_tests
20441 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20442 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20443 wine_fn_config_makefile dlls/kerberos enable_kerberos
20444 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20445 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20446 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20447 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20448 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20449 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20450 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20451 wine_fn_config_makefile dlls/ksuser enable_ksuser
20452 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20453 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20454 wine_fn_config_makefile dlls/loadperf enable_loadperf
20455 wine_fn_config_makefile dlls/localspl enable_localspl
20456 wine_fn_config_makefile dlls/localspl/tests enable_tests
20457 wine_fn_config_makefile dlls/localui enable_localui
20458 wine_fn_config_makefile dlls/localui/tests enable_tests
20459 wine_fn_config_makefile dlls/lz32 enable_lz32
20460 wine_fn_config_makefile dlls/lz32/tests enable_tests
20461 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20462 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20463 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20464 wine_fn_config_makefile dlls/mapistub enable_mapistub
20465 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20466 wine_fn_config_makefile dlls/mcicda enable_mcicda
20467 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20468 wine_fn_config_makefile dlls/mciseq enable_mciseq
20469 wine_fn_config_makefile dlls/mciwave enable_mciwave
20470 wine_fn_config_makefile dlls/mf enable_mf
20471 wine_fn_config_makefile dlls/mf/tests enable_tests
20472 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20473 wine_fn_config_makefile dlls/mferror enable_mferror
20474 wine_fn_config_makefile dlls/mfplat enable_mfplat
20475 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20476 wine_fn_config_makefile dlls/mfplay enable_mfplay
20477 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20478 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20479 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20480 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20481 wine_fn_config_makefile dlls/midimap enable_midimap
20482 wine_fn_config_makefile dlls/mlang enable_mlang
20483 wine_fn_config_makefile dlls/mlang/tests enable_tests
20484 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20485 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20486 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20487 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20488 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20489 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20490 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20491 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20492 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20493 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20494 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20495 wine_fn_config_makefile dlls/mpr enable_mpr
20496 wine_fn_config_makefile dlls/mpr/tests enable_tests
20497 wine_fn_config_makefile dlls/mprapi enable_mprapi
20498 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20499 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20500 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20501 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20502 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20503 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20504 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20505 wine_fn_config_makefile dlls/mscms enable_mscms
20506 wine_fn_config_makefile dlls/mscms/tests enable_tests
20507 wine_fn_config_makefile dlls/mscoree enable_mscoree
20508 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20509 wine_fn_config_makefile dlls/msctf enable_msctf
20510 wine_fn_config_makefile dlls/msctf/tests enable_tests
20511 wine_fn_config_makefile dlls/msctfp enable_msctfp
20512 wine_fn_config_makefile dlls/msdaps enable_msdaps
20513 wine_fn_config_makefile dlls/msdelta enable_msdelta
20514 wine_fn_config_makefile dlls/msdmo enable_msdmo
20515 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20516 wine_fn_config_makefile dlls/msdrm enable_msdrm
20517 wine_fn_config_makefile dlls/msftedit enable_msftedit
20518 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20519 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20520 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20521 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20522 wine_fn_config_makefile dlls/mshtml enable_mshtml
20523 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20524 wine_fn_config_makefile dlls/msi enable_msi
20525 wine_fn_config_makefile dlls/msi/tests enable_tests
20526 wine_fn_config_makefile dlls/msident enable_msident
20527 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20528 wine_fn_config_makefile dlls/msimsg enable_msimsg
20529 wine_fn_config_makefile dlls/msimtf enable_msimtf
20530 wine_fn_config_makefile dlls/msisip enable_msisip
20531 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20532 wine_fn_config_makefile dlls/msls31 enable_msls31
20533 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20534 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20535 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20536 wine_fn_config_makefile dlls/msports enable_msports
20537 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20538 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20539 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20540 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20541 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20542 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20543 wine_fn_config_makefile dlls/mstask enable_mstask
20544 wine_fn_config_makefile dlls/mstask/tests enable_tests
20545 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20546 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20547 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20548 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20549 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20550 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20551 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20552 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20553 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20554 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20555 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20556 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20557 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20558 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20559 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20560 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20561 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20562 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20563 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20564 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20565 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20566 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20567 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20568 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20569 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20570 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20571 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20572 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20573 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20574 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20575 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20576 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20577 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20578 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20579 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20580 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20581 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20582 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20583 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20584 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20585 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20586 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20587 wine_fn_config_makefile dlls/mswsock enable_mswsock
20588 wine_fn_config_makefile dlls/msxml enable_msxml
20589 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20590 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20591 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20592 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20593 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20594 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20595 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20596 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20597 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20598 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20599 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20600 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20601 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20602 wine_fn_config_makefile dlls/netprofm enable_netprofm
20603 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20604 wine_fn_config_makefile dlls/newdev enable_newdev
20605 wine_fn_config_makefile dlls/ninput enable_ninput
20606 wine_fn_config_makefile dlls/ninput/tests enable_tests
20607 wine_fn_config_makefile dlls/normaliz enable_normaliz
20608 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20609 wine_fn_config_makefile dlls/npptools enable_npptools
20610 wine_fn_config_makefile dlls/ntdll enable_ntdll
20611 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20612 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20613 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20614 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20615 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20616 wine_fn_config_makefile dlls/ntprint enable_ntprint
20617 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20618 wine_fn_config_makefile dlls/objsel enable_objsel
20619 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20620 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20621 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20622 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20623 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20624 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20625 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20626 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20627 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20628 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20629 wine_fn_config_makefile dlls/ole32 enable_ole32
20630 wine_fn_config_makefile dlls/ole32/tests enable_tests
20631 wine_fn_config_makefile dlls/oleacc enable_oleacc
20632 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20633 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20634 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20635 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20636 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20637 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20638 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20639 wine_fn_config_makefile dlls/oledlg enable_oledlg
20640 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20641 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20642 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20643 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20644 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20645 wine_fn_config_makefile dlls/opcservices enable_opcservices
20646 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20647 wine_fn_config_makefile dlls/openal32 enable_openal32
20648 wine_fn_config_makefile dlls/opencl enable_opencl
20649 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20650 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20651 wine_fn_config_makefile dlls/packager enable_packager
20652 wine_fn_config_makefile dlls/packager/tests enable_tests
20653 wine_fn_config_makefile dlls/pdh enable_pdh
20654 wine_fn_config_makefile dlls/pdh/tests enable_tests
20655 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20656 wine_fn_config_makefile dlls/pidgen enable_pidgen
20657 wine_fn_config_makefile dlls/powrprof enable_powrprof
20658 wine_fn_config_makefile dlls/printui enable_printui
20659 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20660 wine_fn_config_makefile dlls/propsys enable_propsys
20661 wine_fn_config_makefile dlls/propsys/tests enable_tests
20662 wine_fn_config_makefile dlls/psapi enable_psapi
20663 wine_fn_config_makefile dlls/psapi/tests enable_tests
20664 wine_fn_config_makefile dlls/pstorec enable_pstorec
20665 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20666 wine_fn_config_makefile dlls/qcap enable_qcap
20667 wine_fn_config_makefile dlls/qcap/tests enable_tests
20668 wine_fn_config_makefile dlls/qedit enable_qedit
20669 wine_fn_config_makefile dlls/qedit/tests enable_tests
20670 wine_fn_config_makefile dlls/qmgr enable_qmgr
20671 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20672 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20673 wine_fn_config_makefile dlls/quartz enable_quartz
20674 wine_fn_config_makefile dlls/quartz/tests enable_tests
20675 wine_fn_config_makefile dlls/query enable_query
20676 wine_fn_config_makefile dlls/qwave enable_qwave
20677 wine_fn_config_makefile dlls/qwave/tests enable_tests
20678 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20679 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20680 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20681 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20682 wine_fn_config_makefile dlls/regapi enable_regapi
20683 wine_fn_config_makefile dlls/resutils enable_resutils
20684 wine_fn_config_makefile dlls/riched20 enable_riched20
20685 wine_fn_config_makefile dlls/riched20/tests enable_tests
20686 wine_fn_config_makefile dlls/riched32 enable_riched32
20687 wine_fn_config_makefile dlls/riched32/tests enable_tests
20688 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20689 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20690 wine_fn_config_makefile dlls/rsabase enable_rsabase
20691 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20692 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20693 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20694 wine_fn_config_makefile dlls/rtutils enable_rtutils
20695 wine_fn_config_makefile dlls/samlib enable_samlib
20696 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20697 wine_fn_config_makefile dlls/sapi enable_sapi
20698 wine_fn_config_makefile dlls/sapi/tests enable_tests
20699 wine_fn_config_makefile dlls/sas enable_sas
20700 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20701 wine_fn_config_makefile dlls/sccbase enable_sccbase
20702 wine_fn_config_makefile dlls/schannel enable_schannel
20703 wine_fn_config_makefile dlls/schannel/tests enable_tests
20704 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20705 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20706 wine_fn_config_makefile dlls/scrobj enable_scrobj
20707 wine_fn_config_makefile dlls/scrrun enable_scrrun
20708 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20709 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20710 wine_fn_config_makefile dlls/secur32 enable_secur32
20711 wine_fn_config_makefile dlls/secur32/tests enable_tests
20712 wine_fn_config_makefile dlls/security enable_security
20713 wine_fn_config_makefile dlls/sensapi enable_sensapi
20714 wine_fn_config_makefile dlls/serialui enable_serialui
20715 wine_fn_config_makefile dlls/serialui/tests enable_tests
20716 wine_fn_config_makefile dlls/setupapi enable_setupapi
20717 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20718 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20719 wine_fn_config_makefile dlls/sfc enable_sfc
20720 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20721 wine_fn_config_makefile dlls/shcore enable_shcore
20722 wine_fn_config_makefile dlls/shcore/tests enable_tests
20723 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20724 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20725 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20726 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20727 wine_fn_config_makefile dlls/shell32 enable_shell32
20728 wine_fn_config_makefile dlls/shell32/tests enable_tests
20729 wine_fn_config_makefile dlls/shfolder enable_shfolder
20730 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20731 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20732 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20733 wine_fn_config_makefile dlls/slc enable_slc
20734 wine_fn_config_makefile dlls/slc/tests enable_tests
20735 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20736 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20737 wine_fn_config_makefile dlls/softpub enable_softpub
20738 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20739 wine_fn_config_makefile dlls/spoolss enable_spoolss
20740 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20741 wine_fn_config_makefile dlls/srclient enable_srclient
20742 wine_fn_config_makefile dlls/sspicli enable_sspicli
20743 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20744 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20745 wine_fn_config_makefile dlls/sti enable_sti
20746 wine_fn_config_makefile dlls/sti/tests enable_tests
20747 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20748 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20749 wine_fn_config_makefile dlls/strmbase enable_strmbase
20750 wine_fn_config_makefile dlls/strmdll enable_strmdll
20751 wine_fn_config_makefile dlls/strmiids enable_strmiids
20752 wine_fn_config_makefile dlls/svrapi enable_svrapi
20753 wine_fn_config_makefile dlls/sxs enable_sxs
20754 wine_fn_config_makefile dlls/sxs/tests enable_tests
20755 wine_fn_config_makefile dlls/system.drv16 enable_win16
20756 wine_fn_config_makefile dlls/t2embed enable_t2embed
20757 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20758 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20759 wine_fn_config_makefile dlls/taskschd enable_taskschd
20760 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20761 wine_fn_config_makefile dlls/tdh enable_tdh
20762 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20763 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20764 wine_fn_config_makefile dlls/traffic enable_traffic
20765 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20766 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20767 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20768 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20769 wine_fn_config_makefile dlls/tzres enable_tzres
20770 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20771 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20772 wine_fn_config_makefile dlls/uianimation enable_uianimation
20773 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20774 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20775 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20776 wine_fn_config_makefile dlls/unicows enable_unicows
20777 wine_fn_config_makefile dlls/updspapi enable_updspapi
20778 wine_fn_config_makefile dlls/url enable_url
20779 wine_fn_config_makefile dlls/urlmon enable_urlmon
20780 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20781 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20782 wine_fn_config_makefile dlls/user.exe16 enable_win16
20783 wine_fn_config_makefile dlls/user32 enable_user32
20784 wine_fn_config_makefile dlls/user32/tests enable_tests
20785 wine_fn_config_makefile dlls/userenv enable_userenv
20786 wine_fn_config_makefile dlls/userenv/tests enable_tests
20787 wine_fn_config_makefile dlls/usp10 enable_usp10
20788 wine_fn_config_makefile dlls/usp10/tests enable_tests
20789 wine_fn_config_makefile dlls/uuid enable_uuid
20790 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20791 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20792 wine_fn_config_makefile dlls/vbscript enable_vbscript
20793 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20794 wine_fn_config_makefile dlls/vcomp enable_vcomp
20795 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20796 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20797 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20798 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20799 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20800 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20801 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20802 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20803 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20804 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20805 wine_fn_config_makefile dlls/version enable_version
20806 wine_fn_config_makefile dlls/version/tests enable_tests
20807 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20808 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20809 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20810 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20811 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20812 wine_fn_config_makefile dlls/vssapi enable_vssapi
20813 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20814 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20815 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20816 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20817 wine_fn_config_makefile dlls/w32skrnl enable_win16
20818 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20819 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20820 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20821 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20822 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20823 wine_fn_config_makefile dlls/wdscore enable_wdscore
20824 wine_fn_config_makefile dlls/webservices enable_webservices
20825 wine_fn_config_makefile dlls/webservices/tests enable_tests
20826 wine_fn_config_makefile dlls/wer enable_wer
20827 wine_fn_config_makefile dlls/wer/tests enable_tests
20828 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20829 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20830 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20831 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20832 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20833 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20834 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20835 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20836 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20837 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20838 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20839 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20840 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20841 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20842 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20843 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20844 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20845 wine_fn_config_makefile dlls/wined3d enable_wined3d
20846 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20847 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20848 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20849 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20850 wine_fn_config_makefile dlls/winemapi enable_winemapi
20851 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20852 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20853 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20854 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20855 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20856 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20857 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20858 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20859 wine_fn_config_makefile dlls/wing32 enable_wing32
20860 wine_fn_config_makefile dlls/winhttp enable_winhttp
20861 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20862 wine_fn_config_makefile dlls/wininet enable_wininet
20863 wine_fn_config_makefile dlls/wininet/tests enable_tests
20864 wine_fn_config_makefile dlls/winmm enable_winmm
20865 wine_fn_config_makefile dlls/winmm/tests enable_tests
20866 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20867 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20868 wine_fn_config_makefile dlls/winscard enable_winscard
20869 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20870 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20871 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20872 wine_fn_config_makefile dlls/winsta enable_winsta
20873 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20874 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20875 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20876 wine_fn_config_makefile dlls/wintrust enable_wintrust
20877 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20878 wine_fn_config_makefile dlls/winusb enable_winusb
20879 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20880 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20881 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20882 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20883 wine_fn_config_makefile dlls/wmasf enable_wmasf
20884 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20885 wine_fn_config_makefile dlls/wmi enable_wmi
20886 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20887 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20888 wine_fn_config_makefile dlls/wmp enable_wmp
20889 wine_fn_config_makefile dlls/wmp/tests enable_tests
20890 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20891 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20892 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20893 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20894 wine_fn_config_makefile dlls/wow32 enable_win16
20895 wine_fn_config_makefile dlls/wpc enable_wpc
20896 wine_fn_config_makefile dlls/wpc/tests enable_tests
20897 wine_fn_config_makefile dlls/wpcap enable_wpcap
20898 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20899 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20900 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20901 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20902 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20903 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20904 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20905 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20906 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20907 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20908 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20909 wine_fn_config_makefile dlls/wuapi enable_wuapi
20910 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
20911 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
20912 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
20913 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
20914 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
20915 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
20916 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
20917 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
20918 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
20919 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
20920 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20921 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20922 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20923 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20924 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20925 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20926 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20927 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20928 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20929 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20930 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20931 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20932 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20933 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20934 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20935 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20936 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20937 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20938 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20939 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20940 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20941 wine_fn_config_makefile dlls/xmllite enable_xmllite
20942 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20943 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20944 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20945 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20946 wine_fn_config_makefile fonts enable_fonts
20947 wine_fn_config_makefile include enable_include
20948 wine_fn_config_makefile libs/port enable_port
20949 wine_fn_config_makefile libs/wine enable_wine
20950 wine_fn_config_makefile libs/wpp enable_wpp
20951 wine_fn_config_makefile loader enable_loader
20952 wine_fn_config_makefile po enable_po
20953 wine_fn_config_makefile programs/arp enable_arp
20954 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20955 wine_fn_config_makefile programs/attrib enable_attrib
20956 wine_fn_config_makefile programs/cabarc enable_cabarc
20957 wine_fn_config_makefile programs/cacls enable_cacls
20958 wine_fn_config_makefile programs/clock enable_clock
20959 wine_fn_config_makefile programs/cmd enable_cmd
20960 wine_fn_config_makefile programs/cmd/tests enable_tests
20961 wine_fn_config_makefile programs/conhost enable_conhost
20962 wine_fn_config_makefile programs/control enable_control
20963 wine_fn_config_makefile programs/cscript enable_cscript
20964 wine_fn_config_makefile programs/dism enable_dism
20965 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20966 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20967 wine_fn_config_makefile programs/eject enable_eject
20968 wine_fn_config_makefile programs/expand enable_expand
20969 wine_fn_config_makefile programs/explorer enable_explorer
20970 wine_fn_config_makefile programs/extrac32 enable_extrac32
20971 wine_fn_config_makefile programs/fc enable_fc
20972 wine_fn_config_makefile programs/find enable_find
20973 wine_fn_config_makefile programs/findstr enable_findstr
20974 wine_fn_config_makefile programs/fsutil enable_fsutil
20975 wine_fn_config_makefile programs/hh enable_hh
20976 wine_fn_config_makefile programs/hostname enable_hostname
20977 wine_fn_config_makefile programs/icacls enable_icacls
20978 wine_fn_config_makefile programs/icinfo enable_icinfo
20979 wine_fn_config_makefile programs/iexplore enable_iexplore
20980 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20981 wine_fn_config_makefile programs/lodctr enable_lodctr
20982 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20983 wine_fn_config_makefile programs/mshta enable_mshta
20984 wine_fn_config_makefile programs/msidb enable_msidb
20985 wine_fn_config_makefile programs/msiexec enable_msiexec
20986 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20987 wine_fn_config_makefile programs/net enable_net
20988 wine_fn_config_makefile programs/netsh enable_netsh
20989 wine_fn_config_makefile programs/netstat enable_netstat
20990 wine_fn_config_makefile programs/ngen enable_ngen
20991 wine_fn_config_makefile programs/notepad enable_notepad
20992 wine_fn_config_makefile programs/oleview enable_oleview
20993 wine_fn_config_makefile programs/ping enable_ping
20994 wine_fn_config_makefile programs/plugplay enable_plugplay
20995 wine_fn_config_makefile programs/powershell enable_powershell
20996 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20997 wine_fn_config_makefile programs/progman enable_progman
20998 wine_fn_config_makefile programs/reg enable_reg
20999 wine_fn_config_makefile programs/reg/tests enable_tests
21000 wine_fn_config_makefile programs/regasm enable_regasm
21001 wine_fn_config_makefile programs/regedit enable_regedit
21002 wine_fn_config_makefile programs/regedit/tests enable_tests
21003 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21004 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21005 wine_fn_config_makefile programs/rpcss enable_rpcss
21006 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21007 wine_fn_config_makefile programs/rundll32 enable_rundll32
21008 wine_fn_config_makefile programs/sc enable_sc
21009 wine_fn_config_makefile programs/schtasks enable_schtasks
21010 wine_fn_config_makefile programs/schtasks/tests enable_tests
21011 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21012 wine_fn_config_makefile programs/secedit enable_secedit
21013 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21014 wine_fn_config_makefile programs/services enable_services
21015 wine_fn_config_makefile programs/services/tests enable_tests
21016 wine_fn_config_makefile programs/shutdown enable_shutdown
21017 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21018 wine_fn_config_makefile programs/start enable_start
21019 wine_fn_config_makefile programs/subst enable_subst
21020 wine_fn_config_makefile programs/svchost enable_svchost
21021 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21022 wine_fn_config_makefile programs/taskkill enable_taskkill
21023 wine_fn_config_makefile programs/tasklist enable_tasklist
21024 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21025 wine_fn_config_makefile programs/termsv enable_termsv
21026 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21027 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21028 wine_fn_config_makefile programs/view enable_view
21029 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21030 wine_fn_config_makefile programs/wineboot enable_wineboot
21031 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21032 wine_fn_config_makefile programs/winecfg enable_winecfg
21033 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21034 wine_fn_config_makefile programs/winedbg enable_winedbg
21035 wine_fn_config_makefile programs/winedevice enable_winedevice
21036 wine_fn_config_makefile programs/winefile enable_winefile
21037 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21038 wine_fn_config_makefile programs/winemine enable_winemine
21039 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21040 wine_fn_config_makefile programs/winepath enable_winepath
21041 wine_fn_config_makefile programs/winetest enable_winetest
21042 wine_fn_config_makefile programs/winevdm enable_win16
21043 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21044 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21045 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21046 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21047 wine_fn_config_makefile programs/winver enable_winver
21048 wine_fn_config_makefile programs/wmic enable_wmic
21049 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21050 wine_fn_config_makefile programs/wordpad enable_wordpad
21051 wine_fn_config_makefile programs/write enable_write
21052 wine_fn_config_makefile programs/wscript enable_wscript
21053 wine_fn_config_makefile programs/wscript/tests enable_tests
21054 wine_fn_config_makefile programs/wusa enable_wusa
21055 wine_fn_config_makefile programs/xcopy enable_xcopy
21056 wine_fn_config_makefile programs/xcopy/tests enable_tests
21057 wine_fn_config_makefile server enable_server
21058 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21059 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21060 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21061 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21062 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21063 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21064 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21065 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21066 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21069 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21070 wine_fn_append_file CONFIGURE_TARGETS "tags"
21071 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21072 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21073 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21074 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21075 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21076 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21078 if test "x$enable_tools" != xno
21079 then
21080 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21081 ac_config_commands="$ac_config_commands tools/makedep"
21085 ac_config_commands="$ac_config_commands Makefile"
21088 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21092 if test "x$enable_maintainer_mode" = xyes
21093 then
21094 wine_fn_append_rule "configure: configure.ac aclocal.m4
21095 autoconf --warnings=all
21096 include/config.h.in: include/stamp-h.in
21097 include/stamp-h.in: configure.ac aclocal.m4
21098 autoheader --warnings=all
21099 @echo timestamp > \$@"
21102 if test "x$enable_tools" != xno
21103 then
21104 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21105 @./config.status tools/makedep
21106 Makefile: tools/makedep$ac_exeext
21107 fonts: tools/sfnt2fon
21108 include: tools tools/widl"
21109 else
21110 wine_fn_append_rule "\$(MAKEDEP):
21111 @echo \"You need to run make in $TOOLSDIR first\" && false"
21114 if test -n "$with_wine64"
21115 then
21116 case "$with_wine64" in
21117 /*) reldir="" ;;
21118 *) reldir="../" ;;
21119 esac
21120 rm -f fonts server 2>/dev/null
21121 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21122 loader/wine64 loader/wine64-preloader:
21123 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21124 $with_wine64/loader/wine:
21125 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21126 $with_wine64/loader/wine-preloader:
21127 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21128 clean::
21129 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21130 else
21131 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21132 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21133 fonts \
21134 loader/l_intl.nls \
21135 loader/wine.inf \
21136 programs/msidb/msidb \
21137 programs/msiexec/msiexec \
21138 programs/notepad/notepad \
21139 programs/regedit/regedit \
21140 programs/regsvr32/regsvr32 \
21141 programs/wineboot/wineboot \
21142 programs/winecfg/winecfg \
21143 programs/wineconsole/wineconsole \
21144 programs/winedbg/winedbg \
21145 programs/winefile/winefile \
21146 programs/winemine/winemine \
21147 programs/winepath/winepath \
21148 server/wineserver"
21150 case $host_os in
21151 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21152 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21153 esac
21156 $as_echo " done" >&6
21157 cat >confcache <<\_ACEOF
21158 # This file is a shell script that caches the results of configure
21159 # tests run on this system so they can be shared between configure
21160 # scripts and configure runs, see configure's option --config-cache.
21161 # It is not useful on other systems. If it contains results you don't
21162 # want to keep, you may remove or edit it.
21164 # config.status only pays attention to the cache file if you give it
21165 # the --recheck option to rerun configure.
21167 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21168 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21169 # following values.
21171 _ACEOF
21173 # The following way of writing the cache mishandles newlines in values,
21174 # but we know of no workaround that is simple, portable, and efficient.
21175 # So, we kill variables containing newlines.
21176 # Ultrix sh set writes to stderr and can't be redirected directly,
21177 # and sets the high bit in the cache file unless we assign to the vars.
21179 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21180 eval ac_val=\$$ac_var
21181 case $ac_val in #(
21182 *${as_nl}*)
21183 case $ac_var in #(
21184 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21185 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21186 esac
21187 case $ac_var in #(
21188 _ | IFS | as_nl) ;; #(
21189 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21190 *) { eval $ac_var=; unset $ac_var;} ;;
21191 esac ;;
21192 esac
21193 done
21195 (set) 2>&1 |
21196 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21197 *${as_nl}ac_space=\ *)
21198 # `set' does not quote correctly, so add quotes: double-quote
21199 # substitution turns \\\\ into \\, and sed turns \\ into \.
21200 sed -n \
21201 "s/'/'\\\\''/g;
21202 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21203 ;; #(
21205 # `set' quotes correctly as required by POSIX, so do not add quotes.
21206 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21208 esac |
21209 sort
21211 sed '
21212 /^ac_cv_env_/b end
21213 t clear
21214 :clear
21215 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21216 t end
21217 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21218 :end' >>confcache
21219 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21220 if test -w "$cache_file"; then
21221 if test "x$cache_file" != "x/dev/null"; then
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21223 $as_echo "$as_me: updating cache $cache_file" >&6;}
21224 if test ! -f "$cache_file" || test -h "$cache_file"; then
21225 cat confcache >"$cache_file"
21226 else
21227 case $cache_file in #(
21228 */* | ?:*)
21229 mv -f confcache "$cache_file"$$ &&
21230 mv -f "$cache_file"$$ "$cache_file" ;; #(
21232 mv -f confcache "$cache_file" ;;
21233 esac
21236 else
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21238 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21241 rm -f confcache
21243 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21244 # Let make expand exec_prefix.
21245 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21247 DEFS=-DHAVE_CONFIG_H
21249 ac_libobjs=
21250 ac_ltlibobjs=
21252 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21253 # 1. Remove the extension, and $U if already installed.
21254 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21255 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21256 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21257 # will be set to the directory where LIBOBJS objects are built.
21258 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21259 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21260 done
21261 LIBOBJS=$ac_libobjs
21263 LTLIBOBJS=$ac_ltlibobjs
21267 : "${CONFIG_STATUS=./config.status}"
21268 ac_write_fail=0
21269 ac_clean_files_save=$ac_clean_files
21270 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21272 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21273 as_write_fail=0
21274 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21275 #! $SHELL
21276 # Generated by $as_me.
21277 # Run this file to recreate the current configuration.
21278 # Compiler output produced by configure, useful for debugging
21279 # configure, is in config.log if it exists.
21281 debug=false
21282 ac_cs_recheck=false
21283 ac_cs_silent=false
21285 SHELL=\${CONFIG_SHELL-$SHELL}
21286 export SHELL
21287 _ASEOF
21288 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21289 ## -------------------- ##
21290 ## M4sh Initialization. ##
21291 ## -------------------- ##
21293 # Be more Bourne compatible
21294 DUALCASE=1; export DUALCASE # for MKS sh
21295 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21296 emulate sh
21297 NULLCMD=:
21298 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21299 # is contrary to our usage. Disable this feature.
21300 alias -g '${1+"$@"}'='"$@"'
21301 setopt NO_GLOB_SUBST
21302 else
21303 case `(set -o) 2>/dev/null` in #(
21304 *posix*) :
21305 set -o posix ;; #(
21306 *) :
21308 esac
21312 as_nl='
21314 export as_nl
21315 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21316 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21317 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21318 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21319 # Prefer a ksh shell builtin over an external printf program on Solaris,
21320 # but without wasting forks for bash or zsh.
21321 if test -z "$BASH_VERSION$ZSH_VERSION" \
21322 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21323 as_echo='print -r --'
21324 as_echo_n='print -rn --'
21325 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21326 as_echo='printf %s\n'
21327 as_echo_n='printf %s'
21328 else
21329 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21330 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21331 as_echo_n='/usr/ucb/echo -n'
21332 else
21333 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21334 as_echo_n_body='eval
21335 arg=$1;
21336 case $arg in #(
21337 *"$as_nl"*)
21338 expr "X$arg" : "X\\(.*\\)$as_nl";
21339 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21340 esac;
21341 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21343 export as_echo_n_body
21344 as_echo_n='sh -c $as_echo_n_body as_echo'
21346 export as_echo_body
21347 as_echo='sh -c $as_echo_body as_echo'
21350 # The user is always right.
21351 if test "${PATH_SEPARATOR+set}" != set; then
21352 PATH_SEPARATOR=:
21353 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21354 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21355 PATH_SEPARATOR=';'
21360 # IFS
21361 # We need space, tab and new line, in precisely that order. Quoting is
21362 # there to prevent editors from complaining about space-tab.
21363 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21364 # splitting by setting IFS to empty value.)
21365 IFS=" "" $as_nl"
21367 # Find who we are. Look in the path if we contain no directory separator.
21368 as_myself=
21369 case $0 in #((
21370 *[\\/]* ) as_myself=$0 ;;
21371 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21372 for as_dir in $PATH
21374 IFS=$as_save_IFS
21375 test -z "$as_dir" && as_dir=.
21376 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21377 done
21378 IFS=$as_save_IFS
21381 esac
21382 # We did not find ourselves, most probably we were run as `sh COMMAND'
21383 # in which case we are not to be found in the path.
21384 if test "x$as_myself" = x; then
21385 as_myself=$0
21387 if test ! -f "$as_myself"; then
21388 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21389 exit 1
21392 # Unset variables that we do not need and which cause bugs (e.g. in
21393 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21394 # suppresses any "Segmentation fault" message there. '((' could
21395 # trigger a bug in pdksh 5.2.14.
21396 for as_var in BASH_ENV ENV MAIL MAILPATH
21397 do eval test x\${$as_var+set} = xset \
21398 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21399 done
21400 PS1='$ '
21401 PS2='> '
21402 PS4='+ '
21404 # NLS nuisances.
21405 LC_ALL=C
21406 export LC_ALL
21407 LANGUAGE=C
21408 export LANGUAGE
21410 # CDPATH.
21411 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21415 # ----------------------------------------
21416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21418 # script with STATUS, using 1 if that was 0.
21419 as_fn_error ()
21421 as_status=$1; test $as_status -eq 0 && as_status=1
21422 if test "$4"; then
21423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21426 $as_echo "$as_me: error: $2" >&2
21427 as_fn_exit $as_status
21428 } # as_fn_error
21431 # as_fn_set_status STATUS
21432 # -----------------------
21433 # Set $? to STATUS, without forking.
21434 as_fn_set_status ()
21436 return $1
21437 } # as_fn_set_status
21439 # as_fn_exit STATUS
21440 # -----------------
21441 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21442 as_fn_exit ()
21444 set +e
21445 as_fn_set_status $1
21446 exit $1
21447 } # as_fn_exit
21449 # as_fn_unset VAR
21450 # ---------------
21451 # Portably unset VAR.
21452 as_fn_unset ()
21454 { eval $1=; unset $1;}
21456 as_unset=as_fn_unset
21457 # as_fn_append VAR VALUE
21458 # ----------------------
21459 # Append the text in VALUE to the end of the definition contained in VAR. Take
21460 # advantage of any shell optimizations that allow amortized linear growth over
21461 # repeated appends, instead of the typical quadratic growth present in naive
21462 # implementations.
21463 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21464 eval 'as_fn_append ()
21466 eval $1+=\$2
21468 else
21469 as_fn_append ()
21471 eval $1=\$$1\$2
21473 fi # as_fn_append
21475 # as_fn_arith ARG...
21476 # ------------------
21477 # Perform arithmetic evaluation on the ARGs, and store the result in the
21478 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21479 # must be portable across $(()) and expr.
21480 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21481 eval 'as_fn_arith ()
21483 as_val=$(( $* ))
21485 else
21486 as_fn_arith ()
21488 as_val=`expr "$@" || test $? -eq 1`
21490 fi # as_fn_arith
21493 if expr a : '\(a\)' >/dev/null 2>&1 &&
21494 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21495 as_expr=expr
21496 else
21497 as_expr=false
21500 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21501 as_basename=basename
21502 else
21503 as_basename=false
21506 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21507 as_dirname=dirname
21508 else
21509 as_dirname=false
21512 as_me=`$as_basename -- "$0" ||
21513 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21514 X"$0" : 'X\(//\)$' \| \
21515 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21516 $as_echo X/"$0" |
21517 sed '/^.*\/\([^/][^/]*\)\/*$/{
21518 s//\1/
21521 /^X\/\(\/\/\)$/{
21522 s//\1/
21525 /^X\/\(\/\).*/{
21526 s//\1/
21529 s/.*/./; q'`
21531 # Avoid depending upon Character Ranges.
21532 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21533 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21534 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21535 as_cr_digits='0123456789'
21536 as_cr_alnum=$as_cr_Letters$as_cr_digits
21538 ECHO_C= ECHO_N= ECHO_T=
21539 case `echo -n x` in #(((((
21540 -n*)
21541 case `echo 'xy\c'` in
21542 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21543 xy) ECHO_C='\c';;
21544 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21545 ECHO_T=' ';;
21546 esac;;
21548 ECHO_N='-n';;
21549 esac
21551 rm -f conf$$ conf$$.exe conf$$.file
21552 if test -d conf$$.dir; then
21553 rm -f conf$$.dir/conf$$.file
21554 else
21555 rm -f conf$$.dir
21556 mkdir conf$$.dir 2>/dev/null
21558 if (echo >conf$$.file) 2>/dev/null; then
21559 if ln -s conf$$.file conf$$ 2>/dev/null; then
21560 as_ln_s='ln -s'
21561 # ... but there are two gotchas:
21562 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21563 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21564 # In both cases, we have to default to `cp -pR'.
21565 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21566 as_ln_s='cp -pR'
21567 elif ln conf$$.file conf$$ 2>/dev/null; then
21568 as_ln_s=ln
21569 else
21570 as_ln_s='cp -pR'
21572 else
21573 as_ln_s='cp -pR'
21575 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21576 rmdir conf$$.dir 2>/dev/null
21579 # as_fn_mkdir_p
21580 # -------------
21581 # Create "$as_dir" as a directory, including parents if necessary.
21582 as_fn_mkdir_p ()
21585 case $as_dir in #(
21586 -*) as_dir=./$as_dir;;
21587 esac
21588 test -d "$as_dir" || eval $as_mkdir_p || {
21589 as_dirs=
21590 while :; do
21591 case $as_dir in #(
21592 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21593 *) as_qdir=$as_dir;;
21594 esac
21595 as_dirs="'$as_qdir' $as_dirs"
21596 as_dir=`$as_dirname -- "$as_dir" ||
21597 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21598 X"$as_dir" : 'X\(//\)[^/]' \| \
21599 X"$as_dir" : 'X\(//\)$' \| \
21600 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21601 $as_echo X"$as_dir" |
21602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21603 s//\1/
21606 /^X\(\/\/\)[^/].*/{
21607 s//\1/
21610 /^X\(\/\/\)$/{
21611 s//\1/
21614 /^X\(\/\).*/{
21615 s//\1/
21618 s/.*/./; q'`
21619 test -d "$as_dir" && break
21620 done
21621 test -z "$as_dirs" || eval "mkdir $as_dirs"
21622 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21625 } # as_fn_mkdir_p
21626 if mkdir -p . 2>/dev/null; then
21627 as_mkdir_p='mkdir -p "$as_dir"'
21628 else
21629 test -d ./-p && rmdir ./-p
21630 as_mkdir_p=false
21634 # as_fn_executable_p FILE
21635 # -----------------------
21636 # Test if FILE is an executable regular file.
21637 as_fn_executable_p ()
21639 test -f "$1" && test -x "$1"
21640 } # as_fn_executable_p
21641 as_test_x='test -x'
21642 as_executable_p=as_fn_executable_p
21644 # Sed expression to map a string onto a valid CPP name.
21645 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21647 # Sed expression to map a string onto a valid variable name.
21648 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21651 exec 6>&1
21652 ## ----------------------------------- ##
21653 ## Main body of $CONFIG_STATUS script. ##
21654 ## ----------------------------------- ##
21655 _ASEOF
21656 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21659 # Save the log message, to keep $0 and so on meaningful, and to
21660 # report actual input values of CONFIG_FILES etc. instead of their
21661 # values after options handling.
21662 ac_log="
21663 This file was extended by Wine $as_me 4.8, which was
21664 generated by GNU Autoconf 2.69. Invocation command line was
21666 CONFIG_FILES = $CONFIG_FILES
21667 CONFIG_HEADERS = $CONFIG_HEADERS
21668 CONFIG_LINKS = $CONFIG_LINKS
21669 CONFIG_COMMANDS = $CONFIG_COMMANDS
21670 $ $0 $@
21672 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21675 _ACEOF
21677 case $ac_config_files in *"
21678 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21679 esac
21681 case $ac_config_headers in *"
21682 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21683 esac
21686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21687 # Files that config.status was made for.
21688 config_files="$ac_config_files"
21689 config_headers="$ac_config_headers"
21690 config_links="$ac_config_links"
21691 config_commands="$ac_config_commands"
21693 _ACEOF
21695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21696 ac_cs_usage="\
21697 \`$as_me' instantiates files and other configuration actions
21698 from templates according to the current configuration. Unless the files
21699 and actions are specified as TAGs, all are instantiated by default.
21701 Usage: $0 [OPTION]... [TAG]...
21703 -h, --help print this help, then exit
21704 -V, --version print version number and configuration settings, then exit
21705 --config print configuration, then exit
21706 -q, --quiet, --silent
21707 do not print progress messages
21708 -d, --debug don't remove temporary files
21709 --recheck update $as_me by reconfiguring in the same conditions
21710 --file=FILE[:TEMPLATE]
21711 instantiate the configuration file FILE
21712 --header=FILE[:TEMPLATE]
21713 instantiate the configuration header FILE
21715 Configuration files:
21716 $config_files
21718 Configuration headers:
21719 $config_headers
21721 Configuration links:
21722 $config_links
21724 Configuration commands:
21725 $config_commands
21727 Report bugs to <wine-devel@winehq.org>.
21728 Wine home page: <https://www.winehq.org>."
21730 _ACEOF
21731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21732 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21733 ac_cs_version="\\
21734 Wine config.status 4.8
21735 configured by $0, generated by GNU Autoconf 2.69,
21736 with options \\"\$ac_cs_config\\"
21738 Copyright (C) 2012 Free Software Foundation, Inc.
21739 This config.status script is free software; the Free Software Foundation
21740 gives unlimited permission to copy, distribute and modify it."
21742 ac_pwd='$ac_pwd'
21743 srcdir='$srcdir'
21744 test -n "\$AWK" || AWK=awk
21745 _ACEOF
21747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21748 # The default lists apply if the user does not specify any file.
21749 ac_need_defaults=:
21750 while test $# != 0
21752 case $1 in
21753 --*=?*)
21754 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21755 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21756 ac_shift=:
21758 --*=)
21759 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21760 ac_optarg=
21761 ac_shift=:
21764 ac_option=$1
21765 ac_optarg=$2
21766 ac_shift=shift
21768 esac
21770 case $ac_option in
21771 # Handling of the options.
21772 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21773 ac_cs_recheck=: ;;
21774 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21775 $as_echo "$ac_cs_version"; exit ;;
21776 --config | --confi | --conf | --con | --co | --c )
21777 $as_echo "$ac_cs_config"; exit ;;
21778 --debug | --debu | --deb | --de | --d | -d )
21779 debug=: ;;
21780 --file | --fil | --fi | --f )
21781 $ac_shift
21782 case $ac_optarg in
21783 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21784 '') as_fn_error $? "missing file argument" ;;
21785 esac
21786 as_fn_append CONFIG_FILES " '$ac_optarg'"
21787 ac_need_defaults=false;;
21788 --header | --heade | --head | --hea )
21789 $ac_shift
21790 case $ac_optarg in
21791 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21792 esac
21793 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21794 ac_need_defaults=false;;
21795 --he | --h)
21796 # Conflict between --help and --header
21797 as_fn_error $? "ambiguous option: \`$1'
21798 Try \`$0 --help' for more information.";;
21799 --help | --hel | -h )
21800 $as_echo "$ac_cs_usage"; exit ;;
21801 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21802 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21803 ac_cs_silent=: ;;
21805 # This is an error.
21806 -*) as_fn_error $? "unrecognized option: \`$1'
21807 Try \`$0 --help' for more information." ;;
21809 *) as_fn_append ac_config_targets " $1"
21810 ac_need_defaults=false ;;
21812 esac
21813 shift
21814 done
21816 ac_configure_extra_args=
21818 if $ac_cs_silent; then
21819 exec 6>/dev/null
21820 ac_configure_extra_args="$ac_configure_extra_args --silent"
21823 _ACEOF
21824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21825 if \$ac_cs_recheck; then
21826 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21827 shift
21828 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21829 CONFIG_SHELL='$SHELL'
21830 export CONFIG_SHELL
21831 exec "\$@"
21834 _ACEOF
21835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21836 exec 5>>config.log
21838 echo
21839 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21840 ## Running $as_me. ##
21841 _ASBOX
21842 $as_echo "$ac_log"
21843 } >&5
21845 _ACEOF
21846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21848 # INIT-COMMANDS
21850 wine_fn_output_makedep ()
21852 as_dir=tools; as_fn_mkdir_p
21853 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21855 wine_fn_output_makefile ()
21857 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21858 `cat $wine_rules_file`
21859 _WINE_EOF
21860 as_fn_error $? "could not create Makefile" "$LINENO" 5
21863 _ACEOF
21865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21867 # Handling of arguments.
21868 for ac_config_target in $ac_config_targets
21870 case $ac_config_target in
21871 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21872 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21873 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21874 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21875 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21876 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21877 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21878 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21879 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21880 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21881 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21882 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21883 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21885 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21886 esac
21887 done
21890 # If the user did not use the arguments to specify the items to instantiate,
21891 # then the envvar interface is used. Set only those that are not.
21892 # We use the long form for the default assignment because of an extremely
21893 # bizarre bug on SunOS 4.1.3.
21894 if $ac_need_defaults; then
21895 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21896 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21897 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21898 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21901 # Have a temporary directory for convenience. Make it in the build tree
21902 # simply because there is no reason against having it here, and in addition,
21903 # creating and moving files from /tmp can sometimes cause problems.
21904 # Hook for its removal unless debugging.
21905 # Note that there is a small window in which the directory will not be cleaned:
21906 # after its creation but before its name has been assigned to `$tmp'.
21907 $debug ||
21909 tmp= ac_tmp=
21910 trap 'exit_status=$?
21911 : "${ac_tmp:=$tmp}"
21912 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21914 trap 'as_fn_exit 1' 1 2 13 15
21916 # Create a (secure) tmp directory for tmp files.
21919 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21920 test -d "$tmp"
21921 } ||
21923 tmp=./conf$$-$RANDOM
21924 (umask 077 && mkdir "$tmp")
21925 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21926 ac_tmp=$tmp
21928 # Set up the scripts for CONFIG_FILES section.
21929 # No need to generate them if there are no CONFIG_FILES.
21930 # This happens for instance with `./config.status config.h'.
21931 if test -n "$CONFIG_FILES"; then
21934 ac_cr=`echo X | tr X '\015'`
21935 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21936 # But we know of no other shell where ac_cr would be empty at this
21937 # point, so we can use a bashism as a fallback.
21938 if test "x$ac_cr" = x; then
21939 eval ac_cr=\$\'\\r\'
21941 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21942 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21943 ac_cs_awk_cr='\\r'
21944 else
21945 ac_cs_awk_cr=$ac_cr
21948 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21949 _ACEOF
21953 echo "cat >conf$$subs.awk <<_ACEOF" &&
21954 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21955 echo "_ACEOF"
21956 } >conf$$subs.sh ||
21957 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21958 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21959 ac_delim='%!_!# '
21960 for ac_last_try in false false false false false :; do
21961 . ./conf$$subs.sh ||
21962 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21964 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21965 if test $ac_delim_n = $ac_delim_num; then
21966 break
21967 elif $ac_last_try; then
21968 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21969 else
21970 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21972 done
21973 rm -f conf$$subs.sh
21975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21976 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21977 _ACEOF
21978 sed -n '
21980 s/^/S["/; s/!.*/"]=/
21983 s/^[^!]*!//
21984 :repl
21985 t repl
21986 s/'"$ac_delim"'$//
21987 t delim
21990 s/\(.\{148\}\)..*/\1/
21991 t more1
21992 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21995 b repl
21996 :more1
21997 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22000 s/.\{148\}//
22001 t nl
22002 :delim
22004 s/\(.\{148\}\)..*/\1/
22005 t more2
22006 s/["\\]/\\&/g; s/^/"/; s/$/"/
22009 :more2
22010 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22013 s/.\{148\}//
22014 t delim
22015 ' <conf$$subs.awk | sed '
22016 /^[^""]/{
22018 s/\n//
22020 ' >>$CONFIG_STATUS || ac_write_fail=1
22021 rm -f conf$$subs.awk
22022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22023 _ACAWK
22024 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22025 for (key in S) S_is_set[key] = 1
22026 FS = "\a"
22030 line = $ 0
22031 nfields = split(line, field, "@")
22032 substed = 0
22033 len = length(field[1])
22034 for (i = 2; i < nfields; i++) {
22035 key = field[i]
22036 keylen = length(key)
22037 if (S_is_set[key]) {
22038 value = S[key]
22039 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22040 len += length(value) + length(field[++i])
22041 substed = 1
22042 } else
22043 len += 1 + keylen
22046 print line
22049 _ACAWK
22050 _ACEOF
22051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22052 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22053 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22054 else
22056 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22057 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22058 _ACEOF
22060 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22061 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22062 # trailing colons and then remove the whole line if VPATH becomes empty
22063 # (actually we leave an empty line to preserve line numbers).
22064 if test "x$srcdir" = x.; then
22065 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22067 s///
22068 s/^/:/
22069 s/[ ]*$/:/
22070 s/:\$(srcdir):/:/g
22071 s/:\${srcdir}:/:/g
22072 s/:@srcdir@:/:/g
22073 s/^:*//
22074 s/:*$//
22076 s/\(=[ ]*\).*/\1/
22078 s/\n//
22079 s/^[^=]*=[ ]*$//
22083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22084 fi # test -n "$CONFIG_FILES"
22086 # Set up the scripts for CONFIG_HEADERS section.
22087 # No need to generate them if there are no CONFIG_HEADERS.
22088 # This happens for instance with `./config.status Makefile'.
22089 if test -n "$CONFIG_HEADERS"; then
22090 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22091 BEGIN {
22092 _ACEOF
22094 # Transform confdefs.h into an awk script `defines.awk', embedded as
22095 # here-document in config.status, that substitutes the proper values into
22096 # config.h.in to produce config.h.
22098 # Create a delimiter string that does not exist in confdefs.h, to ease
22099 # handling of long lines.
22100 ac_delim='%!_!# '
22101 for ac_last_try in false false :; do
22102 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22103 if test -z "$ac_tt"; then
22104 break
22105 elif $ac_last_try; then
22106 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22107 else
22108 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22110 done
22112 # For the awk script, D is an array of macro values keyed by name,
22113 # likewise P contains macro parameters if any. Preserve backslash
22114 # newline sequences.
22116 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22117 sed -n '
22118 s/.\{148\}/&'"$ac_delim"'/g
22119 t rset
22120 :rset
22121 s/^[ ]*#[ ]*define[ ][ ]*/ /
22122 t def
22124 :def
22125 s/\\$//
22126 t bsnl
22127 s/["\\]/\\&/g
22128 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22129 D["\1"]=" \3"/p
22130 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22132 :bsnl
22133 s/["\\]/\\&/g
22134 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22135 D["\1"]=" \3\\\\\\n"\\/p
22136 t cont
22137 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22138 t cont
22140 :cont
22142 s/.\{148\}/&'"$ac_delim"'/g
22143 t clear
22144 :clear
22145 s/\\$//
22146 t bsnlc
22147 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22149 :bsnlc
22150 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22151 b cont
22152 ' <confdefs.h | sed '
22153 s/'"$ac_delim"'/"\\\
22154 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22157 for (key in D) D_is_set[key] = 1
22158 FS = "\a"
22160 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22161 line = \$ 0
22162 split(line, arg, " ")
22163 if (arg[1] == "#") {
22164 defundef = arg[2]
22165 mac1 = arg[3]
22166 } else {
22167 defundef = substr(arg[1], 2)
22168 mac1 = arg[2]
22170 split(mac1, mac2, "(") #)
22171 macro = mac2[1]
22172 prefix = substr(line, 1, index(line, defundef) - 1)
22173 if (D_is_set[macro]) {
22174 # Preserve the white space surrounding the "#".
22175 print prefix "define", macro P[macro] D[macro]
22176 next
22177 } else {
22178 # Replace #undef with comments. This is necessary, for example,
22179 # in the case of _POSIX_SOURCE, which is predefined and required
22180 # on some systems where configure will not decide to define it.
22181 if (defundef == "undef") {
22182 print "/*", prefix defundef, macro, "*/"
22183 next
22187 { print }
22188 _ACAWK
22189 _ACEOF
22190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22191 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22192 fi # test -n "$CONFIG_HEADERS"
22195 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22196 shift
22197 for ac_tag
22199 case $ac_tag in
22200 :[FHLC]) ac_mode=$ac_tag; continue;;
22201 esac
22202 case $ac_mode$ac_tag in
22203 :[FHL]*:*);;
22204 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22205 :[FH]-) ac_tag=-:-;;
22206 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22207 esac
22208 ac_save_IFS=$IFS
22209 IFS=:
22210 set x $ac_tag
22211 IFS=$ac_save_IFS
22212 shift
22213 ac_file=$1
22214 shift
22216 case $ac_mode in
22217 :L) ac_source=$1;;
22218 :[FH])
22219 ac_file_inputs=
22220 for ac_f
22222 case $ac_f in
22223 -) ac_f="$ac_tmp/stdin";;
22224 *) # Look for the file first in the build tree, then in the source tree
22225 # (if the path is not absolute). The absolute path cannot be DOS-style,
22226 # because $ac_f cannot contain `:'.
22227 test -f "$ac_f" ||
22228 case $ac_f in
22229 [\\/$]*) false;;
22230 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22231 esac ||
22232 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22233 esac
22234 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22235 as_fn_append ac_file_inputs " '$ac_f'"
22236 done
22238 # Let's still pretend it is `configure' which instantiates (i.e., don't
22239 # use $as_me), people would be surprised to read:
22240 # /* config.h. Generated by config.status. */
22241 configure_input='Generated from '`
22242 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22243 `' by configure.'
22244 if test x"$ac_file" != x-; then
22245 configure_input="$ac_file. $configure_input"
22246 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22247 $as_echo "$as_me: creating $ac_file" >&6;}
22249 # Neutralize special characters interpreted by sed in replacement strings.
22250 case $configure_input in #(
22251 *\&* | *\|* | *\\* )
22252 ac_sed_conf_input=`$as_echo "$configure_input" |
22253 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22254 *) ac_sed_conf_input=$configure_input;;
22255 esac
22257 case $ac_tag in
22258 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22259 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22260 esac
22262 esac
22264 ac_dir=`$as_dirname -- "$ac_file" ||
22265 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22266 X"$ac_file" : 'X\(//\)[^/]' \| \
22267 X"$ac_file" : 'X\(//\)$' \| \
22268 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22269 $as_echo X"$ac_file" |
22270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22271 s//\1/
22274 /^X\(\/\/\)[^/].*/{
22275 s//\1/
22278 /^X\(\/\/\)$/{
22279 s//\1/
22282 /^X\(\/\).*/{
22283 s//\1/
22286 s/.*/./; q'`
22287 as_dir="$ac_dir"; as_fn_mkdir_p
22288 ac_builddir=.
22290 case "$ac_dir" in
22291 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22293 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22294 # A ".." for each directory in $ac_dir_suffix.
22295 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22296 case $ac_top_builddir_sub in
22297 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22298 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22299 esac ;;
22300 esac
22301 ac_abs_top_builddir=$ac_pwd
22302 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22303 # for backward compatibility:
22304 ac_top_builddir=$ac_top_build_prefix
22306 case $srcdir in
22307 .) # We are building in place.
22308 ac_srcdir=.
22309 ac_top_srcdir=$ac_top_builddir_sub
22310 ac_abs_top_srcdir=$ac_pwd ;;
22311 [\\/]* | ?:[\\/]* ) # Absolute name.
22312 ac_srcdir=$srcdir$ac_dir_suffix;
22313 ac_top_srcdir=$srcdir
22314 ac_abs_top_srcdir=$srcdir ;;
22315 *) # Relative name.
22316 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22317 ac_top_srcdir=$ac_top_build_prefix$srcdir
22318 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22319 esac
22320 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22323 case $ac_mode in
22326 # CONFIG_FILE
22329 _ACEOF
22331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22332 # If the template does not know about datarootdir, expand it.
22333 # FIXME: This hack should be removed a few years after 2.60.
22334 ac_datarootdir_hack=; ac_datarootdir_seen=
22335 ac_sed_dataroot='
22336 /datarootdir/ {
22340 /@datadir@/p
22341 /@docdir@/p
22342 /@infodir@/p
22343 /@localedir@/p
22344 /@mandir@/p'
22345 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22346 *datarootdir*) ac_datarootdir_seen=yes;;
22347 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22349 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22350 _ACEOF
22351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22352 ac_datarootdir_hack='
22353 s&@datadir@&$datadir&g
22354 s&@docdir@&$docdir&g
22355 s&@infodir@&$infodir&g
22356 s&@localedir@&$localedir&g
22357 s&@mandir@&$mandir&g
22358 s&\\\${datarootdir}&$datarootdir&g' ;;
22359 esac
22360 _ACEOF
22362 # Neutralize VPATH when `$srcdir' = `.'.
22363 # Shell code in configure.ac might set extrasub.
22364 # FIXME: do we really want to maintain this feature?
22365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22366 ac_sed_extra="$ac_vpsub
22367 $extrasub
22368 _ACEOF
22369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22371 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22372 s|@configure_input@|$ac_sed_conf_input|;t t
22373 s&@top_builddir@&$ac_top_builddir_sub&;t t
22374 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22375 s&@srcdir@&$ac_srcdir&;t t
22376 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22377 s&@top_srcdir@&$ac_top_srcdir&;t t
22378 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22379 s&@builddir@&$ac_builddir&;t t
22380 s&@abs_builddir@&$ac_abs_builddir&;t t
22381 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22382 $ac_datarootdir_hack
22384 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22385 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22387 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22388 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22389 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22390 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22392 which seems to be undefined. Please make sure it is defined" >&5
22393 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22394 which seems to be undefined. Please make sure it is defined" >&2;}
22396 rm -f "$ac_tmp/stdin"
22397 case $ac_file in
22398 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22399 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22400 esac \
22401 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22405 # CONFIG_HEADER
22407 if test x"$ac_file" != x-; then
22409 $as_echo "/* $configure_input */" \
22410 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22411 } >"$ac_tmp/config.h" \
22412 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22413 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22414 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22415 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22416 else
22417 rm -f "$ac_file"
22418 mv "$ac_tmp/config.h" "$ac_file" \
22419 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22421 else
22422 $as_echo "/* $configure_input */" \
22423 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22424 || as_fn_error $? "could not create -" "$LINENO" 5
22429 # CONFIG_LINK
22432 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22434 else
22435 # Prefer the file from the source tree if names are identical.
22436 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22437 ac_source=$srcdir/$ac_source
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22441 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22443 if test ! -r "$ac_source"; then
22444 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22446 rm -f "$ac_file"
22448 # Try a relative symlink, then a hard link, then a copy.
22449 case $ac_source in
22450 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22451 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22452 esac
22453 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22454 ln "$ac_source" "$ac_file" 2>/dev/null ||
22455 cp -p "$ac_source" "$ac_file" ||
22456 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22459 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22460 $as_echo "$as_me: executing $ac_file commands" >&6;}
22462 esac
22465 case $ac_file$ac_mode in
22466 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22467 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22468 "Makefile":C) wine_fn_output_makefile Makefile ;;
22470 esac
22471 done # for ac_tag
22474 as_fn_exit 0
22475 _ACEOF
22476 ac_clean_files=$ac_clean_files_save
22478 test $ac_write_fail = 0 ||
22479 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22482 # configure is writing to config.log, and then calls config.status.
22483 # config.status does its own redirection, appending to config.log.
22484 # Unfortunately, on DOS this fails, as config.log is still kept open
22485 # by configure, so config.status won't be able to write to it; its
22486 # output is simply discarded. So we exec the FD to /dev/null,
22487 # effectively closing config.log, so it can be properly (re)opened and
22488 # appended to by config.status. When coming back to configure, we
22489 # need to make the FD available again.
22490 if test "$no_create" != yes; then
22491 ac_cs_success=:
22492 ac_config_status_args=
22493 test "$silent" = yes &&
22494 ac_config_status_args="$ac_config_status_args --quiet"
22495 exec 5>/dev/null
22496 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22497 exec 5>>config.log
22498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22499 # would make configure fail if this is the last instruction.
22500 $ac_cs_success || as_fn_exit 1
22502 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22504 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22508 if test "$no_create" = "yes"
22509 then
22510 exit 0
22513 ac_save_IFS="$IFS"
22514 if test "x$wine_notices" != x; then
22515 echo >&6
22516 IFS="|"
22517 for msg in $wine_notices; do
22518 IFS="$ac_save_IFS"
22519 if ${msg:+false} :; then :
22521 else
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22523 $as_echo "$as_me: $msg" >&6;}
22525 done
22527 IFS="|"
22528 for msg in $wine_warnings; do
22529 IFS="$ac_save_IFS"
22530 if ${msg:+false} :; then :
22532 else
22533 echo >&2
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22535 $as_echo "$as_me: WARNING: $msg" >&2;}
22537 done
22538 IFS="$ac_save_IFS"
22540 $as_echo "
22541 $as_me: Finished. Do '${ac_make}' to compile Wine.
22542 " >&6